Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_collidebullet_Step_0

(view raw script w/o annotations or w/e)
1
lifetimer++;
2
if (fadetime != -1)
3
{
4
    if (lifetimer >= fadetime)
5
        active = 0;
6
}
7
if (active == 0)
8
{
9
    image_alpha = lerp(image_alpha, 0, 0.25);
10
    if (image_alpha == 0)
11
        instance_destroy();
12
}
13
if (updateangle == 1)
14
    image_angle = direction;