02-17-2010, 03:45 PM
Code:
class Game_Battler
alias stas_remove_states_battle remove_states_battle
def remove_states_battle
stas_remove_states_battle
return if self.is_a?(Game_Enemy)
for skill_id in @active_state_skills
add_state(SKILL_TO_STATE_LINKS[skill_id])
end
end
end