1 |
if (live_call()) |
2 |
return global.live_result; |
3 |
switch (scene) |
4 |
{ |
5 |
case 0: |
6 |
if (obj_pl.x < 400) |
7 |
{ |
8 |
instance_create(obj_pl.x, obj_pl.y, obj_player_npc); |
9 |
cutscene_advance(); |
10 |
} |
11 |
break; |
12 |
case 1: |
13 |
cutscene_npc_walk(1168, obj_martlet_npc.x, obj_pl.y, 3, "x", "up"); |
14 |
break; |
15 |
case 2: |
16 |
if (cutscene_wait(1.5)) |
17 |
cutscene_advance(2.5); |
18 |
break; |
19 |
case 2.5: |
20 |
if (cutscene_npc_walk(1168, obj_martlet_npc.x, obj_martlet_npc.y + 60, 1, "x", "up")) |
21 |
cutscene_advance(3); |
22 |
break; |
23 |
case 3: |
24 |
cutscene_camera_move(obj_martlet_npc.x, 300, 1); |
25 |
camera_set_view_speed(view_camera[0], -1, -1); |
26 |
break; |
27 |
case 4: |
28 |
cutscene_wait(0.5); |
29 |
break; |
30 |
case 5: |
31 |
cutscene_instance_create(obj_martlet_npc.x, obj_martlet_npc.y - 45, 1147); |
32 |
break; |
33 |
case 6: |
34 |
cutscene_wait(1); |
35 |
break; |
36 |
case 7: |
37 |
cutscene_npc_direction(1164, "down"); |
38 |
instance_destroy(obj_cutscene_ex); |
39 |
break; |
40 |
case 8: |
41 |
cutscene_wait(0.5); |
42 |
break; |
43 |
case 9: |
44 |
cutscene_dialogue(); |
45 |
with (msg) |
46 |
{ |
47 |
talker[0] = 1164; |
48 |
position = 0; |
49 |
message[0] = "* You made it! Great!"; |
50 |
prt[0] = 328; |
51 |
} |
52 |
break; |
53 |
case 10: |
54 |
cutscene_wait(0.5); |
55 |
break; |
56 |
case 11: |
57 |
cutscene_npc_direction(1164, "up"); |
58 |
break; |
59 |
case 12: |
60 |
cutscene_camera_move(obj_martlet_npc.x, 260, 1); |
61 |
camera_set_view_speed(view_camera[0], -1, -1); |
62 |
break; |
63 |
case 13: |
64 |
cutscene_wait(0.5); |
65 |
break; |
66 |
case 14: |
67 |
cutscene_dialogue(); |
68 |
with (msg) |
69 |
{ |
70 |
talker[0] = 1164; |
71 |
message[0] = "* What a view..."; |
72 |
message[1] = "* That large facility in# front of us is the# CORE..."; |
73 |
message[2] = "* ...The main source of# power for the# Underground."; |
74 |
prt[0] = 328; |
75 |
prt[1] = 321; |
76 |
prt[2] = 321; |
77 |
} |
78 |
break; |
79 |
case 15: |
80 |
cutscene_npc_walk(1168, obj_martlet_npc.x, obj_martlet_npc.y + 30, 3, "x", "up", -4, 180, 300); |
81 |
break; |
82 |
case 16: |
83 |
cutscene_wait(1.75); |
84 |
break; |
85 |
case 17: |
86 |
if (cutscene_dialogue()) |
87 |
cutscene_advance(17.3); |
88 |
with (msg) |
89 |
{ |
90 |
talker[0] = 1164; |
91 |
message[0] = "* Behind that is New# Home. The capital city."; |
92 |
message[1] = "* I asked around and was# told Ceroba and Starlo# headed there."; |
93 |
message[2] = "* Guess she ran the# opposite way of the Lab# to juke her pursuer?"; |
94 |
message[3] = "* The two couldn't have# gotten far, I'm positive# we'll find them!"; |
95 |
message[4] = "* We'll..."; |
96 |
prt[0] = 338; |
97 |
prt[1] = 321; |
98 |
prt[2] = 324; |
99 |
prt[3] = 313; |
100 |
prt[4] = 317; |
101 |
if (message_current == 4) |
102 |
{ |
103 |
obj_martlet_npc.npc_direction = "left"; |
104 |
message_timer = 30; |
105 |
skippable = false; |
106 |
} |
107 |
} |
108 |
break; |
109 |
case 17.3: |
110 |
if (cutscene_wait(1)) |
111 |
{ |
112 |
cutscene_advance(17.6); |
113 |
obj_martlet_npc.npc_direction = "up"; |
114 |
} |
115 |
break; |
116 |
case 17.6: |
117 |
if (cutscene_dialogue()) |
118 |
cutscene_advance(18); |
119 |
with (msg) |
120 |
{ |
121 |
talker[0] = 1164; |
122 |
message[0] = "* Whew, it's all setting# in now."; |
123 |
message[1] = "* This is like... super# intimidating, right? Not# just me?"; |
124 |
prt[0] = 329; |
125 |
prt[1] = 317; |
126 |
} |
127 |
break; |
128 |
break; |
129 |
case 18: |
130 |
cutscene_wait(0.5); |
131 |
break; |
132 |
case 19: |
133 |
cutscene_npc_direction(1164, "left"); |
134 |
break; |
135 |
case 20: |
136 |
cutscene_wait(1); |
137 |
break; |
138 |
case 21: |
139 |
if (cutscene_dialogue()) |
140 |
cutscene_advance(21.2); |
141 |
with (msg) |
142 |
{ |
143 |
talker[0] = 1164; |
144 |
message[0] = "* ..."; |
145 |
message[1] = "* I don't know when I'll# get another chance so# I'll say it now:"; |
146 |
message[2] = "* You are a kind soul.# One of the best I've# met."; |
147 |
message[3] = "* Left and right you've# been beaten and bruised,# but you stay vigilant."; |
148 |
message[4] = "* You defuse situations# and mend# relationships..."; |
149 |
message[5] = "* ...A far cry from what# I was taught growing up."; |
150 |
message[6] = "* Royal Guards are told# ad nauseum that humans# are the enemy."; |
151 |
message[7] = "* I only ever heard# stories of war and our# Underground imprisonment."; |
152 |
message[8] = "* But you're different."; |
153 |
message[9] = "* If you could change my# mind on humans, I know# you can ASGORE's!"; |
154 |
message[10] = "* After we diffuse the# Ceroba situation,"; |
155 |
message[11] = "* We'll march right up to# that Castle, you and me!"; |
156 |
message[12] = "* And then... Well,# you'll be on your way."; |
157 |
message[13] = "* But don't worry about# me! "; |
158 |
message[14] = "* When Monsterkind is# freed, we'll meet again# on the Surface!"; |
159 |
message[15] = "* By then, you might be# all grown up. Wouldn't# that be funny?"; |
160 |
message[16] = "* Heh..."; |
161 |
message[17] = "* ..."; |
162 |
prt[0] = 329; |
163 |
prt[1] = 317; |
164 |
prt[2] = 320; |
165 |
prt[3] = 320; |
166 |
prt[4] = 320; |
167 |
prt[5] = 329; |
168 |
prt[6] = 317; |
169 |
prt[7] = 322; |
170 |
prt[8] = 320; |
171 |
prt[9] = 328; |
172 |
prt[10] = 328; |
173 |
prt[11] = 312; |
174 |
prt[12] = 320; |
175 |
prt[13] = 312; |
176 |
prt[14] = 328; |
177 |
prt[15] = 312; |
178 |
prt[16] = 328; |
179 |
prt[17] = 321; |
180 |
switch (message_current) |
181 |
{ |
182 |
case 1: |
183 |
obj_player_npc.npc_direction = "right"; |
184 |
break; |
185 |
case 3: |
186 |
if (!audio_is_playing(mus_acquittal)) |
187 |
cutscene_music = audio_play_sound(mus_acquittal, 1, 1); |
188 |
break; |
189 |
case 16: |
190 |
scr_audio_fade_outscr_audio_fade_outfunction scr_audio_fade_out(arg0, arg1)
{
var snd = arg0;
var fade_len = arg1;
if (!audio_is_playing(snd))
return false;
audio_sound_gain(snd, 0, fade_len);
if (instance_exists(obj_audio_fade_helper))
{
with (obj_audio_fade_helper)
{
if (audio_to_fade == snd)
return false;
}
}
with (instance_create(0, 0, obj_audio_fade_helper))
audio_to_fade = snd;
} (cutscene_music, 1000); |
191 |
break; |
192 |
} |
193 |
} |
194 |
break; |
195 |
case 21.2: |
196 |
if (cutscene_wait(1)) |
197 |
cutscene_advance(21.4); |
198 |
break; |
199 |
case 21.4: |
200 |
if (cutscene_dialogue()) |
201 |
cutscene_advance(21.6); |
202 |
with (msg) |
203 |
{ |
204 |
talker[0] = 1164; |
205 |
message[0] = "* Point is, I'm glad you# hopped on my raft."; |
206 |
message[1] = "* ..."; |
207 |
prt[0] = 320; |
208 |
prt[1] = 329; |
209 |
switch (message_current) |
210 |
{ |
211 |
case 1: |
212 |
obj_martlet_npc.npc_direction = "up"; |
213 |
skippable = false; |
214 |
message_timer = 30; |
215 |
break; |
216 |
} |
217 |
} |
218 |
break; |
219 |
case 21.6: |
220 |
if (cutscene_wait(1)) |
221 |
cutscene_advance(21.8); |
222 |
break; |
223 |
case 21.8: |
224 |
if (cutscene_dialogue()) |
225 |
{ |
226 |
cutscene_advance(22); |
227 |
obj_player_npc.xstart = obj_player_npc.x; |
228 |
} |
229 |
with (msg) |
230 |
{ |
231 |
talker[0] = 1164; |
232 |
message[0] = "* Okay... We need to get# moving."; |
233 |
message[1] = "* That way. West New# Home."; |
234 |
message[2] = "* The elevator downstairs# should take us straight# there."; |
235 |
message[3] = "* After that... I'm not# sure."; |
236 |
message[4] = "* I'd call for backup in# a scenario like this but# we're on our own. "; |
237 |
message[5] = "* Outlaws."; |
238 |
message[6] = "* So, \"partner in crime,\"# you ready?"; |
239 |
prt[0] = 321; |
240 |
prt[1] = 321; |
241 |
prt[2] = 328; |
242 |
prt[3] = 329; |
243 |
prt[4] = 329; |
244 |
prt[5] = 321; |
245 |
prt[6] = 328; |
246 |
switch (message_current) |
247 |
{ |
248 |
case 0: |
249 |
obj_martlet_npc.npc_direction = "left"; |
250 |
skippable = true; |
251 |
message_timer = -1; |
252 |
break; |
253 |
case 1: |
254 |
global.hotland_flag[1] = 1; |
255 |
scr_radio_restart(); |
256 |
obj_martlet_npc.npc_direction = "up"; |
257 |
obj_player_npc.npc_direction = "up"; |
258 |
break; |
259 |
case 6: |
260 |
obj_martlet_npc.npc_direction = "left"; |
261 |
obj_player_npc.npc_direction = "right"; |
262 |
break; |
263 |
} |
264 |
} |
265 |
break; |
266 |
case 22: |
267 |
obj_player_npc.x = -1000; |
268 |
if (cutscene_npc_action_sprite(1164, 1822, 1, false)) |
269 |
obj_player_npc.x = obj_player_npc.xstart; |
270 |
break; |
271 |
case 23: |
272 |
cutscene_wait(0.5); |
273 |
break; |
274 |
case 24: |
275 |
cutscene_dialogue(); |
276 |
with (msg) |
277 |
{ |
278 |
talker[0] = 1164; |
279 |
message[0] = "* Let's stop Ceroba!"; |
280 |
message[1] = "* After you."; |
281 |
prt[0] = 313; |
282 |
prt[1] = 328; |
283 |
} |
284 |
break; |
285 |
case 25: |
286 |
cutscene_wait(1); |
287 |
break; |
288 |
case 26: |
289 |
cutscene_npc_walk(1168, obj_player_npc.x, 340, 3, "y", "down"); |
290 |
break; |
291 |
case 27: |
292 |
cutscene_npc_walk(1164, obj_player_npc.x, obj_player_npc.y - 20, 3, "x", "down"); |
293 |
break; |
294 |
case 28: |
295 |
obj_pl.direction = 270; |
296 |
actor_follower = 1164; |
297 |
global.party_member = 1170; |
298 |
obj_hotland_roof_light_controller_follower.overlay_draw_enabled_follower = true; |
299 |
obj_hotland_roof_light_controller_follower.overlay_draw_alpha_follower = 1; |
300 |
cutscene_actor_into_follower(); |
301 |
obj_hotland_roof_light_controller_follower.depth = obj_pl.depth + 1; |
302 |
obj_martlet_follower.depth = obj_pl.depth + 2; |
303 |
break; |
304 |
case 29: |
305 |
cutscene_camera_move(obj_pl.x, obj_pl.y, 3); |
306 |
break; |
307 |
case 30: |
308 |
cutscene_camera_reset(); |
309 |
instance_destroy(obj_player_npc); |
310 |
scr_audio_fade_outscr_audio_fade_outfunction scr_audio_fade_out(arg0, arg1)
{
var snd = arg0;
var fade_len = arg1;
if (!audio_is_playing(snd))
return false;
audio_sound_gain(snd, 0, fade_len);
if (instance_exists(obj_audio_fade_helper))
{
with (obj_audio_fade_helper)
{
if (audio_to_fade == snd)
return false;
}
}
with (instance_create(0, 0, obj_audio_fade_helper))
audio_to_fade = snd;
} (cutscene_music, 1000); |
311 |
cutscene_end(); |
312 |
break; |
313 |
} |