1 |
global.interact = 1; |
2 |
if (keyboard_check(vk_escape)) |
3 |
{ |
4 |
if (global.osflavor <= 2) |
5 |
game_end(); |
6 |
} |
7 |
window_set_caption(" "); |
8 |
if (con == 1) |
9 |
{ |
10 |
global.typer = 106; |
11 |
global.facechoice = 0; |
12 |
global.msc = 888; |
13 |
con = 2; |
14 |
writer = instance_create(10, 150, OBJ_WRITER); |
15 |
} |
16 |
if (con == 2 && instance_exists(OBJ_WRITER) == 0) |
17 |
{ |
18 |
con = 3; |
19 |
alarm[4] = 180; |
20 |
} |
21 |
if (con == 4) |
22 |
{ |
23 |
global.typer = 106; |
24 |
global.facechoice = 0; |
25 |
global.msc = 890; |
26 |
con = 5; |
27 |
writer = instance_create(10, 150, OBJ_WRITER); |
28 |
} |
29 |
if (con == 5 && instance_exists(OBJ_WRITER) == 0) |
30 |
{ |
31 |
if (ossafe_file_exists("system_information_962")) |
32 |
ossafe_file_delete("system_information_962"); |
33 |
gx = ossafe_file_text_open_write("system_information_963"); |
34 |
ossafe_file_text_write_string(gx, "b"); |
35 |
ossafe_file_text_close(gx); |
36 |
if (global.steam_int == 1) |
37 |
{ |
38 |
if (steam_file_exists("system_information_962")) |
39 |
steam_file_delete("system_information_962"); |
40 |
steam_file_write_file("system_information_962", "system_information_962"); |
41 |
} |
42 |
ossafe_savedata_save(); |
43 |
caster_free(all); |
44 |
instance_create(0, 0, obj_whitefader); |
45 |
con = 6; |
46 |
if (global.osflavor <= 2) |
47 |
alarm[4] = 20; |
48 |
else |
49 |
alarm[4] = 180; |
50 |
} |
51 |
if (con == 7) |
52 |
{ |
53 |
if (global.savedata_async_id == -1) |
54 |
ossafe_game_end(); |
55 |
} |