Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_puzzlebombbullet_Create_0

(view raw script w/o annotations or w/e)
1
image_speed = 0.25;
2
image_xscale = 2;
3
image_yscale = 2;
4
timer = 0;
5
con = 0;
6
damage = 2;
7
mysolid = 0;
8
active_hitbox = true;
9
destroyonhit = false;
10
if (i_ex(obj_shadow_mantle_enemy))
11
    depth = obj_shadow_mantle_enemy.depth - 1;
12
else
13
    
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();
}
();
14
for (i = 0; i < 5; i += 1)
15
{
16
    remx[i] = x;
17
    remy[i] = y;
18
}
19
krisonly = false;