Deltarune (Chapter 4) 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
    var count = 0;
5
    if (noflag && !tempchest)
6
        draw_text_debug(x, y + (count * 10), "needs flag");
7
    count++;
8
    if (needsitem)
9
        draw_text_debug(x, y + (count * 10), "needs item");
10
    count++;
11
}