mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-03-21 09:29:41 +00:00
i'll debug tomorrow
This commit is contained in:
parent
87f67764a3
commit
bbeca8e4fe
|
@ -15,7 +15,11 @@ class MainMenuState extends MusicBeatState
|
|||
|
||||
var menuItems:FlxTypedGroup<FlxSprite>;
|
||||
|
||||
#if !switch
|
||||
var optionShit:Array<String> = ['story mode', 'freeplay', 'donate'];
|
||||
#else
|
||||
var optionShit:Array<String> = ['story mode', 'freeplay'];
|
||||
#end
|
||||
|
||||
var magenta:FlxSprite;
|
||||
var camFollow:FlxObject;
|
||||
|
|
|
@ -59,14 +59,11 @@ class TitleState extends MusicBeatState
|
|||
|
||||
|
||||
#if (!switch && !debug && NG_LOGIN)
|
||||
|
||||
var ng:NGio = new NGio(APIStuff.API, APIStuff.EncKey);
|
||||
#end
|
||||
|
||||
#if SKIP_TO_PLAYSTATE
|
||||
|
||||
FlxG.switchState(new StoryMenuState());
|
||||
|
||||
#else
|
||||
startIntro();
|
||||
#end
|
||||
|
@ -200,11 +197,15 @@ class TitleState extends MusicBeatState
|
|||
{
|
||||
if (gamepad.justPressed.START)
|
||||
pressedEnter = true;
|
||||
|
||||
#if switch
|
||||
if (gamepad.justPressed.B)
|
||||
pressedEnter = true;
|
||||
#end
|
||||
}
|
||||
|
||||
if (pressedEnter && !transitioning && skippedIntro)
|
||||
{
|
||||
|
||||
#if !switch
|
||||
NGio.unlockMedal(60960);
|
||||
#end
|
||||
|
|
Loading…
Reference in a new issue