This commit is contained in:
KadeDeveloper 2021-07-21 03:29:26 -07:00
parent 9723bb6801
commit 3918bf820f

View File

@ -38,16 +38,15 @@ class DiffCalc
{ {
for (ii in i.sectionNotes) // notes for (ii in i.sectionNotes) // notes
{ {
var gottaHitNote:Bool = i.mustHitSection; if (ii[1] > 3 && !i.mustHitSection)
cleanedNotes.push(new SmallNote(ii[0],Math.floor(Math.abs(ii[1]))));
if (ii[1] > 3) else if (ii[1] < 4 && i.mustHitSection)
gottaHitNote = !i.mustHitSection;
if (gottaHitNote)
cleanedNotes.push(new SmallNote(ii[0],Math.floor(Math.abs(ii[1])))); cleanedNotes.push(new SmallNote(ii[0],Math.floor(Math.abs(ii[1]))));
} }
} }
trace(cleanedNotes.length + " - playable notes");
var handOne:Array<SmallNote> = []; var handOne:Array<SmallNote> = [];
var handTwo:Array<SmallNote> = []; var handTwo:Array<SmallNote> = [];