So, I have an enemy that blows up, killing itself, and then damaging the player. Because the enemy dies, the battle ends before the damage is done to the player, but if I do the damage before, it looks wrong, because the enemy that just exploded is still there. What I'm looking for is a way to have the battle only end when all enemies/player party members are dead at the end of a turn. Or, if anyone has any ideas about how I could get the same effect using a different method, that would be appreciated too.
Edit: I might have found a solution, but I'm still interested in knowing if this is possible.
Edit: I might have found a solution, but I'm still interested in knowing if this is possible.