diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-11-08 21:23:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-08 21:23:21 -0500 |
commit | 1c82571fa04ecad7d4a805e5fbec4691643ac655 (patch) | |
tree | 394ee77362fdda45e808e3362c473d4cfb653dcc /src/battle_main.c | |
parent | 737a5cba552275b43a89d59d6c5595ce4af25146 (diff) | |
parent | c6b83bbb215ad25f533346873286f103c582d906 (diff) |
Merge pull request #1542 from GriffinRichards/doc-menu
Document menu
Diffstat (limited to 'src/battle_main.c')
-rw-r--r-- | src/battle_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_main.c b/src/battle_main.c index ec093ecc7..8079546d4 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(); } |