From ce2e6a399315ac21790c8acb9e5d7252fc931340 Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Mon, 7 Aug 2023 15:42:38 -0400 Subject: [PATCH] proper letter stuff --- source/funkin/freeplayStuff/LetterSort.hx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/source/funkin/freeplayStuff/LetterSort.hx b/source/funkin/freeplayStuff/LetterSort.hx index 68eeeab33..ed3ca7312 100644 --- a/source/funkin/freeplayStuff/LetterSort.hx +++ b/source/funkin/freeplayStuff/LetterSort.hx @@ -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(); }