Deltarune script viewer

← back to main script listing

gml_Object_obj_ch2_scene11a_Create_0

(view raw script w/o annotations or w/e)
1
con = -1;
2
customcon = 0;
3
auto_text = false;
4
auto_con = -1;
5
shortened = false;
6
tempcon = -1;
7
smoketimer = 0;
8
smokecon = 0;
9
var tiled_wall = instance_create(-10, 437, obj_cyber_wall_lights);
10
with (tiled_wall)
11
{
12
    total_width = sprite_get_width(sprite_index) * 16;
13
    depth = 5000;
14
}
15
var tiled_wall_end = instance_create(591, 437, obj_cyber_wall_lights_right);
16
with (tiled_wall_end)
17
    depth = 4900;
18
coaster_entry_shadow = 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; }
(-35, -22, bg_dw_city_coaster_entry_shadow);
19
coaster_entry_shadow.depth = 100000;
20
coaster_entry = 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; }
(-39, -5, bg_dw_city_coaster_entry);
21
coaster_entry.depth = coaster_entry_shadow.depth - 100;
22
coaster_entry_hood = 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; }
(-39, -5, bg_dw_city_coaster_entry_hood);
23
coaster_entry_hood.depth = coaster_entry.depth - 100;
24
coaster_ramp = 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; }
(1800, 28, bg_dw_city_coaster_ramp);
25
coaster_ramp.depth = 90000;
26
coaster_ramp.visible = 1;
27
coaster_kris = instance_create(800, 72, obj_coaster);
28
with (coaster_kris)
29
    scr_depth
scr_depth

function scr_depth() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
30
coaster_kris.visible = 0;
31
coaster_susie = instance_create(800, 118, obj_coaster);
32
coaster_susie.type = 1;
33
with (coaster_susie)
34
    scr_depth
scr_depth

function scr_depth() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
35
coaster_susie.visible = 0;
36
coaster_ralsei = instance_create(800, 181, obj_coaster);
37
coaster_ralsei.type = 2;
38
with (coaster_ralsei)
39
    scr_depth
scr_depth

function scr_depth() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
40
coaster_ralsei.visible = 0;
41
coaster_berdly = instance_create(1890, 126, obj_coaster);
42
coaster_berdly.type = 3;
43
with (coaster_berdly)
44
    scr_depth
scr_depth

function scr_depth() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
45
coaster_noelle = instance_create(1890, 105, obj_coaster);
46
coaster_noelle.type = 4;
47
coaster_noelle.depth = 95000;
48
nise_berdly = 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; }
(-100, 0, spr_cutscene_17_berdly_shocked);
49
with (nise_berdly)
50
    scr_depth
scr_depth

function scr_depth() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
51
parallax = true;
52
loopcity = false;
53
looptrack = false;
54
tiletrack = false;
55
stoplooptrack = false;
56
hide_border = false;
57
if (global.chapter != 2 || global.plot >= 64)
58
{
59
    instance_destroy();
60
}
61
else
62
{
63
    if (global.tempflag[28] == 1)
64
        shortened = true;
65
    doorway = 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; }
(458, 205, spr_pixel_white);
66
    doorway.image_xscale = 22;
67
    doorway.image_yscale = 22;
68
    doorway.depth = 0;
69
    doorway.image_blend = c_black;
70
    doorway.image_alpha = 0.75;
71
    whiteall = 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);
72
    whiteall.image_xscale = 999;
73
    whiteall.image_yscale = 999;
74
    whiteall.depth = 100;
75
    whiteall.image_alpha = 0;
76
    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);
77
    blackall.image_xscale = 999;
78
    blackall.image_yscale = 999;
79
    blackall.depth = 50;
80
    blackall.image_blend = c_black;
81
    blackall.image_alpha = 0;
82
    explode = false;
83
    explosion = -1;
84
    explodetimer = -1;
85
    explosion_marker = -1;
86
    noise_con = -2;
87
    pan_timer = 0;
88
}