1 |
if live_call() |
2 |
return global.live_result; |
3 |
with (other) |
4 |
{ |
5 |
draw_set_font(fnt_main) |
6 |
draw_set_halign(fa_left) |
7 |
if (room == rm_mainmenu) |
8 |
{ |
9 |
if (p[1] == true) |
10 |
draw_set_color(c_yellow) |
11 |
draw_text(((__view_get((0 << 0), 0)) + 85), 120, string_hash_to_newline("Continue")) |
12 |
draw_set_color(c_white) |
13 |
if (p[2] == true) |
14 |
draw_set_color(c_yellow) |
15 |
draw_text(((__view_get((0 << 0), 0)) + 175), 120, string_hash_to_newline("Reset")) |
16 |
draw_set_color(c_white) |
17 |
if (p[3] == true) |
18 |
draw_set_color(c_yellow) |
19 |
draw_set_halign(fa_center) |
20 |
draw_text(((__view_get((0 << 0), 0)) + 160), 140, string_hash_to_newline("Config")) |
21 |
draw_set_color(c_white) |
22 |
draw_set_color(c_white) |
23 |
draw_set_halign(fa_left) |
24 |
ini_open("Save.sav") |
25 |
draw_text(((__view_get((0 << 0), 0)) + 65), 60, string_hash_to_newline("Clover")) |
26 |
draw_text(((__view_get((0 << 0), 0)) + 145), 60, string_hash_to_newline("LV" + (string(ini_read_real("Save1", "LV", 1))))) |
27 |
var play_time = ini_read_real("Playtime", "Seconds", 0) |
28 |
var string_minutes = string(play_time div 60) |
29 |
var string_seconds = string(play_time % 60) |
30 |
if (real(string_minutes) < 10) |
31 |
string_minutes = "0" + string_minutes |
32 |
if (real(string_seconds) < 10) |
33 |
string_seconds = "0" + string_seconds |
34 |
draw_text(((__view_get((0 << 0), 0)) + 210), 60, string_hash_to_newline(string_minutes + ":" + string_seconds)) |
35 |
draw_text(((__view_get((0 << 0), 0)) + 65), 80, string_hash_to_newline(ini_read_string("Save1", "rmName", "Room Name"))) |
36 |
ini_close() |
37 |
} |
38 |
else |
39 |
{ |
40 |
draw_set_font(fnt_battle) |
41 |
draw_set_color(c_white) |
42 |
draw_set_halign(fa_center) |
43 |
if (p[1] == true) |
44 |
draw_set_color(c_yellow) |
45 |
draw_text(120, 140, string_hash_to_newline("RESET")) |
46 |
draw_set_color(c_white) |
47 |
if (p[2] == true) |
48 |
draw_set_color(c_yellow) |
49 |
draw_text(200, 140, string_hash_to_newline("WAIT")) |
50 |
draw_set_halign(fa_left) |
51 |
draw_set_color(c_white) |
52 |
} |
53 |
} |