save after battle

How would I go about making the save screen come up after the player has won a battle? (If you force it before you go back to scene, it glitches)
If your battles are evented (enemies on map), you simply add a Call Save Screen command after the battle.
If you're using random battles, you'll either need to change them so they're controlled by an event but it looks like it's random (make an event simulate the random battle system) so you can add a Call Save Screen command after the battle, or you'll need to find/request a plugin to do it.

What is the "glitch" when you force it before you go back to the scene, and how are you doing that?
Alternatively, create an Autorun Common Event set to a switch. In the Event Lines, call the save screen (and any other series of events you need) and then turn the switch off at the end.

In any battle you want to call the save screen after, turn the switch on at turn 0.

Original thread: https://forums.rpgmakerweb.com/threads/save-after-battle.90902/