public void CheckGroundSpecial() { Cardinals AttackDir = controller.Inputter.ReturnAxisAerial(); switch (AttackDir) { case Cardinals.Left: controller.x_facing = -1; controller.Animator.CorrectColliders(); controller.FitAnima.Play("SideSpecial", 0, 0f); controller.FitAnima.Update(0); controller.SideSpecialGroundInit(); break; case Cardinals.Right: controller.x_facing = 1; controller.Animator.CorrectColliders(); controller.FitAnima.Play("SideSpecial", 0, 0f); controller.FitAnima.Update(0); controller.SideSpecialGroundInit(); 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.UpSpecialGroundInit(); break; case Cardinals.Down: controller.FitAnima.Play("DownSpecial", 0, 0f); controller.DownSpecialGroundInit(); break; default: controller.FitAnima.Play("NeutralSpecial", 0, 0f); controller.NeutralSpecialGroundInit(); break; } }