Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_ch4_PDC14A_noelle_Create_0

(view raw script w/o annotations or w/e)
1
con = -1;
2
customcon = 0;
3
start_timer = 0;
4
side_b = scr_sideb_active();
5
if (!side_b || global.plot < 63 || global.plot >= 91)
6
{
7
    instance_destroy();
8
    exit;
9
}
10
if (!i_ex(obj_homealone_vent_loader))
11
{
12
    var loader = instance_create(0, 0, obj_homealone_vent_loader);
13
    loader.load_room = 52;
14
    loader.load_vent = "noelle";
15
}
16
with (obj_homealone_heart)
17
    cutscene = 1;
18
heart_choice_x = 0;
19
heart_choice_y = 0;
20
heart_bump_check = false;
21
heart_fall = false;
22
heart_fall_timer = 0;
23
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);
24
blackall.image_xscale = 999;
25
blackall.image_yscale = 999;
26
blackall.depth = 100;
27
blackall.image_blend = c_black;
28
blackall.visible = 0;
29
noelle_npc = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(188, 85, spr_noelle_sit);
30
with (noelle_npc)
31
    
scr_depth
scr_depth

function
scr_depth(arg0 = id, arg1 = 0)
{ with (arg0) depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10)); }
();
32
kris_marker = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(135, 93, spr_kris_sit);
33
with (kris_marker)
34
    
scr_depth
scr_depth

function
scr_depth(arg0 = id, arg1 = 0)
{ with (arg0) depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10)); }
();
35
desaturate_fx = instance_create(0, 0, obj_ch4_PDC14A_noelle_desaturate);
36
desaturate_fx.depth = kris_marker.depth + 20;
37
desaturate_fx.con = 0;
38
desaturate_fx.palette_index = 0;
39
vent_cover_marker = -4;
40
vent_panel_marker = -4;
41
pause_heart = false;
42
unpause_heart = false;
43
heart_explore = false;
44
heart_explore_con = 0;
45
heart_explore_timer = 0;
46
heart_check = false;
47
drip_marker = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(510, 535, spr_rose);
48
drip_marker.depth = blackall.depth - 10;
49
drip_marker.image_xscale = 1;
50
drip_marker.image_yscale = 1;
51
drip_marker.visible = 0;
52
drip_timestamps = [1000, 100, 50, 200, 1000];
53
drip_modifier = 30;
54
drip_index = 0;
55
drip_timer = 0;
56
con = 0;
57
auto_text = false;
58
auto_text_buffer_time = 90;
59
auto_text_buffer = auto_text_buffer_time;
60
auto_text_start = false;
61
auto_text_stop = false;
62
kris_heart_check = false;
63
exit_block = -4;
64
ticking_sfx = false;
65
ticking_sfx_timer = 0;
66
shake_text = false;
67
shake_amount = 1;
68
set_text_speed = false;
69
text_speed = 1;
70
desaturate_room = false;
71
saturate_room = false;
72
blood_drip = false;
73
noelle_x = 497;
74
noelle_y = 512;
75
debug_skip = false;
76
krishandshakecon = 0;
77
krishandshakeval = 0.1;
78
ominousfademarker1 = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(0, 0, spr_vfx_ominousFade);
79
ominousfademarker1.image_alpha = 0;
80
ominousfademarker2 = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(0, 0, spr_vfx_ominousFade);
81
ominousfademarker2.image_alpha = 0;
82
ominousfademarker3 = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(0, 0, spr_vfx_ominousFade);
83
ominousfademarker3.image_alpha = 0;
84
ominousfademarker1.depth = 6000;
85
ominousfademarker2.depth = 6000;
86
ominousfademarker3.depth = 6000;
87
fademarksin = 0;
88
fadesinamt = 1;
89
idealfadesinamt = 1;
90
fadecon = 0;