From 6c70fd92e2c327b2c680e55dbebb7a12f832d519 Mon Sep 17 00:00:00 2001 From: Infinite Jackal <55358751+toxichead@users.noreply.github.com> Date: Sun, 30 May 2021 19:04:51 +0300 Subject: [PATCH] GF DANCE IN TUTORIAL FIX --- source/PlayState.hx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/PlayState.hx b/source/PlayState.hx index f03f3e5..c796f83 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -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);