1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-25 14:46:43 +00:00

more poliiiish

This commit is contained in:
Cameron Taylor 2020-10-31 22:29:49 -07:00
parent f0fafbaee8
commit df5ddd7885
2 changed files with 7 additions and 1 deletions

View file

@ -95,4 +95,5 @@
<!--Place custom nodes like icons here (higher priority to override the HaxeFlixel icon)-->
<icon path="art/icon.png"/>
<!-- <haxedef name="SKIP_TO_PLAYSTATE" if="debug" /> -->
<haxedef name="NG_LOGIN" />
</project>

View file

@ -602,6 +602,9 @@ class PlayState extends MusicBeatState
healthHeads.setGraphicSize(Std.int(FlxMath.lerp(100, healthHeads.width, 0.98)));
healthHeads.x = healthBar.x + (healthBar.width * (FlxMath.remapToRange(healthBar.percent, 0, 100, 100, 0) * 0.01)) - (healthHeads.width / 2);
if (health > 2)
health = 2;
if (healthBar.percent < 20)
healthHeads.animation.play('unhealthy');
else
@ -811,7 +814,9 @@ class PlayState extends MusicBeatState
if (storyPlaylist.length <= 0)
{
FlxG.switchState(new TitleState());
FlxG.sound.playMusic('assets/music/freakyMenu' + TitleState.soundExt);
FlxG.switchState(new StoryMenuState());
StoryMenuState.weekUnlocked[1] = true;
}