diff --git a/sonic-radiance.love/scenes/battlesystem/controllers/fighters/systems/choregraphy/step/parent.lua b/sonic-radiance.love/scenes/battlesystem/controllers/fighters/systems/choregraphy/step/parent.lua index 5d56108..5e5508a 100644 --- a/sonic-radiance.love/scenes/battlesystem/controllers/fighters/systems/choregraphy/step/parent.lua +++ b/sonic-radiance.love/scenes/battlesystem/controllers/fighters/systems/choregraphy/step/parent.lua @@ -20,6 +20,12 @@ function StepParent:getStepCoordinate() local target = self.choregraphy.action.target local x, y = target.actor:getCoordinate() return x + self.arguments.x, y + self.arguments.y + elseif (self.arguments.origin == "start") then + local x, y = self.choregraphy.actor.start.x, self.choregraphy.actor.start.y + return x + self.arguments.x, y + self.arguments.y + elseif (self.arguments.origin == "actor") then + local x, y = self.choregraphy.actor:getCoordinate() + return x + self.arguments.x, y + self.arguments.y end end