Changed anim_data variables to pointers