Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_glowtilepuzz_Create_0

(view raw script w/o annotations or w/e)
1
record = 0;
2
tiletotal = 0;
3
image_xscale = 2;
4
image_yscale = 2;
5
image_speed = 0.1;
6
funtotal = 99;
7
order = 0;
8
funbuffer = 0;
9
stepnoise = 0;
10
wonamt = 0;
11
run_check = false;
12
run_con = -1;
13
run_count = 0;
14
active = 0;
15
failtimer = 0;
16
failamt = 0;
17
talked = 0;
18
failmax = 160;
19
wonmax = 3;
20
plotamt = 22;
21
for (i = 0; i < wonmax; i += 1)
22
{
23
    block[i] = instance_create(1200 + (i * 40), 1120, obj_soliddark);
24
    block[i].image_yscale = 2;
25
    spike1[i] = 
scr_dark_marker
scr_dark_marker

function
scr_dark_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(1200 + (i * 40), 1120, spr_spiketile);
26
    with (spike1[i])
27
        depth = 900000;
28
    spike2[i] = 
scr_dark_marker
scr_dark_marker

function
scr_dark_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(1200 + (i * 40), 1160, spr_spiketile);
29
    with (spike2[i])
30
        depth = 900000;
31
    if (global.plot >= 22)
32
    {
33
        active = 2;
34
        with (spike1[i])
35
            image_index = 1;
36
        with (spike2[i])
37
            image_index = 1;
38
        with (block[i])
39
            instance_destroy();
40
    }
41
}
42
shakecon = 0;
43
scr_depth
scr_depth

function
scr_depth()
{ if (argument_count > 0) { with (argument0) depth = 100000 - ((y * 10) + (sprite_height * 10)); } else { depth = 100000 - ((y * 10) + (sprite_height * 10)); } }
();
44
delayfacing = 0;