Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_bramble_Step_2

(view raw script w/o annotations or w/e)
1
with (parent)
2
{
3
    if (!init)
4
    {
5
        y_plat = y_ow + 40;
6
        init = 1;
7
    }
8
    other.y_ow = y_ow - other.parentoffset;
9
    other.y_plat = y_plat - other.parentoffset;
10
    other.y = y - other.parentoffset;
11
    other.force_yplat = true;
12
}
13
with (instance_place(x, y, obj_leafplatform))
14
    other.depth = depth + 1;