Deltarune (Chapter 4) script viewer
← back to main script listing
gml_Object_obj_fadingbullet_Draw_0
(view raw script w/o annotations or w/e)
|
1
|
if (timer >= lifetime)
|
|
2
|
{
|
|
3
|
active = false;
|
|
4
|
image_alpha -= 0.1;
|
|
5
|
if (image_alpha <= 0)
|
|
6
|
instance_destroy();
|
|
7
|
}
|
|
8
|
draw_self();
|
|
9
|
timer++;
|