| 1 |
var starlo = 1169; |
| 2 |
var ed = 1162; |
| 3 |
var mooch = 1165; |
| 4 |
var moray = 1167; |
| 5 |
var ace = 1158; |
| 6 |
var clover_npc = 1168; |
| 7 |
switch (scene) |
| 8 |
{ |
| 9 |
case 0: |
| 10 |
if (!audio_is_playing(mus_feisty)) |
| 11 |
{ |
| 12 |
audio_sound_gain(obj_radio.current_song, 0, 0); |
| 13 |
audio_play_sound(mus_feisty, 10, 1); |
| 14 |
} |
| 15 |
__view_set(e__VW.Object, 0, starlo); |
| 16 |
with (starlo) |
| 17 |
{ |
| 18 |
if (image_alpha < 1) |
| 19 |
{ |
| 20 |
image_alpha += 0.1; |
| 21 |
} |
| 22 |
else |
| 23 |
{ |
| 24 |
x_dest[0] = x; |
| 25 |
y_dest[0] = 270; |
| 26 |
x_dest[1] = 640; |
| 27 |
y_dest[1] = y_dest[0]; |
| 28 |
x_dest[2] = 720; |
| 29 |
y_dest[2] = 375; |
| 30 |
axis_override = "y"; |
| 31 |
end_direction = "down"; |
| 32 |
can_walk = true; |
| 33 |
actor_speed = 3; |
| 34 |
other.scene++; |
| 35 |
other.timer = 20; |
| 36 |
} |
| 37 |
} |
| 38 |
break; |
| 39 |
case 1: |
| 40 |
if (!scr_timerscr_timerfunction scr_timer()
{
if (timer > 0)
{
timer--;
return false;
}
else
{
return true;
}
} ()) |
| 41 |
exit; |
| 42 |
with (clover_npc) |
| 43 |
{ |
| 44 |
if (image_alpha < 1) |
| 45 |
{ |
| 46 |
image_alpha += 0.1; |
| 47 |
} |
| 48 |
else |
| 49 |
{ |
| 50 |
x_dest[0] = x; |
| 51 |
y_dest[0] = 270; |
| 52 |
x_dest[1] = 640; |
| 53 |
y_dest[1] = y_dest[0]; |
| 54 |
x_dest[2] = 700; |
| 55 |
y_dest[2] = 375; |
| 56 |
axis_override = "y"; |
| 57 |
end_direction = "down"; |
| 58 |
can_walk = true; |
| 59 |
actor_speed = 3; |
| 60 |
other.scene++; |
| 61 |
other.timer = 15; |
| 62 |
} |
| 63 |
} |
| 64 |
break; |
| 65 |
case 2: |
| 66 |
if (!starlo.npc_arrived || !clover_npc.npc_arrived || !scr_timerscr_timerfunction scr_timer()
{
if (timer > 0)
{
timer--;
return false;
}
else
{
return true;
}
} ()) |
| 67 |
exit; |
| 68 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
| 69 |
with (msg) |
| 70 |
{ |
| 71 |
sndfnt = 107; |
| 72 |
talker[0] = starlo; |
| 73 |
message[0] = "* Alright, everyone! Come# 'ere!"; |
| 74 |
prt[0] = 417; |
| 75 |
} |
| 76 |
if (!global.dialogue_open) |
| 77 |
scene++; |
| 78 |
break; |
| 79 |
case 3: |
| 80 |
with (ace) |
| 81 |
{ |
| 82 |
x_dest[0] = 640; |
| 83 |
y_dest[0] = 375; |
| 84 |
actor_speed = 3; |
| 85 |
axis_override = "x"; |
| 86 |
can_walk = true; |
| 87 |
end_direction = "right"; |
| 88 |
} |
| 89 |
with (mooch) |
| 90 |
{ |
| 91 |
x_dest[0] = 680; |
| 92 |
y_dest[0] = 440; |
| 93 |
actor_speed = 3; |
| 94 |
axis_override = "y"; |
| 95 |
can_walk = true; |
| 96 |
end_direction = "up"; |
| 97 |
} |
| 98 |
with (ed) |
| 99 |
{ |
| 100 |
x_dest[0] = 760; |
| 101 |
y_dest[0] = 440; |
| 102 |
actor_speed = 3; |
| 103 |
can_walk = true; |
| 104 |
end_direction = "up"; |
| 105 |
} |
| 106 |
with (moray) |
| 107 |
{ |
| 108 |
x_dest[0] = 800; |
| 109 |
y_dest[0] = 375; |
| 110 |
actor_speed = 3; |
| 111 |
can_walk = true; |
| 112 |
end_direction = "left"; |
| 113 |
} |
| 114 |
scene++; |
| 115 |
timer = 45; |
| 116 |
break; |
| 117 |
case 4: |
| 118 |
if (moray.npc_arrived && ed.npc_arrived && mooch.npc_arrived && ace.npc_arrived) |
| 119 |
{ |
| 120 |
if (!scr_timerscr_timerfunction scr_timer()
{
if (timer > 0)
{
timer--;
return false;
}
else
{
return true;
}
} ()) |
| 121 |
exit; |
| 122 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
| 123 |
with (msg) |
| 124 |
{ |
| 125 |
talker[0] = mooch; |
| 126 |
message[0] = "* Watcha want, boss?"; |
| 127 |
prt[0] = 455; |
| 128 |
talker[1] = moray; |
| 129 |
message[1] = "* Oooh, are we going to# begin training with# Clover?"; |
| 130 |
prt[1] = 445; |
| 131 |
talker[2] = starlo; |
| 132 |
message[2] = "* Precisely, Moray!"; |
| 133 |
message[3] = "* I thought we'd start# with a classic game that# involves pacin'."; |
| 134 |
prt[2] = 417; |
| 135 |
prt[3] = 424; |
| 136 |
talker[4] = ed; |
| 137 |
message[4] = "* You mean what I see# you doin' every night# outside the house?"; |
| 138 |
message[5] = "* Back and forth,# whispering to# yourself..."; |
| 139 |
prt[4] = 454; |
| 140 |
prt[5] = 453; |
| 141 |
talker[6] = starlo; |
| 142 |
message[6] = "* What? I don't do that!"; |
| 143 |
message[7] = "* Some monsters have# unique ways of gettin'# their thoughts out."; |
| 144 |
message[8] = "* Other... monsters."; |
| 145 |
message[9] = "* ..."; |
| 146 |
message[10] = "* Ahem."; |
| 147 |
message[11] = "* Can anyone CORRECTLY# guess what game I'm# hintin' at?"; |
| 148 |
prt[6] = 412; |
| 149 |
prt[7] = 407; |
| 150 |
prt[8] = 410; |
| 151 |
prt[9] = 428; |
| 152 |
prt[10] = 415; |
| 153 |
prt[11] = 417; |
| 154 |
talker[12] = mooch; |
| 155 |
message[12] = "* Oh! Oh! I know!"; |
| 156 |
prt[12] = 458; |
| 157 |
talker[13] = starlo; |
| 158 |
message[13] = "* Yes, Mooch."; |
| 159 |
prt[13] = 417; |
| 160 |
talker[14] = mooch; |
| 161 |
message[14] = "* A DUEL!"; |
| 162 |
prt[14] = 463; |
| 163 |
talker[15] = starlo; |
| 164 |
message[15] = "* Bingo!"; |
| 165 |
prt[15] = 422; |
| 166 |
} |
| 167 |
if (!global.dialogue_open) |
| 168 |
{ |
| 169 |
scene++; |
| 170 |
audio_sound_gain(mus_feisty, 0, 300); |
| 171 |
timer = 30; |
| 172 |
} |
| 173 |
} |
| 174 |
break; |
| 175 |
case 5: |
| 176 |
if (!scr_timerscr_timerfunction scr_timer()
{
if (timer > 0)
{
timer--;
return false;
}
else
{
return true;
}
} ()) |
| 177 |
exit; |
| 178 |
cutscene_event_wildeast_stamp(1258, 253, 150, 10, 50); |
| 179 |
break; |
| 180 |
case 6: |
| 181 |
audio_sound_gain(mus_feisty, 1, 300); |
| 182 |
timer = 30; |
| 183 |
scene++; |
| 184 |
break; |
| 185 |
case 7: |
| 186 |
if (!scr_timerscr_timerfunction scr_timer()
{
if (timer > 0)
{
timer--;
return false;
}
else
{
return true;
}
} ()) |
| 187 |
exit; |
| 188 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
| 189 |
with (msg) |
| 190 |
{ |
| 191 |
color = true; |
| 192 |
col_modif[0] = make_color_rgb(111, 104, 145); |
| 193 |
talker[0] = ace; |
| 194 |
message[0] = "* No, no. This is all# wrong."; |
| 195 |
prt[0] = 435; |
| 196 |
talker[1] = moray; |
| 197 |
message[1] = "* Oh? What's the matter?"; |
| 198 |
prt[1] = 449; |
| 199 |
talker[2] = ace; |
| 200 |
message[2] = "* Clover doesn't... look# right."; |
| 201 |
message[3] = "* Look at their hat. It's# tattered and practically# decomposing."; |
| 202 |
message[4] = "* And that iron in their# holster. What kinda# peashooter is that?"; |
| 203 |
prt[2] = 435; |
| 204 |
prt[3] = 437; |
| 205 |
prt[4] = 435; |
| 206 |
talker[5] = ed; |
| 207 |
message[5] = "* Cool it, Ace. I'm sure# they tried their best."; |
| 208 |
message_col[5][0] = " Ace "; |
| 209 |
prt[5] = 453; |
| 210 |
talker[6] = starlo; |
| 211 |
message[6] = "* No, Ace has a point!"; |
| 212 |
message[7] = "* What kinda host am I if# I don't spoil you with# gifts?"; |
| 213 |
message[8] = "* To the weapon store!"; |
| 214 |
prt[6] = 419; |
| 215 |
prt[7] = 417; |
| 216 |
prt[8] = 422; |
| 217 |
} |
| 218 |
if (!global.dialogue_open) |
| 219 |
{ |
| 220 |
audio_sound_gain(mus_feisty, 0, 600); |
| 221 |
timer = 20; |
| 222 |
scene++; |
| 223 |
} |
| 224 |
break; |
| 225 |
case 8: |
| 226 |
if (!scr_timerscr_timerfunction scr_timer()
{
if (timer > 0)
{
timer--;
return false;
}
else
{
return true;
}
} ()) |
| 227 |
exit; |
| 228 |
cutscene_event_wildeast_stamp(1259, 254, 120, 5, 1); |
| 229 |
break; |
| 230 |
case 9: |
| 231 |
cutscene_camera_freeze(); |
| 232 |
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, 1); |
| 233 |
timer = 30; |
| 234 |
break; |
| 235 |
case 10: |
| 236 |
if (!scr_timerscr_timerfunction scr_timer()
{
if (timer > 0)
{
timer--;
return false;
}
else
{
return true;
}
} ()) |
| 237 |
exit; |
| 238 |
with (starlo) |
| 239 |
{ |
| 240 |
actor_speed = 3; |
| 241 |
x_dest[0] = x + 200; |
| 242 |
y_dest[0] = y + 30; |
| 243 |
axis_override = "y"; |
| 244 |
can_walk = true; |
| 245 |
} |
| 246 |
timer = 10; |
| 247 |
scene++; |
| 248 |
break; |
| 249 |
case 11: |
| 250 |
if (!scr_timerscr_timerfunction scr_timer()
{
if (timer > 0)
{
timer--;
return false;
}
else
{
return true;
}
} ()) |
| 251 |
exit; |
| 252 |
with (clover_npc) |
| 253 |
{ |
| 254 |
actor_speed = 3; |
| 255 |
x_dest[0] = x + 220; |
| 256 |
y_dest[0] = y + 30; |
| 257 |
axis_override = "y"; |
| 258 |
can_walk = true; |
| 259 |
} |
| 260 |
scene++; |
| 261 |
break; |
| 262 |
case 12: |
| 263 |
if (clover_npc.npc_arrived == true) |
| 264 |
{ |
| 265 |
trn = instance_create(0, 0, obj_transition); |
| 266 |
trn.newRoom = 133; |
| 267 |
trn.xx = 40; |
| 268 |
trn.yy = 440; |
| 269 |
instance_destroy(); |
| 270 |
} |
| 271 |
break; |
| 272 |
} |
| 273 |
|
| 274 |
enum e__VW |
| 275 |
{ |
| 276 |
XView, |
| 277 |
YView, |
| 278 |
WView, |
| 279 |
HView, |
| 280 |
Angle, |
| 281 |
HBorder, |
| 282 |
VBorder, |
| 283 |
HSpeed, |
| 284 |
VSpeed, |
| 285 |
Object, |
| 286 |
Visible, |
| 287 |
XPort, |
| 288 |
YPort, |
| 289 |
WPort, |
| 290 |
HPort, |
| 291 |
Camera, |
| 292 |
SurfaceID |
| 293 |
} |