1 |
if live_call() |
2 |
return global.live_result; |
3 |
draw_set_font(fnt_main) |
4 |
draw_set_color(message_color) |
5 |
draw_set_halign(fa_left) |
6 |
if (letter_array == -1) |
7 |
return; |
8 |
for (var i = 1; i <= letter_current; i++) |
9 |
{ |
10 |
text_x_mod = 0 |
11 |
text_y_mod = 0 |
12 |
if (shake_intensity > 0) |
13 |
{ |
14 |
text_x_mod = random_range((-shake_intensity), shake_intensity) |
15 |
text_y_mod = random_range((-shake_intensity), shake_intensity) |
16 |
} |
17 |
draw_set_alpha(draw_alpha * text_alpha[i]) |
18 |
draw_text_ext((camera_get_view_x(view_camera[0]) + text_x[i] + text_x_mod), (camera_get_view_y(view_camera[0]) + text_y[i] + text_y_mod), string_hash_to_newline(letter_array[i]), 20, -1) |
19 |
} |
20 |
draw_set_alpha(1) |