| 1 |
var gardener_talknoise = 111; |
| 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(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, 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 |
break; |
| 155 |
case 21: |
| 156 |
instance_create_depth(170, obj_pl.y + 10, obj_pl.depth - 1, obj_steamworks_29_gardener_bot_fence); |
| 157 |
instance_create_depth(170, obj_pl.y - 20, obj_pl.depth + 1, obj_steamworks_29_gardener_bot_fence); |
| 158 |
cutscene_advance(); |
| 159 |
break; |
| 160 |
case 22: |
| 161 |
cutscene_wait(1.5); |
| 162 |
break; |
| 163 |
case 23: |
| 164 |
cutscene_battle_initiate("guardener", true, true); |
| 165 |
instance_destroy(); |
| 166 |
break; |
| 167 |
case 24: |
| 168 |
cutscene_wait(1.5); |
| 169 |
break; |
| 170 |
case 25: |
| 171 |
cutscene_dialogue(); |
| 172 |
with (msg) |
| 173 |
{ |
| 174 |
color = true; |
| 175 |
col_modif[0] = 16711935; |
| 176 |
sndfnt_array[0] = gardener_talknoise; |
| 177 |
sndfnt_array[4] = 391; |
| 178 |
sndfnt_array[5] = gardener_talknoise; |
| 179 |
sndfnt_array[12] = 391; |
| 180 |
sndfnt_array[13] = gardener_talknoise; |
| 181 |
message[0] = "* I WAS ABOUT TO DO SOMETHING..# ."; |
| 182 |
message[1] = "* OH YES, I REMEMBER."; |
| 183 |
message[2] = "* SENDING LEVEL 3 REPORT_"; |
| 184 |
message[3] = "* ..."; |
| 185 |
message[4] = "* [RESPONSE - NEGATIVE]"; |
| 186 |
message_col[4][0] = "* [RESPONSE - NEGATIVE]"; |
| 187 |
message[5] = "* I APOLOGIZE. ALLOW ME TO CALL# AGAIN."; |
| 188 |
message[6] = "* SENDING LEVEL 3 REPORT_"; |
| 189 |
message[7] = "* HELLO? CREATOR?"; |
| 190 |
message[8] = "* ARE YOU THERE?"; |
| 191 |
message[9] = "* ..."; |
| 192 |
message[10] = "* I BELIEVE MY CREATOR MAY BE# PLAYING A \"PRACTICAL JOKE\" ON# ME."; |
| 193 |
message[11] = "* SIGNALING STEAMWORKS HEAD# OFFICE_"; |
| 194 |
message[12] = "* [BEEEEP - THE LINE YOU ARE# CONTACTING HAS BEEN# DISCONNECTED]"; |
| 195 |
message_col[12][0] = "* [BEEEEP - THE LINE YOU ARE# CONTACTING HAS BEEN# DISCONNECTED]"; |
| 196 |
message[13] = "* WHERE... WHERE IS EVERYBODY?"; |
| 197 |
position = 0; |
| 198 |
} |
| 199 |
break; |
| 200 |
case 26: |
| 201 |
cutscene_action_sprite(780, 3630, 1, false, 0); |
| 202 |
break; |
| 203 |
case 27: |
| 204 |
obj_steamworks_29_gardener_bot.sprite_index = spr_steamworks_29_gardener_bot_idle; |
| 205 |
cutscene_advance(); |
| 206 |
break; |
| 207 |
case 28: |
| 208 |
cutscene_wait(0.5); |
| 209 |
break; |
| 210 |
case 29: |
| 211 |
cutscene_dialogue(); |
| 212 |
with (msg) |
| 213 |
{ |
| 214 |
color = true; |
| 215 |
col_modif[0] = 16711935; |
| 216 |
sndfnt_array[0] = gardener_talknoise; |
| 217 |
sndfnt_array[5] = 391; |
| 218 |
sndfnt_array[6] = gardener_talknoise; |
| 219 |
message[0] = "* OH... I HAVE ALLOWED IMMENSE# OVERGROWTH."; |
| 220 |
message[1] = "* I UNDERSTAND."; |
| 221 |
message[2] = "* IT SEEMS... MY DAY HAS PASSED."; |
| 222 |
message[3] = "* ..."; |
| 223 |
message[4] = "* ...CANCEL REPORT AND# REINITIATE HIBERNATION_"; |
| 224 |
message[5] = "* [HIBERNATION SEQUENCE ENGAGED]"; |
| 225 |
message_col[5][0] = "* [HIBERNATION SEQUENCE ENGAGED]"; |
| 226 |
message[6] = "* I AM SORRY FOR INCONVENIENCING# YOU."; |
| 227 |
message[7] = "* I DO NOT KNOW WHAT THE WORLD# IS LIKE NOW, NOR D-DO I WISH# TO. //"; |
| 228 |
position = 0; |
| 229 |
} |
| 230 |
break; |
| 231 |
case 30: |
| 232 |
audio_play_sound(snd_guardener_leave_1, 1, 0); |
| 233 |
obj_steamworks_29_gardener_bot.sprite_index = spr_steamworks_29_gardener_bot_leave; |
| 234 |
obj_steamworks_29_gardener_bot.image_speed = 1; |
| 235 |
obj_steamworks_29_gardener_bot.image_index = 0; |
| 236 |
cutscene_advance(); |
| 237 |
break; |
| 238 |
case 31: |
| 239 |
if (obj_steamworks_29_gardener_bot.image_index >= 24) |
| 240 |
{ |
| 241 |
obj_steamworks_29_gardener_bot.image_speed = 0; |
| 242 |
cutscene_advance(); |
| 243 |
} |
| 244 |
break; |
| 245 |
case 32: |
| 246 |
cutscene_dialogue(); |
| 247 |
with (msg) |
| 248 |
{ |
| 249 |
sndfnt = gardener_talknoise; |
| 250 |
message[0] = "* LIFE WAS. .. M-MUCH BETT>ER..."; |
| 251 |
message[1] = "* _NOT ;KNOWING... ."; |
| 252 |
position = 0; |
| 253 |
} |
| 254 |
break; |
| 255 |
case 33: |
| 256 |
audio_play_sound(snd_guardener_leave_2, 1, 0); |
| 257 |
obj_steamworks_29_gardener_bot.image_speed = 1; |
| 258 |
cutscene_advance(); |
| 259 |
break; |
| 260 |
case 34: |
| 261 |
if (obj_steamworks_29_gardener_bot.image_index >= (obj_steamworks_29_gardener_bot.image_number - 1)) |
| 262 |
{ |
| 263 |
obj_steamworks_29_gardener_bot.image_speed = 0; |
| 264 |
cutscene_advance(); |
| 265 |
} |
| 266 |
break; |
| 267 |
case 35: |
| 268 |
cutscene_wait(0.5); |
| 269 |
break; |
| 270 |
case 36: |
| 271 |
cutscene_dialogue(); |
| 272 |
with (msg) |
| 273 |
{ |
| 274 |
talker[0] = 1161; |
| 275 |
message[0] = "* ..."; |
| 276 |
message[1] = "* ..."; |
| 277 |
message[2] = "* Let's... keep moving."; |
| 278 |
prt[0] = 371; |
| 279 |
prt[1] = 394; |
| 280 |
prt[2] = 370; |
| 281 |
position = 0; |
| 282 |
} |
| 283 |
break; |
| 284 |
case 37: |
| 285 |
cutscene_camera_move(obj_pl.x, obj_pl.y, 2); |
| 286 |
break; |
| 287 |
case 38: |
| 288 |
if (cutscene_npc_walk(1161, obj_pl.x, obj_pl.y + 20, 2, "x", "up")) |
| 289 |
{ |
| 290 |
cutscene_actor_into_follower(); |
| 291 |
cutscene_advance(39); |
| 292 |
} |
| 293 |
break; |
| 294 |
case 39: |
| 295 |
scr_radio_restart(); |
| 296 |
global.sworks_flag[20] = 2; |
| 297 |
camera_set_view_target(view_camera[0], 1031); |
| 298 |
instance_destroy(obj_steamworks_29_gardener_bot); |
| 299 |
cutscene_end(); |
| 300 |
audio_sound_pitch(snd_talk_axis, 1); |
| 301 |
break; |
| 302 |
case 40: |
| 303 |
cutscene_wait(1); |
| 304 |
break; |
| 305 |
case 41: |
| 306 |
cutscene_dialogue(); |
| 307 |
with (msg) |
| 308 |
{ |
| 309 |
talker[0] = 1161; |
| 310 |
message[0] = "* ..."; |
| 311 |
message[1] = "* Surely..."; |
| 312 |
message[2] = "* There had to be some# other way..."; |
| 313 |
message[3] = "* ..."; |
| 314 |
message[4] = "* Let's just... keep# moving."; |
| 315 |
prt[0] = 371; |
| 316 |
prt[1] = 370; |
| 317 |
prt[2] = 370; |
| 318 |
prt[3] = 394; |
| 319 |
prt[4] = 371; |
| 320 |
if (message_current == 1) |
| 321 |
{ |
| 322 |
obj_ceroba_npc.npc_direction = "left"; |
| 323 |
obj_pl.direction = 0; |
| 324 |
} |
| 325 |
} |
| 326 |
break; |
| 327 |
case 42: |
| 328 |
obj_pl.direction = 90; |
| 329 |
global.party_member = 1171; |
| 330 |
cutscene_actor_into_follower(); |
| 331 |
break; |
| 332 |
case 43: |
| 333 |
scr_radio_restart(); |
| 334 |
global.sworks_flag[20] = 4; |
| 335 |
global.sworks_flag[41] = 1; |
| 336 |
camera_set_view_target(view_camera[0], 1031); |
| 337 |
cutscene_end(); |
| 338 |
audio_sound_pitch(snd_talk_axis, 1); |
| 339 |
break; |
| 340 |
} |