if (global.flag[17] != 0) instance_destroy()