1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-09-11 20:57:20 +00:00

blueball check

This commit is contained in:
Cameron Taylor 2023-06-04 01:19:08 -04:00
parent 2d772a526b
commit 7a04a2d774

View file

@ -162,12 +162,14 @@ class GameOverSubstate extends MusicBeatSubstate
// KEYBOARD ONLY: Restart the level when pressing the assigned key.
if (controls.ACCEPT && blueballed)
{
blueballed = false;
confirmDeath();
}
// KEYBOARD ONLY: Return to the menu when pressing the assigned key.
if (controls.BACK)
{
blueballed = false;
PlayState.deathCounter = 0;
PlayState.seenCutscene = false;
gameOverMusic.stop();
@ -269,7 +271,7 @@ class GameOverSubstate extends MusicBeatSubstate
}
}
var blueballed:Bool = false;
static var blueballed:Bool = false;
/**
* Play the sound effect that occurs when