summaryrefslogtreecommitdiff
path: root/src/battle_main.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-11-09 16:09:48 -0500
committerGitHub <noreply@github.com>2021-11-09 16:09:48 -0500
commit8e424b69850eb90abd0d7a65be423f8621dc1c2e (patch)
tree1308176f28fbc134c5e7cf19bf5788d7f93103fe /src/battle_main.c
parentadf773f1ed272f31ae34e2613d20ec796b651bf8 (diff)
parent1c82571fa04ecad7d4a805e5fbec4691643ac655 (diff)
Merge branch 'master' into doc-binterface
Diffstat (limited to 'src/battle_main.c')
-rw-r--r--src/battle_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_main.c b/src/battle_main.c
index cca992b43..2d2afed71 100644
--- a/src/battle_main.c
+++ b/src/battle_main.c
@@ -682,7 +682,7 @@ static void CB2_InitBattleInternal(void)
{
CreateNPCTrainerParty(&gEnemyParty[0], gTrainerBattleOpponent_A, TRUE);
if (gBattleTypeFlags & BATTLE_TYPE_TWO_OPPONENTS)
- CreateNPCTrainerParty(&gEnemyParty[3], gTrainerBattleOpponent_B, FALSE);
+ CreateNPCTrainerParty(&gEnemyParty[PARTY_SIZE / 2], gTrainerBattleOpponent_B, FALSE);
SetWildMonHeldItem();
}