1 |
cutscene_timer = 0; |
2 |
scene = 0; |
3 |
if (global.geno_complete[3] == true) |
4 |
{ |
5 |
instance_destroy(); |
6 |
instance_create(x, y, obj_steamworks_04_controller_geno); |
7 |
exit; |
8 |
} |
9 |
if (global.route == 1) |
10 |
{ |
11 |
instance_destroy(); |
12 |
instance_create(x, y, obj_steamworks_04_controller_neutral); |
13 |
exit; |
14 |
} |
15 |
if (global.sworks_flag[0] == 2) |
16 |
{ |
17 |
actor_ceroba = instance_create(220, 405, obj_ceroba_npc); |
18 |
actor_ceroba.npc_direction = "up"; |
19 |
actor_clover = instance_create(obj_pl.x, obj_pl.y, obj_player_npc); |
20 |
actor_clover.npc_direction = "up"; |
21 |
} |
22 |
else if (global.sworks_flag[0] == 3 && global.sworks_flag[1] < 3) |
23 |
{ |
24 |
actor_ceroba = instance_create(224, 360, obj_ceroba_npc); |
25 |
actor_ceroba.npc_direction = "up"; |
26 |
} |
27 |
else if (global.sworks_flag[1] == 3 || global.sworks_flag[1] == 4) |
28 |
{ |
29 |
actor_ceroba = instance_create(224, 360, obj_ceroba_npc); |
30 |
actor_ceroba.npc_direction = "up"; |
31 |
__background_set(e__BG.Index, 0, 2566); |
32 |
obj_pl.image_alpha = 0; |
33 |
scr_cutscene_start(); |
34 |
} |
35 |
else |
36 |
{ |
37 |
__background_set(e__BG.Index, 0, 2566); |
38 |
instance_destroy(); |
39 |
} |
40 |
|
41 |
enum e__BG |
42 |
{ |
43 |
Visible, |
44 |
Foreground, |
45 |
Index, |
46 |
X, |
47 |
Y, |
48 |
Width, |
49 |
Height, |
50 |
HTiled, |
51 |
VTiled, |
52 |
XScale, |
53 |
YScale, |
54 |
HSpeed, |
55 |
VSpeed, |
56 |
Blend, |
57 |
Alpha |
58 |
} |