@@ -2000,9 +2000,9 @@ class PlayState extends MusicBeatState
20002000
20012001 var event : NoteHitEvent ;
20022002 if (strumLine != null && ! strumLine .cpu )
2003- event = EventManager .get (NoteHitEvent ).recycle (rating .breaksCombo , ! note .isSustainNote , ! note .isSustainNote , null , null , null , note , strumLine .characters , true , note .noteType , note .animSuffix .getDefault (note .strumID < strumLine .members .length ? strumLine .members [note .strumID ].animSuffix : strumLine .animSuffix ), null , null , note .strumID , rating .score , note .isSustainNote ? null : rating .accuracy , rating .health , rating .name , Options .splashesEnabled && ! note .isSustainNote && rating .splash , null , null , null , null , null , iconP1 );
2003+ event = EventManager .get (NoteHitEvent ).recycle (rating .breaksCombo , ! note .isSustainNote , ! note .isSustainNote , null , null , null , note , strumLine .characters , true , note .noteType , note .animSuffix .getDefault (note .strumID < strumLine .members .length ? strumLine .members [note .strumID ].animSuffix : strumLine .animSuffix ), null , null , note .strumID , rating .score , note .isSustainNote ? null : rating .accuracy , rating .health , rating .name , Options .splashesEnabled && ! note .isSustainNote && rating .splash , null , null , null , null , null , iconP1 , true );
20042004 else
2005- event = EventManager .get (NoteHitEvent ).recycle (rating .breaksCombo , false , false , null , null , null , note , strumLine .characters , false , note .noteType , note .animSuffix .getDefault (note .strumID < strumLine .members .length ? strumLine .members [note .strumID ].animSuffix : strumLine .animSuffix ), null , null , note .strumID , 0 , null , 0 , rating .name , false , null , null , null , null , true , iconP2 );
2005+ event = EventManager .get (NoteHitEvent ).recycle (rating .breaksCombo , false , false , null , null , null , note , strumLine .characters , false , note .noteType , note .animSuffix .getDefault (note .strumID < strumLine .members .length ? strumLine .members [note .strumID ].animSuffix : strumLine .animSuffix ), null , null , note .strumID , 0 , null , 0 , rating .name , false , null , null , null , null , true , iconP2 , false );
20062006 event .deleteNote = ! note .isSustainNote ; // work around, to allow sustain notes to be deleted
20072007 event = scripts .event (strumLine != null && ! strumLine .cpu ? " onPlayerHit" : " onDadHit" , event );
20082008 strumLine .onHit .dispatch (event );
@@ -2024,6 +2024,14 @@ class PlayState extends MusicBeatState
20242024 } else if (event .countAsCombo )
20252025 combo ++ ;
20262026
2027+ if (event .charsComboAnim && event .player && combo > 0 ) {
2028+ var comboAnim : String = ' combo $combo ' ;
2029+
2030+ for (sl in strumLines .members ) for (c in sl .characters ) {
2031+ if (c .hasAnim (comboAnim )) c .playAnim (comboAnim , true );
2032+ }
2033+ }
2034+
20272035 if (event .showRating || (event .showRating == null && event .player ))
20282036 {
20292037 displayCombo (event );
0 commit comments