shithub: pokecrystal

ref: 40010e2514bffb35e9895f5cb1185296f9020c02
dir: /battle/effects/endure.asm/

View raw version
BattleCommand5a: ; 3766f
; endure

	call ProtectChance
	ret c

	ld a, BATTLE_VARS_SUBSTATUS1
	call GetBattleVarPair
	set SUBSTATUS_ENDURE, [hl]

	call Function0x37e01

	ld hl, BracedItselfText
	jp StdBattleTextBox
; 37683