jeff stupid lines

19 is wild bro😭
This commit is contained in:
⍚~Nex
2024-02-04 23:12:11 +01:00
parent d0ace2c171
commit 9d2bf7a0c6
2 changed files with 18 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
var sound:Sound;
function create()
sound = Paths.sound('jeffGameover/jeffGameover-' + FlxG.random.int(1, 25, !Options.naughtyness ? [1, 3, 8, 13, 17, 21] : null));
function beatHit(cur:Int) {
if(cur != 0) return;
FlxG.sound.music.volume = 0.2;
FlxG.sound.play(sound, 1, false, null, true, function()
{
if (!isEnding)
FlxG.sound.music.fadeIn(4, 0.2, 1);
});
}