Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_ch4_PDC07_Create_0

(view raw script w/o annotations or w/e)
1
con = -1;
2
customcon = 0;
3
open_fence = false;
4
if (global.plot >= 35 && global.plot < 45)
5
{
6
    con = 0;
7
    stem_marker = 
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; }
(295, 156, spr_flower_stem_rotate);
8
    with (stem_marker)
9
    {
10
        depth = 97000;
11
        image_speed = 0.25;
12
        visible = 0;
13
    }
14
}
15
else
16
{
17
    instance_destroy();
18
}