summaryrefslogtreecommitdiff
path: root/scripts/route22.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/route22.asm')
-rwxr-xr-xscripts/route22.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/route22.asm b/scripts/route22.asm
index 5ea8178f..db46efa1 100755
--- a/scripts/route22.asm
+++ b/scripts/route22.asm
@@ -153,7 +153,7 @@ Route22Script2: ; 50fb5 (14:4fb5)
ld a, $1
ld [W_RIVALSTARTER], a
.asm_50fc9
- ld a, [wSpriteStateData1 + 9]
+ ld a, [wPlayerFacingDirection]
and a ; cp SPRITE_FACING_DOWN
jr nz, .notDown
ld a, SPRITE_FACING_UP