Undertale script viewer

← back to main script listing

gml_Object_obj_base_writer_Step_1

(view raw script w/o annotations or w/e)
1
if (shake > 38)
2
{
3
    speed = 2;
4
    direction += 20;
5
}
6
else if (shake == 42)
7
{
8
    speed = 4;
9
    direction -= 19;
10
}
11
if (halt == 3 || dfy == 1)
12
    instance_destroy();