ClearStatus¶
This method will clear almost all conditions off an actor. The actor's BattleData is received as a ref to allow to reset the entire condition list.
Before resetting the conditions list, isnumb, isasleep and isdefending are all set to false.
The method then resets the condition list by removing everything except any of the following:
- EventStop
- Eaten
- Flipped
- Taunted
- Any condition whose turn count is above 99 (which only happens if the game manually placed it with the intent of being practically infinite), but this doesn't apply to Poison (meaning the condition inflicted as a result of the
EternalPoisonmedal is removed despite this exception)
After the reset:
- battleentity.
shieldenabledis set to false chargeis set to 0- UpdateConditionIcons is called which calls UpdateConditionBubbles on all battleentity (all
playerdatawith right to false and allenemydatawithhpabove 0 with right to true)