Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_pipis_bullet_Step_0

(view raw script w/o annotations or w/e)
1
if (!i_ex(parent))
2
{
3
    instance_destroy();
4
    exit;
5
}
6
if (length < 36)
7
    length += 2;
8
x = parent.x + lengthdir_x(length, place);
9
y = parent.y + lengthdir_y(length, place);
10
if (hp == 0)
11
    event_user(1);