summaryrefslogtreecommitdiff
path: root/scripts/route22gate.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/route22gate.asm')
-rwxr-xr-xscripts/route22gate.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/route22gate.asm b/scripts/route22gate.asm
index 4ce9e1d8..e445a358 100755
--- a/scripts/route22gate.asm
+++ b/scripts/route22gate.asm
@@ -5,11 +5,11 @@ Route22GateScript: ; 1e683 (7:6683)
call CallFunctionInTable
ld a, [W_YCOORD]
cp $4
- ld a, $22
+ ld a, ROUTE_23
jr c, .asm_1e69a ; 0x1e696 $2
- ld a, $21
+ ld a, ROUTE_22
.asm_1e69a
- ld [$d365], a
+ ld [wLastMap], a
ret
Route22GateScriptPointers: ; 1e69e (7:669e)