Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_grabbleObject_Create_0

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

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
2
grabcount = 0;
3
breakable = 1;
4
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();
}
();
5
throwdist = 3;
6
snap = true;
7
extflag = "";
8
if (room == room_board_3b)
9
{
10
    sprite_index = spr_board_key;
11
    image_index = 6;
12
    image_speed = 0;
13
    breakable = false;
14
}
15
cangrab = true;