Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_room_chef_empty_Create_0

(view raw script w/o annotations or w/e)
1
con = -1;
2
customcon = 0;
3
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);
4
blackall.image_xscale = 999;
5
blackall.image_yscale = 999;
6
blackall.depth = 100;
7
blackall.image_blend = c_black;
8
blackall.visible = 1;
9
pipe_left = 
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; }
(camerax() - 80, 380, spr_dw_chef_pipe);
10
with (pipe_left)
11
    depth = 93000;
12
pipe_right = 
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; }
(camerax() + view_wport[0] + 80, 380, spr_dw_chef_pipe);
13
with (pipe_right)
14
{
15
    depth = 93000;
16
    image_xscale = -2;
17
}
18
game_active = false;
19
game_finish = false;
20
icee_travel = false;
21
icee_travel_timer = 0;
22
icee = [];
23
show_arrows = false;
24
hide_arrows = false;
25
arrow_timer = 0;
26
arrow_siner = 0;
27
arrow_markers = [];
28
for (var i = 0; i < 2; i++)
29
{
30
    arrow_markers[i] = 
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; }
(14 + (i * 560), 300, spr_morearrow);
31
    arrow_markers[i].image_blend = c_yellow;
32
    arrow_markers[i].image_alpha = 0;
33
    arrow_markers[i].image_xscale = 4;
34
    arrow_markers[i].image_yscale = 4;
35
}
36
bgm = -4;
37
bgm_track[0] = -4;
38
bgm_track[1] = -4;
39
bgm_timer = 0;
40
bgm_pitch = 0;
41
screen = instance_find(obj_dw_chef_screen_empty, 0);
42
timer_max = 0;
43
timer = 0;
44
if (global.plot >= 230)
45
{
46
    con = 0;
47
    with (obj_mainchara)
48
    {
49
        y = -100;
50
        cutscene = 1;
51
        fun = 1;
52
        visible = 0;
53
    }
54
    with (obj_caterpillarchara)
55
    {
56
        y = -100;
57
        follow = 0;
58
        fun = 1;
59
        visible = 0;
60
    }
61
}
62
63
game_start = function()
64
{
65
    game_active = true;
66
    
scr_var_delay
scr_var_delay

function
scr_var_delay(arg0, arg1, arg2)
{
scr_script_delayed(scr_var, arg2, arg0, arg1);
} function scr_var_delayed(arg0, arg1, arg2) {
scr_script_delayed(scr_var, arg2, arg0, arg1);
} function scr_delay_var(arg0, arg1, arg2) {
scr_script_delayed(scr_var, arg2, arg0, arg1);
}
("game_finish", true, 660);
67
};