Undertale script viewer

← back to main script listing

gml_Object_obj_ultimabullet_Step_2

(view raw script w/o annotations or w/e)
1
if (side == 0 && x >= 680 && trail.xprev[12] >= 640)
2
{
3
    instance_destroy();
4
}
5
else if (side == 1 && x < -40 && trail.xprev[12] < 0)
6
{
7
    instance_destroy();
8
}
9
else
10
{
11
    trail.x = x;
12
    trail.y = y;
13
}