Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_climb_susie_controller_Collision_obj_climb_susie

(view raw script w/o annotations or w/e)
1
with (obj_climb_susie)
2
{
3
    if (other.waitevent > 0)
4
        waiteventid = other.waitevent;
5
    if (other.forcejump > 0)
6
        forcejump = other.forcejump;
7
    if (other.reach)
8
        reachcon = other.reach;
9
    dir = other.image_index;
10
    if (other.waitevent == -99)
11
    {
12
        snd_play(snd_wing);
13
        instance_destroy();
14
    }
15
}
16
if (i_ex(obj_dw_churchb_darkclimb))
17
{
18
    with (obj_dw_churchb_darkclimb)
19
    {
20
        controlcon = -other.waitevent;
21
        event_user(11);
22
    }
23
}
24
if (i_ex(obj_dw_churchc_titanclimb2))
25
{
26
    with (obj_dw_churchc_titanclimb2)
27
    {
28
        controlcon = -other.waitevent;
29
        event_user(11);
30
    }
31
}
32
instance_destroy();