Undertale script viewer

← back to main script listing

gml_Object_obj_adate_papyrus_Step_0

(view raw script w/o annotations or w/e)
1
if (con == 1)
2
    vspeed = 0;
3
if (con == 2)
4
{
5
    snd_play(snd_arrow);
6
    vspeed = -16;
7
    gravity = 1;
8
    con = 3;
9
}
10
if (con == 3)
11
{
12
    if (vspeed >= 0)
13
        depth = 80;
14
    if (y >= ((obj_adate_trashcan.y + 10) - sprite_height))
15
    {
16
        snd_play(snd_impact);
17
        gravity = 0;
18
        vspeed = 0;
19
        y = (obj_adate_trashcan.y + 10) - sprite_height;
20
        con = 4;
21
    }
22
}