Skip to content

Commit

Permalink
I forgor
Browse files Browse the repository at this point in the history
  • Loading branch information
poec987 committed Jun 26, 2024
1 parent ad975c5 commit a7048d3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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);

Expand All @@ -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);

Expand Down Expand Up @@ -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";

Expand Down

0 comments on commit a7048d3

Please sign in to comment.