Deltarune script viewer

← back to main script listing

gml_Object_obj_lancerchaseevent_ch1_Create_0

(view raw script w/o annotations or w/e)
1
con = 0;
2
if (global.plot >= 15)
3
{
4
    instance_destroy();
5
}
6
else
7
{
8
    con = 1;
9
    susie = scr_dark_marker_ch1
scr_dark_marker_ch1

function scr_dark_marker_ch1(arg0, arg1, arg2) { thismarker = instance_create_ch1(arg0, arg1, obj_marker_ch1); with (thismarker) { sprite_index = arg2; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(1200, 760, spr_susieu_dark_ch1);
10
    with (susie)
11
        depth = 500000;
12
}
13
aftercon = 0;
14
tilearray = tile_get_ids_at_depth_ch1(99999);
15
for (var i = 0; i < array_length_1d(tilearray); i++)
16
    tile_set_alpha_ch1(tilearray[i], 0);