i'll debug tomorrow
This commit is contained in:
parent
9ccf971e58
commit
a9dddbc4a5
@ -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;
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user