From e42f6f1eb2ff118857de68b1c34dd6a6fd362f0c Mon Sep 17 00:00:00 2001 From: MidyGamy Date: Thu, 30 Jan 2025 23:16:15 -0400 Subject: [PATCH] added debug hotkeys for pico mixes alt inst --- source/funkin/ui/mainmenu/MainMenuState.hx | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/source/funkin/ui/mainmenu/MainMenuState.hx b/source/funkin/ui/mainmenu/MainMenuState.hx index 13a7c7395c..c69905b21c 100644 --- a/source/funkin/ui/mainmenu/MainMenuState.hx +++ b/source/funkin/ui/mainmenu/MainMenuState.hx @@ -441,6 +441,50 @@ class MainMenuState extends MusicBeatState }); } + if (FlxG.keys.pressed.CONTROL && FlxG.keys.pressed.ALT && FlxG.keys.pressed.SHIFT && FlxG.keys.justPressed.O) + { + // Give the user a score of 1 point on Bopeebo Pico Mix (Easy difficulty). + // This makes the song count as cleared and allow alt inst selection for BF in Freeplay. + funkin.save.Save.instance.setSongScore('bopeebo', 'easy-pico', + { + score: 1, + tallies: + { + sick: 0, + good: 0, + bad: 0, + shit: 1, + missed: 0, + combo: 0, + maxCombo: 0, + totalNotesHit: 1, + totalNotes: 10, + } + }); + } + + if (FlxG.keys.pressed.CONTROL && FlxG.keys.pressed.ALT && FlxG.keys.pressed.SHIFT && FlxG.keys.justPressed.I) + { + // Give the user a score of 0 point on Bopeebo Pico Mix (Easy difficulty). + // This makes the song count as uncleared and skips alt inst selection for BF in Freeplay. + funkin.save.Save.instance.setSongScore('bopeebo', 'easy-pico', + { + score: 0, + tallies: + { + sick: 0, + good: 0, + bad: 0, + shit: 0, + missed: 0, + combo: 0, + maxCombo: 0, + totalNotesHit: 0, + totalNotes: 0, + } + }); + } + if (FlxG.keys.pressed.CONTROL && FlxG.keys.pressed.ALT && FlxG.keys.pressed.SHIFT && FlxG.keys.justPressed.N) { @:privateAccess