@NeeEoo im gonna throw you off a cliff you too

reminds me of another commit,,,
This commit is contained in:
⍚~Nex
2024-11-12 00:58:14 +01:00
parent 5ea2f57e25
commit f8a19b11b4
+4 -4
View File
@@ -460,13 +460,13 @@ class PlayState extends MusicBeatState
* *
* NOTE: This is just a default value for the final value, the final value can be changed through notes hit events. * NOTE: This is just a default value for the final value, the final value can be changed through notes hit events.
*/ */
public var defDisplayRating:Bool = true; public var defaultDisplayRating:Bool = true;
/** /**
* Whenever the Combo sprite should be shown or not (like old Week 7 patches). * Whenever the Combo sprite should be shown or not (like old Week 7 patches).
* *
* NOTE: This is just a default value for the final value, the final value can be changed through notes hit events. * NOTE: This is just a default value for the final value, the final value can be changed through notes hit events.
*/ */
public var defDisplayCombo:Bool = false; public var defaultDisplayCombo:Bool = false;
/** /**
* Minimum Combo Count to display the combo digits. Anything less than 0 means it won't be shown. * Minimum Combo Count to display the combo digits. Anything less than 0 means it won't be shown.
*/ */
@@ -1661,9 +1661,9 @@ class PlayState extends MusicBeatState
var event:NoteHitEvent; var event:NoteHitEvent;
if (strumLine != null && !strumLine.cpu) if (strumLine != null && !strumLine.cpu)
event = EventManager.get(NoteHitEvent).recycle(false, !note.isSustainNote, !note.isSustainNote, null, defDisplayRating, defDisplayCombo, note, strumLine.characters, true, note.noteType, note.animSuffix.getDefault(note.strumID < strumLine.members.length ? strumLine.members[note.strumID].animSuffix : strumLine.animSuffix), "game/score/", "", note.strumID, score, note.isSustainNote ? null : accuracy, 0.023, daRating, Options.splashesEnabled && !note.isSustainNote && daRating == "sick"); event = EventManager.get(NoteHitEvent).recycle(false, !note.isSustainNote, !note.isSustainNote, null, defaultDisplayRating, defaultDisplayCombo, note, strumLine.characters, true, note.noteType, note.animSuffix.getDefault(note.strumID < strumLine.members.length ? strumLine.members[note.strumID].animSuffix : strumLine.animSuffix), "game/score/", "", note.strumID, score, note.isSustainNote ? null : accuracy, 0.023, daRating, Options.splashesEnabled && !note.isSustainNote && daRating == "sick");
else else
event = EventManager.get(NoteHitEvent).recycle(false, false, false, null, defDisplayRating, defDisplayCombo, note, strumLine.characters, false, note.noteType, note.animSuffix.getDefault(note.strumID < strumLine.members.length ? strumLine.members[note.strumID].animSuffix : strumLine.animSuffix), "game/score/", "", note.strumID, 0, null, 0, daRating, false); event = EventManager.get(NoteHitEvent).recycle(false, false, false, null, defaultDisplayRating, defaultDisplayCombo, note, strumLine.characters, false, note.noteType, note.animSuffix.getDefault(note.strumID < strumLine.members.length ? strumLine.members[note.strumID].animSuffix : strumLine.animSuffix), "game/score/", "", note.strumID, 0, null, 0, daRating, false);
event.deleteNote = !note.isSustainNote; // work around, to allow sustain notes to be deleted event.deleteNote = !note.isSustainNote; // work around, to allow sustain notes to be deleted
event = scripts.event(strumLine != null && !strumLine.cpu ? "onPlayerHit" : "onDadHit", event); event = scripts.event(strumLine != null && !strumLine.cpu ? "onPlayerHit" : "onDadHit", event);
strumLine.onHit.dispatch(event); strumLine.onHit.dispatch(event);