latest halloween

This commit is contained in:
Brandon
2020-10-31 21:11:14 -04:00
parent 46fe5a5645
commit 180f6b2cfa
46 changed files with 1048 additions and 197 deletions

View File

@ -87,6 +87,7 @@ class FreeplayState extends MusicBeatState
if (accepted)
{
PlayState.SONG = Song.loadFromJson(songs[curSelected].toLowerCase());
PlayState.isStoryMode = false;
FlxG.switchState(new PlayState());
FlxG.sound.music.stop();
}
@ -95,6 +96,7 @@ class FreeplayState extends MusicBeatState
if (gamepad.anyJustPressed(["B"])) //"B" is swapped with "A" on Switch
{
PlayState.SONG = Song.loadFromJson(songs[curSelected].toLowerCase());
PlayState.isStoryMode = false;
FlxG.switchState(new PlayState());
FlxG.sound.music.stop();
}