Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_jump_to_point_Destroy_0

(view raw script w/o annotations or w/e)
1
if (init == 1)
2
{
3
    if (i_ex(body_obj))
4
    {
5
        with (body_obj)
6
            instance_destroy();
7
    }
8
    if (i_ex(target))
9
    {
10
        with (target)
11
            visible = 1;
12
        target.x = endx;
13
        target.y = endy;
14
    }
15
}