diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-06-17 17:48:20 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2020-06-18 17:50:13 -0400 |
commit | 24569583e49e66fefd0aeaeac68d2ba9bf206145 (patch) | |
tree | a029f2cda1f55584ee9771ece6ea70ebba08b7a0 /src/field_specials.c | |
parent | f600aff71140b34e4b3c210ef27ec1b9704a6f45 (diff) |
Document contest results
Diffstat (limited to 'src/field_specials.c')
-rw-r--r-- | src/field_specials.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/field_specials.c b/src/field_specials.c index 818cd70db..e806440f7 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -4095,11 +4095,17 @@ void UpdateTrainerFanClubGameClear(void) } // If the player has < 3 fans, gain a new fan whenever the counter reaches 20+ -// Defeating Drake or participating in a Link Contest increments the counter by 2 +// Defeating Drake or participating in a Contest increments the counter by 2 // Participating at Battle Tower or in a Secret Base battle increments the counter by 1 u8 TryGainNewFanFromCounter(u8 incrementId) { - static const u8 sCounterIncrements[] = { 2, 1, 2, 1 }; + static const u8 sCounterIncrements[] = + { + [FANCOUNTER_DEFEATED_DRAKE] = 2, + [FANCOUNTER_BATTLED_AT_BASE] = 1, + [FANCOUNTER_FINISHED_CONTEST] = 2, + [FANCOUNTER_USED_BATTLE_TOWER] = 1 + }; if (VarGet(VAR_LILYCOVE_FAN_CLUB_STATE) == 2) { |