if (customBox) { d = instance_create(x, y, obj_battle_cleanup); d.custom_box_sprite = spr_custom_box; }