make register_anim return a boolean as a second return value (true when it registered a new animation and false when it just re-returned)