1 |
switch (scene) |
2 |
{ |
3 |
case 0: |
4 |
with (obj_pl) |
5 |
{ |
6 |
if (place_meeting(x, y, obj_event_collider)) |
7 |
{ |
8 |
scr_cutscene_start(); |
9 |
instance_destroy(obj_event_collider); |
10 |
other.scene++; |
11 |
other.timer = 15; |
12 |
} |
13 |
} |
14 |
break; |
15 |
case 1: |
16 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
17 |
with (msg) |
18 |
{ |
19 |
sndfnt = 102; |
20 |
message[0] = "* Huh? Hang on, I think# someone's coming this# way."; |
21 |
prt[0] = 333; |
22 |
talker[0] = 1170; |
23 |
} |
24 |
if (!global.dialogue_open) |
25 |
scene++; |
26 |
break; |
27 |
case 2: |
28 |
player_npc = instance_create(obj_pl.x, obj_pl.y, obj_player_npc); |
29 |
with (player_npc) |
30 |
{ |
31 |
x_dest[0] = 720; |
32 |
y_dest[0] = y; |
33 |
can_walk = true; |
34 |
end_direction = "up"; |
35 |
actor_speed = 3; |
36 |
} |
37 |
if (global.party_member != -4) |
38 |
{ |
39 |
martlet = instance_create(obj_martlet_follower.x, obj_martlet_follower.y, obj_martlet_npc); |
40 |
obj_martlet_follower.image_alpha = 0; |
41 |
with (martlet) |
42 |
{ |
43 |
can_walk = true; |
44 |
x_dest[0] = 750; |
45 |
y_dest[0] = obj_pl.y; |
46 |
end_direction = "up"; |
47 |
actor_speed = 3; |
48 |
} |
49 |
} |
50 |
scene++; |
51 |
break; |
52 |
case 3: |
53 |
if (player_npc.npc_arrived == true && martlet.npc_arrived == true) |
54 |
scene++; |
55 |
break; |
56 |
case 4: |
57 |
if (scr_timerscr_timerfunction scr_timer()
{
if (timer > 0)
{
timer--;
return false;
}
else
{
return true;
}
} ()) |
58 |
{ |
59 |
moray = 1167; |
60 |
starlo = 1169; |
61 |
mooch = 1165; |
62 |
ed = 1162; |
63 |
ace = 1158; |
64 |
with (obj_actor_npc_base) |
65 |
{ |
66 |
end_direction = "down"; |
67 |
axis_override = "y"; |
68 |
actor_speed = 2; |
69 |
} |
70 |
moray.x = obj_pl.x; |
71 |
moray.can_walk = true; |
72 |
moray.x_dest[0] = moray.x; |
73 |
moray.y_dest[0] = obj_pl.y - 60; |
74 |
moray.actor_speed = 1; |
75 |
timer = 15; |
76 |
scene++; |
77 |
} |
78 |
break; |
79 |
case 5: |
80 |
if (moray.npc_arrived) |
81 |
{ |
82 |
if (!scr_timerscr_timerfunction scr_timer()
{
if (timer > 0)
{
timer--;
return false;
}
else
{
return true;
}
} ()) |
83 |
exit; |
84 |
moray.npc_arrived = false; |
85 |
with (moray) |
86 |
path_start(pt_small_jump, 4, path_action_stop, false); |
87 |
audio_play_sound(snd_playerjump, 1, 0); |
88 |
timer = 15; |
89 |
scene++; |
90 |
} |
91 |
break; |
92 |
case 6: |
93 |
if (!scr_timerscr_timerfunction scr_timer()
{
if (timer > 0)
{
timer--;
return false;
}
else
{
return true;
}
} ()) |
94 |
exit; |
95 |
moray.npc_direction = "up"; |
96 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
97 |
msg.talker[0] = moray; |
98 |
msg.message[0] = "* Guys! Looky here!"; |
99 |
msg.message[1] = "* Someone new has stumbled# into our humble town."; |
100 |
msg.prt[0] = 445; |
101 |
msg.prt[1] = 445; |
102 |
if (!global.dialogue_open) |
103 |
scene++; |
104 |
break; |
105 |
case 7: |
106 |
moray.npc_direction = "down"; |
107 |
ace.x_dest[0] = ace.x; |
108 |
ace.y_dest[0] = moray.y; |
109 |
ace.can_walk = true; |
110 |
if (ace.npc_arrived) |
111 |
scene++; |
112 |
break; |
113 |
case 8: |
114 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
115 |
msg.sndfnt = 106; |
116 |
msg.talker[0] = ace; |
117 |
msg.message[0] = "* This better not be# another joke..."; |
118 |
msg.prt[0] = 439; |
119 |
if (!global.dialogue_open) |
120 |
{ |
121 |
ace.x_dest[0] = starlo.x + 80; |
122 |
ace.y_dest[0] = obj_pl.y - 35; |
123 |
ace.axis_override = "x"; |
124 |
ace.can_walk = true; |
125 |
scene++; |
126 |
} |
127 |
break; |
128 |
case 9: |
129 |
ed.x_dest[0] = ed.x; |
130 |
ed.y_dest[0] = moray.y; |
131 |
ed.can_walk = true; |
132 |
if (ed.npc_arrived) |
133 |
scene++; |
134 |
break; |
135 |
case 10: |
136 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
137 |
msg.sndfnt = 104; |
138 |
msg.talker[0] = ed; |
139 |
msg.message[0] = "* For once, don't look# like it is."; |
140 |
msg.prt[0] = 451; |
141 |
if (!global.dialogue_open) |
142 |
{ |
143 |
ed.x_dest[0] = starlo.x - 75; |
144 |
ed.y_dest[0] = obj_pl.y - 35; |
145 |
ed.axis_override = "x"; |
146 |
ed.can_walk = true; |
147 |
scene++; |
148 |
} |
149 |
break; |
150 |
case 11: |
151 |
mooch.x_dest[0] = starlo.x + 40; |
152 |
mooch.y_dest[0] = obj_pl.y - 48; |
153 |
mooch.can_walk = true; |
154 |
if (mooch.npc_arrived) |
155 |
scene++; |
156 |
break; |
157 |
case 12: |
158 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
159 |
msg.sndfnt = 105; |
160 |
msg.talker[0] = mooch; |
161 |
msg.message[0] = "* Hiya, strangers!"; |
162 |
msg.prt[0] = 462; |
163 |
if (!global.dialogue_open) |
164 |
{ |
165 |
mooch.npc_arrived = false; |
166 |
scene++; |
167 |
} |
168 |
break; |
169 |
case 13: |
170 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
171 |
with (msg) |
172 |
{ |
173 |
sndfnt = 102; |
174 |
talker[0] = other.martlet; |
175 |
message[0] = "* Oh, hello!"; |
176 |
message[1] = "* We're just passing# through."; |
177 |
message[2] = "* We mean no harm, I# promise."; |
178 |
prt[0] = 318; |
179 |
prt[1] = 323; |
180 |
prt[2] = 323; |
181 |
} |
182 |
if (!global.dialogue_open) |
183 |
scene++; |
184 |
break; |
185 |
case 14: |
186 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
187 |
with (msg) |
188 |
{ |
189 |
sndfnt = 104; |
190 |
talker[0] = other.ed; |
191 |
message[0] = "* That's what the last# guy said."; |
192 |
message[1] = "* Let's just say he's one# with the wind now..."; |
193 |
prt[0] = 454; |
194 |
prt[1] = 451; |
195 |
} |
196 |
if (!global.dialogue_open) |
197 |
scene++; |
198 |
break; |
199 |
case 15: |
200 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
201 |
with (msg) |
202 |
{ |
203 |
sndfnt = 102; |
204 |
talker[0] = other.martlet; |
205 |
message[0] = "* O-oh my gosh... You..."; |
206 |
prt[0] = 330; |
207 |
} |
208 |
if (!global.dialogue_open) |
209 |
scene++; |
210 |
break; |
211 |
case 16: |
212 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
213 |
with (msg) |
214 |
{ |
215 |
sndfnt = 104; |
216 |
talker[0] = other.ed; |
217 |
message[0] = "* BWAHAHA!"; |
218 |
message[1] = "* I'm just kiddin' around."; |
219 |
message[2] = "* You were shakin' in# your boots for a second!"; |
220 |
prt[0] = 452; |
221 |
prt[1] = 452; |
222 |
prt[2] = 452; |
223 |
} |
224 |
if (!global.dialogue_open) |
225 |
scene++; |
226 |
break; |
227 |
case 17: |
228 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
229 |
with (msg) |
230 |
{ |
231 |
sndfnt = 102; |
232 |
talker[0] = other.martlet; |
233 |
message[0] = "* Heheh... heh... you sure# got me!"; |
234 |
prt[0] = 323; |
235 |
} |
236 |
if (!global.dialogue_open) |
237 |
scene++; |
238 |
break; |
239 |
case 18: |
240 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
241 |
with (msg) |
242 |
{ |
243 |
sndfnt = 109; |
244 |
talker[0] = other.moray; |
245 |
color = true; |
246 |
col_modif[0] = make_color_rgb(255, 70, 160); |
247 |
message[0] = "* That wasn't very funny,# Edward."; |
248 |
message_col[0][0] = " # Edward "; |
249 |
message[1] = "* I can assure you we are# a delight to be around."; |
250 |
message[2] = "* Nothing you can't# handle I'm sure."; |
251 |
prt[0] = 446; |
252 |
prt[1] = 449; |
253 |
prt[2] = 445; |
254 |
} |
255 |
if (!global.dialogue_open) |
256 |
scene++; |
257 |
break; |
258 |
case 19: |
259 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
260 |
with (msg) |
261 |
{ |
262 |
sndfnt = 102; |
263 |
talker[0] = other.martlet; |
264 |
message[0] = "* I..."; |
265 |
prt[0] = 322; |
266 |
} |
267 |
if (!global.dialogue_open) |
268 |
scene++; |
269 |
break; |
270 |
case 20: |
271 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
272 |
with (msg) |
273 |
{ |
274 |
color = true; |
275 |
col_modif[0] = make_color_rgb(52, 170, 85); |
276 |
sndfnt = 106; |
277 |
talker[0] = other.ace; |
278 |
message[0] = "* Ugh..."; |
279 |
message[1] = "* Why do you two insist# on scaring away every# monster you meet?"; |
280 |
message[2] = "* At least Mooch never# oversteps her bounds."; |
281 |
message_col[2][0] = " Mooch "; |
282 |
prt[0] = 435; |
283 |
prt[1] = 435; |
284 |
prt[2] = 434; |
285 |
} |
286 |
if (!global.dialogue_open) |
287 |
scene++; |
288 |
break; |
289 |
case 21: |
290 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
291 |
with (msg) |
292 |
{ |
293 |
sndfnt = 105; |
294 |
talker[0] = other.mooch; |
295 |
message[0] = "* Never!"; |
296 |
prt[0] = 458; |
297 |
} |
298 |
if (!global.dialogue_open) |
299 |
scene++; |
300 |
break; |
301 |
case 22: |
302 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
303 |
with (msg) |
304 |
{ |
305 |
sndfnt = 102; |
306 |
talker[0] = other.martlet; |
307 |
message[0] = "* Um, well, it was a# pleasure to meet you# four but..."; |
308 |
message[1] = "* We'll be going# now- "; |
309 |
prt[0] = 322; |
310 |
prt[1] = 323; |
311 |
if (message_current == 1) |
312 |
{ |
313 |
skippable = false; |
314 |
if (cutoff == string_length(message[message_current])) |
315 |
{ |
316 |
other.scene++; |
317 |
global.dialogue_open = false; |
318 |
} |
319 |
} |
320 |
} |
321 |
break; |
322 |
case 23: |
323 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
324 |
with (msg) |
325 |
{ |
326 |
sndfnt = 107; |
327 |
message[0] = "* Hold it right there, missy."; |
328 |
} |
329 |
if (!global.dialogue_open) |
330 |
{ |
331 |
scene++; |
332 |
audio_play_sound(mus_starlo_entrance, 1, 0); |
333 |
timer = 75; |
334 |
} |
335 |
break; |
336 |
case 24: |
337 |
scr_camera_movescr_camera_movefunction scr_camera_move(arg0, arg1, arg2)
{
if (!instance_exists(obj_camera))
{
instance_create(__view_get(e__VW.Object, 0).x, __view_get(e__VW.Object, 0).y, obj_camera);
__view_set(e__VW.Object, 0, obj_camera);
}
else
{
obj_camera.x = __view_get(e__VW.Object, 0).x;
obj_camera.y = __view_get(e__VW.Object, 0).y;
__view_set(e__VW.Object, 0, obj_camera);
}
obj_camera.move = true;
obj_camera.xx = arg0;
obj_camera.yy = arg1;
obj_camera.spd = arg2;
if (abs(arg0 - obj_camera.x) <= arg2 && abs(arg1 - obj_camera.y) <= arg2)
return true;
else
return false;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} (obj_pl.x, obj_pl.y - 80, 0.5); |
338 |
starlo.x_dest[0] = starlo.x; |
339 |
starlo.y_dest[0] = obj_pl.y - 60; |
340 |
starlo.actor_speed = 0.5; |
341 |
starlo.can_walk = true; |
342 |
starlo.down_sprite = 197; |
343 |
starlo.down_sprite_idle = 197; |
344 |
moray.x_dest[0] = starlo.x - 30; |
345 |
moray.y_dest[0] = obj_pl.y - 48; |
346 |
moray.actor_speed = 2; |
347 |
moray.can_walk = true; |
348 |
moray.end_direction = "down"; |
349 |
if (starlo.y > (__view_get(e__VW.YView, 0) + 20)) |
350 |
{ |
351 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
352 |
with (msg) |
353 |
{ |
354 |
skippable = false; |
355 |
position = 0; |
356 |
sndfnt = 107; |
357 |
talker[0] = other.starlo; |
358 |
message[0] = "* Are my pals givin' you# trouble?"; |
359 |
message[1] = "* Come now..."; |
360 |
message[2] = "* That ain't a way to# treat guests, now is it?"; |
361 |
prt[0] = 415; |
362 |
prt[1] = 415; |
363 |
prt[2] = 415; |
364 |
} |
365 |
if (scr_timerscr_timerfunction scr_timer()
{
if (timer > 0)
{
timer--;
return false;
}
else
{
return true;
}
} ()) |
366 |
{ |
367 |
with (msg) |
368 |
{ |
369 |
if ((message_current + 1) < array_length_1d(message)) |
370 |
{ |
371 |
message_current += 1; |
372 |
cutoff = 0; |
373 |
other.timer = 75; |
374 |
} |
375 |
else |
376 |
{ |
377 |
global.dialogue_open = false; |
378 |
} |
379 |
} |
380 |
} |
381 |
if (!global.dialogue_open) |
382 |
{ |
383 |
scene++; |
384 |
timer = 15; |
385 |
} |
386 |
} |
387 |
break; |
388 |
case 25: |
389 |
if (!starlo.npc_arrived || !scr_timerscr_timerfunction scr_timer()
{
if (timer > 0)
{
timer--;
return false;
}
else
{
return true;
}
} ()) |
390 |
exit; |
391 |
starlo.action_sprite = true; |
392 |
starlo.sprite_index = spr_starlo_reveal; |
393 |
starlo.image_speed = 0.3; |
394 |
starlo.down_sprite = 196; |
395 |
if (starlo.image_index >= (starlo.image_number - 1)) |
396 |
{ |
397 |
audio_play_sound(mus_feisty, 1, 1); |
398 |
starlo.image_speed = 0; |
399 |
starlo.down_sprite_idle = 194; |
400 |
starlo.action_sprite = false; |
401 |
scene++; |
402 |
timer = 15; |
403 |
} |
404 |
break; |
405 |
case 26: |
406 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
407 |
with (msg) |
408 |
{ |
409 |
color = true; |
410 |
col_modif[0] = make_color_rgb(255, 205, 107); |
411 |
sndfnt = 107; |
412 |
talker[0] = 1169; |
413 |
message[0] = "* The name's North Star.# I run this town."; |
414 |
message_col[0][0] = " North Star "; |
415 |
message[1] = "* Not alone, of course."; |
416 |
message[2] = "* These fine monsters are# my posse."; |
417 |
message[3] = "* Together, we are..."; |
418 |
prt[0] = 417; |
419 |
prt[1] = 417; |
420 |
prt[2] = 417; |
421 |
prt[3] = 417; |
422 |
} |
423 |
if (!global.dialogue_open) |
424 |
{ |
425 |
starlo.action_sprite = true; |
426 |
starlo.sprite_index = spr_starlo_pose; |
427 |
starlo.image_speed = 0.25; |
428 |
starlo.image_index = 0; |
429 |
scene++; |
430 |
} |
431 |
break; |
432 |
case 27: |
433 |
if (floor(starlo.image_index == 5) && !audio_is_playing(snd_shotstrong)) |
434 |
{ |
435 |
audio_play_sound(snd_shotstrong, 1, 0); |
436 |
scr_screenshakescr_screenshakefunction scr_screenshake(arg0, arg1)
{
if (instance_exists(obj_screenshake_player))
exit;
with (instance_create(__view_get(e__VW.Object, 0).x, __view_get(e__VW.Object, 0).y, obj_screenshake_player))
{alarm[0]
intensity = arg1;
}
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} (10, 1); |
437 |
} |
438 |
if (starlo.image_index >= (starlo.image_number - 1)) |
439 |
{ |
440 |
starlo.image_speed = 0; |
441 |
scene++; |
442 |
} |
443 |
break; |
444 |
case 28: |
445 |
if (!global.dialogue_open) |
446 |
{ |
447 |
audio_sound_gain(mus_feisty, 0, 300); |
448 |
instance_create(__view_get(e__VW.XView, 0) + (__view_get(e__VW.WView, 0) / 2), __view_get(e__VW.YView, 0) + (__view_get(e__VW.HView, 0) / 4), obj_wild_east_stamp_feisty); |
449 |
scene += 0.2; |
450 |
} |
451 |
break; |
452 |
case 28.2: |
453 |
if (!instance_exists(obj_wild_east_stamp_feisty)) |
454 |
cutscene_advance(28.4); |
455 |
break; |
456 |
case 28.4: |
457 |
audio_sound_gain(mus_feisty, 1, 300); |
458 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
459 |
with (msg) |
460 |
{ |
461 |
sndfnt = 107; |
462 |
message[0] = "* Our name stands for:"; |
463 |
prt[0] = 417; |
464 |
} |
465 |
if (!global.dialogue_open) |
466 |
{ |
467 |
ed.action_sprite = true; |
468 |
ed.sprite_index = spr_ed_pose; |
469 |
ed.image_speed = 0.25; |
470 |
scene += 0.6; |
471 |
} |
472 |
break; |
473 |
case 29: |
474 |
if (floor(ed.image_index) == 6 && !audio_is_playing(snd_impact_gunshot)) |
475 |
{ |
476 |
audio_play_sound(snd_impact_gunshot, 1, 0); |
477 |
scr_screenshakescr_screenshakefunction scr_screenshake(arg0, arg1)
{
if (instance_exists(obj_screenshake_player))
exit;
with (instance_create(__view_get(e__VW.Object, 0).x, __view_get(e__VW.Object, 0).y, obj_screenshake_player))
{alarm[0]
intensity = arg1;
}
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} (8, 1); |
478 |
} |
479 |
if (ed.image_index >= (ed.image_number - 1)) |
480 |
{ |
481 |
ed.image_speed = 0; |
482 |
scene++; |
483 |
} |
484 |
break; |
485 |
case 30: |
486 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
487 |
with (msg) |
488 |
{ |
489 |
color = true; |
490 |
col_modif[0] = 65535; |
491 |
message_col[0][0] = " F"; |
492 |
sndfnt = 104; |
493 |
message[0] = "* Fearlessness!"; |
494 |
prt[0] = 452; |
495 |
} |
496 |
if (!global.dialogue_open) |
497 |
{ |
498 |
moray.action_sprite = true; |
499 |
moray.sprite_index = spr_moray_pose; |
500 |
moray.image_speed = 0.25; |
501 |
scene++; |
502 |
} |
503 |
break; |
504 |
case 31: |
505 |
if (floor(moray.image_index) == 4 && !audio_is_playing(snd_shotweak)) |
506 |
{ |
507 |
audio_play_sound(snd_shotweak, 1, 0); |
508 |
scr_screenshakescr_screenshakefunction scr_screenshake(arg0, arg1)
{
if (instance_exists(obj_screenshake_player))
exit;
with (instance_create(__view_get(e__VW.Object, 0).x, __view_get(e__VW.Object, 0).y, obj_screenshake_player))
{alarm[0]
intensity = arg1;
}
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} (6, 1); |
509 |
} |
510 |
if (moray.image_index >= (moray.image_number - 1)) |
511 |
{ |
512 |
moray.image_speed = 0; |
513 |
scene++; |
514 |
} |
515 |
break; |
516 |
case 32: |
517 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
518 |
with (msg) |
519 |
{ |
520 |
color = true; |
521 |
col_modif[0] = 65535; |
522 |
message_col[0][0] = " E"; |
523 |
sndfnt = 109; |
524 |
message[0] = "* Excellence!"; |
525 |
prt[0] = 445; |
526 |
} |
527 |
if (!global.dialogue_open) |
528 |
{ |
529 |
ace.action_sprite = true; |
530 |
ace.sprite_index = spr_ace_pose; |
531 |
ace.image_speed = 0.25; |
532 |
scene++; |
533 |
} |
534 |
break; |
535 |
case 33: |
536 |
if (floor(ace.image_index) == 11 && !audio_is_playing(snd_shotmid)) |
537 |
{ |
538 |
audio_play_sound(snd_shotmid, 1, 0); |
539 |
scr_screenshakescr_screenshakefunction scr_screenshake(arg0, arg1)
{
if (instance_exists(obj_screenshake_player))
exit;
with (instance_create(__view_get(e__VW.Object, 0).x, __view_get(e__VW.Object, 0).y, obj_screenshake_player))
{alarm[0]
intensity = arg1;
}
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} (6, 1); |
540 |
} |
541 |
if (ace.image_index >= (ace.image_number - 1)) |
542 |
{ |
543 |
ace.image_speed = 0; |
544 |
scene++; |
545 |
} |
546 |
break; |
547 |
case 34: |
548 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
549 |
with (msg) |
550 |
{ |
551 |
color = true; |
552 |
col_modif[0] = 65535; |
553 |
message_col[0][0] = " I"; |
554 |
sndfnt = 106; |
555 |
message[0] = "* Intuition!"; |
556 |
prt[0] = 436; |
557 |
} |
558 |
if (!global.dialogue_open) |
559 |
{ |
560 |
mooch.action_sprite = true; |
561 |
mooch.sprite_index = spr_mooch_pose; |
562 |
mooch.image_speed = 0.25; |
563 |
scene++; |
564 |
} |
565 |
break; |
566 |
case 35: |
567 |
if (floor(mooch.image_index) == 6 && !audio_is_playing(snd_attackhitcrit)) |
568 |
{ |
569 |
audio_play_sound(snd_attackhitcrit, 1, 0); |
570 |
scr_screenshakescr_screenshakefunction scr_screenshake(arg0, arg1)
{
if (instance_exists(obj_screenshake_player))
exit;
with (instance_create(__view_get(e__VW.Object, 0).x, __view_get(e__VW.Object, 0).y, obj_screenshake_player))
{alarm[0]
intensity = arg1;
}
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} (10, 1); |
571 |
} |
572 |
if (mooch.image_index >= (mooch.image_number - 1)) |
573 |
{ |
574 |
mooch.image_speed = 0; |
575 |
scene++; |
576 |
} |
577 |
break; |
578 |
case 36: |
579 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
580 |
with (msg) |
581 |
{ |
582 |
color = true; |
583 |
col_modif[0] = 65535; |
584 |
message_col[0][0] = " S"; |
585 |
sndfnt = 105; |
586 |
message[0] = "* Sneakiness!"; |
587 |
prt[0] = 462; |
588 |
} |
589 |
if (!global.dialogue_open) |
590 |
{ |
591 |
scene += 0.5; |
592 |
ed.image_index = 0; |
593 |
ed.image_speed = 1/3; |
594 |
} |
595 |
break; |
596 |
case 36.5: |
597 |
if (floor(ed.image_index) == 6 && !audio_is_playing(snd_impact_gunshot)) |
598 |
{ |
599 |
audio_play_sound(snd_impact_gunshot, 1, 0); |
600 |
scr_screenshakescr_screenshakefunction scr_screenshake(arg0, arg1)
{
if (instance_exists(obj_screenshake_player))
exit;
with (instance_create(__view_get(e__VW.Object, 0).x, __view_get(e__VW.Object, 0).y, obj_screenshake_player))
{alarm[0]
intensity = arg1;
}
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} (8, 1); |
601 |
} |
602 |
if (ed.image_index >= (ed.image_number - 1)) |
603 |
{ |
604 |
ed.image_speed = 0; |
605 |
scene += 0.5; |
606 |
} |
607 |
break; |
608 |
case 37: |
609 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
610 |
with (msg) |
611 |
{ |
612 |
color = true; |
613 |
col_modif[0] = 65535; |
614 |
message_col[0][0] = " T"; |
615 |
sndfnt = 104; |
616 |
message[0] = "* Toughness!"; |
617 |
prt[0] = 451; |
618 |
} |
619 |
if (!global.dialogue_open) |
620 |
{ |
621 |
moray.image_index = 0; |
622 |
moray.image_speed = 0.25; |
623 |
scene += 0.5; |
624 |
} |
625 |
break; |
626 |
case 37.5: |
627 |
if (floor(moray.image_index) == 4 && !audio_is_playing(snd_shotweak)) |
628 |
{ |
629 |
audio_play_sound(snd_shotweak, 1, 0); |
630 |
scr_screenshakescr_screenshakefunction scr_screenshake(arg0, arg1)
{
if (instance_exists(obj_screenshake_player))
exit;
with (instance_create(__view_get(e__VW.Object, 0).x, __view_get(e__VW.Object, 0).y, obj_screenshake_player))
{alarm[0]
intensity = arg1;
}
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} (6, 1); |
631 |
} |
632 |
if (moray.image_index >= (moray.image_number - 1)) |
633 |
{ |
634 |
moray.image_speed = 0; |
635 |
scene += 0.5; |
636 |
} |
637 |
break; |
638 |
case 38: |
639 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
640 |
with (msg) |
641 |
{ |
642 |
color = true; |
643 |
col_modif[0] = 65535; |
644 |
message_col[0][0] = " Y"; |
645 |
sndfnt = 109; |
646 |
message[0] = "* Youthfulness!"; |
647 |
prt[0] = 445; |
648 |
} |
649 |
if (!global.dialogue_open) |
650 |
scene += 1; |
651 |
break; |
652 |
case 39: |
653 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
654 |
with (msg) |
655 |
{ |
656 |
color = true; |
657 |
col_modif[0] = 65535; |
658 |
message_col[0][0] = " J"; |
659 |
sndfnt = 107; |
660 |
message[0] = "* Justice!"; |
661 |
message[1] = "* ..."; |
662 |
talker[1] = 1169; |
663 |
message[2] = "* The J is silent."; |
664 |
message[3] = "* Anyway,"; |
665 |
message[4] = "* Now that we're# introduced..."; |
666 |
message[5] = "* I'd be glad to give you# and yer buddy a tour-"; |
667 |
message[6] = "* Hold on..."; |
668 |
message[7] = "* Yer buddy..."; |
669 |
message[8] = "* Are they a... HUMAN?"; |
670 |
prt[0] = 422; |
671 |
prt[1] = 421; |
672 |
prt[2] = 407; |
673 |
prt[3] = 417; |
674 |
prt[4] = 415; |
675 |
prt[5] = 417; |
676 |
prt[6] = 421; |
677 |
prt[7] = 421; |
678 |
prt[8] = 426; |
679 |
} |
680 |
if (msg.message_current == 1) |
681 |
audio_sound_gain(mus_feisty, 0, 100); |
682 |
if (msg.message_current == 2) |
683 |
{ |
684 |
starlo.action_sprite = false; |
685 |
mooch.action_sprite = false; |
686 |
ed.action_sprite = false; |
687 |
moray.action_sprite = false; |
688 |
ace.action_sprite = false; |
689 |
} |
690 |
if (msg.message_current == 3) |
691 |
audio_sound_gain(mus_feisty, 1, 100); |
692 |
if (!global.dialogue_open) |
693 |
scene++; |
694 |
break; |
695 |
case 40: |
696 |
with (martlet) |
697 |
{ |
698 |
x_dest[0] = obj_pl.x; |
699 |
y_dest[0] = obj_pl.y - 15; |
700 |
end_direction = "up"; |
701 |
actor_speed = 4; |
702 |
axis_override = "y"; |
703 |
can_walk = true; |
704 |
} |
705 |
scene++; |
706 |
break; |
707 |
case 41: |
708 |
if (!martlet.npc_arrived) |
709 |
exit; |
710 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
711 |
with (msg) |
712 |
{ |
713 |
sndfnt = 102; |
714 |
talker[0] = other.martlet; |
715 |
message[0] = "* Um..."; |
716 |
message[1] = "* Well... I won't say no?"; |
717 |
prt[0] = 322; |
718 |
prt[1] = 323; |
719 |
} |
720 |
if (!global.dialogue_open) |
721 |
scene++; |
722 |
break; |
723 |
case 42: |
724 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
725 |
with (msg) |
726 |
{ |
727 |
sndfnt = 107; |
728 |
talker[0] = 1169; |
729 |
message[0] = "* I knew it!"; |
730 |
message[1] = "* There ain't no doubt in# my mind!"; |
731 |
message[2] = "* That this kid is a real,# living, authentic human!"; |
732 |
message[3] = "* Sorry 'bout this."; |
733 |
message[4] = "* I gotta seize this# once-in-a-lifetime# opportunity!"; |
734 |
message[5] = "* Ed, fetch me that kid."; |
735 |
prt[0] = 417; |
736 |
prt[1] = 419; |
737 |
prt[2] = 422; |
738 |
prt[3] = 415; |
739 |
prt[4] = 417; |
740 |
prt[5] = 421; |
741 |
} |
742 |
if (!global.dialogue_open) |
743 |
scene++; |
744 |
break; |
745 |
case 43: |
746 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
747 |
with (msg) |
748 |
{ |
749 |
sndfnt = 104; |
750 |
talker[0] = other.ed; |
751 |
message[0] = "* Sure thing."; |
752 |
prt[0] = 451; |
753 |
} |
754 |
if (!global.dialogue_open) |
755 |
scene++; |
756 |
break; |
757 |
case 44: |
758 |
ed.x_dest[0] = player_npc.x; |
759 |
ed.y_dest[0] = player_npc.y - 15; |
760 |
ed.can_walk = true; |
761 |
ed.end_direction = "down"; |
762 |
with (martlet) |
763 |
{ |
764 |
if (place_meeting(x, y - 30, other.ed)) |
765 |
{ |
766 |
x_dest[0] = x + 40; |
767 |
y_dest[0] = y; |
768 |
can_walk = true; |
769 |
actor_speed = 2; |
770 |
end_direction = "left"; |
771 |
right_sprite = left_sprite; |
772 |
other.scene++; |
773 |
} |
774 |
} |
775 |
break; |
776 |
case 45: |
777 |
if (ed.npc_arrived) |
778 |
{ |
779 |
ed.action_sprite = true; |
780 |
ed.sprite_index = spr_ed_grab_clover; |
781 |
ed.image_speed = 0.25; |
782 |
instance_destroy(player_npc); |
783 |
obj_pl.image_alpha = 0; |
784 |
if (round(ed.image_index) == 7) |
785 |
{ |
786 |
if (!audio_is_playing(snd_toy_squeak)) |
787 |
audio_play_sound(snd_toy_squeak, 1, 0); |
788 |
} |
789 |
if (ed.image_index >= (ed.image_number - 1)) |
790 |
{ |
791 |
ed.image_speed = 0; |
792 |
ed.up_sprite = 155; |
793 |
ed.right_sprite = 152; |
794 |
ed.down_sprite = 154; |
795 |
ed.left_sprite = 150; |
796 |
ed.up_sprite_idle = 155; |
797 |
ed.right_sprite_idle = 152; |
798 |
ed.down_sprite_idle = 154; |
799 |
ed.left_sprite_idle = 150; |
800 |
ed.action_sprite = false; |
801 |
ed.x_dest[0] = starlo.x - 74; |
802 |
ed.y_dest[0] = starlo.y - 20; |
803 |
ed.can_walk = true; |
804 |
ed.end_direction = "down"; |
805 |
ed.npc_arrived = false; |
806 |
scene++; |
807 |
} |
808 |
} |
809 |
break; |
810 |
case 46: |
811 |
if (ed.npc_arrived) |
812 |
scene++; |
813 |
break; |
814 |
case 47: |
815 |
martlet.x_dest[0] = 720; |
816 |
martlet.y_dest[0] = martlet.y; |
817 |
martlet.end_direction = "up"; |
818 |
martlet.actor_speed = 2; |
819 |
martlet.can_walk = true; |
820 |
if (martlet.npc_arrived) |
821 |
{ |
822 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
823 |
with (msg) |
824 |
{ |
825 |
sndfnt = 102; |
826 |
talker[0] = other.martlet; |
827 |
message[0] = "* Wait! What are you doing# with Clover!"; |
828 |
prt[0] = 330; |
829 |
} |
830 |
if (!global.dialogue_open) |
831 |
{ |
832 |
ace.npc_arrived = false; |
833 |
mooch.npc_arrived = false; |
834 |
moray.npc_arrived = false; |
835 |
moray.x_dest[0] = starlo.x - 30; |
836 |
moray.y_dest[0] = ace.y; |
837 |
moray.can_walk = true; |
838 |
mooch.x_dest[0] = starlo.x; |
839 |
mooch.y_dest[0] = ace.y; |
840 |
mooch.can_walk = true; |
841 |
ace.x_dest[0] = starlo.x + 30; |
842 |
ace.y_dest[0] = ace.y; |
843 |
ace.can_walk = true; |
844 |
scene++; |
845 |
} |
846 |
} |
847 |
break; |
848 |
case 48: |
849 |
if (ace.npc_arrived == true && mooch.npc_arrived == true && moray.npc_arrived == true && ed.npc_arrived == true) |
850 |
{ |
851 |
timer = 15; |
852 |
scene++; |
853 |
} |
854 |
break; |
855 |
case 49: |
856 |
if (!scr_timerscr_timerfunction scr_timer()
{
if (timer > 0)
{
timer--;
return false;
}
else
{
return true;
}
} ()) |
857 |
exit; |
858 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
859 |
with (msg) |
860 |
{ |
861 |
sndfnt = 107; |
862 |
talker[0] = 1169; |
863 |
message[0] = "* Ah, Clover, is it?# That's a mighty fine# name!"; |
864 |
message[1] = "* To answer yer question,# Feathers, Clover and I# got a town to run!"; |
865 |
prt[0] = 407; |
866 |
prt[1] = 417; |
867 |
} |
868 |
if (!global.dialogue_open) |
869 |
scene++; |
870 |
break; |
871 |
case 50: |
872 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
873 |
with (msg) |
874 |
{ |
875 |
sndfnt = 102; |
876 |
talker[0] = other.martlet; |
877 |
message[0] = "* Don't \"Feathers\" me!"; |
878 |
message[1] = "* You're speaking to# Martlet of the Royal# Guard!"; |
879 |
message[2] = "* I can and will report# you to King ASGORE for# this abrasive behavior!"; |
880 |
prt[0] = 309; |
881 |
prt[1] = 309; |
882 |
prt[2] = 309; |
883 |
} |
884 |
if (!global.dialogue_open) |
885 |
scene++; |
886 |
break; |
887 |
case 51: |
888 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
889 |
with (msg) |
890 |
{ |
891 |
sndfnt = 107; |
892 |
talker[0] = 1169; |
893 |
message[0] = "* Ye're Royal Guard? "; |
894 |
message[1] = "* That's funny, 'cuz I# don't see anythin' to# indicate that."; |
895 |
message[2] = "* No armor? Weapon? Badge?"; |
896 |
prt[0] = 407; |
897 |
prt[1] = 421; |
898 |
prt[2] = 424; |
899 |
} |
900 |
if (!global.dialogue_open) |
901 |
scene++; |
902 |
break; |
903 |
case 52: |
904 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
905 |
with (msg) |
906 |
{ |
907 |
sndfnt = 102; |
908 |
talker[0] = other.martlet; |
909 |
message[0] = "* I... left it all at# my post in Snowdin!"; |
910 |
prt[0] = 329; |
911 |
} |
912 |
if (!global.dialogue_open) |
913 |
scene++; |
914 |
break; |
915 |
case 53: |
916 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
917 |
with (msg) |
918 |
{ |
919 |
sndfnt = 106; |
920 |
talker[0] = other.ace; |
921 |
message[0] = "* Please, don't bother# trying to fool# us."; |
922 |
prt[0] = 435; |
923 |
} |
924 |
if (!global.dialogue_open) |
925 |
scene++; |
926 |
break; |
927 |
case 54: |
928 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
929 |
with (msg) |
930 |
{ |
931 |
sndfnt = 107; |
932 |
talker[0] = 1169; |
933 |
message[0] = "* He's right."; |
934 |
message[1] = "* I am truly sorry 'bout# this, I really am."; |
935 |
message[2] = "* But business is# business."; |
936 |
message[3] = "* Together, we'll be the# Feisty SIX!"; |
937 |
prt[0] = 421; |
938 |
prt[1] = 415; |
939 |
prt[2] = 417; |
940 |
prt[3] = 422; |
941 |
} |
942 |
if (!global.dialogue_open) |
943 |
{ |
944 |
timer = 15; |
945 |
scene++; |
946 |
} |
947 |
break; |
948 |
case 55: |
949 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
950 |
with (msg) |
951 |
{ |
952 |
sndfnt = 104; |
953 |
talker[0] = other.ed; |
954 |
message[0] = "* The alliteration..."; |
955 |
prt[0] = 454; |
956 |
} |
957 |
if (!global.dialogue_open) |
958 |
scene++; |
959 |
break; |
960 |
case 56: |
961 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
962 |
with (msg) |
963 |
{ |
964 |
sndfnt = 107; |
965 |
talker[0] = 1169; |
966 |
message[0] = "* Shh."; |
967 |
prt[0] = 412; |
968 |
} |
969 |
if (!global.dialogue_open) |
970 |
scene++; |
971 |
break; |
972 |
case 57: |
973 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
974 |
with (msg) |
975 |
{ |
976 |
sndfnt = 102; |
977 |
talker[0] = other.martlet; |
978 |
message[0] = "* Tsk!"; |
979 |
message[1] = "* Clover! I can't go up# against these guys."; |
980 |
message[2] = "* Don't worry! I'll figure# this out!"; |
981 |
prt[0] = 309; |
982 |
prt[1] = 329; |
983 |
prt[2] = 317; |
984 |
} |
985 |
if (!global.dialogue_open) |
986 |
scene++; |
987 |
break; |
988 |
case 58: |
989 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
990 |
with (msg) |
991 |
{ |
992 |
sndfnt = 109; |
993 |
talker[0] = other.moray; |
994 |
message[0] = "* Star, should we be doing# this?"; |
995 |
message[1] = "* Poor Martlet is upset."; |
996 |
prt[0] = 449; |
997 |
prt[1] = 446; |
998 |
} |
999 |
if (!global.dialogue_open) |
1000 |
scene++; |
1001 |
break; |
1002 |
case 59: |
1003 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
1004 |
with (msg) |
1005 |
{ |
1006 |
color = true; |
1007 |
col_modif[0] = make_color_rgb(90, 88, 207); |
1008 |
sndfnt = 105; |
1009 |
talker[0] = other.mooch; |
1010 |
message[0] = "* Don't be a buzzkill,# Moray."; |
1011 |
message_col[0][0] = " # Moray "; |
1012 |
message[1] = "* When's the last time# something exciting# happened around here?"; |
1013 |
prt[0] = 460; |
1014 |
prt[1] = 455; |
1015 |
} |
1016 |
if (!global.dialogue_open) |
1017 |
scene++; |
1018 |
break; |
1019 |
case 60: |
1020 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
1021 |
with (msg) |
1022 |
{ |
1023 |
sndfnt = 109; |
1024 |
talker[0] = other.moray; |
1025 |
message[0] = "* You've got a point."; |
1026 |
prt[0] = 449; |
1027 |
} |
1028 |
if (!global.dialogue_open) |
1029 |
scene++; |
1030 |
break; |
1031 |
case 61: |
1032 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
1033 |
with (msg) |
1034 |
{ |
1035 |
sndfnt = 107; |
1036 |
talker[0] = 1169; |
1037 |
message[0] = "* Ahem!"; |
1038 |
message[1] = "* This town's FULL of# excitement. Especially# now."; |
1039 |
message[2] = "* Let's go, bud!"; |
1040 |
prt[0] = 421; |
1041 |
prt[1] = 417; |
1042 |
prt[2] = 417; |
1043 |
} |
1044 |
if (!global.dialogue_open) |
1045 |
{ |
1046 |
scene++; |
1047 |
starlo.can_walk = true; |
1048 |
starlo.npc_arrived = false; |
1049 |
starlo.x_dest[0] = starlo.x; |
1050 |
starlo.y_dest[0] = starlo.y - 60; |
1051 |
starlo.actor_speed = 1; |
1052 |
starlo.end_direction = "up"; |
1053 |
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;
} (184, 3000); |
1054 |
} |
1055 |
break; |
1056 |
case 62: |
1057 |
if (!starlo.npc_arrived) |
1058 |
exit; |
1059 |
with (starlo) |
1060 |
{ |
1061 |
action_sprite = true; |
1062 |
sprite_index = spr_starlo_turn_back; |
1063 |
} |
1064 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
1065 |
with (msg) |
1066 |
{ |
1067 |
color = true; |
1068 |
col_modif[0] = 65535; |
1069 |
sndfnt = 107; |
1070 |
position = 0; |
1071 |
talker[0] = other.starlo; |
1072 |
message[0] = "* Oh, and Feathers..."; |
1073 |
message[1] = "* Welcome to The Wild# East."; |
1074 |
message_col[1][0] = " The Wild# East "; |
1075 |
prt[0] = 415; |
1076 |
prt[1] = 417; |
1077 |
} |
1078 |
if (!global.dialogue_open) |
1079 |
{ |
1080 |
starlo.action_sprite = false; |
1081 |
starlo.npc_arrived = false; |
1082 |
starlo.can_walk = true; |
1083 |
starlo.x_dest[0] = starlo.x; |
1084 |
starlo.y_dest[0] = starlo.y - 80; |
1085 |
starlo.actor_speed = 1; |
1086 |
ed.can_walk = true; |
1087 |
ed.axis_override = "x"; |
1088 |
ed.x_dest[0] = starlo.x; |
1089 |
ed.y_dest[0] = starlo.y - 100; |
1090 |
ed.actor_speed = 1.5; |
1091 |
scene++; |
1092 |
} |
1093 |
break; |
1094 |
case 63: |
1095 |
if (starlo.npc_arrived == true) |
1096 |
{ |
1097 |
trn = instance_create(0, 0, obj_transition); |
1098 |
trn.newRoom = 128; |
1099 |
trn.fadespeed = 4; |
1100 |
trn.xx = 200; |
1101 |
trn.yy = 390; |
1102 |
instance_destroy(); |
1103 |
global.party_member = -4; |
1104 |
} |
1105 |
break; |
1106 |
} |
1107 |
|
1108 |
enum e__VW |
1109 |
{ |
1110 |
XView, |
1111 |
YView, |
1112 |
WView, |
1113 |
HView, |
1114 |
Angle, |
1115 |
HBorder, |
1116 |
VBorder, |
1117 |
HSpeed, |
1118 |
VSpeed, |
1119 |
Object, |
1120 |
Visible, |
1121 |
XPort, |
1122 |
YPort, |
1123 |
WPort, |
1124 |
HPort, |
1125 |
Camera, |
1126 |
SurfaceID |
1127 |
} |