1 |
if (is_active) |
2 |
{ |
3 |
if (type == "auto") |
4 |
{ |
5 |
auto_timer++; |
6 |
if (auto_timer >= 120) |
7 |
{ |
8 |
is_active = false; |
9 |
global.savedata_pause = false; |
10 |
instance_destroy(); |
11 |
} |
12 |
} |
13 |
xx = 0; |
14 |
yy = 0; |
15 |
draw_set_font(font_face); |
16 |
draw_set_alpha(1); |
17 |
draw_set_color(c_white); |
18 |
var left_x = xx + 58; |
19 |
var top_y = yy + 78; |
20 |
draw_rectangle(left_x * scale, top_y * scale, (left_x * scale) + (204 * scale), (top_y * scale) + (84 * scale), false); |
21 |
draw_set_color(c_black); |
22 |
left_x = xx + 60; |
23 |
top_y = yy + 80; |
24 |
draw_rectangle(left_x * scale, top_y * scale, (left_x * scale) + (200 * scale), (top_y * scale) + (80 * scale), false); |
25 |
draw_set_halign(fa_center); |
26 |
draw_set_color(c_white); |
27 |
draw_text_transformed((left_x * scale) + (100 * scale), yy + (100 * scale), string_hash_to_newline(window_text), scale, scale, 0); |
28 |
if (type == "default") |
29 |
{ |
30 |
draw_sprite_ext(spr_heartsmall, 0, xx + (138 * scale), yy + (139 * scale), scale, scale, 0, c_white, 1); |
31 |
draw_set_color(c_yellow); |
32 |
draw_text_transformed((left_x * scale) + (100 * scale), (yy * scale) + (135 * scale), string_hash_to_newline("OK"), scale, scale, 0); |
33 |
draw_set_color(c_white); |
34 |
} |
35 |
draw_set_halign(fa_left); |
36 |
} |