1 |
var gardener_talknoise = snd_talk_axis |
2 |
audio_sound_pitch(gardener_talknoise, guardener_pitch) |
3 |
switch scene |
4 |
{ |
5 |
case 0: |
6 |
if (obj_pl.y <= 370) |
7 |
cutscene_initialize() |
8 |
break |
9 |
case 1: |
10 |
cutscene_sfx_play(gardener_talknoise, 1) |
11 |
break |
12 |
case 2: |
13 |
cutscene_follower_into_actor() |
14 |
break |
15 |
case 3: |
16 |
cutscene_npc_direction(actor_follower, "up") |
17 |
break |
18 |
case 4: |
19 |
obj_pl.direction = 90 |
20 |
cutscene_advance() |
21 |
break |
22 |
case 5: |
23 |
cutscene_wait(0.5) |
24 |
break |
25 |
case 6: |
26 |
cutscene_audio_fade(obj_radio.current_song, 0, 1000, 0.2, false, true) |
27 |
break |
28 |
case 7: |
29 |
if (obj_pl.x > 170) |
30 |
cutscene_npc_walk(actor_follower, (obj_pl.x - 25), obj_pl.y, 3, "x", "up") |
31 |
else |
32 |
cutscene_npc_walk(actor_follower, (obj_pl.x + 25), obj_pl.y, 3, "x", "up") |
33 |
break |
34 |
case 8: |
35 |
cutscene_dialogue() |
36 |
with (msg) |
37 |
{ |
38 |
talker[0] = 1161 |
39 |
message[0] = "* What was that?" |
40 |
prt[0] = 381 |
41 |
} |
42 |
break |
43 |
case 9: |
44 |
cutscene_camera_move(obj_pl.x, (obj_steamworks_29_gardener_bot.y + 20), 1) |
45 |
break |
46 |
case 10: |
47 |
cutscene_wait(0.5) |
48 |
break |
49 |
case 11: |
50 |
cutscene_dialogue() |
51 |
with (msg) |
52 |
{ |
53 |
sndfnt = gardener_talknoise |
54 |
message[0] = "* I..." |
55 |
position = 0 |
56 |
} |
57 |
break |
58 |
case 12: |
59 |
cutscene_wait(0.5) |
60 |
break |
61 |
case 13: |
62 |
obj_steamworks_29_gardener_bot.image_speed = 1 |
63 |
cutscene_advance() |
64 |
break |
65 |
case 14: |
66 |
if (obj_steamworks_29_gardener_bot.image_index >= 28) |
67 |
{ |
68 |
obj_steamworks_29_gardener_bot.image_speed = 0 |
69 |
cutscene_wait(0.25) |
70 |
} |
71 |
break |
72 |
case 15: |
73 |
cutscene_dialogue() |
74 |
with (msg) |
75 |
{ |
76 |
sndfnt = gardener_talknoise |
77 |
message[0] = "* AM..." |
78 |
message[1] = "* AWAKE." |
79 |
position = 0 |
80 |
} |
81 |
break |
82 |
case 16: |
83 |
obj_steamworks_29_gardener_bot.image_speed = 1 |
84 |
cutscene_advance() |
85 |
break |
86 |
case 17: |
87 |
if (obj_steamworks_29_gardener_bot.image_index >= (obj_steamworks_29_gardener_bot.image_number - 1) || obj_steamworks_29_gardener_bot.sprite_index == spr_steamworks_29_gardener_bot_idle) |
88 |
{ |
89 |
obj_steamworks_29_gardener_bot.image_speed = 1 |
90 |
obj_steamworks_29_gardener_bot.sprite_index = spr_steamworks_29_gardener_bot_idle |
91 |
cutscene_wait(0.25) |
92 |
} |
93 |
break |
94 |
case 18: |
95 |
cutscene_dialogue() |
96 |
with (msg) |
97 |
{ |
98 |
sndfnt = gardener_talknoise |
99 |
message[0] = "* GUARDENER - MODEL 02 -_# ST_ATUS, D_MAGED. . ." |
100 |
position = 0 |
101 |
} |
102 |
break |
103 |
case 19: |
104 |
cutscene_wait(0.5) |
105 |
break |
106 |
case 20: |
107 |
cutscene_dialogue() |
108 |
with (msg) |
109 |
{ |
110 |
col_modif[0] = 255 |
111 |
color = true |
112 |
sndfnt_array[0] = gardener_talknoise |
113 |
sndfnt_array[3] = 108 |
114 |
sndfnt_array[4] = gardener_talknoise |
115 |
sndfnt_array[9] = 108 |
116 |
sndfnt_array[10] = gardener_talknoise |
117 |
message[0] = "* OH, HE-HELLO THERE." |
118 |
message[1] = "* WAS IT YOU WHO# DISTURBED THE FLOR# A? ?" |
119 |
message[2] = "* I ASK YOU TO PLEASE# HAVE MORE _RESPECT." |
120 |
message[3] = "* Um, we apologize. Won't# happen again." |
121 |
message[4] = "* DO NOT WORRY. _" |
122 |
message[5] = "* SEEING T;HAT THE CHILD# IS SO Y-Y-OUNG, IT IS# FORGI>ABLE." |
123 |
message[6] = "* I WILL REPORT# THE_INCIDENT AS A LEVEL# 3-03--__4LLEE" |
124 |
message[7] = "* EV-EL 10 OFFENSE." |
125 |
message_col[7][0] = "* EV-EL 10 OFFENSE." |
126 |
message[8] = "* LEVEL 10 MEANS - THE# TERMINATION OF THE TRAMPLER." |
127 |
message[9] = "* Hold on!" |
128 |
message[10] = "* FAREWELL." |
129 |
prt[3] = 381 |
130 |
prt[9] = 381 |
131 |
position = 0 |
132 |
switch message_current |
133 |
{ |
134 |
case 0: |
135 |
noloop_message = 0 |
136 |
break |
137 |
case 7: |
138 |
if (noloop_message < message_current) |
139 |
{ |
140 |
noloop_message = message_current |
141 |
scr_screenshakescr_screenshakefunction scr_screenshake(argument0, argument1) //gml_Script_scr_screenshake
{
if instance_exists(obj_screenshake_player)
return;
with (instance_create(__view_get((9 << 0), 0).x, __view_get((9 << 0), 0).y, obj_screenshake_player))
{
alarm[0]
intensity = argument1
}
} (6, 2) |
142 |
audio_play_sound(snd_guardener_level10, 1, 0) |
143 |
guardener_pitch = 0.25 |
144 |
} |
145 |
message_timer = 60 |
146 |
skippable = false |
147 |
break |
148 |
case 8: |
149 |
skippable = true |
150 |
message_timer = -1 |
151 |
break |
152 |
} |
153 |
|
154 |
} |
155 |
break |
156 |
case 21: |
157 |
instance_create_depth(170, (obj_pl.y + 10), (obj_pl.depth - 1), obj_steamworks_29_gardener_bot_fence) |
158 |
instance_create_depth(170, (obj_pl.y - 20), (obj_pl.depth + 1), obj_steamworks_29_gardener_bot_fence) |
159 |
cutscene_advance() |
160 |
break |
161 |
case 22: |
162 |
cutscene_wait(1.5) |
163 |
break |
164 |
case 23: |
165 |
cutscene_battle_initiate("guardener", true, true) |
166 |
instance_destroy() |
167 |
break |
168 |
case 24: |
169 |
cutscene_wait(1.5) |
170 |
break |
171 |
case 25: |
172 |
cutscene_dialogue() |
173 |
with (msg) |
174 |
{ |
175 |
color = true |
176 |
col_modif[0] = 16711935 |
177 |
sndfnt_array[0] = gardener_talknoise |
178 |
sndfnt_array[4] = 391 |
179 |
sndfnt_array[5] = gardener_talknoise |
180 |
sndfnt_array[12] = 391 |
181 |
sndfnt_array[13] = gardener_talknoise |
182 |
message[0] = "* I WAS ABOUT TO DO SOMETHING..# ." |
183 |
message[1] = "* OH YES, I REMEMBER." |
184 |
message[2] = "* SENDING LEVEL 3 REPORT_" |
185 |
message[3] = "* ..." |
186 |
message[4] = "* [RESPONSE - NEGATIVE]" |
187 |
message_col[4][0] = "* [RESPONSE - NEGATIVE]" |
188 |
message[5] = "* I APOLOGIZE. ALLOW ME TO CALL# AGAIN." |
189 |
message[6] = "* SENDING LEVEL 3 REPORT_" |
190 |
message[7] = "* HELLO? CREATOR?" |
191 |
message[8] = "* ARE YOU THERE?" |
192 |
message[9] = "* ..." |
193 |
message[10] = "* I BELIEVE MY CREATOR MAY BE# PLAYING A \"PRACTICAL JOKE\" ON# ME." |
194 |
message[11] = "* SIGNALING STEAMWORKS HEAD# OFFICE_" |
195 |
message[12] = "* [BEEEEP - THE LINE YOU ARE# CONTACTING HAS BEEN# DISCONNECTED]" |
196 |
message_col[12][0] = "* [BEEEEP - THE LINE YOU ARE# CONTACTING HAS BEEN# DISCONNECTED]" |
197 |
message[13] = "* WHERE... WHERE IS EVERYBODY?" |
198 |
position = 0 |
199 |
} |
200 |
break |
201 |
case 26: |
202 |
cutscene_action_sprite(780, 3630, 1, false, 0) |
203 |
break |
204 |
case 27: |
205 |
obj_steamworks_29_gardener_bot.sprite_index = spr_steamworks_29_gardener_bot_idle |
206 |
cutscene_advance() |
207 |
break |
208 |
case 28: |
209 |
cutscene_wait(0.5) |
210 |
break |
211 |
case 29: |
212 |
cutscene_dialogue() |
213 |
with (msg) |
214 |
{ |
215 |
color = true |
216 |
col_modif[0] = 16711935 |
217 |
sndfnt_array[0] = gardener_talknoise |
218 |
sndfnt_array[5] = 391 |
219 |
sndfnt_array[6] = gardener_talknoise |
220 |
message[0] = "* OH... I HAVE ALLOWED IMMENSE# OVERGROWTH." |
221 |
message[1] = "* I UNDERSTAND." |
222 |
message[2] = "* IT SEEMS... MY DAY HAS PASSED." |
223 |
message[3] = "* ..." |
224 |
message[4] = "* ...CANCEL REPORT AND# REINITIATE HIBERNATION_" |
225 |
message[5] = "* [HIBERNATION SEQUENCE ENGAGED]" |
226 |
message_col[5][0] = "* [HIBERNATION SEQUENCE ENGAGED]" |
227 |
message[6] = "* I AM SORRY FOR INCONVENIENCING# YOU." |
228 |
message[7] = "* I DO NOT KNOW WHAT THE WORLD# IS LIKE NOW, NOR D-DO I WISH# TO. //" |
229 |
position = 0 |
230 |
} |
231 |
break |
232 |
case 30: |
233 |
audio_play_sound(snd_guardener_leave_1, 1, 0) |
234 |
obj_steamworks_29_gardener_bot.sprite_index = spr_steamworks_29_gardener_bot_leave |
235 |
obj_steamworks_29_gardener_bot.image_speed = 1 |
236 |
obj_steamworks_29_gardener_bot.image_index = 0 |
237 |
cutscene_advance() |
238 |
break |
239 |
case 31: |
240 |
if (obj_steamworks_29_gardener_bot.image_index >= 24) |
241 |
{ |
242 |
obj_steamworks_29_gardener_bot.image_speed = 0 |
243 |
cutscene_advance() |
244 |
} |
245 |
break |
246 |
case 32: |
247 |
cutscene_dialogue() |
248 |
with (msg) |
249 |
{ |
250 |
sndfnt = gardener_talknoise |
251 |
message[0] = "* LIFE WAS. .. M-MUCH BETT>ER..." |
252 |
message[1] = "* _NOT ;KNOWING... ." |
253 |
position = 0 |
254 |
} |
255 |
break |
256 |
case 33: |
257 |
audio_play_sound(snd_guardener_leave_2, 1, 0) |
258 |
obj_steamworks_29_gardener_bot.image_speed = 1 |
259 |
cutscene_advance() |
260 |
break |
261 |
case 34: |
262 |
if (obj_steamworks_29_gardener_bot.image_index >= (obj_steamworks_29_gardener_bot.image_number - 1)) |
263 |
{ |
264 |
obj_steamworks_29_gardener_bot.image_speed = 0 |
265 |
cutscene_advance() |
266 |
} |
267 |
break |
268 |
case 35: |
269 |
cutscene_wait(0.5) |
270 |
break |
271 |
case 36: |
272 |
cutscene_dialogue() |
273 |
with (msg) |
274 |
{ |
275 |
talker[0] = 1161 |
276 |
message[0] = "* ..." |
277 |
message[1] = "* ..." |
278 |
message[2] = "* Let's... keep moving." |
279 |
prt[0] = 371 |
280 |
prt[1] = 394 |
281 |
prt[2] = 370 |
282 |
position = 0 |
283 |
} |
284 |
break |
285 |
case 37: |
286 |
cutscene_camera_move(obj_pl.x, obj_pl.y, 2) |
287 |
break |
288 |
case 38: |
289 |
if cutscene_npc_walk(1161, obj_pl.x, (obj_pl.y + 20), 2, "x", "up") |
290 |
{ |
291 |
cutscene_actor_into_follower() |
292 |
cutscene_advance(39) |
293 |
} |
294 |
break |
295 |
case 39: |
296 |
scr_radio_restart() |
297 |
global.sworks_flag[20] = 2 |
298 |
camera_set_view_target(view_camera[0], 1031) |
299 |
instance_destroy(obj_steamworks_29_gardener_bot) |
300 |
cutscene_end() |
301 |
audio_sound_pitch(snd_talk_axis, 1) |
302 |
break |
303 |
case 40: |
304 |
cutscene_wait(1) |
305 |
break |
306 |
case 41: |
307 |
cutscene_dialogue() |
308 |
with (msg) |
309 |
{ |
310 |
talker[0] = 1161 |
311 |
message[0] = "* ..." |
312 |
message[1] = "* Surely..." |
313 |
message[2] = "* There had to be some# other way..." |
314 |
message[3] = "* ..." |
315 |
message[4] = "* Let's just... keep# moving." |
316 |
prt[0] = 371 |
317 |
prt[1] = 370 |
318 |
prt[2] = 370 |
319 |
prt[3] = 394 |
320 |
prt[4] = 371 |
321 |
if (message_current == 1) |
322 |
{ |
323 |
obj_ceroba_npc.npc_direction = "left" |
324 |
obj_pl.direction = 0 |
325 |
} |
326 |
} |
327 |
break |
328 |
case 42: |
329 |
obj_pl.direction = 90 |
330 |
global.party_member = 1171 |
331 |
cutscene_actor_into_follower() |
332 |
break |
333 |
case 43: |
334 |
scr_radio_restart() |
335 |
global.sworks_flag[20] = 4 |
336 |
global.sworks_flag[41] = 1 |
337 |
camera_set_view_target(view_camera[0], 1031) |
338 |
cutscene_end() |
339 |
audio_sound_pitch(snd_talk_axis, 1) |
340 |
break |
341 |
} |