haha , also highscore.hx breaks switch
This commit is contained in:
@ -119,6 +119,8 @@ class FreeplayState extends MusicBeatState
|
||||
{
|
||||
super.update(elapsed);
|
||||
|
||||
trace("Freeplay Menu Updating");
|
||||
|
||||
lerpScore = Math.floor(FlxMath.lerp(lerpScore, intendedScore, 0.4));
|
||||
scoreText.text = "PERSONAL BEST:" + lerpScore;
|
||||
|
||||
@ -169,7 +171,9 @@ class FreeplayState extends MusicBeatState
|
||||
if (curDifficulty > 2)
|
||||
curDifficulty = 0;
|
||||
|
||||
#if !switch
|
||||
intendedScore = Highscore.getScore(songs[curSelected], curDifficulty);
|
||||
#end
|
||||
|
||||
switch (curDifficulty)
|
||||
{
|
||||
@ -197,7 +201,9 @@ class FreeplayState extends MusicBeatState
|
||||
|
||||
// selector.y = (70 * curSelected) + 30;
|
||||
|
||||
#if !switch
|
||||
intendedScore = Highscore.getScore(songs[curSelected], curDifficulty);
|
||||
#end
|
||||
// lerpScore = 0;
|
||||
|
||||
var bullShit:Int = 0;
|
||||
|
Reference in New Issue
Block a user