Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dialogue_battle_action_selected_item_2_Draw_0

(view raw script w/o annotations or w/e)
1
var item_slot = global.item_slot[2];
2
draw_set_font(fnt_determination_mono);
3
draw_set_color(c_white);
4
draw_set_halign(fa_left);
5
draw_set_valign(fa_top);
6
script_execute(scr_draw_text_effect_twitchy_textbox_battle);
7
if (message_end > 0)
8
{
9
    if (item_slot == "Hot Dog...?")
10
    {
11
        battle_item_use_string = "* You eat the " + string(item_slot);
12
        script_execute(scr_draw_text_effect_twitchy_textbox_battle_item_use);
13
    }
14
}