mirror of
https://github.com/pret/pokeemerald.git
synced 2026-05-09 04:13:03 -05:00
Fixed bug in MapHasNaturalLight for ocean routes.
This commit is contained in:
parent
e11d050423
commit
3bd46b5b7a
|
|
@ -1481,7 +1481,8 @@ u8 UpdateTimeOfDay(void) {
|
|||
}
|
||||
|
||||
static bool8 MapHasNaturalLight(u8 mapType) { // Weather a map type is naturally lit/outside
|
||||
return mapType == MAP_TYPE_TOWN || mapType == MAP_TYPE_CITY || mapType == MAP_TYPE_ROUTE;
|
||||
return mapType == MAP_TYPE_TOWN || mapType == MAP_TYPE_CITY || mapType == MAP_TYPE_ROUTE
|
||||
|| mapType == MAP_TYPE_OCEAN_ROUTE;
|
||||
}
|
||||
|
||||
static bool8 FadePalettesWithTime(void) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user