aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/FightingDojo.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/FightingDojo.asm')
-rw-r--r--scripts/FightingDojo.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/FightingDojo.asm b/scripts/FightingDojo.asm
index 4522b906..bffa4554 100644
--- a/scripts/FightingDojo.asm
+++ b/scripts/FightingDojo.asm
@@ -49,7 +49,7 @@ FightingDojoDefaultScript:
ldh [hSpriteFacingDirection], a
call SetSpriteFacingDirectionAndDelay
ld a, TEXT_FIGHTINGDOJO_KARATE_MASTER
- ldh [hSpriteIndexOrTextID], a
+ ldh [hTextID], a
call DisplayTextID
ret
@@ -72,7 +72,7 @@ FightingDojoKarateMasterPostBattleScript:
ld [wJoyIgnore], a
SetEventRange EVENT_BEAT_KARATE_MASTER, EVENT_BEAT_FIGHTING_DOJO_TRAINER_3
ld a, TEXT_FIGHTINGDOJO_KARATE_MASTER_I_WILL_GIVE_YOU_A_POKEMON
- ldh [hSpriteIndexOrTextID], a
+ ldh [hTextID], a
call DisplayTextID
xor a ; SCRIPT_FIGHTINGDOJO_DEFAULT
ld [wJoyIgnore], a
@@ -117,7 +117,7 @@ FightingDojoKarateMasterText:
ld hl, .DefeatedText
ld de, .DefeatedText
call SaveEndBattleTextPointers
- ldh a, [hSpriteIndexOrTextID]
+ ldh a, [hSpriteIndex]
ld [wSpriteIndex], a
call EngageMapTrainer
call InitBattleEnemyParameters