Evil alt anim check

This commit is contained in:
entar 2025-06-05 23:02:40 +07:00
parent f1752bdaf1
commit 6849cb904d

View File

@ -396,7 +396,7 @@ local function state(songName, songDifficulty)
hold.sprite.position = myTypes.Vector2(625 + (79 * (hold.direction - 1)), settings.Downscroll and 430 - (hold.position-elapsed) * speed or (hold.position - elapsed) * speed)
if hold.position - elapsed < 10 then
if love.keyboard.isDown(keyBinds[hold.direction]) then
if section.altAnim or hold.altAnim then
if characters.bf.animInfo["sing"..directions[hold.direction].."-alt"] and (section.altAnim or hold.altAnim) then
characters.bf:PlayAnimation("sing"..directions[hold.direction].."-alt")
else
characters.bf:PlayAnimation("sing"..directions[hold.direction])
@ -417,7 +417,7 @@ local function state(songName, songDifficulty)
else
hold.sprite.position = myTypes.Vector2(75 + (79 * (hold.direction - 1)), settings.Downscroll and 430 - (hold.position-elapsed) * speed or (hold.position - elapsed) * speed)
if hold.position - elapsed < 10 then
if section.altAnim or hold.altAnim then
if characters.dad.animInfo["sing"..directions[hold.direction].."-alt"] and (section.altAnim or hold.altAnim) then
characters.dad:PlayAnimation("sing"..directions[hold.direction].."-alt")
else
characters.dad:PlayAnimation("sing"..directions[hold.direction])