@@ -1955,7 +1955,7 @@ class PlayState extends MusicBeatState
19551955 var suf : String = hasEvent ? evt .ratingSuffix : " " ;
19561956
19571957 var rating : FlxSprite = comboGroup .recycleLoop (FlxSprite );
1958- rating .resetSprite (comboGroup .x + - 40 , comboGroup .y + - 60 );
1958+ CoolUtil .resetSprite (rating , comboGroup .x + - 40 , comboGroup .y + - 60 );
19591959 rating .loadAnimatedGraphic (Paths .image (' ${pre }${myRating }${suf }' ));
19601960 rating .acceleration .y = 550 ;
19611961 rating .velocity .y - = FlxG .random .int (140 , 175 );
@@ -1982,7 +1982,7 @@ class PlayState extends MusicBeatState
19821982
19831983 if (evt .displayCombo ) {
19841984 var comboSpr : FlxSprite = comboGroup .recycleLoop (FlxSprite ).loadAnimatedGraphic (Paths .image (' ${pre }combo ${suf }' ));
1985- comboSpr .resetSprite (comboGroup .x , comboGroup .y );
1985+ CoolUtil .resetSprite (comboSpr , comboGroup .x , comboGroup .y );
19861986 comboSpr .acceleration .y = 600 ;
19871987 comboSpr .velocity .y - = 150 ;
19881988 comboSpr .velocity .x + = FlxG .random .int (1 , 10 );
@@ -2006,7 +2006,7 @@ class PlayState extends MusicBeatState
20062006 for (i in 0 ... separatedScore .length )
20072007 {
20082008 var numScore : FlxSprite = comboGroup .recycleLoop (FlxSprite ).loadAnimatedGraphic (Paths .image (' ${pre }num ${separatedScore .charAt (i )}${suf }' ));
2009- numScore .resetSprite (comboGroup .x + (43 * i ) - 90 , comboGroup .y + 80 );
2009+ CoolUtil .resetSprite (numScore , comboGroup .x + (43 * i ) - 90 , comboGroup .y + 80 );
20102010 if (hasEvent ) {
20112011 numScore .antialiasing = evt .numAntialiasing ;
20122012 numScore .scale .set (evt .numScale , evt .numScale );
0 commit comments