Undertale script viewer

← back to main script listing

gml_Object_obj_butterflyhead_Step_0

(view raw script w/o annotations or w/e)
1
if (shake > 0)
2
{
3
    x = (nowx + random(shake)) - random(shake);
4
    y = (nowy + random(shake)) - random(shake);
5
}
6
if (walking == 1)
7
    nowx -= 1;
8
factor += 0.04;