freeplay fixin shit

This commit is contained in:
Cameron Taylor
2021-02-24 20:22:37 -05:00
parent ac0e24e370
commit 2a2d420edc
6 changed files with 11 additions and 3 deletions

View File

@ -50,6 +50,7 @@ class FreeplayState extends MusicBeatState
{
songs.push('Spookeez');
songs.push('South');
songs.push('Monster');
}
if (StoryMenuState.weekUnlocked[3] || isDebug)
@ -198,6 +199,10 @@ class FreeplayState extends MusicBeatState
PlayState.SONG = Song.loadFromJson(poop, songs[curSelected].toLowerCase());
PlayState.isStoryMode = false;
PlayState.storyDifficulty = curDifficulty;
// QUICK DUMB MATH
// gets story week from currently selected, will be fuckie if things are NOT in order!
PlayState.storyWeek = Math.ceil((curSelected + 1) / 3);
LoadingState.loadAndSwitchState(new PlayState());
}
}