From e01b4f213b209a7c4836998f2b57cba4c1bc7a15 Mon Sep 17 00:00:00 2001 From: entar Date: Mon, 1 Sep 2025 10:03:32 +0700 Subject: [PATCH] Fixed "Double-bop" on some songs like High Erect --- states/playstate.lua | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/states/playstate.lua b/states/playstate.lua index 8c0555b..98b6fc6 100644 --- a/states/playstate.lua +++ b/states/playstate.lua @@ -521,7 +521,7 @@ local function state(songName, songDifficulty, show) if beat % 2 == 0 then -- gf:PlayAnimation("BF NOTE LEFT", 30, false) for name, character in next, characters do - if not character.singing then + if not character.singing or character.sprite.ended then if name == "gf" or character.animInfo.danceLeft then character:PlayAnimation("danceLeft") else @@ -535,7 +535,7 @@ local function state(songName, songDifficulty, show) end else for name, character in next, characters do - if not character.singing then + if not character.singing or character.sprite.ended then if name == "gf" or character.animInfo.danceLeft then character:PlayAnimation("danceRight") end @@ -563,13 +563,13 @@ local function state(songName, songDifficulty, show) if finsihed then zoomTween = nil end end - for name, character in next, characters do - if name ~= "gf" and character.animInfo.idle and character.sprite.animation ~= "idle" and character.sprite.ended then - character:PlayAnimation("idle") - elseif (name == "gf" or character.animInfo.danceLeft) and character.singing and character.sprite.animation ~= "danceLeft" and character.sprite.ended then - character:PlayAnimation("danceLeft") - end - end + -- for name, character in next, characters do + -- if name ~= "gf" and character.animInfo.idle and character.sprite.animation ~= "idle" and character.sprite.ended then + -- character:PlayAnimation("idle") + -- elseif (name == "gf" or character.animInfo.danceLeft) and character.singing and character.sprite.animation ~= "danceLeft" and character.sprite.ended then + -- character:PlayAnimation("danceLeft") + -- end + -- end for index, module in next, modules do if module.onUpdate then