Help with resetting event based on time passed?

Hi all,

I'm very new to RPG Maker. I have done all the tutorials in the help section of the game but having trouble resetting an event. I want the player to enter an area, receive an explanation, then be able to go about their business and if 10 minutes have passed, the player will receive the explanation again.
This is my current setup and it works twice but then stops working altogether:

Event placed on the sub-map:
Event page 1 (trigger: player touch, priority below characters)
◆If:DisableOasisExplanation is ON
◆Erase Event
◆
:Else
◆If:OasisExplanationReset is OFF
◆Text:None, Window, Bottom
: :There is some text here
◆Control Switches:#0005 OasisExplanationReset = ON
◆
:End
◆
:End

Event page 2 (trigger: parallel, priority below characters)
◆Common Event:ResetOasisExplanation

Common event: (trigger: parallel, switch: #0005 OasisExplanationReset)
◆Loop
◆Wait:60 frames
◆Control Variables:#0001 Wait10mins += 1
◆If:Wait10mins = 5 (set to 5 secs for testing, changing to 600 when functional)
◆Break Loop
◆
:End
◆
:Repeat Above
◆Control Switches:#0005 OasisExplanationReset = OFF

The reason I'm using a common event is because it is my understanding that it runs on all maps and events placed onto a map only run if the map is loaded. Is that correct?
Basically, I want to remind the player of the explanation if they've gone away for too long and forgotten.
Thanks in advance!
I figured it out! I just needed to reset the control variable I created once the loop is broken.
I made the following simple change and it works:

Common event: (trigger: parallel, switch: #0005 OasisExplanationReset)
◆Loop
◆Wait:60 frames
◆Control Variables:#0001 Wait10mins += 1
◆If:Wait10mins = 5 (set to 5 secs for testing, changing to 600 when functional)
◆Break Loop
◆
:End
◆
:Repeat Above
◆Control Variables:#0001 Wait10mins = 0 <-- Added this line
◆Control Switches:#0005 OasisExplanationReset = OFF
Event page 2 (trigger: parallel, priority below characters)
◆Common Event:ResetOasisExplanation

Common event: (trigger: parallel, switch: #0005 OasisExplanationReset)
That is one big NO!!

never call a parallel common event.
you can activate a parallel common event by controlling its switch
or
you can call common events with trigger=none

but if you call a parallel common event while its switch is off, you mess up the logic in the game loop.
you might have been lucky in the current case, but more often than not the parallel will then have erratic behaviour.

Common event: (trigger: parallel, switch: #0005 OasisExplanationReset)
◆Loop
and that is another error.
parallels automatically loop, there is absolutely no need to have a loop inside them.
in fact such a double loop usually creates timing problems.
you only didn't get them this time because your two bugs cancelled each other: the call of the parallel messed up the outer parallel loop, allowing the inner loop to work without interference.

but having two bugs cancel each other is still bad practice, better to have no bugs at all.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-resetting-event-based-on-time-passed.168746/