mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-26 17:46:08 -05:00
easy / hard fixed i think for freeplay
This commit is contained in:
parent
f4a02cb5f1
commit
bbc22483f1
2 changed files with 14 additions and 5 deletions
|
@ -527,7 +527,7 @@ class FreeplayState extends MusicBeatSubstate
|
|||
{
|
||||
// if (Assets.exists())
|
||||
|
||||
var poop:String = Highscore.formatSong(songs[curSelected].songName.toLowerCase(), curDifficulty);
|
||||
var poop:String = songs[curSelected].songName.toLowerCase();
|
||||
|
||||
// does not work properly, always just accidentally sets it to normal anyways!
|
||||
/* if (!Assets.exists(Paths.json(songs[curSelected].songName + '/' + poop)))
|
||||
|
@ -543,7 +543,17 @@ class FreeplayState extends MusicBeatSubstate
|
|||
PlayState.isStoryMode = false;
|
||||
PlayState.storyDifficulty = curDifficulty;
|
||||
// SongLoad.curDiff = Highscore.formatSong()
|
||||
SongLoad.curDiff = 'normal';
|
||||
|
||||
SongLoad.curDiff = switch (curDifficulty)
|
||||
{
|
||||
case 0:
|
||||
'easy';
|
||||
case 1:
|
||||
'normal';
|
||||
case 2:
|
||||
'hard';
|
||||
default: 'normal';
|
||||
};
|
||||
|
||||
PlayState.storyWeek = songs[curSelected].week;
|
||||
trace(' CUR WEEK ' + PlayState.storyWeek);
|
||||
|
@ -577,7 +587,7 @@ class FreeplayState extends MusicBeatSubstate
|
|||
positionHighscore();
|
||||
}
|
||||
|
||||
// Clears the cache of songs, frees up memory, they'll have to be loaded in later tho
|
||||
// Clears the cache of songs, frees up memory, they' ll have to be loaded in later tho function clearDaCache(actualSongTho:String)
|
||||
function clearDaCache(actualSongTho:String)
|
||||
{
|
||||
for (song in songs)
|
||||
|
|
|
@ -112,7 +112,6 @@ class SongLoad
|
|||
public static function parseJSONshit(rawJson:String):SwagSong
|
||||
{
|
||||
var swagShit:SwagSong = cast Json.parse(rawJson).song;
|
||||
trace(swagShit);
|
||||
swagShit.validScore = true;
|
||||
|
||||
trace("SONG SHIT ABOUTTA WEEK AGOOO");
|
||||
|
|
Loading…
Reference in a new issue