Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_blue_cat_Draw_0

(view raw script w/o annotations or w/e)
1
draw_sprite_ext(sprite_index, image_index, x, y, xscale, 1, angle, image_blend, 1);
2
if (
scr_debug
scr_debug

function
scr_debug()
{ if (global.debug == 1) return 1; }
())
3
{
4
    draw_set_color(c_yellow);
5
    ossafe_fill_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, 1);
6
    draw_set_color(c_red);
7
    ossafe_fill_rectangle(bbox_left + boxmargin, bbox_top + boxmargin + 10, bbox_right - boxmargin, bbox_bottom - boxmargin - 4, 1);
8
    draw_set_color(-1);
9
}