Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_text_buy_confirmation_shop_Draw_0

(view raw script w/o annotations or w/e)
1
var buy_shop_screen_number = global.buy_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_main_screen_shop.x + 230), (obj_main_screen_shop.y + 10), string_hash_to_newline("Buy it for#" + string(global.shop_gold_requirement[buy_shop_screen_number]) + "G ?"))
7
draw_text((obj_main_screen_shop.x + 250), (obj_main_screen_shop.y + 50), string_hash_to_newline("Yes"))
8
draw_text((obj_main_screen_shop.x + 250), (obj_main_screen_shop.y + 65), string_hash_to_newline("No"))