test in freeplay if debug

This commit is contained in:
MtH 2021-05-06 12:54:57 +02:00
parent 09a362952b
commit e7dfb022fc
1 changed files with 12 additions and 11 deletions

View File

@ -49,6 +49,18 @@ class FreeplayState extends MusicBeatState
override function create()
{
#if discord_rpc
// Updating Discord Rich Presence
DiscordClient.changePresence("In the Menus", null);
#end
var isDebug:Bool = false;
#if debug
isDebug = true;
addSong('Test', 1, 'bf-pixel');
#end
var initSonglist = CoolUtil.coolTextFile(Paths.txt('freeplaySonglist'));
for (i in 0...initSonglist.length)
@ -62,17 +74,6 @@ class FreeplayState extends MusicBeatState
FlxG.sound.playMusic(Paths.music('freakyMenu'));
}
#if discord_rpc
// Updating Discord Rich Presence
DiscordClient.changePresence("In the Menus", null);
#end
var isDebug:Bool = false;
#if debug
isDebug = true;
#end
if (StoryMenuState.weekUnlocked[2] || isDebug)
addWeek(['Bopeebo', 'Fresh', 'Dadbattle'], 1, ['dad']);