Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_store_key_Create_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
cost = 1000;
3
image_index = 6;
4
image_speed = 0;
5
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
6
scr_depth_board
scr_depth_board

function
scr_depth_board()
{ depth = 1000000 - ((y * 10) + ((sprite_height - sprite_yoffset) * 10)); } function scr_board_depth() {
scr_depth_board();
}
();
7
kris = 0;
8
mytype = "key";
9
snap = true;
10
throwdist = 3;
11
init = 0;
12
buffer = 0;