Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_text_sell_confirmation_shop_Draw_0

(view raw script w/o annotations or w/e)
1
var sell_shop_screen_number = global.sell_shop_screen_number
2
draw_set_font(fnt_battle)
3
draw_set_color(c_white)
4
draw_set_halign(fa_left)
5
draw_set_valign(fa_top)
6
draw_text((obj_talk_screen_shop.x + 30), (obj_talk_screen_shop.y + 10), string_hash_to_newline("* Will you sell the " + global.item_slot[sell_shop_screen_number] + "?"))
7
draw_text((obj_talk_screen_shop.x + 60), (obj_talk_screen_shop.y + 95), string_hash_to_newline("Yes"))
8
draw_set_halign(fa_right)
9
draw_text((obj_talk_screen_shop.bbox_right - 60), (obj_talk_screen_shop.y + 95), string_hash_to_newline("No"))
10
draw_set_halign(fa_left)