Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function character.Teleport(self, size, tile)
- if self.Location then
- self.Location.Character = nil
- end
- if tile then
- self.x, self.y = tile.xTile * size, tile.yTile * size + 20
- self.Location = tile
- tile.Character = self
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment