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.
17 lines
426 B
17 lines
426 B
if (myid == 20)
|
|
{
|
|
if (global.dmap[57, 31] == 10)
|
|
global.dmap[57, 31] = 1
|
|
if (global.dmap[58, 31] == 10)
|
|
global.dmap[58, 31] = 1
|
|
if (global.dmap[59, 31] == 10)
|
|
global.dmap[59, 31] = 1
|
|
}
|
|
myposx = floor((x / 320))
|
|
myposy = floor(((y - 8) / 240))
|
|
mapposx = (myposx + global.mapoffsetx)
|
|
mapposy = (myposy + global.mapoffsety)
|
|
global.dmap[mapposx, mapposy] = 10
|
|
with (oControl)
|
|
event_user(2)
|