if (room == room_castle_prebarrier) { if (global.flag[7] == 0) instance_destroy(); }