From 5f26eaacd38c1827b0a340edb2d343eb9cb6e145 Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Sun, 21 Apr 2024 17:23:27 -0400 Subject: [PATCH 1/2] Fix issue where some FlxAnimate symbols wouldn't render on HTML5 --- hmm.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hmm.json b/hmm.json index 91beb40b0..6ee95f984 100644 --- a/hmm.json +++ b/hmm.json @@ -37,7 +37,7 @@ "name": "flxanimate", "type": "git", "dir": null, - "ref": "9bacdd6", + "ref": "17e0d59", "url": "https://github.com/FunkinCrew/flxanimate" }, { From d760a0d209acb9de769e4cf3a480a98ed5123421 Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Sun, 21 Apr 2024 17:23:48 -0400 Subject: [PATCH 2/2] Add Ctrl-Alt-Shift-W as a debug hotkey to unlock all Darnell songs in Freeplay --- source/funkin/ui/mainmenu/MainMenuState.hx | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/source/funkin/ui/mainmenu/MainMenuState.hx b/source/funkin/ui/mainmenu/MainMenuState.hx index 0a164cf86..f053d39fe 100644 --- a/source/funkin/ui/mainmenu/MainMenuState.hx +++ b/source/funkin/ui/mainmenu/MainMenuState.hx @@ -328,6 +328,31 @@ class MainMenuState extends MusicBeatState FlxG.state.openSubState(new DebugMenuSubState()); } + #if (debug || FORCE_DEBUG_VERSION) + if (FlxG.keys.pressed.CONTROL && FlxG.keys.pressed.ALT && FlxG.keys.pressed.SHIFT && FlxG.keys.justPressed.W) + { + // Give the user a score of 1 point on Weekend 1 story mode. + // This makes the level count as cleared and displays the songs in Freeplay. + funkin.save.Save.instance.setLevelScore('weekend1', 'easy', + { + score: 1, + tallies: + { + sick: 0, + good: 0, + bad: 0, + shit: 0, + missed: 0, + combo: 0, + maxCombo: 0, + totalNotesHit: 0, + totalNotes: 0, + }, + accuracy: 0, + }); + } + #end + if (FlxG.sound.music.volume < 0.8) { FlxG.sound.music.volume += 0.5 * elapsed;