Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dialogue_battle_action_selected_item_Draw_0

(view raw script w/o annotations or w/e)
1
var item_slot = global.item_slot[global.item_number_use]
2
draw_set_font(global.font_type_text)
3
draw_set_color(c_white)
4
draw_set_halign(fa_left)
5
draw_set_valign(fa_top)
6
script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle)
7
if (message_current == con_message_number && con_keep_previous == true && item_category == "consumable")
8
{
9
    battle_item_use_string = message[(con_message_number - 1)]
10
    script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_item_use)
11
}