mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-27 07:27:12 +00:00
blueball check
This commit is contained in:
parent
2d772a526b
commit
7a04a2d774
|
@ -162,12 +162,14 @@ class GameOverSubstate extends MusicBeatSubstate
|
||||||
// KEYBOARD ONLY: Restart the level when pressing the assigned key.
|
// KEYBOARD ONLY: Restart the level when pressing the assigned key.
|
||||||
if (controls.ACCEPT && blueballed)
|
if (controls.ACCEPT && blueballed)
|
||||||
{
|
{
|
||||||
|
blueballed = false;
|
||||||
confirmDeath();
|
confirmDeath();
|
||||||
}
|
}
|
||||||
|
|
||||||
// KEYBOARD ONLY: Return to the menu when pressing the assigned key.
|
// KEYBOARD ONLY: Return to the menu when pressing the assigned key.
|
||||||
if (controls.BACK)
|
if (controls.BACK)
|
||||||
{
|
{
|
||||||
|
blueballed = false;
|
||||||
PlayState.deathCounter = 0;
|
PlayState.deathCounter = 0;
|
||||||
PlayState.seenCutscene = false;
|
PlayState.seenCutscene = false;
|
||||||
gameOverMusic.stop();
|
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
|
* Play the sound effect that occurs when
|
||||||
|
|
Loading…
Reference in a new issue