Can some one help me turn this script that I created into something that works?
essentially RPG maker VX allows a actor to go to 1 hp when the state poison is applied. what I tried to do what say, is your HP 1? yes, reduce it to 0 and applied the death state (state id 1). But i think I just failed.
if $game_actors[actor] == nil
if $game_actors[actor].state?(2) == true
if $game_battler.hp == 1
$game_battler.hp == 0