if (instance_exists(obj_womandogbody)) image_speed = 0.125; else image_speed = 0; if (image_index == 0) { if (depth == 10) depth = 9; else depth = 10; }