Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_ch2_scene19c_Create_0

(view raw script w/o annotations or w/e)
1
con = -1;
2
customcon = 0;
3
exitcollider = -1;
4
if (global.chapter != 2 || global.plot >= 115)
5
{
6
    instance_destroy();
7
}
8
else
9
{
10
    nisesusie = instance_create(35, 200, obj_npc_sign);
11
    nisesusie.sprite_index = spr_cutscene_18_susie_lancer_carry_walk_right;
12
    nisesusie.image_speed = 0;
13
    nisesusie.visible = 0;
14
    niseberdly = instance_create(555, 216, obj_npc_sign);
15
    niseberdly.sprite_index = spr_berdly_walk_left_dw;
16
    niseberdly.image_speed = 0;
17
    niseberdly.visible = 0;
18
    exitcollider = instance_create(575, 240, obj_soliddark);
19
    exitcollider.image_xscale = 2;
20
    exitcollider.image_yscale = 2;
21
    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);
22
    blackall.image_xscale = 999;
23
    blackall.image_yscale = 999;
24
    blackall.depth = 100;
25
    blackall.image_blend = c_black;
26
    blackall.image_alpha = 0;
27
    berdlyoutline = 
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; }
(323, 190, spr_cutscene_19c_berdly_outline);
28
    berdlyoutline.depth = blackall.depth - 10;
29
    berdlyoutline.image_alpha = 0;
30
    berdly_crown = 
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; }
(302, -20, spr_cutscene_19c_crown);
31
    berdly_crown.depth = berdlyoutline.depth - 10;
32
    berdly_crown.image_alpha = 0;
33
    noelleoutline = 
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; }
(200, 189, spr_cutscene_19c_noelle_outline);
34
    noelleoutline.depth = blackall.depth - 10;
35
    noelleoutline.image_alpha = 0;
36
    noelleoutline.image_speed = 0;
37
    noelleoutline.image_index = 0;
38
    noelle_lose = false;
39
    sb_controller = instance_create(camerax(), cameray(), obj_ch2_scene19c_spelling_bee);
40
    sb_crowd_show = false;
41
    sb_crowd_hide = false;
42
    sb_crowd_siner = random(400);
43
    sb_crowd = 
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; }
(0, 0, spr_cutscene_19c_crowd);
44
    with (sb_crowd)
45
    {
46
        image_alpha = 0;
47
        depth = 20;
48
    }
49
    berdly_applause_start = false;
50
    berdly_applause_stop = false;
51
}