Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_climb_boulder_Step_2

(view raw script w/o annotations or w/e)
1
with (obj_climb_kris)
2
{
3
    if (climbcon == 10)
4
        other.y = other.yprevious;
5
}
6
if (caught)
7
{
8
    if (instance_exists(caughtby))
9
    {
10
        if (bbox_bottom > caughtby.bbox_bottom)
11
        {
12
            y = caughtby.y;
13
            instance_destroy();
14
        }
15
    }
16
}