summaryrefslogtreecommitdiff
path: root/src/post_battle_event_funcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/post_battle_event_funcs.c')
-rw-r--r--src/post_battle_event_funcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/post_battle_event_funcs.c b/src/post_battle_event_funcs.c
index 9765ef5b6..934972b7c 100644
--- a/src/post_battle_event_funcs.c
+++ b/src/post_battle_event_funcs.c
@@ -43,7 +43,7 @@ int GameClear(void)
ribbonGet = FALSE;
- for (i = 0; i < 6; i++)
+ for (i = 0; i < PARTY_SIZE; i++)
{
struct Pokemon *mon = &gPlayerParty[i];