Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_breakpoof_Draw_0

(view raw script w/o annotations or w/e)
1
if (ignoredepth == 0)
2
    
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();
}
();
3
if (flip)
4
    draw_sprite_ext(sprite_index, image_index, x + 32, y, -2, 2, image_angle, image_blend, image_alpha);
5
else
6
    draw_self();