Deltarune script viewer

← back to main script listing

gml_Object_obj_cyber_light_standalone_Step_0

(view raw script w/o annotations or w/e)
1
siner++
2
if (init == 0)
3
{
4
    wd = sprite_width / 2
5
    if (bosscheck == 0)
6
    {
7
        with (obj_cyber_light)
8
            bosscheck = 1
9
        boss = 1
10
        depth += 1
11
        total = instance_number(object_index)
12
        for (i = 0; i < total; i++)
13
        {
14
            which[i] = instance_find(object_index, i)
15
            which[i].siner = i * 4
16
            wx[i] = which[i].x
17
            wy[i] = which[i].y
18
        }
19
    }
20
    init = 1
21
}
22
image_alpha = (sin(siner / 12)) * 0.2 + 0.8