Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_rotating_tower_controller_KeyPress_54

(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
repeat (1)
5
{
6
    orb = instance_create(320, y, obj_vertical_dark_shockwave_new1);
7
    orb.angle_position = (270 - tower_angle - 80) + irandom(160);
8
    orb.position = choose("below", "above");
9
    a++;
10
}