summaryrefslogtreecommitdiff
path: root/src/pokemon_2.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-12-18 16:58:14 +0100
committerDizzyEggg <jajkodizzy@wp.pl>2017-12-18 16:58:14 +0100
commitcb229f56e8951e3f9efc35516447a54e18e8fef0 (patch)
tree656599caae716c6cc8e81121f2b1cd061927b99e /src/pokemon_2.c
parentc3abe2863feb8ebb21921c40d3c685a27a4135c4 (diff)
parent6a674e1e83db097d7a31a3786d12e42987f09f70 (diff)
fix pokeblock conflicts
Diffstat (limited to 'src/pokemon_2.c')
-rw-r--r--src/pokemon_2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pokemon_2.c b/src/pokemon_2.c
index a4d00112b..db176e025 100644
--- a/src/pokemon_2.c
+++ b/src/pokemon_2.c
@@ -1155,7 +1155,7 @@ u8 GetMonsStateToDoubles_2(void)
s32 aliveCount = 0;
s32 i;
- for (i = 0; i < 6; i++)
+ for (i = 0; i < PARTY_SIZE; i++)
{
u32 species = GetMonData(&gPlayerParty[i], MON_DATA_SPECIES2, NULL);
if (species != SPECIES_EGG && species != SPECIES_NONE