So, I did a level complete teleport script thing in my VVVVVV level and I did everything right, except

spawns inside of a wall, I added positioning by counting the tiles from the room in x and y coordinate and it didn't do the result as I intended, spawning in the wrong position. How does the math of that command work exactly?