Problem with KO status

When you escape, it processes battle end before the escape message is shown, in which case that also processes the removal of states that are to be "removed at battle end". So since the OP made death to be one, the enemy is "revived" by the time the OP escapes the battle making the enemy battler re-emerge in the battle screen during the escape message.


PS: I posted a quick fix for it a few posts back btw... Haven't tested if it has any side effects though.
Try thisclass Game_Troop

def on_battle_end

@in_battle = false

end

end
This will make it so enemies won't process the battle end part for them, so no removal of states... Not sure if it affects other things though 
I tested, it works well. Monsters vanquished don't reappear with it.

I'll look if I find other problems with this patch. I will keep you posted.

Edit : No problem found, thanks you for your help.

Original thread: https://forums.rpgmakerweb.com/threads/problem-with-ko-status.45716/