Resetting Certain Variables After an Encounter?

Hello everyone.

I need some help into running a certain event after every encounter. After the end of every fight, I need this event to set four variables down to 0 to effectively reset their values. I tried using Yanfly's Base Troop Event, but the only set up I can do is that after the enemy marked as #1 is down, the variables reset.

?

Is there any way I can possibly get that event to run after every encounter is finished?
There was a script like this for Ace. I guess you'll have to wait for an MV one to pop up.
You could use a common event to reset all the variables after battle.

What ever event you have, that changes the variables in the first place, have it also turn on a switch. Make a common event requiring said switch, reset all variables, and turn off switch.

This will make such activate right after every battle, if the variables require resetting.

Original thread: https://forums.rpgmakerweb.com/threads/resetting-certain-variables-after-an-encounter.48032/