Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_treasure_room_Draw_0

(view raw script w/o annotations or w/e)
1
draw_self();
2
if (
scr_debug
scr_debug

function
scr_debug()
{ if (global.debug == 1) return 1; }
())
3
{
4
    if (flag)
5
    {
6
        draw_set_font(fnt_small);
7
        draw_text_outline(x, y, "needs\nitem");
8
    }
9
}