i'll debug tomorrow

This commit is contained in:
Brandon 2020-11-03 04:12:13 -05:00
parent 34d578fa0c
commit 313eef0d6b
2 changed files with 9 additions and 4 deletions

View File

@ -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;

View File

@ -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