1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-04-01 15:25:25 +00:00

MAIN BIG FORMAT??

This commit is contained in:
Cameron Taylor 2021-11-29 22:12:18 -05:00
parent 06c1b79761
commit 34dc1826ef
6 changed files with 87 additions and 75 deletions

View file

@ -150,7 +150,7 @@ class ChartingState extends MusicBeatState
addSection();
// sections = _song.notes[Conductor.curNotes];
// sections = _song.notes[SongLoad.curDiff];
updateGrid();
@ -241,7 +241,7 @@ class ChartingState extends MusicBeatState
var loadAutosaveBtn:FlxButton = new FlxButton(reloadSongJson.x, reloadSongJson.y + 30, 'load autosave', loadAutosave);
var stepperSpeed:FlxUINumericStepper = new FlxUINumericStepper(10, 80, 0.1, 1, 0.1, 10, 2);
stepperSpeed.value = _song.speed[Conductor.curNotes];
stepperSpeed.value = _song.speed[SongLoad.curDiff];
stepperSpeed.name = 'song_speed';
var stepperBPM:FlxUINumericStepper = new FlxUINumericStepper(10, 65, 1, 100, 1, 999, 3);
@ -298,7 +298,7 @@ class ChartingState extends MusicBeatState
tab_group_section.name = 'Section';
stepperLength = new FlxUINumericStepper(10, 10, 4, 0, 0, 999, 0);
stepperLength.value = _song.notes[Conductor.curNotes][curSection].lengthInSteps;
stepperLength.value = _song.notes[SongLoad.curDiff][curSection].lengthInSteps;
stepperLength.name = "section_length";
stepperSectionBPM = new FlxUINumericStepper(10, 80, 1, Conductor.bpm, 1, 999, 3);
@ -316,11 +316,11 @@ class ChartingState extends MusicBeatState
var swapSection:FlxButton = new FlxButton(10, 170, "Swap section", function()
{
for (i in 0..._song.notes[Conductor.curNotes][curSection].sectionNotes.length)
for (i in 0..._song.notes[SongLoad.curDiff][curSection].sectionNotes.length)
{
var note = _song.notes[Conductor.curNotes][curSection].sectionNotes[i];
var note = _song.notes[SongLoad.curDiff][curSection].sectionNotes[i];
note[1] = (note[1] + 4) % 8;
_song.notes[Conductor.curNotes][curSection].sectionNotes[i] = note;
_song.notes[SongLoad.curDiff][curSection].sectionNotes[i] = note;
updateGrid();
}
});
@ -484,15 +484,15 @@ class ChartingState extends MusicBeatState
switch (label)
{
case 'Must hit section':
_song.notes[Conductor.curNotes][curSection].mustHitSection = check.checked;
_song.notes[SongLoad.curDiff][curSection].mustHitSection = check.checked;
updateHeads();
case 'Change BPM':
_song.notes[Conductor.curNotes][curSection].changeBPM = check.checked;
_song.notes[SongLoad.curDiff][curSection].changeBPM = check.checked;
FlxG.log.add('changed bpm shit');
case "Alt Animation":
_song.notes[Conductor.curNotes][curSection].altAnim = check.checked;
_song.notes[SongLoad.curDiff][curSection].altAnim = check.checked;
}
}
else if (id == FlxUINumericStepper.CHANGE_EVENT && (sender is FlxUINumericStepper))
@ -502,12 +502,12 @@ class ChartingState extends MusicBeatState
FlxG.log.add(wname);
if (wname == 'section_length')
{
_song.notes[Conductor.curNotes][curSection].lengthInSteps = Std.int(nums.value);
_song.notes[SongLoad.curDiff][curSection].lengthInSteps = Std.int(nums.value);
updateGrid();
}
else if (wname == 'song_speed')
{
_song.speed[Conductor.curNotes] = nums.value;
_song.speed[SongLoad.curDiff] = nums.value;
}
else if (wname == 'song_bpm')
{
@ -522,7 +522,7 @@ class ChartingState extends MusicBeatState
}
else if (wname == 'section_bpm')
{
_song.notes[Conductor.curNotes][curSection].bpm = nums.value;
_song.notes[SongLoad.curDiff][curSection].bpm = nums.value;
updateGrid();
}
}
@ -535,10 +535,10 @@ class ChartingState extends MusicBeatState
/* this function got owned LOL
function lengthBpmBullshit():Float
{
if (_song.notes[Conductor.curNotes][curSection].changeBPM)
return _song.notes[Conductor.curNotes][curSection].lengthInSteps * (_song.notes[Conductor.curNotes][curSection].bpm / _song.bpm);
if (_song.notes[SongLoad.curDiff][curSection].changeBPM)
return _song.notes[SongLoad.curDiff][curSection].lengthInSteps * (_song.notes[SongLoad.curDiff][curSection].bpm / _song.bpm);
else
return _song.notes[Conductor.curNotes][curSection].lengthInSteps;
return _song.notes[SongLoad.curDiff][curSection].lengthInSteps;
}*/
function sectionStartTime():Float
{
@ -546,9 +546,9 @@ class ChartingState extends MusicBeatState
var daPos:Float = 0;
for (i in 0...curSection)
{
if (_song.notes[Conductor.curNotes][i].changeBPM)
if (_song.notes[SongLoad.curDiff][i].changeBPM)
{
daBPM = _song.notes[Conductor.curNotes][i].bpm;
daBPM = _song.notes[SongLoad.curDiff][i].bpm;
}
daPos += 4 * (1000 * 60 / daBPM);
}
@ -569,7 +569,7 @@ class ChartingState extends MusicBeatState
playheadTest.x = FlxMath.remapToRange(Conductor.songPosition, 0, FlxG.sound.music.length, 0, FlxG.width);
strumLine.y = getYfromStrum((Conductor.songPosition - sectionStartTime()) % (Conductor.stepCrochet * _song.notes[Conductor.curNotes][curSection].lengthInSteps));
strumLine.y = getYfromStrum((Conductor.songPosition - sectionStartTime()) % (Conductor.stepCrochet * _song.notes[SongLoad.curDiff][curSection].lengthInSteps));
/* if (FlxG.sound.music.playing)
{
@ -584,10 +584,10 @@ class ChartingState extends MusicBeatState
if (curBeat % 4 == 0 && curStep >= 16 * (curSection + 1))
{
trace(curStep);
trace((_song.notes[Conductor.curNotes][curSection].lengthInSteps) * (curSection + 1));
trace((_song.notes[SongLoad.curDiff][curSection].lengthInSteps) * (curSection + 1));
trace('DUMBSHIT');
if (_song.notes[Conductor.curNotes][curSection + 1] == null)
if (_song.notes[SongLoad.curDiff][curSection + 1] == null)
{
addSection();
}
@ -692,7 +692,7 @@ class ChartingState extends MusicBeatState
if (FlxG.mouse.x > gridBG.x
&& FlxG.mouse.x < gridBG.x + gridBG.width
&& FlxG.mouse.y > gridBG.y
&& FlxG.mouse.y < gridBG.y + (GRID_SIZE * _song.notes[Conductor.curNotes][curSection].lengthInSteps))
&& FlxG.mouse.y < gridBG.y + (GRID_SIZE * _song.notes[SongLoad.curDiff][curSection].lengthInSteps))
{
FlxG.log.add('added note');
addNote();
@ -705,7 +705,7 @@ class ChartingState extends MusicBeatState
if (FlxG.mouse.x > gridBG.x
&& FlxG.mouse.x < gridBG.x + gridBG.width
&& FlxG.mouse.y > gridBG.y
&& FlxG.mouse.y < gridBG.y + (GRID_SIZE * _song.notes[Conductor.curNotes][curSection].lengthInSteps))
&& FlxG.mouse.y < gridBG.y + (GRID_SIZE * _song.notes[SongLoad.curDiff][curSection].lengthInSteps))
{
dummyArrow.x = Math.floor(FlxG.mouse.x / GRID_SIZE) * GRID_SIZE;
if (FlxG.keys.pressed.SHIFT)
@ -934,7 +934,7 @@ class ChartingState extends MusicBeatState
{
trace('changing section' + sec);
if (_song.notes[Conductor.curNotes][sec] != null)
if (_song.notes[SongLoad.curDiff][sec] != null)
{
curSection = sec;
@ -967,12 +967,12 @@ class ChartingState extends MusicBeatState
{
var daSec = FlxMath.maxInt(curSection, sectionNum);
for (note in _song.notes[Conductor.curNotes][daSec - sectionNum].sectionNotes)
for (note in _song.notes[SongLoad.curDiff][daSec - sectionNum].sectionNotes)
{
var strum = note[0] + Conductor.stepCrochet * (_song.notes[Conductor.curNotes][daSec].lengthInSteps * sectionNum);
var strum = note[0] + Conductor.stepCrochet * (_song.notes[SongLoad.curDiff][daSec].lengthInSteps * sectionNum);
var copiedNote:Array<Dynamic> = [strum, note[1], note[2]];
_song.notes[Conductor.curNotes][daSec].sectionNotes.push(copiedNote);
_song.notes[SongLoad.curDiff][daSec].sectionNotes.push(copiedNote);
}
updateGrid();
@ -980,7 +980,7 @@ class ChartingState extends MusicBeatState
function updateSectionUI():Void
{
var sec = _song.notes[Conductor.curNotes][curSection];
var sec = _song.notes[SongLoad.curDiff][curSection];
stepperLength.value = sec.lengthInSteps;
check_mustHitSection.checked = sec.mustHitSection;
@ -1041,11 +1041,11 @@ class ChartingState extends MusicBeatState
curRenderedSustains.remove(curRenderedSustains.members[0], true);
}
var sectionInfo:Array<Dynamic> = _song.notes[Conductor.curNotes][curSection].sectionNotes;
var sectionInfo:Array<Dynamic> = _song.notes[SongLoad.curDiff][curSection].sectionNotes;
if (_song.notes[Conductor.curNotes][curSection].changeBPM && _song.notes[Conductor.curNotes][curSection].bpm > 0)
if (_song.notes[SongLoad.curDiff][curSection].changeBPM && _song.notes[SongLoad.curDiff][curSection].bpm > 0)
{
Conductor.changeBPM(_song.notes[Conductor.curNotes][curSection].bpm);
Conductor.changeBPM(_song.notes[SongLoad.curDiff][curSection].bpm);
FlxG.log.add('CHANGED BPM!');
}
else
@ -1053,20 +1053,20 @@ class ChartingState extends MusicBeatState
// get last bpm
var daBPM:Float = _song.bpm;
for (i in 0...curSection)
if (_song.notes[Conductor.curNotes][i].changeBPM)
daBPM = _song.notes[Conductor.curNotes][i].bpm;
if (_song.notes[SongLoad.curDiff][i].changeBPM)
daBPM = _song.notes[SongLoad.curDiff][i].bpm;
Conductor.changeBPM(daBPM);
}
/* // PORT BULLSHIT, INCASE THERE'S NO SUSTAIN DATA FOR A NOTE
for (sec in 0..._song.notes[Conductor.curNotes].length)
for (sec in 0..._song.notes[SongLoad.curDiff].length)
{
for (notesse in 0..._song.notes[Conductor.curNotes][sec].sectionNotes.length)
for (notesse in 0..._song.notes[SongLoad.curDiff][sec].sectionNotes.length)
{
if (_song.notes[Conductor.curNotes][sec].sectionNotes[notesse][2] == null)
if (_song.notes[SongLoad.curDiff][sec].sectionNotes[notesse][2] == null)
{
trace('SUS NULL');
_song.notes[Conductor.curNotes][sec].sectionNotes[notesse][2] = 0;
_song.notes[SongLoad.curDiff][sec].sectionNotes[notesse][2] = 0;
}
}
}
@ -1083,7 +1083,7 @@ class ChartingState extends MusicBeatState
note.setGraphicSize(GRID_SIZE, GRID_SIZE);
note.updateHitbox();
note.x = Math.floor(daNoteInfo * GRID_SIZE);
note.y = Math.floor(getYfromStrum((daStrumTime - sectionStartTime()) % (Conductor.stepCrochet * _song.notes[Conductor.curNotes][curSection].lengthInSteps)));
note.y = Math.floor(getYfromStrum((daStrumTime - sectionStartTime()) % (Conductor.stepCrochet * _song.notes[SongLoad.curDiff][curSection].lengthInSteps)));
curRenderedNotes.add(note);
@ -1108,18 +1108,18 @@ class ChartingState extends MusicBeatState
altAnim: false
};
_song.notes[Conductor.curNotes].push(sec);
_song.notes[SongLoad.curDiff].push(sec);
}
function selectNote(note:Note):Void
{
var swagNum:Int = 0;
for (i in _song.notes[Conductor.curNotes][curSection].sectionNotes)
for (i in _song.notes[SongLoad.curDiff][curSection].sectionNotes)
{
if (i.strumTime == note.strumTime && i.noteData % 4 == note.noteData)
{
curSelectedNote = _song.notes[Conductor.curNotes][curSection].sectionNotes[swagNum];
curSelectedNote = _song.notes[SongLoad.curDiff][curSection].sectionNotes[swagNum];
}
swagNum += 1;
@ -1131,7 +1131,7 @@ class ChartingState extends MusicBeatState
function deleteNote(note:Note):Void
{
for (i in _song.notes[Conductor.curNotes][curSection].sectionNotes)
for (i in _song.notes[SongLoad.curDiff][curSection].sectionNotes)
{
if (i[0] == note.strumTime && i[1] % 4 == note.noteData)
{
@ -1145,7 +1145,7 @@ class ChartingState extends MusicBeatState
FlxG.sound.play(Paths.sound('funnyNoise/funnyNoise-0' + placeIDK));
FlxG.log.add('FOUND EVIL NUMBER');
_song.notes[Conductor.curNotes][curSection].sectionNotes.remove(i);
_song.notes[SongLoad.curDiff][curSection].sectionNotes.remove(i);
}
}
@ -1154,16 +1154,16 @@ class ChartingState extends MusicBeatState
function clearSection():Void
{
_song.notes[Conductor.curNotes][curSection].sectionNotes = [];
_song.notes[SongLoad.curDiff][curSection].sectionNotes = [];
updateGrid();
}
function clearSong():Void
{
for (daSection in 0..._song.notes[Conductor.curNotes].length)
for (daSection in 0..._song.notes[SongLoad.curDiff].length)
{
_song.notes[Conductor.curNotes][daSection].sectionNotes = [];
_song.notes[SongLoad.curDiff][daSection].sectionNotes = [];
}
updateGrid();
@ -1203,13 +1203,13 @@ class ChartingState extends MusicBeatState
FlxG.sound.play(Paths.sound('pianoStuff/piano-00' + Std.string((bullshit % 8) + 1)), FlxG.random.float(0.3, 0.6));
// trace('bullshit $bullshit'); // trace(Math.floor(dummyArrow.y / GRID_SIZE) * GRID_SIZE);
_song.notes[Conductor.curNotes][curSection].sectionNotes.push([noteStrum, noteData, noteSus, noteAlt]);
_song.notes[SongLoad.curDiff][curSection].sectionNotes.push([noteStrum, noteData, noteSus, noteAlt]);
curSelectedNote = _song.notes[Conductor.curNotes][curSection].sectionNotes[_song.notes[Conductor.curNotes][curSection].sectionNotes.length - 1];
curSelectedNote = _song.notes[SongLoad.curDiff][curSection].sectionNotes[_song.notes[SongLoad.curDiff][curSection].sectionNotes.length - 1];
if (FlxG.keys.pressed.CONTROL)
{
_song.notes[Conductor.curNotes][curSection].sectionNotes.push([noteStrum, (noteData + 4) % 8, noteSus, noteAlt]);
_song.notes[SongLoad.curDiff][curSection].sectionNotes.push([noteStrum, (noteData + 4) % 8, noteSus, noteAlt]);
}
trace(noteStrum);
@ -1236,7 +1236,7 @@ class ChartingState extends MusicBeatState
{
var daLength:Int = 0;
for (i in _song.notes[Conductor.curNotes])
for (i in _song.notes[SongLoad.curDiff])
{
var swagLength = i.lengthInSteps;
@ -1258,14 +1258,14 @@ class ChartingState extends MusicBeatState
function loadLevel():Void
{
trace(_song.notes[Conductor.curNotes]);
trace(_song.notes[SongLoad.curDiff]);
}
function getNotes():Array<Dynamic>
{
var noteData:Array<Dynamic> = [];
for (i in _song.notes[Conductor.curNotes])
for (i in _song.notes[SongLoad.curDiff])
{
noteData.push(i.sectionNotes);
}

View file

@ -22,8 +22,6 @@ class Conductor
public static var lastSongPos:Float;
public static var offset:Float = 0;
public static var curNotes:Int = 0;
public static var bpmChangeMap:Array<BPMChangeEvent> = [];
public function new() {}
@ -37,9 +35,9 @@ class Conductor
var totalPos:Float = 0;
for (i in 0...song.notes.length)
{
if (song.notes[Conductor.curNotes][i].changeBPM && song.notes[Conductor.curNotes][i].bpm != curBPM)
if (song.notes[SongLoad.curDiff][i].changeBPM && song.notes[SongLoad.curDiff][i].bpm != curBPM)
{
curBPM = song.notes[Conductor.curNotes][i].bpm;
curBPM = song.notes[SongLoad.curDiff][i].bpm;
var event:BPMChangeEvent = {
stepTime: totalSteps,
songTime: totalPos,
@ -48,7 +46,7 @@ class Conductor
bpmChangeMap.push(event);
}
var deltaSteps:Int = song.notes[Conductor.curNotes][i].lengthInSteps;
var deltaSteps:Int = song.notes[SongLoad.curDiff][i].lengthInSteps;
totalSteps += deltaSteps;
totalPos += ((60 / curBPM) * 1000 / 4) * deltaSteps;
}

View file

@ -482,9 +482,10 @@ class FreeplayState extends MusicBeatState
curDifficulty = 1;
}*/
PlayState.SONG = SongLoad.loadFromJson(poop + '-new', songs[curSelected].songName.toLowerCase());
PlayState.SONG = SongLoad.loadFromJson(poop, songs[curSelected].songName.toLowerCase());
PlayState.isStoryMode = false;
PlayState.storyDifficulty = curDifficulty;
SongLoad.curDiff = curDifficulty;
PlayState.storyWeek = songs[curSelected].week;
trace('CUR WEEK' + PlayState.storyWeek);

View file

@ -195,7 +195,7 @@ class Note extends FlxSprite
prevNote.updateHitbox();
var scaleThing:Float = Math.round((Conductor.stepCrochet) * (0.45 * FlxMath.roundDecimal(PlayState.SONG.speed[Conductor.curNotes], 2)));
var scaleThing:Float = Math.round((Conductor.stepCrochet) * (0.45 * FlxMath.roundDecimal(PlayState.SONG.speed[SongLoad.curDiff], 2)));
// get them a LIL closer together cuz the antialiasing blurs the edges
if (antialiasing)
scaleThing *= 1.0 + (1.0 / prevNote.frameHeight);

View file

@ -1573,7 +1573,7 @@ class PlayState extends MusicBeatState
var noteData:Array<SwagSection>;
// NEW SHIT
noteData = SONG.notes[Conductor.curNotes];
noteData = SONG.notes[SongLoad.curDiff];
for (section in noteData)
{
@ -2037,9 +2037,9 @@ class PlayState extends MusicBeatState
changeSection(-1);
#end
if (generatedMusic && SONG.notes[Conductor.curNotes][Std.int(curStep / 16)] != null)
if (generatedMusic && SONG.notes[SongLoad.curDiff][Std.int(curStep / 16)] != null)
{
cameraRightSide = SONG.notes[Conductor.curNotes][Std.int(curStep / 16)].mustHitSection;
cameraRightSide = SONG.notes[SongLoad.curDiff][Std.int(curStep / 16)].mustHitSection;
cameraMovement();
}
@ -2110,7 +2110,7 @@ class PlayState extends MusicBeatState
}
}
while (unspawnNotes[0] != null && unspawnNotes[0].strumTime - Conductor.songPosition < 1800 / SONG.speed[Conductor.curNotes])
while (unspawnNotes[0] != null && unspawnNotes[0].strumTime - Conductor.songPosition < 1800 / SONG.speed[SongLoad.curDiff])
{
var dunceNote:Note = unspawnNotes[0];
notes.add(dunceNote);
@ -2135,7 +2135,7 @@ class PlayState extends MusicBeatState
}
var strumLineMid = strumLine.y + Note.swagWidth / 2;
daNote.y = (Conductor.songPosition - daNote.strumTime) * (0.45 * FlxMath.roundDecimal(SONG.speed[Conductor.curNotes], 2));
daNote.y = (Conductor.songPosition - daNote.strumTime) * (0.45 * FlxMath.roundDecimal(SONG.speed[SongLoad.curDiff], 2));
if (PreferencesMenu.getPref('downscroll'))
{
@ -2172,9 +2172,9 @@ class PlayState extends MusicBeatState
var altAnim:String = "";
if (SONG.notes[Conductor.curNotes][Math.floor(curStep / 16)] != null)
if (SONG.notes[SongLoad.curDiff][Math.floor(curStep / 16)] != null)
{
if (SONG.notes[Conductor.curNotes][Math.floor(curStep / 16)].altAnim)
if (SONG.notes[SongLoad.curDiff][Math.floor(curStep / 16)].altAnim)
altAnim = '-alt';
}
@ -2207,7 +2207,7 @@ class PlayState extends MusicBeatState
}
// WIP interpolation shit? Need to fix the pause issue
// daNote.y = (strumLine.y - (songTime - daNote.strumTime) * (0.45 * SONG.speed[Conductor.curNotes]));
// daNote.y = (strumLine.y - (songTime - daNote.strumTime) * (0.45 * SONG.speed[SongLoad.curDiff]));
// removing this so whether the note misses or not is entirely up to Note class
// var noteMiss:Bool = daNote.y < -daNote.height;
@ -2291,9 +2291,9 @@ class PlayState extends MusicBeatState
var daPos:Float = 0;
for (i in 0...(Std.int(curStep / 16 + sec)))
{
if (SONG.notes[Conductor.curNotes][i].changeBPM)
if (SONG.notes[SongLoad.curDiff][i].changeBPM)
{
daBPM = SONG.notes[Conductor.curNotes][i].bpm;
daBPM = SONG.notes[SongLoad.curDiff][i].bpm;
}
daPos += 4 * (1000 * 60 / daBPM);
}
@ -3070,17 +3070,17 @@ class PlayState extends MusicBeatState
notes.sort(sortNotes, FlxSort.DESCENDING);
}
if (SONG.notes[Conductor.curNotes][Math.floor(curStep / 16)] != null)
if (SONG.notes[SongLoad.curDiff][Math.floor(curStep / 16)] != null)
{
if (SONG.notes[Conductor.curNotes][Math.floor(curStep / 16)].changeBPM)
if (SONG.notes[SongLoad.curDiff][Math.floor(curStep / 16)].changeBPM)
{
Conductor.changeBPM(SONG.notes[Conductor.curNotes][Math.floor(curStep / 16)].bpm);
Conductor.changeBPM(SONG.notes[SongLoad.curDiff][Math.floor(curStep / 16)].bpm);
FlxG.log.add('CHANGED BPM!');
}
// else
// Conductor.changeBPM(SONG.bpm);
}
// FlxG.log.add('change bpm' + SONG.notes[Conductor.curNotes][Std.int(curStep / 16)].changeBPM);
// FlxG.log.add('change bpm' + SONG.notes[SongLoad.curDiff][Std.int(curStep / 16)].changeBPM);
// HARDCODING FOR MILF ZOOMS!
@ -3106,9 +3106,9 @@ class PlayState extends MusicBeatState
iconP2.updateHitbox();
if (curBeat % 8 == 7
&& SONG.notes[Conductor.curNotes][Math.floor(curStep / 16)].mustHitSection
&& SONG.notes[SongLoad.curDiff][Math.floor(curStep / 16)].mustHitSection
&& combo > 5
&& !SONG.notes[Conductor.curNotes][Math.floor(curStep / 16) + 1].mustHitSection)
&& !SONG.notes[SongLoad.curDiff][Math.floor(curStep / 16) + 1].mustHitSection)
{
var animShit:ComboCounter = new ComboCounter(-100, 300, combo);
animShit.scrollFactor.set(0.6, 0.6);

View file

@ -23,6 +23,16 @@ typedef SwagSong =
class SongLoad
{
public static var curDiff(default, set):Int = 0;
public static var curNotes:Array<SwagSection>;
public static var songData:SwagSong;
static function set_curDiff(val:Int):Int
{
// automatically changes the selected NOTES?
return val;
}
public static function loadFromJson(jsonInput:String, ?folder:String):SwagSong
{
var rawJson = Assets.getText(Paths.json(folder.toLowerCase() + '/' + jsonInput.toLowerCase())).trim();
@ -56,7 +66,10 @@ class SongLoad
{
var swagShit:SwagSong = cast Json.parse(rawJson).song;
swagShit.validScore = true;
// swagShit.notes[0] = cast Json.parse(rawJson).song.notes[Conductor.curNotes]; // by default uses
// swagShit.notes[0] = cast Json.parse(rawJson).song.notes[SongLoad.curDiff]; // by default uses
songData = swagShit;
return swagShit;
}
}