Frame 1
function switchslide(newslide) {
currentslide = newslide;
}
function saveslide() {
slide[dia] = currentslide;
}
function playslide() {
currentvideo = slide[currentdialog];
swapvideo();
}
function playvideo(index) {
screen.attachMovie(video[index], "slide", 0);
}
function swapvideo() {
if (currentvideo != previousvideo) {
playvideo(currentvideo);
}
previousvideo = currentvideo;
}
video = new Array();
video[1] = "slide1";
video[2] = "slide2";
video[3] = "slide3";
video[4] = "slide4";
video[5] = "slide5";
video[6] = "slide6";
video[7] = "slide7";
video[8] = "slide8";
video[9] = "slide9";
video[10] = "slide10";
video[11] = "slide11";
video[12] = "slide12";
video[13] = "slide13";
video[14] = "slide14";
video[15] = "slide15";
video[16] = "slide16";
video[17] = "slide17";
slide = new Array();
currentslide = 1;
currentvideo = 1;
previousvideo = 0;
function resettext() {
textbox.text = "";
textbox.gotoAndPlay("reset");
}
function settext(text, color, speed, newdelay) {
textbox.delay = newdelay;
textbox.color = color;
textbox.text = text;
textbox.speed = speed;
textbox.gotoAndPlay("reset");
stop();
}
function setdialog(number) {
var _local2;
_local2 = 3;
currentdialog = number;
settext(dialog[number * _local2], dialog[(number * _local2) + 1], dialog[(number * _local2) + 2], delays[number]);
playslide();
}
function nextdialog() {
if ((currentdialog + 1) < (dialog.length / 3)) {
currentdialog = currentdialog + 1;
} else {
currentdialog = 0;
}
setdialog(currentdialog);
}
function previousdialog() {
currentdialog = currentdialog - 2;
if (currentdialog < 0) {
currentdialog = (dialog.length / 3) - 2;
}
play();
}
function initdialog(text, color, speed) {
var _local1;
_local1 = 3;
dialog[dia * _local1] = text;
dialog[(dia * _local1) + 1] = color;
dialog[(dia * _local1) + 2] = speed;
saveslide();
delays[dia] = currentdelay;
currentdelay = 0;
dia++;
}
function setdelay(delay) {
currentdelay = delay;
}
esp = 0;
fla = 1;
gla = 2;
mig = 3;
nar = 4;
dialog = new Array();
delays = new Array();
currentdelay = 0;
currentdialog = -1;
dia = 0;
Frame 2
switchslide(1);
setdelay(20);
initdialog("Flareon, Glaceon, and Espeon.\nTogether, the three girls are\nTeam Svelte, an ambitious\nrescue team.", nar, 6);
initdialog("Today they embark on their\ngreatest mission yet.", nar, 6);
switchslide(2);
initdialog("This one came right to their\nmailbox at the home base.", nar, 6);
initdialog("\"Dear Team Svelte,\" the letter\nread, \"I've got an emergency\nthat only a team of your talents\ncan handle...", nar, 6);
initdialog("But I have to be sure that you\nare up to the task.", nar, 6);
initdialog("Head to the deepest spot in the\nHowling Forest as soon as you\nget this letter.", nar, 6);
initdialog("If you can get to me there, I'll\nknow you girls are right for the\njob and I will tell you more\nabout it. ", nar, 6);
initdialog("You'll be generously rewarded.\"\n\n-Mightyena ", nar, 6);
switchslide(3);
initdialog("We should already be in the\ndeepest spot of this wretched\nforest. Where is that cursed\ncanine?", esp, 2.5);
initdialog("Oh, hush! We probably haven't\ngotten there yet. This is one big\nplace, you know.", fla, 2.5);
initdialog("Maybe the doggie's gettin'\nchased by all the baddies\ncrawlin' around here.", gla, 2.5);
initdialog("Then he would be a sorry fool.", esp, 2.5);
initdialog("If I find out the mutt is just\nwasting our time, I'll see to it\nthat we make a chew-toy out of\nhis-", esp, 2.5);
switchslide(4);
initdialog("Yay! We found the mightyena!", fla, 2.5);
switchslide(5);
initdialog("So you three are Team Svelte.", mig, 2.5);
initdialog("You proved yourselves quite\nstrong getting this far in the\nHowling Forest.", mig, 2.5);
initdialog("And may I say how lovely you\nall are in person?", mig, 2.5);
initdialog("You're awfully quick to flirt,\ndoggie. Tee-hee!", gla, 2.5);
initdialog("And it is annoying. We fought\noff a lot of enemies to get to\nyou.", esp, 2.5);
initdialog("You should tell us about that\nemergency of yours, before \nwe waste more time.", esp, 2.5);
switchslide(6);
initdialog("Oh, yes. That. Um, how to\nexplain this?", mig, 2.5);
initdialog("These woods are an an isolated,\ndangerous place but you surely\nalready noticed that.", mig, 2.5);
initdialog("My pack and I have been\nliving here for as long as I can\nremember.", mig, 2.5);
initdialog("However...\nwe have no females.", mig, 2.5);
initdialog("The years have left us...", mig, 2.5);
initdialog("...deprived.", mig, 1);
initdialog("...", mig, 0.5);
initdialog("Your mission, the emergency, is\n...", mig, 1.5);
initdialog("...to have sex with us.", mig, 10);
switchslide(7);
setdelay(10);
initdialog("", fla, 1);
switchslide(8);
initdialog("I was afraid you might react\nthat way.", mig, 10);
initdialog("That's why, as a reward, we'll\ngive you everything we've got...", mig, 4);
switchslide(9);
setdelay(20);
initdialog("One million Pok\u00E9.", mig, 1);
switchslide(10);
setdelay(10);
setdelay(40);
initdialog("...deal.", esp, 2.5);
initdialog("Well that was quick.", mig, 2.5);
initdialog("No talk needed!", gla, 2.5);
initdialog("That's why she's the leader.", fla, 2.5);
switchslide(5);
initdialog("Is there a problem?", esp, 2.5);
initdialog("No. Not at all.\nThat's great news!\nI just didn't expect such\nsudden approval.", mig, 2.5);
initdialog("One more thing.", esp, 2.5);
switchslide(11);
initdialog("Your kind... irritates me.", esp, 2.5);
initdialog("But do not be fooled into\nthinking that is because you\nleave me defenseless.", esp, 2.5);
initdialog("Your mind may be shielded from my\ninfluence but your body is not.", esp, 2.5);
initdialog("Harm any of us and\nI will end you.", esp, 2.5);
switchslide(14);
initdialog("But we...", mig, 2.5);
switchslide(13);
initdialog("Don't worry.\nSometimes I just like to mention\nsuperfluous things.", esp, 1);
initdialog("Boss, you're kind of\ncreepy again.", fla, 2.5);
switchslide(12);
initdialog("She's not kidding though.\nBeing a dark type just\nmeans getting an extra savage\nbeating from her.", fla, 2.5);
initdialog("Almost like it's\nsomething personal...", fla, 2.5);
initdialog("hmm....", mig, 2.5);
initdialog("Don't let her scare you, doggy.\nIt'll be alright~", gla, 2.5);
initdialog("Did you not read the description\nin the team catalogue?", esp, 2.5);
initdialog("Well... we were just looking\nat the pictures. For the\nyou know... ho- I mean prettiest\nteam...", mig, 2.5);
initdialog("...", esp, 1);
switchslide(14);
initdialog("........................\n........................", esp, 1);
initdialog("Ohh, thank you doggie!", gla, 2.5);
initdialog("Yeah I... guess.", fla, 2.5);
initdialog("...", mig, 2.5);
initdialog("Shall... shall we go then?", mig, 5);
Frame 3
nextdialog();
Instance of Symbol 127 MovieClip "screen" in Frame 3
on (keyPress "<Right>") {
_parent.textbox.buttonpress();
}
on (keyPress "<Left>") {
with (_parent) {
previousdialog();
}
}
Frame 4
gotoAndPlay ("dialog");
Symbol 16 MovieClip [slide1] Frame 24
stop();
Symbol 24 MovieClip [slide2] Frame 61
stop();
Symbol 42 MovieClip [slide7] Frame 10
stop();
Symbol 61 MovieClip [slide9] Frame 23
stop();
Symbol 72 MovieClip [slide10] Frame 31
stop();
Symbol 85 MovieClip [slide13] Frame 525
stop();
Symbol 101 MovieClip [slide17] Frame 46
stop();
Symbol 121 Button
on (release) {
buttonpress();
}
Symbol 124 Button
on (release) {
_parent.previousdialog();
}
Symbol 125 MovieClip Frame 1
function buttonpress() {
if (delay <= 0) {
if (q < text.length) {
q = text.length;
} else {
_parent.play();
}
}
}
q = 1;
text = "";
prevtext = text;
textcolors = new Array(8396458, 11964690, 812969, 5395026, 0);
color = 1;
speed = 0.5;
delay = 0;
Symbol 125 MovieClip Frame 2
if (prevtext.substring(0, q - 1) != text.substring(0, q - 1)) {
q = 1;
textbox = "";
}
prevtext = text;
Symbol 125 MovieClip Frame 3
textboxx.textColor = textcolors[color];
if (delay <= 0) {
if (q < text.length) {
textbox = text.substring(0, q);
q = q + speed;
} else {
textbox = text;
}
} else {
delay = delay - 1;
}
dialognumber = _root.currentdialog;
slidenumber = _root.currentvideo;
Symbol 125 MovieClip Frame 4
gotoAndPlay (3);