Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_climb_susie_controller_Collision_obj_climb_kris

(view raw script w/o annotations or w/e)
1
with (obj_climb_susie)
2
{
3
    if (waiteventid == other.waitevent)
4
        waiteventid = 0;
5
}
6
if (reach > 0)
7
{
8
    if (i_ex(obj_dw_churchb_rotatingtower))
9
    {
10
        with (obj_dw_churchb_rotatingtower)
11
        {
12
            monologuecon = other.reach - 1;
13
            event_user(10);
14
        }
15
    }
16
    if (i_ex(obj_dw_churchb_darkclimb))
17
    {
18
        with (obj_dw_churchb_darkclimb)
19
        {
20
            monologuecon = other.reach - 1;
21
            event_user(10);
22
        }
23
    }
24
    if (i_ex(obj_dw_churchc_titanclimb2))
25
    {
26
        with (obj_dw_churchc_titanclimb2)
27
        {
28
            monologuecon = other.reach - 1;
29
            event_user(10);
30
        }
31
    }
32
}
33
if (i_ex(obj_dw_churchb_darkclimb))
34
{
35
    with (obj_dw_churchb_darkclimb)
36
    {
37
        controlcon = other.waitevent;
38
        event_user(11);
39
    }
40
}
41
if (i_ex(obj_dw_churchc_titanclimb2))
42
{
43
    with (obj_dw_churchc_titanclimb2)
44
    {
45
        controlcon = other.waitevent;
46
        event_user(11);
47
    }
48
}
49
instance_destroy();