Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_debug_battle_old_Draw_0

(view raw script w/o annotations or w/e)
1
draw_set_font(global.font_type_ui)
2
draw_set_color(c_white)
3
draw_set_halign(fa_left)
4
draw_set_valign(fa_top)
5
if (global.debug_toggle == true)
6
    draw_text(((__view_get((0 << 0), 0)) + 10), ((__view_get((1 << 0), 0)) + 10), string_hash_to_newline("DEBUG MODE:#TOGGLE: 0: ON#FPS: " + string(fps) + "#FPS REAL: " + string(fps_real)))
7
else
8
    draw_text(((__view_get((0 << 0), 0)) + 10), ((__view_get((1 << 0), 0)) + 10), string_hash_to_newline("DEBUG MODE:#TOGGLE: 0: OFF"))