if (global.dunes_flag[31] == 4 || global.geno_complete[3] == true)
instance_destroy()
else
instance_destroy(obj_rndenc)