Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_cactus_Create_0

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

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
3
damage = 1;
4
mysolid = 0;
5
init = 0;
6
myhealth = 3;
7
hitbuff = 0;
8
active = true;
9
kris = 0;
10
buffer = 0;
11
defense = 2;
12
sndbuff = 0;
13
wither = 0;
14
destroyonhit = false;
15
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();
}
();
16
image_speed = 0;
17
image_index = choose(0, 1);
18
timer = 0;
19
spineindex = 0;
20
krisonly = false;