Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_rotating_tower_controller_KeyPress_55

(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 dir = choose(-1, 1);
5
repeat (6)
6
{
7
    orb = instance_create(320, y, obj_vertical_dark_laser_new1);
8
    orb.angle_position = a * 60;
9
    orb.position = "below";
10
    orb.dir = dir;
11
    a++;
12
}