class Game_BattlerBase
alias clear_states_20140608 clear_states
def clear_states
flag = @states && state?(27)
clear_states_20140608
@states.push(27) if flag
end
end
class Game_Battler
alias remove_state_20140608 remove_state
def remove_state(state_id)
remove_state_20140608(state_id) if state_id != 27
end
end
class Game_BattlerBase
alias clear_states_20140608 clear_states
def clear_states
flag = @states && state?(27)
clear_states_20140608
@states.push(27) if flag
end
end
class Game_Battler
alias remove_state_20140608 remove_state
def remove_state(state_id)
remove_state_20140608(state_id) if state_id != 27
end
end