GF DANCE IN TUTORIAL FIX
This commit is contained in:
parent
b23b9a6076
commit
6c70fd92e2
@ -3371,6 +3371,13 @@ class PlayState extends MusicBeatState
|
||||
}
|
||||
#end
|
||||
|
||||
if (curSong == 'Tutorial' && dad.curCharacter == 'gf') {
|
||||
if (curBeat % 2 == 1 && dad.animOffsets.exists('danceLeft'))
|
||||
dad.playAnim('danceLeft');
|
||||
if (curBeat % 2 == 0 && dad.animOffsets.exists('danceRight'))
|
||||
dad.playAnim('danceRight');
|
||||
}
|
||||
|
||||
if (SONG.notes[Math.floor(curStep / 16)] != null)
|
||||
{
|
||||
if (SONG.notes[Math.floor(curStep / 16)].changeBPM)
|
||||
@ -3382,7 +3389,7 @@ class PlayState extends MusicBeatState
|
||||
// Conductor.changeBPM(SONG.bpm);
|
||||
|
||||
// Dad doesnt interupt his own notes
|
||||
if (SONG.notes[Math.floor(curStep / 16)].mustHitSection)
|
||||
if (SONG.notes[Math.floor(curStep / 16)].mustHitSection && dad.curCharacter != 'gf')
|
||||
dad.dance();
|
||||
}
|
||||
// FlxG.log.add('change bpm' + SONG.notes[Std.int(curStep / 16)].changeBPM);
|
||||
|
Loading…
x
Reference in New Issue
Block a user