Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_afterimage_grow_Step_0

(view raw script w/o annotations or w/e)
1
if (target != -4 && i_ex(target))
2
{
3
    x = target.x;
4
    y = target.y;
5
}
6
image_alpha -= fade;
7
image_xscale += xrate;
8
image_yscale += yrate;
9
if (image_alpha < 0)
10
    instance_destroy();
11
if (destroytime > -1)
12
    destroytime--;
13
if (destroytime == 0)
14
    instance_destroy();