1 |
if (global.route == 3) |
2 |
{ |
3 |
instance_destroy(obj_npc_bartender) |
4 |
instance_destroy(obj_saloon_audience) |
5 |
instance_destroy() |
6 |
return; |
7 |
} |
8 |
switch global.dunes_flag[20] |
9 |
{ |
10 |
case 0: |
11 |
instance_create(0, 0, obj_saloon_cutscene_01) |
12 |
break |
13 |
case 1: |
14 |
if (global.dunes_flag[21] >= 1) |
15 |
instance_create(0, 0, obj_saloon_cutscene_02) |
16 |
break |
17 |
case 2: |
18 |
instance_create(0, 0, obj_saloon_cutscene_03) |
19 |
break |
20 |
case 3: |
21 |
instance_create(0, 0, obj_saloon_cutscene_04) |
22 |
instance_create_depth(200, 110, -100, obj_chair_man) |
23 |
break |
24 |
case 5: |
25 |
instance_create(0, 0, obj_saloon_cutscene_05) |
26 |
break |
27 |
case 7: |
28 |
instance_create(0, 0, obj_saloon_cutscene_06) |
29 |
break |
30 |
} |
31 |
|
32 |
if (global.route == 1 && global.sworks_flag[0] > 0 && global.dunes_flag[24] == 1 && global.sworks_flag[61] == 0) |
33 |
{ |
34 |
instance_create_depth(201, 128, -128, obj_npc_moray_guitar) |
35 |
var ace = instance_create_depth(238, 164, -128, obj_npc_ace_backtrack) |
36 |
ace.npc_direction = "up" |
37 |
instance_create_depth(140, 350, -128, obj_npc_mooch_backtrack) |
38 |
instance_create_depth(190, 200, -128, obj_npc_ed_backtrack) |
39 |
var starlo = instance_create_depth(187, 37, -128, obj_npc_starlo_backtrack) |
40 |
var ceroba = instance_create_depth(216, 37, -128, obj_npc_ceroba_backtrack) |
41 |
} |
42 |
else |
43 |
{ |
44 |
switch global.dunes_flag[20] |
45 |
{ |
46 |
case 0: |
47 |
case 1: |
48 |
instance_create(140, 304, obj_npc_producer) |
49 |
instance_create(273, 266, obj_npc_mailwhale_break1) |
50 |
instance_create(247, 325, obj_npc_cup_break_1) |
51 |
instance_create(303, 174, obj_npc_pyramid_break_1) |
52 |
if (global.dunes_flag[21] < 1) |
53 |
{ |
54 |
instance_create(129, 200, obj_npc_searby_break_1) |
55 |
instance_create(199, 193, obj_npc_shane_break_1) |
56 |
} |
57 |
instance_create(335, 275, obj_npc_finger_break_1) |
58 |
instance_create(70, 354, obj_npc_bubblo_break_1) |
59 |
instance_create(65, 172, obj_npc_froggits_break_1) |
60 |
instance_create(305, 368, obj_npc_salloon_card3) |
61 |
instance_create(321, 354, obj_npc_salloon_card2) |
62 |
instance_create(342, 336, obj_npc_salloon_card1) |
63 |
break |
64 |
case 2: |
65 |
case 3: |
66 |
instance_create(140, 304, obj_npc_producer) |
67 |
if (global.dunes_flag[3] > 0) |
68 |
{ |
69 |
mo = instance_create(270, 260, obj_npc_mo_saloon) |
70 |
mo.image_xscale = -1 |
71 |
} |
72 |
break |
73 |
case 5: |
74 |
instance_create(272, 236, obj_npc_blembino) |
75 |
instance_create(222, 200, obj_npc_foreman_break_3) |
76 |
break |
77 |
case 7: |
78 |
instance_create(272, 236, obj_npc_blembino) |
79 |
instance_create(272, 279, obj_npc_rephil_break_4) |
80 |
break |
81 |
case 9: |
82 |
if (global.dunes_flag[24] == 0) |
83 |
instance_create(303, 174, obj_npc_pyramid_break_5) |
84 |
break |
85 |
} |
86 |
|
87 |
} |
88 |
instance_destroy() |