diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-04-27 02:29:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-27 02:29:41 -0400 |
commit | 18f85b5cf0170717d303b59d5e043bcbb6f919a2 (patch) | |
tree | f08754c2095561faad4efcb8c0e73fc8fdd200c6 /src/trainer_card.c | |
parent | d74017d25667f343d32a2674bfae0bfa970100d3 (diff) | |
parent | bc9fc382547aadfb321c7c55571786d20c5e9663 (diff) |
Merge pull request #1415 from GriffinRichards/doc-contestutil
Some Contest clean up
Diffstat (limited to 'src/trainer_card.c')
-rwxr-xr-x | src/trainer_card.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trainer_card.c b/src/trainer_card.c index 03a7b9219..1ec519c90 100755 --- a/src/trainer_card.c +++ b/src/trainer_card.c @@ -661,7 +661,7 @@ u32 CountPlayerTrainerStars(void) stars++; if (HasAllHoennMons()) stars++; - if (CountPlayerContestPaintings() > 4) + if (CountPlayerMuseumPaintings() >= CONTEST_CATEGORIES_COUNT) stars++; if (HasAllFrontierSymbols()) stars++; @@ -735,7 +735,7 @@ static void SetPlayerCardData(struct TrainerCard *trainerCard, u8 cardType) case CARD_TYPE_FRLG: trainerCard->contestsWithFriends = GetCappedGameStat(GAME_STAT_WON_LINK_CONTEST, 999); trainerCard->pokeblocksWithFriends = GetCappedGameStat(GAME_STAT_POKEBLOCKS_WITH_FRIENDS, 0xFFFF); - if (CountPlayerContestPaintings() > 4) + if (CountPlayerMuseumPaintings() >= CONTEST_CATEGORIES_COUNT) trainerCard->hasAllPaintings = TRUE; trainerCard->stars = GetRubyTrainerStars(trainerCard); break; |