Commit 506b13c 1 parent ce3e616 commit 506b13c Copy full SHA for 506b13c
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2919,7 +2919,7 @@ class PlayState extends MusicBeatState
2919
2919
var postfix : String = ' ' ;
2920
2920
if (note != null ) postfix = note .animSuffix ;
2921
2921
2922
- var animToPlay : String = singAnimations [Std . int ( Math . abs ( Math . min ( singAnimations .length - 1 , direction ))) ] + ' miss' + postfix ;
2922
+ var animToPlay : String = singAnimations [direction % singAnimations .length - 1 ] + ' miss' + postfix ;
2923
2923
char .playAnim (animToPlay , true );
2924
2924
2925
2925
if (char != gf && lastCombo > 5 && gf != null && gf .hasAnimation (' sad' ))
@@ -2950,7 +2950,7 @@ class PlayState extends MusicBeatState
2950
2950
else if (! note .noAnimation )
2951
2951
{
2952
2952
var char : Character = dad ;
2953
- var animToPlay : String = singAnimations [Std . int ( Math . abs ( Math . min ( singAnimations .length - 1 , note . noteData ))) ] + note .animSuffix ;
2953
+ var animToPlay : String = singAnimations [note . noteData & singAnimations .length - 1 ] + note .animSuffix ;
2954
2954
if (note .gfNote ) char = gf ;
2955
2955
2956
2956
if (char != null )
@@ -3002,7 +3002,7 @@ class PlayState extends MusicBeatState
3002
3002
{
3003
3003
if (! note .noAnimation )
3004
3004
{
3005
- var animToPlay : String = singAnimations [Std . int ( Math . abs ( Math . min ( singAnimations .length - 1 , note . noteData ))) ] + note .animSuffix ;
3005
+ var animToPlay : String = singAnimations [note . noteData % singAnimations .length - 1 ] + note .animSuffix ;
3006
3006
3007
3007
var char : Character = boyfriend ;
3008
3008
var animCheck : String = ' hey' ;
You can’t perform that action at this time.
0 commit comments