diff --git a/include/birch_pc.h b/include/birch_pc.h index d5b8cc7e85..5e0e8d9c16 100644 --- a/include/birch_pc.h +++ b/include/birch_pc.h @@ -1,6 +1,6 @@ #ifndef GUARD_BIRCH_PC_H #define GUARD_BIRCH_PC_H -const u8 *GetPokedexRatingText(u32 count); +const u8 *GetPokedexRatingText(u16 count); #endif // GUARD_BIRCH_PC_H diff --git a/src/birch_pc.c b/src/birch_pc.c index c2adaa0935..85a9fc074e 100644 --- a/src/birch_pc.c +++ b/src/birch_pc.c @@ -48,7 +48,7 @@ static const u8 *const sBirchDexRatingTexts[BIRCH_DEX_STRINGS] = }; // This shows your Hoenn Pokedex rating and not your National Dex. -const u8 *GetPokedexRatingText(u32 count) +const u8 *GetPokedexRatingText(u16 count) { u32 i, j; u16 maxDex = HOENN_DEX_COUNT - 1;