pokecrystal-board/engine/battle/move_effects/endure.asm
2018-06-24 16:13:22 +02:00

17 lines
267 B
NASM

BattleCommand_Endure:
; 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