This commit is contained in:
/nick haya 2021-05-08 15:09:29 +08:00 committed by GitHub
parent 47008b3c39
commit 5dac29d3c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
}