hello! i've recently managed to make a day/night cycle system for my game using only eventing! however, there is one problem involved. i put a timer to be able to see whether or not the time continues like normal. the day/night cycle continues through out all maps, but when i go to a new map, the timer seems to reset! so if it's one minute into the afternoon and the player goes to another map, the timer will start again at two minutes! it won't be good if a player is waiting for a nightfall and is forced to wait in the same map the entire time. here's the common event that i'm using. the "inside" switch is for indoor areas, where the lighting and music are not needed.
does anyone have a tips to make it so that the timer doesn't reset when switching maps?
◆If:D&NActivate is ON
◆If:inside is OFF
◆If:Morning is ON
◆Control Timer:Start, 2 min 0 sec
◆Play BGM:Town1 (90, 120, 0)
◆Tint Screen:(0,0,0,0), 60 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Control Switches:#0023 Afternoon = ON
◆Control Switches:#0022 Morning = OFF
◆
:End
◆If:Afternoon is ON
◆Control Timer:Start, 2 min 0 sec
◆Play BGM:Field2 (90, 110, 0)
◆Tint Screen:(68,-34,-34,0), 60 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Control Switches:#0024 Night = ON
◆Control Switches:#0023 Afternoon = OFF
◆
:End
◆If:Night is ON
◆Control Timer:Start, 2 min 0 sec
◆Play BGM:Theme2 (90, 100, 0)
◆Tint Screen:(-68,-68,0,68), 60 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Control Switches:#0022 Morning = ON
◆Control Switches:#0024 Night = OFF
◆
:End
◆
:End
◆If:inside is ON
◆If:Morning is ON
◆Control Timer:Start, 2 min 0 sec
◆Play BGM:None
◆Tint Screen:(0,0,0,0), 1 frame
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Control Switches:#0023 Afternoon = ON
◆Control Switches:#0022 Morning = OFF
◆
:End
◆If:Afternoon is ON
◆Control Timer:Start, 2 min 0 sec
◆Play BGM:None
◆Tint Screen:(0,0,0,0), 1 frame
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Control Switches:#0024 Night = ON
◆Control Switches:#0023 Afternoon = OFF
◆
:End
◆If:Night is ON
◆Control Timer:Start, 2 min 0 sec
◆Play BGM:None
◆Tint Screen:(0,0,0,0), 1 frame
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Control Switches:#0022 Morning = ON
◆Control Switches:#0024 Night = OFF
◆
:End
◆
:End
◆
:End
◆If:inside is OFF
◆If:Morning is ON
◆Control Timer:Start, 2 min 0 sec
◆Play BGM:Town1 (90, 120, 0)
◆Tint Screen:(0,0,0,0), 60 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Control Switches:#0023 Afternoon = ON
◆Control Switches:#0022 Morning = OFF
◆
:End
◆If:Afternoon is ON
◆Control Timer:Start, 2 min 0 sec
◆Play BGM:Field2 (90, 110, 0)
◆Tint Screen:(68,-34,-34,0), 60 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Control Switches:#0024 Night = ON
◆Control Switches:#0023 Afternoon = OFF
◆
:End
◆If:Night is ON
◆Control Timer:Start, 2 min 0 sec
◆Play BGM:Theme2 (90, 100, 0)
◆Tint Screen:(-68,-68,0,68), 60 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Control Switches:#0022 Morning = ON
◆Control Switches:#0024 Night = OFF
◆
:End
◆
:End
◆If:inside is ON
◆If:Morning is ON
◆Control Timer:Start, 2 min 0 sec
◆Play BGM:None
◆Tint Screen:(0,0,0,0), 1 frame
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Control Switches:#0023 Afternoon = ON
◆Control Switches:#0022 Morning = OFF
◆
:End
◆If:Afternoon is ON
◆Control Timer:Start, 2 min 0 sec
◆Play BGM:None
◆Tint Screen:(0,0,0,0), 1 frame
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Control Switches:#0024 Night = ON
◆Control Switches:#0023 Afternoon = OFF
◆
:End
◆If:Night is ON
◆Control Timer:Start, 2 min 0 sec
◆Play BGM:None
◆Tint Screen:(0,0,0,0), 1 frame
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Wait:720 frames
◆Control Switches:#0022 Morning = ON
◆Control Switches:#0024 Night = OFF
◆
:End
◆
:End
◆
:End