1 |
if (instance_exists(obj_mainchara) && obj_mainchara.x <= 1920 && global.flag[373 unlocked_east_basement] == 0 && con == 0) |
2 |
{ |
3 |
forcefield = instance_create(2280, 400, obj_forcefield); |
4 |
forcefield.image_xscale = 2; |
5 |
forcefield.image_yscale = 4; |
6 |
forcefield.black_override = 1; |
7 |
forcefield.canttalk = 1; |
8 |
layer_set_visible("TILES_Edge_Hidden", true); |
9 |
con = 1; |
10 |
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;
} (); |
11 |
} |
12 |
if (con == 1) |
13 |
{ |
14 |
if (instance_exists(obj_mainchara) && obj_mainchara.x >= 2080) |
15 |
{ |
16 |
face = instance_create(1340, 320, DEVICE_FRIEND); |
17 |
con = 2; |
18 |
} |
19 |
} |
20 |
if (i_ex(forcefield) && global.flag[373 unlocked_east_basement] == 1) |
21 |
{ |
22 |
layer_set_visible("TILES_Edge_Hidden", false); |
23 |
with (forcefield) |
24 |
instance_destroy(); |
25 |
} |