Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_circlebg_Create_0

(view raw script w/o annotations or w/e)
1
fus = merge_color(c_black, c_fuchsia, 0.1);
2
surf = -4;
3
surf2 = -4;
4
timer = 0;
5
siner = 0;
6
count = 0;
7
circarray = [];
8
rate = 1;
9
10
makecirc = function()
11
{
12
    count++;
13
    var thiscirc = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(0, 0, spr_circle_256_aa);
14
    with (thiscirc)
15
    {
16
        index = other.count;
17
        iscircle = true;
18
        if ((index % 2) == 0)
19
        {
20
            image_blend = c_black;
21
            targcol = other.fus;
22
        }
23
        else
24
        {
25
            image_blend = other.fus;
26
            targcol = 0;
27
        }
28
        image_alpha = 0;
29
        siner = 0;
30
        fakealpha = 1;
31
        timer = 0;
32
        image_xscale = 0;
33
        image_yscale = 0;
34
        depth = 1000;
35
    }
36
    array_push(circarray, thiscirc);
37
    return thiscirc;
38
};