Fields of Mistria — Vanilla GML Reference FoM v1.0.8

obj_home_door.gml

object_create(
    "obj_home_door",
    undefined,
    {
        sprite_index: spr_carpenter_house_f2_doorway2_spring,
        create: function() {
            depth = get_instance_depth(y) + 1;
        },
    }
);