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:
parent
e618fbc64f
commit
ce2e6a3993
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue