mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-27 01:03:35 +00:00
test in freeplay if debug
This commit is contained in:
parent
a1b927175a
commit
2bce5151ba
|
@ -49,6 +49,18 @@ class FreeplayState extends MusicBeatState
|
||||||
|
|
||||||
override function create()
|
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'));
|
var initSonglist = CoolUtil.coolTextFile(Paths.txt('freeplaySonglist'));
|
||||||
|
|
||||||
for (i in 0...initSonglist.length)
|
for (i in 0...initSonglist.length)
|
||||||
|
@ -62,17 +74,6 @@ class FreeplayState extends MusicBeatState
|
||||||
FlxG.sound.playMusic(Paths.music('freakyMenu'));
|
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)
|
if (StoryMenuState.weekUnlocked[2] || isDebug)
|
||||||
addWeek(['Bopeebo', 'Fresh', 'Dadbattle'], 1, ['dad']);
|
addWeek(['Bopeebo', 'Fresh', 'Dadbattle'], 1, ['dad']);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue