You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
570 B
10 lines
570 B
tileid = tile_add(tlSandBlocks, (ds_map_find_value(global.sand_map, pos) * 16), 0, 16, 16, x, y, -100)
|
|
if ds_map_find_value(global.sandcrn0_map, pos)
|
|
tilesandcrn0 = tile_add(tlSandCorners, 0, 0, 16, 16, x, y, -101)
|
|
if ds_map_find_value(global.sandcrn1_map, pos)
|
|
tilesandcrn1 = tile_add(tlSandCorners, 16, 0, 16, 16, x, y, -101)
|
|
if ds_map_find_value(global.sandcrn2_map, pos)
|
|
tilesandcrn2 = tile_add(tlSandCorners, 32, 0, 16, 16, x, y, -101)
|
|
if ds_map_find_value(global.sandcrn3_map, pos)
|
|
tilesandcrn3 = tile_add(tlSandCorners, 48, 0, 16, 16, x, y, -101)
|