aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/SilphCo7F.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/SilphCo7F.asm')
-rw-r--r--scripts/SilphCo7F.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/SilphCo7F.asm b/scripts/SilphCo7F.asm
index de9e689d..381eff7a 100644
--- a/scripts/SilphCo7F.asm
+++ b/scripts/SilphCo7F.asm
@@ -138,7 +138,7 @@ SilphCo7FDefaultScript:
ld a, MUSIC_MEET_RIVAL
call PlayMusic
ld a, TEXT_SILPHCO7F_RIVAL
- ldh [hSpriteIndexOrTextID], a
+ ldh [hTextID], a
call DisplayTextID
ld a, SILPHCO7F_RIVAL
ldh [hSpriteIndex], a
@@ -175,7 +175,7 @@ SilphCo7FRivalStartBattleScript:
xor a
ld [wJoyIgnore], a
ld a, TEXT_SILPHCO7F_RIVAL_WAITED_HERE
- ldh [hSpriteIndexOrTextID], a
+ ldh [hTextID], a
call DisplayTextID
call Delay3
ld hl, wStatusFlags3
@@ -218,7 +218,7 @@ SilphCo7FRivalAfterBattleScript:
ldh [hSpriteFacingDirection], a
call SetSpriteFacingDirectionAndDelay
ld a, TEXT_SILPHCO7F_RIVAL_GOOD_LUCK_TO_YOU
- ldh [hSpriteIndexOrTextID], a
+ ldh [hTextID], a
call DisplayTextID
ld a, SFX_STOP_ALL_MUSIC
ld [wNewSoundID], a