Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_dw_church_bellhall_curtain_vfx_Create_0

(view raw script w/o annotations or w/e)
1
curtain_x_pos = 300;
2
scr_depth
scr_depth

function
scr_depth(arg0 = id, arg1 = 0)
{ with (arg0) depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10)); }
();
3
curtain_rope = 
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; }
(242, cameray() - 190, spr_dw_church_bellhall_rope);
4
curtain_rope.depth = 1100000;
5
var i = 0;
6
while (i < 6)
7
    i++;
8
curtspace = 40;
9
init = 0;
10
curtain_open = false;
11
curtain_open_more = false;
12
curtain_open_timer = 0;
13
rope_pull = false;
14
rope_pull_count = 0;