I am using this script provided by HimeWorks to ensure some of the states I am using get removed after death:
# By default, when a battler dies, the game simply clears out the states.
# However, sometimes we might want them to be actually "removed" through the
# appropriate remove_state method
class Game_Battler < Game_BattlerBase
alias :th_remove_states_on_death_die :die
def die
@states.each {|id| remove_state(id)}
th_remove_states_on_death_die
end
end
I definitely need this script to remove some transformation states on my actors, however, it removes all transformation states and doesn't allow for any exceptions. Is it possible to have a script that can have some states circumvent this script? I really need some transformation states to work after death during boss battles. Thanks!
# By default, when a battler dies, the game simply clears out the states.
# However, sometimes we might want them to be actually "removed" through the
# appropriate remove_state method
class Game_Battler < Game_BattlerBase
alias :th_remove_states_on_death_die :die
def die
@states.each {|id| remove_state(id)}
th_remove_states_on_death_die
end
end
I definitely need this script to remove some transformation states on my actors, however, it removes all transformation states and doesn't allow for any exceptions. Is it possible to have a script that can have some states circumvent this script? I really need some transformation states to work after death during boss battles. Thanks!