Frame 1
_root.createEmptyMovieClip("fpsc", 7);
_root.fs = 0;
_root.fpsc.onEnterFrame = function () {
_root.fs++;
};
fpsi = setInterval(function () {
_root.fpst.text = _root.fs;
_root.fs = 0;
}, 1000);
function iH1(obj, item) {
getURL ("http://armorgames.com", "_blank");
}
function iH2(obj, item) {
getURL ("http://planetbob.net/flash", "_blank");
}
function iH4(obj, item) {
getURL ("http://newgrounds.com/", "_blank");
}
SW = Stage.width;
SH = 300;
aloc = 1;
viewpoint = 0;
sndon = 1;
root_cm = new ContextMenu();
root_cm.hideBuiltInItems();
a_cmi = new ContextMenuItem("Play More Games!", iH1);
b_cmi = new ContextMenuItem("Denvish Designs", iH2);
d_cmi = new ContextMenuItem("Newgrounds", iH4);
root_cm.customItems.push(a_cmi, b_cmi, d_cmi);
_root.menu = root_cm;
_root.s = new Sound();
_root.s.attachSound("atb");
_root.s.setVolume(100);
var sfile = SharedObject.getLocal("kart");
oldscore = sfile.data.score;
pbscore = sfile.data.score;
if (sfile.data.score == undefined) {
oldscore = 0;
pbscore = 0;
sfile.data.score = 0;
sfile.flush();
}
Instance of Symbol 34 MovieClip in Frame 1
on (press) {
_root.prog.hc._x = 135;
}
Instance of Symbol 86 MovieClip "mc" in Frame 2
onClipEvent (load) {
_root.stop();
plsw = _width;
endw = 3664.3;
}
onClipEvent (enterFrame) {
var bytes = _root.getBytesTotal();
var bytes_loaded = _root.getBytesLoaded();
kbl = int(bytes_loaded / 1024);
kbt = int(bytes / 1024);
percent = (bytes_loaded / bytes) * 100;
pc = int(percent);
_root.plpc = ((((pc + "% LOADED - ") + kbl) + " OF ") + kbt) + " KB";
if (bytes_loaded == bytes) {
_width = endw;
_height = (_width * 1.13);
_root.gotoAndStop(3);
} else {
_root.plbar._xscale = percent;
_width = (plsw + ((percent * percent) / ((endw - plsw) / 1250)));
_height = (_width * 1.13);
}
}
Instance of Symbol 88 MovieClip in Frame 2
on (press) {
_root.gotoAndPlay(13);
}
Instance of Symbol 94 MovieClip in Frame 2
on (press) {
getURL ("http://armorgames.com", "_blank");
}
Frame 13
function talk(say, txtbox, tspd) {
letter = 1;
speech = setInterval(function () {
txtbox.text = say.substring(0, letter);
letter++;
if (letter > say.length) {
clearInterval(speech);
}
}, tspd);
}
function loadwr() {
makehst();
loadVariables ((l11l + lI11) + ".asp", hst);
}
function makehst() {
clearInterval(sparkit);
_root.createEmptyMovieClip("hst", 1000005);
with (hst) {
hspace = 14.3181818181818;
beginFill(0, 50);
moveTo(0, 0);
lineTo(SW, 0);
lineTo(SW, (hspace * 503) + 5);
lineTo(0, (hspace * 503) + 5);
lineTo(0, 0);
endFill();
beginFill(0, 60);
lineStyle(0, 16777215, 80);
moveTo(5, 5);
lineTo(SW - 5, 5);
lineTo(SW - 5, (hspace * 502) + 5);
lineTo(5, (hspace * 502) + 5);
lineTo(5, 5);
endFill();
i = 5;
while (i < ((hspace * 503) + 5)) {
moveTo(5, i);
lineTo(SW - 5, i);
i = i + hspace;
}
hsa = new Array(5, 40, 230, 295);
hsn = new Array("#", "player", "score");
m = 0;
while (m < (hsa.length - 1)) {
krt = 7000;
hst.createTextField(hsn[m] + krt, (m * 500) + krt, hsa[m], 4.2, hsa[m + 1] - hsa[m], 15);
with (hst[hsn[m] + krt]) {
text = hsn[m].toUpperCase();
setTextFormat(af);
}
m++;
}
m = 0;
while (m < (hsa.length - 1)) {
krt = 0;
i = 5 + (2 * hspace);
while (i < ((hspace * 502) + 5)) {
krt++;
hst.createTextField(hsn[m] + krt, (m * 500) + krt, hsa[m], i - 0.6, hsa[m + 1] - hsa[m], hspace * 2);
with (hst[hsn[m] + krt]) {
text = "WAIT";
setTextFormat(af);
if (m == 0) {
text = krt;
}
setTextFormat(af);
}
i = i + hspace;
}
moveTo(hsa[m + 1], 5);
lineTo(hsa[m + 1], (hspace * 502) + 5);
m++;
}
}
hst.onData = function () {
mi = 1;
while (mi < 501) {
this["player" + mi].text = this["inplayer" + mi];
this["score" + mi].text = this["inscore" + mi];
this["player" + mi].setTextFormat(bf);
this["score" + mi].setTextFormat(af);
mi++;
}
};
_root.createEmptyMovieClip("hsts", 1000006);
hsts.scrollspeed = 3;
hsts.sbcentre = 162.5;
hsts.stpos = hst._y;
hsts.sttopstop = (-hst._height) + 330;
hsts.stbotstop = hst._y;
with (hsts) {
beginFill(0, 0);
lineStyle(0, 0, 0);
moveTo(0, 0);
lineTo(SW, 0);
lineTo(SW, 325);
lineTo(0, 325);
lineTo(0, 0);
endFill();
}
hsts.onEnterFrame = function () {
with (this) {
if (this._visible) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
var stmove = ((_root._ymouse - sbcentre) / scrollspeed);
stpos = Math.round(stpos - stmove);
}
if (stpos < sttopstop) {
stpos = sttopstop;
}
if (stpos > stbotstop) {
stpos = stbotstop;
}
_root.hst._y = stpos;
}
}
};
hsts.onPress = function () {
this._visible = 0;
hst._visible = 0;
if (!pss._visible) {
_root.psd = 0;
}
if (_root.gameover) {
_root.reset();
}
};
}
function makesubmit() {
pausey = 1;
_root.attachMovie("submitscore", "SS", 999996);
SS._x = SW / 2;
SS._y = SH / 2;
if (score > wboscore) {
SS.gotoAndStop(1);
} else if (score > stlscore) {
SS.gotoAndStop(2);
} else if (score > pbscore) {
SS.gotoAndStop(3);
} else {
SS.gotoAndStop(4);
}
if (score > sfile.data.score) {
sfile.data.score = score;
sfile.flush();
}
SS.sit.onSetFocus = function () {
this.text = "";
};
SS.submit.onPress = function () {
SS.submit._visible = 0;
if (_root.uT2005._x == undefined) {
yscore = _root.score;
yplayer = SS.sit.text;
loadVariablesNum ((l11l + ll1I) + ".asp", 0, "POST");
SS.sit.text = "SENDING DATA...";
setTimeout(function () {
_root.reset();
_root.gotoAndStop(14);
_root.refhst();
}, 4000);
}
};
}
function refhst() {
SS.removeMovieClip();
loadwr();
hst._visible = 1;
}
function stole() {
var good = 1;
if (_root._url.substr(0, 7) == "file://") {
if (!aloc) {
good = 0;
}
}
if (!good) {
_root.createEmptyMovieClip("block", 9999999);
with (block) {
beginFill(16738047, 100);
moveTo(0, 0);
lineTo(SW, 0);
lineTo(SW, SH);
lineTo(0, SH);
lineTo(0, 0);
endFill();
createTextField("gy", 1, 0, 170, SW, SH);
gy.selectable = 0;
gy.text = "MAKE YOUR OWN GAME\r\rDON'T STEAL MINE";
gy.setTextFormat(af);
}
_root.w._visible = 0;
}
}
function arriva() {
lI11 = 5;
i = C2.length - 1;
while (i > 0) {
lI11 = lI11 + (P2[i] + C2[i]);
i--;
}
C3 = new Array();
llI1 = 1;
i = 0;
while (i < 1000) {
llI1++;
if (llI1 > 88) {
llI1 = 1;
}
C3.push(llI1);
i++;
}
llI1 = 7;
i = 0;
while (i < 1000) {
llI1 = llI1 * C3[i];
i = i + 131;
}
gtr = new Array();
l11l = "";
while (P1.length > 0) {
f = P1.length;
gtr.splice(P1[f - 1], 0, P1.slice(f - 2, f - 1));
P1.splice(f - 2, 2);
}
i = 0;
while (i < gtr.length) {
l11l = l11l + gtr[i];
i++;
}
gi8 = new LoadVars();
gi8.onData = function (raw) {
tn = raw;
I1il = "";
ll1I = "";
l1Il = "";
IIl1 = "";
i = 102;
while (i <= 6000) {
I1il = I1il + tn.substr(i, 2);
i = i + 469;
}
i = 247;
while (i <= 6000) {
ll1I = ll1I + tn.substr(i, 2);
i = i + 284;
}
i = 567;
while (i <= 6000) {
l1Il = l1Il + tn.substr(i, 2);
i = i + 339;
}
i = 23;
while (i <= 6000) {
IIl1 = IIl1 + tn.substr(i, 1);
i = i + 64;
}
};
gi8.load((l11l + lI11) + ".txt");
}
function sparkle() {
sparkit = setInterval(function () {
scnt++;
if (scnt > 1000600) {
scnt = 1000500 /* 0x0F4434 */;
}
_root.createEmptyMovieClip("spk" + scnt, scnt);
_root["spk" + scnt].lineStyle(random(3) + 1, 16777215, 100);
_root["spk" + scnt].moveTo(0, 0);
_root["spk" + scnt].lineTo(0.2, 0);
_root["spk" + scnt]._x = _root._xmouse;
_root["spk" + scnt]._y = _root._ymouse;
_root["spk" + scnt].xvel = (random(80) - 40) / 10;
_root["spk" + scnt].yvel = -random(10);
_root["spk" + scnt].fade = random(5) + 2;
_root["spk" + scnt].onEnterFrame = function () {
this._x = this._x + this.xvel;
this.yvel = this.yvel + gravity;
this._y = this._y + this.yvel;
this._alpha = this._alpha - this.fade;
if ((((this._alpha <= 0) || (this._y > Stage.height)) || (this._x > Stage.width)) || (this._x < 0)) {
this.removeMovieClip();
}
};
}, 25);
}
speech01 = "TAKE ON THE QUEST TO SAVE THE KINGDOM FROM THE BLACK PLAGUE. RIDE LIKE THE WIND TO DELIVER THE ANTIDOTE!";
speech02 = "ELUDE THE HUNTERS AND OBSTACLES FOR AS LONG AS POSSIBLE TO GRAB A PLACE ON THE WORLD SCOREBOARD...";
af = new TextFormat();
bf = new TextFormat();
with (af) {
color = 16777113 /* 0xFFFF99 */;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
with (bf) {
color = 16777215 /* 0xFFFFFF */;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
C2 = new Array(10057216, 16607079, 16711731, 39372, 11167487, 10083686, 15663359);
P1 = new Array("s", "12", "/", "20", "/", "36", "g", "19", "s", "29", ":", "4", "h", "11", "h", "32", "t", "39", "p", "3", "t", "2", "/", "2", "s", "14", "t", "1", "n", "4", "k", "22", "o", "13", "r", "30", "4", "26", "r", "22", "o", "16", "r", "13", "e", "8", "h", "0", "n", "6", "a", "12", "/", "24", "d", "13", "n", "8", "t", "14", "r", "11", "b", "10", "v", "3", "/", "9", "e", "8", "5", "11", "7", "9", "a", "8", "e", "2", "/", "0", "y", "10", "d", "8", "d", "0", "h", "5", "c", "4", "t", "2", "i", "0", "8", "3", ".", "0", "h", "1", "/", "0");
P2 = new Array("iy", "h9", "48", "D6C", "i4", "x2b", "n1");
stole();
arriva();
scnt = 1000500 /* 0x0F4434 */;
gravity = 0.5;
Frame 14
function survlevel(attname, obframes, movement, pingint, storymode, levellength, pongint) {
tmpaname = attname;
attnameb = "lobj";
_root.stop();
movespeed = movement;
if (storymode) {
prog.hc._x = -140;
_root.onEnterFrame = null;
}
clearInterval(ping);
clearInterval(pong);
clearInterval(sparkit);
clearInterval(clrspk);
psd = 0;
this.createEmptyMovieClip("world", 1);
world._x = Stage.width / 2;
world._y = Stage.height / 2;
obstacles = new Array();
focalLength = 300;
camV = new Object();
camV.x = (camV.z = (camV.rotation = (camV.sp = 0)));
displayFigure = function () {
if (!_root.psd) {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
}
this.contact = 0;
if (!fading) {
if (viewpoint) {
var _local4 = -100;
cart._visible = 0;
if (this.hz.hitTest(hz)) {
if ((this.z > camV.z) && (this.z < (camV.z + (movement * 1.1)))) {
this.contact = 1;
}
}
} else {
var _local4 = this.y;
cart._visible = 1;
if (this.hz.hitTest(cart.hz)) {
if ((this.z > camV.z) && (this.z < (camV.z + (movement * 2)))) {
this.contact = 1;
}
}
}
}
if (this.contact) {
this.hitted = 1;
if (!(this._name.substr(0, 4) === "lobj")) {
if ((this._name.substr(0, 4) == "invu") && (!cart.inv)) {
txtbonus._alpha = 100;
txtbonus.gotoAndStop(2);
txtbonus.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 2;
} else {
this.gotoAndStop(1);
this.onEnterFrame = null;
}
};
ccol = new Color(cart);
occol = ccol.getTransform();
icol = {ra:50, rb:40, ga:80, gb:40, ba:80, bb:100};
new Color(cart).setTransform(icol);
cart.inv = 1;
invin.text = "INVINCIBLE";
setTimeout(function () {
new Color(cart).setTransform(occol);
cart.inv = 0;
invin.text = "";
}, 8000);
} else if (this._name.substr(0, 4) == "xtra") {
txtbonus._alpha = 100;
txtbonus.gotoAndStop(3);
txtbonus.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 2;
} else {
this.gotoAndStop(1);
this.onEnterFrame = null;
}
};
lrem++;
} else if (this._name.substr(0, 4) == "poin") {
txtbonus._alpha = 100;
txtbonus.gotoAndStop(4);
txtbonus.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 2;
} else {
this.gotoAndStop(1);
this.onEnterFrame = null;
}
};
score = score + 1000;
}
} else {
if (storymode && (_root._currentframe > 50)) {
if (vials["v" + vials._currentframe]._currentframe < 2) {
vials["v" + vials._currentframe].gotoAndPlay(2);
}
}
if ((ouch._alpha < 1) && (!cart.inv)) {
ouch._alpha = 70;
_root.sfx.gotoAndPlay(19);
lrem--;
if (_root._currentframe == 50) {
ydsa = ydsa - 100;
}
ouch.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
} else {
this._alpha = 0;
this.onEnterFrame = null;
}
};
this.swapDepths(74839);
k = 0;
while (k < obstacles.length) {
if (obstacles[k] == this) {
obstacles.splice(k, 1);
}
k++;
}
this.removeMovieClip();
}
}
}
var _local5 = this.x - camV.x;
var z = (this.z - camV.z);
if (z > -100) {
var _local3 = focalLength / (focalLength + z);
this._x = _local5 * _local3;
this._y = _local4 * _local3;
this._xscale = (this._yscale = 100 * _local3);
this.swapDepths(Math.round(-z));
} else {
k = 0;
while (k < obstacles.length) {
if (obstacles[k] == this) {
obstacles.splice(k, 1);
}
k++;
}
this.swapDepths(74836);
this.removeMovieClip();
}
}
};
ping = setInterval(function () {
if (!psd) {
fdep++;
if (fdep > 1999) {
fdep = 1000;
}
if (!storymode) {
if ((fdep == 1050) || (fdep == 1700)) {
attname = (attnameb = "invuln");
} else if (fdep == 1530) {
attname = (attnameb = "xtralife");
} else if ((fdep == 1300) || (fdep == 1800)) {
attname = (attnameb = "points");
} else {
attname = tmpaname;
attnameb = "lobj";
}
}
obst = world.attachMovie(attname, attnameb + fdep, fdep);
obst.gotoAndStop(random(obframes) + 1);
obst.cacheAsBitmap = 1;
obst.x = (camV.sp + random(1300)) - 650;
obst.z = camV.z + 2000;
obst.y = -50;
obst._alpha = 0;
obst.display = displayFigure;
obstacles.push(obst);
if (storymode) {
if (prog.hc._x < 140) {
prog.hc._x = prog.hc._x + (levellength / 1000);
} else if (!fading) {
_root.fadetocs(_root._currentframe);
}
}
_root.score++;
}
}, pingint);
drive = function () {
if (!psd) {
if (movespeed < movement) {
movespeed++;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if ((cart._currentframe < 21) || (cart._currentframe > 40)) {
cart.gotoAndPlay(cart._currentframe + 20);
}
camV.x = camV.x + 20;
camV.sp = camV.x + 600;
} else if (Key.isDown(37) || (Key.isDown(65))) {
if (cart._currentframe < 41) {
cart.gotoAndPlay(cart._currentframe + 40);
}
camV.x = camV.x - 20;
camV.sp = camV.x - 600;
} else {
if (cart._currentframe > 40) {
cart.gotoAndPlay(cart._currentframe - 40);
} else if (cart._currentframe > 20) {
cart.gotoAndPlay(cart._currentframe - 20);
}
camV.sp = camV.x;
}
camV.z = camV.z + movespeed;
var _local1 = 0;
while (_local1 < obstacles.length) {
obstacles[_local1].display();
_local1++;
}
}
};
pong = setInterval(function () {
if (!psd) {
drive();
}
}, pongint);
clrspk = setInterval(function () {
clearInterval(sparkit);
}, 5000);
if (!storymode) {
updiff = setInterval(function () {
if (movement < 125) {
movement++;
} else {
clearInterval(updiff);
}
}, 5000);
}
}
function storydead() {
fader._visible = 1;
fader._alpha = 0;
fader.swapDepths(100009);
if (_root._currentframe < 51) {
_root.a_dead.oov.gotoAndStop(2);
}
fader.onEnterFrame = function () {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
if (sndon) {
_root.s.setVolume(100 - fader._alpha);
}
} else {
_root.bag.onEnterFrame = null;
_root.cart.removeMovieClip();
_root.prog.removeMovieClip();
_root.gotoAndStop(54);
_root.psd = 1;
_root.a_dead._visible = 1;
if (sndon) {
_root.s.setVolume(100);
}
stopAllSounds();
_root.sfx.gotoAndPlay(38);
_root.fader.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 10;
} else {
this._visible = 0;
this.onEnterFrame = null;
_root.a_dead.play();
_root.ydsh.removeMovieClip();
}
};
}
};
}
function fadetocs(fr) {
fading = 1;
fader._visible = 1;
fader._alpha = 0;
fader.swapDepths(100009);
fader.onEnterFrame = function () {
if (this._alpha < 100) {
if (!(fr === 50)) {
if (sndon) {
_root.s.setVolume(100 - fader._alpha);
}
}
this._alpha = this._alpha + 5;
} else {
psd = 1;
if (sndon) {
_root.s.setVolume(100);
}
if (!(fr === 50)) {
stopAllSounds();
}
if (fr == 49) {
a_intro._visible = 1;
a_intro.play();
_root.sfx.gotoAndPlay(31);
}
if (fr == 50) {
a_escape._visible = 1;
a_escape.play();
ydsh.removeMovieClip();
}
if (fr == 51) {
a_elves._visible = 1;
a_elves.gotoAndStop(2);
vials.nextFrame();
_root.sfx.gotoAndPlay(32);
}
if (fr == 52) {
a_vill._visible = 1;
a_vill.gotoAndStop(2);
vials.nextFrame();
_root.sfx.gotoAndPlay(33);
}
if (fr == 53) {
if (dmode) {
enddw._visible = 1;
enddw.play();
_root.sfx.gotoAndPlay(39);
} else {
endsh._visible = 1;
endsh.play();
_root.sfx.gotoAndPlay(39);
}
}
fader.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
} else {
this._visible = 0;
this.onEnterFrame = null;
}
};
}
};
}
function fadetolvl(mcname) {
fader._alpha = 0;
fader._visible = 1;
fader.swapDepths(100009);
fader.onEnterFrame = function () {
if (this._alpha < 100) {
if (sndon && (!(_root._currentframe === 49))) {
_root.s.setVolume(100 - fader._alpha);
}
fader._alpha = fader._alpha + 5;
} else {
psd = 0;
fading = 0;
mcname._visible = 0;
mcname.gotoAndStop(1);
if (sndon) {
_root.s.setVolume(100);
}
if (!(_root._currentframe === 49)) {
stopAllSounds();
}
if (_root._currentframe == 50) {
_root.sfx.gotoAndPlay(35);
}
if (_root._currentframe == 51) {
_root.sfx.gotoAndPlay(36);
}
if (_root._currentframe == 52) {
_root.sfx.gotoAndPlay(37);
}
_root.nextFrame();
fader.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 10;
} else {
this._visible = 0;
this.onEnterFrame = null;
}
};
}
};
}
function reset() {
psd = 1;
Key.removeListener(kl);
stopAllSounds();
obstacles = new Array();
cart.removeMovieClip();
prog.removeMovieClip();
sc.removeMovieClip();
bottoms.removeMovieClip();
ouch.removeMovieClip();
txtbonus.removeMovieClip();
bag.onEnterFrame = null;
world.removeMovieClip();
fdep = 1000;
clearInterval(ping);
clearInterval(pong);
clearInterval(sparkit);
clearInterval(sparkit);
clearInterval(clrspk);
gameover = 0;
fading = 0;
score = 0;
onEnterFrame = null;
}
stop();
fdep = 1000;
stopAllSounds();
if (sndon) {
sfx.gotoAndPlay(30);
}
stole();
qi = 0;
gameover = 0;
clearInterval(sparkit);
a_dead.removeMovieClip();
a_intro.removeMovieClip();
a_escape.removeMovieClip();
enddw.removeMovieClip();
endsh.removeMovieClip();
a_vill.removeMovieClip();
a_elves.removeMovieClip();
fader.removeMovieClip();
world.removeMovieClip();
ydsh.removeMovieClip();
kl = new Object();
kl.onKeyDown = function () {
if (Key.getCode() == 81) {
if ((qi++) >= 2) {
qi = 0;
}
_quality = ["HIGH", "MEDIUM", "LOW"][qi];
}
if ((Key.getCode() == 80) && (!gameover)) {
if (!psd) {
psd = 1;
cart.stop();
_root.s.setVolume(0);
} else {
psd = 0;
cart.play();
if (_root.sndon) {
_root.s.setVolume(100);
}
}
}
if (Key.getCode() == 86) {
trace(viewpoint);
if (viewpoint) {
viewpoint = 0;
} else {
viewpoint = 1;
}
}
};
Key.addListener(kl);
_root.nextFrame();
Instance of Symbol 125 MovieClip "bag" in Frame 14
onClipEvent (load) {
this.swapDepths(999995);
}
on (rollOver) {
_root.sparkle();
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
getURL ("http://armorgames.com", "_blank");
}
Instance of Symbol 140 MovieClip "ISBack2" in Frame 15
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 142 MovieClip "b1" in Frame 15
on (rollOver) {
_root.talk(_root.speech01, _root.introspeech, 30);
_root.sparkle();
_root.ISBack.onEnterFrame = function () {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
} else {
this.onEnterFrame = null;
}
};
}
on (release, releaseOutside, rollOut, dragOut) {
_root.introspeech.text = "";
clearInterval(_root.speech);
clearInterval(_root.sparkit);
_root.ISBack.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 10;
} else {
this.onEnterFrame = null;
}
};
}
on (press) {
_root.pmode = 0;
_root.fader._alpha = 0;
clearInterval(_root.speech);
clearInterval(_root.sparkit);
_root.gotoAndPlay(47);
}
Instance of Symbol 145 MovieClip "b2" in Frame 15
on (rollOver) {
_root.talk(_root.speech02, _root.introspeech, 30);
_root.sparkle();
_root.ISBack.onEnterFrame = function () {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
} else {
this.onEnterFrame = null;
}
};
}
on (release, releaseOutside, rollOut, dragOut) {
_root.introspeech.text = "";
clearInterval(_root.speech);
clearInterval(_root.sparkit);
_root.ISBack.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 10;
} else {
this.onEnterFrame = null;
}
};
}
on (press) {
_root.pmode = 1;
_root.fader._alpha = 0;
clearInterval(_root.speech);
clearInterval(_root.sparkit);
_root.gotoAndPlay(96);
}
Instance of Symbol 147 MovieClip "ISBack" in Frame 15
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 151 MovieClip "b3" in Frame 15
on (press) {
_root.loadwr();
_root.hst._visible = 1;
_root.hsts._visible = 1;
}
Instance of Symbol 153 MovieClip in Frame 15
on (rollOver) {
_root.b1._visible = (_root.b2._visible = (_root.b3._visible = 0));
_root.sparkle();
_root.ISBack2.onEnterFrame = function () {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
} else {
this.onEnterFrame = null;
}
};
}
on (release, releaseOutside, rollOut, dragOut) {
_root.introspeech.text = "";
clearInterval(_root.speech);
clearInterval(_root.sparkit);
_root.ISBack2.clos.onPress = function () {
_root.ISBack2._alpha = 0;
_root.b1._visible = (_root.b2._visible = (_root.b3._visible = 1));
this.onPress = null;
};
}
on (press) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
}
Instance of Symbol 176 MovieClip "a_dead" in Frame 15
onClipEvent (load) {
stop();
this._visible = 0;
this.swapDepths(4005);
}
Instance of Symbol 331 MovieClip "a_intro" in Frame 15
onClipEvent (load) {
stop();
this._visible = 0;
this.swapDepths(98212);
}
Instance of Symbol 440 MovieClip "a_escape" in Frame 15
onClipEvent (load) {
stop();
this._visible = 0;
this.swapDepths(98213);
}
Instance of Symbol 445 MovieClip "a_elves" in Frame 15
onClipEvent (load) {
stop();
this._visible = 0;
this.swapDepths(98217);
}
Instance of Symbol 449 MovieClip "a_vill" in Frame 15
onClipEvent (load) {
stop();
this._visible = 0;
this.swapDepths(98227);
}
Instance of Symbol 460 MovieClip "endsh" in Frame 15
onClipEvent (load) {
stop();
this._visible = 0;
this.swapDepths(98228);
}
Instance of Symbol 518 MovieClip "enddw" in Frame 15
onClipEvent (load) {
stop();
this._visible = 0;
this.swapDepths(98229);
}
Instance of Symbol 34 MovieClip "fader" in Frame 15
onClipEvent (load) {
this._alpha = 0;
this._visible = 0;
this.swapDepths(98250);
}
Frame 48
stop();
Instance of Symbol 137 MovieClip in Frame 48
on (rollOver) {
_root.sparkle();
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
_root.dmode = 0;
_root.fader._alpha = 0;
_root.fader._visible = 1;
_root.fader.onEnterFrame = function () {
if (this._alpha <= 100) {
this._alpha = this._alpha + 10;
} else {
_root.gotoAndStop(49);
this.onEnterFrame = null;
}
};
}
Instance of Symbol 521 MovieClip in Frame 48
on (rollOver) {
_root.sparkle();
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
_root.dmode = 1;
_root.fader._alpha = 0;
_root.fader._visible = 1;
_root.fader.onEnterFrame = function () {
if (this._alpha <= 100) {
this._alpha = this._alpha + 10;
} else {
_root.gotoAndStop(49);
this.onEnterFrame = null;
}
};
}
Frame 49
fadetocs(49);
Frame 50
if (dmode) {
survlevel("bcastle_ob", 20, 55, 55, 1, 250, 28);
} else {
survlevel("bcastle_ob", 20, 45, 70, 1, 400, 40);
}
vials._visible = 0;
ydsa = 300;
bag.onEnterFrame = function () {
if (ydsa > 0) {
ydsh.yds.htmlText = ("<b><font color='#FF0000'>" + ydsa) + "</font> YARDS AHEAD OF DARK KNIGHTS</b>";
} else {
ydsh.yds.htmlText = "";
bag.onEnterFrame = null;
storydead();
}
};
Instance of Symbol 528 MovieClip "bottoms" in Frame 50
onClipEvent (load) {
this.swapDepths(3000);
}
Instance of Symbol 34 MovieClip "ouch" in Frame 50
onClipEvent (load) {
this._alpha = 0;
this.swapDepths(3067);
}
Instance of Symbol 564 MovieClip "cart" in Frame 50
onClipEvent (load) {
this.swapDepths(83274);
}
Instance of Symbol 568 MovieClip "prog" in Frame 50
onClipEvent (load) {
this.swapDepths(97856);
}
Instance of Symbol 578 MovieClip "ydsh" in Frame 50
onClipEvent (load) {
this.swapDepths(90019);
}
Frame 51
if (dmode) {
survlevel("forest_ob", 8, 55, 55, 1, 200, 28);
} else {
survlevel("forest_ob", 8, 45, 82, 1, 400, 40);
}
vials._visible = 1;
bag.onEnterFrame = null;
ydsh.removeMovieClip();
Frame 52
if (dmode) {
survlevel("village_ob", 23, 55, 50, 1, 250, 26);
} else {
survlevel("village_ob", 23, 45, 84, 1, 450, 37);
}
Frame 53
if (dmode) {
survlevel("wcastle_ob", 20, 65, 50, 1, 200, 25);
} else {
survlevel("wcastle_ob", 20, 50, 75, 1, 300, 37);
}
Instance of Symbol 125 MovieClip in Frame 55
on (press) {
getURL ("http://armorgames.com", "_blank");
}
Frame 97
function endsurvgame() {
stole();
clearInterval(ping);
clearInterval(pong);
hst._visible = 0;
fader._alpha = 0;
fader._visible = 1;
fader.onEnterFrame = function () {
if (this._alpha < 100) {
gameover = 1;
this._alpha = this._alpha + 5;
if (sndon) {
_root.s.setVolume(100 - fader._alpha);
}
} else if (gameover < 2) {
gameover = 2;
psd = 1;
world.removeMovieClip();
if (sndon) {
_root.s.setVolume(100);
}
stopAllSounds();
makesubmit();
fader.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 10;
} else {
if (score >= hst.score1.text) {
_root.wintxt = "CHAMPION!!!";
_root.sfx.gotoAndPlay(39);
} else if (score >= hst.score500.text) {
_root.wintxt = "WINNER!!!";
_root.sfx.gotoAndPlay(39);
} else if (score > oldscore) {
_root.wintxt = "WELL DONE";
_root.sfx.gotoAndPlay(38);
} else {
_root.wintxt = "HARD LUCK...";
_root.sfx.gotoAndPlay(38);
}
if (score > sfile.data.score) {
sfile.data.score = score;
sfile.flush();
}
this._visible = 0;
this.onEnterFrame = null;
}
};
}
};
}
lrem = 4;
_root.onEnterFrame = function () {
if (!psd) {
if (!ttl._visible) {
stlscore = hst.score500.text;
wboscore = hst.score1.text;
if (score > wboscore) {
sthscore = score;
} else {
sthscore = wboscore;
sthname = hst.player1.text;
}
if (score > oldscore) {
oldscore = score;
}
if (score > pbscore) {
pbscore = score;
}
if (score <= 0) {
score = 0;
}
if ((lrem <= 0) && (gameover < 1)) {
lrem = 0;
endsurvgame();
}
if (!(sc._x === undefined)) {
with (sc) {
cs.text = "CURRENT SCORE: " + score;
ub.text = "YOUR BEST: " + oldscore;
lr.text = "LIVES: " + lrem;
wb.text = "WORLD TOP: " + sthscore;
}
}
}
}
};
psd = 0;
Instance of Symbol 588 MovieClip in Frame 97
on (rollOver) {
if (_root._currentframe > 98) {
_root.sparkle();
}
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
if (_root._currentframe > 98) {
_root.gotoAndStop(101);
}
}
Instance of Symbol 591 MovieClip in Frame 97
on (rollOver) {
if (_root._currentframe > 98) {
_root.sparkle();
}
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
if (_root._currentframe > 98) {
_root.gotoAndStop(102);
}
}
Instance of Symbol 594 MovieClip in Frame 97
on (rollOver) {
if (_root._currentframe > 98) {
_root.sparkle();
}
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
if (_root._currentframe > 98) {
_root.gotoAndStop(103);
}
}
Instance of Symbol 597 MovieClip in Frame 97
on (rollOver) {
if (_root._currentframe > 98) {
_root.sparkle();
}
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
if (_root._currentframe > 98) {
_root.gotoAndStop(100);
}
}
Frame 98
loadwr();
hst._visible = 0;
hsts._visible = 0;
stop();
setTimeout(function () {
nextFrame();
}, 2000);
Instance of Symbol 125 MovieClip in Frame 98
onClipEvent (load) {
this.swapDepths(999995);
}
on (rollOver) {
_root.sparkle();
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
getURL ("http://armorgames.com", "_blank");
}
Frame 99
stop();
Frame 100
survlevel("bcastle_ob", 20, 45, 60, 0, 0, 35);
stopAllSounds();
_root.sfx.gotoAndPlay(34);
Instance of Symbol 528 MovieClip "bottoms" in Frame 100
onClipEvent (load) {
this.swapDepths(3000);
}
Instance of Symbol 34 MovieClip "ouch" in Frame 100
onClipEvent (load) {
this._alpha = 0;
this.swapDepths(3067);
}
Instance of Symbol 564 MovieClip "cart" in Frame 100
onClipEvent (load) {
this.swapDepths(83274);
}
Instance of Symbol 604 MovieClip "sc" in Frame 100
onClipEvent (load) {
this.swapDepths(999988);
}
Instance of Symbol 608 MovieClip "txtbonus" in Frame 100
onClipEvent (load) {
stop();
this.swapDepths(98261);
}
Frame 101
survlevel("forest_ob", 8, 45, 60, 0, 0, 35);
stopAllSounds();
_root.sfx.gotoAndPlay(35);
Frame 102
survlevel("village_ob", 23, 45, 60, 0, 0, 35);
stopAllSounds();
_root.sfx.gotoAndPlay(36);
Frame 103
survlevel("wcastle_ob", 20, 50, 60, 0, 0, 35);
stopAllSounds();
_root.sfx.gotoAndPlay(37);
Symbol 30 MovieClip [submitscore] Frame 1
stop();
Instance of Symbol 4 MovieClip in Symbol 30 MovieClip [submitscore] Frame 1
on (rollOver) {
_root.sparkle();
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
getURL ("http://armorgames.com", "_blank");
}
Instance of Symbol 25 MovieClip in Symbol 30 MovieClip [submitscore] Frame 3
on (press) {
_root.reset();
_root.gotoAndStop(14);
_root.SS.removeMovieClip();
}
Symbol 123 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 2
gotoAndStop (1);
Symbol 123 MovieClip Frame 3
gotoAndStop (1);
Symbol 123 MovieClip Frame 4
gotoAndStop (1);
Symbol 123 MovieClip Frame 5
gotoAndStop (1);
Symbol 123 MovieClip Frame 6
gotoAndStop (1);
Symbol 123 MovieClip Frame 7
gotoAndStop (1);
Symbol 123 MovieClip Frame 8
gotoAndStop (1);
Symbol 123 MovieClip Frame 9
gotoAndStop (1);
Symbol 123 MovieClip Frame 10
gotoAndStop (1);
Symbol 123 MovieClip Frame 11
gotoAndStop (1);
Symbol 123 MovieClip Frame 12
gotoAndStop (1);
Symbol 123 MovieClip Frame 13
gotoAndStop (1);
Symbol 123 MovieClip Frame 14
gotoAndStop (1);
Symbol 123 MovieClip Frame 15
gotoAndStop (1);
Symbol 123 MovieClip Frame 16
gotoAndStop (1);
Symbol 123 MovieClip Frame 17
gotoAndStop (1);
Symbol 123 MovieClip Frame 18
gotoAndStop (1);
Symbol 123 MovieClip Frame 19
gotoAndStop (1);
Symbol 123 MovieClip Frame 20
gotoAndStop (1);
Symbol 123 MovieClip Frame 21
gotoAndStop (1);
Symbol 123 MovieClip Frame 22
gotoAndStop (1);
Symbol 123 MovieClip Frame 23
gotoAndStop (1);
Symbol 123 MovieClip Frame 24
gotoAndStop (1);
Symbol 123 MovieClip Frame 25
gotoAndStop (1);
Symbol 123 MovieClip Frame 26
gotoAndStop (1);
Symbol 123 MovieClip Frame 27
gotoAndStop (1);
Symbol 123 MovieClip Frame 28
gotoAndStop (1);
Symbol 123 MovieClip Frame 29
gotoAndStop (1);
Symbol 123 MovieClip Frame 30
gotoAndStop (1);
Symbol 123 MovieClip Frame 31
gotoAndStop (1);
Symbol 123 MovieClip Frame 32
gotoAndStop (1);
Symbol 123 MovieClip Frame 33
gotoAndStop (1);
Symbol 123 MovieClip Frame 34
gotoAndStop (1);
Symbol 123 MovieClip Frame 35
gotoAndStop (1);
Symbol 123 MovieClip Frame 36
gotoAndStop (1);
Symbol 123 MovieClip Frame 37
gotoAndStop (1);
Symbol 123 MovieClip Frame 38
gotoAndStop (1);
Symbol 123 MovieClip Frame 39
gotoAndStop (1);
Symbol 123 MovieClip Frame 40
gotoAndStop (1);
Symbol 123 MovieClip Frame 41
gotoAndStop (1);
Symbol 123 MovieClip Frame 42
gotoAndStop (1);
Symbol 123 MovieClip Frame 43
gotoAndStop (1);
Symbol 123 MovieClip Frame 44
gotoAndStop (1);
Instance of Symbol 135 MovieClip in Symbol 140 MovieClip Frame 1
on (press) {
getURL ("http://www.newgrounds.com/audio/view.php?id=1344836&sub=32940", "_blank");
}
Instance of Symbol 135 MovieClip in Symbol 140 MovieClip Frame 1
on (press) {
getURL ("http://www.newgrounds.com/audio/view.php?id=1437143&sub=43979", "_blank");
}
Instance of Symbol 135 MovieClip in Symbol 140 MovieClip Frame 1
on (press) {
getURL ("http://www.newgrounds.com/audio/view.php?id=1034528&sub=40758", "_blank");
}
Instance of Symbol 135 MovieClip in Symbol 140 MovieClip Frame 1
on (press) {
getURL ("http://www.newgrounds.com/audio/view.php?id=596074&sub=33228", "_blank");
}
Instance of Symbol 135 MovieClip in Symbol 140 MovieClip Frame 1
on (press) {
getURL ("http://www.newgrounds.com/audio/view.php?id=1217646&sub=24880", "_blank");
}
Instance of Symbol 135 MovieClip in Symbol 140 MovieClip Frame 1
on (press) {
getURL ("http://www.newgrounds.com/audio/view.php?id=590649&sub=22866", "_blank");
}
Instance of Symbol 135 MovieClip in Symbol 140 MovieClip Frame 1
on (press) {
getURL ("http://www.newgrounds.com/audio/view.php?id=393421&sub=5219", "_blank");
}
Symbol 164 MovieClip Frame 1
stop();
Instance of Symbol 161 MovieClip in Symbol 176 MovieClip Frame 1
on (rollOver) {
_root.sparkle();
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
_parent.gotoAndPlay(286);
}
Instance of Symbol 4 MovieClip in Symbol 176 MovieClip Frame 50
on (rollOver) {
_root.sparkle();
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
getURL ("http://armorgames.com", "_blank");
}
Symbol 176 MovieClip Frame 295
stop();
Instance of Symbol 175 MovieClip in Symbol 176 MovieClip Frame 295
on (rollOver) {
_root.sparkle();
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
clearInterval(_root.sparkit);
_root.fader.removeMovieClip();
_root.reset();
_root.gotoAndStop(14);
}
Symbol 331 MovieClip Frame 2
_root.is01 = "...yeah, we caught her sneaking round the\rcastle... fortunately, she didn't hear us coming.";
_root.is02 = "\rI see. Do you think she knows about the king's plans?";
_root.is03 = "The Black Plague? I doubt it.\rShe was probably looking for gold.";
_root.is04 = "Good. Once our troops have taken the antidote, we're\rready to release the plague, and we don't need anybody\rgetting alerted to their imminent death, do we?";
_root.is05 = "Heh, I agree.\rWhy face resistance when you don't have to?";
_root.is06 = "...what was that?";
_root.is07 = " Chains. Better go check on the wench,\r she must be awake...";
_root.is08 = "What the...? Where'd she go?";
_root.is09 = "Oh, you want to play, huh?";
_root.is10 = "Aaaaaaaaaahhhhh!!!";
_root.is11 = "Consider yourself very lucky, knave.";
_root.is12 = " CATCH THE WENCH! SHE MUST NOT ESCAPE!!!";
Instance of Symbol 161 MovieClip in Symbol 331 MovieClip Frame 2
on (rollOver) {
_root.sparkle();
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
_parent.gotoAndPlay(493);
}
Symbol 331 MovieClip Frame 15
clearInterval(_root.speech);
_root.talk(_root.is01, _root.a_intro.t2, 17);
clearInterval(_root.sparkit);
Symbol 331 MovieClip Frame 68
stop();
Instance of Symbol 193 MovieClip in Symbol 331 MovieClip Frame 68
on (press, keyPress "<Space>") {
_parent.play();
}
Symbol 331 MovieClip Frame 69
clearInterval(_root.speech);
_root.talk(_root.is02, _root.a_intro.t1, 20);
Symbol 331 MovieClip Frame 117
stop();
Instance of Symbol 193 MovieClip in Symbol 331 MovieClip Frame 117
on (press, keyPress "<Space>") {
_parent.play();
}
Symbol 331 MovieClip Frame 118
clearInterval(_root.speech);
_root.talk(_root.is03, _root.a_intro.t2, 20);
Symbol 331 MovieClip Frame 156
stop();
Instance of Symbol 193 MovieClip in Symbol 331 MovieClip Frame 156
on (press, keyPress "<Space>") {
_parent.play();
}
Symbol 331 MovieClip Frame 157
clearInterval(_root.speech);
_root.talk(_root.is04, _root.a_intro.t1, 15);
Symbol 331 MovieClip Frame 219
stop();
Instance of Symbol 193 MovieClip in Symbol 331 MovieClip Frame 219
on (press, keyPress "<Space>") {
_parent.play();
}
Symbol 331 MovieClip Frame 220
clearInterval(_root.speech);
_root.talk(_root.is05, _root.a_intro.t2, 20);
Symbol 331 MovieClip Frame 276
_root.sfx.gotoAndPlay(3);
Symbol 331 MovieClip Frame 312
_root.sfx.gotoAndPlay(8);
Symbol 331 MovieClip Frame 315
_root.sfx.gotoAndPlay(2);
Symbol 331 MovieClip Frame 320
clearInterval(_root.speech);
_root.a_intro.t1.text = "";
_root.talk(_root.is06, _root.a_intro.t2, 20);
Symbol 331 MovieClip Frame 343
_root.sfx.gotoAndPlay(6);
Symbol 331 MovieClip Frame 357
clearInterval(_root.speech);
_root.talk(_root.is07, _root.a_intro.t1, 20);
Symbol 331 MovieClip Frame 455
clearInterval(_root.speech);
_root.a_intro.t1.text = "";
_root.talk(_root.is08, _root.a_intro.t2, 20);
Instance of Symbol 161 MovieClip in Symbol 331 MovieClip Frame 494
on (rollOver) {
_root.sparkle();
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
_parent.gotoAndPlay(777);
}
Symbol 331 MovieClip Frame 495
stopAllSounds();
_root.sfx.gotoAndPlay(34);
Symbol 331 MovieClip Frame 496
_root.sfx.gotoAndPlay(13);
Symbol 331 MovieClip Frame 499
_root.sfx.gotoAndPlay(12);
Symbol 331 MovieClip Frame 500
_root.a_intro.t2.text = "*UHHH*";
Symbol 331 MovieClip Frame 521
clearInterval(_root.speech);
_root.a_intro.t2.text = "";
_root.talk(_root.is09, _root.a_intro.t1, 20);
Symbol 331 MovieClip Frame 546
_root.sfx.gotoAndPlay(7);
Symbol 331 MovieClip Frame 548
_root.sfx.gotoAndPlay(5);
Symbol 331 MovieClip Frame 565
_root.a_intro.t1.text = "";
Symbol 331 MovieClip Frame 580
_root.sfx.gotoAndPlay(12);
Symbol 331 MovieClip Frame 607
clearInterval(_root.speech);
_root.talk(_root.is10, _root.a_intro.t1, 50);
Symbol 331 MovieClip Frame 676
_root.a_intro.t1.text = "";
Symbol 331 MovieClip Frame 745
clearInterval(_root.speech);
_root.a_intro.t1.text = "";
_root.talk(_root.is11, _root.a_intro.t3, 20);
Symbol 331 MovieClip Frame 778
clearInterval(_root.speech);
_root.a_intro.t2.text = "";
_root.talk(_root.is12, _root.a_intro.t1, 20);
Symbol 331 MovieClip Frame 788
_root.a_intro.t3.text = "";
Symbol 331 MovieClip Frame 819
clearInterval(_root.speech);
clearInterval(_root.sparkit);
clearInterval(_root.sparkit);
_root.fadetolvl(_root.a_intro);
stop();
Symbol 416 MovieClip Frame 24
stop();
Symbol 440 MovieClip Frame 1
_root.es01 = "\rWelcome, young lady. The answer to your question is...";
_root.es02 = "Yes, I can help. I have seen your predicament,\rand it is my duty to aid you.";
_root.es03 = "I can mix a draft which will protect the kingdom from\rthe plague. You will need to deliver it to the elves\rand humans, and then ride on to the Gold Castle.";
_root.es04 = "The components of this antidote are scarce,\rand I only have enough to make 7 vials.";
_root.es05 = "You must use your skills to preserve at least one\rfor the Gold army, so that they may ride and defeat the\rDark King without fear of becoming infected.";
_root.es06 = " Hurry now!\rI wish you the best of luck in your mission...";
Symbol 440 MovieClip Frame 2
_root.sfx.gotoAndPlay(15);
Instance of Symbol 161 MovieClip in Symbol 440 MovieClip Frame 2
on (rollOver) {
_root.sparkle();
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.sparkit);
_parent.gotoAndPlay(254);
}
Symbol 440 MovieClip Frame 46
_root.sfx.gotoAndPlay(18);
Symbol 440 MovieClip Frame 52
_root.sfx.gotoAndPlay(16);
Symbol 440 MovieClip Frame 222
_root.sfx.gotoAndPlay(17);
Symbol 440 MovieClip Frame 223
_root.sfx.gotoAndPlay(4);
Symbol 440 MovieClip Frame 255
_root.jim = 100;
_root.bag.onEnterFrame = function () {
if (_root.jim > 0) {
_root.jim = _root.jim - 5;
} else {
_root.bag.onEnterFrame = null;
}
if (_root.sndon) {
_root.s.setVolume(_root.jim);
}
};
Symbol 440 MovieClip Frame 278
stopAllSounds();
if (_root.sndon) {
_root.s.setVolume(100);
}
_root.sfx.gotoAndPlay(31);
Instance of Symbol 161 MovieClip in Symbol 440 MovieClip Frame 278
on (rollOver) {
_root.sparkle();
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.sparkit);
_parent.gotoAndPlay(479);
}
Symbol 440 MovieClip Frame 287
clearInterval(_root.speech);
_root.talk(_root.es01, _root.a_escape.t1, 20);
Symbol 440 MovieClip Frame 322
stop();
Instance of Symbol 193 MovieClip in Symbol 440 MovieClip Frame 322
on (press, keyPress "<Space>") {
_parent.play();
}
Symbol 440 MovieClip Frame 323
clearInterval(_root.speech);
_root.a_escape.t1.text = "";
_root.talk(_root.es02, _root.a_escape.t2, 20);
Symbol 440 MovieClip Frame 335
head.stop();
Symbol 440 MovieClip Frame 356
stop();
Instance of Symbol 193 MovieClip in Symbol 440 MovieClip Frame 356
on (press, keyPress "<Space>") {
_parent.play();
}
Symbol 440 MovieClip Frame 357
head.play();
clearInterval(_root.speech);
_root.a_escape.t2.text = "";
_root.talk(_root.es03, _root.a_escape.t1, 20);
Symbol 440 MovieClip Frame 391
stop();
Instance of Symbol 193 MovieClip in Symbol 440 MovieClip Frame 391
on (press, keyPress "<Space>") {
_parent.play();
}
Symbol 440 MovieClip Frame 392
clearInterval(_root.speech);
_root.a_escape.t1.text = "";
_root.talk(_root.es04, _root.a_escape.t2, 20);
Symbol 440 MovieClip Frame 416
stop();
Instance of Symbol 193 MovieClip in Symbol 440 MovieClip Frame 416
on (press, keyPress "<Space>") {
_parent.play();
}
Symbol 440 MovieClip Frame 417
clearInterval(_root.speech);
_root.a_escape.t2.text = "";
_root.talk(_root.es05, _root.a_escape.t1, 20);
Symbol 440 MovieClip Frame 462
_root.sfx.gotoAndPlay(11);
Symbol 440 MovieClip Frame 466
g = 100000 /* 0x0186A0 */;
C1o = new Array(13311, 22015, 30719, 39423, 48127, 56831, 65535, 65535);
sparker = setInterval(function () {
g = g + 50;
if (g > 100250) {
clearInterval(sparker);
}
scnt = g;
while (scnt < (g + 50)) {
_root.a_escape.createEmptyMovieClip("spk" + scnt, scnt);
_root.a_escape["spk" + scnt].lineStyle(random(5) + 3, 16777215, 100);
_root.a_escape["spk" + scnt].moveTo(0, 0);
_root.a_escape["spk" + scnt].lineTo(1, 0);
_root.a_escape["spk" + scnt]._x = 36 + random(70);
_root.a_escape["spk" + scnt]._y = 59;
_root.a_escape["spk" + scnt].xvel = (random(80) - 40) / 10;
_root.a_escape["spk" + scnt].yvel = (-random(100)) / 10;
_root.a_escape["spk" + scnt].fade = random(3) + 1;
new Color(_root.a_escape["spk" + scnt]).setRGB(C1o[random(C1o.length)]);
_root.a_escape["spk" + scnt].onEnterFrame = function () {
this._x = this._x + this.xvel;
this.yvel = this.yvel + 0.5;
this._y = this._y + this.yvel;
this._alpha = this._alpha - this.fade;
if ((this._alpha <= 0) || (this._y > 225)) {
this.removeMovieClip();
}
};
scnt++;
}
}, 50);
Symbol 440 MovieClip Frame 478
stop();
Instance of Symbol 193 MovieClip in Symbol 440 MovieClip Frame 478
on (press, keyPress "<Space>") {
_parent.play();
}
Symbol 440 MovieClip Frame 480
clearInterval(_root.speech);
_root.a_escape.t1.text = "";
_root.talk(_root.es06, _root.a_escape.t2, 5);
Symbol 440 MovieClip Frame 551
clearInterval(_root.speech);
clearInterval(sparker);
clearInterval(_root.sparkit);
_root.fadetolvl(_root.a_escape);
stop();
Symbol 445 MovieClip Frame 1
_root.els01 = "The Plague is coming. Share this amongst your\r people, it will provide you with immunity";
_root.els02 = "We are grateful. You can count on our support\r in the coming battle with the Dark King";
Symbol 445 MovieClip Frame 2
stop();
letter = 1;
speech = setInterval(function () {
t1.text = _root.els01.substring(0, letter);
letter++;
if (letter > _root.els01.length) {
clearInterval(speech);
play();
}
}, 30);
Instance of Symbol 25 MovieClip in Symbol 445 MovieClip Frame 2
on (rollOver) {
_root.sparkle();
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
_root.fadetolvl(_root.a_elves);
}
Symbol 445 MovieClip Frame 20
letter = 1;
stop();
speech = setInterval(function () {
t2.text = _root.els02.substring(0, letter);
letter++;
if (letter > _root.els02.length) {
clearInterval(speech);
}
}, 30);
Instance of Symbol 25 MovieClip in Symbol 445 MovieClip Frame 20
on (rollOver) {
_root.sparkle();
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
clearInterval(_root.sparkit);
_root.fadetolvl(_root.a_elves);
}
Symbol 449 MovieClip Frame 1
_root.vs01 = "I have no time to spare, but mix this into your largest\r cauldron, and make sure that everyone takes a sip.";
_root.vs02 = "Thank you kindly, milady, you're a saviour. We\rwill be there in the fight against the Dark King!";
Instance of Symbol 25 MovieClip in Symbol 449 MovieClip Frame 1
on (rollOver) {
_root.sparkle();
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
clearInterval(_root.sparkit);
_root.fadetolvl(_root.a_vill);
}
Symbol 449 MovieClip Frame 2
stop();
letter = 1;
speech = setInterval(function () {
t1.text = _root.vs01.substring(0, letter);
letter++;
if (letter > _root.vs01.length) {
clearInterval(speech);
play();
}
}, 30);
Symbol 449 MovieClip Frame 15
letter = 1;
stop();
speech = setInterval(function () {
t2.text = _root.vs02.substring(0, letter);
letter++;
if (letter > _root.vs02.length) {
clearInterval(speech);
}
}, 30);
Symbol 460 MovieClip Frame 243
stop();
Instance of Symbol 175 MovieClip in Symbol 460 MovieClip Frame 243
on (rollOver) {
_root.sparkle();
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
clearInterval(_root.sparkit);
_root.fader.removeMovieClip();
_root.reset();
_root.gotoAndStop(14);
}
Symbol 518 MovieClip Frame 562
stop();
Instance of Symbol 175 MovieClip in Symbol 518 MovieClip Frame 562
on (rollOver) {
_root.sparkle();
}
on (release, releaseOutside, rollOut, dragOut) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
clearInterval(_root.sparkit);
}
on (press) {
clearInterval(_root.speech);
clearInterval(_root.sparkit);
clearInterval(_root.sparkit);
_root.fader.removeMovieClip();
_root.reset();
_root.gotoAndStop(14);
}
Instance of Symbol 523 MovieClip in Symbol 528 MovieClip Frame 1
on (press) {
if (_root.s.getVolume() < 100) {
_root.s.setVolume(100);
_root.sndon = 1;
sndb.text = "SOUNDS (ON)";
} else {
_root.s.setVolume(0);
_root.sndon = 0;
sndb.text = "SOUNDS (OFF)";
}
}
Instance of Symbol 525 MovieClip in Symbol 528 MovieClip Frame 1
on (press) {
_root.loadwr();
_root.hst._visible = 1;
_root.hsts._visible = 1;
}
Instance of Symbol 527 MovieClip in Symbol 528 MovieClip Frame 1
on (press) {
if (_root._currentframe > 47) {
_root.gotoAndStop(14);
_root.reset();
}
}
Symbol 564 MovieClip Frame 11
gotoAndPlay (1);
Symbol 564 MovieClip Frame 30
gotoAndPlay (20);
Symbol 564 MovieClip Frame 50
gotoAndPlay (40);
Symbol 575 MovieClip Frame 1
stop();
Symbol 575 MovieClip Frame 35
_parent.nextFrame();
Symbol 576 MovieClip Frame 1
stop();
Symbol 576 MovieClip Frame 8
_root.storydead();