1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-03-21 17:39:20 +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>;
#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