1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-26 00:35:11 +00:00

variation and hmm fix

This commit is contained in:
Cameron Taylor 2023-04-16 18:57:18 -04:00
parent f411cdac88
commit c2e340ef19
2 changed files with 14 additions and 14 deletions

View file

@ -30,7 +30,7 @@
"name": "flxanimate",
"type": "git",
"dir": null,
"ref": "6bc8992",
"ref": "a8976ff",
"url": "https://github.com/ninjamuffin99/flxanimate"
},
{

View file

@ -232,21 +232,21 @@ class ResultState extends MusicBeatSubstate
FlxTween.tween(highscoreNew, {y: highscoreNew.y + 10}, 0.8, {ease: FlxEase.quartOut});
};
if (false)
switch (resultsVariation)
{
boyfriend.animation.play('fall');
boyfriend.visible = true;
case NORMAL:
boyfriend.animation.play('fall');
boyfriend.visible = true;
new FlxTimer().start((1 / 24) * 22, _ -> {
// plays about 22 frames (at 24fps timing) after bf spawns in
gf.animation.play('clap', true);
gf.visible = true;
});
}
else
{
bfGfExcellent.visible = true;
bfGfExcellent.playAnimation("");
new FlxTimer().start((1 / 24) * 22, _ -> {
// plays about 22 frames (at 24fps timing) after bf spawns in
gf.animation.play('clap', true);
gf.visible = true;
});
case PERFECT:
bfGfExcellent.visible = true;
bfGfExcellent.playAnimation("");
default:
}
});