You could create an event under the enemy that the character is fighting. Specify the conditions for that event as: Player HP 10% or below. Then increase the players evade rates and defense rates to the max. Once the battle ends, switch them back to normal.