Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_climb_climbableflower_Step_0

(view raw script w/o annotations or w/e)
1
if (con <= 0)
2
{
3
    climbable.x = x;
4
    platform.x = -999;
5
}
6
if (con == 1)
7
{
8
    overlap_timer -= 1;
9
    if (overlap_timer <= 0)
10
    {
11
        con = 2;
12
        climbable.x = -999;
13
        platform.x = x;
14
    }
15
}
16
if (con == 2)
17
    platform.y = y;
18
climbblocker.x = platform.x;