Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_bookshelf_moveable2x2_Create_0

(view raw script w/o annotations or w/e)
1
scr_size
scr_size

function
scr_size(arg0 = image_xscale, arg1 = image_yscale, arg2 = id)
{ with (arg2) { image_xscale = arg0; image_yscale = arg1; } }
(2, 2);
2
siner = 0;
3
alpha = 0;
4
base = instance_create(x, y, obj_solid_temp);
5
base.extflag = "FLOOR1";
6
base.negasoliddisable = true;
7
scr_size
scr_size

function
scr_size(arg0 = image_xscale, arg1 = image_yscale, arg2 = id)
{ with (arg2) { image_xscale = arg0; image_yscale = arg1; } }
(2, 2, base);
8
con = 0;
9
timer = 0;
10
siner = 0;
11
dir = 0;
12
config = 0;
13
init = 0;
14
block[0] = 0;
15
edge[0] = 0;
16
image_speed = 0;
17
image_index = 0;
18
scr_depth
scr_depth

function
scr_depth(arg0 = id, arg1 = 0)
{ with (arg0) depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10)); }
();
19
xflag = -4;
20
yflag = -4;
21
flagupdate = 0;
22
resetpos = 0;
23
active = false;
24
icon = -1;