Cooldown After Enemy Encounter?

Is there a way to make it so after each enemy encounter, there's a cool down of a few steps? It would be very helpful I think, thanks!
You could make a parallel event that turns off encounters until a set amount of time has passed with the Wait command. That parallel event could be activated with a switch which, in turn, is turned ON upon any random encounter, through the Battle Events commands of each Troop you have set as a random encounter. To be more precise:

Create a new switch. I'll call it Switch(x).

In the Battle Event section of each of the Troops:
- Turn Switch(x) -> ON
- Make sure that the Condition is: Don't run (unless you want it to work differently).

In a new event page inside your map:
- Change Encounter: Disable
- Wait n amount of frames. (with n being any number you want)
- Change Encounter: Enable
- Turn Switch(x) OFF
- Make sure that you have Conditions: Switch(x) is ON and Trigger: Parallel Process in the event's settings.

If you want this parallel event to run through multiple maps, I suggest you place these commands into a Common Event instead that has a Parallel Process as a Trigger and the Switch(x) as its Condition Switch.

This should work if I haven't missed anything. If you have any issues, let me know!
Thanks a ton! This worked 😀
Update! I reconsidered how the commands I wrote work and thought of an alternative that could make this system a bit more fair for the player!

These commands calculate the amount of time passed after a battle (in frames), but not the steps the player takes. Meaning that if the player stays idle, the cool down will run out regardless of movement or not. So, if you want to calculate the player's steps, you will need 2 new variables: one that stores the amount of steps the player had made until the battle encounter and one that stores the updated steps taken after the battle. I'll name them Variable(step_prev) and Variable(step_now).

In the Battle Event section of each of the Troops:
- Add "Control variable: Variable(step_prev) = Game Data: Steps" below or above the switch command.

In the parallel event page:
- Change Encounter: Disable
- Wait 1 frame
- Control variable: Variable(step_now) = Game Data: Steps
- Control variable: Variable(step_now) -= Variable(step_prev) (subtract Variable(step_prev))
- Conditional Branch: If Variable(step_now) > n (with n being any number of steps you want until the cool down is disabled)
-- Change Encounter: Enable
-- Turn Switch(x) OFF
- Make sure that these 2 last commands above are within the Conditional Branch and that you uncheck the "Set handling conditions do not apply" within its settings.

Noting this here just in case! This method is entirely optional if the first one worked efficiently enough for you. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/cooldown-after-enemy-encounter.170950/