1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-30 02:33:40 +00:00

test in freeplay if debug

This commit is contained in:
MtH 2021-05-06 12:54:57 +02:00
parent a1b927175a
commit 2bce5151ba

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']);