summaryrefslogtreecommitdiff
path: root/src/battle_palace.c
diff options
context:
space:
mode:
authorhuderlem <huderlem@gmail.com>2020-01-12 20:10:03 -0600
committerGitHub <noreply@github.com>2020-01-12 20:10:03 -0600
commitfa5816915d2a089549bfae3851c36336eae35d43 (patch)
tree96f44cc9d9e1b02d87f1c7bbfc15a99999782b27 /src/battle_palace.c
parent43962fe141d8ca5e4c53530992de4378c541a6f1 (diff)
parente5df61e362beaaab9ae4344f4f160397df9c54cc (diff)
Merge pull request #949 from GriffinRichards/doc-dome
Document Battle Dome and add facility party constants
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);
}