pausing timers and resetting events

is it possible to, if an event is in the middle of processing, in parallel, an the character leaves the map, can you reset the event (by id) so that if you re-enter it restarts?

for example:

Page one: 

page two: 

Most the time when the player is about to leave the map the event is on page two, I would like to, if the player leave the map,reset the event back to page one. Can this be done via script or eventing?

Question two:

I am looking to pause a timer, for example, as you see in the pages above there is a timer going on. there might be a quest at the same time this event is happening, a quest that causes a battle (triggered by an event) how do you pause the timer in that instance?
Add a parallel process event that does this (assuming your map is 8 and your event is EV015):

Script: $game_self_switches[[8, 15, 'A']] = falseErase Eventthis will ensure your event always starts on page 1 whenever you enter the map.If you want your timer to just pause during battles, go to Scene_Battle and find the update_basic method and comment out the $game_timer.update line.

If you want to pause and resume the timer any time, add the following to a new script slot, then you can call $game_timer.pause and $game_timer.unpause via a Call Script command:

Code:
class Game_Timer  #--------------------------------------------------------------------------  # * Pause  #--------------------------------------------------------------------------  def pause    @working = false if @count > 0  end  #--------------------------------------------------------------------------  # * Unpause  #--------------------------------------------------------------------------  def unpause    @working = true if @count > 0  endend
Note - these are untested.
Edit: beat me to it
shaz your script doesn't work, I tried doing $game_timer.pause and the timer never paused.  nvm

Original thread: https://forums.rpgmakerweb.com/threads/pausing-timers-and-resetting-events.16546/