From a9cff4db15e40eeb7d60bb9ad44a20a2ea990627 Mon Sep 17 00:00:00 2001 From: Merlin <30577208+SimplyMerlin@users.noreply.github.com> Date: Mon, 12 Jul 2021 12:06:07 +0200 Subject: [PATCH 1/2] Change bpm when song starts playing --- source/StoryMenuState.hx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/StoryMenuState.hx b/source/StoryMenuState.hx index 8f87cef..c8653f2 100644 --- a/source/StoryMenuState.hx +++ b/source/StoryMenuState.hx @@ -101,7 +101,10 @@ class StoryMenuState extends MusicBeatState if (FlxG.sound.music != null) { if (!FlxG.sound.music.playing) + { FlxG.sound.playMusic(Paths.music('freakyMenu')); + Conductor.changeBPM(102); + } } persistentUpdate = persistentDraw = true; From dddc331701243561e4e4d44af4bfe22388835e25 Mon Sep 17 00:00:00 2001 From: Merlin <30577208+SimplyMerlin@users.noreply.github.com> Date: Mon, 12 Jul 2021 12:16:24 +0200 Subject: [PATCH 2/2] stop game from crashing when pressing r in cutscen --- source/PlayState.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/PlayState.hx b/source/PlayState.hx index 969568b..07037bd 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -2592,7 +2592,7 @@ class PlayState extends MusicBeatState // FlxG.switchState(new GameOverState(boyfriend.getScreenPosition().x, boyfriend.getScreenPosition().y)); } - if (FlxG.save.data.resetButton) + if (!inCutscene && FlxG.save.data.resetButton) { if (FlxG.keys.justPressed.R) {