summaryrefslogtreecommitdiff
path: root/scripts/pallettown.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pallettown.asm')
-rwxr-xr-xscripts/pallettown.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/pallettown.asm b/scripts/pallettown.asm
index e4c3f135..106d8ec0 100755
--- a/scripts/pallettown.asm
+++ b/scripts/pallettown.asm
@@ -20,7 +20,7 @@ PalletTownScriptPointers: ; 18e73 (6:4e73)
PalletTownScript0: ; 18e81 (6:4e81)
CheckEvent EVENT_FOLLOWED_OAK_INTO_LAB
ret nz
- ld a,[W_YCOORD]
+ ld a,[wYCoord]
cp 1 ; is player near north exit?
ret nz
xor a
@@ -67,7 +67,7 @@ PalletTownScript2: ; 18ed2 (6:4ed2)
call SetSpriteFacingDirectionAndDelay
call Delay3
ld a,1
- ld [W_YCOORD],a
+ ld [wYCoord],a
ld a,1
ld [hNPCPlayerRelativePosPerspective],a
ld a,1