Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_text_battle_move_selected_item_page_count_Draw_0

(view raw script w/o annotations or w/e)
1
draw_set_font(global.font_type_text)
2
draw_set_color(c_white)
3
draw_set_halign(fa_left)
4
draw_set_valign(fa_top)
5
var item_page_count = global.item_page_count
6
if (item_page_count == 1)
7
    draw_text((obj_dialogue_box_battle.x + 354), (obj_dialogue_box_battle.y + 84), string_hash_to_newline("PAGE 1"))
8
else if (item_page_count == 2)
9
    draw_text((obj_dialogue_box_battle.x + 354), (obj_dialogue_box_battle.y + 84), string_hash_to_newline("PAGE 2"))