shithub: pokecrystal

Download patch

ref: c5a3429314e26c4a26a1a5ddd5fe4d2d59294b71
parent: 7dad9fd1d854f17c6dd1290ed431a77204573005
author: Rangi <[email protected]>
date: Fri Aug 21 12:03:15 EDT 2020

wBattleScriptFlags is one byte

--- a/wram.asm
+++ b/wram.asm
@@ -2453,7 +2453,8 @@
 
 	ds 4
 
-wBattleScriptFlags:: dw
+wBattleScriptFlags:: db
+	ds 1
 wPlayerSpriteSetupFlags::
 ; bit 7: if set, cancel wPlayerAction
 ; bit 6: RefreshMapSprites doesn't reload player sprite
@@ -2461,6 +2462,7 @@
 ; bit 2: female player has been transformed into male
 ; bits 0-1: direction facing
 	db
+
 wMapReentryScriptQueueFlag:: db
 wMapReentryScriptBank:: db
 wMapReentryScriptAddress:: dw