diff --git a/src/love/modules/Splash.lua b/src/love/modules/Splash.lua index b5693531..fe1ac3c8 100644 --- a/src/love/modules/Splash.lua +++ b/src/love/modules/Splash.lua @@ -18,9 +18,10 @@ function splash:new(settings, id) local s = {} s.anim = settings.anim s.posX = settings.posX + s.posY = settings.posY s.sprite = self.spr() s.sprite.x = s.posX - s.sprite.y = -400 + s.sprite.y = s.posY s.sprite.id = id s.sprite:animate(s.anim) @@ -32,9 +33,6 @@ function splash:update(dt) if not v then break end v.sprite:update(dt) - v.sprite.y = boyfriendArrows[v.sprite.id].y - v.sprite.x = boyfriendArrows[v.sprite.id].x - if not v.sprite:isAnimated() then table.remove(self.cache, i) end diff --git a/src/love/states/weeks.lua b/src/love/states/weeks.lua index a15d80f7..4a547903 100644 --- a/src/love/states/weeks.lua +++ b/src/love/states/weeks.lua @@ -808,6 +808,14 @@ return { if whohit and whohit.holdTimer > whohit.maxHoldTimer then whohit:animate(curAnim, (_psychmod and true or false)) end end else + NoteSplash:new( + { + anim = CONSTANTS.WEEKS.NOTE_LIST[i] .. tostring(love.math.random(1, 2)), + posX = enemyArrow.x, + posY = enemyArrow.y, + }, + i + ) if useAltAnims then if whohit then whohit:animate(curAnim .. " alt", false) end else @@ -942,6 +950,7 @@ return { { anim = CONSTANTS.WEEKS.NOTE_LIST[i] .. tostring(love.math.random(1, 2)), posX = boyfriendArrow.x, + posY = boyfriendArrow.y, }, i )