From 91f1c816b968055bb5d3c2a2d2f2ef3607f9f3d4 Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Wed, 22 Sep 2021 15:33:30 -0400 Subject: [PATCH] TWEAKIN, and pico game over music --- source/ChartingState.hx | 2 ++ source/GameOverSubstate.hx | 6 ++++++ source/PlayState.hx | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/source/ChartingState.hx b/source/ChartingState.hx index 2565bfb3a..13dd88cbc 100644 --- a/source/ChartingState.hx +++ b/source/ChartingState.hx @@ -709,6 +709,8 @@ class ChartingState extends MusicBeatState if (FlxG.keys.justPressed.ENTER) { + autosaveSong(); + lastSection = curSection; PlayState.SONG = _song; diff --git a/source/GameOverSubstate.hx b/source/GameOverSubstate.hx index 7ddb1a0d2..0a52a4edf 100644 --- a/source/GameOverSubstate.hx +++ b/source/GameOverSubstate.hx @@ -50,6 +50,12 @@ class GameOverSubstate extends MusicBeatSubstate FlxG.sound.play(Paths.sound('fnf_loss_sfx' + stageSuffix)); Conductor.changeBPM(100); + switch (PlayState.SONG.player1) + { + case 'pico': + stageSuffix = 'Pico'; + } + // FlxG.camera.followLerp = 1; // FlxG.camera.focusOn(FlxPoint.get(FlxG.width / 2, FlxG.height / 2)); FlxG.camera.scroll.set(); diff --git a/source/PlayState.hx b/source/PlayState.hx index 3d946b6ff..437830c26 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -2358,7 +2358,7 @@ class PlayState extends MusicBeatState } else if (noteDiff > Note.HIT_WINDOW * Note.GOOD_THRESHOLD) { - healthMulti *= 0.5; + healthMulti *= 0.2; daRating = 'bad'; score = 100;