mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-16 01:05:44 -05:00
add DNS config
This commit is contained in:
parent
0c0e1bf2c5
commit
52d4ba57cc
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user