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:
parent
59787d0c13
commit
9a95c9b07a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue