diff --git a/src/wild_encounter.c b/src/wild_encounter.c index 3cfdfb1191..81721596ad 100644 --- a/src/wild_encounter.c +++ b/src/wild_encounter.c @@ -355,7 +355,7 @@ static u8 ChooseWildMonLevel(const struct WildPokemon *wildPokemon, u8 wildMonIn } } -static bool8 IsExactTimeOfDayMatchForWildEncounters(u8 currentTimeOfDay, u8 encounterTimeOfDay) +static bool32 IsExactTimeOfDayMatchForWildEncounters(u32 currentTimeOfDay, u32 encounterTimeOfDay) { switch (currentTimeOfDay) {