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.
Turbo-X-Horde-AM2R/Export_Code/gml_Room_rm_a2a04_Create.gml

38 lines
996 B

var inst;
global.mapoffsetx = 34
global.mapoffsety = 18
global.waterlevel = 0
global.watertype = 0
global.floormaterial = 3
mus_change_itemroom()
if (global.event[103] > 0 && global.item[scr_itemchange(3)] == 0)
{
if (oControl.mod_fusion == 1 && global.event[103] == 4)
{
inst = instance_create((room_width / 2), (room_height / 2), oCoreX)
inst.alarm[1] = -1
inst.state = 1
inst.statetime = 0
}
else if (oControl.mod_fusion == 0 && global.event[103] == 1)
instance_create((room_width / 2), 192, scr_itemsopen(oControl.mod_jumpball))
}
if ((global.event[103] > 0 && oControl.mod_fusion == 0) || (oControl.mod_fusion == 1 && global.event[103] == 4))
{
if instance_exists(110448)
{
with (110448)
instance_destroy()
}
if instance_exists(110447)
{
with (110447)
instance_destroy()
}
if instance_exists(110449)
{
with (110449)
instance_destroy()
}
}