Galv's animated battlers specific state animations

Id like to assign different animations to different states. Im using Galv's animated battlers here is part of it.

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.

Original thread: https://forums.rpgmakerweb.com/threads/galvs-animated-battlers-specific-state-animations.114789/