mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
15 lines
257 B
NASM
15 lines
257 B
NASM
BattleCommand_Endure:
|
|
; Endure shares code with Protect. See protect.asm.
|
|
|
|
call ProtectChance
|
|
ret c
|
|
|
|
ld a, BATTLE_VARS_SUBSTATUS1
|
|
call GetBattleVarAddr
|
|
set SUBSTATUS_ENDURE, [hl]
|
|
|
|
call AnimateCurrentMove
|
|
|
|
ld hl, BracedItselfText
|
|
jp StdBattleTextbox
|