Address review comments (cleanup)
This commit is contained in:
@@ -45,6 +45,7 @@ void DisableWildEncounters(bool8 state);
|
|||||||
u8 GetUnownLetterByPersonalityLoByte(u32 personality);
|
u8 GetUnownLetterByPersonalityLoByte(u32 personality);
|
||||||
bool8 SweetScentWildEncounter(void);
|
bool8 SweetScentWildEncounter(void);
|
||||||
void SeedWildEncounterRng(u16 randVal);
|
void SeedWildEncounterRng(u16 randVal);
|
||||||
void ResetEncounterRateModifiers(void);bool8 TryStandardWildEncounter(u32 currMetatileBehavior);
|
void ResetEncounterRateModifiers(void);
|
||||||
|
bool8 TryStandardWildEncounter(u32 currMetatileBehavior);
|
||||||
|
|
||||||
#endif // GUARD_WILD_ENCOUNTER_H
|
#endif // GUARD_WILD_ENCOUNTER_H
|
||||||
|
|||||||
@@ -1175,9 +1175,9 @@ int SetCableClubWarp(void)
|
|||||||
{
|
{
|
||||||
struct MapPosition position;
|
struct MapPosition position;
|
||||||
|
|
||||||
GetPlayerMovementDirection(); //unnecessary
|
GetPlayerMovementDirection(); // unnecessary
|
||||||
GetPlayerPosition(&position);
|
GetPlayerPosition(&position);
|
||||||
MapGridGetMetatileBehaviorAt(position.x, position.y); //unnecessary
|
MapGridGetMetatileBehaviorAt(position.x, position.y); // unnecessary
|
||||||
SetupWarp(&gMapHeader, GetWarpEventAtMapPosition(&gMapHeader, &position), &position);
|
SetupWarp(&gMapHeader, GetWarpEventAtMapPosition(&gMapHeader, &position), &position);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user