fixed certain notes not appearing

This commit is contained in:
Cameron Taylor
2020-10-13 02:36:45 -07:00
parent 50ab1605a6
commit 2673a04d27
3 changed files with 41 additions and 52 deletions

View File

@ -54,20 +54,20 @@ class Note extends FlxSprite
updateHitbox();
antialiasing = true;
switch (Math.abs(noteData))
switch (noteData)
{
case 1:
x += swagWidth * 2;
animation.play('greenScroll');
case 2:
x += swagWidth * 3;
animation.play('redScroll');
case 3:
x += swagWidth * 1;
animation.play('blueScroll');
case 4:
case 0:
x += swagWidth * 0;
animation.play('purpleScroll');
case 1:
x += swagWidth * 1;
animation.play('blueScroll');
case 2:
x += swagWidth * 2;
animation.play('greenScroll');
case 3:
x += swagWidth * 3;
animation.play('redScroll');
}
trace(prevNote);