STATE_object_get_animation
returns a handle to the an animation that belongs to the object If the object has no animations or it has more then one the function returns NULL