From 313eef0d6b831dbe7c5f72373c0a590952dfde71 Mon Sep 17 00:00:00 2001 From: Brandon Date: Tue, 3 Nov 2020 04:12:13 -0500 Subject: [PATCH] i'll debug tomorrow --- source/MainMenuState.hx | 4 ++++ source/TitleState.hx | 9 +++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/source/MainMenuState.hx b/source/MainMenuState.hx index 19ddb46bb..4fd7decdd 100644 --- a/source/MainMenuState.hx +++ b/source/MainMenuState.hx @@ -15,7 +15,11 @@ class MainMenuState extends MusicBeatState var menuItems:FlxTypedGroup; + #if !switch var optionShit:Array = ['story mode', 'freeplay', 'donate']; + #else + var optionShit:Array = ['story mode', 'freeplay']; + #end var magenta:FlxSprite; var camFollow:FlxObject; diff --git a/source/TitleState.hx b/source/TitleState.hx index 172e8fed4..b6be87a6e 100644 --- a/source/TitleState.hx +++ b/source/TitleState.hx @@ -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