aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/PalletTown.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/PalletTown.asm')
-rw-r--r--scripts/PalletTown.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/PalletTown.asm b/scripts/PalletTown.asm
index a787fcc4..14c5a840 100644
--- a/scripts/PalletTown.asm
+++ b/scripts/PalletTown.asm
@@ -47,7 +47,7 @@ PalletTownOakHeyWaitScript:
xor a
ld [wOakWalkedToPlayer], a
ld a, TEXT_PALLETTOWN_OAK
- ldh [hSpriteIndexOrTextID], a
+ ldh [hTextID], a
call DisplayTextID
ld a, A_BUTTON | B_BUTTON | SELECT | START | D_RIGHT | D_LEFT | D_UP | D_DOWN
ld [wJoyIgnore], a
@@ -101,7 +101,7 @@ PalletTownOakNotSafeComeWithMeScript:
ld a, SELECT | START | D_RIGHT | D_LEFT | D_UP | D_DOWN
ld [wJoyIgnore], a
ld a, TEXT_PALLETTOWN_OAK
- ldh [hSpriteIndexOrTextID], a
+ ldh [hTextID], a
call DisplayTextID
; set up movement script that causes the player to follow Oak to his lab
ld a, A_BUTTON | B_BUTTON | SELECT | START | D_RIGHT | D_LEFT | D_UP | D_DOWN