// method: stop the current sweep, if any // private void stopSweep() { SkiingSettings.singleton.heldVersusToggled = false; if (togglesSkiing) { Skier.disableSkiing(); } potentialCurrentTargetPosition = null; if (zeroVelocitiesAfter) { MoonMotionPlayer.zeroVelocities(); } }
// method: stop the current dash, if any // private void stopDash() { SkiingSettings.singleton.heldVersusToggled = false; if (togglesSkiing) { Skier.disableSkiing(); } potentialCurrentTargetPosition = null; if (temporarilyLockYPosition) { MoonMotionPlayer.setPositionYLockednessTo(lastYPositionLockednessBeforeDashing); } if (zeroVelocitiesAfter) { MoonMotionPlayer.zeroVelocities(); } }