16+0(16) to 16+15(31) then 32+0(32) to 32+15(47)
Did you try?Code: QB64: [Select]
X1%% = 15 * j%% Y1%% = 15 * i%%
Just flinging that out there as something that kind of jumped out at me...
Zone 7 is 7 * 16, last tile is + 15 = 112 + 15 = 127, 0 to 127 is 128 tiles
Could goCode: QB64: [Select]and skip the confusing double loop math
Have you checked Dragon Warrior out? Would love to know what you think of it.