I don't know if this is a glitch in RPG Maker but I have it so that when A uses Focus Punch you choose a target and the move has increased priority so A gets state "Focus Punch" added to him at the beginning of the turn. If he sustains any damage at all during the turn it will remove the state and A will essentially lose a turn, but if you get to the end of the turn without getting hit in troop events there's a conditional branch that checks if a party member has the "Focus Punch" state and if they do I created a separate skill that the event forces A to use on his last target. Everything works fine except after the attack is finished it does not subtract any damage from A's target. Does RPG Maker not use damage functions for turn end events??? Can someone maybe help me with a script that can formulate damage for turn end events if this is the problem???