Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_dw_churchc_insidetitan_Create_0

(view raw script w/o annotations or w/e)
1
background = -4;
2
con = 0;
3
customcon = 0;
4
toggle = -1;
5
spawner = 0;
6
spawntime = 2;
7
depth = -1000;
8
spread = 350;
9
active = false;
10
kris = 
scr_custom_marker_depth
scr_custom_marker_depth

function
scr_custom_marker_depth(arg0, arg1, arg2, arg3, arg4)
{ thismarker = instance_create_depth(arg0, arg1, arg2, arg3); with (thismarker) { sprite_index = arg4; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(camerax() + 220, cameray() + 60, depth, 89, spr_kris_dw_plummet);
11
kris.sub_sprites = 8;
12
kris.image_speed = 0.6;
13
kris.sub_index = 1;
14
susie = 
scr_custom_marker_depth
scr_custom_marker_depth

function
scr_custom_marker_depth(arg0, arg1, arg2, arg3, arg4)
{ thismarker = instance_create_depth(arg0, arg1, arg2, arg3); with (thismarker) { sprite_index = arg4; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(camerax() + 420, cameray() + 60, depth, 89, spr_susie_dw_plummet);
15
susie.sub_sprites = 8;
16
susie.image_speed = 0.6;
17
susie.sub_index = 7;
18
kris_over = 
scr_custom_marker_depth
scr_custom_marker_depth

function
scr_custom_marker_depth(arg0, arg1, arg2, arg3, arg4)
{ thismarker = instance_create_depth(arg0, arg1, arg2, arg3); with (thismarker) { sprite_index = arg4; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(camerax() + 220, cameray() + 60, depth, 89, spr_kris_dw_plummet_stark);
19
kris_over.image_alpha = 0;
20
susie_over = 
scr_custom_marker_depth
scr_custom_marker_depth

function
scr_custom_marker_depth(arg0, arg1, arg2, arg3, arg4)
{ thismarker = instance_create_depth(arg0, arg1, arg2, arg3); with (thismarker) { sprite_index = arg4; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(camerax() + 420, cameray() + 60, depth, 89, spr_susie_dw_plummet_stark);
21
susie_over.image_alpha = 0;
22
heart = instance_create_depth(x, y, depth - 1, obj_titan_heartshine);
23
fade = instance_create(0, 0, obj_marker);
24
fade.sprite_index = spr_whitepx_10;
25
fade.image_blend = c_black;
26
fade.image_xscale = 64;
27
fade.image_yscale = 48;
28
fade.depth = depth - 1000;
29
heart.visible = false;
30
rumble = -4;
31
debug_timer = -1;
32
fallspeed = 2;
33
kris_y = kris.y;
34
susie_y = susie.y;
35
extra_y = 100;
36
spin = true;
37
siner = -94.24777960769379;
38
sine_speed = 0;
39
shiner = 0;
40
fall_speed = 0;
41
bottom = 360;
42
xoff = 0;
43
shake = 0;
44
gap = 100;
45
kris_angle = -7;
46
susie_angle = -9;