Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_knight_bullethell_bullet_Step_0

(view raw script w/o annotations or w/e)
1
image_angle = direction;
2
timer++;
3
if (i_ex(obj_knight_lightorb) && distance_to_object(obj_knight_lightorb) > 110)
4
{
5
    image_alpha -= 0.2;
6
    if (image_alpha <= 0)
7
        instance_destroy();
8
}
9
if (i_ex(obj_knight_lightorb))
10
    depth = obj_knight_lightorb.depth - 10;
11
if (timer == 20)
12
    instance_destroy();
13
if (i_ex(obj_knight_enemy) && global.turntimer < 1)
14
    instance_destroy();