summaryrefslogtreecommitdiff
path: root/src/battle_tower.c
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-10-17 19:22:03 -0400
committerGriffinR <griffin.richards@comcast.net>2019-10-25 15:41:06 -0400
commit6db014cc32d28a64499af7d605be3a062560d5e0 (patch)
tree378d719659dd5a32b077bd6ee8140ccae6b2799c /src/battle_tower.c
parent60a592a2c32d07d47c892204659a8576017584d1 (diff)
Document party_menu first pass
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);