mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-01-14 16:47:46 +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 < 0) curLetter = arr.length - 1;
|
||||||
if (curLetter >= arr.length) curLetter = 0;
|
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();
|
if (curSelection != curLetter) this.anim.pause();
|
||||||
updateHitbox();
|
updateHitbox();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue