if (sprite_exists(sprite_index)) { if (updatedepth) scr_depth_alt(); }