Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_bookshelf_moveable_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
base = instance_create(x, y, obj_solid_temp);
3
base.extflag = "FLOOR1";
4
base.negasoliddisable = true;
5
scr_size
scr_size

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

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