summaryrefslogtreecommitdiff
path: root/src/post_battle_event_funcs.c
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2018-11-18 13:36:34 -0600
committerGitHub <noreply@github.com>2018-11-18 13:36:34 -0600
commit963989d760a09eab46607efe1cbc1029f00e1842 (patch)
tree736036a1a493ad2d10b9418996350a247c0ff637 /src/post_battle_event_funcs.c
parent0bbe03f17030c8009508714fc2b41703f1a1310a (diff)
parentf58cc47e173900537200c796501386f4e3a1f0d6 (diff)
Merge pull request #389 from DizzyEggg/num_stats
Use PARTY_SIZE and rename BATTLE_STATS_NO to NUM_BATTLE_STATS
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];