Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_rotating_tower_controller_KeyPress_49

(view raw script w/o annotations or w/e)
1
if (!
scr_debug
scr_debug

function
scr_debug()
{ if (global.debug == 1) return 1; }
())
2
    exit;
3
var a = 0;
4
var b = irandom(7);
5
var c = b + 6;
6
var d = c + 6;
7
repeat (18)
8
{
9
    if (a == b || a == c || a == d)
10
    {
11
    }
12
    else
13
    {
14
        orb = instance_create(320, y, obj_vertical_dark_shockwave1);
15
        orb.angle_position = a * 20;
16
        orb.position = choose("above", "below");
17
    }
18
    a++;
19
}