From 5dac29d3c4c9f2d6523aaae56b36ded5cb28cd90 Mon Sep 17 00:00:00 2001 From: /nick haya <74699483+The-SGPT@users.noreply.github.com> Date: Sat, 8 May 2021 15:09:29 +0800 Subject: [PATCH] fix shit --- source/PlayState.hx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source/PlayState.hx b/source/PlayState.hx index cca4e0b..6b44356 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -3269,12 +3269,13 @@ class PlayState extends MusicBeatState // Commented out until a reason to bring this back arises in the future /* if (SONG.notes[Math.floor(curStep / 16)].mustHitSection) dad.dance(); */ - + /* no because this is kinda dumb if(dad.animation.curAnim.name.startsWith('sing')) if(dad.animation.finished) dad.dance(); else dad.dance(); + */ } // FlxG.log.add('change bpm' + SONG.notes[Std.int(curStep / 16)].changeBPM); wiggleShit.update(Conductor.crochet); @@ -3307,6 +3308,11 @@ class PlayState extends MusicBeatState { boyfriend.playAnim('idle'); } + + if (!dad.animation.curAnim.name.startsWith("sing")) + { + dad.dance(); + } if (curBeat % 8 == 7 && curSong == 'Bopeebo') { @@ -3381,4 +3387,4 @@ class PlayState extends MusicBeatState } var curLight:Int = 0; -} \ No newline at end of file +}