diff options
author | IIMarckus <iimarckus@gmail.com> | 2011-11-14 02:48:50 -0700 |
---|---|---|
committer | IIMarckus <iimarckus@gmail.com> | 2011-11-14 02:48:50 -0700 |
commit | ef6eb622c4307d4ef92ee5491503fefd1c55957c (patch) | |
tree | 87763246bdbe11f5eaf368a3067208ba8a75e06a /pokered.asm | |
parent | 1f5696ddda478dc6c7f00850c13807c82012e02e (diff) |
Minor clarifications in Pallet Town scripts.
hg-commit-id: f42fc4aeadc6
Diffstat (limited to 'pokered.asm')
-rw-r--r-- | pokered.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pokered.asm b/pokered.asm index fc849d7d..bd26392d 100644 --- a/pokered.asm +++ b/pokered.asm @@ -3811,8 +3811,8 @@ PalletTownScript1: ld a,[$D747] bit 0,a ret nz - ld a,[$D361] - cp 1 + ld a,[W_YCOORD] + cp 1 ; is player near north exit? ret nz xor a ld [$FFB4],a @@ -3860,7 +3860,7 @@ PalletTownScript3: call $34A6 call Delay3 ld a,1 - ld [$D361],a + ld [W_YCOORD],a ld a,1 ld [$FF9B],a ld a,1 @@ -3871,7 +3871,7 @@ PalletTownScript3: ld hl,$FF95 dec [hl] ld a,$20 - call Predef + call Predef ; load Oak’s movement into $CC97 ld de,$CC97 ld a,1 ld [$FF8C],a |