Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_factory_numpad_overlay_Draw_73

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
var number_alpha = 0
4
if instance_exists(obj_factory_03_numpad_number)
5
    number_alpha = obj_factory_03_numpad_number.image_alpha
6
draw_set_color(c_lime)
7
draw_set_font(fnt_battle)
8
draw_set_alpha(number_alpha)
9
draw_text((camera_get_view_x(view_camera[0]) + 146), (camera_get_view_y(view_camera[0]) + 20), entry_number)
10
draw_set_alpha(1)