Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_ch4_PDC14B_Create_0

(view raw script w/o annotations or w/e)
1
con = -1;
2
customcon = 0;
3
leave_con = 0;
4
x_offset = -20;
5
random_shake = false;
6
shake_timer = 0;
7
vaccuum_pos_x = 310;
8
vaccuum_pos_y = 256;
9
if (global.plot >= 90 && global.plot < 95)
10
{
11
    con = !scr_sideb_active() ? 0 : 50;
12
    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);
13
    blackall.image_xscale = 999;
14
    blackall.image_yscale = 999;
15
    blackall.depth = -110;
16
    blackall.image_blend = c_black;
17
    platter_marker = instance_create(360 + x_offset, 290, obj_ch4_PDC14B_snacktray);
18
    with (platter_marker)
19
        visible = 0;
20
    if (!snd_is_playing(global.currentsong[1]))
21
    {
22
        global.currentsong[0] = snd_init("noelleshouseoutside.ogg");
23
        global.currentsong[1] = mus_loop_ext(global.currentsong[0], 0.7, 1);
24
    }
25
    if (
scr_debug
scr_debug

function
scr_debug()
{ if (global.debug == 1) return 1; }
())
26
    {
27
        with (obj_border_controller)
28
            hide_border();
29
    }
30
}
31
if (global.plot < 90)
32
    instance_destroy();