shithub: pokecrystal

Download patch

ref: f7507b7782471014f77f5177ac76f8af6132be6a
parent: 8fc3b8e6e36663f00f8ce7c2830db55a538a72b5
author: Rangi <[email protected]>
date: Fri Sep 23 19:10:24 EDT 2022

$f -> BATTLEACTION_FORFEIT

(thanks, Vulcandth)

--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -3811,7 +3811,7 @@
 	call LoadTilemapToTempTilemap
 	xor a ; BATTLEPLAYERACTION_USEMOVE
 	ld [wBattlePlayerAction], a
-	ld a, $f
+	ld a, BATTLEACTION_FORFEIT
 	ld [wCurMoveNum], a
 	xor a
 	ld [wCurPlayerMove], a