1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-05 06:14:36 +00:00

proper letter stuff

This commit is contained in:
Cameron Taylor 2023-08-07 15:42:38 -04:00 committed by EliteMasterEric
parent e618fbc64f
commit ce2e6a3993

View file

@ -150,7 +150,18 @@ class FreeplayLetter extends FlxAtlasSprite
if (curLetter < 0) curLetter = arr.length - 1;
if (curLetter >= arr.length) curLetter = 0;
this.anim.play(arr[curLetter] + " move");
var animName:String = arr[curLetter] + " move";
switch (arr[curLetter])
{
case "I L":
animName = "IL move";
case "s":
animName = "S move";
case "t":
animName = "T move";
}
this.anim.play(animName);
if (curSelection != curLetter) this.anim.pause();
updateHitbox();
}