|
1
|
con = -1;
|
|
2
|
customcon = 0;
|
|
3
|
nisesusie = -1;
|
|
4
|
exitcollider = -1;
|
|
5
|
if (global.chapter != 2 || global.plot >= 105)
|
|
6
|
{
|
|
7
|
if (global.flag[357 recruit_hacker] == 1)
|
|
8
|
{
|
|
9
|
hackernpc = instance_create(98, 320, obj_npc_sign);
|
|
10
|
hackernpc.sprite_index = spr_npc_cursor_walk_right;
|
|
11
|
}
|
|
12
|
if (global.plot >= 120)
|
|
13
|
{
|
|
14
|
if (i_ex(obj_shapepuzzle))
|
|
15
|
{
|
|
16
|
with (obj_shapepuzzle)
|
|
17
|
x = 120;
|
|
18
|
}
|
|
19
|
var puzzle_b = instance_create(260, 280, obj_shapepuzzle);
|
|
20
|
puzzle_b.sprite_index = spr_darkbulb_puzzle1;
|
|
21
|
puzzle_b.image_xscale = 2;
|
|
22
|
puzzle_b.image_yscale = 2;
|
|
23
|
puzzle_b.depth = 100000;
|
|
24
|
var puzzle_c = instance_create(400, 280, obj_shapepuzzle);
|
|
25
|
puzzle_c.sprite_index = spr_darkbulb_puzzle2;
|
|
26
|
puzzle_c.image_xscale = 2;
|
|
27
|
puzzle_c.image_yscale = 2;
|
|
28
|
puzzle_c.depth = 100000;
|
|
29
|
}
|
|
30
|
instance_destroy();
|
|
31
|
}
|
|
32
|
else
|
|
33
|
{
|
|
34
|
scr_losecharscr_losechar
function scr_losechar()
{
global.char[2] = 0;
global.char[1] = 0;
with (obj_darkcontroller)
{
chartotal = 0;
havechar[0] = 0;
havechar[1] = 0;
havechar[2] = 0;
havechar[3] = 0;
for (i = 0; i < 3; i += 1)
{
global.faceaction[i] = 0;
if (global.char[i] != 0)
chartotal += 1;
if (global.char[i] == 1)
{
havechar[0] = 1;
charpos[0] = i;
}
if (global.char[i] == 2)
{
havechar[1] = 1;
charpos[1] = i;
}
if (global.char[i] == 3)
{
havechar[2] = 1;
charpos[2] = i;
}
if (global.char[i] == 4)
{
havechar[3] = 1;
charpos[3] = i;
}
}
}
global.submenu = 0;
global.charselect = -1;
for (i = 0; i < 36; i += 1)
global.submenucoord[i] = 0;
} ();
|
|
35
|
if (instance_exists(obj_caterpillarchara))
|
|
36
|
instance_destroy(obj_caterpillarchara);
|
|
37
|
leftcollider = instance_create(0, 240, obj_soliddark);
|
|
38
|
leftcollider.image_xscale = 2;
|
|
39
|
leftcollider.image_yscale = 2;
|
|
40
|
exitcollider = instance_create(575, 240, obj_soliddark);
|
|
41
|
exitcollider.image_xscale = 2;
|
|
42
|
exitcollider.image_yscale = 2;
|
|
43
|
}
|