public void CheckAerialSpecial() { Cardinals AttackDir = controller.Inputter.ReturnAxisAerial(); switch (AttackDir) { case Cardinals.Left: controller.x_facing = -1; controller.Animator.CorrectColliders(); controller.FitAnima.Play("SideSpecial", 0, 0f); controller.SideSpecialAirInit(); break; case Cardinals.Right: controller.x_facing = 1; controller.Animator.CorrectColliders(); controller.FitAnima.Play("SideSpecial", 0, 0f); controller.SideSpecialAirInit(); break; case Cardinals.Up: if (controller.Inputter.buffer_x >= 0.05f) { controller.x_facing = 1; controller.Animator.CorrectColliders(); } if (controller.Inputter.buffer_x <= -0.05f) { controller.x_facing = -1; controller.Animator.CorrectColliders(); } controller.FitAnima.Play("UpSpecial", 0, 0f); controller.FitAnima.Update(0); controller.UpSpecialAirInit(); break; case Cardinals.Down: controller.FitAnima.Play("DownSpecial", 0, 0f); controller.DownSpecialAirInit(); break; default: controller.FitAnima.Play("NeutralSpecial", 0, 0f); controller.NeutralSpecialAirInit(); break; } }