function scr_depth() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }