0 Members and 3 Guests are viewing this topic.
Is it supposed to do the following?
.A[11111111->GDB1[10011001[10100101[11111111[0000000000000000->Pic1[FFFFFFFFFFFFFFFFFor(Y,0,3For(X,0,3{Y*4+X+GDB1}->APt-On(X*16,Y*8,A/16*8+Pic1Pt-On(X*16+8,Y*8,A^16*8+Pic1EndEndDispGraph
Pt-On(X*16+8,Y*8,A^16*8+Pic1
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