pokecrystal-board/engine/battle/move_effects/endure.asm

15 lines
257 B
NASM
Raw Normal View History

2018-06-24 07:09:41 -07:00
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
2019-04-08 05:15:10 -07:00
jp StdBattleTextbox