I have a problem regarding the force flag you can set when calling the remove_state method inside Game_Battler... let me show it to you for short...
Well, I don't get what difference the force flag exactly mades... I can call the method like so...
...and it won't make an obvous difference for me... Can someone please tell me what it does?
Code:
def remove_state(state_id, force = false)
if state?(state_id)
if @states_turn[state_id] == -1 and not force
return
end
if @hp == 0 and $data_states[state_id].zero_hp
zero_hp = false
for i in @states
if i != state_id and $data_states[i].zero_hp
zero_hp = true
end
end
if zero_hp == false
@hp = 1
end
end
@states.delete(state_id)
@states_turn.delete(state_id)
end
@hp = [@hp, self.maxhp].min
@sp = [@sp, self.maxsp].min
end
Well, I don't get what difference the force flag exactly mades... I can call the method like so...
Code:
remove_state(state_id)
remove state(state_id, true)