From cb414f1480e9117e5d6ee0ab5cb81903e83cde9a Mon Sep 17 00:00:00 2001 From: luckytyphlosion Date: Thu, 29 Oct 2015 14:23:30 -0400 Subject: overworld item & movement code, cable club code, remove more instances of W_, add PIKAHAPPY_TRADE Also make replace.sh take args --- scripts/route22gate.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/route22gate.asm') 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 -- cgit v1.2.3