Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_encounter_incenseturtle_Draw_0

(view raw script w/o annotations or w/e)
1
draw_sprite_ext(spr_pxwhite, 0, x + 2, y, 4, -960, 0, c_black, 1);
2
draw_sprite_ext(sprite_index, 0, x, y, 2, 2, 0, c_black, image_alpha);
3
if (
scr_debug
scr_debug

function
scr_debug()
{ if (global.debug == 1) return 1; }
())
4
{
5
    draw_set_color(-1);
6
    var drawrect = false;
7
    if (drawrect)
8
    {
9
        var xx = x - 32;
10
        var yy = y;
11
        ossafe_fill_rectangle(xx, yy, xx + 68, yy + 36, 1);
12
        with (obj_mainchara)
13
            ossafe_fill_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, 1);
14
    }
15
}
16
draw_set_color(-1);