mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-25 08:13:45 +00:00
freeplay menu teehee
This commit is contained in:
parent
5c14a5e5e3
commit
3c1ed09994
|
@ -89,7 +89,14 @@ class MainMenuState extends MusicBeatState
|
|||
menuItems.onChange.add(onMenuItemChange);
|
||||
menuItems.onAcceptPress.add(function(_)
|
||||
{
|
||||
FlxFlicker.flicker(magenta, 1.1, 0.15, false, true);
|
||||
if (_.name == 'freeplay')
|
||||
{
|
||||
magenta.visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
FlxFlicker.flicker(magenta, 1.1, 0.15, false, true);
|
||||
}
|
||||
});
|
||||
|
||||
menuItems.enabled = false; // disable for intro
|
||||
|
@ -143,6 +150,13 @@ class MainMenuState extends MusicBeatState
|
|||
super.create();
|
||||
}
|
||||
|
||||
override function closeSubState()
|
||||
{
|
||||
magenta.visible = false;
|
||||
|
||||
super.closeSubState();
|
||||
}
|
||||
|
||||
override function finishTransIn()
|
||||
{
|
||||
super.finishTransIn();
|
||||
|
|
Loading…
Reference in a new issue