Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_choicer_neo_Draw_0

(view raw script w/o annotations or w/e)
1
if (canchoose == 1)
2
{
3
    scr_84_set_draw_font
scr_84_set_draw_font

function scr_84_set_draw_font(arg0) { global.chemg_font = arg0; draw_set_font(scr_84_get_font(arg0)); }
((dar == 1) ? "main" : "mainbig");
4
    textx = xx;
5
    texty = yy;
6
    for (i = 0; i < (choicetotal + 1); i += 1)
7
    {
8
        draw_set_color((mychoice == i) ? c_yellow : c_white);
9
        textx = textposx[i];
10
        texty = textposy[i];
11
        draw_text(textx, texty, string_hash_to_newline(global.choicemsg[i]));
12
    }
13
    draw_sprite_ext(spr_heartsmall, 0, hx, hy, image_xscale, image_yscale, 0, c_white, 1);
14
}