mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-09-12 05:07:06 +00:00
litty fix
This commit is contained in:
parent
4b1af216d4
commit
9926706e6e
|
@ -426,6 +426,7 @@ class FreeplayState extends MusicBeatSubState
|
|||
dj.onIntroDone.add(function() {
|
||||
// when boyfriend hits dat shiii
|
||||
//
|
||||
|
||||
albumArt.visible = true;
|
||||
albumArt.anim.play("");
|
||||
albumArt.anim.onComplete = function() {
|
||||
|
@ -468,6 +469,7 @@ class FreeplayState extends MusicBeatSubState
|
|||
new FlxTimer().start(1.5 / 24, function(bold) {
|
||||
sillyStroke.width = 0;
|
||||
sillyStroke.height = 0;
|
||||
changeSelection();
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -598,6 +600,8 @@ class FreeplayState extends MusicBeatSubState
|
|||
grpCapsules.add(funnyMenu);
|
||||
}
|
||||
|
||||
FlxG.console.registerFunction("changeSelection", changeSelection);
|
||||
|
||||
changeSelection();
|
||||
changeDiff();
|
||||
}
|
||||
|
@ -1034,7 +1038,7 @@ class FreeplayState extends MusicBeatSubState
|
|||
{
|
||||
index += 1;
|
||||
|
||||
capsule.selected = true;
|
||||
capsule.selected = index == curSelected + 1;
|
||||
|
||||
capsule.targetPos.y = capsule.intendedY(index - curSelected);
|
||||
capsule.targetPos.x = 270 + (60 * (Math.sin(index - curSelected)));
|
||||
|
|
|
@ -308,7 +308,6 @@ class SongMenuItem extends FlxSpriteGroup
|
|||
|
||||
function set_selected(value:Bool):Bool
|
||||
{
|
||||
trace("set_selected: " + value);
|
||||
// cute one liners, lol!
|
||||
diffGrayscale.setAmount(value ? 0 : 0.8);
|
||||
songText.alpha = value ? 1 : 0.6;
|
||||
|
|
Loading…
Reference in a new issue