Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_shadow_mantle_cloud_bullet_Step_0

(view raw script w/o annotations or w/e)
1
if (i_ex(obj_board_camera))
2
{
3
    if (obj_board_camera.con != 0)
4
        instance_destroy();
5
}
6
timer++;
7
if (timer == 30)
8
    instance_destroy();
9
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();
}
();
10
for (i = 5; i > 0; i -= 1)
11
{
12
    remx[i] = remx[i - 1];
13
    remy[i] = remy[i - 1];
14
}
15
remx[0] = x;
16
remy[0] = y;