Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_battleintroduction_Draw_0

(view raw script w/o annotations or w/e)
1
if (drawoverlay == true)
2
{
3
    var lightColor = 13088418;
4
    var darkColor = 6242121;
5
    tone_on(tone_saturation, tone_brightness, tone_factor, darkColor, lightColor);
6
    draw_sprite_ext(global.screenshot, 0, camerax(), cameray(), 1, 1, 0, c_white, 1);
7
    tone_off();
8
    draw_set_alpha(grayalpha);
9
    draw_set_color(c_gray);
10
    ossafe_fill_rectangle(camerax(), cameray(), camerax() + 640, cameray() + 480, 0);
11
    draw_set_color(c_white);
12
    draw_set_alpha(1);
13
    staticindex += 0.25;
14
    draw_sprite_tiled_ext(spr_static_effect, staticindex - 0.5, 0, 0, 2, 2, c_white, staticalpha);
15
    draw_sprite_tiled_ext(spr_static_effect, staticindex, 0, 0, 2, 2, c_white, staticalpha);
16
    draw_set_alpha(blackalpha);
17
    draw_set_color(c_black);
18
    ossafe_fill_rectangle(camerax(), cameray(), camerax() + 640, cameray() + 480, 0);
19
    draw_set_color(c_white);
20
    draw_set_alpha(1);
21
}