mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
3e78e5b2b6
Homogenizing names.
17 lines
267 B
NASM
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
|