with (obj_climb_kris) { if (visible) other.depth = depth - 1; } if (instance_exists(obj_dw_castle_church_climb)) depth = 30000; if (instance_exists(obj_dw_fcastle_foyer)) depth = 30000;