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-Multitroid-Fair-Team-PVP/Export_Code/gml_Object_oMapBlock_Create...

16 lines
446 B

myposx = (x / 8)
myposy = (y / 8)
y += 32
mystr = string(global.map[myposx, myposy])
if (mystr != "0")
{
wallU = string_char_at(mystr, 1)
wallR = string_char_at(mystr, 2)
wallD = string_char_at(mystr, 3)
wallL = string_char_at(mystr, 4)
color = string_char_at(mystr, 5)
special = string_char_at(mystr, 6)
make_maptile(x, y, wallU, wallR, wallD, wallL, color, special, global.dmap[myposx, myposy])
}
instance_destroy()