|
1
|
draw_self();
|
|
2
|
if (drawblue)
|
|
3
|
{
|
|
4
|
draw_set_color(#1E76F0);
|
|
5
|
ossafe_fill_rectangle(camerax(), cameray(), camerax() + room_width, cameray() + room_height, 0);
|
|
6
|
draw_set_color(c_white);
|
|
7
|
obj_gameshow_swordroute.screencolor = #1E76F0;
|
|
8
|
}
|
|
9
|
if (draw_static)
|
|
10
|
{
|
|
11
|
statictimer += 0.5;
|
|
12
|
ossafe_fill_rectangle(camerax(), cameray(), camerax() + room_width, cameray() + room_height, 0);
|
|
13
|
var staticalpha = 0.25;
|
|
14
|
draw_sprite_ext(spr_static_effect, statictimer, 64, 32, 2, 2, 0, c_white, staticalpha);
|
|
15
|
draw_sprite_ext(spr_static_effect, statictimer, 64, 288, 2, 2, 0, c_white, staticalpha);
|
|
16
|
draw_sprite_ext(spr_static_effect, statictimer, 320, 32, 2, 2, 0, c_white, staticalpha);
|
|
17
|
draw_sprite_ext(spr_static_effect, statictimer, 320, 288, 2, 2, 0, c_white, staticalpha);
|
|
18
|
draw_sprite_ext(spr_static_effect, statictimer - 0.25, 64, 32, 2, 2, 0, c_white, staticalpha);
|
|
19
|
draw_sprite_ext(spr_static_effect, statictimer - 0.25, 64, 288, 2, 2, 0, c_white, staticalpha);
|
|
20
|
draw_sprite_ext(spr_static_effect, statictimer - 0.25, 320, 32, 2, 2, 0, c_white, staticalpha);
|
|
21
|
draw_sprite_ext(spr_static_effect, statictimer - 0.25, 320, 288, 2, 2, 0, c_white, staticalpha);
|
|
22
|
obj_gameshow_swordroute.screencolor = #ADC7EB;
|
|
23
|
}
|
|
24
|
if (drawblack)
|
|
25
|
{
|
|
26
|
draw_set_color(c_black);
|
|
27
|
ossafe_fill_rectangle(camerax(), cameray(), camerax() + room_width, cameray() + room_height, 0);
|
|
28
|
draw_set_color(c_white);
|
|
29
|
obj_gameshow_swordroute.screencolor = c_black;
|
|
30
|
}
|