if (instance_exists(obj_player) ) { x = obj_player.x; y = obj_player.y - 100; z = 750; global.aimz = obj_player.z; } if global.boss = 1 { d3d_set_fog(true,c_dkgray,900-alarm[6]*5,1400-alarm[6]*5); } else { d3d_set_fog(true,c_ltgray,900-alarm[6]*5,1400-alarm[6]*5); }