1 |
con = -1; |
2 |
fade_timer = 0; |
3 |
sold_out = false; |
4 |
plugboynpc = instance_create(142, 304, obj_npc_room); |
5 |
plugboynpc.sprite_index = spr_npc_plugboy_static; |
6 |
if (global.plot < 60) |
7 |
{ |
8 |
capnnpc = instance_create(195, 137, obj_npc_room_animated); |
9 |
capnnpc.sprite_index = spr_npc_hatguy; |
10 |
kknpc = instance_create(355, 113, obj_npc_room_animated); |
11 |
kknpc.sprite_index = spr_npc_kk; |
12 |
rebelnpc = instance_create(430, 310, obj_npc_room); |
13 |
rebelnpc.sprite_index = spr_npc_plugboy_bandana; |
14 |
} |
15 |
else |
16 |
{ |
17 |
if (global.flag[416 field_tempsave] == 0) |
18 |
{ |
19 |
global.flag[416 field_tempsave] = 1; |
20 |
scr_tempsavescr_tempsavefunction scr_tempsave()
{
filechoicebk2 = global.filechoice;
global.filechoice = 9;
var is_valid = scr_saveprocess(global.filechoice);
global.filechoice = filechoicebk2;
if (!is_valid)
{
var error_message = instance_create(0, 0, obj_savedata_error);
error_message.error_type = "temp_save_failed";
if (room != PLACE_MENU)
error_message.type = "auto";
}
return is_valid;
} (); |
21 |
} |
22 |
instance_destroy(); |
23 |
} |