$f -> BATTLEACTION_FORFEIT

(thanks, Vulcandth)
This commit is contained in:
Rangi 2022-09-23 23:10:24 -04:00
parent 8fc3b8e6e3
commit f7507b7782

View File

@ -3811,7 +3811,7 @@ TryToRunAwayFromBattle:
call LoadTilemapToTempTilemap call LoadTilemapToTempTilemap
xor a ; BATTLEPLAYERACTION_USEMOVE xor a ; BATTLEPLAYERACTION_USEMOVE
ld [wBattlePlayerAction], a ld [wBattlePlayerAction], a
ld a, $f ld a, BATTLEACTION_FORFEIT
ld [wCurMoveNum], a ld [wCurMoveNum], a
xor a xor a
ld [wCurPlayerMove], a ld [wCurPlayerMove], a