Temporary Speed Boost Help

I am making a little coffee feature to my game that, when you drink coffee, it boosts your speed by 1 for one minute. But at the moment I don't know how to do it. Do I put:

@>Control Timer: Startup (1 min. 0 sec.)

@>Set Move Route: Player

: : $>Change Speed: 5

?

That's what I have it set up as, but I do not know if it would turn the speed back after the minute is over. If it doesn't, how can I make it do so? If it does, then second question, how do I make the effect carry over to other maps.

(If it helps the coffee event is parallel process and a Common Event.)
You'd need to add a conditional branch checking that the timer is 0, and in that set the player's speed back to normal. If you want it to persist between maps, make it a common event. You'll need two: one that's called when coffee is used which sets the timer at 1 minute, increases the player's speed and turns on a switch, and a parallel process one that's activated by that switch which has a conditional branch checking for the timer being at 0; if it is, set the player's speed back to normal, stop the timer and turn the switch off.
Thanks, it worked.
Thank god for this 2015 post. LOL honestly i couldnt find the answer anywhere and ive been trying for hours. My method is a similar method through an item but not a timer, good to know it works with a timer too.

This really helped and possibly saved me thank you so much guys

Original thread: https://forums.rpgmakerweb.com/threads/temporary-speed-boost-help.39814/