Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_o_afterimage_Step_0

(view raw script w/o annotations or w/e)
1
image_alpha -= rate;
2
if (image_alpha <= 0)
3
    instance_destroy();
4
if (hasboss == 1)
5
{
6
    x = boss.x;
7
    y = boss.y;
8
}
9
if (image_alpha > 1 && punch_telegraph == 1)
10
{
11
    punch_telegraph = 1;
12
    rate = -0.4;
13
}