summaryrefslogtreecommitdiff
path: root/scripts/route22gate.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/route22gate.asm')
-rwxr-xr-xscripts/route22gate.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/route22gate.asm b/scripts/route22gate.asm
index e17380f5..f0b5b92d 100755
--- a/scripts/route22gate.asm
+++ b/scripts/route22gate.asm
@@ -3,7 +3,7 @@ Route22GateScript: ; 1e683 (7:6683)
ld hl, Route22GateScriptPointers
ld a, [W_ROUTE22GATECURSCRIPT]
call CallFunctionInTable
- ld a, [W_YCOORD]
+ ld a, [wYCoord]
cp $4
ld a, ROUTE_23
jr c, .asm_1e69a