diff --git a/include/config/overworld.h b/include/config/overworld.h index f6a169799..086c7ac86 100644 --- a/include/config/overworld.h +++ b/include/config/overworld.h @@ -76,7 +76,8 @@ #define OW_TIMES_OF_DAY GEN_5 // Different generations have the times of day change at different times. #define OW_USE_FAKE_RTC FALSE // When TRUE, seconds on the in-game clock will only advance once every 60 playTimeVBlanks (every 60 frames). #define OW_ALTERED_TIME_RATIO GEN_LATEST // In GEN_8_PLA, the time in game moves forward 60 seconds for every second in the RTC. In GEN_9, it is 20 seconds. This has no effect if OW_USE_FAKE_RTC is FALSE. -#define OW_SEASONS TRUE +#define OW_SEASONS TRUE // Enables seasonal tilesets +#define OW_DAY_AND_NIGHT TRUE // Enables day and night system // Overworld flags // To use the following features in scripting, replace the 0s with the flag ID you're assigning it to. diff --git a/src/overworld.c b/src/overworld.c index abff53b52..fd48621a7 100644 --- a/src/overworld.c +++ b/src/overworld.c @@ -1545,6 +1545,8 @@ u8 UpdateTimeOfDay(void) // Whether a map type is naturally lit/outside bool8 MapHasNaturalLight(u8 mapType) { + if (!OW_DAY_AND_NIGHT) + return FALSE; return (mapType == MAP_TYPE_TOWN || mapType == MAP_TYPE_CITY || mapType == MAP_TYPE_ROUTE