public override void Update() { switch (controller.UpdateSwitch) { case 1: controller.UpSpecialGroundUpdate(); break; } if (controller.FitAnima.enabled) { if (GravityTimer == 0) { ApplyGravity(); } else { GravityTimer -= 1; } } if (controller.IASA) { CheckIASAAir(); } CheckLedge(); if (controller.EndAnim == true) { controller.EndAnim = false; DoTransition(typeof(FitState_AM_Fall)); return; } }