From c5b2436daadbae47d6251052d62436afbaa91158 Mon Sep 17 00:00:00 2001 From: luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> Date: Sun, 18 Nov 2018 19:24:53 -0500 Subject: Rename spritestatedata structs. --- scripts/route22.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/route22.asm') diff --git a/scripts/route22.asm b/scripts/route22.asm index fe881366..41f77680 100755 --- a/scripts/route22.asm +++ b/scripts/route22.asm @@ -153,7 +153,7 @@ Route22Script2: ld a, $1 ld [wRivalStarter], a .asm_50fc9 - ld a, [wPlayerFacingDirection] + ld a, [wSpritePlayerStateData1FacingDirection] and a ; cp SPRITE_FACING_DOWN jr nz, .notDown ld a, SPRITE_FACING_UP -- cgit v1.3.1-sl0p