Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_elevator_controller_Draw_0

related scripts: Alarm_0 • Alarm_1 • Alarm_2 • Alarm_3 • Create_0 • Draw_0 • Other_4 • Other_5 • Step_0

(view raw script w/o annotations or w/e)
1
if (darkness_alpha > 0)
2
{
3
    draw_set_alpha(darkness_alpha);
4
    draw_set_color(c_black);
5
    draw_rectangle(0, 0, room_width, room_height, false);
6
    draw_set_alpha(1);
7
}