Id like to assign different animations to different states. Im using Galv's animated battlers here is part of it.
I've tried replacing [email protected]? with @states.include?(14) 14 being my state i want to check for...
but whenever i run this it just applies the state_pose regardless of what state is added if any state is added.
so its functioning the same as [email protected]?.
thoughts?
edit: nevermind found the problem had another script doing the same thing.
Code:
def set_idle_pose
return if !@bactivated
if death_state?
do_pose(12)
elsif guard?
do_pose(1)
elsif [email protected]?
do_pose(state_pose)
elsif low_life?
do_pose(2)
else
do_pose(0)
end
I've tried replacing [email protected]? with @states.include?(14) 14 being my state i want to check for...
but whenever i run this it just applies the state_pose regardless of what state is added if any state is added.
so its functioning the same as [email protected]?.
thoughts?
edit: nevermind found the problem had another script doing the same thing.