0 Members and 2 Guests are viewing this topic.
Lbl GT ; X position in S, Y position in T. Returns tileS/7->S // Swap 7 for the size of your tilesT/7*7->T // Yes, I know it is /7*7. Leave it that way. Unless you don't have 7x7 tiles, in which case you should change the values accordinglyIf S^2{(S/2)+T+GDB1}^16ReturnEnd{(S/2)+T+GDB1}/16Return