RTC-based wild encounters follow up (#5328)

During my review of #5313 I overlooked that the function vars used a u8 instead of u32. This follow up fixes it
This commit is contained in:
Alex 2024-09-06 12:36:21 +02:00 committed by GitHub
parent 59787d0c13
commit 9a95c9b07a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) switch (currentTimeOfDay)
{ {