1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-16 20:03:04 +00:00
This commit is contained in:
Brandon 2020-11-06 21:24:03 -05:00
parent 675f251ddd
commit 0bdd66039c
3 changed files with 5 additions and 3 deletions

View file

@ -59,7 +59,7 @@
<!--In case you want to use the ui package--> <!--In case you want to use the ui package-->
<haxelib name="flixel-ui" /> <haxelib name="flixel-ui" />
<haxelib name="newgrounds" /> <haxelib name="newgrounds" unless="switch" />
<!-- <haxelib name="markdown" /> --> <!-- <haxelib name="markdown" /> -->
<!-- <haxelib name="HtmlParser" /> --> <!-- <haxelib name="HtmlParser" /> -->

View file

@ -8,7 +8,7 @@ import flixel.group.FlxGroup.FlxTypedGroup;
import flixel.math.FlxMath; import flixel.math.FlxMath;
import flixel.text.FlxText; import flixel.text.FlxText;
import flixel.util.FlxColor; import flixel.util.FlxColor;
import htmlparser.HtmlDocument; //import htmlparser.HtmlDocument;
import lime.utils.Assets; import lime.utils.Assets;
class FreeplayState extends MusicBeatState class FreeplayState extends MusicBeatState

View file

@ -841,7 +841,9 @@ class PlayState extends MusicBeatState
function endSong():Void function endSong():Void
{ {
#if !switch
Highscore.saveScore(SONG.song, songScore, storyDifficulty); Highscore.saveScore(SONG.song, songScore, storyDifficulty);
#end
if (isStoryMode) if (isStoryMode)
{ {
@ -859,8 +861,8 @@ class PlayState extends MusicBeatState
#if !switch #if !switch
NGio.unlockMedal(60961); NGio.unlockMedal(60961);
#end
Highscore.saveWeekScore(storyWeek, campaignScore, storyDifficulty); Highscore.saveWeekScore(storyWeek, campaignScore, storyDifficulty);
#end
FlxG.save.data.weekUnlocked = StoryMenuState.weekUnlocked; FlxG.save.data.weekUnlocked = StoryMenuState.weekUnlocked;
FlxG.save.flush(); FlxG.save.flush();