aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/FuchsiaGym.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/FuchsiaGym.asm')
-rw-r--r--scripts/FuchsiaGym.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/FuchsiaGym.asm b/scripts/FuchsiaGym.asm
index d2f0ee40..8ccebe40 100644
--- a/scripts/FuchsiaGym.asm
+++ b/scripts/FuchsiaGym.asm
@@ -47,20 +47,20 @@ FuchsiaGymKogaPostBattleScript:
; fallthrough
FuchsiaGymReceiveTM06:
ld a, TEXT_FUCHSIAGYM_KOGA_SOUL_BADGE_INFO
- ldh [hSpriteIndexOrTextID], a
+ ldh [hTextID], a
call DisplayTextID
SetEvent EVENT_BEAT_KOGA
lb bc, TM_TOXIC, 1
call GiveItem
jr nc, .BagFull
ld a, TEXT_FUCHSIAGYM_KOGA_RECEIVED_TM06
- ldh [hSpriteIndexOrTextID], a
+ ldh [hTextID], a
call DisplayTextID
SetEvent EVENT_GOT_TM06
jr .gymVictory
.BagFull
ld a, TEXT_FUCHSIAGYM_KOGA_TM06_NO_ROOM
- ldh [hSpriteIndexOrTextID], a
+ ldh [hTextID], a
call DisplayTextID
.gymVictory
ld hl, wObtainedBadges