class Game_Battler def remove_battle_states states.each do |state| erase_state(state.id) if state.remove_at_battle_end end endend
class Game_Battler def remove_battle_states states.each do |state| erase_state(state.id) if state.remove_at_battle_end end end end