Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_tower_dog_falls_Step_0

(view raw script w/o annotations or w/e)
1
if (y > (cameray() + cameraheight()))
2
{
3
    timer++;
4
    if (timer == 180)
5
    {
6
        instance_destroy();
7
        instance_create(x, cameray() + 300, obj_tower_dog_stilts);
8
        with (obj_tower_dog_fx1)
9
        {
10
            if (x > 500)
11
                y = -10000;
12
        }
13
        with (obj_tower_dog_ladder_fake)
14
        {
15
            if (x > 500 && falling == 0)
16
                y = -10000;
17
        }
18
    }
19
}