Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_ch3_PTB01_Create_0

(view raw script w/o annotations or w/e)
1
con = -1;
2
customcon = 0;
3
if (global.plot >= 310 && global.plot < 320)
4
{
5
    con = 0;
6
    spotlight_fx = instance_create(1540, -20, obj_ch3_PTB01_spotlight);
7
    spotlight_fx_susie = instance_create(1540, -20, obj_ch3_PTB01_spotlight_susie);
8
    spotlight_move = false;
9
    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);
10
    blackall.image_xscale = 999;
11
    blackall.image_yscale = 999;
12
    blackall.depth = 90000;
13
    blackall.image_blend = c_black;
14
    blackall.image_alpha = 0;
15
    classroom_sepia = 
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_classroom_sepia);
16
    classroom_sepia.depth = blackall.depth + 10;
17
    classroom_sepia.visible = 0;
18
    classroom_susie = 
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_ch3_PTB01_susieu_white);
19
    classroom_susie.depth = classroom_sepia.depth - 5;
20
    classroom_susie.image_blend = #5C3714;
21
    classroom_susie.visible = 0;
22
    graveyard_sepia = 
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_graveyard_sepia);
23
    graveyard_sepia.depth = blackall.depth + 10;
24
    graveyard_sepia.visible = 0;
25
    diner_sepia = 
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_diner_sepia);
26
    diner_sepia.depth = blackall.depth + 10;
27
    diner_sepia.visible = 0;
28
    var x_offset = (global.lang == "ja") ? -10 : 0;
29
    funometer = instance_create(-80 + x_offset, 17, obj_dw_tv_funometer);
30
    funometer.hope = true;
31
    funometer.fun = 0;
32
    funometer.depth = 1000020;
33
    slow_text = false;
34
    spotlight_shrink = false;
35
    spotlight_nudge = false;
36
    tenna_shake = false;
37
    tenna_shake_timer = 0;
38
    tenna_spotlight = false;
39
    ralsei_spotlight = false;
40
    susie_spotlight = false;
41
    susie_solo = false;
42
    with (obj_mainchara)
43
        cutscene = 1;
44
    camerax_set(1040);
45
    with (obj_border_controller)
46
        set_border(border_dw_tv_black);
47
}
48
else
49
{
50
    instance_destroy();
51
}