if (!init) init = true; if (instance_exists(obj_mainchara)) { if (specialdepth != -4) depth = specialdepth; else depth = 999990; y = ystart; } else if (floortex != -4) { y = floortex.bbox_top + y_plat_offset; depth = floortex.depth - 1; }