1 |
if drawing_poster |
2 |
{ |
3 |
draw_set_color(c_black) |
4 |
draw_set_alpha(draw_alpha / 2) |
5 |
draw_rectangle(0, 0, 320, 240, 0) |
6 |
draw_set_color(c_white) |
7 |
draw_set_alpha(draw_alpha) |
8 |
var subimg = 0 |
9 |
if (global.dunes_flag[24] == 2 || global.dunes_flag[40] > 0) |
10 |
subimg = 1 |
11 |
if (global.route == 3) |
12 |
subimg = 0 |
13 |
draw_sprite(spr_poster_board, subimg, 160, 120) |
14 |
if (global.dunes_flag[35] < 1 && global.route != 3 && global.dunes_flag[40] == 0) |
15 |
{ |
16 |
switch global.dunes_flag[20] |
17 |
{ |
18 |
case 3: |
19 |
draw_sprite(spr_poster_board_BREAK_2_OVERLAY, 0, 160, 120) |
20 |
break |
21 |
case 5: |
22 |
draw_sprite(spr_poster_board_BREAK_3_OVERLAY, 0, 160, 120) |
23 |
break |
24 |
case 7: |
25 |
draw_sprite(spr_poster_board_BREAK_4_OVERLAY, 0, 160, 120) |
26 |
break |
27 |
case 9: |
28 |
draw_sprite(spr_poster_board_BREAK_5_OVERLAY, 0, 160, 120) |
29 |
break |
30 |
} |
31 |
|
32 |
} |
33 |
else |
34 |
draw_sprite(spr_poster_board_BREAK_6_OVERLAY, 0, 160, 120) |
35 |
if (global.fun_value >= 63 && global.fun_value <= 64 && subimg == 0) |
36 |
draw_sprite(spr_poster_board_mystery_overlay, 0, 160, 120) |
37 |
draw_set_alpha(1) |
38 |
} |