mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-11-25 13:45:49 +00:00
Add HEY! song events to Tutorial
This commit is contained in:
parent
50b587e3b8
commit
18b795d4f7
|
|
@ -1502,7 +1502,7 @@ class PlayState extends MusicBeatSubState
|
||||||
if (opponentStrumline != null) opponentStrumline.onBeatHit();
|
if (opponentStrumline != null) opponentStrumline.onBeatHit();
|
||||||
|
|
||||||
// Make the characters dance on the beat
|
// Make the characters dance on the beat
|
||||||
danceOnBeat();
|
//danceOnBeat();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
@ -1522,16 +1522,6 @@ class PlayState extends MusicBeatSubState
|
||||||
function danceOnBeat():Void
|
function danceOnBeat():Void
|
||||||
{
|
{
|
||||||
if (currentStage == null) return;
|
if (currentStage == null) return;
|
||||||
|
|
||||||
// TODO: Add HEY! song events to Tutorial.
|
|
||||||
if (Conductor.instance.currentBeat % 16 == 15
|
|
||||||
&& currentStage.getDad().characterId == 'gf'
|
|
||||||
&& Conductor.instance.currentBeat > 16
|
|
||||||
&& Conductor.instance.currentBeat < 48)
|
|
||||||
{
|
|
||||||
currentStage.getBoyfriend().playAnimation('hey', true);
|
|
||||||
currentStage.getDad().playAnimation('cheer', true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue