summaryrefslogtreecommitdiff
path: root/src/post_battle_event_funcs.c
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-11-10 21:54:00 -0500
committerhuderlem <huderlem@gmail.com>2019-11-13 18:20:55 -0600
commitef8370566f14c22b9927db09b8ff69a98049c796 (patch)
treef0b6bc3021d2d0b5927346eff282f0f12ff16960 /src/post_battle_event_funcs.c
parentaf83b41dd19a49121f23d188015959d8072e4d7f (diff)
Document Contest scripts
Diffstat (limited to 'src/post_battle_event_funcs.c')
-rw-r--r--src/post_battle_event_funcs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/post_battle_event_funcs.c b/src/post_battle_event_funcs.c
index 41ad37fbf..4fa5d1b21 100644
--- a/src/post_battle_event_funcs.c
+++ b/src/post_battle_event_funcs.c
@@ -9,6 +9,7 @@
#include "tv.h"
#include "constants/heal_locations.h"
#include "constants/flags.h"
+#include "constants/tv.h"
int GameClear(void)
{
@@ -76,9 +77,9 @@ int GameClear(void)
}
}
- if (ribbonCounts[0].count > 4)
+ if (ribbonCounts[0].count > NUM_CUTIES_RIBBONS)
{
- sub_80EE4DC(&gPlayerParty[ribbonCounts[0].partyIndex], MON_DATA_CHAMPION_RIBBON);
+ TryPutSpotTheCutiesOnAir(&gPlayerParty[ribbonCounts[0].partyIndex], MON_DATA_CHAMPION_RIBBON);
}
}