Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_text_use_item_selection_pause_screen_overworld_Draw_0

(view raw script w/o annotations or w/e)
1
var item_slot = global.item_slot[global.item_pause_screen_number]
2
draw_set_font(global.font_type_text_0_5x)
3
draw_set_color(c_white)
4
draw_set_halign(fa_left)
5
draw_set_valign(fa_top)
6
draw_text_ext((obj_dialogue_box_overworld.x + global.text_hdisjoint_overworld_normal), (obj_dialogue_box_overworld.y + global.text_vdisjoint_overworld_normal), string_hash_to_newline(message_draw), global.text_separation_overworld, global.text_linebreak_limit_overworld)
7
if (message_current == con_message_number && con_keep_previous == true && item_category == "consumable")
8
    draw_text_ext((obj_dialogue_box_overworld.x + global.text_hdisjoint_overworld_normal), (obj_dialogue_box_overworld.y + global.text_vdisjoint_overworld_normal), string_hash_to_newline(message[(con_message_number - 1)]), global.text_separation_overworld, global.text_linebreak_limit_overworld)