@@ -336,8 +336,6 @@ class PlayState extends MusicBeatState
336336 {
337337 Paths .clearStoredMemory ();
338338
339- callOnHScripts (' create' , []);
340-
341339 ratingStuff = [
342340 [' F' , 0.2 ], // From 0% to 19%
343341 [' E' , 0.4 ], // From 20% to 39%
@@ -1480,6 +1478,7 @@ class PlayState extends MusicBeatState
14801478
14811479 Conductor .safeZoneOffset = (ClientPrefs .safeFrames / 60 ) * 1000 ;
14821480 callOnLuas (' onCreatePost' , []);
1481+ callOnHScripts (' create' , []);
14831482
14841483 super .create ();
14851484
@@ -4497,6 +4496,7 @@ class PlayState extends MusicBeatState
44974496 if (canMiss ) {
44984497 noteMissPress (key );
44994498 callOnLuas (' noteMissPress' , [key ]);
4499+ callOnHScripts (' noteMissPress' , [key ]);
45004500 }
45014501 }
45024502
@@ -4693,6 +4693,7 @@ class PlayState extends MusicBeatState
46934693 }
46944694
46954695 callOnLuas (' noteMiss' , [notes .members .indexOf (daNote ), daNote .noteData , daNote .noteType , daNote .isSustainNote , daNote. ID ]);
4696+ callOnHScripts (' noteMiss' , [notes .members .indexOf (daNote ), daNote .noteData , daNote .noteType , daNote .isSustainNote , daNote. ID ]);
46964697 }
46974698
46984699 function noteMissPress (direction : Int = 1 ): Void // You pressed a key when there was no notes to press for this key
@@ -4820,6 +4821,7 @@ class PlayState extends MusicBeatState
48204821 note .hitByOpponent = true ;
48214822
48224823 callOnLuas (' opponentNoteHit' , [notes .members .indexOf (note ), Math .abs (note .noteData ), note .noteType , note .isSustainNote , note. ID ]);
4824+ callOnHScripts (' opponentNoteHit' , [notes .members .indexOf (note ), Math .abs (note .noteData ), note .noteType , note .isSustainNote , note. ID ]);
48234825
48244826 if (! note .isSustainNote )
48254827 {
@@ -4952,6 +4954,7 @@ class PlayState extends MusicBeatState
49524954 var leData : Int = Math .round (Math .abs (note .noteData ));
49534955 var leType : String = note .noteType ;
49544956 callOnLuas (' goodNoteHit' , [notes .members .indexOf (note ), leData , leType , isSus , note. ID ]);
4957+ callOnHScripts (' goodNoteHit' , [notes .members .indexOf (note ), leData , leType , isSus , note. ID ]);
49554958
49564959 if (! note .isSustainNote )
49574960 {
@@ -5458,6 +5461,7 @@ class PlayState extends MusicBeatState
54585461
54595462 // Rating FC
54605463 ratingFC = " " ;
5464+ if (perfects > 0 && ! ClientPrefs .removePerfects ) ratingFC = " PFC" ;
54615465 if (sicks > 0 ) ratingFC = " SFC" ;
54625466 if (goods > 0 ) ratingFC = " GFC" ;
54635467 if (bads > 0 || shits > 0 ) ratingFC = " FC" ;
0 commit comments