function GetPropertiesInit()
return stats.HEALTH, stats.MOVESPEED, stats.DASHSPEED, stats.JUMPHEIGHT, stats.FALLSPEED, stats.RISESPEED
end
function GetStateMachineInit()
return StateList
end
function GetFreeMove()
return FreeMove
end
function check()
print("checkfunc")
end
function CharSpecStateExit(self)
end
function CharSpecStateEnter(self)
if self.State == "GroundLight" then
-- function HitboxSpawn(x, y, size, duration, delay, type, status, damage, stun, xVel, yVel, self)
HitboxSpawn(130, 0, 120, 10, 0, 0, 0, 200, 30, 1, 1, self)
if self.FacingLeft == true then
self.Velocity.x = self.Velocity.x - 500
else
self.Velocity.x = self.Velocity.x + 500
end
end
end
stuff like this mostly, using global funtions in lua scripts, called by the state machine