Frame 1
_root.top = 1;
_root.archah = 0;
_root.gunnah = 0;
_root.slowTime = 0;
_root.bottom = 1;
_root.windows = 1;
Stage.showMenu = false;
_root.dragOn = 0;
_root.holdIt = 0;
_root.qual = "High";
_root.modey = "Classic";
Object.prototype.setCookie = function (c, n, v) {
var _local1 = SharedObject.getLocal(c);
_local1.data[n] = v;
_local1.flush();
};
Object.prototype.getCookie = function (c, n) {
var _local1 = SharedObject.getLocal(c);
return(_local1.data[n]);
};
_root.gotWall = 0;
_root.manaNow = 80;
_root.swordpower = 0;
_root.axepower = 0;
_root.macepower = 0;
_root.cursyStr = 0;
_root.vari = 1;
_root.varib = 1;
_root.varic = 1;
_root.varid = 1;
_root.varie = 1;
_root.varif = 1;
_root.varig = 1;
_root.varih = 1;
_root.varii = 1;
_root.varij = 1;
_root.varik = 1;
_root.varim = 1;
_root.varin = 1;
_root.vario = 1;
_root.varip = 0;
_root.variq = 0;
_root.varir = 0;
_root.varis = 1;
_root.maxMana = _root.manaNow;
_root.castleHp = 500;
_root.castleMaxHp = _root.castleHp;
_root.menOut = 0;
_root.poisSpell = 0;
_root.level = 1;
_root.moThing = 1;
_root.nukeSpell = 0;
_root.axeSpell = 0;
_root.ballSpell = 0;
_root.killSpell = 0;
_root.metSpell = 0;
_root.maceSpell = 0;
_root.healSpell = 0;
_root.rockSpell = 0;
_root.swordSpell = 0;
_root.moMoney = 0;
_root.money = 850;
_root.enemyOut = 0;
_root.moEnemys = 4;
_root.moSpeed = 0;
_root.alreadySaved1 = getCookie("database1", "iteem1");
_root.alreadySaved2 = getCookie("database2", "iteem1");
_root.alreadySaved3 = getCookie("database3", "iteem1");
_root.magRune = 5;
_root.fireRune = 5;
_root.exploRune = 5;
_root.timeRune = 5;
_root.iceRune = 5;
_root.windRune = 5;
_root.hlevel = 0;
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
Instance of Symbol 221 MovieClip "cast1" in Frame 5
onClipEvent (enterFrame) {
if (_root.castleHp <= 0) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.castleHp <= 50) {
gotoAndStop (3);
}
}
Frame 6
stopAllSounds();
gotoAndPlay (8);
Instance of Symbol 221 MovieClip "cast1" in Frame 7
onClipEvent (enterFrame) {
if (_root.castleHp <= 0) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.castleHp <= 50) {
gotoAndStop (3);
}
}
Frame 8
_root.enemy.gotoAndStop(1);
if ((((_root.alreadySaved1 == 1) || (_root.alreadySaved2 == 1)) || (_root.alreadySaved3 == 1)) && (_root.loadedIt == 1)) {
if (_root.healSpell == 1) {
_root.restoreHp._visible = true;
}
if (_root.axeSpell == 1) {
_root.summon_Axe._visible = true;
}
if (_root.maceSpell == 1) {
_root.summon_Mace._visible = true;
}
if (_root.metSpell == 1) {
_root.meteora._visible = true;
}
if (_root.ballSpell == 1) {
_root.flameB._visible = true;
}
if (_root.swordSpell == 1) {
_root.summon_Sword._visible = true;
}
if (_root.rockSpell == 1) {
_root.bigRock._visible = true;
}
if (_root.killSpell == 1) {
_root.instaKill._visible = true;
}
if (_root.poisSpell == 1) {
_root.poisonF._visible = true;
}
if (_root.nukeSpell == 1) {
_root.nuke._visible = true;
}
if (_root.gotFarm == 1) {
_root.farm._visible = true;
}
if (_root.oasisUpgrade == 1) {
_root.oasis._visible = true;
}
if (_root.gotTower == 1) {
_root.tower._visible = true;
}
if (_root.gotWall == 1) {
_root.wall2._visible = true;
}
_root.buyMenu._visible = true;
} else {
_root.enemyOut = 0;
while (_root.enemyOut < 3) {
_root.enemyOut = _root.enemyOut + 1;
duplicateMovieClip (_root.enemy, "enemy" + _root.enemyOut, _root.enemyOut);
_root["enemy" + _root.enemyOut].activate = 1;
}
}
stop();
Instance of Symbol 381 MovieClip "fogF" in Frame 8
onClipEvent (load) {
this._visible = false;
this.stop();
}
Instance of Symbol 383 MovieClip "tower" in Frame 8
onClipEvent (load) {
if (_root.gotTower != 1) {
_root.tower._visible = false;
}
}
Instance of Symbol 418 MovieClip "gunny3" in Frame 8
onClipEvent (load) {
if (_root.gunnah >= 3) {
} else {
this.gotoAndStop(43);
}
}
Instance of Symbol 452 MovieClip "archy3" in Frame 8
onClipEvent (load) {
if (_root.archah >= 3) {
} else {
this.gotoAndStop(51);
}
}
Instance of Symbol 221 MovieClip "cast1" in Frame 8
onClipEvent (enterFrame) {
if (_root.castleHp <= 0) {
gotoAndStop (9);
}
}
onClipEvent (enterFrame) {
if (_root.castleHp <= 50) {
gotoAndStop (10);
}
}
Instance of Symbol 452 MovieClip "archy6" in Frame 8
onClipEvent (load) {
if (_root.archah >= 6) {
} else {
this.gotoAndStop(51);
}
}
Instance of Symbol 454 MovieClip "wall2" in Frame 8
onClipEvent (load) {
if (_root.gotWall != 1) {
_root.wall2._visible = false;
}
}
Instance of Symbol 475 MovieClip "flame_ball" in Frame 8
onClipEvent (load) {
this._visible = false;
this.gotoAndStop(34);
}
Instance of Symbol 452 MovieClip "archy1" in Frame 8
onClipEvent (load) {
if (_root.archah >= 1) {
} else {
this.gotoAndStop(51);
}
}
Instance of Symbol 452 MovieClip "archy2" in Frame 8
onClipEvent (load) {
if (_root.archah >= 2) {
} else {
this.gotoAndStop(51);
}
}
Instance of Symbol 890 MovieClip "enemy" in Frame 8
onClipEvent (enterFrame) {
if (_root.castleLife <= 0) {
this.removeMovieClip();
}
if (_root.slowTime > 0) {
_root.slowTime = _root.slowTime - 0.002;
}
if (_root.slowTime < 0) {
_root.slowTime = 0;
}
}
onClipEvent (load) {
this.outty = 1;
typeEnemy = random(9) + 1;
this.gotoAndPlay(10);
}
Instance of Symbol 418 MovieClip "gunny2" in Frame 8
onClipEvent (load) {
if (_root.gunnah >= 2) {
} else {
this.gotoAndStop(43);
}
}
Instance of Symbol 418 MovieClip "gunny1" in Frame 8
onClipEvent (load) {
if (_root.gunnah >= 1) {
} else {
this.gotoAndStop(43);
}
}
Instance of Symbol 452 MovieClip "archy4" in Frame 8
onClipEvent (load) {
if (_root.archah >= 4) {
} else {
this.gotoAndStop(51);
}
}
Instance of Symbol 452 MovieClip "archy5" in Frame 8
onClipEvent (load) {
if (_root.archah >= 5) {
} else {
this.gotoAndStop(51);
}
}
Instance of Symbol 418 MovieClip "gunny4" in Frame 8
onClipEvent (load) {
if (_root.gunnah >= 4) {
} else {
this.gotoAndStop(43);
}
}
Instance of Symbol 418 MovieClip "gunny5" in Frame 8
onClipEvent (load) {
if (_root.gunnah >= 5) {
} else {
this.gotoAndStop(43);
}
}
Instance of Symbol 418 MovieClip "gunny6" in Frame 8
onClipEvent (load) {
if (_root.gunnah >= 6) {
} else {
this.gotoAndStop(43);
}
}
Instance of Symbol 938 MovieClip "hpRestore" in Frame 8
onClipEvent (load) {
_root.hpRestore._visible = false;
}
Instance of Symbol 945 MovieClip "meteorM" in Frame 8
onClipEvent (load) {
this.gotoAndStop(41);
}
onClipEvent (load) {
this._visible = false;
this.stop();
}
Instance of Symbol 948 MovieClip "instakilla" in Frame 8
onClipEvent (load) {
this._visible = false;
this.stop();
}
Instance of Symbol 950 MovieClip "summonaxe" in Frame 8
onClipEvent (load) {
this._visible = false;
this.stop();
}
onClipEvent (enterFrame) {
if ((this._x < 519.5) && (this.backo != 1)) {
if (this._x > 516) {
this.backo = 1;
}
this._x = this._x + (random(3) + 4);
} else {
this._x = this._x - (random(3) + 4);
if (this._x < 198) {
this.backo = 0;
}
}
}
Instance of Symbol 952 MovieClip "summonmace" in Frame 8
onClipEvent (load) {
this._visible = false;
this.stop();
}
onClipEvent (enterFrame) {
if ((this._x < 519.5) && (this.backo != 1)) {
if (this._x > 516) {
this.backo = 1;
}
this._x = this._x + (random(3) + 4);
} else {
this._x = this._x - (random(3) + 4);
if (this._x < 198) {
this.backo = 0;
}
}
}
Instance of Symbol 954 MovieClip "summonsword" in Frame 8
onClipEvent (load) {
this._visible = false;
this.stop();
}
onClipEvent (enterFrame) {
if ((this._x < 519.5) && (this.backo != 1)) {
if (this._x > 516) {
this.backo = 1;
}
this._x = this._x + (random(3) + 4);
} else {
this._x = this._x - (random(3) + 4);
if (this._x < 198) {
this.backo = 0;
}
}
}
Instance of Symbol 957 MovieClip "nukeN" in Frame 8
onClipEvent (load) {
this._visible = false;
this.gotoAndStop(71);
}
Instance of Symbol 959 MovieClip "bigR" in Frame 8
onClipEvent (load) {
this._visible = false;
this.gotoAndStop(65);
}
Instance of Symbol 1218 MovieClip "buyMenu" in Frame 8
onClipEvent (load) {
if (_root.loadedIt != 1) {
this._visible = false;
}
}
Instance of Symbol 1226 MovieClip "gameOvey" in Frame 8
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1235 MovieClip "lightning" in Frame 8
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1241 MovieClip "shockwavey" in Frame 8
onClipEvent (load) {
this._visible = false;
this.gotoAndStop(26);
}
Instance of Symbol 1243 MovieClip "lightHit" in Frame 8
on (release) {
this.lighty = false;
this._x = 96;
this._y = -40.8;
_root.lightning.gotoAndPlay(2);
}
onClipEvent (enterFrame) {
if (lighty == true) {
this._x = _root._xmouse;
this._y = _root._ymouse;
_root.lightning._x = _root._xmouse;
}
}
Symbol 11 Button
on (release) {
_root.pre.nextFrame();
}
Symbol 12 MovieClip Frame 31
stop();
Symbol 27 MovieClip Frame 170
_root.play();
Symbol 28 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 28 MovieClip Frame 2
gotoAndPlay (1);
Instance of Symbol 27 MovieClip in Symbol 28 MovieClip Frame 4
on (press) {
getURL ("http://www.antitudegames.com", "_blank");
}
Symbol 33 Button
on (press) {
getURL ("http://www.antitudegames.com", "_blank");
}
Symbol 39 Button
on (press) {
nextFrame();
}
Symbol 43 Button
on (press, release) {
gotoAndStop (3);
}
Symbol 56 Button
on (press) {
_root.nextFrame();
}
Symbol 68 Button
on (press) {
_root.modey = "Drop";
_root.dragOn = 1;
_root.holdIt = 0;
gotoAndStop (2);
}
Symbol 69 Button
on (press) {
_root.modey = "Hold";
_root.dragOn = 0;
_root.holdIt = 1;
gotoAndStop (3);
}
Symbol 71 Button
on (press) {
_root.modey = "Classic";
_root.dragOn = 0;
_root.holdIt = 0;
gotoAndStop (1);
}
Symbol 73 Button
on (press) {
_root.modey = "Drop";
_root.dragOn = 1;
_root.holdIt = 0;
gotoAndStop (2);
}
Symbol 74 MovieClip Frame 1
stop();
Symbol 79 Button
on (press, release) {
if (_root.alreadySaved1 == 1) {
hoe = 1;
_root.loadedIt = 1;
_root.healSpell = getCookie("database" + hoe, "iteem2");
_root.axeSpell = getCookie("database" + hoe, "iteem3");
_root.maceSpell = getCookie("database" + hoe, "iteem4");
_root.metSpell = getCookie("database" + hoe, "iteem5");
_root.ballSpell = getCookie("database" + hoe, "iteem6");
_root.swordSpell = getCookie("database" + hoe, "iteem7");
_root.rockSpell = getCookie("database" + hoe, "iteem8");
_root.killSpell = getCookie("database" + hoe, "iteem9");
_root.poisSpell = getCookie("database" + hoe, "iteem10");
_root.nukeSpell = getCookie("database" + hoe, "iteem11");
_root.cursyStr = getCookie("database" + hoe, "iteem12");
_root.gotFarm = getCookie("database" + hoe, "iteem13");
_root.oasisUpgrade = getCookie("database" + hoe, "iteem14");
_root.gotTower = getCookie("database" + hoe, "iteem15");
_root.gotWall = getCookie("database" + hoe, "iteem16");
_root.maxMana = getCookie("database" + hoe, "iteem17");
_root.castleMaxHp = getCookie("database" + hoe, "iteem18");
_root.castleHp = getCookie("database" + hoe, "iteem19");
_root.manaNow = getCookie("database" + hoe, "iteem20");
_root.moMoney = getCookie("database" + hoe, "iteem21");
_root.level = getCookie("database" + hoe, "iteem22");
_root.moEnemys = getCookie("database" + hoe, "iteem23");
_root.money = getCookie("database" + hoe, "iteem24");
_root.moSpeed = getCookie("database" + hoe, "iteem25");
_root.moThing = getCookie("database" + hoe, "iteem26");
_root.magRune = getCookie("database" + hoe, "iteem27");
_root.fireRune = getCookie("database" + hoe, "iteem28");
_root.exploRune = getCookie("database" + hoe, "iteem29");
_root.timeRune = getCookie("database" + hoe, "iteem30");
_root.iceRune = getCookie("database" + hoe, "iteem31");
_root.windRune = getCookie("database" + hoe, "iteem32");
_root.hlevel = getCookie("database" + hoe, "iteem33");
_root.slowSpell = getCookie("database" + hoe, "iteem35");
_root.shockSpell = getCookie("database" + hoe, "iteem36");
_root.lightSpell = getCookie("database" + hoe, "iteem37");
_root.stopSpell = getCookie("database" + hoe, "iteem38");
_root.gunnah = getCookie("database" + hoe, "iteem39");
_root.archah = getCookie("database" + hoe, "iteem40");
_root.gotoAndPlay(3);
}
}
Symbol 80 Button
on (press, release) {
if (_root.alreadySaved2 == 1) {
hoe = 1;
_root.loadedIt = 1;
_root.healSpell = getCookie("database" + hoe, "iteem2");
_root.axeSpell = getCookie("database" + hoe, "iteem3");
_root.maceSpell = getCookie("database" + hoe, "iteem4");
_root.metSpell = getCookie("database" + hoe, "iteem5");
_root.ballSpell = getCookie("database" + hoe, "iteem6");
_root.swordSpell = getCookie("database" + hoe, "iteem7");
_root.rockSpell = getCookie("database" + hoe, "iteem8");
_root.killSpell = getCookie("database" + hoe, "iteem9");
_root.poisSpell = getCookie("database" + hoe, "iteem10");
_root.nukeSpell = getCookie("database" + hoe, "iteem11");
_root.cursyStr = getCookie("database" + hoe, "iteem12");
_root.gotFarm = getCookie("database" + hoe, "iteem13");
_root.oasisUpgrade = getCookie("database" + hoe, "iteem14");
_root.gotTower = getCookie("database" + hoe, "iteem15");
_root.gotWall = getCookie("database" + hoe, "iteem16");
_root.maxMana = getCookie("database" + hoe, "iteem17");
_root.castleMaxHp = getCookie("database" + hoe, "iteem18");
_root.castleHp = getCookie("database" + hoe, "iteem19");
_root.manaNow = getCookie("database" + hoe, "iteem20");
_root.moMoney = getCookie("database" + hoe, "iteem21");
_root.level = getCookie("database" + hoe, "iteem22");
_root.moEnemys = getCookie("database" + hoe, "iteem23");
_root.money = getCookie("database" + hoe, "iteem24");
_root.moSpeed = getCookie("database" + hoe, "iteem25");
_root.moThing = getCookie("database" + hoe, "iteem26");
_root.magRune = getCookie("database" + hoe, "iteem27");
_root.fireRune = getCookie("database" + hoe, "iteem28");
_root.exploRune = getCookie("database" + hoe, "iteem29");
_root.timeRune = getCookie("database" + hoe, "iteem30");
_root.iceRune = getCookie("database" + hoe, "iteem31");
_root.windRune = getCookie("database" + hoe, "iteem32");
_root.hlevel = getCookie("database" + hoe, "iteem33");
_root.slowSpell = getCookie("database" + hoe, "iteem35");
_root.shockSpell = getCookie("database" + hoe, "iteem36");
_root.lightSpell = getCookie("database" + hoe, "iteem37");
_root.stopSpell = getCookie("database" + hoe, "iteem38");
_root.gunnah = getCookie("database" + hoe, "iteem39");
_root.archah = getCookie("database" + hoe, "iteem40");
_root.gotoAndPlay(3);
}
}
Symbol 81 Button
on (press, release) {
if (_root.alreadySaved3 == 1) {
hoe = 1;
_root.loadedIt = 1;
_root.healSpell = getCookie("database" + hoe, "iteem2");
_root.axeSpell = getCookie("database" + hoe, "iteem3");
_root.maceSpell = getCookie("database" + hoe, "iteem4");
_root.metSpell = getCookie("database" + hoe, "iteem5");
_root.ballSpell = getCookie("database" + hoe, "iteem6");
_root.swordSpell = getCookie("database" + hoe, "iteem7");
_root.rockSpell = getCookie("database" + hoe, "iteem8");
_root.killSpell = getCookie("database" + hoe, "iteem9");
_root.poisSpell = getCookie("database" + hoe, "iteem10");
_root.nukeSpell = getCookie("database" + hoe, "iteem11");
_root.cursyStr = getCookie("database" + hoe, "iteem12");
_root.gotFarm = getCookie("database" + hoe, "iteem13");
_root.oasisUpgrade = getCookie("database" + hoe, "iteem14");
_root.gotTower = getCookie("database" + hoe, "iteem15");
_root.gotWall = getCookie("database" + hoe, "iteem16");
_root.maxMana = getCookie("database" + hoe, "iteem17");
_root.castleMaxHp = getCookie("database" + hoe, "iteem18");
_root.castleHp = getCookie("database" + hoe, "iteem19");
_root.manaNow = getCookie("database" + hoe, "iteem20");
_root.moMoney = getCookie("database" + hoe, "iteem21");
_root.level = getCookie("database" + hoe, "iteem22");
_root.moEnemys = getCookie("database" + hoe, "iteem23");
_root.money = getCookie("database" + hoe, "iteem24");
_root.moSpeed = getCookie("database" + hoe, "iteem25");
_root.moThing = getCookie("database" + hoe, "iteem26");
_root.magRune = getCookie("database" + hoe, "iteem27");
_root.fireRune = getCookie("database" + hoe, "iteem28");
_root.exploRune = getCookie("database" + hoe, "iteem29");
_root.timeRune = getCookie("database" + hoe, "iteem30");
_root.iceRune = getCookie("database" + hoe, "iteem31");
_root.windRune = getCookie("database" + hoe, "iteem32");
_root.hlevel = getCookie("database" + hoe, "iteem33");
_root.slowSpell = getCookie("database" + hoe, "iteem35");
_root.shockSpell = getCookie("database" + hoe, "iteem36");
_root.lightSpell = getCookie("database" + hoe, "iteem37");
_root.stopSpell = getCookie("database" + hoe, "iteem38");
_root.gunnah = getCookie("database" + hoe, "iteem39");
_root.archah = getCookie("database" + hoe, "iteem40");
_root.gotoAndPlay(3);
}
}
Symbol 91 Button
on (press) {
gotoAndStop (1);
}
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 3
_root.user = getCookie("database1", "iteem34");
_root.user2 = getCookie("database2", "iteem34");
_root.user3 = getCookie("database3", "iteem34");
if (_root.alreadySaved1 != 1) {
_root.user = "No Data";
this.loada1._visible = false;
}
if (_root.alreadySaved2 != 1) {
_root.user2 = "No Data";
this.loada2._visible = false;
}
if (_root.alreadySaved3 != 1) {
_root.user3 = "No Data";
this.loada3._visible = false;
}
Symbol 96 MovieClip Frame 1
_root.bottom1 = "Bottom: " + _root.bottom;
_root.window1 = "Window: " + _root.windows;
_root.top1 = "Top: " + _root.top;
_root.quality1 = "Quality: " + _root.qual;
_root.mode1 = "Mode: " + _root.modey;
Symbol 96 MovieClip Frame 2
gotoAndPlay (1);
Symbol 121 Button
on (press) {
getURL ("http://www.antitudegames.com/defend2.exe", "_blank");
}
Symbol 122 Button
on (press) {
getURL ("http://www.antitudegames.com/Demonic_Defece_3.exe", "_blank");
}
Symbol 123 Button
on (press) {
_root.gotoAndStop(2);
}
Symbol 124 Button
on (press) {
_root.opt = 1;
play();
}
Symbol 125 Button
on (press) {
_root.createacas = 1;
play();
}
Symbol 126 Button
on (press) {
_root.instruc = 1;
play();
}
Symbol 127 Button
on (press) {
_root.playgame = 1;
play();
}
Symbol 138 Button
on (release) {
_root.top = _root.top + 1;
if (_root.top > 13) {
_root.top = 1;
}
_root.menu1.cast1.tipo.gotoAndStop(_root.top);
}
Symbol 146 Button
on (release) {
_root.windows = _root.windows + 1;
if (_root.windows > 6) {
_root.windows = 1;
}
_root.menu1.cast1.wind.gotoAndStop(_root.windows);
_root.menu1.cast1.wind2.gotoAndStop(_root.windows);
_root.menu1.cast1.wind3.gotoAndStop(_root.windows);
_root.menu1.cast1.wind4.gotoAndStop(_root.windows);
_root.menu1.cast1.wind5.gotoAndStop(_root.windows);
}
Symbol 154 Button
on (release) {
_root.bottom = _root.bottom + 1;
if (_root.bottom > 5) {
_root.bottom = 1;
}
_root.menu1.cast1.bot.gotoAndStop(_root.bottom);
}
Symbol 155 Button
on (press) {
gotoAndPlay (1);
}
Symbol 167 Button
on (press) {
if (_root.qual == "High") {
_root._quality = "MEDIUM";
_root.qual = "Medium";
} else if (_root.qual == "Medium") {
_root._quality = "LOW";
_root.qual = "Low";
} else if (_root.qual == "Low") {
_root._quality = "HIGH";
_root.qual = "High";
}
}
Symbol 178 Button
on (release) {
if (_root.modey == "Classic") {
_root.modey = "Drop";
_root.dragOn = 1;
_root.holdIt = 0;
} else if (_root.modey == "Drop") {
_root.modey = "Hold";
_root.dragOn = 0;
_root.holdIt = 1;
} else if (_root.modey == "Hold") {
_root.modey = "Classic";
_root.dragOn = 0;
_root.holdIt = 0;
}
}
Symbol 179 MovieClip Frame 53
stop();
Symbol 179 MovieClip Frame 76
if (_root.playgame == 1) {
_root.playgame = 0;
_root.gotoAndStop("game");
} else if (_root.instruc == 1) {
_root.instruc = 0;
_root.gotoAndStop("instructions");
} else if (_root.chat == 1) {
_root.chat = 0;
_root.gotoAndStop("chatroom");
} else if (_root.createcas == 1) {
_root.createacas = 0;
play();
} else if (_root.opt == 1) {
_root.opt = 0;
gotoAndStop (78);
}
Symbol 179 MovieClip Frame 77
stop();
Symbol 179 MovieClip Frame 78
stop();
Symbol 186 Button
on (press) {
_root.getURL("http://www.antitudegames.com", "_blank");
}
Symbol 188 MovieClip Frame 20
stop();
Symbol 192 MovieClip Frame 1
_root.welcome = "welcome, " + _root.user;
Symbol 221 MovieClip Frame 1
stop();
Instance of Symbol 199 MovieClip "bot" in Symbol 221 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.bottom);
}
Instance of Symbol 206 MovieClip "wind" in Symbol 221 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.windows);
}
Instance of Symbol 220 MovieClip "tipo" in Symbol 221 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.top);
}
Instance of Symbol 206 MovieClip "wind2" in Symbol 221 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.windows);
}
Instance of Symbol 206 MovieClip "wind4" in Symbol 221 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.windows);
}
Instance of Symbol 206 MovieClip "wind3" in Symbol 221 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.windows);
}
Instance of Symbol 206 MovieClip "wind5" in Symbol 221 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.windows);
}
Instance of Symbol 221 MovieClip "cast1" in Symbol 223 MovieClip Frame 23
onClipEvent (enterFrame) {
if (_root.castleHp <= 0) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.castleHp <= 50) {
gotoAndStop (3);
}
}
Symbol 223 MovieClip Frame 31
stop();
Symbol 226 MovieClip Frame 1
stopAllSounds();
Symbol 226 MovieClip Frame 2
stop();
Symbol 233 Button
on (press) {
_root.tut1 = "Spells";
_root.tut2 = "Spells are some of the more dominent things in this game, and they make your life a lot easier too. You are able to purchase spells at the end of EVERY level, just look at the menu that comes up, click spells... and then you got it ( if you have enough gold ). To use a spell, while in gameplay you will notice a book on the top left of the screen, click this book and a spells menu will open up, click the spell to use it. Spells require certain runes to use, if you dont have enough runes, you will get a message stating this and the spell will not work.";
}
Symbol 237 Button
on (press) {
_root.tut1 = "Rune System";
_root.tut2 = "Rune are a new idea we have come up with. Instead of using magic for spells you will be using runes. On certain spells you will need to use multiple different runes to complete the spell. Such as say a spell costs 4 magic runes, 2 fire runes, and 5 earth runes. You will need the number of all those runes to complete the spell. At the end of Every level you will notice a section in the menu which says runes. You simply click the button and it takes you to a section where you can purchase runes. To fine out what runes you need to use for specific spells, you rollover a certain spell's button and it will tell you.";
}
Symbol 241 Button
on (press) {
_root.tut1 = "GamePlay";
_root.tut2 = "There are 3 modes of play. Classic, Drop, and Hold. Each one has its own unique way of gameplay for instance, Classic has the same mode of gameplay as 1 and 2... Which made this game very popular. How you play this is simply by clicking the enemys on the field repetivly until they die. But drop is a new version of play which is EXTREMELY addicting... My and Gjlcards faverite mode of play would be this. Instead of clicking you simply click and hold the mouse down, then drag the enemy up high and drop them to the ground for them to die. Hold is kind of a break from when people have to click over and over and instead, just hold the mouse down.";
}
Symbol 245 Button
on (press) {
_root.tut1 = "Difficulty";
_root.tut2 = "Sometimes you might find the game a little to easy. Well now you are able to make the game harder. At the end of every level you will be givin the option to change the difficulty. But dont worry, if you have set the difficulty to high, you are able to bring it down aswell.";
}
Symbol 252 Button
on (press) {
learnText.scroll = learnText.scroll - 1;
learnText2.scroll = learnText2.scroll - 1;
}
Symbol 253 Button
on (press) {
learnText.scroll = learnText.scroll + 1;
learnText2.scroll = learnText2.scroll + 1;
}
Symbol 257 Button
on (press) {
_root.tut1 = "Gold";
_root.tut2 = "Gold is used to purchase things from the menu durring gameplay. You recieve gold simply by killing enemys, but start with 850";
}
Symbol 261 Button
on (press) {
_root.tut1 = "Upgrades";
_root.tut2 = "Upgrades are a really helpfull thing to use in this game. They are able to improve defence, offence, hp, and more. You can purchase them in the menu after each level.";
}
Symbol 262 Button
on (press) {
gotoAndPlay (3);
}
Symbol 272 Button
on (release) {
_root.gotoAndStop(4);
}
Symbol 274 Button
on (release) {
_root.gotoAndPlay(6);
}
Symbol 276 Button
on (release) {
_root.gotoAndStop(3);
}
Symbol 278 Button
on (release) {
_root.gotoAndStop(5);
}
Symbol 283 Button
on (press, release) {
if (_root.alreadySaved1 == 1) {
hoe = 1;
_root.loadedIt = 1;
_root.healSpell = getCookie("database" + hoe, "iteem2");
_root.axeSpell = getCookie("database" + hoe, "iteem3");
_root.maceSpell = getCookie("database" + hoe, "iteem4");
_root.metSpell = getCookie("database" + hoe, "iteem5");
_root.ballSpell = getCookie("database" + hoe, "iteem6");
_root.swordSpell = getCookie("database" + hoe, "iteem7");
_root.rockSpell = getCookie("database" + hoe, "iteem8");
_root.killSpell = getCookie("database" + hoe, "iteem9");
_root.poisSpell = getCookie("database" + hoe, "iteem10");
_root.nukeSpell = getCookie("database" + hoe, "iteem11");
_root.cursyStr = getCookie("database" + hoe, "iteem12");
_root.gotFarm = getCookie("database" + hoe, "iteem13");
_root.oasisUpgrade = getCookie("database" + hoe, "iteem14");
_root.gotTower = getCookie("database" + hoe, "iteem15");
_root.gotWall = getCookie("database" + hoe, "iteem16");
_root.maxMana = getCookie("database" + hoe, "iteem17");
_root.castleMaxHp = getCookie("database" + hoe, "iteem18");
_root.castleHp = getCookie("database" + hoe, "iteem19");
_root.manaNow = getCookie("database" + hoe, "iteem20");
_root.moMoney = getCookie("database" + hoe, "iteem21");
_root.level = getCookie("database" + hoe, "iteem22");
_root.moEnemys = getCookie("database" + hoe, "iteem23");
_root.money = getCookie("database" + hoe, "iteem24");
_root.play();
}
}
Symbol 285 Button
on (press, release) {
if (_root.alreadySaved2 == 1) {
hoe = 2;
_root.loadedIt = 1;
_root.healSpell = getCookie("database" + hoe, "iteem2");
_root.axeSpell = getCookie("database" + hoe, "iteem3");
_root.maceSpell = getCookie("database" + hoe, "iteem4");
_root.metSpell = getCookie("database" + hoe, "iteem5");
_root.ballSpell = getCookie("database" + hoe, "iteem6");
_root.swordSpell = getCookie("database" + hoe, "iteem7");
_root.rockSpell = getCookie("database" + hoe, "iteem8");
_root.killSpell = getCookie("database" + hoe, "iteem9");
_root.poisSpell = getCookie("database" + hoe, "iteem10");
_root.nukeSpell = getCookie("database" + hoe, "iteem11");
_root.cursyStr = getCookie("database" + hoe, "iteem12");
_root.gotFarm = getCookie("database" + hoe, "iteem13");
_root.oasisUpgrade = getCookie("database" + hoe, "iteem14");
_root.gotTower = getCookie("database" + hoe, "iteem15");
_root.gotWall = getCookie("database" + hoe, "iteem16");
_root.maxMana = getCookie("database" + hoe, "iteem17");
_root.castleMaxHp = getCookie("database" + hoe, "iteem18");
_root.castleHp = getCookie("database" + hoe, "iteem19");
_root.manaNow = getCookie("database" + hoe, "iteem20");
_root.moMoney = getCookie("database" + hoe, "iteem21");
_root.level = getCookie("database" + hoe, "iteem22");
_root.moEnemys = getCookie("database" + hoe, "iteem23");
_root.money = getCookie("database" + hoe, "iteem24");
_root.play();
}
}
Symbol 287 Button
on (press, release) {
if (_root.alreadySaved3 == 1) {
hoe = 3;
_root.loadedIt = 1;
_root.healSpell = getCookie("database" + hoe, "iteem2");
_root.axeSpell = getCookie("database" + hoe, "iteem3");
_root.maceSpell = getCookie("database" + hoe, "iteem4");
_root.metSpell = getCookie("database" + hoe, "iteem5");
_root.ballSpell = getCookie("database" + hoe, "iteem6");
_root.swordSpell = getCookie("database" + hoe, "iteem7");
_root.rockSpell = getCookie("database" + hoe, "iteem8");
_root.killSpell = getCookie("database" + hoe, "iteem9");
_root.poisSpell = getCookie("database" + hoe, "iteem10");
_root.nukeSpell = getCookie("database" + hoe, "iteem11");
_root.cursyStr = getCookie("database" + hoe, "iteem12");
_root.gotFarm = getCookie("database" + hoe, "iteem13");
_root.oasisUpgrade = getCookie("database" + hoe, "iteem14");
_root.gotTower = getCookie("database" + hoe, "iteem15");
_root.gotWall = getCookie("database" + hoe, "iteem16");
_root.maxMana = getCookie("database" + hoe, "iteem17");
_root.castleMaxHp = getCookie("database" + hoe, "iteem18");
_root.castleHp = getCookie("database" + hoe, "iteem19");
_root.manaNow = getCookie("database" + hoe, "iteem20");
_root.moMoney = getCookie("database" + hoe, "iteem21");
_root.level = getCookie("database" + hoe, "iteem22");
_root.moEnemys = getCookie("database" + hoe, "iteem23");
_root.money = getCookie("database" + hoe, "iteem24");
_root.play();
}
}
Symbol 290 Button
on (press, release) {
if (_root.alreadySaved1 == 1) {
hoe = 1;
_root.loadedIt = 1;
_root.healSpell = getCookie("database" + hoe, "iteem2");
_root.axeSpell = getCookie("database" + hoe, "iteem3");
_root.maceSpell = getCookie("database" + hoe, "iteem4");
_root.metSpell = getCookie("database" + hoe, "iteem5");
_root.ballSpell = getCookie("database" + hoe, "iteem6");
_root.swordSpell = getCookie("database" + hoe, "iteem7");
_root.rockSpell = getCookie("database" + hoe, "iteem8");
_root.killSpell = getCookie("database" + hoe, "iteem9");
_root.poisSpell = getCookie("database" + hoe, "iteem10");
_root.nukeSpell = getCookie("database" + hoe, "iteem11");
_root.cursyStr = getCookie("database" + hoe, "iteem12");
_root.gotFarm = getCookie("database" + hoe, "iteem13");
_root.oasisUpgrade = getCookie("database" + hoe, "iteem14");
_root.gotTower = getCookie("database" + hoe, "iteem15");
_root.gotWall = getCookie("database" + hoe, "iteem16");
_root.maxMana = getCookie("database" + hoe, "iteem17");
_root.castleMaxHp = getCookie("database" + hoe, "iteem18");
_root.castleHp = getCookie("database" + hoe, "iteem19");
_root.manaNow = getCookie("database" + hoe, "iteem20");
_root.moMoney = getCookie("database" + hoe, "iteem21");
_root.level = getCookie("database" + hoe, "iteem22");
_root.moEnemys = getCookie("database" + hoe, "iteem23");
_root.money = getCookie("database" + hoe, "iteem24");
_root.moSpeed = getCookie("database" + hoe, "iteem25");
_root.moThing = getCookie("database" + hoe, "iteem26");
_root.magRune = getCookie("database" + hoe, "iteem27");
_root.fireRune = getCookie("database" + hoe, "iteem28");
_root.exploRune = getCookie("database" + hoe, "iteem29");
_root.timeRune = getCookie("database" + hoe, "iteem30");
_root.iceRune = getCookie("database" + hoe, "iteem31");
_root.windRune = getCookie("database" + hoe, "iteem32");
_root.hlevel = getCookie("database" + hoe, "iteem33");
_root.gotoAndPlay(6);
}
}
Symbol 291 Button
on (press, release) {
if (_root.alreadySaved2 == 1) {
hoe = 2;
_root.loadedIt = 1;
_root.healSpell = getCookie("database" + hoe, "iteem2");
_root.axeSpell = getCookie("database" + hoe, "iteem3");
_root.maceSpell = getCookie("database" + hoe, "iteem4");
_root.metSpell = getCookie("database" + hoe, "iteem5");
_root.ballSpell = getCookie("database" + hoe, "iteem6");
_root.swordSpell = getCookie("database" + hoe, "iteem7");
_root.rockSpell = getCookie("database" + hoe, "iteem8");
_root.killSpell = getCookie("database" + hoe, "iteem9");
_root.poisSpell = getCookie("database" + hoe, "iteem10");
_root.nukeSpell = getCookie("database" + hoe, "iteem11");
_root.cursyStr = getCookie("database" + hoe, "iteem12");
_root.gotFarm = getCookie("database" + hoe, "iteem13");
_root.oasisUpgrade = getCookie("database" + hoe, "iteem14");
_root.gotTower = getCookie("database" + hoe, "iteem15");
_root.gotWall = getCookie("database" + hoe, "iteem16");
_root.maxMana = getCookie("database" + hoe, "iteem17");
_root.castleMaxHp = getCookie("database" + hoe, "iteem18");
_root.castleHp = getCookie("database" + hoe, "iteem19");
_root.manaNow = getCookie("database" + hoe, "iteem20");
_root.moMoney = getCookie("database" + hoe, "iteem21");
_root.level = getCookie("database" + hoe, "iteem22");
_root.moEnemys = getCookie("database" + hoe, "iteem23");
_root.money = getCookie("database" + hoe, "iteem24");
_root.moSpeed = getCookie("database" + hoe, "iteem25");
_root.moThing = getCookie("database" + hoe, "iteem26");
_root.magRune = getCookie("database" + hoe, "iteem27");
_root.fireRune = getCookie("database" + hoe, "iteem28");
_root.exploRune = getCookie("database" + hoe, "iteem29");
_root.timeRune = getCookie("database" + hoe, "iteem30");
_root.iceRune = getCookie("database" + hoe, "iteem31");
_root.windRune = getCookie("database" + hoe, "iteem32");
_root.hlevel = getCookie("database" + hoe, "iteem33");
_root.gotoAndPlay(6);
}
}
Symbol 292 Button
on (press, release) {
if (_root.alreadySaved3 == 1) {
hoe = 3;
_root.loadedIt = 1;
_root.healSpell = getCookie("database" + hoe, "iteem2");
_root.axeSpell = getCookie("database" + hoe, "iteem3");
_root.maceSpell = getCookie("database" + hoe, "iteem4");
_root.metSpell = getCookie("database" + hoe, "iteem5");
_root.ballSpell = getCookie("database" + hoe, "iteem6");
_root.swordSpell = getCookie("database" + hoe, "iteem7");
_root.rockSpell = getCookie("database" + hoe, "iteem8");
_root.killSpell = getCookie("database" + hoe, "iteem9");
_root.poisSpell = getCookie("database" + hoe, "iteem10");
_root.nukeSpell = getCookie("database" + hoe, "iteem11");
_root.cursyStr = getCookie("database" + hoe, "iteem12");
_root.gotFarm = getCookie("database" + hoe, "iteem13");
_root.oasisUpgrade = getCookie("database" + hoe, "iteem14");
_root.gotTower = getCookie("database" + hoe, "iteem15");
_root.gotWall = getCookie("database" + hoe, "iteem16");
_root.maxMana = getCookie("database" + hoe, "iteem17");
_root.castleMaxHp = getCookie("database" + hoe, "iteem18");
_root.castleHp = getCookie("database" + hoe, "iteem19");
_root.manaNow = getCookie("database" + hoe, "iteem20");
_root.moMoney = getCookie("database" + hoe, "iteem21");
_root.level = getCookie("database" + hoe, "iteem22");
_root.moEnemys = getCookie("database" + hoe, "iteem23");
_root.money = getCookie("database" + hoe, "iteem24");
_root.moSpeed = getCookie("database" + hoe, "iteem25");
_root.moThing = getCookie("database" + hoe, "iteem26");
_root.magRune = getCookie("database" + hoe, "iteem27");
_root.fireRune = getCookie("database" + hoe, "iteem28");
_root.exploRune = getCookie("database" + hoe, "iteem29");
_root.timeRune = getCookie("database" + hoe, "iteem30");
_root.iceRune = getCookie("database" + hoe, "iteem31");
_root.windRune = getCookie("database" + hoe, "iteem32");
_root.hlevel = getCookie("database" + hoe, "iteem33");
_root.gotoAndPlay(6);
}
}
Symbol 293 Button
on (release) {
play();
}
Symbol 294 MovieClip Frame 29
stop();
Symbol 294 MovieClip Frame 46
_root.gotoAndStop(2);
Symbol 298 Button
on (release) {
if (_root.qual == "High") {
_root._quality = "MEDIUM";
_root.qual = "Medium";
} else if (_root.qual == "Medium") {
_root._quality = "LOW";
_root.qual = "Low";
} else if (_root.qual == "Low") {
_root._quality = "HIGH";
_root.qual = "High";
}
}
Symbol 300 Button
on (release) {
if (_root.modey == "Classic") {
_root.modey = "Drop";
_root.dragOn = 1;
_root.holdIt = 0;
} else if (_root.modey == "Drop") {
_root.modey = "Hold";
_root.dragOn = 0;
_root.holdIt = 1;
} else if (_root.modey == "Hold") {
_root.modey = "Classic";
_root.dragOn = 0;
_root.holdIt = 0;
}
}
Symbol 304 Button
on (release) {
_root.gotoAndStop(2);
}
Symbol 315 MovieClip Frame 1
backy = random(10) + 1;
switch (backy) {
case 1 :
break;
case 2 :
gotoAndStop (2);
break;
case 3 :
gotoAndStop (3);
break;
case 4 :
gotoAndStop (4);
break;
case 5 :
gotoAndStop (5);
break;
case 6 :
gotoAndStop (6);
break;
case 7 :
gotoAndStop (7);
break;
case 8 :
gotoAndStop (8);
break;
case 9 :
gotoAndStop (9);
break;
case 10 :
gotoAndStop (10);
}
stop();
Symbol 381 MovieClip Frame 62
this._visible = false;
this.stop();
Symbol 418 MovieClip Frame 15
tempo = random(_root.enemyOut) + 1;
choose = random(8) + 1;
switch (choose) {
case 1 :
_root["enemy" + tempo].life = _root["enemy" + tempo].life - (random(10) + 3);
break;
case 4 :
_root["enemy" + tempo].life = _root["enemy" + tempo].life - (random(9) + 12);
break;
case 6 :
_root["enemy" + tempo].life = _root["enemy" + tempo].life - (random(30) + 10);
break;
}
Symbol 418 MovieClip Frame 42
gotoAndPlay (1);
Symbol 452 MovieClip Frame 50
tempo = random(_root.enemyOut) + 1;
choose = random(8) + 1;
switch (choose) {
case 1 :
_root["enemy" + tempo].life = _root["enemy" + tempo].life - (random(4) + 2);
break;
case 4 :
_root["enemy" + tempo].life = _root["enemy" + tempo].life - (random(3) + 8);
break;
}
gotoAndPlay (1);
Symbol 475 MovieClip Frame 34
stop();
Symbol 485 MovieClip Frame 1
hp = (_parent._parent.life / _parent._parent.maxLife) * 100;
if (_parent._parent.life <= 0) {
_parent._parent.life = 0;
_parent.deaded = 1;
this.gotoAndStop(3);
_parent.gotoAndPlay("dead");
}
if (hp != 100) {
setProperty(bar2, _xscale , hp);
}
Symbol 485 MovieClip Frame 2
gotoAndPlay (1);
Symbol 531 MovieClip Frame 1
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Instance of Symbol 485 MovieClip "meny" in Symbol 531 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 531 MovieClip Frame 2
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 531 MovieClip Frame 3
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 531 MovieClip Frame 4
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 531 MovieClip Frame 5
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 531 MovieClip Frame 6
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 531 MovieClip Frame 7
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 531 MovieClip Frame 8
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 531 MovieClip Frame 9
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 531 MovieClip Frame 10
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 531 MovieClip Frame 11
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 531 MovieClip Frame 12
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 531 MovieClip Frame 13
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 531 MovieClip Frame 14
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 531 MovieClip Frame 15
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 531 MovieClip Frame 16
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 531 MovieClip Frame 17
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 531 MovieClip Frame 18
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 531 MovieClip Frame 19
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 531 MovieClip Frame 20
gotoAndPlay (1);
Symbol 531 MovieClip Frame 21
this.attack = 1;
Symbol 531 MovieClip Frame 38
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else {
_root.castleHp = _root.castleHp - (((random((2 + (_root.level * 1)) + _root.hlevel) + 3) + _root.level) - (_root.gotWall * random(4)));
}
Symbol 531 MovieClip Frame 45
if (!this.hitTest(_root.cast1)) {
this.attack = 0;
gotoAndPlay (1);
} else {
gotoAndPlay (21);
}
Symbol 531 MovieClip Frame 47
this.enabled = false;
_parent.enabled = false;
_parent.stopDrag();
this.stopDrag();
Symbol 531 MovieClip Frame 80
stop();
_root.enemyOut = _root.enemyOut - 1;
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
if (_root.enemyOut <= 0) {
_root.buyMenu._visible = true;
}
_parent.removeMovieClip();
Symbol 590 MovieClip Frame 1
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Instance of Symbol 485 MovieClip "meny" in Symbol 590 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 590 MovieClip Frame 2
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 3
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 4
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 5
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 6
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 7
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 8
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 9
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 10
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 11
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 12
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 13
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 14
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 15
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 16
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 17
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 18
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 19
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 20
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 21
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 22
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 23
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 24
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 25
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 26
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 27
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 28
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 29
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 30
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 31
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 32
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 33
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 34
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 35
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 36
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 37
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 38
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 39
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 40
gotoAndPlay (1);
Symbol 590 MovieClip Frame 41
this.attack = 1;
Symbol 590 MovieClip Frame 78
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else {
_root.castleHp = _root.castleHp - (1 + random((4 + _root.level) + _root.hlevel));
}
Symbol 590 MovieClip Frame 92
if (!this.hitTest(_root.cast1)) {
this.attack = 0;
gotoAndPlay (1);
} else {
gotoAndPlay (41);
}
Symbol 590 MovieClip Frame 94
this.enabled = false;
_parent.enabled = false;
Symbol 590 MovieClip Frame 137
stop();
_root.enemyOut = _root.enemyOut - 1;
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
if (_root.enemyOut <= 0) {
_root.buyMenu._visible = true;
}
_parent.removeMovieClip();
Symbol 656 MovieClip Frame 1
if (this.hitTest(_root.cast1)) {
gotoAndPlay (11);
}
Instance of Symbol 485 MovieClip "meny" in Symbol 656 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 656 MovieClip Frame 2
if (this.hitTest(_root.cast1)) {
gotoAndPlay (11);
}
Symbol 656 MovieClip Frame 3
if (this.hitTest(_root.cast1)) {
gotoAndPlay (11);
}
Symbol 656 MovieClip Frame 4
if (this.hitTest(_root.cast1)) {
gotoAndPlay (11);
}
Symbol 656 MovieClip Frame 5
if (this.hitTest(_root.cast1)) {
gotoAndPlay (11);
}
Symbol 656 MovieClip Frame 6
if (this.hitTest(_root.cast1)) {
gotoAndPlay (11);
}
Symbol 656 MovieClip Frame 7
if (this.hitTest(_root.cast1)) {
gotoAndPlay (11);
}
Symbol 656 MovieClip Frame 8
if (this.hitTest(_root.cast1)) {
gotoAndPlay (11);
}
Symbol 656 MovieClip Frame 9
if (this.hitTest(_root.cast1)) {
gotoAndPlay (11);
}
Symbol 656 MovieClip Frame 10
gotoAndPlay (1);
Symbol 656 MovieClip Frame 11
this.attack = 1;
Symbol 656 MovieClip Frame 35
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else {
_root.castleHp = _root.castleHp - ((5 + random((_root.level + 4) + _root.hlevel)) - (_root.gotWall * random(4)));
}
Symbol 656 MovieClip Frame 50
if (!this.hitTest(_root.cast1)) {
this.attack = 0;
gotoAndPlay (1);
} else {
gotoAndPlay (11);
}
Symbol 656 MovieClip Frame 51
this.enabled = false;
_parent.enabled = false;
Symbol 656 MovieClip Frame 90
_root.enemyOut = _root.enemyOut - 1;
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
if (_root.enemyOut <= 0) {
_root.buyMenu._visible = true;
}
_parent.removeMovieClip();
stop();
Symbol 697 MovieClip Frame 1
if (this.hitTest(_root.cast1)) {
gotoAndPlay (3);
}
Instance of Symbol 485 MovieClip "meny" in Symbol 697 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 697 MovieClip Frame 2
gotoAndPlay (1);
Symbol 697 MovieClip Frame 3
this.attack = 1;
Symbol 697 MovieClip Frame 33
_root.castleHp = _root.castleHp - ((10 + random((_root.level + 4) + _root.hlevel)) - (_root.gotWall * random(4)));
Symbol 697 MovieClip Frame 43
if (!this.hitTest(_root.cast1)) {
this.attack = 0;
gotoAndPlay (1);
} else {
gotoAndPlay (3);
}
Symbol 697 MovieClip Frame 44
this.enabled = false;
_parent.enabled = false;
Symbol 697 MovieClip Frame 56
stop();
_root.enemyOut = _root.enemyOut - 1;
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
if (_root.enemyOut == 0) {
_root.buyMenu._visible = true;
}
_parent.removeMovieClip();
Symbol 727 MovieClip Frame 1
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Instance of Symbol 485 MovieClip "meny" in Symbol 727 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 727 MovieClip Frame 2
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 727 MovieClip Frame 3
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 727 MovieClip Frame 4
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 727 MovieClip Frame 5
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 727 MovieClip Frame 6
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 727 MovieClip Frame 7
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 727 MovieClip Frame 8
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 727 MovieClip Frame 9
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 727 MovieClip Frame 10
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 727 MovieClip Frame 11
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 727 MovieClip Frame 12
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 727 MovieClip Frame 13
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 727 MovieClip Frame 14
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 727 MovieClip Frame 15
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 727 MovieClip Frame 16
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 727 MovieClip Frame 17
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 727 MovieClip Frame 18
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 727 MovieClip Frame 19
if (this.hitTest(_root.cast1)) {
gotoAndPlay (21);
}
Symbol 727 MovieClip Frame 20
gotoAndPlay (1);
Symbol 727 MovieClip Frame 21
this.attack = 1;
Symbol 727 MovieClip Frame 37
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else {
_root.castleHp = _root.castleHp - ((5 + random((_root.level + 4) + _root.hlevel)) - (_root.gotWall * random(4)));
}
Symbol 727 MovieClip Frame 45
gotoAndPlay (1);
Symbol 727 MovieClip Frame 46
this.enabled = false;
_parent.enabled = false;
Symbol 727 MovieClip Frame 79
_root.enemyOut = _root.enemyOut - 1;
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
if (_root.enemyOut <= 0) {
_root.buyMenu._visible = true;
}
_parent.removeMovieClip();
stop();
Symbol 772 MovieClip Frame 1
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (22);
}
Instance of Symbol 485 MovieClip "meny" in Symbol 772 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 772 MovieClip Frame 2
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (22);
}
Symbol 772 MovieClip Frame 3
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (22);
}
Symbol 772 MovieClip Frame 4
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (22);
}
Symbol 772 MovieClip Frame 5
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (22);
}
Symbol 772 MovieClip Frame 6
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (22);
}
Symbol 772 MovieClip Frame 7
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (22);
}
Symbol 772 MovieClip Frame 8
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (22);
}
if (!this.hitTest(_root.enemy)) {
randomAttack = random(10) + 1;
}
Symbol 772 MovieClip Frame 9
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (22);
}
Symbol 772 MovieClip Frame 10
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (22);
}
Symbol 772 MovieClip Frame 11
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (22);
}
Symbol 772 MovieClip Frame 12
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (22);
}
Symbol 772 MovieClip Frame 13
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (22);
}
Symbol 772 MovieClip Frame 14
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (22);
}
Symbol 772 MovieClip Frame 15
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (22);
}
Symbol 772 MovieClip Frame 16
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (22);
}
Symbol 772 MovieClip Frame 17
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (22);
}
Symbol 772 MovieClip Frame 18
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (22);
}
Symbol 772 MovieClip Frame 19
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (22);
}
Symbol 772 MovieClip Frame 20
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (22);
}
Symbol 772 MovieClip Frame 21
gotoAndPlay (1);
Symbol 772 MovieClip Frame 22
this.attack = 1;
Symbol 772 MovieClip Frame 37
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else if (this.shocking <= 0) {
_root.castleHp = _root.castleHp - ((5 + random((_root.level + 4) + _root.hlevel)) - (_root.gotWall * random(4)));
}
Symbol 772 MovieClip Frame 63
if (randomAttack == 1) {
randomAttack = 0;
this.attack = 0;
}
gotoAndPlay (1);
Symbol 772 MovieClip Frame 64
this.enabled = false;
_parent.enabled = false;
Symbol 772 MovieClip Frame 99
_root.enemyOut = _root.enemyOut - 1;
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
if (_root.enemyOut <= 0) {
_root.buyMenu._visible = true;
}
_parent.removeMovieClip();
stop();
Symbol 827 MovieClip Frame 1
if (this.hitTest(_root.cast1)) {
gotoAndPlay (11);
}
Instance of Symbol 485 MovieClip "meny" in Symbol 827 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 827 MovieClip Frame 2
if (this.hitTest(_root.cast1)) {
gotoAndPlay (11);
}
Symbol 827 MovieClip Frame 3
if (this.hitTest(_root.cast1)) {
gotoAndPlay (11);
}
Symbol 827 MovieClip Frame 4
if (this.hitTest(_root.cast1)) {
gotoAndPlay (11);
}
Symbol 827 MovieClip Frame 5
if (this.hitTest(_root.cast1)) {
gotoAndPlay (11);
}
Symbol 827 MovieClip Frame 6
if (this.hitTest(_root.cast1)) {
gotoAndPlay (11);
}
Symbol 827 MovieClip Frame 7
if (this.hitTest(_root.cast1)) {
gotoAndPlay (11);
}
Symbol 827 MovieClip Frame 8
if (this.hitTest(_root.cast1)) {
gotoAndPlay (11);
}
Symbol 827 MovieClip Frame 9
if (this.hitTest(_root.cast1)) {
gotoAndPlay (11);
}
Symbol 827 MovieClip Frame 10
gotoAndPlay (1);
Symbol 827 MovieClip Frame 11
this.attack = 1;
Symbol 827 MovieClip Frame 21
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else {
_root.castleHp = _root.castleHp - ((5 + random((_root.level + 4) + _root.hlevel)) - (_root.gotWall * random(4)));
}
Symbol 827 MovieClip Frame 30
gotoAndPlay (1);
Symbol 827 MovieClip Frame 31
this.enabled = false;
_parent.enabled = false;
Symbol 827 MovieClip Frame 65
_root.enemyOut = _root.enemyOut - 1;
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
if (_root.enemyOut <= 0) {
_root.buyMenu._visible = true;
}
_parent.removeMovieClip();
stop();
Symbol 841 MovieClip Frame 15
stop();
Symbol 862 MovieClip Frame 1
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Instance of Symbol 485 MovieClip "meny" in Symbol 862 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 862 MovieClip Frame 2
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 3
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 4
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 5
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 6
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 7
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 8
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 9
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 10
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 11
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 12
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 13
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 14
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 15
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 16
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 17
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 18
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 19
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 20
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 21
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 22
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 23
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 24
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 25
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 26
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 27
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 28
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 29
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 30
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 31
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 32
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 33
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 34
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 35
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 36
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 37
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 38
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 39
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 40
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 41
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 42
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 43
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 44
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 45
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 46
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 47
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 48
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 49
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 50
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 51
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 52
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 53
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 54
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 55
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 56
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 57
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 58
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 59
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 60
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 61
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 62
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 63
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 64
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 65
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 66
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 67
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 68
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 69
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 70
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 71
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 72
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 73
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 74
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 75
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 76
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 77
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 78
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 79
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 80
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 81
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 82
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 83
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 84
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 85
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 86
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 87
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 88
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 89
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 90
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 91
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 92
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 93
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 94
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 95
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 96
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 97
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 98
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 99
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 100
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 101
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 102
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 103
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 104
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 105
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 106
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 107
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 108
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 109
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 110
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 111
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 112
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 113
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 114
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 115
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 116
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 117
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 118
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 119
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 120
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 121
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 122
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 123
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 124
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 125
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 126
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 127
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 128
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 129
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 130
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 131
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 132
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 133
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 134
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 135
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 136
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 137
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 138
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 139
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 140
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 141
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 142
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 143
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 144
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 145
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 146
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 862 MovieClip Frame 147
gotoAndPlay (1);
Symbol 862 MovieClip Frame 148
this.attack = 1;
Symbol 862 MovieClip Frame 179
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else {
_root.castleHp = _root.castleHp - ((5 + random((_root.level + 4) + _root.hlevel)) - (_root.gotWall * random(4)));
}
Symbol 862 MovieClip Frame 207
if (!this.hitTest(_root.cast1)) {
this.attack = 0;
gotoAndPlay (1);
} else {
gotoAndPlay (3);
}
Symbol 862 MovieClip Frame 208
this.enabled = false;
_parent.enabled = false;
Symbol 862 MovieClip Frame 283
stop();
_root.enemyOut = _root.enemyOut - 1;
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
if (_root.enemyOut == 0) {
_root.buyMenu._visible = true;
}
_parent.removeMovieClip();
Symbol 889 MovieClip Frame 1
if (this.hitTest(_root.cast1)) {
gotoAndPlay (3);
}
Instance of Symbol 485 MovieClip "meny" in Symbol 889 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 889 MovieClip Frame 2
gotoAndPlay (1);
Symbol 889 MovieClip Frame 3
this.attack = 1;
Symbol 889 MovieClip Frame 29
_root.castleHp = _root.castleHp - ((17 + random((_root.level + 12) + _root.hlevel)) - (_root.gotWall * random(4)));
Symbol 889 MovieClip Frame 72
gotoAndPlay (1);
Symbol 889 MovieClip Frame 104
stop();
_root.enemyOut = _root.enemyOut - 1;
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
if (_root.enemyOut == 0) {
_root.buyMenu._visible = true;
}
_parent.removeMovieClip();
Instance of Symbol 531 MovieClip "eno" in Symbol 890 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
shocking = 0;
if (_root.level >= 5) {
if ((random(_root.level) + 1) == (_root.level / 5)) {
_parent.bossIt = 2;
heighto = random(30) + 30;
widtho = random(20) + 19;
this._height = this._height + heighto;
this._width = this._width + widtho;
this._y = this._y - (heighto / 1.1);
} else {
_parent.bossIt = 1;
}
} else {
_parent.bossIt = 1;
}
_parent.life = (((random((2 + _root.level) + _root.hlevel) + 3) + (_root.level / 2)) + _root.hlevel) * _parent.bossIt;
_parent.maxLife = _parent.life;
moof = 0;
acc = 0;
speed = (random((2 + _root.moSpeed) + (_root.hlevel * 0.3)) + 1) + (_root.moSpeed * random(2));
if (speed >= 6.5) {
speed = 6.5;
}
}
on (release, releaseOutside) {
_parent.stopDrag();
holdinHel = 0;
this.stopoMove = 1;
if ((dragin == 1) && (!_parent.hitTest(_root.ground))) {
if (_parent._y < 100) {
if (_parent.bossIt == 1) {
fallDead = 1;
} else {
fallHealth = 1;
}
} else if (_parent._y >= 100) {
fallHealth = 1;
}
dragin = 0;
fallo = 1;
}
}
on (press) {
if (_root.dragOn == 1) {
startDrag (_parent);
this.stopoMove = 1;
dragin = 1;
}
if (_root.holdIt == 1) {
holdinHel = 1;
}
if (((_parent.die != 1) && (_root.holdIt != 1)) && (_root.dragOn != 1)) {
_parent.life = _parent.life - (2 + _root.cursyStr);
if (_parent.life <= 0) {
_parent.life = 0;
_parent.die = 1;
this.gotoAndPlay("dead");
}
}
}
onClipEvent (enterFrame) {
if (holdinHel == 1) {
_parent.life = _parent.life - (0.6 + (_root.cursyStr * 0.7));
}
}
onClipEvent (enterFrame) {
if ((dragin == 1) && (!_parent.hitTest(_root.ground))) {
this.stopoMove = 1;
} else if ((fallo == 1) && (!_parent.hitTest(_root.ground))) {
_parent._y = _parent._y + (3 + acc);
acc = acc + 0.9;
} else if (fallDead == 1) {
_parent.life = 0;
} else if (fallHealth == 1) {
fallHealth = 0;
_parent.life = _parent.life - (6 + _root.cursyStr);
} else {
this.stopoMove = 0;
fallo = 0;
acc = 0;
}
}
onClipEvent (enterFrame) {
if (_parent.activate != 1) {
this._visible = false;
}
if (((_parent.activate == 1) && (this.stopoMove != 1)) && (this.deaded != 1)) {
if (_parent.die != 1) {
if ((_parent.die == 1) && (this.deaded != 1)) {
this.deaded = 1;
this.gotoAndPlay(26);
} else if ((((this.attack != 1) && (this.attacked != 1)) && (_parent.die != 1)) && (_root.timeStop <= 0)) {
this._x = this._x - (speed - _root.slowTime);
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.meteorM)) {
rah = random(2) + 1;
if (rah != 1) {
_parent.life = _parent.life - (random(10) + 8);
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.instakilla)) {
lala = random(3) + 1;
if ((lala == 1) || (lala == 3)) {
} else {
_parent.life = _parent.life - (random(30) + 10);
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - 0.35;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - 0.2;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonsword)) {
dah = random(3) + 1;
switch (dah) {
case 1 :
break;
default :
_parent.life = _parent.life - 0.5;
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.nukeN)) {
_parent.life = _parent.life - 50000;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bigR) && (this.gotHito != 1)) {
this.gotHito = 1;
_parent.life = _parent.life - (_parent.life / 2);
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.poised == 1) {
_parent.life = _parent.life - 0.02;
} else if (this.hitTest(_root.fogF)) {
this.poised = 1;
_parent.life = _parent.life - 0.02;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.flame_ball)) {
_parent.life = _parent.life - (random(10) + 10);
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - 30;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.shockwavey)) {
_parent.life = _parent.life - 0.4;
if (_parent.life <= 0) {
_parent.die = 1;
}
this.attack = 1;
timer = timer + 20;
} else if (timer >= 0) {
if (timer == 0) {
this.attack = 0;
}
timer = timer - 1;
}
}
onClipEvent (enterFrame) {
if (_root.timeStop > 0) {
_root.timeStop = _root.timeStop - 0.4;
}
}
Instance of Symbol 590 MovieClip in Symbol 890 MovieClip Frame 2
onClipEvent (load) {
timer = 0;
shocking = 0;
if (_root.level >= 5) {
if ((random(_root.level) + 1) == (_root.level / 5)) {
_parent.bossIt = 2;
heighto = random(30) + 30;
widtho = random(20) + 19;
this._height = this._height + heighto;
this._width = this._width + widtho;
this._y = this._y - (heighto / 3.2);
} else {
_parent.bossIt = 1;
}
} else {
_parent.bossIt = 1;
}
acc = 0;
moof = 0;
_parent.life = (((random((3 + _root.level) + _root.hlevel) + 4) + _root.level) + _root.hlevel) * _parent.bossIt;
_parent.maxLife = _parent.life;
speed = (random((2 + _root.moSpeed) + (_root.hlevel * 0.3)) + 1) + (_root.moSpeed * random(2));
if (speed >= 6.5) {
speed = 6.5;
}
}
on (release, releaseOutside) {
_parent.stopDrag();
holdinHel = 0;
this.stopoMove = 1;
if ((dragin == 1) && (!_parent.hitTest(_root.ground))) {
if (_parent._y < 100) {
if (_parent.bossIt == 1) {
fallDead = 1;
} else {
fallHealth = 1;
}
} else if (_parent._y >= 100) {
fallHealth = 1;
}
dragin = 0;
fallo = 1;
}
}
on (press) {
if (_root.dragOn == 1) {
startDrag (_parent);
this.stopoMove = 1;
dragin = 1;
}
if (_root.holdIt == 1) {
holdinHel = 1;
}
if (((_parent.die != 1) && (_root.holdIt != 1)) && (_root.dragOn != 1)) {
_parent.life = _parent.life - (2 + _root.cursyStr);
if (_parent.life <= 0) {
_parent.life = 0;
_parent.die = 1;
this.gotoAndPlay("dead");
}
}
}
onClipEvent (enterFrame) {
if (holdinHel == 1) {
_parent.life = _parent.life - (0.6 + (_root.cursyStr * 0.7));
}
}
onClipEvent (enterFrame) {
if ((dragin == 1) && (!_parent.hitTest(_root.ground))) {
this.stopoMove = 1;
} else if ((fallo == 1) && (!_parent.hitTest(_root.ground))) {
_parent._y = _parent._y + (3 + acc);
acc = acc + 0.9;
} else if (fallDead == 1) {
_parent.life = 0;
} else if (fallHealth == 1) {
fallHealth = 0;
_parent.life = _parent.life - 6;
} else {
this.stopoMove = 0;
fallo = 0;
acc = 0;
}
}
onClipEvent (enterFrame) {
if (((_parent.activate == 1) && (this.stopoMove != 1)) && (this.deaded != 1)) {
if (_parent.die != 1) {
if ((_parent.die == 1) && (this.deaded != 1)) {
this.deaded = 1;
this.gotoAndPlay(93);
} else if ((((this.attack != 1) && (this.attacked != 1)) && (_parent.die != 1)) && (_root.timeStop <= 0)) {
this._x = this._x - (speed - _root.slowTime);
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.meteorM)) {
rah = random(2) + 1;
if (rah != 1) {
_parent.life = _parent.life - (random(10) + 8);
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.instakilla)) {
lala = random(3) + 1;
if ((lala == 1) || (lala == 3)) {
} else {
_parent.life = _parent.life - (random(30) + 10);
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - 0.5;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - 0.6;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonsword)) {
dah = random(3) + 1;
switch (dah) {
case 1 :
break;
default :
_parent.life = _parent.life - 0.4;
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.nukeN)) {
_parent.life = _parent.life - 50000;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bigR) && (this.gotHito != 1)) {
this.gotHito = 1;
_parent.life = _parent.life - (_parent.life / 2);
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.poised == 1) {
_parent.life = _parent.life - 0.15;
} else if (this.hitTest(_root.fogF)) {
this.poised = 1;
_parent.life = _parent.life - 0.08;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.flame_ball)) {
_parent.life = _parent.life - (random(3) + 4);
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - 30;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.shockwavey)) {
_parent.life = _parent.life - 0.6;
if (_parent.life <= 0) {
_parent.die = 1;
}
this.attack = 1;
timer = timer + 20;
} else if (timer >= 0) {
if (timer == 0) {
this.attack = 0;
}
timer = timer - 1;
}
}
onClipEvent (enterFrame) {
if (_root.timeStop > 0) {
_root.timeStop = _root.timeStop - 0.4;
}
}
Instance of Symbol 656 MovieClip in Symbol 890 MovieClip Frame 3
onClipEvent (load) {
timer = 0;
shocking = 0;
if (_root.level >= 5) {
if ((random(_root.level) + 1) == (_root.level / 5)) {
_parent.bossIt = 2;
heighto = random(30) + 30;
widtho = random(20) + 19;
this._height = this._height + heighto;
this._width = this._width + widtho;
this._y = this._y - (heighto / 1.5);
} else {
_parent.bossIt = 1;
}
} else {
_parent.bossIt = 1;
}
moof = 0;
_parent.life = (((random((3 + _root.level) + _root.hlevel) + 4) + (_root.level / 2)) + _root.hlevel) * _parent.bossIt;
_parent.maxLife = _parent.life;
acc = 0;
speed = (random((1 + _root.moSpeed) + (_root.hlevel * 0.3)) + 1) + (_root.moSpeed * random(2));
if (speed >= 6.5) {
speed = 6.5;
}
}
on (release, releaseOutside) {
_parent.stopDrag();
holdinHel = 0;
this.stopoMove = 1;
if ((dragin == 1) && (!_parent.hitTest(_root.ground))) {
if (_parent._y < 100) {
if (_parent.bossIt == 1) {
fallDead = 1;
} else {
fallHealth = 1;
}
} else if (_parent._y >= 100) {
fallHealth = 1;
}
dragin = 0;
fallo = 1;
}
}
on (press) {
if (_root.dragOn == 1) {
startDrag (_parent);
this.stopoMove = 1;
dragin = 1;
}
if (_root.holdIt == 1) {
holdinHel = 1;
}
if (((_parent.die != 1) && (_root.holdIt != 1)) && (_root.dragOn != 1)) {
_parent.life = _parent.life - (2 + _root.cursyStr);
if (_parent.life <= 0) {
_parent.life = 0;
_parent.die = 1;
this.gotoAndPlay("dead");
}
}
}
onClipEvent (enterFrame) {
if (holdinHel == 1) {
_parent.life = _parent.life - (0.6 + (_root.cursyStr * 0.7));
}
}
onClipEvent (enterFrame) {
if ((dragin == 1) && (!_parent.hitTest(_root.ground))) {
this.stopoMove = 1;
} else if ((fallo == 1) && (!_parent.hitTest(_root.ground))) {
_parent._y = _parent._y + (3 + acc);
acc = acc + 0.9;
} else if (fallDead == 1) {
_parent.life = 0;
} else if (fallHealth == 1) {
fallHealth = 0;
_parent.life = _parent.life - 6;
} else {
this.stopoMove = 0;
fallo = 0;
acc = 0;
}
}
onClipEvent (enterFrame) {
if (((_parent.activate == 1) && (this.stopoMove != 1)) && (this.deaded != 1)) {
if (_parent.die != 1) {
if ((_parent.die == 1) && (this.deaded != 1)) {
this.deaded = 1;
this.gotoAndPlay(26);
} else if ((((this.attack != 1) && (this.attacked != 1)) && (_parent.die != 1)) && (_root.timeStop <= 0)) {
this._x = this._x - (speed - _root.slowTime);
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.meteorM)) {
rah = random(2) + 1;
if (rah != 1) {
_parent.life = _parent.life - (random(1) + 1);
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.instakilla)) {
lala = random(3) + 1;
if ((lala == 1) || (lala == 3)) {
} else {
_parent.life = _parent.life - (random(30) + 10);
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - 0.3;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - 0.3;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonsword)) {
dah = random(3) + 1;
switch (dah) {
case 1 :
break;
default :
_parent.life = _parent.life - 0.7;
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.nukeN)) {
_parent.life = _parent.life - (random(20) + 20);
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bigR) && (this.gotHito != 1)) {
this.gotHito = 1;
_parent.life = _parent.life - (_parent.life / 3);
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.poised == 1) {
_parent.life = _parent.life - 0.09;
} else if (this.hitTest(_root.fogF)) {
this.poised = 1;
_parent.life = _parent.life - 0.1;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.flame_ball)) {
_parent.life = _parent.life - (random(10) + 10);
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - 15;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.shockwavey)) {
_parent.life = _parent.life - 0.8;
if (_parent.life <= 0) {
_parent.die = 1;
}
this.attack = 1;
timer = timer + 20;
} else if (timer >= 0) {
if (timer == 0) {
this.attack = 0;
}
timer = timer - 1;
}
}
onClipEvent (enterFrame) {
if (_root.timeStop > 0) {
_root.timeStop = _root.timeStop - 0.4;
}
}
Symbol 890 MovieClip Frame 4
life = (random((6 + _root.level) + _root.hlevel) + 7) + _root.level;
maxLife = this.life;
Instance of Symbol 697 MovieClip in Symbol 890 MovieClip Frame 4
onClipEvent (load) {
timer = 0;
shocking = 0;
moof = 0;
acc = 0;
speed = (random((1 + _root.moSpeed) + (_root.hlevel * 0.3)) + 1) + (_root.moSpeed * random(2));
if (speed >= 6.5) {
speed = 6.5;
}
}
on (release, releaseOutside) {
_parent.stopDrag();
holdinHel = 0;
this.stopoMove = 1;
if ((dragin == 1) && (!_parent.hitTest(_root.ground))) {
if (_parent._y < 100) {
fallDead = 1;
} else if (_parent._y >= 100) {
fallHealth = 1;
}
dragin = 0;
fallo = 1;
}
}
on (press) {
if (_root.dragOn == 1) {
startDrag (_parent);
this.stopoMove = 1;
dragin = 1;
}
if (_root.holdIt == 1) {
holdinHel = 1;
}
if (((_parent.die != 1) && (_root.holdIt != 1)) && (_root.dragOn != 1)) {
_parent.life = _parent.life - (2 + _root.cursyStr);
if (_parent.life <= 0) {
_parent.life = 0;
_parent.die = 1;
this.gotoAndPlay("dead");
}
}
}
onClipEvent (enterFrame) {
if (holdinHel == 1) {
_parent.life = _parent.life - (0.6 + (_root.cursyStr * 0.7));
}
}
onClipEvent (enterFrame) {
if ((dragin == 1) && (!_parent.hitTest(_root.ground))) {
this.stopoMove = 1;
} else if ((fallo == 1) && (!_parent.hitTest(_root.ground))) {
_parent._y = _parent._y + (3 + acc);
acc = acc + 0.9;
} else if (fallDead == 1) {
_parent.life = 0;
} else if (fallHealth == 1) {
fallHealth = 0;
_parent.life = _parent.life - 6;
} else {
this.stopoMove = 0;
fallo = 0;
acc = 0;
}
}
onClipEvent (enterFrame) {
if (((_parent.activate == 1) && (this.stopoMove != 1)) && (this.deaded != 1)) {
if (_parent.die != 1) {
if ((_parent.die == 1) && (this.deaded != 1)) {
this.deaded = 1;
this.gotoAndPlay(26);
} else if ((((this.attack != 1) && (this.attacked != 1)) && (_parent.die != 1)) && (_root.timeStop <= 0)) {
this._x = this._x - (speed - _root.slowTime);
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.meteorM)) {
rah = random(2) + 1;
if (rah != 1) {
_parent.life = _parent.life - (random(2) + 4);
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.instakilla)) {
lala = random(3) + 1;
if ((lala == 1) || (lala == 3)) {
} else {
_parent.life = _parent.life - (random(10) + 5);
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - 0.05;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - 0.05;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonsword)) {
dah = random(3) + 1;
switch (dah) {
case 1 :
break;
default :
_parent.life = _parent.life - 0.07;
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.nukeN)) {
_parent.life = _parent.life - 50000;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bigR) && (this.gotHito != 1)) {
this.gotHito = 1;
_parent.life = _parent.life - (_parent.life / 2);
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.poised == 1) {
_parent.life = _parent.life - 0.02;
} else if (this.hitTest(_root.fogF)) {
this.poised = 1;
_parent.life = _parent.life - 0.02;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.flame_ball)) {
_parent.life = _parent.life - (random(4) + 2);
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - 39;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.shockwavey)) {
_parent.life = _parent.life - 0.3;
if (_parent.life <= 0) {
_parent.die = 1;
}
this.attack = 1;
timer = timer + 20;
} else if (timer >= 0) {
if (timer == 0) {
this.attack = 0;
}
timer = timer - 1;
}
}
onClipEvent (enterFrame) {
if (_root.timeStop > 0) {
_root.timeStop = _root.timeStop - 0.4;
}
}
Instance of Symbol 727 MovieClip in Symbol 890 MovieClip Frame 5
onClipEvent (load) {
timer = 0;
shocking = 0;
if (_root.level >= 5) {
if ((random(_root.level) + 1) == (_root.level / 5)) {
_parent.bossIt = 2;
heighto = random(30) + 30;
widtho = random(20) + 19;
this._height = this._height + heighto;
this._width = this._width + widtho;
this._y = this._y - (heighto / 1.1);
} else {
_parent.bossIt = 1;
}
} else {
_parent.bossIt = 1;
}
_parent.life = (((random((2 + _root.level) + _root.hlevel) + 3) + (_root.level / 2)) + _root.hlevel) * _parent.bossIt;
_parent.maxLife = _parent.life;
moof = 0;
acc = 0;
speed = (random((2 + _root.moSpeed) + (_root.hlevel * 0.3)) + 1) + (_root.moSpeed * random(2));
if (speed >= 6.5) {
speed = 6.5;
}
}
on (release, releaseOutside) {
_parent.stopDrag();
holdinHel = 0;
this.stopoMove = 1;
if ((dragin == 1) && (!_parent.hitTest(_root.ground))) {
if (_parent._y < 100) {
if (_parent.bossIt == 1) {
fallDead = 1;
} else {
fallHealth = 1;
}
} else if (_parent._y >= 100) {
fallHealth = 1;
}
dragin = 0;
fallo = 1;
}
}
on (press) {
if (_root.dragOn == 1) {
startDrag (_parent);
this.stopoMove = 1;
dragin = 1;
}
if (_root.holdIt == 1) {
holdinHel = 1;
}
if (((_parent.die != 1) && (_root.holdIt != 1)) && (_root.dragOn != 1)) {
_parent.life = _parent.life - (2 + _root.cursyStr);
if (_parent.life <= 0) {
_parent.life = 0;
_parent.die = 1;
this.gotoAndPlay("dead");
}
}
}
onClipEvent (enterFrame) {
if (holdinHel == 1) {
_parent.life = _parent.life - (0.6 + (_root.cursyStr * 0.7));
}
}
onClipEvent (enterFrame) {
if ((dragin == 1) && (!_parent.hitTest(_root.ground))) {
this.stopoMove = 1;
} else if ((fallo == 1) && (!_parent.hitTest(_root.ground))) {
_parent._y = _parent._y + (3 + acc);
acc = acc + 0.9;
} else if (fallDead == 1) {
_parent.life = 0;
} else if (fallHealth == 1) {
fallHealth = 0;
_parent.life = _parent.life - (6 + _root.cursyStr);
} else {
this.stopoMove = 0;
fallo = 0;
acc = 0;
}
}
onClipEvent (enterFrame) {
if (_parent.activate != 1) {
this._visible = false;
}
if (((_parent.activate == 1) && (this.stopoMove != 1)) && (this.deaded != 1)) {
if (_parent.die != 1) {
if ((_parent.die == 1) && (this.deaded != 1)) {
this.deaded = 1;
this.gotoAndPlay(26);
} else if ((((this.attack != 1) && (this.attacked != 1)) && (_parent.die != 1)) && (_root.timeStop <= 0)) {
this._x = this._x - (speed - _root.slowTime);
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.meteorM)) {
rah = random(2) + 1;
if (rah != 1) {
_parent.life = _parent.life - (random(10) + 8);
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.instakilla)) {
lala = random(3) + 1;
if ((lala == 1) || (lala == 3)) {
} else {
_parent.life = _parent.life - (random(30) + 10);
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - 0.35;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - 0.2;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonsword)) {
dah = random(3) + 1;
switch (dah) {
case 1 :
break;
default :
_parent.life = _parent.life - 0.5;
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.nukeN)) {
_parent.life = _parent.life - 50000;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bigR) && (this.gotHito != 1)) {
this.gotHito = 1;
_parent.life = _parent.life - (_parent.life / 2);
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.poised == 1) {
_parent.life = _parent.life - 0.02;
} else if (this.hitTest(_root.fogF)) {
this.poised = 1;
_parent.life = _parent.life - 0.02;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.flame_ball)) {
_parent.life = _parent.life - (random(10) + 10);
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - 30;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.shockwavey)) {
_parent.life = _parent.life - 0.7;
if (_parent.life <= 0) {
_parent.die = 1;
}
this.attack = 1;
timer = timer + 20;
} else if (timer >= 0) {
if (timer == 0) {
this.attack = 0;
}
timer = timer - 1;
}
}
onClipEvent (enterFrame) {
if (_root.timeStop > 0) {
_root.timeStop = _root.timeStop - 0.4;
}
}
Instance of Symbol 772 MovieClip in Symbol 890 MovieClip Frame 6
onClipEvent (load) {
timer = 0;
shocking = 0;
if (_root.level >= 5) {
if ((random(_root.level) + 1) == (_root.level / 5)) {
_parent.bossIt = 2;
heighto = random(30) + 30;
widtho = random(20) + 19;
this._height = this._height + heighto;
this._width = this._width + widtho;
this._y = this._y - (heighto / 1.1);
} else {
_parent.bossIt = 1;
}
} else {
_parent.bossIt = 1;
}
_parent.life = (((random((2 + _root.level) + _root.hlevel) + 3) + (_root.level / 2)) + _root.hlevel) * _parent.bossIt;
_parent.maxLife = _parent.life;
moof = 0;
acc = 0;
speed = (random((2 + _root.moSpeed) + (_root.hlevel * 0.3)) + 1) + (_root.moSpeed * random(2));
if (speed >= 6.5) {
speed = 6.5;
}
}
on (release, releaseOutside) {
_parent.stopDrag();
holdinHel = 0;
this.stopoMove = 1;
if ((dragin == 1) && (!_parent.hitTest(_root.ground))) {
if (_parent._y < 100) {
if (_parent.bossIt == 1) {
fallDead = 1;
} else {
fallHealth = 1;
}
} else if (_parent._y >= 100) {
fallHealth = 1;
}
dragin = 0;
fallo = 1;
}
}
on (press) {
if (_root.dragOn == 1) {
startDrag (_parent);
this.stopoMove = 1;
dragin = 1;
}
if (_root.holdIt == 1) {
holdinHel = 1;
}
if (((_parent.die != 1) && (_root.holdIt != 1)) && (_root.dragOn != 1)) {
_parent.life = _parent.life - (2 + _root.cursyStr);
if (_parent.life <= 0) {
_parent.life = 0;
_parent.die = 1;
this.gotoAndPlay("dead");
}
}
}
onClipEvent (enterFrame) {
if (holdinHel == 1) {
_parent.life = _parent.life - (0.6 + (_root.cursyStr * 0.7));
}
}
onClipEvent (enterFrame) {
if ((dragin == 1) && (!_parent.hitTest(_root.ground))) {
this.stopoMove = 1;
} else if ((fallo == 1) && (!_parent.hitTest(_root.ground))) {
_parent._y = _parent._y + (3 + acc);
acc = acc + 0.9;
} else if (fallDead == 1) {
_parent.life = 0;
} else if (fallHealth == 1) {
fallHealth = 0;
_parent.life = _parent.life - (6 + _root.cursyStr);
} else {
this.stopoMove = 0;
fallo = 0;
acc = 0;
}
}
onClipEvent (enterFrame) {
if (_parent.activate != 1) {
this._visible = false;
}
if (((_parent.activate == 1) && (this.stopoMove != 1)) && (this.deaded != 1)) {
if (_parent.die != 1) {
if ((_parent.die == 1) && (this.deaded != 1)) {
this.deaded = 1;
this.gotoAndPlay(26);
} else if ((((this.attack != 1) && (this.attacked != 1)) && (_parent.die != 1)) && (_root.timeStop <= 0)) {
this._x = this._x - (speed - _root.slowTime);
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.meteorM)) {
rah = random(2) + 1;
if (rah != 1) {
_parent.life = _parent.life - (random(10) + 8);
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.instakilla)) {
lala = random(3) + 1;
if ((lala == 1) || (lala == 3)) {
} else {
_parent.life = _parent.life - (random(30) + 10);
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - 0.35;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - 0.2;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonsword)) {
dah = random(3) + 1;
switch (dah) {
case 1 :
break;
default :
_parent.life = _parent.life - 0.5;
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.nukeN)) {
_parent.life = _parent.life - 50000;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bigR) && (this.gotHito != 1)) {
this.gotHito = 1;
_parent.life = _parent.life - (_parent.life / 2);
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.poised == 1) {
_parent.life = _parent.life - 0.02;
} else if (this.hitTest(_root.fogF)) {
this.poised = 1;
_parent.life = _parent.life - 0.02;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.flame_ball)) {
_parent.life = _parent.life - (random(10) + 10);
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - 50;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.shockwavey)) {
_parent.life = _parent.life - 0.3;
if (_parent.life <= 0) {
_parent.die = 1;
}
this.attack = 1;
timer = timer + 20;
} else if (timer >= 0) {
if (timer == 0) {
this.attack = 0;
}
timer = timer - 1;
}
}
onClipEvent (enterFrame) {
if (_root.timeStop > 0) {
_root.timeStop = _root.timeStop - 0.4;
}
}
Instance of Symbol 827 MovieClip in Symbol 890 MovieClip Frame 7
onClipEvent (load) {
timer = 0;
shocking = 0;
if (_root.level >= 5) {
if ((random(_root.level) + 1) == (_root.level / 5)) {
_parent.bossIt = 2;
heighto = random(30) + 30;
widtho = random(20) + 19;
this._height = this._height + heighto;
this._width = this._width + widtho;
this._y = this._y - (heighto / 1.1);
} else {
_parent.bossIt = 1;
}
} else {
_parent.bossIt = 1;
}
_parent.life = (((random((2 + _root.level) + _root.hlevel) + 3) + (_root.level / 2)) + _root.hlevel) * _parent.bossIt;
_parent.maxLife = _parent.life;
moof = 0;
acc = 0;
speed = (random((2 + _root.moSpeed) + (_root.hlevel * 0.3)) + 1) + (_root.moSpeed * random(2));
if (speed >= 6.5) {
speed = 6.5;
}
}
on (release, releaseOutside) {
_parent.stopDrag();
holdinHel = 0;
this.stopoMove = 1;
if ((dragin == 1) && (!_parent.hitTest(_root.ground))) {
if (_parent._y < 100) {
if (_parent.bossIt == 1) {
fallDead = 1;
} else {
fallHealth = 1;
}
} else if (_parent._y >= 100) {
fallHealth = 1;
}
dragin = 0;
fallo = 1;
}
}
on (press) {
if (_root.dragOn == 1) {
startDrag (_parent);
this.stopoMove = 1;
dragin = 1;
}
if (_root.holdIt == 1) {
holdinHel = 1;
}
if (((_parent.die != 1) && (_root.holdIt != 1)) && (_root.dragOn != 1)) {
_parent.life = _parent.life - (2 + _root.cursyStr);
if (_parent.life <= 0) {
_parent.life = 0;
_parent.die = 1;
this.gotoAndPlay("dead");
}
}
}
onClipEvent (enterFrame) {
if (holdinHel == 1) {
_parent.life = _parent.life - (0.6 + (_root.cursyStr * 0.7));
}
}
onClipEvent (enterFrame) {
if ((dragin == 1) && (!_parent.hitTest(_root.ground))) {
this.stopoMove = 1;
} else if ((fallo == 1) && (!_parent.hitTest(_root.ground))) {
_parent._y = _parent._y + (3 + acc);
acc = acc + 0.9;
} else if (fallDead == 1) {
_parent.life = 0;
} else if (fallHealth == 1) {
fallHealth = 0;
_parent.life = _parent.life - (6 + _root.cursyStr);
} else {
this.stopoMove = 0;
fallo = 0;
acc = 0;
}
}
onClipEvent (enterFrame) {
if (_parent.activate != 1) {
this._visible = false;
}
if (((_parent.activate == 1) && (this.stopoMove != 1)) && (this.deaded != 1)) {
if (_parent.die != 1) {
if ((_parent.die == 1) && (this.deaded != 1)) {
this.deaded = 1;
this.gotoAndPlay(26);
} else if ((((this.attack != 1) && (this.attacked != 1)) && (_parent.die != 1)) && (_root.timeStop <= 0)) {
this._x = this._x - (speed - _root.slowTime);
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.meteorM)) {
rah = random(2) + 1;
if (rah != 1) {
_parent.life = _parent.life - (random(10) + 8);
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.instakilla)) {
lala = random(3) + 1;
if ((lala == 1) || (lala == 3)) {
} else {
_parent.life = _parent.life - (random(30) + 10);
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - 0.35;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - 0.2;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonsword)) {
dah = random(3) + 1;
switch (dah) {
case 1 :
break;
default :
_parent.life = _parent.life - 0.5;
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.nukeN)) {
_parent.life = _parent.life - 50000;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bigR) && (this.gotHito != 1)) {
this.gotHito = 1;
_parent.life = _parent.life - (_parent.life / 2);
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.poised == 1) {
_parent.life = _parent.life - 0.02;
} else if (this.hitTest(_root.fogF)) {
this.poised = 1;
_parent.life = _parent.life - 0.02;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.flame_ball)) {
_parent.life = _parent.life - (random(10) + 10);
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - 30;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.shockwavey)) {
_parent.life = _parent.life - 0.3;
if (_parent.life <= 0) {
_parent.die = 1;
}
this.attack = 1;
timer = timer + 20;
} else if (timer >= 0) {
if (timer == 0) {
this.attack = 0;
}
timer = timer - 1;
}
}
onClipEvent (enterFrame) {
if (_root.timeStop > 0) {
_root.timeStop = _root.timeStop - 0.4;
}
}
Symbol 890 MovieClip Frame 8
life = (random((6 + _root.level) + _root.hlevel) + 5) + _root.level;
maxLife = this.life;
Instance of Symbol 862 MovieClip in Symbol 890 MovieClip Frame 8
onClipEvent (load) {
timer = 0;
shocking = 0;
moof = 0;
acc = 0;
speed = (random((1 + _root.moSpeed) + (_root.hlevel * 0.3)) + 1) + (_root.moSpeed * random(2));
if (speed >= 6.5) {
speed = 6.5;
}
}
on (release, releaseOutside) {
_parent.stopDrag();
holdinHel = 0;
this.stopoMove = 1;
if ((dragin == 1) && (!_parent.hitTest(_root.ground))) {
if (_parent._y < 100) {
fallDead = 1;
} else if (_parent._y >= 100) {
fallHealth = 1;
}
dragin = 0;
fallo = 1;
}
}
on (press) {
if (_root.dragOn == 1) {
startDrag (_parent);
this.stopoMove = 1;
dragin = 1;
}
if (_root.holdIt == 1) {
holdinHel = 1;
}
if (((_parent.die != 1) && (_root.holdIt != 1)) && (_root.dragOn != 1)) {
_parent.life = _parent.life - (2 + _root.cursyStr);
if (_parent.life <= 0) {
_parent.life = 0;
_parent.die = 1;
this.gotoAndPlay("dead");
}
}
}
onClipEvent (enterFrame) {
if (holdinHel == 1) {
_parent.life = _parent.life - (0.6 + (_root.cursyStr * 0.7));
}
}
onClipEvent (enterFrame) {
if ((dragin == 1) && (!_parent.hitTest(_root.ground))) {
this.stopoMove = 1;
} else if ((fallo == 1) && (!_parent.hitTest(_root.ground))) {
_parent._y = _parent._y + (3 + acc);
acc = acc + 0.9;
} else if (fallDead == 1) {
_parent.life = 0;
} else if (fallHealth == 1) {
fallHealth = 0;
_parent.life = _parent.life - 6;
} else {
this.stopoMove = 0;
fallo = 0;
acc = 0;
}
}
onClipEvent (enterFrame) {
if (((_parent.activate == 1) && (this.stopoMove != 1)) && (this.deaded != 1)) {
if (_parent.die != 1) {
if ((_parent.die == 1) && (this.deaded != 1)) {
this.deaded = 1;
this.gotoAndPlay(26);
} else if ((((this.attack != 1) && (this.attacked != 1)) && (_parent.die != 1)) && (_root.timeStop <= 0)) {
this._x = this._x - (speed - _root.slowTime);
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.meteorM)) {
rah = random(2) + 1;
if (rah != 1) {
_parent.life = _parent.life - (random(2) + 4);
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.instakilla)) {
lala = random(3) + 1;
if ((lala == 1) || (lala == 3)) {
} else {
_parent.life = _parent.life - (random(10) + 5);
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - 0.05;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - 0.05;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonsword)) {
dah = random(3) + 1;
switch (dah) {
case 1 :
break;
default :
_parent.life = _parent.life - 0.07;
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.nukeN)) {
_parent.life = _parent.life - 50000;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bigR) && (this.gotHito != 1)) {
this.gotHito = 1;
_parent.life = _parent.life - (_parent.life / 2);
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.poised == 1) {
_parent.life = _parent.life - 0.02;
} else if (this.hitTest(_root.fogF)) {
this.poised = 1;
_parent.life = _parent.life - 0.02;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.flame_ball)) {
_parent.life = _parent.life - (random(4) + 2);
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - 30;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.shockwavey)) {
_parent.life = _parent.life - 0.2;
if (_parent.life <= 0) {
_parent.die = 1;
}
this.attack = 1;
timer = timer + 20;
} else if (timer >= 0) {
if (timer == 0) {
this.attack = 0;
}
timer = timer - 1;
}
}
onClipEvent (enterFrame) {
if (_root.timeStop > 0) {
_root.timeStop = _root.timeStop - 0.4;
}
}
Symbol 890 MovieClip Frame 9
life = (random((11 + _root.level) + _root.hlevel) + 11) + _root.level;
maxLife = this.life;
Instance of Symbol 889 MovieClip in Symbol 890 MovieClip Frame 9
onClipEvent (load) {
timer = 0;
shocking = 0;
moof = 0;
acc = 0;
speed = (random((1 + _root.moSpeed) + (_root.hlevel * 0.3)) + 1) + (_root.moSpeed * random(2));
if (speed >= 6.5) {
speed = 6.5;
}
}
on (release, releaseOutside) {
_parent.stopDrag();
holdinHel = 0;
this.stopoMove = 1;
if ((dragin == 1) && (!_parent.hitTest(_root.ground))) {
if (_parent._y < 100) {
fallDead = 1;
} else if (_parent._y >= 100) {
fallHealth = 1;
}
dragin = 0;
fallo = 1;
}
}
on (press) {
if (_root.dragOn == 1) {
startDrag (_parent);
this.stopoMove = 1;
dragin = 1;
}
if (_root.holdIt == 1) {
holdinHel = 1;
}
if (((_parent.die != 1) && (_root.holdIt != 1)) && (_root.dragOn != 1)) {
_parent.life = _parent.life - (2 + _root.cursyStr);
if (_parent.life <= 0) {
_parent.life = 0;
_parent.die = 1;
this.gotoAndPlay("dead");
}
}
}
onClipEvent (enterFrame) {
if (holdinHel == 1) {
_parent.life = _parent.life - (0.6 + (_root.cursyStr * 0.7));
}
}
onClipEvent (enterFrame) {
if ((dragin == 1) && (!_parent.hitTest(_root.ground))) {
this.stopoMove = 1;
} else if ((fallo == 1) && (!_parent.hitTest(_root.ground))) {
_parent._y = _parent._y + (3 + acc);
acc = acc + 0.9;
} else if (fallDead == 1) {
_parent.life = 0;
} else if (fallHealth == 1) {
fallHealth = 0;
_parent.life = _parent.life - 6;
} else {
this.stopoMove = 0;
fallo = 0;
acc = 0;
}
}
onClipEvent (enterFrame) {
if (((_parent.activate == 1) && (this.stopoMove != 1)) && (this.deaded != 1)) {
if (_parent.die != 1) {
if ((_parent.die == 1) && (this.deaded != 1)) {
this.deaded = 1;
this.gotoAndPlay(26);
} else if ((((this.attack != 1) && (this.attacked != 1)) && (_parent.die != 1)) && (_root.timeStop <= 0)) {
this._x = this._x - (speed - _root.slowTime);
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.meteorM)) {
rah = random(2) + 1;
if (rah != 1) {
_parent.life = _parent.life - (random(2) + 4);
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.instakilla)) {
lala = random(3) + 1;
if ((lala == 1) || (lala == 3)) {
} else {
_parent.life = _parent.life - (random(10) + 5);
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - 0.05;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - 0.05;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonsword)) {
dah = random(3) + 1;
switch (dah) {
case 1 :
break;
default :
_parent.life = _parent.life - 0.07;
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.nukeN)) {
_parent.life = _parent.life - 50000;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bigR) && (this.gotHito != 1)) {
this.gotHito = 1;
_parent.life = _parent.life - (_parent.life / 2);
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.poised == 1) {
_parent.life = _parent.life - 0.02;
} else if (this.hitTest(_root.fogF)) {
this.poised = 1;
_parent.life = _parent.life - 0.02;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.flame_ball)) {
_parent.life = _parent.life - (random(4) + 2);
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - 39;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.shockwavey)) {
_parent.life = _parent.life - 0.3;
if (_parent.life <= 0) {
_parent.die = 1;
}
this.attack = 1;
timer = timer + 20;
} else if (timer >= 0) {
if (timer == 0) {
this.attack = 0;
}
timer = timer - 1;
}
}
onClipEvent (enterFrame) {
if (_root.timeStop > 0) {
_root.timeStop = _root.timeStop - 0.4;
}
}
Symbol 890 MovieClip Frame 10
delay = random(9) + 1;
switch (delay) {
case 1 :
gotoAndPlay (20);
break;
case 2 :
gotoAndPlay (35);
break;
case 3 :
gotoAndPlay (55);
break;
case 4 :
gotoAndPlay (70);
break;
case 5 :
gotoAndPlay (90);
break;
case 6 :
gotoAndPlay (105);
break;
case 7 :
gotoAndPlay (125);
break;
case 8 :
gotoAndPlay (145);
break;
case 9 :
gotoAndPlay (175);
}
Symbol 890 MovieClip Frame 188
if (this.typeEnemy == 1) {
gotoAndStop (1);
} else if (this.typeEnemy == 2) {
gotoAndStop (2);
} else if (this.typeEnemy == 3) {
gotoAndStop (4);
} else if (this.typeEnemy == 4) {
gotoAndStop (3);
} else if (this.typeEnemy == 5) {
gotoAndStop (5);
} else if (this.typeEnemy == 6) {
gotoAndStop (6);
} else if (this.typeEnemy == 7) {
gotoAndStop (7);
} else if (this.typeEnemy == 8) {
gotoAndStop (8);
} else if (this.typeEnemy == 9) {
gotoAndStop (9);
}
Symbol 893 Button
on (press) {
if (_root.qual == "High") {
_root._quality = "MEDIUM";
_root.qual = "Medium";
} else if (_root.qual == "Medium") {
_root._quality = "LOW";
_root.qual = "Low";
} else if (_root.qual == "Low") {
_root._quality = "HIGH";
_root.qual = "High";
}
}
Symbol 902 MovieClip Frame 1
if (farmo >= 210) {
farmo = 0;
_root.castleHp = _root.castleHp + 3;
if (_root.castleHp > _root.castleMaxHp) {
_root.castleHp = _root.castleMaxHp;
}
}
_root.castleLife = (_root.castleHp / _root.castleMaxHp) * 100;
if (_root.castleLife <= 0) {
_root.castleLife = 0;
_root.castleHp = 0;
_root.gameOvey._visible = true;
}
if (_root.castleLife != 100) {
setProperty(bar, _yscale , _root.castleLife);
} else {
setProperty(bar, _yscale , 100);
}
Symbol 902 MovieClip Frame 2
if (_root.gotFarm == 1) {
farmo = farmo + 1;
}
gotoAndPlay (1);
Symbol 904 Button
on (release) {
gotoAndStop (2);
}
Symbol 908 Button
on (release) {
gotoAndStop (1);
}
Symbol 932 MovieClip Frame 1
stop();
Instance of Symbol 902 MovieClip in Symbol 935 MovieClip Frame 1
onClipEvent (load) {
farmo = 0;
}
onClipEvent (enterFrame) {
_root.hpStuff = (_root.castleHp + " / ") + _root.castleMaxHp;
}
Instance of Symbol 932 MovieClip "restoreHp" in Symbol 935 MovieClip Frame 1
onClipEvent (load) {
if (_root.healSpell != 1) {
_root.menu.restoreHp._visible = false;
}
}
Symbol 938 MovieClip Frame 1
stop();
Symbol 938 MovieClip Frame 12
_root.castleHp = _root.castleHp + (random(65) + 24);
if (_root.castleHp > _root.castleMaxHp) {
_root.castleHp = _root.castleMaxHp;
}
Symbol 938 MovieClip Frame 21
this._visible = false;
Symbol 944 MovieClip Frame 7
stop();
Symbol 945 MovieClip Frame 41
this._visible = false;
this.stop();
stop();
Symbol 948 MovieClip Frame 11
this._visible = false;
this.stop();
Symbol 950 MovieClip Frame 1
axetime = 30;
Symbol 950 MovieClip Frame 9
axetime = axetime - 1;
if (axetime == 0) {
gotoAndStop (1);
} else {
gotoAndPlay (2);
}
Symbol 952 MovieClip Frame 1
macetime = 30;
Symbol 952 MovieClip Frame 10
macetime = macetime - 1;
if (macetime == 0) {
gotoAndStop (1);
} else {
gotoAndPlay (2);
}
Symbol 954 MovieClip Frame 1
swordtime = 30;
Symbol 954 MovieClip Frame 11
swordtime = swordtime - 1;
if (swordtime == 0) {
gotoAndStop (1);
} else {
gotoAndPlay (2);
}
Symbol 957 MovieClip Frame 71
this._visible = false;
this.stop();
Symbol 959 MovieClip Frame 65
this._visible = false;
this.stop();
Symbol 962 Button
on (release) {
nextFrame();
}
Symbol 965 MovieClip Frame 1
this.timer = this.timer + ((this.timeIt / 100) * 100);
if (this.timer >= 100) {
this.timer = 100;
this.timeIt = 0;
this._visible = false;
}
if (this.timer != 100) {
setProperty(bar, _yscale , this.timer);
} else {
setProperty(bar, _yscale , 100);
}
Symbol 965 MovieClip Frame 2
gotoAndPlay (1);
Symbol 969 Button
on (release) {
if ((_root.magRune >= 4) && (this.timey.timer == 100)) {
this.timey.timer = 0;
this.timey.timeIt = 0.9;
this.timey._visible = true;
_root.magRune = _root.magRune - 4;
_root.hpRestore._visible = true;
_root.hpRestore.gotoAndPlay(2);
} else {
_root.messy = "Not enough Runes";
}
}
on (rollOver) {
_root.messy = "4 Mag";
}
on (rollOut) {
_root.messy = "";
}
Instance of Symbol 965 MovieClip "timey" in Symbol 970 MovieClip Frame 1
onClipEvent (load) {
this.timer = 0;
this.timeIt = 1.8;
}
Symbol 974 Button
on (release) {
if (((_root.magRune >= 3) && (_root.windRune >= 3)) && (this.timey.timer == 100)) {
_root.magRune = _root.magRune - 3;
_root.windRune = _root.windRune - 3;
this.timey.timer = 0;
this.timey.timeIt = 2;
this.timey._visible = true;
_root.swordpower = random(3) + 1;
_root.summonsword._visible = true;
_root.summonsword.play();
} else {
_root.messy = "Not enough Runes";
}
}
on (rollOver) {
_root.messy = "3 Mag, 3 Wind";
}
on (rollOut) {
_root.messy = "";
}
Instance of Symbol 965 MovieClip "timey" in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
this.timer = 0;
this.timeIt = 3.3;
}
Symbol 979 Button
on (release) {
if (((_root.magRune >= 8) && (_root.windRune >= 4)) && (this.timey.timer == 100)) {
_root.magRune = _root.magRune - 8;
_root.windRune = _root.windRune - 4;
this.timey.timer = 0;
this.timey.timeIt = 0.8;
this.timey._visible = true;
_root.bigR._visible = true;
_root.bigR.play();
} else {
_root.messy = "Not enough Runes";
}
}
on (rollOver) {
_root.messy = "8 Mag, 4 Wind";
}
on (rollOut) {
_root.messy = "";
}
Instance of Symbol 965 MovieClip "timey" in Symbol 980 MovieClip Frame 1
onClipEvent (load) {
this.timer = 0;
this.timeIt = 1.6;
}
Symbol 984 Button
on (release) {
if (((_root.magRune >= 4) && (_root.windRune >= 1)) && (this.timey.timer == 100)) {
_root.magRune = _root.magRune - 4;
_root.windRune = _root.windRune - 1;
_root.summonaxe._visible = true;
this.timey.timer = 0;
this.timey.timeIt = 2;
this.timey._visible = true;
_root.summonaxe.play();
_root.axepower = random(2) + 1;
} else {
_root.messy = "Not enough Runes";
}
}
on (rollOver) {
_root.messy = "4 Mag, 1 Wind";
}
on (rollOut) {
_root.messy = "";
}
Instance of Symbol 965 MovieClip "timey" in Symbol 985 MovieClip Frame 1
onClipEvent (load) {
this.timer = 0;
this.timeIt = 3.5;
}
Symbol 989 Button
on (release) {
if (((_root.magRune >= 2) && (_root.windRune >= 3)) && (this.timey.timer == 100)) {
_root.magRune = _root.magRune - 2;
_root.windRune = _root.windRune - 3;
this.timey.timer = 0;
this.timey.timeIt = 2;
this.timey._visible = true;
_root.macepower = random(2) + 1;
_root.summonmace._visible = true;
_root.summonmace.play();
} else {
_root.messy = "Not enough Runes";
}
}
on (rollOver) {
_root.messy = "2 Mag, 3 Wind";
}
on (rollOut) {
_root.messy = "";
}
Instance of Symbol 965 MovieClip "timey" in Symbol 990 MovieClip Frame 1
onClipEvent (load) {
this.timer = 0;
this.timeIt = 3.4;
}
Symbol 994 Button
on (release) {
gotoAndStop (3);
}
Symbol 996 Button
on (press) {
gotoAndStop (1);
}
Symbol 997 Button
on (press) {
gotoAndPlay (2);
}
Symbol 998 Button
on (release) {
gotoAndStop (4);
}
Symbol 1002 Button
on (release) {
if (((_root.magRune >= 3) && (_root.timeRune >= 3)) && (this.timey.timer == 100)) {
this.timey.timer = 0;
this.timey.timeIt = 0.4;
this.timey._visible = true;
_root.magRune = _root.magRune - 3;
_root.timeRune = _root.timeRune - 3;
_root.slowTime = 2.1;
} else {
_root.messy = "Not enough Runes";
}
}
on (rollOver) {
_root.messy = "3 Mag. 3 Time";
}
on (rollOut) {
_root.messy = "";
}
Instance of Symbol 965 MovieClip "timey" in Symbol 1003 MovieClip Frame 1
onClipEvent (load) {
this.timer = 0;
this.timeIt = 0.7;
}
Symbol 1007 Button
on (release) {
if ((_root.magRune >= 12) && (this.timey.timer == 100)) {
this.timey.timer = 0;
this.timey.timeIt = 0.4;
this.timey._visible = true;
_root.magRune = _root.magRune - 12;
_root.shockwavey._visible = true;
_root.shockwavey.gotoAndPlay(2);
} else {
_root.messy = "Not enough Runes";
}
}
on (rollOver) {
_root.messy = "12 Mag";
}
on (rollOut) {
_root.messy = "";
}
Instance of Symbol 965 MovieClip "timey" in Symbol 1008 MovieClip Frame 1
onClipEvent (load) {
this.timer = 0;
this.timeIt = 0.7;
}
Symbol 1012 Button
on (release) {
if ((((_root.magRune >= 4) && (_root.fireRune >= 4)) && (_root.exploRune >= 2)) && (this.timey.timer == 100)) {
this.timey.timer = 0;
this.timey.timeIt = 0.6;
this.timey._visible = true;
_root.magRune = _root.magRune - 4;
_root.exploRune = _root.exploRune - 2;
_root.fireRune = _root.fireRune - 4;
_root.lightHit.lighty = true;
} else {
_root.messy = "Not enough Runes";
}
}
on (rollOver) {
_root.messy = "4 mag, 4 fire, 2 ex";
}
on (rollOut) {
_root.messy = "";
}
Instance of Symbol 965 MovieClip "timey" in Symbol 1013 MovieClip Frame 1
onClipEvent (load) {
this.timer = 0;
this.timeIt = 0.7;
}
Symbol 1017 Button
on (release) {
if (((_root.magRune >= 4) && (_root.timeRune >= 10)) && (this.timey.timer == 100)) {
this.timey.timer = 0;
this.timey.timeIt = 0.2;
this.timey._visible = true;
_root.magRune = _root.magRune - 4;
_root.timeRune = _root.timeRune - 10;
_root.timeStop = 200;
} else {
_root.messy = "Not enough Runes";
}
}
on (rollOver) {
_root.messy = "4 mag, 10 time";
}
on (rollOut) {
_root.messy = "";
}
Instance of Symbol 965 MovieClip "timey" in Symbol 1018 MovieClip Frame 1
onClipEvent (load) {
this.timer = 0;
this.timeIt = 0.4;
}
Symbol 1022 Button
on (release) {
if ((((_root.windRune >= 5) && (_root.exploRune >= 3)) && (_root.fireRune >= 4)) && (this.timey.timer == 100)) {
_root.windRune = _root.windRune - 5;
_root.exploRune = _root.exploRune - 3;
_root.fireRune = _root.fireRune - 4;
this.timey.timer = 0;
this.timey.timeIt = 0.25;
this.timey._visible = true;
_root.meteorM._visible = true;
_root.meteorM.play();
} else {
_root.messy = "Not enough Runes";
}
}
on (rollOver) {
_root.messy = "5 Wind, 3 Explo, 4 Fire";
}
on (rollOut) {
_root.messy = "";
}
Instance of Symbol 965 MovieClip "timey" in Symbol 1023 MovieClip Frame 1
onClipEvent (load) {
this.timer = 0;
this.timeIt = 0.7;
}
Symbol 1027 Button
on (release) {
if ((((_root.magRune >= 10) && (_root.fireRune >= 3)) && (_root.timeRune >= 3)) && (this.timey.timer == 100)) {
_root.magRune = _root.magRune - 10;
_root.fireRune = _root.fireRune - 3;
_root.timeRune = _root.timeRune - 3;
this.timey.timer = 0;
this.timey.timeIt = 0.1;
this.timey._visible = true;
_root.instakilla._visible = true;
_root.instakilla.play();
} else {
_root.messy = "Not enough Runes";
}
}
on (rollOver) {
_root.messy = "10 Mag, 3 Fire, 3 Time";
}
on (rollOut) {
_root.messy = "";
}
Instance of Symbol 965 MovieClip "timey" in Symbol 1028 MovieClip Frame 1
onClipEvent (load) {
this.timer = 0;
this.timeIt = 0.58;
}
Symbol 1032 Button
on (release) {
if (((_root.magRune >= 4) && (_root.fireRune >= 7)) && (this.timey.timer == 100)) {
_root.magRune = _root.magRune - 4;
_root.fireRun = _root.fireRun - 7;
this.timey.timer = 0;
this.timey.timeIt = 0.4;
this.timey._visible = true;
_root.flame_ball._visible = true;
_root.flame_ball.play();
} else {
_root.messy = "Not enough Runes";
}
}
on (rollOver) {
_root.messy = "10 Fire, 4 Mag";
}
on (rollOut) {
_root.messy = "";
}
Instance of Symbol 965 MovieClip "timey" in Symbol 1033 MovieClip Frame 1
onClipEvent (load) {
this.timer = 0;
this.timeIt = 0.78;
}
Symbol 1037 Button
on (release) {
if (((_root.magRune >= 3) && (_root.windRune >= 2)) && (this.timey.timer == 100)) {
_root.windRune = _root.windRune - 2;
_root.magRune = _root.magRune - 3;
this.timey.timer = 0;
this.timey.timeIt = 0.8;
this.timey._visible = true;
_root.fogF._visible = true;
_root.fogF.play();
} else {
_root.messy = "Not enough Runes";
}
}
on (rollOver) {
_root.messy = "3 Mag, 2 Wind";
}
on (rollOut) {
_root.messy = "";
}
Instance of Symbol 965 MovieClip "timey" in Symbol 1038 MovieClip Frame 1
onClipEvent (load) {
this.timer = 100;
this.timeIt = 1.3;
}
Symbol 1042 Button
on (release) {
if ((((_root.magRune >= 10) && (_root.exploRune >= 15)) && (_root.fireRune >= 10)) && (this.timey.timer == 100)) {
_root.magRune = _root.magRune - 10;
_root.exploRune = _root.exploRune - 15;
_root.fireRune = _root.fireRune - 10;
this.timey.timer = 0;
this.timey.timeIt = 0.02;
this.timey._visible = true;
_root.nukeN._visible = true;
_root.nukeN.play();
} else {
_root.messy = "Not enough Runes";
}
}
on (rollOver) {
_root.messy = "10 Mag, 10 Fire, 15 Explo";
}
on (rollOut) {
_root.messy = "";
}
Instance of Symbol 965 MovieClip "timey" in Symbol 1043 MovieClip Frame 1
onClipEvent (load) {
this.timer = 0;
this.timeIt = 0.3;
}
Symbol 1044 Button
on (press) {
gotoAndStop (3);
}
Symbol 1045 MovieClip Frame 1
stop();
Instance of Symbol 970 MovieClip "restoreHp" in Symbol 1045 MovieClip Frame 2
onClipEvent (load) {
if (_root.healSpell != 1) {
_root.menu.restoreHp._visible = false;
}
}
Instance of Symbol 975 MovieClip "summon_Sword" in Symbol 1045 MovieClip Frame 2
onClipEvent (load) {
if (_root.swordSpell != 1) {
_root.menu.summon_Sword._visible = false;
}
}
Instance of Symbol 980 MovieClip "bigRock" in Symbol 1045 MovieClip Frame 2
onClipEvent (load) {
if (_root.rockSpell != 1) {
_root.menu.bigRock._visible = false;
}
}
Instance of Symbol 985 MovieClip "summon_Axe" in Symbol 1045 MovieClip Frame 2
onClipEvent (load) {
if (_root.axeSpell != 1) {
_root.menu.summon_Axe._visible = false;
}
}
Instance of Symbol 990 MovieClip "summon_Mace" in Symbol 1045 MovieClip Frame 2
onClipEvent (load) {
if (_root.maceSpell != 1) {
_root.menu.summon_Mace._visible = false;
}
}
Instance of Symbol 1003 MovieClip "slowy" in Symbol 1045 MovieClip Frame 3
onClipEvent (load) {
if (_root.slowSpell != 1) {
_root.menu.slowy._visible = false;
}
}
Instance of Symbol 1008 MovieClip "shock" in Symbol 1045 MovieClip Frame 3
onClipEvent (load) {
if (_root.shockSpell != 1) {
_root.menu.shock._visible = false;
}
}
Instance of Symbol 1013 MovieClip "light" in Symbol 1045 MovieClip Frame 3
onClipEvent (load) {
if (_root.lightSpell != 1) {
_root.menu.light._visible = false;
}
}
Instance of Symbol 1018 MovieClip "stopo" in Symbol 1045 MovieClip Frame 3
onClipEvent (load) {
if (_root.stopSpell != 1) {
_root.menu.stopo._visible = false;
}
}
Instance of Symbol 1023 MovieClip "meteora" in Symbol 1045 MovieClip Frame 4
onClipEvent (load) {
if (_root.metSpell != 1) {
_root.menu.meteora._visible = false;
}
}
Instance of Symbol 1028 MovieClip "instaKill" in Symbol 1045 MovieClip Frame 4
onClipEvent (load) {
if (_root.killSpell != 1) {
_root.menu.instaKill._visible = false;
}
}
Instance of Symbol 1033 MovieClip "flameB" in Symbol 1045 MovieClip Frame 4
onClipEvent (load) {
if (_root.ballSpell != 1) {
_root.menu.flameB._visible = false;
}
}
Instance of Symbol 1038 MovieClip "poisonF" in Symbol 1045 MovieClip Frame 4
onClipEvent (load) {
if (_root.poisSpell != 1) {
_root.menu.poisonF._visible = false;
}
}
Instance of Symbol 1043 MovieClip "nuke" in Symbol 1045 MovieClip Frame 4
onClipEvent (load) {
if (_root.nukeSpell != 1) {
_root.menu.nuke._visible = false;
}
}
Symbol 1050 Button
on (release) {
gotoAndStop (7);
}
Symbol 1054 Button
on (release) {
_root.level = _root.level + 1;
_root.enemyOut = 0;
_root.moMoney = _root.moMoney + (random(21) + 7);
_root.moSpeed = _root.moSpeed + 0.02;
if (_root.moSpeed > 3) {
_root.moSpeed = 3;
}
_root.moEnemys = _root.moEnemys + (random(2) + 1);
while (_root.enemyOut < _root.moEnemys) {
_root.enemyOut = _root.enemyOut + 1;
duplicateMovieClip (_root.enemy, "enemy" + _root.enemyOut, _root.enemyOut);
_root["enemy" + _root.enemyOut].activate = 1;
}
this._visible = false;
}
Symbol 1058 Button
on (release) {
gotoAndStop (6);
}
Symbol 1062 Button
on (release) {
gotoAndStop (4);
}
Symbol 1066 Button
on (release) {
gotoAndStop (2);
}
Symbol 1071 Button
on (release) {
gotoAndStop (2);
}
Symbol 1073 Button
on (press) {
gotoAndStop (1);
}
Symbol 1081 Button
on (release) {
_root.hlevel = _root.hlevel + 1;
}
Symbol 1085 Button
on (release) {
if (_root.hlevel > 0) {
_root.hlevel = _root.hlevel - 1;
}
}
Symbol 1086 MovieClip Frame 1
stop();
Symbol 1100 Button
on (rollOver) {
_root.price = "1000g";
}
on (rollOut) {
_root.price = "";
}
on (release) {
if ((_root.money >= 1000) && (_root.gotTower != 1)) {
_root.gotTower = 1;
_root.tower._visible = true;
messo = "Got 150 Hp and 70 Mana!";
_root.money = _root.money - 1000;
_root.castleMaxHp = _root.castleMaxHp + 150;
_root.maxMana = _root.maxMana + 70;
} else if (_root.gotTower == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1101 Button
on (rollOver) {
messah1 = "4 Mag";
descrap = "Heal HP during battle";
_root.price = "200g";
}
on (rollOut) {
messah1 = "";
descrap = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 200) && (_root.healSpell != 1)) {
_root.healSpell = 1;
_root.restoreHp._visible = true;
messo = "Got Heal Spell!";
_root.money = _root.money - 200;
} else if (_root.healSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1104 Button
on (rollOver) {
_root.price = "800g";
}
on (rollOut) {
_root.price = "";
}
on (release) {
if ((_root.money >= 800) && (_root.maceSpell != 1)) {
_root.maceSpell = 1;
messo = "Got Sum. Mace!";
_root.summon_Mace._visible = true;
_root.money = _root.money - 800;
} else if (_root.maceSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1108 Button
on (rollOver) {
messah1 = "2 Mag";
messah2 = "3 Wind";
descrap = "Summons mace that moves around field attacking all";
_root.price = "400g";
}
on (rollOut) {
messah1 = "";
messah2 = "";
descrap = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 400) && (_root.maceSpell != 1)) {
_root.maceSpell = 1;
_root.money = _root.money - 400;
messo = "Got Sum. Mace!";
} else if (_root.maceSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1112 Button
on (rollOver) {
messah1 = "3 Mag";
messah2 = "3 Wind";
descrap = "Summons sword that moves around field attacking all";
_root.price = "800g";
}
on (rollOut) {
messah1 = "";
messah2 = "";
descrap = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 800) && (_root.swordSpell != 1)) {
_root.swordSpell = 1;
messo = "Got Sum. Sword!";
_root.summon_Sword._visible = true;
_root.money = _root.money - 800;
} else if (_root.swordSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1114 Button
on (rollOver) {
messah1 = "8 Mag";
messah2 = "4 Wind";
descrap = "Smashes everything it touches (hp - 50%)";
_root.price = "7000g";
}
on (rollOut) {
messah1 = "";
descrap = "";
messah2 = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 7000) && (_root.rockSpell != 1)) {
_root.rockSpell = 1;
_root.bigRock._visible = true;
messo = "Got Big Rock!";
_root.money = _root.money - 7000;
} else if (_root.rockSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1115 Button
on (rollOver) {
messah1 = "4 Mag";
messah2 = "7 Fire";
descrap = "Causes fire damage to all it touches";
_root.price = "1100g";
}
on (rollOut) {
messah1 = "";
descrap = "";
messah2 = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 1100) && (_root.ballSpell != 1)) {
_root.ballSpell = 1;
_root.flameB._visible = true;
messo = "Got FireBall!";
_root.money = _root.money - 1100;
} else if (_root.ballSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1117 Button
on (rollOver) {
messah1 = "5 Wind";
messah2 = "3 Explo";
messah3 = "4 Fire";
descrap = "Causes major damage anything it touches";
_root.price = "1200g";
}
on (rollOut) {
messah1 = "";
descrap = "";
messah2 = "";
messah3 = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 1200) && (_root.metSpell != 1)) {
_root.metSpell = 1;
messo = "Got Meteor!";
_root.meteora._visible = true;
_root.money = _root.money - 1200;
} else if (_root.metSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1121 Button
on (release) {
gotoAndStop (3);
}
Symbol 1125 Button
on (rollOver) {
messah1 = "4 Mag";
messah2 = "1 Wind";
descrap = "Summons axe that moves around field attacking all";
_root.price = "400g";
}
on (rollOut) {
messah1 = "";
messah2 = "";
descrap = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 400) && (_root.axeSpell != 1)) {
_root.axeSpell = 1;
_root.summon_Axe._visible = true;
_root.money = _root.money - 400;
messo = "Got Sum. Axe!";
} else if (_root.axeSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1128 Button
on (rollOver) {
_root.price = "3000g";
}
on (rollOut) {
_root.price = "";
}
on (release) {
if ((_root.money >= 3000) && (_root.poisSpell != 1)) {
_root.poisSpell = 1;
messo = "Got Pois Fog!";
_root.poisonF._visible = true;
_root.money = _root.money - 3000;
} else if (_root.poisSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1130 Button
on (rollOver) {
_root.price = "50,000g";
}
on (rollOut) {
_root.price = "";
}
on (release) {
if ((_root.money >= 50000) && (_root.nukeSpell != 1)) {
_root.nukeSpell = 1;
_root.nuke._visible = true;
messo = "Got Nuke!";
_root.money = _root.money - 50000;
} else if (_root.nukeSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1134 Button
on (rollOver) {
messah1 = "3 Mag";
messah2 = "3 Time";
descrap = "All enemies are slowed for a limited time";
_root.price = "2300g";
}
on (rollOut) {
messah1 = "";
descrap = "";
messah2 = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 2300) && (_root.slowSpell != 1)) {
_root.slowSpell = 1;
messo = "Got Slow Time!";
_root.money = _root.money - 2300;
} else if (_root.slowSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1135 Button
on (rollOver) {
messah1 = "12 Mag";
descrap = "Enemies are damaged and stopped (for a limited time)";
_root.price = "3100g";
}
on (rollOut) {
messah1 = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 3100) && (_root.shockSpell != 1)) {
_root.shockSpell = 1;
messo = "Got Shockwave!";
_root.money = _root.money - 3100;
} else if (_root.shockSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1136 Button
on (rollOver) {
messah1 = "4 Mag";
messah2 = "4 Fire";
messah3 = "2 Explo";
descrap = "Aim, then click to cause massive damage to anything it touches";
_root.price = "3300g";
}
on (rollOut) {
messah1 = "";
descrap = "";
messah2 = "";
messah3 = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 3300) && (_root.lightSpell != 1)) {
_root.lightSpell = 1;
messo = "Got Lightning!";
_root.money = _root.money - 3300;
} else if (_root.lightSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1137 Button
on (rollOver) {
messah1 = "4 Mag";
messah2 = "10 time";
descrap = "Stops all enemies for a limited amount of time";
_root.price = "4100g";
}
on (rollOut) {
messah1 = "";
descrap = "";
messah2 = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 4100) && (_root.stopSpell != 1)) {
_root.stopSpell = 1;
messo = "Got Stop Time!";
_root.money = _root.money - 4100;
} else if (_root.stopSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1139 Button
on (press) {
gotoAndStop (1);
}
Symbol 1142 Button
on (rollOver) {
messah1 = "10 Mag";
messah2 = "3 Fire";
messah3 = "3 Time";
descrap = "Causes massive damage to all enemies";
_root.price = "7000g";
}
on (rollOut) {
messah1 = "";
messah2 = "";
descrap = "";
messah3 = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 7000) && (_root.killSpell != 1)) {
_root.killSpell = 1;
messo = "Got Instant Kill!";
_root.money = _root.money - 7000;
} else if (_root.killSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1145 Button
on (rollOver) {
messah1 = "3 Mag";
messah2 = "2 Wind";
descrap = "Causes poison damage to all enemies";
_root.price = "2300g";
}
on (rollOut) {
messah1 = "";
messah2 = "";
descrap = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 2300) && (_root.poisSpell != 1)) {
_root.poisSpell = 1;
messo = "Got Poison Fog!";
_root.money = _root.money - 2300;
} else if (_root.poisSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1146 Button
on (rollOver) {
messah1 = "10 Mag";
messah2 = "10 Fire";
messah3 = "15 Explo";
descrap = "Destroys all";
_root.price = "700000g";
}
on (rollOut) {
messah1 = "";
messah2 = "";
messah3 = "";
descrap = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 700000) && (_root.nukeSpell != 1)) {
_root.nukeSpell = 1;
messo = "Got Nuke!";
_root.money = _root.money - 700000;
} else if (_root.nukeSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1150 Button
on (rollOver) {
_root.price = "1000g";
descrap = "Replenishes hp slowly";
}
on (rollOut) {
_root.price = "";
}
on (release) {
if ((_root.money >= 1000) && (_root.gotFarm != 1)) {
_root.gotFarm = 1;
_root.farm._visible = true;
messo = "Got the farm!";
_root.money = _root.money - 1000;
} else if (_root.gotFarm == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1152 Button
on (rollOver) {
_root.price = "1000g";
}
on (rollOut) {
_root.price = "";
}
on (release) {
if ((_root.money >= 1000) && (_root.oasisUpgrade != 1)) {
_root.oasisUpgrade = 1;
messo = "Got the Oasis!";
_root.oasis._visible = true;
_root.money = _root.money - 1000;
} else if (_root.oasisUpgrade == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1153 Button
on (rollOver) {
_root.price = "1000g";
descrap = "Raises max hp 210";
}
on (rollOut) {
_root.price = "";
}
on (release) {
if ((_root.money >= 1000) && (_root.gotTower != 1)) {
_root.gotTower = 1;
_root.tower._visible = true;
messo = "Got 150 Hp and 70 Mana!";
_root.money = _root.money - 1000;
_root.castleMaxHp = _root.castleMaxHp + 210;
} else if (_root.gotTower == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1155 Button
on (release) {
messo = "";
nextFrame();
}
Symbol 1161 Button
on (rollOver) {
_root.price = "160g";
descrap = "Raises max Hp by 15";
}
on (rollOut) {
_root.price = "";
descrap = "";
}
on (release) {
if (_root.money >= 160) {
_root.money = _root.money - 160;
_root.castleMaxHp = _root.castleMaxHp + 15;
messo = "Raised Max HP!";
} else {
messo = "Not Enough Money!";
}
}
Symbol 1162 Button
on (rollOver) {
_root.price = Math.ceil(1000 * _root.moThing) + "g";
descrap = "Raises cursor strength";
}
on (rollOut) {
_root.price = "";
descrap = "";
}
on (release) {
if (_root.money >= Math.ceil(1000 * _root.moThing)) {
_root.money = _root.money - Math.ceil(1000 * _root.moThing);
_root.moThing = _root.moThing + 0.5;
_root.cursyStr = _root.cursyStr + 1;
messo = "Raised Strength!";
} else {
messo = "Not Enough Money!";
}
}
Symbol 1169 Button
on (rollOver) {
_root.price = "2000g";
descrap = "You take less damage from enemies";
}
on (rollOut) {
_root.price = "";
descrap = "";
}
on (release) {
if ((_root.money >= 2000) && (_root.gotWall != 1)) {
_root.gotWall = 1;
_root.wall2._visible = true;
_root.money = _root.money - 2000;
messo = "Gained Extra defense!";
} else if (_root.gotWall == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1171 Button
on (release) {
messo = "";
gotoAndStop (1);
}
Symbol 1175 Button
on (rollOver) {
_root.price = (500 + (_root.archah * 500)) + "g";
descrap = "Archer will help you kill enemies";
}
on (rollOut) {
_root.price = "";
descrap = "";
}
on (release) {
if (_root.money >= (500 + (_root.archah * 500))) {
_root.money = _root.money - (500 + (_root.archah * 500));
if (_root.archah < 6) {
_root.archah = _root.archah + 1;
if (_root.archah == 1) {
_root.archy1.gotoAndPlay(1);
} else if (_root.archah == 2) {
_root.archy2.gotoAndPlay(1);
} else if (_root.archah == 3) {
_root.archy3.gotoAndPlay(1);
} else if (_root.archah == 4) {
_root.archy4.gotoAndPlay(1);
} else if (_root.archah == 5) {
_root.archy5.gotoAndPlay(1);
} else if (_root.archah == 6) {
_root.archy6.gotoAndPlay(1);
}
messo = "Got an archer!";
} else {
messo = "Archer Limit reached";
}
} else {
messo = "Not Enough Money!";
}
}
Symbol 1178 Button
on (rollOver) {
_root.price = (800 + (_root.gunnah * 800)) + "g";
descrap = "Gunners will help you kill enemies";
}
on (rollOut) {
_root.price = "";
descrap = "";
}
on (release) {
if (_root.money >= (800 + (_root.gunnah * 800))) {
if (_root.gunnah < 6) {
_root.money = _root.money - (800 + (_root.gunnah * 800));
_root.gunnah = _root.gunnah + 1;
if (_root.gunnah == 1) {
_root.gunny1.gotoAndPlay(1);
} else if (_root.gunnah == 2) {
_root.gunny2.gotoAndPlay(1);
} else if (_root.gunnah == 3) {
_root.gunny3.gotoAndPlay(1);
} else if (_root.gunnah == 4) {
_root.gunny4.gotoAndPlay(1);
} else if (_root.gunnah == 5) {
_root.gunny5.gotoAndPlay(1);
} else if (_root.gunnah == 6) {
_root.gunny6.gotoAndPlay(1);
}
messo = "Got a gunner!";
} else {
messo = "Gunner Limit reached";
}
} else {
messo = "Not Enough Money!";
}
}
Symbol 1180 Button
on (rollOver) {
_root.price = "100g";
}
on (rollOut) {
_root.price = "";
}
on (release) {
if (_root.money >= 100) {
_root.money = _root.money - 100;
_root.fireRune = _root.fireRune + 1;
messo = "Got Fire Rune!";
} else {
messo = "Not Enough Money!";
}
}
Symbol 1181 Button
on (rollOver) {
_root.price = "85g";
}
on (rollOut) {
_root.price = "";
}
on (release) {
if (_root.money >= 85) {
_root.money = _root.money - 85;
_root.magRune = _root.magRune + 1;
messo = "Got Mag Rune!";
} else {
messo = "Not Enough Money!";
}
}
Symbol 1182 Button
on (rollOver) {
_root.price = "100g";
}
on (rollOut) {
_root.price = "";
}
on (release) {
if (_root.money >= 100) {
_root.money = _root.money - 100;
_root.windRune = _root.windRune + 1;
messo = "Got Wind Rune!";
} else {
messo = "Not Enough Money!";
}
}
Symbol 1183 Button
on (rollOver) {
_root.price = "180g";
}
on (rollOut) {
_root.price = "";
}
on (release) {
if (_root.money >= 180) {
_root.money = _root.money - 180;
_root.timeRune = _root.timeRune + 1;
messo = "Got Time Rune!";
} else {
messo = "Not Enough Money!";
}
}
Symbol 1191 Button
on (rollOver) {
_root.price = "340g";
}
on (rollOut) {
_root.price = "";
}
on (release) {
if (_root.money >= 340) {
_root.money = _root.money - 340;
_root.exploRune = _root.exploRune + 1;
messo = "Got Explosion Rune!";
} else {
messo = "Not Enough Money!";
}
}
Symbol 1193 Button
on (rollOver) {
_root.price = "50g";
}
on (rollOut) {
_root.price = "";
}
on (release) {
if (_root.money >= 50) {
_root.money = _root.money - 50;
_root.castleHp = _root.castleHp + 15;
messo = "Got 15 HP!";
if (_root.castleHp > _root.castleMaxHp) {
_root.castleHp = _root.castleMaxHp;
}
} else {
messo = "Not Enough Money!";
}
}
Symbol 1194 Button
on (rollOver) {
_root.price = "150g";
}
on (rollOut) {
_root.price = "";
}
on (release) {
if (_root.money >= 150) {
_root.money = _root.money - 150;
_root.castleHp = _root.castleHp + 50;
messo = "Got 50 HP!";
if (_root.castleHp > _root.castleMaxHp) {
_root.castleHp = _root.castleMaxHp;
}
} else {
messo = "Not Enough Money!";
}
}
Symbol 1208 Button
on (release) {
hoe = 1;
_root.alreadySaved1 = 1;
setCookie("database1", "iteem1", _root.alreadySaved1);
setCookie("database" + hoe, "iteem2", _root.healSpell);
setCookie("database" + hoe, "iteem3", _root.axeSpell);
setCookie("database" + hoe, "iteem4", _root.maceSpell);
setCookie("database" + hoe, "iteem5", _root.metSpell);
setCookie("database" + hoe, "iteem6", _root.ballSpell);
setCookie("database" + hoe, "iteem7", _root.swordSpell);
setCookie("database" + hoe, "iteem8", _root.rockSpell);
setCookie("database" + hoe, "iteem9", _root.killSpell);
setCookie("database" + hoe, "iteem10", _root.poisSpell);
setCookie("database" + hoe, "iteem11", _root.nukeSpell);
setCookie("database" + hoe, "iteem12", _root.cursyStr);
setCookie("database" + hoe, "iteem13", _root.gotFarm);
setCookie("database" + hoe, "iteem14", _root.oasisUpgrade);
setCookie("database" + hoe, "iteem15", _root.gotTower);
setCookie("database" + hoe, "iteem16", _root.gotWall);
setCookie("database" + hoe, "iteem17", _root.maxMana);
setCookie("database" + hoe, "iteem18", _root.castleMaxHp);
setCookie("database" + hoe, "iteem19", _root.castleHp);
setCookie("database" + hoe, "iteem20", _root.manaNow);
setCookie("database" + hoe, "iteem21", _root.moMoney);
setCookie("database" + hoe, "iteem22", _root.level);
setCookie("database" + hoe, "iteem23", _root.moEnemys);
setCookie("database" + hoe, "iteem24", _root.money);
setCookie("database" + hoe, "iteem25", _root.moSpeed);
setCookie("database" + hoe, "iteem26", _root.moThing);
setCookie("database" + hoe, "iteem27", _root.magRune);
setCookie("database" + hoe, "iteem28", _root.fireRune);
setCookie("database" + hoe, "iteem29", _root.exploRune);
setCookie("database" + hoe, "iteem30", _root.timeRune);
setCookie("database" + hoe, "iteem31", _root.iceRune);
setCookie("database" + hoe, "iteem32", _root.windRune);
setCookie("database" + hoe, "iteem33", _root.hlevel);
setCookie("database1", "iteem34", _root.user);
setCookie("database" + hoe, "iteem35", _root.slowSpell);
setCookie("database" + hoe, "iteem36", _root.shockSpell);
setCookie("database" + hoe, "iteem37", _root.lightSpell);
setCookie("database" + hoe, "iteem38", _root.stopSpell);
setCookie("database" + hoe, "iteem39", _root.gunnah);
setCookie("database" + hoe, "iteem40", _root.archah);
savMess = "Saved!";
}
Symbol 1210 Button
on (release) {
_root.user2 = _root.user;
hoe = 2;
_root.alreadySaved2 = 1;
setCookie("database2", "iteem1", _root.alreadySaved2);
setCookie("database" + hoe, "iteem2", _root.healSpell);
setCookie("database" + hoe, "iteem3", _root.axeSpell);
setCookie("database" + hoe, "iteem4", _root.maceSpell);
setCookie("database" + hoe, "iteem5", _root.metSpell);
setCookie("database" + hoe, "iteem6", _root.ballSpell);
setCookie("database" + hoe, "iteem7", _root.swordSpell);
setCookie("database" + hoe, "iteem8", _root.rockSpell);
setCookie("database" + hoe, "iteem9", _root.killSpell);
setCookie("database" + hoe, "iteem10", _root.poisSpell);
setCookie("database" + hoe, "iteem11", _root.nukeSpell);
setCookie("database" + hoe, "iteem12", _root.cursyStr);
setCookie("database" + hoe, "iteem13", _root.gotFarm);
setCookie("database" + hoe, "iteem14", _root.oasisUpgrade);
setCookie("database" + hoe, "iteem15", _root.gotTower);
setCookie("database" + hoe, "iteem16", _root.gotWall);
setCookie("database" + hoe, "iteem17", _root.maxMana);
setCookie("database" + hoe, "iteem18", _root.castleMaxHp);
setCookie("database" + hoe, "iteem19", _root.castleHp);
setCookie("database" + hoe, "iteem20", _root.manaNow);
setCookie("database" + hoe, "iteem21", _root.moMoney);
setCookie("database" + hoe, "iteem22", _root.level);
setCookie("database" + hoe, "iteem23", _root.moEnemys);
setCookie("database" + hoe, "iteem24", _root.money);
setCookie("database" + hoe, "iteem25", _root.moSpeed);
setCookie("database" + hoe, "iteem26", _root.moThing);
setCookie("database" + hoe, "iteem27", _root.magRune);
setCookie("database" + hoe, "iteem28", _root.fireRune);
setCookie("database" + hoe, "iteem29", _root.exploRune);
setCookie("database" + hoe, "iteem30", _root.timeRune);
setCookie("database" + hoe, "iteem31", _root.iceRune);
setCookie("database" + hoe, "iteem32", _root.windRune);
setCookie("database" + hoe, "iteem33", _root.hlevel);
setCookie("database2", "iteem34", _root.user2);
setCookie("database" + hoe, "iteem35", _root.slowSpell);
setCookie("database" + hoe, "iteem36", _root.shockSpell);
setCookie("database" + hoe, "iteem37", _root.lightSpell);
setCookie("database" + hoe, "iteem38", _root.stopSpell);
setCookie("database" + hoe, "iteem39", _root.gunnah);
setCookie("database" + hoe, "iteem40", _root.archah);
savMess = "Saved!";
}
Symbol 1212 Button
on (release) {
_root.user3 = _root.user;
hoe = 3;
_root.alreadySaved3 = 1;
setCookie("database3", "iteem1", _root.alreadySaved3);
setCookie("database" + hoe, "iteem2", _root.healSpell);
setCookie("database" + hoe, "iteem3", _root.axeSpell);
setCookie("database" + hoe, "iteem4", _root.maceSpell);
setCookie("database" + hoe, "iteem5", _root.metSpell);
setCookie("database" + hoe, "iteem6", _root.ballSpell);
setCookie("database" + hoe, "iteem7", _root.swordSpell);
setCookie("database" + hoe, "iteem8", _root.rockSpell);
setCookie("database" + hoe, "iteem9", _root.killSpell);
setCookie("database" + hoe, "iteem10", _root.poisSpell);
setCookie("database" + hoe, "iteem11", _root.nukeSpell);
setCookie("database" + hoe, "iteem12", _root.cursyStr);
setCookie("database" + hoe, "iteem13", _root.gotFarm);
setCookie("database" + hoe, "iteem14", _root.oasisUpgrade);
setCookie("database" + hoe, "iteem15", _root.gotTower);
setCookie("database" + hoe, "iteem16", _root.gotWall);
setCookie("database" + hoe, "iteem17", _root.maxMana);
setCookie("database" + hoe, "iteem18", _root.castleMaxHp);
setCookie("database" + hoe, "iteem19", _root.castleHp);
setCookie("database" + hoe, "iteem20", _root.manaNow);
setCookie("database" + hoe, "iteem21", _root.moMoney);
setCookie("database" + hoe, "iteem22", _root.level);
setCookie("database" + hoe, "iteem23", _root.moEnemys);
setCookie("database" + hoe, "iteem24", _root.money);
setCookie("database" + hoe, "iteem25", _root.moSpeed);
setCookie("database" + hoe, "iteem26", _root.moThing);
setCookie("database" + hoe, "iteem27", _root.magRune);
setCookie("database" + hoe, "iteem28", _root.fireRune);
setCookie("database" + hoe, "iteem29", _root.exploRune);
setCookie("database" + hoe, "iteem30", _root.timeRune);
setCookie("database" + hoe, "iteem31", _root.iceRune);
setCookie("database" + hoe, "iteem32", _root.windRune);
setCookie("database" + hoe, "iteem33", _root.hlevel);
setCookie("database3", "iteem34", _root.user3);
setCookie("database" + hoe, "iteem35", _root.slowSpell);
setCookie("database" + hoe, "iteem36", _root.shockSpell);
setCookie("database" + hoe, "iteem37", _root.lightSpell);
setCookie("database" + hoe, "iteem38", _root.stopSpell);
setCookie("database" + hoe, "iteem39", _root.gunnah);
setCookie("database" + hoe, "iteem40", _root.archah);
savMess = "Saved!";
}
Symbol 1214 Button
on (release) {
savMess = "";
gotoAndStop (1);
}
Symbol 1218 MovieClip Frame 1
stop();
_root.timeStop = 0;
Symbol 1225 Button
on (release) {
_root.gotoAndPlay(1);
}
Symbol 1235 MovieClip Frame 1
stop();
Symbol 1235 MovieClip Frame 9
stop();
Symbol 1241 MovieClip Frame 26
stop();