1 |
draw_set_halign(fa_left) |
2 |
draw_sprite_ext(spr_dialoguebox, 1, x, y, 3.4, 1.3, image_angle, color, image_alpha) |
3 |
draw_sprite_ext(spr_dialoguebox, 0, x, y, 3.3, 1.2, image_angle, image_blend, image_alpha) |
4 |
draw_set_colour(color2) |
5 |
draw_set_font(fnt_main) |
6 |
draw_text((x - 90), (y - 30), string_hash_to_newline("Clover")) |
7 |
draw_text((x - 20), (y - 30), string_hash_to_newline("LV " + string(global.player_level))) |
8 |
var string_minutes = string(global.elapsed_seconds div 60) |
9 |
var string_seconds = string(global.elapsed_seconds % 60) |
10 |
if (real(string_minutes) < 10) |
11 |
string_minutes = "0" + string_minutes |
12 |
if (real(string_seconds) < 10) |
13 |
string_seconds = "0" + string_seconds |
14 |
draw_text((x + 30), (y - 30), string_hash_to_newline(string_minutes + ":" + string_seconds)) |
15 |
ini_open("Save.sav") |
16 |
draw_text((x - 90), (y - 10), string_hash_to_newline(ini_read_string("Save1", "rmName", "Room Name"))) |
17 |
ini_close() |
18 |
if (statBox == true) |
19 |
instance_destroy() |
20 |
if (p1 == true) |
21 |
{ |
22 |
draw_set_color(color2) |
23 |
draw_set_font(fnt_main) |
24 |
if (statBox == false && itemBox == false) |
25 |
draw_sprite(encounter_heart, 0, (x - 90), (y + 23)) |
26 |
draw_text((x - 80), (y + 15), string_hash_to_newline("Save")) |
27 |
} |
28 |
if (p1 == false) |
29 |
{ |
30 |
draw_set_color(color2) |
31 |
draw_set_font(fnt_main) |
32 |
draw_text((x - 80), (y + 15), string_hash_to_newline("Save")) |
33 |
} |
34 |
if (p2 == true) |
35 |
{ |
36 |
draw_set_color(color2) |
37 |
draw_set_font(fnt_main) |
38 |
if (statBox == false && itemBox == false) |
39 |
draw_sprite(encounter_heart, 0, x, (y + 23)) |
40 |
draw_text((x + 10), (y + 15), string_hash_to_newline("Return")) |
41 |
} |
42 |
if (p2 == false) |
43 |
{ |
44 |
draw_set_color(color2) |
45 |
draw_set_font(fnt_main) |
46 |
draw_text((x + 10), (y + 15), string_hash_to_newline("Return")) |
47 |
} |