From 2d772a526b33b8205b36b3bd8b2eede7d8d6531e Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Fri, 2 Jun 2023 15:56:40 -0400 Subject: [PATCH] no skipping easter egg!! --- source/funkin/play/GameOverSubstate.hx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/funkin/play/GameOverSubstate.hx b/source/funkin/play/GameOverSubstate.hx index 01e8e568d..da7c68df7 100644 --- a/source/funkin/play/GameOverSubstate.hx +++ b/source/funkin/play/GameOverSubstate.hx @@ -130,7 +130,7 @@ class GameOverSubstate extends MusicBeatSubstate { hasStartedAnimation = true; - if (boyfriend.hasAnimation('fakeoutDeath') && (FlxG.random.bool((1 / 4000) * 100))) + if (boyfriend.hasAnimation('fakeoutDeath') && (true || FlxG.random.bool((1 / 4000) * 100))) { boyfriend.playAnimation('fakeoutDeath', true, true); } @@ -160,7 +160,7 @@ class GameOverSubstate extends MusicBeatSubstate } // KEYBOARD ONLY: Restart the level when pressing the assigned key. - if (controls.ACCEPT) + if (controls.ACCEPT && blueballed) { confirmDeath(); } @@ -269,12 +269,15 @@ class GameOverSubstate extends MusicBeatSubstate } } + var blueballed:Bool = false; + /** * Play the sound effect that occurs when * boyfriend's testicles get utterly annihilated. */ public static function playBlueBalledSFX() { + blueballed = true; FlxG.sound.play(Paths.sound('fnf_loss_sfx' + blueBallSuffix)); }