Event Ended Battles, Actors still use Commands?

I noticed if I end a battle using Events

ex: enemyA takes 999,999damage after you use Fire.

And ActorB was gonna attack EnemyA, they continue their Attack, but on themselves...

THEN the battle ends.

I've lost many a party member doing this... So I was wondering is there a "safe way" to end the battle still getting the exp/rewards

(not force end battle.) OR is there a way to stop all actions about to occur?
That should not happen - can you please show us what battlescripts you're using, because most probably this is a bug introduced by one of your scripts.


Also, please show us a screenshot of how you're ending the battle.
Well well, when I was looking for battle scripts I found this thing called TARGET MANAGER.

Being as smart as I am ( ;_; ), I realized it was this thing that was causing the problems. I swear half the time I ask for help the FIRST reply tells me to look at something and as soon as I do I instantly realize what was wrong...

Thanks for the help!
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/event-ended-battles-actors-still-use-commands.38682/