Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_debug_overworld_old_Draw_0

(view raw script w/o annotations or w/e)
1
draw_set_font(global.font_type_ui_0_5x)
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#CONTROLS:#1/2: BATTLE LEFT/RIGHT#3: START BATTLE: " + enemy[enemy_selection_number] + "#4/5: SHOP LEFT/RIGHT#6: START SHOP: " + shop[shop_selection_number] + "#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"))