diff options
author | Marcus Huderle <huderlem@gmail.com> | 2017-09-30 16:55:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-30 16:55:19 -0700 |
commit | 5fb9b9052276243d54ecfc27d0514e9c35825e8c (patch) | |
tree | 7546411871d12a05f370b529341ebfd656334af1 /src/birch_pc.c | |
parent | f74d4742f597a423b7a8685d72c06597c8c78db7 (diff) | |
parent | 37b891cbd49780d63fe2295add70bf003c59de48 (diff) |
Merge pull request #437 from huderlem/name_labels
Name labels
Diffstat (limited to 'src/birch_pc.c')
-rw-r--r-- | src/birch_pc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/birch_pc.c b/src/birch_pc.c index 5fb6427c3..9872dd54d 100644 --- a/src/birch_pc.c +++ b/src/birch_pc.c @@ -91,15 +91,15 @@ const u8 *GetPokedexRatingText(u16 count) return gBirchDexRatingText_LessThan200; if (count == 200) { - if (GetNationalPokedexFlag(SpeciesToNationalPokedexNum(SPECIES_JIRACHI), 1) - || GetNationalPokedexFlag(SpeciesToNationalPokedexNum(SPECIES_DEOXYS), 1)) // Jirachi or Deoxys is not counted towards the dex completion. If either of these flags are enabled, it means the actual count is less than 200. + if (GetSetPokedexFlag(SpeciesToNationalPokedexNum(SPECIES_JIRACHI), 1) + || GetSetPokedexFlag(SpeciesToNationalPokedexNum(SPECIES_DEOXYS), 1)) // Jirachi or Deoxys is not counted towards the dex completion. If either of these flags are enabled, it means the actual count is less than 200. return gBirchDexRatingText_LessThan200; return gBirchDexRatingText_DexCompleted; } if (count == 201) { - if (GetNationalPokedexFlag(SpeciesToNationalPokedexNum(SPECIES_JIRACHI), 1) - && GetNationalPokedexFlag(SpeciesToNationalPokedexNum(SPECIES_DEOXYS), 1)) // If both of these flags are enabled, it means the actual count is less than 200. + if (GetSetPokedexFlag(SpeciesToNationalPokedexNum(SPECIES_JIRACHI), 1) + && GetSetPokedexFlag(SpeciesToNationalPokedexNum(SPECIES_DEOXYS), 1)) // If both of these flags are enabled, it means the actual count is less than 200. return gBirchDexRatingText_LessThan200; return gBirchDexRatingText_DexCompleted; } |