1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-04-19 03:24:36 +00:00

i'll debug tomorrow

This commit is contained in:
Brandon 2020-11-03 04:12:13 -05:00
parent 87f67764a3
commit bbeca8e4fe
2 changed files with 9 additions and 4 deletions

View file

@ -15,7 +15,11 @@ class MainMenuState extends MusicBeatState
var menuItems:FlxTypedGroup<FlxSprite>; var menuItems:FlxTypedGroup<FlxSprite>;
#if !switch
var optionShit:Array<String> = ['story mode', 'freeplay', 'donate']; var optionShit:Array<String> = ['story mode', 'freeplay', 'donate'];
#else
var optionShit:Array<String> = ['story mode', 'freeplay'];
#end
var magenta:FlxSprite; var magenta:FlxSprite;
var camFollow:FlxObject; var camFollow:FlxObject;

View file

@ -59,14 +59,11 @@ class TitleState extends MusicBeatState
#if (!switch && !debug && NG_LOGIN) #if (!switch && !debug && NG_LOGIN)
var ng:NGio = new NGio(APIStuff.API, APIStuff.EncKey); var ng:NGio = new NGio(APIStuff.API, APIStuff.EncKey);
#end #end
#if SKIP_TO_PLAYSTATE #if SKIP_TO_PLAYSTATE
FlxG.switchState(new StoryMenuState()); FlxG.switchState(new StoryMenuState());
#else #else
startIntro(); startIntro();
#end #end
@ -200,11 +197,15 @@ class TitleState extends MusicBeatState
{ {
if (gamepad.justPressed.START) if (gamepad.justPressed.START)
pressedEnter = true; pressedEnter = true;
#if switch
if (gamepad.justPressed.B)
pressedEnter = true;
#end
} }
if (pressedEnter && !transitioning && skippedIntro) if (pressedEnter && !transitioning && skippedIntro)
{ {
#if !switch #if !switch
NGio.unlockMedal(60960); NGio.unlockMedal(60960);
#end #end