in my game that I'm making the light and dark elements act as instant kills and I already have a small script that defines a custom death state but it only works for one or the other instead of both, how would I make this apply to both light and dark?
class Game_BattlerBase
#--------------------------------------------------------------------------
# * Check K.O. State
#--------------------------------------------------------------------------
def death_state?
state?(death_state_id) || state?(28)
end
end
that's literally it that's the whole script (28 is the state id for light instant kill and 29 is the state id for dark instant kill) so how would I make it apply to both
class Game_BattlerBase
#--------------------------------------------------------------------------
# * Check K.O. State
#--------------------------------------------------------------------------
def death_state?
state?(death_state_id) || state?(28)
end
end
that's literally it that's the whole script (28 is the state id for light instant kill and 29 is the state id for dark instant kill) so how would I make it apply to both