Undertale script viewer

← back to main script listing

gml_Object_obj_asrielb_Draw_0

(view raw script w/o annotations or w/e)
1
if (global.debug == 1)
2
{
3
    if (keyboard_check_pressed(ord("U")))
4
        turns -= 1;
5
    if (keyboard_check_pressed(ord("I")))
6
        turns += 1;
7
}
8
if (trcon >= 3)
9
{
10
    if (instance_exists(obj_screenwhiter))
11
        depth = obj_screenwhiter.depth + 2;
12
    draw_set_color(c_black);
13
    ossafe_fill_rectangle(-100, -100, 800, 800);
14
}