summaryrefslogtreecommitdiff
path: root/src/battle_palace.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/battle_palace.c')
-rw-r--r--src/battle_palace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_palace.c b/src/battle_palace.c
index 56fd04c68..633666254 100644
--- a/src/battle_palace.c
+++ b/src/battle_palace.c
@@ -159,7 +159,7 @@ static void SetPalaceOpponent(void)
static void BufferOpponentIntroSpeech(void)
{
- if (gTrainerBattleOpponent_A < TRAINER_RECORD_MIXING_FRIEND)
+ if (gTrainerBattleOpponent_A < FRONTIER_TRAINERS_COUNT)
FrontierSpeechToString(gFacilityTrainers[gTrainerBattleOpponent_A].speechBefore);
}