From a9b0c280409196ee0e6cfe170104f45d9e0168a7 Mon Sep 17 00:00:00 2001 From: Bassoonian Date: Sun, 7 Jan 2024 23:58:26 +0100 Subject: [PATCH] Revert GetPokedexRatingText argument type --- include/birch_pc.h | 2 +- src/birch_pc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;