Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dev_console_Draw_64

(view raw script w/o annotations or w/e)
1
draw_set_color(c_white)
2
draw_roundrect(18, 8, 302, 62, false)
3
draw_set_color(c_black)
4
draw_roundrect(20, 10, 300, 60, false)
5
draw_set_color(c_lime)
6
draw_set_font(fnt_stats)
7
draw_text(28, 14, instance_selected_name)
8
if (is_array(instance_selected_variables) && array_length(instance_selected_variables) >= 1)
9
{
10
    var variable_name = instance_selected_variables[instance_selected_variable_current]
11
    var variable_value = variable_instance_get(instance_selected, variable_name)
12
    draw_text(28, 30, (variable_name + ":     " + string(variable_value)))
13
}
14
draw_text(28, 46, output)