Deltarune (Chapter 5) 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
if (reach)
2
    exit;
3
if (climb_direction != other.climb_direction)
4
{
5
    enabled = true;
6
    exit;
7
}
8
if (!enabled)
9
    exit;
10
enabled = false;
11
with (other)
12
{
13
    if (followmode == 3)
14
        followmode = 0;
15
    if (other.waitevent > 0)
16
        waiteventid = other.waitevent;
17
    if (other.forcejump > 0)
18
        forcejump = other.forcejump;
19
    if (other.reach)
20
        reachcon = other.reach;
21
    dir = other.image_index;
22
    if (other.waitevent == -99)
23
        snd_play(snd_wing);
24
}