<undefined>
0
-1
0
0
<undefined>
<undefined>
1
603
7
0
0
-1
2
self
0
0
1
alarm[0] = 30;
image_speed = 0.2;
active = 0;
btn1_name = "";
btn2_name = "";
itemtype = 0;
itemid = 0;
text1 = "";
text2 = "";
1
603
7
0
0
-1
2
self
0
0
1
active = 1;
1
603
7
0
0
-1
2
self
0
0
1
if (active) event_user(0);
1
603
7
0
0
-1
2
self
0
0
1
global.item[itemid] = 1;
global.itemstaken += 1;
myposx = floor(x / 320);
myposy = floor((y - 8) / 240);
mapposx = myposx + global.mapoffsetx;
mapposy = myposy + global.mapoffsety;
//global.dmap[mapposx, mapposy] = 2;
if ((room == rm_a4b02b) && (itemid == 253)) { // workaround for escape sequence PB
global.dmap[37, 58] = 2;
}
if (distance_to_object(oItem) > 180) {
global.dmap[mapposx, mapposy] = 2;
}
with (oControl) event_user(2);
if (visible) {
fade = instance_create(x, y, oFXTrail);
fade.sprite_index = sprite_index;
fade.fadespeed = 0.1;
}
global.itemtype = itemtype;
display_itemmsg(text1, text2, btn1_name, btn2_name);
//For secret message
if(global.chozo_message_item_id == itemid) oControl.chozomessage++;
instance_destroy();
1
603
7
0
0
-1
2
self
0
0
1
if (global.item[itemid])
{
myposx = floor(x / 320);
myposy = floor((y - 8) / 240);
mapposx = myposx + global.mapoffsetx;
mapposy = myposy + global.mapoffsety;
//global.dmap[mapposx, mapposy] = 2;
if distance_to_object(oItem) > 180 { global.dmap[mapposx, mapposy] = 2; }
instance_destroy(); //original
}
0
0
0
0.5
0.100000001490116
0
0.100000001490116
0.100000001490116
0.200000002980232
-1
0