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