fix spooky kids dance
This commit is contained in:
parent
9956c74e68
commit
d707c5efc6
@ -537,6 +537,7 @@ class Character extends FlxSprite
|
||||
dadVar = 6.1;
|
||||
if (holdTimer >= Conductor.stepCrochet * dadVar * 0.001)
|
||||
{
|
||||
trace('dance');
|
||||
dance();
|
||||
holdTimer = 0;
|
||||
}
|
||||
|
@ -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')
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user