RELEASE SHIIIT

This commit is contained in:
Cameron Taylor
2020-11-01 00:58:20 -07:00
parent c7f7a7dff0
commit 475dd9c49d
5 changed files with 19 additions and 1 deletions

View File

@ -39,11 +39,21 @@ class GameOverSubstate extends MusicBeatSubstate
{
super.update(elapsed);
if (FlxG.keys.justPressed.ENTER)
if (controls.ACCEPT)
{
endBullshit();
}
if (controls.BACK)
{
FlxG.sound.music.stop();
if (PlayState.isStoryMode)
FlxG.switchState(new StoryMenuState());
else
FlxG.switchState(new FreeplayState());
}
if (bf.animation.curAnim.name == 'firstDeath' && bf.animation.curAnim.curFrame == 12)
{
FlxG.camera.follow(camFollow, LOCKON, 0.01);