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), obj_cutscene_ex) |
32 |
break |
33 |
case 6: |
34 |
cutscene_wait(1) |
35 |
break |
36 |
case 7: |
37 |
cutscene_npc_direction(obj_martlet_npc, "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(obj_martlet_npc, "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 |
case 18: |
129 |
cutscene_wait(0.5) |
130 |
break |
131 |
case 19: |
132 |
cutscene_npc_direction(obj_martlet_npc, "left") |
133 |
break |
134 |
case 20: |
135 |
cutscene_wait(1) |
136 |
break |
137 |
case 21: |
138 |
if cutscene_dialogue() |
139 |
cutscene_advance(21.2) |
140 |
with (msg) |
141 |
{ |
142 |
talker[0] = 1164 |
143 |
message[0] = "* ..." |
144 |
message[1] = "* I don't know when I'll# get another chance so# I'll say it now:" |
145 |
message[2] = "* You are a kind soul.# One of the best I've# met." |
146 |
message[3] = "* Left and right you've# been beaten and bruised,# but you stay vigilant." |
147 |
message[4] = "* You defuse situations# and mend# relationships..." |
148 |
message[5] = "* ...A far cry from what# I was taught growing up." |
149 |
message[6] = "* Royal Guards are told# ad nauseum that humans# are the enemy." |
150 |
message[7] = "* I only ever heard# stories of war and our# Underground imprisonment." |
151 |
message[8] = "* But you're different." |
152 |
message[9] = "* If you could change my# mind on humans, I know# you can ASGORE's!" |
153 |
message[10] = "* After we diffuse the# Ceroba situation," |
154 |
message[11] = "* We'll march right up to# that Castle, you and me!" |
155 |
message[12] = "* And then... Well,# you'll be on your way." |
156 |
message[13] = "* But don't worry about# me! " |
157 |
message[14] = "* When Monsterkind is# freed, we'll meet again# on the Surface!" |
158 |
message[15] = "* By then, you might be# all grown up. Wouldn't# that be funny?" |
159 |
message[16] = "* Heh..." |
160 |
message[17] = "* ..." |
161 |
prt[0] = 329 |
162 |
prt[1] = 317 |
163 |
prt[2] = 320 |
164 |
prt[3] = 320 |
165 |
prt[4] = 320 |
166 |
prt[5] = 329 |
167 |
prt[6] = 317 |
168 |
prt[7] = 322 |
169 |
prt[8] = 320 |
170 |
prt[9] = 328 |
171 |
prt[10] = 328 |
172 |
prt[11] = 312 |
173 |
prt[12] = 320 |
174 |
prt[13] = 312 |
175 |
prt[14] = 328 |
176 |
prt[15] = 312 |
177 |
prt[16] = 328 |
178 |
prt[17] = 321 |
179 |
switch message_current |
180 |
{ |
181 |
case 1: |
182 |
obj_player_npc.npc_direction = "right" |
183 |
break |
184 |
case 3: |
185 |
if (!audio_is_playing(mus_acquittal)) |
186 |
cutscene_music = audio_play_sound(mus_acquittal, 1, 1) |
187 |
break |
188 |
case 16: |
189 |
scr_audio_fade_outscr_audio_fade_outfunction scr_audio_fade_out(argument0, argument1) //gml_Script_scr_audio_fade_out
{
var snd = argument0
var fade_len = argument1
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) |
190 |
break |
191 |
} |
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 |
} |
219 |
break |
220 |
case 21.6: |
221 |
if cutscene_wait(1) |
222 |
cutscene_advance(21.8) |
223 |
break |
224 |
case 21.8: |
225 |
if cutscene_dialogue() |
226 |
{ |
227 |
cutscene_advance(22) |
228 |
obj_player_npc.xstart = obj_player_npc.x |
229 |
} |
230 |
with (msg) |
231 |
{ |
232 |
talker[0] = 1164 |
233 |
message[0] = "* Okay... We need to get# moving." |
234 |
message[1] = "* That way. West New# Home." |
235 |
message[2] = "* The elevator downstairs# should take us straight# there." |
236 |
message[3] = "* After that... I'm not# sure." |
237 |
message[4] = "* I'd call for backup in# a scenario like this but# we're on our own. " |
238 |
message[5] = "* Outlaws." |
239 |
message[6] = "* So, \"partner in crime,\"# you ready?" |
240 |
prt[0] = 321 |
241 |
prt[1] = 321 |
242 |
prt[2] = 328 |
243 |
prt[3] = 329 |
244 |
prt[4] = 329 |
245 |
prt[5] = 321 |
246 |
prt[6] = 328 |
247 |
switch message_current |
248 |
{ |
249 |
case 0: |
250 |
obj_martlet_npc.npc_direction = "left" |
251 |
skippable = true |
252 |
message_timer = -1 |
253 |
break |
254 |
case 1: |
255 |
global.hotland_flag[1] = 1 |
256 |
scr_radio_restart() |
257 |
obj_martlet_npc.npc_direction = "up" |
258 |
obj_player_npc.npc_direction = "up" |
259 |
break |
260 |
case 6: |
261 |
obj_martlet_npc.npc_direction = "left" |
262 |
obj_player_npc.npc_direction = "right" |
263 |
break |
264 |
} |
265 |
|
266 |
} |
267 |
break |
268 |
case 22: |
269 |
obj_player_npc.x = -1000 |
270 |
if cutscene_npc_action_sprite(1164, 1822, 1, false) |
271 |
obj_player_npc.x = obj_player_npc.xstart |
272 |
break |
273 |
case 23: |
274 |
cutscene_wait(0.5) |
275 |
break |
276 |
case 24: |
277 |
cutscene_dialogue() |
278 |
with (msg) |
279 |
{ |
280 |
talker[0] = 1164 |
281 |
message[0] = "* Let's stop Ceroba!" |
282 |
message[1] = "* After you." |
283 |
prt[0] = 313 |
284 |
prt[1] = 328 |
285 |
} |
286 |
break |
287 |
case 25: |
288 |
cutscene_wait(1) |
289 |
break |
290 |
case 26: |
291 |
cutscene_npc_walk(1168, obj_player_npc.x, 340, 3, "y", "down") |
292 |
break |
293 |
case 27: |
294 |
cutscene_npc_walk(1164, obj_player_npc.x, (obj_player_npc.y - 20), 3, "x", "down") |
295 |
break |
296 |
case 28: |
297 |
obj_pl.direction = 270 |
298 |
actor_follower = 1164 |
299 |
global.party_member = 1170 |
300 |
obj_hotland_roof_light_controller_follower.overlay_draw_enabled_follower = true |
301 |
obj_hotland_roof_light_controller_follower.overlay_draw_alpha_follower = 1 |
302 |
cutscene_actor_into_follower() |
303 |
obj_hotland_roof_light_controller_follower.depth = obj_pl.depth + 1 |
304 |
obj_martlet_follower.depth = obj_pl.depth + 2 |
305 |
break |
306 |
case 29: |
307 |
cutscene_camera_move(obj_pl.x, obj_pl.y, 3) |
308 |
break |
309 |
case 30: |
310 |
cutscene_camera_reset() |
311 |
instance_destroy(obj_player_npc) |
312 |
scr_audio_fade_outscr_audio_fade_outfunction scr_audio_fade_out(argument0, argument1) //gml_Script_scr_audio_fade_out
{
var snd = argument0
var fade_len = argument1
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) |
313 |
cutscene_end() |
314 |
break |
315 |
} |