Undertale script viewer

← back to main script listing

gml_Object_obj_aaronbody_Step_0

(view raw script w/o annotations or w/e)
1
if (bull == 0)
2
{
3
    siny += 1;
4
    y = yo + (sin(siny / 30) * 9);
5
    yo += vspeed;
6
    if (alphaup == 1 && image_alpha < 1)
7
        image_alpha += 0.05;
8
}
9
if (shake > 0)
10
{
11
    shack += 1;
12
    if (shack == 2)
13
    {
14
        x = xstart + (((random(shake) * 2) - shake) / 2);
15
        y = ystart + (((random(shake) * 2) - shake) / 2);
16
        shack = 0;
17
    }
18
}