Here is line 43, draw, I know it's probably some of the worst coding you have ever seen, so feel free to point out any other issues. I'm just trying to grasp this programming thing.
draw = function(self)
if self.facing == 1 then }
if self.y <= 480 then self.vspeed = self.vspeed + self.gravity else
love.graphics.draw(self.walking_right, self.x, self.y)
else if
love.graphics.draw(self.falling_right, self.x, self.y)
end
else if self.facing == -1 then
if self.y <= 480 then self.vspeed = self.vspeed + self.gravity else
love.graphics.draw(self.walking_left, self.x, self.y)
else if
love.graphics.draw(sellf, self.x, self.y)
end
else if love.graphics.draw(self.falling_left, self.x, self.y)
end
end
}