depth = obj_herosusie.depth - 1; if (depth > (obj_hammer_of_justice_enemy.depth - 1)) depth = obj_hammer_of_justice_enemy.depth - 1;