Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_afterimage_Step_0

(view raw script w/o annotations or w/e)
1
if (init == 0)
2
{
3
    remalpha = image_alpha;
4
    init = 1;
5
}
6
timer++;
7
if (timer >= length)
8
    instance_destroy();
9
if (type == 0)
10
{
11
    if ((timer % flickerrate) == 0)
12
        image_alpha = remalpha;
13
    else
14
        image_alpha = 0;
15
}