fix spooky kids dance

This commit is contained in:
Kade M 2021-06-05 11:12:10 -07:00
parent 9956c74e68
commit d707c5efc6
2 changed files with 4 additions and 8 deletions

View File

@ -537,6 +537,7 @@ class Character extends FlxSprite
dadVar = 6.1;
if (holdTimer >= Conductor.stepCrochet * dadVar * 0.001)
{
trace('dance');
dance();
holdTimer = 0;
}

View File

@ -1788,6 +1788,7 @@ class PlayState extends MusicBeatState
scoreTxt.text = Ratings.CalculateRanking(songScore,songScoreDef,nps,maxNPS,accuracy);
if (FlxG.save.data.accuracyDisplay)
scoreTxt.text = "Score: " + songScore;
if (FlxG.keys.justPressed.ENTER && startedCountdown && canPause)
{
persistentUpdate = false;
@ -3317,6 +3318,8 @@ class PlayState extends MusicBeatState
gf.playAnim('scared', true);
}
var danced:Bool = false;
override function stepHit()
{
super.stepHit();
@ -3333,10 +3336,6 @@ class PlayState extends MusicBeatState
}
#end
if (dad.curCharacter == 'spooky' && curStep % 4 == 2)
{
// dad.dance();
}
// yes this updates every step.
@ -3425,10 +3424,6 @@ class PlayState extends MusicBeatState
boyfriend.playAnim('idle');
}
if (!dad.animation.curAnim.name.startsWith("sing"))
{
dad.dance();
}
if (curBeat % 8 == 7 && curSong == 'Bopeebo')
{