From 44fa55f165a3670731d5e0838f19dd09af93e927 Mon Sep 17 00:00:00 2001 From: Spel0 <75626813+Spel0@users.noreply.github.com> Date: Thu, 12 Aug 2021 12:56:59 +0300 Subject: [PATCH] Fix offsets(hold ones are still buggy tho) --- source/PlayState.hx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/PlayState.hx b/source/PlayState.hx index 65a1768..d632199 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -3096,7 +3096,7 @@ class PlayState extends MusicBeatState { spr.animation.play('confirm', true); } - if (spr.animation.curAnim.name == 'confirm' && !curStage.startsWith('school')) + if (spr.animation.curAnim.name == 'confirm' && SONG.noteStyle != 'pixel') { spr.centerOffsets(); spr.offset.x -= 13; @@ -3131,7 +3131,7 @@ class PlayState extends MusicBeatState { spr.animation.play('confirm', true); } - if (spr.animation.curAnim.name == 'confirm' && !curStage.startsWith('school')) + if (spr.animation.curAnim.name == 'confirm' && SONG.noteStyle != 'pixel') { spr.centerOffsets(); spr.offset.x -= 13; @@ -4029,7 +4029,7 @@ class PlayState extends MusicBeatState { spr.animation.play('confirm', true); } - if (spr.animation.curAnim.name == 'confirm' && !curStage.startsWith('school')) + if (spr.animation.curAnim.name == 'confirm' && SONG.noteStyle != 'pixel') { spr.centerOffsets(); spr.offset.x -= 13; @@ -4058,7 +4058,7 @@ class PlayState extends MusicBeatState if (!keys[spr.ID]) spr.animation.play('static', false); - if (spr.animation.curAnim.name == 'confirm' && !curStage.startsWith('school')) + if (spr.animation.curAnim.name == 'confirm' && SONG.noteStyle != 'pixel') { spr.centerOffsets(); spr.offset.x -= 13;