From a7048d3625e7c13eb165aebb60b4938553108090 Mon Sep 17 00:00:00 2001 From: poec987 Date: Wed, 26 Jun 2024 12:36:26 -0500 Subject: [PATCH] I forgor --- source/PlayState.hx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/PlayState.hx b/source/PlayState.hx index d97b500..2bb1bdd 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -1178,6 +1178,7 @@ class PlayState extends MusicBeatState var daStrumTime:Float = songNotes[0]; var daNoteData:Int = Std.int(songNotes[1] % 4); var noteType = songNotes[3]; + var noteTypeParam = songNotes[4]; var gottaHitNote:Bool = section.mustHitSection; @@ -1192,7 +1193,7 @@ class PlayState extends MusicBeatState else oldNote = null; - var swagNote:Note = new Note(daStrumTime, daNoteData, oldNote, false, noteType); + var swagNote:Note = new Note(daStrumTime, daNoteData, oldNote, false, noteType, noteTypeParam); swagNote.sustainLength = songNotes[2]; swagNote.scrollFactor.set(0, 0); @@ -1205,7 +1206,7 @@ class PlayState extends MusicBeatState { oldNote = unspawnNotes[Std.int(unspawnNotes.length - 1)]; - var sustainNote:Note = new Note(daStrumTime + (Conductor.stepCrochet * susNote) + Conductor.stepCrochet, daNoteData, oldNote, true, noteType); + var sustainNote:Note = new Note(daStrumTime + (Conductor.stepCrochet * susNote) + Conductor.stepCrochet, daNoteData, oldNote, true, noteType, noteTypeParam); sustainNote.scrollFactor.set(); unspawnNotes.push(sustainNote); @@ -2491,6 +2492,8 @@ class PlayState extends MusicBeatState var zeNoteType:String = notezzz.noteType; var noteTypeParam:String = notezzz.noteTypeParam; // Funny little silly parameter in chart editor :P + trace("NTParam: "+noteTypeParam); + if (zeNoteType == null) zeNoteType = "Normal";