Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_move_precise_Step_2

(view raw script w/o annotations or w/e)
1
if (init == 0)
2
    event_user(0);
3
if (movecount >= movemax || !i_ex(target))
4
{
5
    instance_destroy();
6
}
7
else if (moved == 0)
8
{
9
    target.x += xx[movecount] * xOrientation;
10
    target.y += yy[movecount] * yOrientation;
11
    if (image[movecount] != -1 && o_boxingcontroller.wireframe_boxing == 0)
12
        target.image_index = image[movecount];
13
    movecount++;
14
}
15
moved = 0;