diff --git a/sonic-boost.love/scenes/subgame/sonic-boost/actors/character.lua b/sonic-boost.love/scenes/subgame/sonic-boost/actors/character.lua index 6792aa6..1193943 100644 --- a/sonic-boost.love/scenes/subgame/sonic-boost/actors/character.lua +++ b/sonic-boost.love/scenes/subgame/sonic-boost/actors/character.lua @@ -154,6 +154,13 @@ function Character:jumpAction() self.isInAerialAction = true self.canAerialAction = false end + elseif self.data.stats.jumpaction == "jumpdash" then + if (self.keys["A"].isPressed) and (self.isJumping) and (self.canAerialAction) then + self.zspeed = 60 * 1 + self.xspeed = math.max(self.xspeed, self.data.stats.spd * 60 * 1.2) + self.isInAerialAction = true + self.canAerialAction = false + end end end