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.
AM2R-The-Horde-Multitroid/Export_Code/gml_Script_get_ground_tile.gml

18 lines
438 B

var xx, yy, tile;
xx = argument0
yy = argument1
tile = tile_layer_find(-100, xx, yy)
if (tile == -1)
tile = tile_layer_find(-90, xx, yy)
if (tile == -1)
tile = tile_layer_find(-99, xx, yy)
if (tile == -1)
tile = tile_layer_find(-101, xx, yy)
if (tile == -1)
tile = tile_layer_find(-105, xx, yy)
if (tile == -1)
tile = tile_layer_find(-110, xx, yy)
if (tile == -1)
tile = tile_layer_find(-120, xx, yy)
return tile;