Deltarune script viewer

← back to main script listing

gml_Object_obj_ch2_scene12_Create_0

(view raw script w/o annotations or w/e)
1
con = 0;
2
customcon = 0;
3
if (global.chapter != 2)
4
{
5
    instance_destroy();
6
}
7
else
8
{
9
    if (global.plot < 66)
10
    {
11
        con = -1;
12
        dogcone1 = 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; }
(408, 350, spr_cutscene_12_dogcone);
13
        with (dogcone1)
14
            depth = 1000150;
15
        dogcone2 = 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; }
(dogcone1.x, dogcone1.y, spr_cutscene_12_dogcone);
16
        with (dogcone2)
17
            depth = 1000150;
18
        dogcone3 = 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; }
(dogcone1.x, dogcone1.y, spr_cutscene_12_dogcone);
19
        with (dogcone3)
20
            depth = 1000150;
21
    }
22
    if (global.plot >= 66)
23
    {
24
        dogcone1 = 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; }
(368, 350, spr_cutscene_12_dogcone);
25
        with (dogcone1)
26
            scr_depth
scr_depth

function scr_depth() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
27
        dogcone2 = 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; }
(dogcone1.x - 40, 350, spr_cutscene_12_dogcone);
28
        with (dogcone2)
29
            scr_depth
scr_depth

function scr_depth() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
30
        dogcone3 = 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; }
(dogcone1.x - 80, 350, spr_cutscene_12_dogcone);
31
        with (dogcone3)
32
            scr_depth
scr_depth

function scr_depth() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
33
    }
34
}