I have embraced modding

This commit is contained in:
KadeDev
2021-04-02 16:49:02 -07:00
parent 33e236fd45
commit aa054a828c
4 changed files with 29 additions and 18 deletions

View File

@ -41,7 +41,8 @@ class FreeplayState extends MusicBeatState
for (i in 0...initSonglist.length)
{
songs.push(new SongMetadata(initSonglist[i], 1, 'gf'));
var data:Array<String> = initSonglist[i].split(':');
songs.push(new SongMetadata(data[0], 1, data[1]));
}
/*
@ -63,15 +64,6 @@ class FreeplayState extends MusicBeatState
isDebug = true;
#end
addWeek(['Bopeebo', 'Fresh', 'Dadbattle'], 1, ['dad']);
addWeek(['Spookeez', 'South', 'Monster'], 2, ['spooky', 'spooky', 'monster']);
addWeek(['Pico', 'Philly', 'Blammed'], 3, ['pico']);
addWeek(['Satin-Panties', 'High', 'Milf'], 4, ['mom']);
addWeek(['Cocoa', 'Eggnog', 'Winter-Horrorland'], 5, ['parents-christmas', 'parents-christmas', 'monster-christmas']);
addWeek(['Senpai', 'Roses', 'Thorns'], 6, ['senpai', 'senpai', 'spirit']);
// LOAD MUSIC
// LOAD CHARACTERS
@ -271,7 +263,6 @@ class FreeplayState extends MusicBeatState
#end
#if PRELOAD_ALL
Conductor.changeBPM(Song.loadFromJson(Highscore.formatSong(songs[curSelected].songName,0),songs[curSelected].songName.toLowerCase()).bpm);
FlxG.sound.playMusic(Paths.inst(songs[curSelected].songName), 0);
#end