Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_text_item_talk_shop_Draw_0

(view raw script w/o annotations or w/e)
1
draw_set_font(fnt_battle)
2
draw_set_color(c_white)
3
draw_set_halign(fa_left)
4
draw_set_valign(fa_top)
5
for (i = 1; i < array_length_1d(global.shop_talk); i += 1)
6
    draw_text((obj_main_screen_shop.x + 30), (obj_main_screen_shop.y + 10 + (i - 1) * 20), string_hash_to_newline(string(global.shop_talk[i])))
7
draw_text((obj_main_screen_shop.x + 30), (obj_main_screen_shop.y + 90), string_hash_to_newline("Exit"))