Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_ch4_PDC08_Create_0

(view raw script w/o annotations or w/e)
1
con = -1;
2
customcon = 0;
3
leave_con = 0;
4
noelle_joined = false;
5
noelle_joined_track[0] = -4;
6
noelle_joined_track[1] = -4;
7
if (global.plot >= 40 && global.plot < 50)
8
{
9
    con = 0;
10
    if (snd_is_playing(global.currentsong[1]))
11
    {
12
        mus_volume(global.currentsong[1], 0, 30);
13
    }
14
    else
15
    {
16
        global.currentsong[0] = snd_init("town_day.ogg");
17
        global.currentsong[1] = mus_loop_ext(global.currentsong[0], 1, 1);
18
        mus_volume(global.currentsong[1], 0, 30);
19
    }
20
    blackall = 
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; }
(-10, -10, spr_pixel_white);
21
    blackall.image_xscale = 999;
22
    blackall.image_yscale = 999;
23
    blackall.depth = -110;
24
    blackall.image_blend = c_black;
25
}
26
if (global.plot >= 90)
27
    instance_destroy();