1
0
Fork 0
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:
Cameron Taylor 2021-12-06 00:50:50 -05:00
parent 5c14a5e5e3
commit 3c1ed09994

View file

@ -88,8 +88,15 @@ class MainMenuState extends MusicBeatState
add(menuItems);
menuItems.onChange.add(onMenuItemChange);
menuItems.onAcceptPress.add(function(_)
{
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();