%tiles_set Set global tiles.x/y to the specified values. % % tiles_set(x, y) function tiles_set(x, y) global tiles; tiles.x = x; tiles.y = y;