Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_shutta_reticle_bullet2_Step_0

(view raw script w/o annotations or w/e)
1
image_angle = direction;
2
var a = 115;
3
if (i_ex(obj_growtangle))
4
{
5
    if (x < (obj_growtangle.x - a) || x > (obj_growtangle.x + a) || y < (obj_growtangle.y - a) || y > (obj_growtangle.y + a))
6
    {
7
        image_alpha -= 0.1;
8
        if (image_alpha < 0)
9
            instance_destroy();
10
    }
11
}
12
else
13
{
14
    instance_destroy();
15
}