Undertale script viewer

← back to main script listing

gml_Object_obj_labcamera_Draw_0

(view raw script w/o annotations or w/e)
1
if (drawnlab == 1 && global.entrance != 3)
2
    draw_sprite(sprite_index, image_index, x, y);
3
draw_set_color(c_aqua);
4
if (altglow == 0)
5
    altglow = 1;
6
else
7
    altglow = 0;
8
if (altglow == 0)
9
    draw_set_alpha(0.1);
10
else
11
    draw_set_alpha(0.3);
12
ossafe_fill_rectangle(x, y, x + 59, y + 39);
13
draw_set_alpha(1);
14
draw_sprite(spr_bigmonitor, 0, x, y);