summaryrefslogtreecommitdiff
path: root/scripts/route23.asm
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2015-10-29 14:23:30 -0400
committerluckytyphlosion <alan.rj.huang@gmail.com>2015-10-29 14:23:30 -0400
commitcb414f1480e9117e5d6ee0ab5cb81903e83cde9a (patch)
treee44bd6299c61335a9a0476db57b565aadcd0b4d7 /scripts/route23.asm
parent2ea331ebb341505df1cd8429b140c52e345a5af4 (diff)
overworld item & movement code, cable club code, remove more instances of W_, add PIKAHAPPY_TRADE
Also make replace.sh take args
Diffstat (limited to 'scripts/route23.asm')
-rwxr-xr-xscripts/route23.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/route23.asm b/scripts/route23.asm
index 6462ec88..6fc0eef1 100755
--- a/scripts/route23.asm
+++ b/scripts/route23.asm
@@ -26,7 +26,7 @@ Route23ScriptPointers: ; 51213 (14:5213)
Route23Script0: ; 51219 (14:5219)
ld hl, YCoordsData_51255
- ld a, [W_YCOORD]
+ ld a, [wYCoord]
ld b, a
ld e, $0
EventFlagBit c, EVENT_PASSED_EARTHBADGE_CHECK + 1, EVENT_PASSED_CASCADEBADGE_CHECK
@@ -40,7 +40,7 @@ Route23Script0: ; 51219 (14:5219)
jr nz, .asm_51224
cp $23
jr nz, .asm_51237
- ld a, [W_XCOORD]
+ ld a, [wXCoord]
cp $e
ret nc
.asm_51237