Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_incense_fire_anim_Step_0

(view raw script w/o annotations or w/e)
1
if (parentid != -1 && i_ex(parentid))
2
{
3
}
4
else
5
{
6
    instance_destroy();
7
    exit;
8
}
9
x = parentid.x + lengthdir_x(len, dir + parentid.image_angle);
10
y = parentid.y + lengthdir_y(len, dir + parentid.image_angle);