summaryrefslogtreecommitdiff
path: root/src/battle_tower.c
diff options
context:
space:
mode:
authorhuderlem <huderlem@gmail.com>2019-10-31 21:36:56 -0500
committerGitHub <noreply@github.com>2019-10-31 21:36:56 -0500
commit6eaac9ea9d221e37d801064c73ce61dc3467b643 (patch)
treec724683997ab8ab5729e02c0232bdd3d171dd120 /src/battle_tower.c
parent218fcd99b395777e99b3b6b9478a3d97c7a7fc87 (diff)
parent27169f634b27a8985945e8b592f3f4ce0a38c53e (diff)
Merge pull request #863 from GriffinRichards/doc-partymenu
Document party menu
Diffstat (limited to 'src/battle_tower.c')
-rw-r--r--src/battle_tower.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_tower.c b/src/battle_tower.c
index c55180965..8efee42f7 100644
--- a/src/battle_tower.c
+++ b/src/battle_tower.c
@@ -3191,7 +3191,7 @@ static void FillPartnerParty(u16 trainerId)
sStevenMons[i].fixedIV,
TRUE, i, // BUG: personality was stored in the 'j' variable. As a result, Steven's pokemon do not have the intended natures.
OT_ID_PRESET, STEVEN_OTID);
- for (j = 0; j < 6; j++)
+ for (j = 0; j < PARTY_SIZE; j++)
SetMonData(&gPlayerParty[3 + i], MON_DATA_HP_EV + j, &sStevenMons[i].evs[j]);
for (j = 0; j < MAX_MON_MOVES; j++)
SetMonMoveSlot(&gPlayerParty[3 + i], sStevenMons[i].moves[j], j);