Allowing events in troops to happen when all enemies are defeated

A while back, I tried to have an event occur just after all enemies were defeated but discovered that the victory message took priority over everything and the battle would exit before the event would activate.

Is there a way to have an end battle event occur before battle officially ends and I'm back on the map screen?

If I need a script for that, got any good ones? =)
Post Battle Events by Hime does exactly there. Here is the topic link.

http://www.rpgmakervxace.net/topic/15209-post-battle-events/

~ Dinhbat
dinnbat beat me to it, yea Hime made a script that fixes that issue.
Note that the script overwrites battle manager methods.


You may need to manually add some lines as described in the post to your scripts if there are compatibility issues.
I downloaded and saved it, thanks. If there are any issues, I'll see what I can do to overcome the easy ones on my own. If I get stuck or do something stupid, I'll come here >,>
I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/allowing-events-in-troops-to-happen-when-all-enemies-are-defeated.25635/