diff --git a/source/funkin/play/ResultState.hx b/source/funkin/play/ResultState.hx index 9a6cb0343..87aa2cb50 100644 --- a/source/funkin/play/ResultState.hx +++ b/source/funkin/play/ResultState.hx @@ -698,33 +698,6 @@ class ResultState extends MusicBeatSubState override function update(elapsed:Float):Void { - // if(FlxG.keys.justPressed.R){ - // FlxG.switchState(() -> new funkin.play.ResultState( - // { - // storyMode: false, - // title: "Cum Song Erect by Kawai Sprite", - // songId: "cum", - // difficultyId: "nightmare", - // isNewHighscore: true, - // scoreData: - // { - // score: 1_234_567, - // tallies: - // { - // sick: 200, - // good: 0, - // bad: 0, - // shit: 0, - // missed: 0, - // combo: 0, - // maxCombo: 69, - // totalNotesHit: 200, - // totalNotes: 200 // 0, - // } - // }, - // })); - // } - // maskShaderSongName.swagSprX = songName.x; maskShaderDifficulty.swagSprX = difficulty.x; diff --git a/source/funkin/ui/charSelect/CharSelectGF.hx b/source/funkin/ui/charSelect/CharSelectGF.hx index 8e8cf5994..095551741 100644 --- a/source/funkin/ui/charSelect/CharSelectGF.hx +++ b/source/funkin/ui/charSelect/CharSelectGF.hx @@ -54,20 +54,6 @@ class CharSelectGF extends FlxAtlasSprite implements IBPMSyncedScriptedClass doFade(animInInfo); default: } - - #if FEATURE_DEBUG_FUNCTIONS - if (FlxG.keys.justPressed.J) - { - alpha = 1; - x = y = 0; - fadingStatus = FADE_OUT; - } - if (FlxG.keys.justPressed.K) - { - alpha = 0; - fadingStatus = FADE_IN; - } - #end } public function onStepHit(event:SongTimeScriptEvent):Void {} diff --git a/source/funkin/ui/freeplay/FreeplayDJ.hx b/source/funkin/ui/freeplay/FreeplayDJ.hx index 7c3ecb46f..6c6ab9535 100644 --- a/source/funkin/ui/freeplay/FreeplayDJ.hx +++ b/source/funkin/ui/freeplay/FreeplayDJ.hx @@ -183,36 +183,6 @@ class FreeplayDJ extends FlxAtlasSprite default: // I shit myself. } - - #if FEATURE_DEBUG_FUNCTIONS - if (FlxG.keys.pressed.CONTROL) - { - if (FlxG.keys.justPressed.LEFT) - { - this.offsetX -= FlxG.keys.pressed.ALT ? 0.1 : (FlxG.keys.pressed.SHIFT ? 10.0 : 1.0); - } - - if (FlxG.keys.justPressed.RIGHT) - { - this.offsetX += FlxG.keys.pressed.ALT ? 0.1 : (FlxG.keys.pressed.SHIFT ? 10.0 : 1.0); - } - - if (FlxG.keys.justPressed.UP) - { - this.offsetY -= FlxG.keys.pressed.ALT ? 0.1 : (FlxG.keys.pressed.SHIFT ? 10.0 : 1.0); - } - - if (FlxG.keys.justPressed.DOWN) - { - this.offsetY += FlxG.keys.pressed.ALT ? 0.1 : (FlxG.keys.pressed.SHIFT ? 10.0 : 1.0); - } - - if (FlxG.keys.justPressed.C) - { - currentState = (currentState == Idle ? Cartoon : Idle); - } - } - #end } function onFinishAnim(name:String):Void diff --git a/source/funkin/ui/freeplay/FreeplayState.hx b/source/funkin/ui/freeplay/FreeplayState.hx index ed875512b..b02dbc7c7 100644 --- a/source/funkin/ui/freeplay/FreeplayState.hx +++ b/source/funkin/ui/freeplay/FreeplayState.hx @@ -1300,16 +1300,6 @@ class FreeplayState extends MusicBeatSubState difficultyId: "hard" }, grpCapsules.members[curSelected]); } - - // if (FlxG.keys.justPressed.H) - // { - // rankDisplayNew(fromResultsParams); - // } - - // if (FlxG.keys.justPressed.G) - // { - // rankAnimSlam(fromResultsParams); - // } #end // ^<-- FEATURE_DEBUG_FUNCTIONS if (controls.FREEPLAY_CHAR_SELECT && !busy) diff --git a/source/funkin/ui/title/TitleState.hx b/source/funkin/ui/title/TitleState.hx index b12a1f024..fef121adf 100644 --- a/source/funkin/ui/title/TitleState.hx +++ b/source/funkin/ui/title/TitleState.hx @@ -264,9 +264,6 @@ class TitleState extends MusicBeatState if (gamepad != null) { if (gamepad.justPressed.START) pressedEnter = true; - #if switch - if (gamepad.justPressed.B) pressedEnter = true; - #end } // If you spam Enter, we should skip the transition. diff --git a/source/funkin/ui/transition/LoadingState.hx b/source/funkin/ui/transition/LoadingState.hx index ce9b6b9de..7957ab6ca 100644 --- a/source/funkin/ui/transition/LoadingState.hx +++ b/source/funkin/ui/transition/LoadingState.hx @@ -171,10 +171,6 @@ class LoadingState extends MusicBeatSubState } FlxG.watch.addQuick('percentage?', callbacks.numRemaining / callbacks.length); } - - #if FEATURE_DEBUG_FUNCTIONS - if (FlxG.keys.justPressed.SPACE) trace('fired: ' + callbacks.getFired() + ' unfired:' + callbacks.getUnfired()); - #end } function onLoad():Void diff --git a/source/funkin/ui/transition/StickerSubState.hx b/source/funkin/ui/transition/StickerSubState.hx index 5a17d6e11..9e98dbb6d 100644 --- a/source/funkin/ui/transition/StickerSubState.hx +++ b/source/funkin/ui/transition/StickerSubState.hx @@ -301,11 +301,6 @@ class StickerSubState extends MusicBeatSubState override public function update(elapsed:Float):Void { super.update(elapsed); - - // if (FlxG.keys.justPressed.ANY) - // { - // regenStickers(); - // } } var switchingState:Bool = false;