2018-06-24 14:09:41 +00:00
|
|
|
BattleCommand_Endure:
|
2013-09-10 01:51:41 +00:00
|
|
|
; endure
|
|
|
|
|
2013-09-10 01:53:21 +00:00
|
|
|
; Endure shares code with Protect. See protect.asm.
|
|
|
|
|
2013-09-10 01:51:41 +00:00
|
|
|
call ProtectChance
|
|
|
|
ret c
|
|
|
|
|
|
|
|
ld a, BATTLE_VARS_SUBSTATUS1
|
2014-06-14 07:34:57 +00:00
|
|
|
call GetBattleVarAddr
|
2013-09-10 01:51:41 +00:00
|
|
|
set SUBSTATUS_ENDURE, [hl]
|
|
|
|
|
2014-01-01 13:09:15 +00:00
|
|
|
call AnimateCurrentMove
|
2013-09-10 01:51:41 +00:00
|
|
|
|
|
|
|
ld hl, BracedItselfText
|
2019-04-08 12:15:10 +00:00
|
|
|
jp StdBattleTextbox
|