Undertale script viewer

← back to main script listing

gml_Object_obj_asgoreb_Draw_0

related scripts: Alarm_3 • Alarm_5 • Alarm_6 • Alarm_8 • Alarm_9 • Create_0 • Draw_0 • Step_0

(view raw script w/o annotations or w/e)
1
if (global.debug == 1)
2
{
3
    draw_set_color(c_red);
4
    draw_text(0, 0, turns);
5
    if (keyboard_check_pressed(ord("S")))
6
        turns += 1;
7
    if (keyboard_check_pressed(ord("A")))
8
        turns -= 1;
9
}