Frame 1
function itemHandler(obj, item) {
getURL ("http://www.antitudegames.com", "_blank");
}
function itemHandler3(obj, item) {
getURL ("http://www.stickpage.com", "_blank");
}
function itemHandler2(obj, item) {
getURL ("http://www.xgenstudios.com", "_blank");
}
function levelUp(numOfExp) {
_root.deadEnemy = _root.deadEnemy + 1;
_root.expYou = _root.expYou + numOfExp;
_root.score = _root.score + 5;
if (_root.expYou >= _root.expMax) {
_root.gainedLevel = true;
_root.spoints = _root.spoints + 4;
_root.mstats = ("You currently have " + _root.spoints) + " stats.";
_root.ylvl = _root.ylvl + 1;
_root.ylvl1 = "P Level: " + _root.ylvl;
_root.expYou = 0;
_root.expMax = _root.expMax + ((random(15 + _root.level) + 9) + (_root.level * 2));
}
_root.exp1 = (("EXP: " + _root.expYou) + " / ") + _root.expMax;
if ((_root.level % _root.bossLev) == 0) {
_root.score = _root.score + 3;
if (_root.deadEnemy >= ((_root.enemyOut2 + _root.numOfBosses) - 1)) {
if (_root.levelLimit == _root.level) {
_root.buyMenu._visible = false;
_root.winner._visible = true;
} else {
_root.buyMenu._visible = true;
if (_root.autoSaveOn == true) {
_root.buyMenu.messyHah._visible = true;
}
}
}
} else if (_root.deadEnemy >= _root.moEnemys) {
if (_root.levelLimit == _root.level) {
_root.buyMenu._visible = false;
_root.winner._visible = true;
} else {
_root.buyMenu._visible = true;
if (_root.autoSaveOn == true) {
_root.buyMenu.messyHah._visible = true;
}
}
}
}
function saveItUp(hoe) {
_root["alreadySaved" + (hoe - 3)] = 1;
setCookie("database4", "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("database" + hoe, "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);
setCookie("database" + hoe, "iteem41", _root.sheildSpell);
setCookie("database" + hoe, "iteem42", _root.ylvl);
setCookie("database" + hoe, "iteem43", _root.expYou);
setCookie("database" + hoe, "iteem44", _root.expMax);
setCookie("database" + hoe, "iteem45", _root.dragonSpell);
setCookie("database" + hoe, "iteem46", _root.lightSpell2);
setCookie("database" + hoe, "iteem47", _root.spe);
setCookie("database" + hoe, "iteem48", _root.str);
setCookie("database" + hoe, "iteem49", _root.vit);
setCookie("database" + hoe, "iteem50", _root.sum);
setCookie("database" + hoe, "iteem51", _root.def);
setCookie("database" + hoe, "iteem52", _root.top);
setCookie("database" + hoe, "iteem53", _root.arms);
setCookie("database" + hoe, "iteem54", _root.bottom);
setCookie("database" + hoe, "iteem55", _root.mid);
setCookie("database" + hoe, "iteem56", _root.windows);
setCookie("database" + hoe, "iteem57", _root.door);
setCookie("database" + hoe, "iteem58", _root.spoints);
setCookie("database" + hoe, "iteem59", _root.spearSpell);
setCookie("database" + hoe, "iteem60", _root.autoSaveOn);
}
_root.menuMessage = "You are currently playing as a guest";
_root.clockHours = 0;
_root.autoSaveIsOn = true;
_root.clockMinutes = 0;
_root.clockSeconds = 0;
_root.customPlay = false;
_root.autoSaveOn = false;
_root.sound = new Sound();
_root.enemoDe = 22;
_root.hardah = "No Harder";
_root.hardining = 1;
_root.levelLimit = "Infinite";
_root.modeo = "Classic";
_root.enemyKind = "Random";
_root.enemyLim = "No Limit";
_root.bossLev = 10;
_root.bossMes = _root.bossLev + " Levels";
_root.sheildSpell = 0;
_root.ylvl = 1;
_root.ylvl1 = "P Level: " + _root.ylvl;
_root.expYou = 0;
_root.expMax = 15;
_root.exp1 = (("EXP: " + _root.expYou) + " / ") + _root.expMax;
_root.dragonSpell = 0;
root_cm = new ContextMenu();
root_cm.hideBuiltInItems();
line_cmi = new ContextMenuItem("AntitudeGames", itemHandler);
dus_cmi = new ContextMenuItem("StickPage", itemHandler3);
ass_cmi = new ContextMenuItem("XGenstudios", itemHandler2);
root_cm.customItems.push(line_cmi, dus_cmi, ass_cmi, man_cmi, email_cmi);
_root.menu = root_cm;
_root.text1 = "Welcome to Demonic Defence 4";
_root._quality = "MEDIUM";
_root.mode = "Classic";
_root.top = 1;
_root.bottom = 1;
_root.windows = 1;
_root.top = 1;
_root.archah = 0;
_root.gunnah = 0;
_root.slowTime = 0;
_root.bottom = 1;
_root.windows = 1;
_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 = 500;
_root.enemyOut = 0;
_root.moEnemys = 4;
_root.moSpeed = 0;
_root.alreadySaved1 = getCookie("database4", "iteem1");
_root.alreadySaved2 = getCookie("database5", "iteem1");
_root.alreadySaved3 = getCookie("database6", "iteem1");
_root.user = "Enter Name";
_root.magRune = 5;
_root.fireRune = 5;
_root.exploRune = 5;
_root.timeRune = 5;
_root.iceRune = 5;
_root.windRune = 5;
_root.hlevel = 0;
_root.opti._visible = false;
_root.fure = 1;
_root.chmess = "Enter Cheat";
_root.cheat1 = "";
_root.nuked = 0;
_root.str = 0;
_root.vit = 0;
_root.sum = 0;
_root.def = 0;
_root.spe = 0;
_root.spoints = 8;
_root.deadEnemy = 0;
_root.arms = 1;
_root.door = 1;
_root.mid = 1;
_root.moB = 0;
_root.speed1 = "Speed: " + _root.spe;
_root.str1 = "Strength: " + _root.str;
_root.vit1 = "Vitility: " + _root.vit;
_root.sum1 = "Spells: " + _root.sum;
_root.enemyOut2 = 0;
_root.def1 = "Defence: " + _root.def;
_root.mstats = ("You currently have " + _root.spoints) + " stats.";
if (_root.redefineVars == true) {
_root.redefineVars = false;
gotoAndStop (2);
}
Instance of Symbol 135 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._y = _root._ymouse;
this._x = _root._xmouse;
Mouse.hide();
}
onClipEvent (mouseDown) {
this.gotoAndStop(2);
}
onClipEvent (mouseUp) {
this.gotoAndStop(1);
}
Frame 2
if (_root.menuMusicOn != true) {
_root.sound.attachSound("song1");
_root.sound.start(0, 16000);
_root.menuMusicOn = true;
}
_root.enemoDe = 22;
_root.hardah = "No Harder";
_root.hardining = 1;
_root.levelLimit = "Infinite";
_root.modeo = "Classic";
_root.enemyKind = "Random";
_root.enemyLim = "No Limit";
_root.bossLev = 10;
_root.bossMes = _root.bossLev + " Levels";
stop();
Instance of Symbol 247 MovieClip "cast1" in Frame 2
onClipEvent (enterFrame) {
if (_root.castleHp <= 0) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.castleHp <= 50) {
gotoAndStop (3);
}
}
Frame 3
_root.text1 = "You have selected " + _root.mode;
Instance of Symbol 328 MovieClip "load1" in Frame 4
onClipEvent (load) {
_root.load1._visible = false;
}
Instance of Symbol 362 MovieClip "stat" in Frame 4
onClipEvent (load) {
_visible = false;
}
Frame 9
stopAllSounds();
_root.menuMusicOn = false;
_root.sound.attachSound("battleMusic");
_root.sound.start(0, 60000);
_root.battleMusicOn = true;
_root.musicPlay = 0;
_root.score = 0;
_root.str1 = "Strength: " + _root.str;
_root.smokeIt = 0;
_root.mstats = ("You currently have " + _root.spoints) + " stats.";
_root.def1 = "Defence: " + _root.def;
_root.vit1 = "Vitility: " + _root.vit;
_root.speed1 = "Speed: " + _root.spe;
_root.sum1 = "Spells: " + _root.sum;
_root.ylvl1 = "P Level: " + _root.ylvl;
_root.exp1 = (("EXP: " + _root.expYou) + " / ") + _root.expMax;
_root.bloodOption = true;
_root.score = 0;
otherDelay = 0;
_root.enemy.gotoAndStop(1);
if ((((_root.alreadySaved1 == 1) || (_root.alreadySaved2 == 1)) || (_root.alreadySaved3 == 1)) && (_root.loadedIt == 1)) {
_root.enemoGen.enemiesGenerated = _root.moEnemys;
_root.buyMenu._visible = true;
} else {
_root.moEnemys = 3;
}
_quality = "MEDIUM";
Mouse.show();
stop();
Instance of Symbol 496 MovieClip "smoke" in Frame 9
onClipEvent (load) {
this._alpha = 80;
}
onClipEvent (enterFrame) {
if (active == true) {
this._x = this._x + 1;
this._alpha = this._alpha - 3;
if (this._alpha <= 0) {
this.removeMovieClip();
}
}
}
Instance of Symbol 498 MovieClip "enemoGen" in Frame 9
onClipEvent (load) {
enemiesGenerated = 0;
delay = 0;
howMuchDelay = _root.enemoDe;
}
onClipEvent (enterFrame) {
delay = delay + 1;
if ((_root.level % _root.bossLev) == 0) {
_root.numOfBosses = 1;
if ((delay >= howMuchDelay) && (enemiesGenerated < _root.numOfBosses)) {
_root.enemyOut = _root.enemyOut + 1;
duplicateMovieClip (_root.enemy, "enemy" + _root.enemyOut, (_root.enemyOut + _root.smokeIt) + _root.moB);
_root["enemy" + _root.enemyOut].howMuchDelay = 0;
_root["enemy" + _root.enemyOut].activate = 1;
_root["enemy" + _root.enemyOut].sendBoss = true;
enemiesGenerated = enemiesGenerated + 1;
delay = 0;
}
} else if ((delay >= howMuchDelay) && (enemiesGenerated < _root.moEnemys)) {
enemiesGenerated = enemiesGenerated + 1;
_root.enemyOut = _root.enemyOut + 1;
duplicateMovieClip (_root.enemy, "enemy" + _root.enemyOut, (_root.enemyOut + _root.moB) + _root.smokeIt);
_root["enemy" + _root.enemyOut].activate = 1;
_root["enemy" + _root.enemyOut].howMuchDelay = 0;
delay = 0;
}
}
Instance of Symbol 500 MovieClip "tower" in Frame 9
onClipEvent (load) {
if (_root.gotTower != 1) {
_root.tower._visible = false;
}
}
Instance of Symbol 503 MovieClip "hpRestore" in Frame 9
onClipEvent (load) {
_root.hpRestore._visible = false;
}
Instance of Symbol 524 MovieClip "meteorM" in Frame 9
onClipEvent (load) {
this.gotoAndStop(42);
}
onClipEvent (load) {
this._visible = false;
this.stop();
}
Instance of Symbol 527 MovieClip "instakilla" in Frame 9
onClipEvent (load) {
this._visible = false;
this.stop();
}
Instance of Symbol 529 MovieClip "summonaxe" in Frame 9
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 531 MovieClip "summonmace" in Frame 9
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 543 MovieClip "summonsword" in Frame 9
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 545 MovieClip "bigR" in Frame 9
onClipEvent (load) {
this._visible = false;
this.gotoAndStop(65);
}
Instance of Symbol 549 MovieClip "lightning" in Frame 9
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 556 MovieClip "shockwavey" in Frame 9
onClipEvent (load) {
this._visible = false;
this.gotoAndStop(26);
}
Instance of Symbol 558 MovieClip "lightHit" in Frame 9
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;
}
}
Instance of Symbol 621 MovieClip "fogF" in Frame 9
onClipEvent (load) {
this._visible = false;
this.stop();
}
Instance of Symbol 247 MovieClip "cast1" in Frame 9
onClipEvent (enterFrame) {
if (_root.castleHp <= 0) {
gotoAndStop (10);
}
}
onClipEvent (enterFrame) {
if (_root.castleHp <= 50) {
gotoAndStop (11);
}
}
Instance of Symbol 623 MovieClip "wall2" in Frame 9
onClipEvent (load) {
if (_root.gotWall != 1) {
_root.wall2._visible = false;
}
}
Instance of Symbol 636 MovieClip "flame_ball" in Frame 9
onClipEvent (load) {
this._visible = false;
this.gotoAndStop(40);
}
Instance of Symbol 659 MovieClip "archy1" in Frame 9
onClipEvent (load) {
if (_root.archah >= 1) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 676 MovieClip "gunny5" in Frame 9
onClipEvent (load) {
if (_root.gunnah >= 5) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 676 MovieClip "gunny6" in Frame 9
onClipEvent (load) {
if (_root.gunnah >= 6) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 1222 MovieClip "enemy" in Frame 9
onClipEvent (enterFrame) {
if (_root.buyMenu._visible == true) {
this.removeMovieClip();
}
if (_root.castleLife <= 0) {
this.removeMovieClip();
}
if (_root.slowTime > 0) {
_root.slowTime = _root.slowTime - 0.002;
}
if (_root.slowTime < 0) {
_root.slowTime = 0;
}
if (this._x < 10) {
this._x = 10.1;
}
if (this._y > 403) {
this._y = 402.9;
}
}
onClipEvent (load) {
delay = 0;
this.outty = 1;
typeEnemy = random(12) + 1;
this.gotoAndPlay(16);
}
Instance of Symbol 1309 MovieClip "menuu" in Frame 9
onClipEvent (load) {
timeIt = 0;
}
onClipEvent (enterFrame) {
_root.magRune1 = "Magic: " + _root.magRune;
_root.fireRune1 = "Fire: " + _root.fireRune;
_root.exploRune1 = "Explosion: " + _root.exploRune;
_root.windRune1 = "Wind: " + _root.windRune;
_root.timeRune1 = "Time: " + _root.timeRune;
timeIt = timeIt + (_root.spe * 0.3);
if (timeIt >= (400 + _root.level)) {
timeIt = 0;
choose = random(5) + 1;
switch (choose) {
case 1 :
_root.magRune = _root.magRune + 1;
break;
case 2 :
_root.fireRune = _root.fireRune + 1;
break;
case 3 :
_root.windRune = _root.windRune + 1;
break;
case 4 :
_root.exploRune = _root.exploRune + 1;
break;
case 5 :
_root.timeRune = _root.timeRune + 1;
}
}
}
Instance of Symbol 1310 MovieClip "storm" in Frame 9
onClipEvent (load) {
this._visible = false;
this.gotoAndStop(14);
}
Instance of Symbol 1314 MovieClip "dragony" in Frame 9
on (press) {
if ((_root.dragonBall.shoot != true) && (timeIt < 740)) {
_root.readyFire.active = true;
}
}
onClipEvent (load) {
xValue = this._x;
yValue = this._y;
timeIt = 0;
this._visible = false;
}
onClipEvent (enterFrame) {
if (active == true) {
timeIt = timeIt + 1;
if (((timeIt >= 740) && (this._x > -254.7)) && (_root.readyFire.active != true)) {
this._x = this._x - 2;
if (this._x <= -254.7) {
this.timeIt = 0;
this.active = false;
}
} else if (this._x < 72) {
this._x = this._x + 2;
}
}
}
Instance of Symbol 1316 MovieClip "dragonBall" in Frame 9
onClipEvent (load) {
gravity = 0;
}
onClipEvent (enterFrame) {
if ((shoot == true) && (ready != true)) {
this._x = _root.dragony._x + 115;
xValueThis = _root.dragony._x + 115;
this._y = _root.dragony._y + 10;
ready = true;
}
if (shoot == true) {
this._y = this._y + (1 + gravity);
gravity = gravity + 0.5;
xThingAdd = (aimX - xValueThis) / 20;
if (this._x < aimX) {
this._x = this._x + xThingAdd;
}
if (this.hitTest(_root.ground)) {
this.shoot = false;
this.gotoAndPlay(2);
}
}
}
Instance of Symbol 1318 MovieClip "readyFire" in Frame 9
on (press) {
active = false;
_root.dragonBall.shoot = true;
_root.dragonBall.aimX = _root._xmouse;
this._x = 800;
this._y = 800;
}
onClipEvent (mouseMove) {
if (active == true) {
this._x = _root._xmouse;
this._y = _root._ymouse;
updateAfterEvent();
}
}
Instance of Symbol 121 MovieClip [nuke] "nukeN" in Frame 9
onClipEvent (load) {
this.gotoAndStop(71);
}
Instance of Symbol 1349 MovieClip "spear" in Frame 9
onClipEvent (load) {
timer = 0;
this.gotoAndStop(16);
}
onClipEvent (enterFrame) {
if (this.active == true) {
timer = timer + 1;
}
}
Instance of Symbol 659 MovieClip "archy11" in Frame 9
onClipEvent (load) {
if (_root.archah >= 11) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 659 MovieClip "archy10" in Frame 9
onClipEvent (load) {
if (_root.archah >= 10) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 659 MovieClip "archy5" in Frame 9
onClipEvent (load) {
if (_root.archah >= 5) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 659 MovieClip "archy7" in Frame 9
onClipEvent (load) {
if (_root.archah >= 7) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 659 MovieClip "archy2" in Frame 9
onClipEvent (load) {
if (_root.archah >= 2) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 659 MovieClip "archy8" in Frame 9
onClipEvent (load) {
if (_root.archah >= 8) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 659 MovieClip "archy6" in Frame 9
onClipEvent (load) {
if (_root.archah >= 6) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 659 MovieClip "archy9" in Frame 9
onClipEvent (load) {
if (_root.archah >= 9) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 659 MovieClip "archy3" in Frame 9
onClipEvent (load) {
if (_root.archah >= 3) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 659 MovieClip "archy4" in Frame 9
onClipEvent (load) {
if (_root.archah >= 4) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 676 MovieClip "gunny7" in Frame 9
onClipEvent (load) {
if (_root.gunnah >= 7) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 676 MovieClip "gunny9" in Frame 9
onClipEvent (load) {
if (_root.gunnah >= 9) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 676 MovieClip "gunny1" in Frame 9
onClipEvent (load) {
if (_root.gunnah >= 1) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 676 MovieClip "gunny2" in Frame 9
onClipEvent (load) {
if (_root.gunnah >= 2) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 676 MovieClip "gunny8" in Frame 9
onClipEvent (load) {
if (_root.gunnah >= 8) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 676 MovieClip "gunny4" in Frame 9
onClipEvent (load) {
if (_root.gunnah >= 4) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 676 MovieClip "gunny3" in Frame 9
onClipEvent (load) {
if (_root.gunnah >= 3) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 676 MovieClip "gunny10" in Frame 9
onClipEvent (load) {
if (_root.gunnah >= 10) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 676 MovieClip "gunny11" in Frame 9
onClipEvent (load) {
if (_root.gunnah >= 11) {
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 1362 MovieClip in Frame 9
on (rollOver) {
_root.messy = "Sound annoying? Mute it.";
}
on (rollOut) {
_root.messy = "";
}
on (press) {
if (_root.battleMusicOn == true) {
_root.battleMusicOn = false;
stopAllSounds();
this.gotoAndStop(2);
} else if ((_root.level % _root.bossLev) == 0) {
stopAllSounds();
_root.sound.attachSound("bossMusic");
_root.battleMusicOn = true;
_root.sound.start(0, 60000);
_root.bossMusicOn = true;
} else {
_root.bossMusicOn = false;
_root.battleMusicOn = true;
musPlayo = random(4) + 1;
switch (musPlayo) {
case 1 :
_root.sound.attachSound("battleMusic");
break;
case 2 :
_root.sound.attachSound("fight1");
break;
case 3 :
_root.sound.attachSound("fight2");
break;
case 4 :
_root.sound.attachSound("fight3");
}
_root.sound.start(0, 60000);
this.gotoAndStop(1);
}
}
Instance of Symbol 1372 MovieClip "sheildy" in Frame 9
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.sheildUp == true) {
timeIt = timeIt - 1;
if (timeIt <= 0) {
timeIt = 0;
_root.sheildUp = false;
this._visible = false;
}
}
}
Instance of Symbol 1566 MovieClip "buyMenu" in Frame 9
onClipEvent (load) {
if (_root.loadedIt != 1) {
this._visible = false;
}
}
Instance of Symbol 1571 MovieClip "gameOvey" in Frame 9
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1580 MovieClip "winner" in Frame 9
onClipEvent (load) {
this._visible = false;
}
Frame 10
Mouse.show();
Instance of Symbol 247 MovieClip "cast1" in Frame 10
onClipEvent (enterFrame) {
if (_root.castleHp <= 0) {
gotoAndStop (11);
}
}
onClipEvent (enterFrame) {
if (_root.castleHp <= 50) {
gotoAndStop (12);
}
}
Frame 264
gotoAndStop ("menuuy");
Symbol 10 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 11 MovieClip [FScrollBarSymbol] Frame 1
#initclip 2
FScrollBarClass = function () {
if (this._height == 4) {
return(undefined);
}
this.init();
this.minPos = (this.maxPos = (this.pageSize = (this.largeScroll = 0)));
this.smallScroll = 1;
this.width = (this.horizontal ? (this._width) : (this._height));
this._xscale = (this._yscale = 100);
this.setScrollPosition(0);
this.tabEnabled = false;
if (this._targetInstanceName.length > 0) {
this.setScrollTarget(this._parent[this._targetInstanceName]);
}
this.tabChildren = false;
this.setSize(this.width);
};
FScrollBarClass.prototype = new FUIComponentClass();
FScrollBarClass.prototype.setHorizontal = function (flag) {
if (this.horizontal && (!flag)) {
this._xscale = 100;
this._rotation = 0;
} else if (flag && (!this.horizontal)) {
this._xscale = -100;
this._rotation = -90;
}
this.horizontal = flag;
};
FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) {
if (!this.enable) {
return(undefined);
}
this.pageSize = pSize;
this.minPos = Math.max(mnPos, 0);
this.maxPos = Math.max(mxPos, 0);
this.scrollPosition = Math.max(this.minPos, this.scrollPosition);
this.scrollPosition = Math.min(this.maxPos, this.scrollPosition);
if ((this.maxPos - this.minPos) <= 0) {
this.scrollThumb_mc.removeMovieClip();
this.upArrow_mc.gotoAndStop(3);
this.downArrow_mc.gotoAndStop(3);
this.downArrow_mc.onPress = (this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = null));
this.upArrow_mc.onPress = (this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = null));
this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onRelease = null);
this.scrollTrack_mc.onDragOut = (this.scrollTrack_mc.onRollOut = null);
this.scrollTrack_mc.useHandCursor = false;
} else {
var _local2 = this.getScrollPosition();
this.upArrow_mc.gotoAndStop(1);
this.downArrow_mc.gotoAndStop(1);
this.upArrow_mc.onPress = (this.upArrow_mc.onDragOver = this.startUpScroller);
this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = this.stopScrolling);
this.downArrow_mc.onPress = (this.downArrow_mc.onDragOver = this.startDownScroller);
this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = this.stopScrolling);
this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onDragOver = this.startTrackScroller);
this.scrollTrack_mc.onRelease = this.stopScrolling;
this.scrollTrack_mc.onDragOut = this.stopScrolling;
this.scrollTrack_mc.onRollOut = this.stopScrolling;
this.scrollTrack_mc.useHandCursor = false;
this.attachMovie("ScrollThumb", "scrollThumb_mc", 3);
this.scrollThumb_mc._x = 0;
this.scrollThumb_mc._y = this.upArrow_mc._height;
this.scrollThumb_mc.onPress = this.startDragThumb;
this.scrollThumb_mc.controller = this;
this.scrollThumb_mc.onRelease = (this.scrollThumb_mc.onReleaseOutside = this.stopDragThumb);
this.scrollThumb_mc.useHandCursor = false;
this.thumbHeight = (this.pageSize / ((this.maxPos - this.minPos) + this.pageSize)) * this.trackSize;
this.thumbMid_mc = this.scrollThumb_mc.mc_sliderMid;
this.thumbTop_mc = this.scrollThumb_mc.mc_sliderTop;
this.thumbBot_mc = this.scrollThumb_mc.mc_sliderBot;
this.thumbHeight = Math.max(this.thumbHeight, 6);
this.midHeight = (this.thumbHeight - this.thumbTop_mc._height) - this.thumbBot_mc._height;
this.thumbMid_mc._yScale = (this.midHeight * 100) / this.thumbMid_mc._height;
this.thumbMid_mc._y = this.thumbTop_mc._height;
this.thumbBot_mc._y = this.thumbTop_mc._height + this.midHeight;
this.scrollTop = this.scrollThumb_mc._y;
this.trackHeight = this.trackSize - this.thumbHeight;
this.scrollBot = this.trackHeight + this.scrollTop;
_local2 = Math.min(_local2, this.maxPos);
this.setScrollPosition(Math.max(_local2, this.minPos));
}
};
FScrollBarClass.prototype.getScrollPosition = function () {
return(this.scrollPosition);
};
FScrollBarClass.prototype.setScrollPosition = function (pos) {
this.scrollPosition = pos;
if (this.scrollThumb_mc != undefined) {
pos = Math.min(pos, this.maxPos);
pos = Math.max(pos, this.minPos);
}
this.scrollThumb_mc._y = (((pos - this.minPos) * this.trackHeight) / (this.maxPos - this.minPos)) + this.scrollTop;
this.executeCallBack();
};
FScrollBarClass.prototype.setLargeScroll = function (lScroll) {
this.largeScroll = lScroll;
};
FScrollBarClass.prototype.setSmallScroll = function (sScroll) {
this.smallScroll = sScroll;
};
FScrollBarClass.prototype.setEnabled = function (enabledFlag) {
var _local3 = this.enable;
if (enabledFlag && (!_local3)) {
this.enable = enabledFlag;
if (this.textField != undefined) {
this.setScrollTarget(this.textField);
} else {
this.setScrollProperties(this.pageSize, this.cachedMinPos, this.cachedMaxPos);
this.setScrollPosition(this.cachedPos);
}
this.clickFilter = undefined;
} else if ((!enabledFlag) && (_local3)) {
this.textField.removeListener(this);
this.cachedPos = this.getScrollPosition();
this.cachedMinPos = this.minPos;
this.cachedMaxPos = this.maxPos;
if (this.clickFilter == undefined) {
this.setScrollProperties(this.pageSize, 0, 0);
} else {
this.clickFilter = true;
}
this.enable = enabledFlag;
}
};
FScrollBarClass.prototype.setSize = function (hgt) {
if (this._height == 1) {
return(undefined);
}
this.width = hgt;
this.scrollTrack_mc._yscale = 100;
this.scrollTrack_mc._yscale = (100 * this.width) / this.scrollTrack_mc._height;
if (this.upArrow_mc == undefined) {
this.attachMovie("UpArrow", "upArrow_mc", 1);
this.attachMovie("DownArrow", "downArrow_mc", 2);
this.downArrow_mc.controller = (this.upArrow_mc.controller = this);
this.upArrow_mc.useHandCursor = (this.downArrow_mc.useHandCursor = false);
this.upArrow_mc._x = (this.upArrow_mc._y = 0);
this.downArrow_mc._x = 0;
}
this.scrollTrack_mc.controller = this;
this.downArrow_mc._y = this.width - this.downArrow_mc._height;
this.trackSize = this.width - (2 * this.downArrow_mc._height);
if (this.textField != undefined) {
this.onTextChanged();
} else {
this.setScrollProperties(this.pageSize, this.minPos, this.maxPos);
}
};
FScrollBarClass.prototype.scrollIt = function (inc, mode) {
var _local3 = this.smallScroll;
if (inc != "one") {
_local3 = ((this.largeScroll == 0) ? (this.pageSize) : (this.largeScroll));
}
var _local2 = this.getScrollPosition() + (mode * _local3);
if (_local2 > this.maxPos) {
_local2 = this.maxPos;
} else if (_local2 < this.minPos) {
_local2 = this.minPos;
}
this.setScrollPosition(_local2);
};
FScrollBarClass.prototype.startDragThumb = function () {
this.lastY = this._ymouse;
this.onMouseMove = this.controller.dragThumb;
};
FScrollBarClass.prototype.dragThumb = function () {
this.scrollMove = this._ymouse - this.lastY;
this.scrollMove = this.scrollMove + this._y;
if (this.scrollMove < this.controller.scrollTop) {
this.scrollMove = this.controller.scrollTop;
} else if (this.scrollMove > this.controller.scrollBot) {
this.scrollMove = this.controller.scrollBot;
}
this._y = this.scrollMove;
var _local2 = this.controller;
_local2.scrollPosition = Math.round(((_local2.maxPos - _local2.minPos) * (this._y - _local2.scrollTop)) / _local2.trackHeight) + _local2.minPos;
this.controller.isScrolling = true;
updateAfterEvent();
this.controller.executeCallBack();
};
FScrollBarClass.prototype.stopDragThumb = function () {
this.controller.isScrolling = false;
this.onMouseMove = null;
};
FScrollBarClass.prototype.startTrackScroller = function () {
this.controller.trackScroller();
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "page", -1);
};
FScrollBarClass.prototype.scrollInterval = function (inc, mode) {
clearInterval(this.scrolling);
if (inc == "page") {
this.trackScroller();
} else {
this.scrollIt(inc, mode);
}
this.scrolling = setInterval(this, "scrollInterval", 35, inc, mode);
};
FScrollBarClass.prototype.trackScroller = function () {
if ((this.scrollThumb_mc._y + this.thumbHeight) < this._ymouse) {
this.scrollIt("page", 1);
} else if (this.scrollThumb_mc._y > this._ymouse) {
this.scrollIt("page", -1);
}
};
FScrollBarClass.prototype.stopScrolling = function () {
this.controller.downArrow_mc.gotoAndStop(1);
this.controller.upArrow_mc.gotoAndStop(1);
clearInterval(this.controller.scrolling);
};
FScrollBarClass.prototype.startUpScroller = function () {
this.controller.upArrow_mc.gotoAndStop(2);
this.controller.scrollIt("one", -1);
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", -1);
};
FScrollBarClass.prototype.startDownScroller = function () {
this.controller.downArrow_mc.gotoAndStop(2);
this.controller.scrollIt("one", 1);
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", 1);
};
FScrollBarClass.prototype.setScrollTarget = function (tF) {
if (tF == undefined) {
this.textField.removeListener(this);
delete this.textField[(this.horizontal ? "hScroller" : "vScroller")];
if ((this.textField.hScroller != undefined) && (this.textField.vScroller != undefined)) {
this.textField.unwatch("text");
this.textField.unwatch("htmltext");
}
}
this.textField = undefined;
if (!(tF instanceof TextField)) {
return(undefined);
}
this.textField = tF;
this.textField[(this.horizontal ? "hScroller" : "vScroller")] = this;
this.onTextChanged();
this.onChanged = function () {
this.onTextChanged();
};
this.onScroller = function () {
if (!this.isScrolling) {
if (!this.horizontal) {
this.setScrollPosition(this.textField.scroll);
} else {
this.setScrollPosition(this.textField.hscroll);
}
}
};
this.textField.addListener(this);
this.textField.watch("text", this.callback);
this.textField.watch("htmlText", this.callback);
};
FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) {
clearInterval(this.hScroller.synchScroll);
clearInterval(this.vScroller.synchScroll);
this.hScroller.synchScroll = setInterval(this.hScroller, "onTextChanged", 50);
this.vScroller.synchScroll = setInterval(this.vScroller, "onTextChanged", 50);
return(newVal);
};
FScrollBarClass.prototype.onTextChanged = function () {
if ((!this.enable) || (this.textField == undefined)) {
return(undefined);
}
clearInterval(this.synchScroll);
if (this.horizontal) {
var _local3 = this.textField.hscroll;
this.setScrollProperties(this.textField._width, 0, this.textField.maxhscroll);
this.setScrollPosition(Math.min(_local3, this.textField.maxhscroll));
} else {
var _local3 = this.textField.scroll;
var _local2 = this.textField.bottomScroll - this.textField.scroll;
this.setScrollProperties(_local2, 1, this.textField.maxscroll);
this.setScrollPosition(Math.min(_local3, this.textField.maxscroll));
}
};
FScrollBarClass.prototype.executeCallBack = function () {
if (this.textField == undefined) {
super.executeCallBack();
} else if (this.horizontal) {
this.textField.hscroll = this.getScrollPosition();
} else {
this.textField.scroll = this.getScrollPosition();
}
};
Object.registerClass("FScrollBarSymbol", FScrollBarClass);
#endinitclip
Symbol 12 MovieClip [FUIComponentSymbol] Frame 1
#initclip 1
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
this.enable = true;
this.focused = false;
this.useHandCursor = false;
this._accImpl = new Object();
this._accImpl.stub = true;
this.styleTable = new Array();
if (_global.globalStyleFormat == undefined) {
_global.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_global._focusControl = new Object();
_global._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_global._focusControl);
}
if (this._name != undefined) {
this._focusrect = false;
this.tabEnabled = true;
this.focusEnabled = true;
this.tabChildren = false;
this.tabFocused = true;
if (this.hostStyle == undefined) {
globalStyleFormat.addListener(this);
} else {
this.styleTable = this.hostStyle;
}
this.deadPreview._visible = false;
this.deadPreview._width = (this.deadPreview._height = 1);
this.methodTable = new Object();
this.keyListener = new Object();
this.keyListener.controller = this;
this.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
this.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var _local3 in this.styleFormat_prm) {
this.setStyleProperty(_local3, this.styleFormat_prm[_local3]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
this.enable = ((arguments.length > 0) ? (enabledFlag) : true);
this.tabEnabled = (this.focusEnabled = enabledFlag);
if ((!this.enable) && (this.focused)) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return(this.enable);
};
FUIComponentClass.prototype.setSize = function (w, h) {
this.width = w;
this.height = h;
this.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
this.handlerObj = ((obj == undefined) ? (this._parent) : (obj));
this.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
this.methodTable[methodName] = true;
this.onEnterFrame = this.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
if (this.methodTable.setSize) {
this.setSize(this.width, this.height);
} else {
this.cleanUINotSize();
}
this.methodTable = new Object();
delete this.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
for (var _local2 in this.methodTable) {
this[_local2]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var _local4 = this.styleTable.focusRectInner.value;
var _local5 = this.styleTable.focusRectOuter.value;
if (_local4 == undefined) {
_local4 = 16777215 /* 0xFFFFFF */;
}
if (_local5 == undefined) {
_local5 = 0;
}
this.createEmptyMovieClip("focusRect", 1000);
this.focusRect.controller = this;
this.focusRect.lineStyle(1, _local5);
this.focusRect.moveTo(x, y);
this.focusRect.lineTo(x + w, y);
this.focusRect.lineTo(x + w, y + h);
this.focusRect.lineTo(x, y + h);
this.focusRect.lineTo(x, y);
this.focusRect.lineStyle(1, _local4);
this.focusRect.moveTo(x + 1, y + 1);
this.focusRect.lineTo((x + w) - 1, y + 1);
this.focusRect.lineTo((x + w) - 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, y + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
this.tabFocused = false;
this.focusRect.removeMovieClip();
Selection.setFocus(this);
};
FUIComponentClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this.width + 4, this.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
this.focused = true;
Key.addListener(this.keyListener);
if (this.tabFocused) {
this.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
this.tabFocused = true;
this.focused = false;
this.focusRect.removeMovieClip();
Key.removeListener(this.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
this.handlerObj[this.changeHandler](this);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
if (value == "") {
return(undefined);
}
var _local17 = parseInt(value);
if (!isNaN(_local17)) {
value = _local17;
}
var _local16 = ((arguments.length > 2) ? (isGlobal) : false);
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].useGlobal || (!_local16)) {
this.styleTable[propName].value = value;
if (this.setCustomStyleProperty(propName, value)) {
} else if (propName == "embedFonts") {
this.invalidate("setSize");
} else if (propName.subString(0, 4) == "text") {
if (this.textStyle == undefined) {
this.textStyle = new TextFormat();
}
var _local18 = propName.subString(4, propName.length);
this.textStyle[_local18] = value;
this.invalidate("setSize");
} else {
for (var _local15 in this.styleTable[propName].coloredMCs) {
var _local4 = new Color(this.styleTable[propName].coloredMCs[_local15]);
if (this.styleTable[propName].value == undefined) {
var _local5 = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
_local4.setTransform(_local5);
} else {
_local4.setRGB(value);
}
}
}
this.styleTable[propName].useGlobal = _local16;
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].coloredMCs == undefined) {
this.styleTable[propName].coloredMCs = new Object();
}
this.styleTable[propName].coloredMCs[skinMCRef] = skinMCRef;
if (this.styleTable[propName].value != undefined) {
var _local4 = new Color(skinMCRef);
_local4.setRGB(this.styleTable[propName].value);
}
};
_global.FStyleFormat = function () {
this.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true};
this.listeners = new Object();
this.isGlobal = false;
if (arguments.length > 0) {
for (var _local3 in arguments[0]) {
this[_local3] = arguments[0][_local3];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var _local3 = 0;
while (_local3 < arguments.length) {
var _local4 = arguments[_local3];
this.listeners[arguments[_local3]] = _local4;
for (var _local5 in this) {
if (this.isAStyle(_local5)) {
_local4.updateStyleProperty(this, _local5.toString());
}
}
_local3++;
}
};
FStyleFormat.prototype.removeListener = function (component) {
this.listeners[component] = undefined;
for (var _local4 in this) {
if (this.isAStyle(_local4)) {
if (component.styleTable[_local4].useGlobal == this.isGlobal) {
component.styleTable[_local4].useGlobal = true;
var _local3 = (this.isGlobal ? undefined : (globalStyleFormat[_local4]));
component.setStyleProperty(_local4, _local3, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var _local6 = 0;
for (var _local5 in this.listeners) {
var _local3 = this.listeners[_local5];
if (arguments.length > 0) {
var _local4 = 0;
while (_local4 < arguments.length) {
if (this.isAStyle(arguments[_local4])) {
_local3.updateStyleProperty(this, arguments[_local4]);
}
_local4++;
}
} else {
for (var _local4 in this) {
if (this.isAStyle(_local4)) {
_local3.updateStyleProperty(this, _local4.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 25 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 35 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 44 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 45 MovieClip [UpArrow] Frame 1
stop();
Symbol 45 MovieClip [UpArrow] Frame 2
stop();
Symbol 45 MovieClip [UpArrow] Frame 3
stop();
Symbol 52 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 59 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 64 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(highlight3D_mc, "highlight3D");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
Symbol 65 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 73 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 81 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 89 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 90 MovieClip [DownArrow] Frame 1
stop();
Symbol 90 MovieClip [DownArrow] Frame 2
stop();
Symbol 90 MovieClip [DownArrow] Frame 3
stop();
Symbol 121 MovieClip [nuke] Frame 52
_root.nuked = 1;
Symbol 121 MovieClip [nuke] Frame 71
this._visible = false;
this.stop();
Symbol 129 Button
on (press) {
_root.shad.play();
}
Symbol 131 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 131 MovieClip Frame 2
gotoAndPlay (1);
Symbol 135 MovieClip Frame 1
stop();
Mouse.hide();
Symbol 137 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 10
_root.gotoAndPlay("intro");
Symbol 167 MovieClip Frame 1
gotoAndStop(_root.arms);
Symbol 190 MovieClip Frame 1
gotoAndStop(_root.bottom);
Symbol 209 MovieClip Frame 1
gotoAndStop(_root.mid);
Symbol 224 MovieClip Frame 1
gotoAndStop(_root.door);
Symbol 246 MovieClip Frame 1
gotoAndStop(_root.top);
Instance of Symbol 219 MovieClip "wind" in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.windows);
}
Instance of Symbol 219 MovieClip "wind2" in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.windows);
}
Instance of Symbol 219 MovieClip "wind4" in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.windows);
}
Symbol 253 Button
on (press) {
getURL ("http://www.antitudegames.com", "_blank");
}
Symbol 261 Button
on (rollOver) {
_root.text1 = "Play in the Classic modes. Classic, Drag and Drop, Hold, and even customize the game to your liking!";
}
on (rollOut) {
_root.text1 = "Welcome to Demonic Defence 4";
}
on (press) {
gotoAndStop (3);
}
Symbol 264 Button
on (rollOver) {
_root.text1 = "Learn how to correctly play the game";
}
on (rollOut) {
_root.text1 = "Welcome to Demonic Defence 4";
}
on (release) {
gotoAndStop (7);
}
Symbol 266 Button
on (rollOver) {
_root.text1 = "Veiw at the Creators and Sponcers for the game!";
}
on (rollOut) {
_root.text1 = "Welcome to Demonic Defence 4";
}
on (press) {
_root.gotoAndStop(8);
}
Symbol 268 Button
on (rollOver) {
_root.text1 = "Play more great games!";
}
on (rollOut) {
_root.text1 = "Welcome to Demonic Defence 4";
}
on (release) {
getURL ("http://www.antitudegames.com", "_blank");
}
Symbol 270 Button
on (rollOver) {
_root.text1 = "Customize your castle!";
}
on (rollOut) {
_root.text1 = "";
}
on (release) {
gotoAndStop (5);
}
Symbol 274 Button
on (rollOver) {
_root.text1 = "Load one of your saved games!";
}
on (rollOut) {
_root.text1 = "Welcome to Demonic Defence 4";
}
on (press) {
gotoAndStop (2);
}
Symbol 277 Button
on (rollOver) {
_root.text1 = "Close Load Menu";
}
on (rollOut) {
_root.text1 = "Welcome to Demonic Defence 4";
}
on (press) {
gotoAndStop (1);
}
Symbol 285 Button
on (press, release) {
if (_root.alreadySaved1 == 1) {
hoe = 4;
_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.user = getCookie("database" + hoe, "iteem34");
_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.sheildSpell = getCookie("database" + hoe, "iteem41");
_root.ylvl = getCookie("database" + hoe, "iteem42");
_root.expYou = getCookie("database" + hoe, "iteem43");
_root.expMax = getCookie("database" + hoe, "iteem44");
_root.dragonSpell = getCookie("database" + hoe, "iteem45");
_root.lightSpell2 = getCookie("database" + hoe, "iteem46");
_root.spe = getCookie("database" + hoe, "iteem47");
_root.str = getCookie("database" + hoe, "iteem48");
_root.vit = getCookie("database" + hoe, "iteem49");
_root.sum = getCookie("database" + hoe, "iteem50");
_root.def = getCookie("database" + hoe, "iteem51");
_root.top = getCookie("database" + hoe, "iteem52");
_root.arms = getCookie("database" + hoe, "iteem53");
_root.bottom = getCookie("database" + hoe, "iteem54");
_root.mid = getCookie("database" + hoe, "iteem55");
_root.windows = getCookie("database" + hoe, "iteem56");
_root.door = getCookie("database" + hoe, "iteem57");
_root.spoints = getCookie("database" + hoe, "iteem58");
_root.spearSpell = getCookie("database" + hoe, "iteem59");
_root.autoSaveOn = getCookie("database" + hoe, "iteem60");
_root.clockHours = getCookie("database" + hoe, "iteem61");
_root.clockMinutes = getCookie("database" + hoe, "iteem62");
_root.clockSeconds = getCookie("database" + hoe, "iteem63");
_root.cast1.tipo.gotoAndStop(_root.top);
_root.cast1.armos.gotoAndStop(_root.arms);
_root.cast1.wind.gotoAndStop(_root.windows);
_root.cast1.wind2.gotoAndStop(_root.windows);
_root.cast1.wind4.gotoAndStop(_root.windows);
_root.cast1.mido.gotoAndStop(_root.mid);
_root.cast1.botto.gotoAndStop(_root.bottom);
_root.cast1.dooro.gotoAndStop(_root.door);
_root.menuMessage = "Welcome back, " + _root.user;
gotoAndStop (1);
}
}
Symbol 289 Button
on (press, release) {
if (_root.alreadySaved1 == 1) {
hoe = 5;
_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.user = getCookie("database" + hoe, "iteem34");
_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.sheildSpell = getCookie("database" + hoe, "iteem41");
_root.ylvl = getCookie("database" + hoe, "iteem42");
_root.expYou = getCookie("database" + hoe, "iteem43");
_root.expMax = getCookie("database" + hoe, "iteem44");
_root.dragonSpell = getCookie("database" + hoe, "iteem45");
_root.lightSpell2 = getCookie("database" + hoe, "iteem46");
_root.spe = getCookie("database" + hoe, "iteem47");
_root.str = getCookie("database" + hoe, "iteem48");
_root.vit = getCookie("database" + hoe, "iteem49");
_root.sum = getCookie("database" + hoe, "iteem50");
_root.def = getCookie("database" + hoe, "iteem51");
_root.top = getCookie("database" + hoe, "iteem52");
_root.arms = getCookie("database" + hoe, "iteem53");
_root.bottom = getCookie("database" + hoe, "iteem54");
_root.mid = getCookie("database" + hoe, "iteem55");
_root.windows = getCookie("database" + hoe, "iteem56");
_root.door = getCookie("database" + hoe, "iteem57");
_root.spoints = getCookie("database" + hoe, "iteem58");
_root.spearSpell = getCookie("database" + hoe, "iteem59");
_root.autoSaveOn = getCookie("database" + hoe, "iteem60");
_root.clockHours = getCookie("database" + hoe, "iteem61");
_root.clockMinutes = getCookie("database" + hoe, "iteem62");
_root.clockSeconds = getCookie("database" + hoe, "iteem63");
_root.cast1.tipo.gotoAndStop(_root.top);
_root.cast1.armos.gotoAndStop(_root.arms);
_root.cast1.wind.gotoAndStop(_root.windows);
_root.cast1.wind2.gotoAndStop(_root.windows);
_root.cast1.wind4.gotoAndStop(_root.windows);
_root.cast1.mido.gotoAndStop(_root.mid);
_root.cast1.botto.gotoAndStop(_root.bottom);
_root.cast1.dooro.gotoAndStop(_root.door);
_root.menuMessage = "Welcome back, " + _root.user;
gotoAndStop (1);
}
}
Symbol 290 Button
on (press, release) {
if (_root.alreadySaved1 == 1) {
hoe = 6;
_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.user = getCookie("database" + hoe, "iteem34");
_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.sheildSpell = getCookie("database" + hoe, "iteem41");
_root.ylvl = getCookie("database" + hoe, "iteem42");
_root.expYou = getCookie("database" + hoe, "iteem43");
_root.expMax = getCookie("database" + hoe, "iteem44");
_root.dragonSpell = getCookie("database" + hoe, "iteem45");
_root.lightSpell2 = getCookie("database" + hoe, "iteem46");
_root.spe = getCookie("database" + hoe, "iteem47");
_root.str = getCookie("database" + hoe, "iteem48");
_root.vit = getCookie("database" + hoe, "iteem49");
_root.sum = getCookie("database" + hoe, "iteem50");
_root.def = getCookie("database" + hoe, "iteem51");
_root.top = getCookie("database" + hoe, "iteem52");
_root.arms = getCookie("database" + hoe, "iteem53");
_root.bottom = getCookie("database" + hoe, "iteem54");
_root.mid = getCookie("database" + hoe, "iteem55");
_root.windows = getCookie("database" + hoe, "iteem56");
_root.door = getCookie("database" + hoe, "iteem57");
_root.spoints = getCookie("database" + hoe, "iteem58");
_root.autoSaveOn = getCookie("database" + hoe, "iteem60");
_root.clockHours = getCookie("database" + hoe, "iteem61");
_root.clockMinutes = getCookie("database" + hoe, "iteem62");
_root.clockSeconds = getCookie("database" + hoe, "iteem63");
_root.cast1.tipo.gotoAndStop(_root.top);
_root.cast1.armos.gotoAndStop(_root.arms);
_root.cast1.wind.gotoAndStop(_root.windows);
_root.cast1.wind2.gotoAndStop(_root.windows);
_root.cast1.wind4.gotoAndStop(_root.windows);
_root.cast1.mido.gotoAndStop(_root.mid);
_root.cast1.botto.gotoAndStop(_root.bottom);
_root.cast1.dooro.gotoAndStop(_root.door);
_root.spearSpell = getCookie("database" + hoe, "iteem59");
_root.menuMessage = "Welcome back, " + _root.user;
gotoAndStop (1);
}
}
Symbol 297 MovieClip Frame 1
stop();
Symbol 297 MovieClip Frame 2
tempy1 = getCookie("database4", "iteem34");
tempy2 = getCookie("database5", "iteem34");
tempy3 = getCookie("database6", "iteem34");
if (_root.alreadySaved1 != 1) {
tempy1 = "No Data";
}
if (_root.alreadySaved2 != 1) {
tempy2 = "No Data";
}
if (_root.alreadySaved3 != 1) {
tempy3 = "No Data";
}
stop();
Instance of Symbol 247 MovieClip "cast1" in Symbol 297 MovieClip Frame 2
onClipEvent (load) {
if (_root.alreadySaved1 == 1) {
this.loadCast = true;
checko = getCookie("database4", "iteem22");
_parent.onLevel = "Level: " + checko;
checko2 = getCookie("database4", "iteem42");
_parent.levy = "CLev: " + checko2;
} else {
this._visible = false;
_parent.load1._visible = false;
}
}
onClipEvent (enterFrame) {
if ((this._visible == true) && (didIt != true)) {
hoe = 4;
temp = getCookie("database" + hoe, "iteem52");
temp2 = getCookie("database" + hoe, "iteem53");
temp3 = getCookie("database" + hoe, "iteem54");
temp4 = getCookie("database" + hoe, "iteem55");
temp5 = getCookie("database" + hoe, "iteem56");
temp6 = getCookie("database" + hoe, "iteem57");
this.tipo.gotoAndStop(temp);
this.armos.gotoAndStop(temp2);
this.botto.gotoAndStop(temp3);
this.mido.gotoAndStop(temp4);
this.wind.gotoAndStop(temp5);
this.wind2.gotoAndStop(temp5);
this.wind4.gotoAndStop(temp5);
this.dooro.gotoAndStop(temp6);
didIt = true;
}
}
Instance of Symbol 247 MovieClip "cast1" in Symbol 297 MovieClip Frame 2
onClipEvent (load) {
if (_root.alreadySaved2 == 1) {
this.loadCast = true;
checko = getCookie("database5", "iteem22");
_parent.onLevel2 = "Level: " + checko;
checko2 = getCookie("database5", "iteem42");
_parent.levy2 = "CLev: " + checko2;
} else {
this._visible = false;
_parent.load2._visible = false;
}
}
onClipEvent (enterFrame) {
if ((this._visible == true) && (didIt != true)) {
hoe = 5;
temp = getCookie("database" + hoe, "iteem52");
temp2 = getCookie("database" + hoe, "iteem53");
temp3 = getCookie("database" + hoe, "iteem54");
temp4 = getCookie("database" + hoe, "iteem55");
temp5 = getCookie("database" + hoe, "iteem56");
temp6 = getCookie("database" + hoe, "iteem57");
this.tipo.gotoAndStop(temp);
this.armos.gotoAndStop(temp2);
this.botto.gotoAndStop(temp3);
this.mido.gotoAndStop(temp4);
this.wind.gotoAndStop(temp5);
this.wind2.gotoAndStop(temp5);
this.wind4.gotoAndStop(temp5);
this.dooro.gotoAndStop(temp6);
didIt = true;
}
}
Instance of Symbol 247 MovieClip "cast1" in Symbol 297 MovieClip Frame 2
onClipEvent (load) {
if (_root.alreadySaved3 == 1) {
this.loadCast = true;
checko = getCookie("database6", "iteem22");
_parent.onLevel3 = "Level: " + checko;
checko2 = getCookie("database6", "iteem42");
_parent.levy3 = "CLev: " + checko2;
} else {
this._visible = false;
_parent.load3._visible = false;
}
}
onClipEvent (enterFrame) {
if ((this._visible == true) && (didIt != true)) {
hoe = 6;
temp = getCookie("database" + hoe, "iteem52");
temp2 = getCookie("database" + hoe, "iteem53");
temp3 = getCookie("database" + hoe, "iteem54");
temp4 = getCookie("database" + hoe, "iteem55");
temp5 = getCookie("database" + hoe, "iteem56");
temp6 = getCookie("database" + hoe, "iteem57");
this.tipo.gotoAndStop(temp);
this.armos.gotoAndStop(temp2);
this.botto.gotoAndStop(temp3);
this.mido.gotoAndStop(temp4);
this.wind.gotoAndStop(temp5);
this.wind2.gotoAndStop(temp5);
this.wind4.gotoAndStop(temp5);
this.dooro.gotoAndStop(temp6);
didIt = true;
}
}
Symbol 298 Button
on (rollOver) {
_root.text1 = "Play the game in the Classic game mode";
}
on (rollOut) {
_root.text1 = "Welcome to Demonic Defence 4";
}
on (release) {
_root.dragOn = 0;
_root.holdIt = 0;
_root.mode = "Classic";
_root.modey = "Classic";
gotoAndStop (4);
}
Symbol 301 Button
on (rollOver) {
_root.text1 = "Play the game in the Hold mode!";
}
on (rollOut) {
_root.text1 = "Welcome to Demonic Defence 4";
}
on (release) {
_root.dragOn = 0;
_root.holdIt = 1;
_root.mode = "Hold";
gotoAndStop (4);
}
Symbol 303 Button
on (rollOver) {
_root.text1 = "Play the game in the popular Drag and Drop mode!";
}
on (rollOut) {
_root.text1 = "Welcome to Demonic Defence 4";
}
on (release) {
_root.dragOn = 1;
_root.holdIt = 0;
_root.mode = "Drag And Drop";
gotoAndStop (4);
}
Symbol 305 Button
on (rollOver) {
_root.text1 = "Create your own way to play in this new Custimize mode!";
}
on (rollOut) {
_root.text1 = "Welcome to Demonic Defence 4";
}
on (release) {
gotoAndStop (6);
}
Symbol 306 Button
on (rollOver) {
_root.text1 = "Return to the Main Menu";
}
on (rollOut) {
_root.text1 = "Welcome to Demonic Defence 4";
}
on (press) {
gotoAndStop (2);
}
Symbol 309 Button
on (rollOver) {
_root.text1 = "Play The game";
}
on (rollOut) {
_root.text1 = "You have selected " + _root.mode;
}
on (release) {
_root.chooseBackground = "Random";
if (_root.loadedIt != 1) {
_root.stat._visible = true;
} else {
stopAllSounds();
_root.menuMusicOn = false;
_root.gotoAndStop("game");
}
}
Symbol 312 Button
on (rollOver) {
_root.text1 = "Return to the Arcade Menu";
}
on (rollOut) {
_root.text1 = "You have selected " + _root.mode;
}
on (release) {
gotoAndStop (3);
}
Symbol 314 Button
on (rollOver) {
_root.text1 = "Return to the Main Menu";
}
on (rollOut) {
_root.text1 = "You have selected " + _root.mode;
}
on (release) {
gotoAndStop (2);
}
Symbol 316 Button
on (press) {
_parent.startDrag();
}
on (release) {
_parent.stopDrag();
}
Symbol 318 Button
on (release) {
_parent._visible = false;
}
Symbol 320 Button
on (rollOver) {
_root.text1 = "Learn how to correctly play the game";
}
on (rollOut) {
_root.text1 = "Welcome to Demonic Defence 4";
}
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 321 Button
on (rollOver) {
_root.text1 = "Change game options.";
}
on (rollOut) {
_root.text1 = "Welcome to Demonic Defence 4";
}
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.user = _root.user2;
_root.gotoAndPlay(3);
}
}
Symbol 322 Button
on (rollOver) {
_root.text1 = "DownLoad the game right to your desktop!";
}
on (rollOut) {
_root.text1 = "Welcome to Demonic Defence 4";
}
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.user = _root.user3;
_root.gotoAndStop(3);
}
}
Symbol 343 Button
on (press) {
if (_root.spoints > 0) {
if (_root.str < 5) {
_root.str = _root.str + 1;
_root.str1 = "Strength: " + _root.str;
_root.spoints = _root.spoints - 1;
_root.mstats = ("You currently have " + _root.spoints) + " stats.";
} else {
_root.no = "Strength currently maxed!";
}
} else {
_root.no = "You have no more points!";
}
}
Symbol 344 Button
on (press) {
if (_root.spoints > 0) {
if (_root.def < 5) {
_root.def = _root.def + 1;
_root.def1 = "Defence: " + _root.def;
_root.spoints = _root.spoints - 1;
_root.mstats = ("You currently have " + _root.spoints) + " stats.";
} else {
_root.no = "Defence currently maxed!";
}
} else {
_root.no = "You have no more points!";
}
}
Symbol 345 Button
on (press) {
if (_root.spoints > 0) {
if (_root.vit < 5) {
_root.castleMaxHp = _root.castleMaxHp + 6;
_root.vit = _root.vit + 1;
_root.vit1 = "Vitality: " + _root.vit;
_root.spoints = _root.spoints - 1;
_root.mstats = ("You currently have " + _root.spoints) + " stats.";
} else {
_root.no = "Vitality currently maxed!";
}
} else {
_root.no = "You have no more points!";
}
}
Symbol 346 Button
on (press) {
if (_root.spoints > 0) {
if (_root.spe < 5) {
_root.spe = _root.spe + 1;
_root.speed1 = "Speed: " + _root.spe;
_root.spoints = _root.spoints - 1;
_root.mstats = ("You currently have " + _root.spoints) + " stats.";
} else {
_root.no = "Speed currently maxed!";
}
} else {
_root.no = "You have no more points!";
}
}
Symbol 347 Button
on (press) {
if (_root.spoints > 0) {
if (_root.sum < 5) {
_root.sum = _root.sum + 1;
_root.sum1 = "Spells: " + _root.sum;
_root.spoints = _root.spoints - 1;
_root.mstats = ("You currently have " + _root.spoints) + " stats.";
} else {
_root.no = "Spells currently maxed!";
}
} else {
_root.no = "You have no more points!";
}
}
Symbol 348 Button
on (press) {
if (_root.str > 0) {
_root.str = _root.str - 1;
_root.str1 = "Strength: " + _root.str;
_root.spoints = _root.spoints + 1;
_root.mstats = ("You currently have " + _root.spoints) + " stats.";
}
}
Symbol 349 Button
on (press) {
if (_root.def > 0) {
_root.def = _root.def - 1;
_root.def1 = "Defence: " + _root.def;
_root.spoints = _root.spoints + 1;
_root.mstats = ("You currently have " + _root.spoints) + " stats.";
}
}
Symbol 350 Button
on (press) {
if (_root.vit > 0) {
_root.castleMaxHp = _root.castleMaxHp - 6;
_root.vit = _root.vit - 1;
_root.vit1 = "Vitility: " + _root.vit;
_root.spoints = _root.spoints + 1;
_root.mstats = ("You currently have " + _root.spoints) + " stats.";
}
}
Symbol 351 Button
on (press) {
if (_root.spe > 0) {
_root.spe = _root.spe - 1;
_root.speed1 = "Speed: " + _root.spe;
_root.spoints = _root.spoints + 1;
_root.mstats = ("You currently have " + _root.spoints) + " stats.";
}
}
Symbol 352 Button
on (press) {
if (_root.sum > 0) {
_root.sum = _root.sum - 1;
_root.sum1 = "Spells: " + _root.sum;
_root.spoints = _root.spoints + 1;
_root.mstats = ("You currently have " + _root.spoints) + " stats.";
}
}
Symbol 357 Button
on (release) {
if (((((((((((_root.user == "") or (_root.user == "Enter Name")) or (_root.user == " ")) or (_root.user == " ")) or (_root.user == " ")) or (_root.user == " ")) or (_root.user == " ")) or (_root.user == " ")) or (_root.user == " ")) or (_root.user == " ")) or (_root.user == " ")) {
_root.no = "ENTER USER!";
} else {
stopAllSounds();
_root.menuMusicOn = false;
_root.gotoAndStop("game");
}
}
Symbol 364 Button
on (rollOver) {
_root.text1 = "Change the Top of your castle";
}
on (rollOut) {
_root.text1 = "Create A Castle";
}
on (release) {
_root.top = _root.top + 1;
if (_root.top > 17) {
_root.top = 1;
}
_root.cast1.tipo.gotoAndStop(_root.top);
}
Symbol 365 Button
on (rollOver) {
_root.text1 = "Change the windows of your castle";
}
on (rollOut) {
_root.text1 = "Create A Castle";
}
on (release) {
_root.windows = _root.windows + 1;
if (_root.windows > 10) {
_root.windows = 1;
}
_root.cast1.wind.gotoAndStop(_root.windows);
_root.cast1.wind2.gotoAndStop(_root.windows);
_root.cast1.wind3.gotoAndStop(_root.windows);
_root.cast1.wind4.gotoAndStop(_root.windows);
_root.cast1.wind5.gotoAndStop(_root.windows);
}
Symbol 367 Button
on (rollOver) {
_root.text1 = "Change the door of your castle";
}
on (rollOut) {
_root.text1 = "Create A Castle";
}
on (release) {
_root.door = _root.door + 1;
if (_root.door > 4) {
_root.door = 1;
}
_root.cast1.dooro.gotoAndStop(_root.door);
}
Symbol 368 Button
on (rollOver) {
_root.text1 = "Return to the Main Menu";
}
on (rollOut) {
_root.text1 = "Create A Castle";
}
on (release) {
gotoAndStop (2);
}
Symbol 369 Button
on (rollOver) {
_root.text1 = "Change the bottom of your castle";
}
on (rollOut) {
_root.text1 = "Create A Castle";
}
on (release) {
_root.bottom = _root.bottom + 1;
if (_root.bottom > 22) {
_root.bottom = 1;
}
_root.cast1.botto.gotoAndStop(_root.bottom);
}
Symbol 373 Button
on (rollOver) {
_root.text1 = "Change the arms of your castle";
}
on (rollOut) {
_root.text1 = "Create A Castle";
}
on (release) {
_root.arms = _root.arms + 1;
if (_root.arms > 23) {
_root.arms = 1;
}
_root.cast1.armos.gotoAndStop(_root.arms);
}
Symbol 375 Button
on (rollOver) {
_root.text1 = "Change the middle of your castle";
}
on (rollOut) {
_root.text1 = "Create A Castle";
}
on (release) {
_root.mid = _root.mid + 1;
if (_root.mid > 23) {
_root.mid = 1;
}
_root.cast1.mido.gotoAndStop(_root.mid);
}
Symbol 378 Button
on (rollOver) {
_root.text1 = "Play your customized game!";
}
on (rollOut) {
_root.text1 = "Welcome to the Create Game Mode";
}
on (press) {
_root.customPlay = true;
if (_root.loadedIt != 1) {
_root.stat._visible = true;
} else {
_root.gotoAndStop("game");
}
}
Symbol 380 Button
on (press) {
if (_root.hlevel > 0) {
_root.hlevel = _root.hlevel - 1;
}
}
Symbol 381 Button
on (press) {
_root.hlevel = _root.hlevel + 1;
}
Symbol 384 Button
on (press) {
if (_root.enemoDe > 5) {
_root.enemoDe = _root.enemoDe - 1;
}
}
Symbol 385 Button
on (press) {
_root.enemoDe = _root.enemoDe + 1;
}
Symbol 386 Button
on (press) {
if (_root.bossLev > 1) {
_root.bossLev = _root.bossLev - 1;
_root.bossMes = _root.bossLev + " Levels";
}
}
Symbol 387 Button
on (press) {
if (_root.bossLev < 30) {
_root.bossLev = _root.bossLev + 1;
_root.bossMes = _root.bossLev + " Levels";
}
}
Symbol 390 Button
on (press) {
if (_root.enemyLim != "No Limit") {
_root.enemyLim = _root.enemyLim - 1;
if (_root.enemyLim == 9) {
_root.enemyLim = "No Limit";
}
}
}
Symbol 391 Button
on (press) {
if (_root.enemyLim == "No Limit") {
_root.enemyLim = 10;
} else {
_root.enemyLim = _root.enemyLim + 1;
}
}
Symbol 392 Button
on (press) {
if (_root.enemyKind != "Random") {
if (_root.enemyKind == "Soldiers") {
_root.enemyKind = "Random";
} else if (_root.enemyKind == "Angels") {
_root.enemyKind = "Soldiers";
} else if (_root.enemyKind == "Zombie") {
_root.enemyKind = "Angels";
} else if (_root.enemyKind == "Suicide") {
_root.enemyKind = "Zombie";
} else if (_root.enemyKind == "Tanks") {
_root.enemyKind = "Suicide";
} else if (_root.enemyKind == "Ships") {
_root.enemyKind = "Tanks";
} else if (_root.enemyKind == "Wizards") {
_root.enemyKind = "Ships";
} else if (_root.enemyKind == "Gunmen") {
_root.enemyKind = "Wizards";
} else if (_root.enemyKind == "Catapolts") {
_root.enemyKind = "Gunmen";
} else if (_root.enemyKind == "Archers") {
_root.enemyKind = "Catapolts";
}
}
}
Symbol 393 Button
on (press) {
if (_root.enemyKind != "Archers") {
if (_root.enemyKind == "Random") {
_root.enemyKind = "Soldiers";
} else if (_root.enemyKind == "Soldiers") {
_root.enemyKind = "Angels";
} else if (_root.enemyKind == "Angels") {
_root.enemyKind = "Zombie";
} else if (_root.enemyKind == "Zombie") {
_root.enemyKind = "Suicide";
} else if (_root.enemyKind == "Suicide") {
_root.enemyKind = "Tanks";
} else if (_root.enemyKind == "Tanks") {
_root.enemyKind = "Ships";
} else if (_root.enemyKind == "Ships") {
_root.enemyKind = "Wizards";
} else if (_root.enemyKind == "Wizards") {
_root.enemyKind = "Gunmen";
} else if (_root.enemyKind == "Gunmen") {
_root.enemyKind = "Catapolts";
} else if (_root.enemyKind == "Catapolts") {
_root.enemyKind = "Archers";
}
}
}
Symbol 395 Button
on (rollOver) {
_root.text1 = "Next page of custimization options";
}
on (rollOut) {
_root.text1 = "Welcome to the Create Game Mode";
}
on (press) {
gotoAndStop (2);
}
Symbol 402 Button
on (press) {
if (_root.modeo == "Classic") {
_root.modeo = "D and D";
_root.dragOn = 1;
_root.holdIt = 0;
} else if (_root.modeo == "D and D") {
_root.modeo = "Hold";
_root.dragOn = 0;
_root.holdIt = 1;
} else if (_root.modeo == "Hold") {
_root.modeo = "All";
_root.dragOn = 0;
_root.holdIt = 0;
} else if (_root.modeo == "All") {
_root.modeo = "Classic";
_root.dragOn = 0;
_root.holdIt = 0;
}
}
Symbol 404 Button
on (rollOver) {
_root.text1 = "Last page of custimization options";
}
on (rollOut) {
_root.text1 = "Welcome to the Create Game Mode";
}
on (press) {
gotoAndStop (1);
}
Symbol 405 Button
on (press) {
if (_root.levelLimit == "Infinite") {
_root.levelLimit = 10;
} else {
_root.levelLimit = _root.levelLimit + 5;
}
}
Symbol 407 Button
on (press) {
if (_root.levelLimit != "Infinite") {
_root.levelLimit = _root.levelLimit - 5;
}
if (_root.levelLimit <= 5) {
_root.levelLimit = "Infinite";
}
}
Symbol 439 MovieClip Frame 1
if (_root.chooseBackground != "Random") {
gotoAndStop(_root.chooseBackground);
} else {
backy = random(6) + 1;
switch (backy) {
case 1 :
stop();
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);
}
}
Symbol 440 Button
on (press) {
if (_root.chooseBackground > 0) {
_root.chooseBackground = _root.chooseBackground - 1;
this.backgroundo.gotoAndStop(_root.chooseBackground);
}
}
Symbol 441 Button
on (press) {
if (_root.chooseBackground < 6) {
_root.chooseBackground = _root.chooseBackground + 1;
this.backgroundo.gotoAndStop(_root.chooseBackground);
}
}
Symbol 443 Button
on (press) {
if (_root.hardah == "No Harder") {
_root.hardah = "Little Harder";
_root.hardining = 1.2;
} else if (_root.hardah == "Little Harder") {
_root.hardah = "Much Harder";
_root.hardining = 1.6;
} else if (_root.hardah == "Much Harder") {
_root.hardah = "2 X Harder";
_root.hardining = 2;
} else if (_root.hardah == "2 X Harder") {
_root.hardah = "3 X Harder";
_root.hardining = 3;
} else if (_root.hardah == "3 X Harder") {
_root.hardah = "No Harder";
_root.hardining = 1;
}
}
Symbol 449 MovieClip Frame 1
_root.chooseBackground = 1;
stop();
Symbol 449 MovieClip Frame 2
stop();
Symbol 454 Button
on (release) {
_root.tit = "Gameplay";
_root.tut = "There are 4 different modes of gameplay. Classic, Drag and Drop, Hold, and custom game. The controls for classic go as follow: To kill an enemy you must simply click them until their health reaches 0. | Drag and Drop: Click and enemy and hold the mouse down, you are now able to throw enemys with the mouse. Drag them up high and drop them to their death. | Hold: Sort of like Classic, Except hold the mouse down until the enemys die. For custom game you set everything... all the settings for the game, you can play classic, hold, drag and drop by setting it in the settings. The mode that is labeld as all randomly chooses the mode after each level!";
}
Symbol 457 Button
on (release) {
_root.tit = "Spells";
_root.tut = "Spells are key in later levels, to purchase a spell you will need to buy one in the menu after every level. To use a spell, you must select the book on the top left labeld spells. Then select which spell to use.";
}
Symbol 459 Button
on (release) {
_root.tit = "Runes";
_root.tut = "To use a spell you must have a certain amount of runes, hover a spell and it will label how many of which runes you will need to use the spell.";
}
Symbol 461 Button
on (release) {
_root.tit = "Gold";
_root.tut = "Gold is what you need to buy EVERYTHING, spells, upgrades, etc.";
}
Symbol 463 Button
on (release) {
_root.gotoAndStop(2);
}
Symbol 465 Button
on (release) {
_root.tit = "Stats";
_root.tut = "Stats help improve your offence and defence. | Strength: The amount of power you have when you are clicking | Defence: Defence is the amount of damage your castle takes, the more defence, the less damage is taken. | Vitility: Vitility is the amount of health your castle has. | Speed: Speed is how fast your runes will regenerate. | Spells: Spells is how fast a spell will regenerate.";
}
Symbol 467 Button
on (release) {
_root.tit = "Bosses";
_root.tut = "Bosses appear every 10 levels. There are a total of 3 bosses and after every 10 levels it picks one of the bosses at random, There are mini bosses every 5 levels which are just larger normal enemys. Bosses are NOT affected by spells, so you have to take the old fashion way out.";
}
Symbol 470 Button
on (press) {
getURL ("http://www.antitudegames.com", _blank);
}
Symbol 484 Button
on (press) {
getURL ("http://www.techno4.us", "_blank");
}
Symbol 485 Button
on (press) {
getURL ("http://www.stickpage.com", "_blank");
}
Symbol 486 Button
on (press) {
getURL ("http://www.antitudegames.com", "_blank");
}
Symbol 487 Button
on (press) {
getURL ("http://www.xgenstudios.com", "_blank");
}
Symbol 490 Button
on (press) {
_root.gotoAndStop(2);
}
Symbol 491 MovieClip Frame 896
stop();
Symbol 503 MovieClip Frame 1
stop();
Symbol 503 MovieClip Frame 12
_root.castleHp = _root.castleHp + (random(65) + 24);
if (_root.castleHp > _root.castleMaxHp) {
_root.castleHp = _root.castleMaxHp;
}
Symbol 503 MovieClip Frame 21
this._visible = false;
Symbol 519 MovieClip Frame 7
stop();
Symbol 524 MovieClip Frame 42
this._visible = false;
this.stop();
stop();
Symbol 527 MovieClip Frame 11
this._visible = false;
this.stop();
Symbol 529 MovieClip Frame 1
axetime = 30;
Symbol 529 MovieClip Frame 9
axetime = axetime - 1;
if (axetime == 0) {
gotoAndStop (1);
} else {
gotoAndPlay (2);
}
Symbol 531 MovieClip Frame 1
macetime = 30;
Symbol 531 MovieClip Frame 10
macetime = macetime - 1;
if (macetime == 0) {
gotoAndStop (1);
} else {
gotoAndPlay (2);
}
Symbol 543 MovieClip Frame 1
swordtime = 30;
Symbol 543 MovieClip Frame 10
swordtime = swordtime - 1;
if (swordtime == 0) {
gotoAndStop (1);
} else {
gotoAndPlay (2);
}
Symbol 545 MovieClip Frame 10
Symbol 545 MovieClip Frame 65
this._visible = false;
this.stop();
Symbol 549 MovieClip Frame 1
stop();
Symbol 549 MovieClip Frame 9
stop();
Symbol 556 MovieClip Frame 26
stop();
Symbol 621 MovieClip Frame 62
this._visible = false;
this.stop();
Symbol 636 MovieClip Frame 40
this.removeMovieClip();
stop();
Symbol 659 MovieClip Frame 21
tempo = random(_root.enemyOut) + 1;
choose = random(28) + 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 676 MovieClip Frame 7
tempo = random(_root.enemyOut) + 1;
choose = random(20) + 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 676 MovieClip Frame 21
gotoAndPlay (1);
Symbol 686 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 686 MovieClip Frame 2
gotoAndPlay (1);
Symbol 736 MovieClip Frame 1
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Instance of Symbol 686 MovieClip "meny" in Symbol 736 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 736 MovieClip Frame 2
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 736 MovieClip Frame 3
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 736 MovieClip Frame 4
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 736 MovieClip Frame 5
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 736 MovieClip Frame 6
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 736 MovieClip Frame 7
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 736 MovieClip Frame 8
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 736 MovieClip Frame 9
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 736 MovieClip Frame 10
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 736 MovieClip Frame 11
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 736 MovieClip Frame 12
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 736 MovieClip Frame 13
gotoAndPlay (1);
Symbol 736 MovieClip Frame 14
this.attack = 1;
Symbol 736 MovieClip Frame 31
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else if (_root.sheildUp != true) {
_root.castleHp = _root.castleHp - ((((random((2 + (_root.level * 1)) + _root.hlevel) + 3) + _root.level) - (_root.gotWall * random(4))) - Math.ceil(_root.def / 4));
}
Symbol 736 MovieClip Frame 33
if (!this.hitTest(_root.cast1)) {
this.attack = 0;
gotoAndPlay (1);
} else {
gotoAndPlay (14);
}
Symbol 736 MovieClip Frame 34
this.enabled = false;
_parent.enabled = false;
_parent.stopDrag();
this.stopDrag();
Symbol 736 MovieClip Frame 69
stop();
_root.levelUp(random(2) + 1);
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
_parent.removeMovieClip();
Symbol 761 MovieClip Frame 1
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Instance of Symbol 686 MovieClip "meny" in Symbol 761 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 761 MovieClip Frame 2
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 3
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 4
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 5
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 6
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 7
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 8
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 9
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 10
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 11
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 12
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 13
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 14
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 15
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 16
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 17
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 18
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 19
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 20
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 21
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 22
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 23
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 24
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 25
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 26
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 27
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 28
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 29
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 30
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 31
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 32
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 33
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 34
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 35
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 36
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 37
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 38
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 39
if (this.hitTest(_root.cast1)) {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 40
gotoAndPlay (1);
Symbol 761 MovieClip Frame 41
this.attack = 1;
Symbol 761 MovieClip Frame 78
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else if (_root.sheildUp != true) {
_root.castleHp = _root.castleHp - ((1 + random((4 + _root.level) + _root.hlevel)) - Math.ceil(_root.def / 4));
}
Symbol 761 MovieClip Frame 79
if (!this.hitTest(_root.cast1)) {
this.attack = 0;
gotoAndPlay (1);
} else {
gotoAndPlay (41);
}
Symbol 761 MovieClip Frame 99
this.enabled = false;
_parent.enabled = false;
Symbol 761 MovieClip Frame 122
stop();
_root.levelUp(random(2) + 1);
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
_parent.removeMovieClip();
Symbol 806 MovieClip Frame 1
if (this.hitTest(_root.cast1)) {
gotoAndPlay (15);
}
Instance of Symbol 686 MovieClip "meny" in Symbol 806 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 806 MovieClip Frame 2
if (this.hitTest(_root.cast1)) {
gotoAndPlay (15);
}
Symbol 806 MovieClip Frame 3
if (this.hitTest(_root.cast1)) {
gotoAndPlay (15);
}
Symbol 806 MovieClip Frame 4
if (this.hitTest(_root.cast1)) {
gotoAndPlay (15);
}
Symbol 806 MovieClip Frame 5
if (this.hitTest(_root.cast1)) {
gotoAndPlay (15);
}
Symbol 806 MovieClip Frame 6
if (this.hitTest(_root.cast1)) {
gotoAndPlay (15);
}
Symbol 806 MovieClip Frame 7
if (this.hitTest(_root.cast1)) {
gotoAndPlay (15);
}
Symbol 806 MovieClip Frame 8
if (this.hitTest(_root.cast1)) {
gotoAndPlay (15);
}
Symbol 806 MovieClip Frame 9
if (this.hitTest(_root.cast1)) {
gotoAndPlay (15);
}
Symbol 806 MovieClip Frame 10
if (this.hitTest(_root.cast1)) {
gotoAndPlay (15);
}
Symbol 806 MovieClip Frame 11
if (this.hitTest(_root.cast1)) {
gotoAndPlay (15);
}
Symbol 806 MovieClip Frame 12
if (this.hitTest(_root.cast1)) {
gotoAndPlay (15);
}
Symbol 806 MovieClip Frame 13
if (this.hitTest(_root.cast1)) {
gotoAndPlay (15);
}
Symbol 806 MovieClip Frame 14
gotoAndPlay (1);
Symbol 806 MovieClip Frame 15
this.attack = 1;
Symbol 806 MovieClip Frame 35
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else if (_root.sheildUp != true) {
_root.castleHp = _root.castleHp - (((5 + random((_root.level + 4) + _root.hlevel)) - (_root.gotWall * random(4))) - Math.ceil(_root.def / 4));
}
Symbol 806 MovieClip Frame 50
if (!this.hitTest(_root.cast1)) {
this.attack = 0;
gotoAndPlay (1);
} else {
gotoAndPlay (11);
}
Symbol 806 MovieClip Frame 51
this.enabled = false;
_parent.enabled = false;
Symbol 806 MovieClip Frame 80
_root.levelUp(random(2) + 1);
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
_parent.removeMovieClip();
stop();
Symbol 819 MovieClip Frame 1
if (this.hitTest(_root.cast1)) {
gotoAndPlay (3);
}
doSmoke = doSmoke + 1;
if (doSmoke >= 60) {
doSmoke = 0;
_root.smokeIt = _root.smokeIt + 1;
duplicateMovieClip (_root.smoke, "smoke" + _root.smokeIt, (((_root.moB + _root.moEnemys) + 10) + _root.smokeIt) + _root.enemyOut2);
_root["smoke" + _root.smokeIt]._x = _parent._x + 60;
_root["smoke" + _root.smokeIt]._y = _parent._y;
_root["smoke" + _root.smokeIt].active = true;
}
Instance of Symbol 686 MovieClip "meny" in Symbol 819 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 819 MovieClip Frame 2
gotoAndPlay (1);
Symbol 819 MovieClip Frame 3
this.attack = 1;
Symbol 819 MovieClip Frame 27
if (_root.sheildUp != true) {
_root.castleHp = _root.castleHp - (((10 + random((_root.level + 4) + _root.hlevel)) - (_root.gotWall * random(4))) - Math.ceil(_root.def / 4));
}
Symbol 819 MovieClip Frame 48
if (!this.hitTest(_root.cast1)) {
this.attack = 0;
gotoAndPlay (1);
} else {
gotoAndPlay (3);
}
Symbol 819 MovieClip Frame 49
this.enabled = false;
_parent.enabled = false;
Symbol 819 MovieClip Frame 72
stop();
_root.levelUp(random(3) + 1);
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
_parent.removeMovieClip();
Symbol 832 MovieClip Frame 1
if (this.hitTest(_root.cast1)) {
gotoAndPlay (13);
}
Instance of Symbol 686 MovieClip "meny" in Symbol 832 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 832 MovieClip Frame 2
if (this.hitTest(_root.cast1)) {
gotoAndPlay (13);
}
Symbol 832 MovieClip Frame 3
if (this.hitTest(_root.cast1)) {
gotoAndPlay (13);
}
Symbol 832 MovieClip Frame 4
if (this.hitTest(_root.cast1)) {
gotoAndPlay (13);
}
Symbol 832 MovieClip Frame 5
if (this.hitTest(_root.cast1)) {
gotoAndPlay (13);
}
Symbol 832 MovieClip Frame 6
if (this.hitTest(_root.cast1)) {
gotoAndPlay (13);
}
Symbol 832 MovieClip Frame 7
if (this.hitTest(_root.cast1)) {
gotoAndPlay (13);
}
Symbol 832 MovieClip Frame 8
if (this.hitTest(_root.cast1)) {
gotoAndPlay (13);
}
Symbol 832 MovieClip Frame 9
if (this.hitTest(_root.cast1)) {
gotoAndPlay (13);
}
Symbol 832 MovieClip Frame 10
if (this.hitTest(_root.cast1)) {
gotoAndPlay (13);
}
Symbol 832 MovieClip Frame 11
if (this.hitTest(_root.cast1)) {
gotoAndPlay (13);
}
Symbol 832 MovieClip Frame 12
gotoAndPlay (1);
Symbol 832 MovieClip Frame 13
this.attack = 1;
Symbol 832 MovieClip Frame 28
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else if (_root.sheildUp != true) {
_root.castleHp = _root.castleHp - (((5 + random((_root.level + 4) + _root.hlevel)) - (_root.gotWall * random(4))) - Math.ceil(_root.def / 4));
}
Symbol 832 MovieClip Frame 32
gotoAndPlay (1);
Symbol 832 MovieClip Frame 33
this.enabled = false;
_parent.enabled = false;
Symbol 832 MovieClip Frame 68
_root.levelUp(random(2) + 1);
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
_parent.removeMovieClip();
stop();
Symbol 871 MovieClip Frame 1
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (14);
}
blah = random(20) + 1;
if (this._x < -105.9) {
if (blah == 5) {
randomAttack = 1;
}
}
Instance of Symbol 686 MovieClip "meny" in Symbol 871 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 871 MovieClip Frame 2
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (14);
}
Symbol 871 MovieClip Frame 3
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (14);
}
Symbol 871 MovieClip Frame 4
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (14);
}
Symbol 871 MovieClip Frame 5
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (14);
}
Symbol 871 MovieClip Frame 6
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (14);
}
Symbol 871 MovieClip Frame 7
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (14);
}
Symbol 871 MovieClip Frame 8
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (14);
}
Symbol 871 MovieClip Frame 9
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (14);
}
Symbol 871 MovieClip Frame 10
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (14);
}
Symbol 871 MovieClip Frame 11
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (14);
}
Symbol 871 MovieClip Frame 12
if (this.hitTest(_root.cast1) || (randomAttack == 1)) {
gotoAndPlay (14);
}
Symbol 871 MovieClip Frame 13
gotoAndPlay (1);
Symbol 871 MovieClip Frame 14
this.attack = 1;
Symbol 871 MovieClip Frame 19
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else if ((this.shocking <= 0) && (_root.sheildUp != true)) {
_root.castleHp = _root.castleHp - (((5 + random((_root.level + 4) + _root.hlevel)) - (_root.gotWall * random(4))) - Math.ceil(_root.def / 4));
}
Symbol 871 MovieClip Frame 34
if (randomAttack == 1) {
randomAttack = 0;
this.attack = 0;
}
this.attack = 0;
gotoAndPlay (1);
Symbol 871 MovieClip Frame 35
this.enabled = false;
_parent.enabled = false;
Symbol 871 MovieClip Frame 70
_root.levelUp(random(2) + 1);
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
_parent.removeMovieClip();
stop();
Symbol 904 MovieClip Frame 1
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Instance of Symbol 686 MovieClip "meny" in Symbol 904 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 904 MovieClip Frame 2
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 904 MovieClip Frame 3
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 904 MovieClip Frame 4
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 904 MovieClip Frame 5
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 904 MovieClip Frame 6
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 904 MovieClip Frame 7
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 904 MovieClip Frame 8
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 904 MovieClip Frame 9
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 904 MovieClip Frame 10
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 904 MovieClip Frame 11
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 904 MovieClip Frame 12
if (this.hitTest(_root.cast1)) {
gotoAndPlay (14);
}
Symbol 904 MovieClip Frame 13
gotoAndPlay (1);
Symbol 904 MovieClip Frame 14
this.attack = 1;
Symbol 904 MovieClip Frame 21
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else if (_root.sheildUp != true) {
_root.castleHp = _root.castleHp - (((5 + random((_root.level + 4) + _root.hlevel)) - (_root.gotWall * random(4))) - Math.ceil(_root.def / 4));
}
Symbol 904 MovieClip Frame 37
this.attack = 0;
gotoAndPlay (1);
Symbol 904 MovieClip Frame 38
this.enabled = false;
_parent.enabled = false;
Symbol 904 MovieClip Frame 72
_root.levelUp(random(2) + 1);
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
_parent.removeMovieClip();
stop();
Symbol 916 MovieClip Frame 1
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
_root.smokeIt = _root.smokeIt + 1;
duplicateMovieClip (_root.smoke, "smoke" + _root.smokeIt, (((_root.moB + _root.moEnemys) + 10) + _root.smokeIt) + _root.enemyOut2);
_root["smoke" + _root.smokeIt]._x = _parent._x + 62;
_root["smoke" + _root.smokeIt]._y = _parent._y - 105;
_root["smoke" + _root.smokeIt].active = true;
Instance of Symbol 686 MovieClip "meny" in Symbol 916 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 916 MovieClip Frame 2
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 3
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 4
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 5
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 6
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 7
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 8
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 9
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 10
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 11
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 12
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 13
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 14
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 15
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 16
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 17
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 18
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 19
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 20
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 21
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 22
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 23
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 24
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 25
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 26
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 27
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 28
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 29
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 30
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 31
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 32
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 33
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 34
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 35
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 36
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 37
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 38
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 39
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 40
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 41
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 42
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 43
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 44
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 45
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 46
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 47
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 48
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 49
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 50
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 51
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 52
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 53
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 54
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 55
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 56
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 57
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 58
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 59
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 60
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 61
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 62
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 63
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 64
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 65
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 66
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 67
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 68
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 69
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 70
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 71
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 72
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 73
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 74
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 75
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 76
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 77
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 78
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 79
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 80
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 81
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 82
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 83
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 84
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 85
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 86
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 87
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 88
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 89
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 90
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 91
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 92
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 93
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 94
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 95
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 96
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 97
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 98
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 99
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 100
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 101
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 102
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 103
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 104
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 105
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 106
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 107
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 108
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 109
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 110
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 111
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 112
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 113
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 114
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 115
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 116
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 117
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 118
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 119
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 120
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 121
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 122
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 123
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 124
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 125
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 126
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 127
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 128
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 129
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 130
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 131
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 132
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 133
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 134
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 135
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 136
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 137
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 138
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 139
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 140
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 141
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 142
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 143
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 144
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 145
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 146
if (this.hitTest(_root.cast1)) {
gotoAndPlay (148);
}
Symbol 916 MovieClip Frame 147
gotoAndPlay (1);
Symbol 916 MovieClip Frame 148
this.attack = 1;
Symbol 916 MovieClip Frame 165
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else if (_root.sheildUp != true) {
_root.castleHp = _root.castleHp - (((5 + random((_root.level + 4) + _root.hlevel)) - (_root.gotWall * random(4))) - Math.ceil(_root.def / 4));
}
Symbol 916 MovieClip Frame 207
if (!this.hitTest(_root.cast1)) {
this.attack = 0;
gotoAndPlay (1);
} else {
gotoAndPlay (3);
}
Symbol 916 MovieClip Frame 208
this.enabled = false;
_parent.enabled = false;
Symbol 916 MovieClip Frame 270
stop();
_root.levelUp(random(3) + 1);
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
_parent.removeMovieClip();
Symbol 927 MovieClip Frame 1
if (this.hitTest(_root.cast1)) {
gotoAndPlay (3);
}
Instance of Symbol 686 MovieClip "meny" in Symbol 927 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 927 MovieClip Frame 2
gotoAndPlay (1);
Symbol 927 MovieClip Frame 3
this.attack = 1;
Symbol 927 MovieClip Frame 7
if (_root.sheildUp != true) {
_root.castleHp = _root.castleHp - (((17 + random((_root.level + 12) + _root.hlevel)) - (_root.gotWall * random(4))) - Math.ceil(_root.def / 4));
}
Symbol 927 MovieClip Frame 24
if (!this.hitTest(_root.cast1)) {
this.attack = 0;
gotoAndPlay (1);
} else {
gotoAndPlay (3);
}
Symbol 927 MovieClip Frame 43
stop();
_root.levelUp(random(3) + 1);
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
_parent.removeMovieClip();
Symbol 1024 MovieClip Frame 1
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
timerSend = timerSend + 1;
if ((_root.enemyOut == 1) && (timerSend > 8)) {
timerSend = 0;
this.attack = 1;
gotoAndPlay (26);
}
Instance of Symbol 686 MovieClip "meny" in Symbol 1024 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 1024 MovieClip Frame 2
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 3
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 4
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 5
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 6
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 7
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 8
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 9
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 10
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 11
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 12
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 13
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 14
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 15
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 16
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 17
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 18
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 19
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 20
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 21
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 22
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 23
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 24
if (this.hitTest(_root.cast1)) {
gotoAndPlay (79);
}
Symbol 1024 MovieClip Frame 25
gotoAndPlay (1);
Symbol 1024 MovieClip Frame 26
lag = 0;
while (_root.enemyOut2 < ((random(_root.level / 2) + 3) + moEnems)) {
_root.enemyOut2 = _root.enemyOut2 + 1;
duplicateMovieClip (_root.enemy, "enemy" + _root.enemyOut2, (((_root.moB + _root.enemyOut2) + _root.numOfBosses) + 10) + _root.smokeIt);
_root["enemy" + _root.enemyOut2].activate = 1;
_root["enemy" + _root.enemyOut2].howMuchDelay = 10 + lag;
lag = lag + 10;
}
Symbol 1024 MovieClip Frame 78
this.attack = 0;
moEnems = moEnems + (random(3) + 2);
gotoAndPlay (1);
Symbol 1024 MovieClip Frame 79
this.attack = 1;
Symbol 1024 MovieClip Frame 106
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else if ((this.shocking <= 0) && (_root.sheildUp != true)) {
_root.castleHp = _root.castleHp - (((16 + random((_root.level + 9) + _root.hlevel)) - (_root.gotWall * random(4))) - Math.ceil(_root.def / 6));
}
Symbol 1024 MovieClip Frame 127
this.attack = 0;
gotoAndPlay (1);
Symbol 1024 MovieClip Frame 128
this.enabled = false;
_parent.enabled = false;
Symbol 1024 MovieClip Frame 173
_root.levelUp(random(8) + 1);
_root.money = _root.money + ((random(14 + _root.moMoney) + 20) + _root.moMoney);
_parent.removeMovieClip();
stop();
Symbol 1074 MovieClip Frame 1
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Instance of Symbol 686 MovieClip "meny" in Symbol 1074 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 1074 MovieClip Frame 2
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 3
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 4
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 5
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 6
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 7
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 8
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 9
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 10
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 11
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 12
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 13
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 14
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 15
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 16
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 17
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 18
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 19
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 20
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 21
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 22
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 23
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 24
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 25
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 26
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 27
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 28
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 29
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 30
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 31
if (this.hitTest(_root.cast1)) {
gotoAndPlay (33);
}
Symbol 1074 MovieClip Frame 32
gotoAndPlay (1);
Symbol 1074 MovieClip Frame 33
this.attack = 1;
Symbol 1074 MovieClip Frame 44
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else if (_root.sheildUp != true) {
_root.castleHp = _root.castleHp - (((5 + random((_root.level + 4) + _root.hlevel)) - (_root.gotWall * random(4))) - Math.ceil(_root.def / 4));
}
Symbol 1074 MovieClip Frame 53
this.attack = 0;
gotoAndPlay (1);
Symbol 1074 MovieClip Frame 54
this.enabled = false;
_parent.enabled = false;
Symbol 1074 MovieClip Frame 98
_root.levelUp(random(2) + 1);
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
_parent.removeMovieClip();
stop();
Symbol 1116 MovieClip Frame 1
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Instance of Symbol 686 MovieClip "meny" in Symbol 1116 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 1116 MovieClip Frame 2
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 3
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 4
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 5
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 6
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 7
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 8
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 9
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 10
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 11
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 12
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 13
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 14
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 15
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 16
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 17
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 18
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 19
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 20
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 21
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 22
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 23
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 24
if (this.hitTest(_root.cast1)) {
gotoAndPlay (26);
}
Symbol 1116 MovieClip Frame 25
gotoAndPlay (1);
Symbol 1116 MovieClip Frame 26
this.attack = 1;
Symbol 1116 MovieClip Frame 29
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else if (_root.sheildUp != true) {
_root.castleHp = _root.castleHp - (((40 + random((_root.level + 15) + _root.hlevel)) - (_root.gotWall * random(4))) - Math.ceil(_root.def / 4));
}
Symbol 1116 MovieClip Frame 45
call(66);
Symbol 1116 MovieClip Frame 46
Instance of Symbol 686 MovieClip "meny" in Symbol 1116 MovieClip Frame 46
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 1116 MovieClip Frame 66
_root.levelUp(random(2) + 1);
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
_parent.removeMovieClip();
stop();
Symbol 1158 MovieClip Frame 1
releaseEnemos = releaseEnemos + 1;
if (releaseEnemos >= 111) {
lag = 0;
while (_root.enemyOut2 < ((random(_root.level / 2) + 3) + moEnems)) {
_root.enemyOut2 = _root.enemyOut2 + 1;
duplicateMovieClip (_root.enemy, "enemy" + _root.enemyOut2, (((_root.moB + _root.enemyOut2) + _root.numOfBosses) + 10) + _root.smokeIt);
_root["enemy" + _root.enemyOut2].activate = 1;
_root["enemy" + _root.enemyOut2].howMuchDelay = 10 + lag;
lag = lag + 10;
}
moEnems = moEnems + 1;
releaseEnemos = 0;
}
if (this.hitTest(_root.cast1)) {
attacko = random(2) + 1;
if (attacko == 1) {
gotoAndPlay (3);
} else {
gotoAndPlay (43);
}
}
Instance of Symbol 686 MovieClip "meny" in Symbol 1158 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 1158 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1158 MovieClip Frame 3
this.attack = 1;
Symbol 1158 MovieClip Frame 21
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else if (this.shocking <= 0) {
_root.castleHp = _root.castleHp - (((20 + random((_root.level + 13) + _root.hlevel)) - (_root.gotWall * random(4))) - Math.ceil(_root.def / 6));
}
Symbol 1158 MovieClip Frame 42
this.attack = 0;
gotoAndPlay (1);
Symbol 1158 MovieClip Frame 43
this.attack = 1;
Symbol 1158 MovieClip Frame 57
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else if ((this.shocking <= 0) && (_root.sheildUp != true)) {
_root.castleHp = _root.castleHp - (((7 + random((_root.level + 9) + _root.hlevel)) - (_root.gotWall * random(4))) - Math.ceil(_root.def / 6));
}
Symbol 1158 MovieClip Frame 67
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else if ((this.shocking <= 0) && (_root.sheildUp != true)) {
_root.castleHp = _root.castleHp - (((7 + random((_root.level + 9) + _root.hlevel)) - (_root.gotWall * random(4))) - Math.ceil(_root.def / 6));
}
Symbol 1158 MovieClip Frame 77
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else if ((this.shocking <= 0) && (_root.sheildUp != true)) {
_root.castleHp = _root.castleHp - (((7 + random((_root.level + 9) + _root.hlevel)) - (_root.gotWall * random(4))) - Math.ceil(_root.def / 6));
}
Symbol 1158 MovieClip Frame 82
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else if ((this.shocking <= 0) && (_root.sheildUp != true)) {
_root.castleHp = _root.castleHp - (((7 + random((_root.level + 9) + _root.hlevel)) - (_root.gotWall * random(4))) - Math.ceil(_root.def / 6));
}
Symbol 1158 MovieClip Frame 92
this.attack = 0;
gotoAndPlay (1);
Symbol 1158 MovieClip Frame 93
this.enabled = false;
_parent.enabled = false;
Symbol 1158 MovieClip Frame 127
_root.levelUp(random(10) + 2);
_root.money = _root.money + ((random(14 + _root.moMoney) + 20) + _root.moMoney);
_parent.removeMovieClip();
stop();
Symbol 1193 MovieClip Frame 1
if ((_parent._x < (_root.cast1._x + 320)) && (this.stopoMove != 1)) {
gotoAndPlay (13);
}
Instance of Symbol 686 MovieClip "meny" in Symbol 1193 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 1193 MovieClip Frame 2
if ((_parent._x < (_root.cast1._x + 320)) && (this.stopoMove != 1)) {
gotoAndPlay (13);
}
Symbol 1193 MovieClip Frame 3
if ((_parent._x < (_root.cast1._x + 320)) && (this.stopoMove != 1)) {
gotoAndPlay (13);
}
Symbol 1193 MovieClip Frame 4
if ((_parent._x < (_root.cast1._x + 320)) && (this.stopoMove != 1)) {
gotoAndPlay (13);
}
Symbol 1193 MovieClip Frame 5
if ((_parent._x < (_root.cast1._x + 320)) && (this.stopoMove != 1)) {
gotoAndPlay (13);
}
Symbol 1193 MovieClip Frame 6
if ((_parent._x < (_root.cast1._x + 320)) && (this.stopoMove != 1)) {
gotoAndPlay (13);
}
Symbol 1193 MovieClip Frame 7
if ((_parent._x < (_root.cast1._x + 320)) && (this.stopoMove != 1)) {
gotoAndPlay (13);
}
Symbol 1193 MovieClip Frame 8
if ((_parent._x < (_root.cast1._x + 320)) && (this.stopoMove != 1)) {
gotoAndPlay (13);
}
Symbol 1193 MovieClip Frame 9
if ((_parent._x < (_root.cast1._x + 320)) && (this.stopoMove != 1)) {
gotoAndPlay (13);
}
Symbol 1193 MovieClip Frame 10
if ((_parent._x < (_root.cast1._x + 320)) && (this.stopoMove != 1)) {
gotoAndPlay (13);
}
Symbol 1193 MovieClip Frame 11
if ((_parent._x < (_root.cast1._x + 320)) && (this.stopoMove != 1)) {
gotoAndPlay (13);
}
Symbol 1193 MovieClip Frame 12
gotoAndPlay (1);
Symbol 1193 MovieClip Frame 13
this.attack = 1;
Symbol 1193 MovieClip Frame 21
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else if (_root.sheildUp != true) {
_root.castleHp = _root.castleHp - (((5 + random((_root.level + 4) + _root.hlevel)) - (_root.gotWall * random(4))) - Math.ceil(_root.def / 4));
}
Symbol 1193 MovieClip Frame 45
this.attack = 0;
gotoAndPlay (1);
Symbol 1193 MovieClip Frame 46
this.enabled = false;
_parent.enabled = false;
Symbol 1193 MovieClip Frame 81
_root.score = _root.score + 3;
Symbol 1193 MovieClip Frame 82
_root.levelUp(random(2) + 1);
_root.money = _root.money + ((random(3 + _root.moMoney) + 2) + _root.moMoney);
_parent.removeMovieClip();
stop();
Symbol 1221 MovieClip Frame 1
releaseEnemos = releaseEnemos + 1;
if (releaseEnemos >= 111) {
lag = 0;
while (_root.enemyOut2 < ((random(_root.level / 2) + 3) + moEnems)) {
_root.enemyOut2 = _root.enemyOut2 + 1;
duplicateMovieClip (_root.enemy, "enemy" + _root.enemyOut2, (((_root.moB + _root.enemyOut2) + _root.numOfBosses) + 10) + _root.smokeIt);
_root["enemy" + _root.enemyOut2].activate = 1;
_root["enemy" + _root.enemyOut2].howMuchDelay = 10 + lag;
lag = lag + 10;
}
moEnems = moEnems + (random(3) + 1);
releaseEnemos = 0;
}
if (this.hitTest(_root.cast1)) {
attacko = random(2) + 1;
if (attacko == 1) {
gotoAndPlay (3);
} else {
gotoAndPlay (32);
}
}
Instance of Symbol 686 MovieClip "meny" in Symbol 1221 MovieClip Frame 1
onClipEvent (load) {
life = random(20) + 5;
maxLife = life;
}
Symbol 1221 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1221 MovieClip Frame 3
this.attack = 1;
Symbol 1221 MovieClip Frame 9
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else if ((this.shocking <= 0) && (_root.sheildUp != true)) {
_root.castleHp = _root.castleHp - (((20 + random((_root.level + 14) + _root.hlevel)) - (_root.gotWall * random(4))) - Math.ceil(_root.def / 6));
}
Symbol 1221 MovieClip Frame 31
this.attack = 0;
gotoAndPlay (1);
Symbol 1221 MovieClip Frame 32
this.attack = 1;
Symbol 1221 MovieClip Frame 57
if (_parent.die == 1) {
gotoAndPlay ("dead");
} else if ((this.shocking <= 0) && (_root.sheildUp != true)) {
_root.castleHp = _root.castleHp - (((20 + random((_root.level + 24) + _root.hlevel)) - (_root.gotWall * random(4))) - Math.ceil(_root.def / 6));
}
Symbol 1221 MovieClip Frame 75
this.attack = 0;
gotoAndPlay (1);
Symbol 1221 MovieClip Frame 145
_root.levelUp(random(10) + 2);
_root.money = _root.money + ((random(14 + _root.moMoney) + 20) + _root.moMoney);
_parent.removeMovieClip();
stop();
Instance of Symbol 736 MovieClip "eno" in Symbol 1222 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
acco = 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 * 1.2) * _root.hardining)) + _root.hlevel) + 8) + (_root.level / 2)) + _root.hlevel) * _parent.bossIt;
_parent.maxLife = _parent.life;
moof = 0;
acc = 0;
speed = (random((3 + _root.moSpeed) + (_root.hlevel * 0.3)) + 1.1) + (_root.moSpeed * random(2));
if (speed >= 6.5) {
speed = 6.5;
}
}
on (release, releaseOutside) {
_parent.stopDrag();
holdinHel = 0;
this.stopoMove = 1;
dragTimerOn = false;
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;
}
if (this.hitTest(_root.ground)) {
this.stopoMove = 0;
}
}
on (press) {
if ((_root.bloodOption == true) && (_root.dragOn != 1)) {
_root.moB = _root.moB + 1;
duplicateMovieClip (_root.bloodyy, "blood" + _root.moB, (((_root.moB + _root.moEnemys) + 10) + _root.smokeIt) + _root.enemyOut2);
_root["blood" + _root.moB]._x = _parent._x + 10;
_root["blood" + _root.moB]._y = _parent._y - 10;
_root["blood" + _root.moB].active = true;
}
if (_root.dragOn == 1) {
startDrag (_parent);
dragTimerOn = true;
dragTimer = 0;
this.saveCurrentX = _parent._x;
this.saveCurrentY = _parent._y;
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.str * 0.15));
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.str * 0.05));
}
}
onClipEvent (enterFrame) {
updateAfterEvent();
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.str * 0.15));
this.stopoMove = 0;
} else {
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.stopoMove != 1)) {
_parent._x = _parent._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) + (_root.sum * 0.22));
}
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) + (_root.sum * 0.3));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - (0.35 + (_root.sum * 0.05));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - (0.2 + (_root.sum * 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.5 + (_root.sum * 0.05));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.nukeN)) {
_parent.life = _parent.life - (50000 + (_root.sum * 0.2));
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) + (_root.sum * 0.2));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.dragonBall)) {
_parent.life = _parent.life - ((random(5) + 5) + (_root.sum * 0.2));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - (30 + (_root.sum * 0.2));
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;
}
if (this.hitTest(_root.storm)) {
_parent.life = _parent.life - ((random(10) + 7) + (_root.sum * 0.2));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
Instance of Symbol 761 MovieClip in Symbol 1222 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((5 + ((_root.level * 1.6) * _root.hardining)) + _root.hlevel) + 6.3) + _root.level) + _root.hlevel) * _parent.bossIt;
_parent.maxLife = _parent.life;
speed = (random((3 + _root.moSpeed) + (_root.hlevel * 0.3)) + 1.8) + (_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;
}
if (this.hitTest(_root.ground)) {
this.stopoMove = 0;
}
}
on (press) {
if ((_root.bloodOption == true) && (_root.dragOn != 1)) {
_root.moB = _root.moB + 1;
duplicateMovieClip (_root.bloodyy, "blood" + _root.moB, (((_root.moB + _root.moEnemys) + 10) + _root.smokeIt) + _root.enemyOut2);
_root["blood" + _root.moB]._x = _parent._x;
_root["blood" + _root.moB]._y = _parent._y - 68;
_root["blood" + _root.moB].active = true;
}
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.str * 0.15));
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.str * 0.05));
}
}
onClipEvent (enterFrame) {
updateAfterEvent();
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;
this.stopoMove = 0;
} else {
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)) {
_parent._x = _parent._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) + (_root.sum * 0.3));
}
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) + (_root.sum * 0.25));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - (0.5 + (_root.sum * 0.02));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - (0.6 + (_root.sum * 0.02));
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 + (_root.sum * 0.02));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.nukeN)) {
_parent.life = _parent.life - (50000 + (_root.sum * 0.3));
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 + (_root.sum * 0.05));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.flame_ball)) {
_parent.life = _parent.life - ((random(3) + 4) + (_root.sum * 0.2));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - (30 + (_root.sum * 0.2));
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;
}
if (this.hitTest(_root.storm)) {
_parent.life = _parent.life - ((random(3) + 4) + (_root.sum * 0.3));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.dragonBall)) {
_parent.life = _parent.life - ((random(5) + 5) + (_root.sum * 0.2));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
Instance of Symbol 806 MovieClip in Symbol 1222 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 * 1.1) * _root.hardining)) + _root.hlevel) + 6) + (_root.level / 2)) + _root.hlevel) * _parent.bossIt;
_parent.maxLife = _parent.life;
acc = 0;
speed = (random((1 + _root.moSpeed) + (_root.hlevel * 0.3)) + 3) + (_root.moSpeed * random(2));
if (speed >= 7.5) {
speed = 7.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;
}
if (this.hitTest(_root.ground)) {
this.stopoMove = 0;
}
}
on (press) {
if ((_root.bloodOption == true) && (_root.dragOn != 1)) {
_root.moB = _root.moB + 1;
duplicateMovieClip (_root.bloodyy, "blood" + _root.moB, (((_root.moB + _root.moEnemys) + 10) + _root.smokeIt) + _root.enemyOut2);
_root["blood" + _root.moB]._x = _parent._x;
_root["blood" + _root.moB]._y = _parent._y - 10;
_root["blood" + _root.moB].active = true;
}
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.str * 0.15));
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.str * 0.05));
}
}
onClipEvent (enterFrame) {
updateAfterEvent();
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;
this.stopoMove = 0;
} else {
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)) {
_parent._x = _parent._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) + (_root.sum * 0.15));
}
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) + (_root.sum * 0.22));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - (0.3 + (_root.sum * 0.05));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - (0.3 + (_root.sum * 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.7 + (_root.sum * 0.05));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.nukeN)) {
_parent.life = _parent.life - ((random(20) + 20) + (_root.sum * 0.25));
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 + (_root.sum * 0.06));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.flame_ball)) {
_parent.life = _parent.life - ((random(10) + 10) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - (15 + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.shockwavey)) {
_parent.life = _parent.life - (0.8 + (_root.sum * 0.22));
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;
}
if (this.hitTest(_root.storm)) {
_parent.life = _parent.life - ((random(16) + 10) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.dragonBall)) {
_parent.life = _parent.life - ((random(5) + 5) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
Instance of Symbol 819 MovieClip in Symbol 1222 MovieClip Frame 4
onClipEvent (load) {
timer = 0;
doSmoke = 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;
}
_parent.life = (random((6 + ((_root.level * 2) * _root.hardining)) + _root.hlevel) + 7) + _root.level;
_parent.maxLife = _parent.life;
}
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;
}
if (this.hitTest(_root.ground)) {
this.stopoMove = 0;
}
}
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.str * 0.15));
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.str * 0.05));
}
}
onClipEvent (enterFrame) {
updateAfterEvent();
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;
this.stopoMove = 0;
} else {
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)) {
_parent._x = _parent._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) + (_root.sum * 0.3));
}
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) + (_root.sum * 0.26));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - (0.05 + (_root.sum * 0.05));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - (0.05 + (_root.sum * 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 + (_root.sum * 0.04));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.nukeN)) {
_parent.life = _parent.life - (50000 + (_root.sum * 0.22));
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) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - (39 + (_root.sum * 0.22));
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;
}
if (this.hitTest(_root.storm)) {
_parent.life = _parent.life - ((random(4) + 6) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.dragonBall)) {
_parent.life = _parent.life - ((random(8) + 5) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
Instance of Symbol 832 MovieClip in Symbol 1222 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.hardining)) + _root.hlevel) + 5) + (_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;
}
if (this.hitTest(_root.ground)) {
this.stopoMove = 0;
}
}
on (press) {
if ((_root.bloodOption == true) && (_root.dragOn != 1)) {
_root.moB = _root.moB + 1;
duplicateMovieClip (_root.bloodyy, "blood" + _root.moB, (((_root.moB + _root.moEnemys) + 10) + _root.smokeIt) + _root.enemyOut2);
_root["blood" + _root.moB]._x = _parent._x;
_root["blood" + _root.moB]._y = _parent._y - 13;
_root["blood" + _root.moB].active = true;
}
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.str * 0.15));
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.str * 0.05));
}
}
onClipEvent (enterFrame) {
updateAfterEvent();
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.str * 0.15));
this.stopoMove = 0;
} else {
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)) {
_parent._x = _parent._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) + (_root.sum * 0.25));
}
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) + (_root.sum * 0.32));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - (0.35 + (_root.sum * 0.02));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - (0.2 + (_root.sum * 0.03));
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 + (_root.sum * 0.04));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.nukeN)) {
_parent.life = _parent.life - (50000 + (_root.sum * 0.22));
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) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - (30 + (_root.sum * 0.22));
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;
}
if (this.hitTest(_root.storm)) {
_parent.life = _parent.life - ((random(11) + 7) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.dragonBall)) {
_parent.life = _parent.life - ((random(5) + 5) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
Instance of Symbol 871 MovieClip in Symbol 1222 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 * 1.2) * _root.hardining)) + _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)) + 2.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;
}
if (this.hitTest(_root.ground)) {
this.stopoMove = 0;
}
}
on (press) {
if ((_root.bloodOption == true) && (_root.dragOn != 1)) {
_root.moB = _root.moB + 1;
duplicateMovieClip (_root.bloodyy, "blood" + _root.moB, (((_root.moB + _root.moEnemys) + 10) + _root.smokeIt) + _root.enemyOut2);
_root["blood" + _root.moB]._x = _parent._x;
_root["blood" + _root.moB]._y = _parent._y - 15;
_root["blood" + _root.moB].active = true;
}
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.str * 0.15));
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.str * 0.05));
}
}
onClipEvent (enterFrame) {
updateAfterEvent();
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.str * 0.15));
this.stopoMove = 0;
} else {
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)) {
_parent._x = _parent._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) + (_root.sum * 0.25));
}
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) + (_root.sum * 0.22));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - (0.35 + (_root.sum * 0.03));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - (0.2 + (_root.sum * 0.03));
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 + (_root.sum * 0.22));
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) + (_root.sum * 0.27));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - (50 + (_root.sum * 0.22));
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;
}
if (this.hitTest(_root.storm)) {
_parent.life = _parent.life - ((random(10) + 7) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.dragonBall)) {
_parent.life = _parent.life - ((random(5) + 5) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
Instance of Symbol 904 MovieClip in Symbol 1222 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.hardining)) + _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;
}
if (this.hitTest(_root.ground)) {
this.stopoMove = 0;
}
}
on (press) {
if ((_root.bloodOption == true) && (_root.dragOn != 1)) {
_root.moB = _root.moB + 1;
duplicateMovieClip (_root.bloodyy, "blood" + _root.moB, (((_root.moB + _root.moEnemys) + 10) + _root.smokeIt) + _root.enemyOut2);
_root["blood" + _root.moB]._x = _parent._x;
_root["blood" + _root.moB]._y = _parent._y - 10;
_root["blood" + _root.moB].active = true;
}
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.str * 0.15));
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.str * 0.05));
}
}
onClipEvent (enterFrame) {
updateAfterEvent();
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.str * 0.15));
this.stopoMove = 0;
} else {
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)) {
_parent._x = _parent._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) + (_root.sum * 0.22));
}
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) + (_root.sum * 0.22));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - (0.35 + (_root.sum * 0.03));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - (0.2 + (_root.sum * 0.03));
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 + (_root.sum * 0.02));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.nukeN)) {
_parent.life = _parent.life - (50000 + (_root.sum * 0.22));
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) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - (30 + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.shockwavey)) {
_parent.life = _parent.life - (0.3 + (_root.sum * 0.1));
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;
}
if (this.hitTest(_root.storm)) {
_parent.life = _parent.life - ((random(10) + 7) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.dragonBall)) {
_parent.life = _parent.life - ((random(5) + 5) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
Instance of Symbol 916 MovieClip in Symbol 1222 MovieClip Frame 8
onClipEvent (load) {
timer = 0;
shocking = 0;
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;
}
_parent.life = (random((8 + ((_root.level * 2) * _root.hardining)) + _root.hlevel) + 16) + _root.level;
_parent.maxLife = _parent.life;
}
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;
}
if (this.hitTest(_root.ground)) {
this.stopoMove = 0;
}
}
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.str * 0.15));
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.str * 0.05));
}
}
onClipEvent (enterFrame) {
updateAfterEvent();
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;
this.stopoMove = 0;
} else {
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)) {
_parent._x = _parent._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) + (_root.sum * 0.22));
}
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) + (_root.sum * 0.22));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - (0.05 + (_root.sum * 0.04));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - (0.05 + (_root.sum * 0.03));
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 + (_root.sum * 0.02));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.nukeN)) {
_parent.life = _parent.life - (50000 + (_root.sum * 0.22));
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) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - (30 + (_root.sum * 0.22));
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;
}
if (this.hitTest(_root.storm)) {
_parent.life = _parent.life - ((random(2) + 3) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.dragonBall)) {
_parent.life = _parent.life - ((random(6) + 2) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
Instance of Symbol 927 MovieClip in Symbol 1222 MovieClip Frame 9
onClipEvent (load) {
timer = 0;
shocking = 0;
moof = 0;
acc = 0;
speed = (random(_root.moSpeed + (_root.hlevel * 0.3)) + 1) + (_root.moSpeed * random(2));
if (speed >= 5) {
speed = 5;
}
_parent.life = (random((16 + ((_root.level * 2.2) * _root.hardining)) + _root.hlevel) + 25) + _root.level;
_parent.maxLife = _parent.life;
}
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;
}
if (this.hitTest(_root.ground)) {
this.stopoMove = 0;
}
}
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.str * 0.15));
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.str * 0.05));
}
}
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;
this.stopoMove = 0;
} else {
fallo = 0;
acc = 0;
}
}
onClipEvent (enterFrame) {
updateAfterEvent();
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)) {
_parent._x = _parent._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) + (_root.sum * 0.22));
}
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) + (_root.sum * 0.22));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - (0.05 + (_root.sum * 0.09));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - (0.05 + (_root.sum * 0.07));
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 + (_root.sum * 0.05));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.nukeN)) {
_parent.life = _parent.life - (50000 + (_root.sum * 0.22));
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) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - (39 + (_root.sum * 0.22));
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;
}
if (this.hitTest(_root.storm)) {
_parent.life = _parent.life - ((random(2) + 2) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.dragonBall)) {
_parent.life = _parent.life - ((random(5) + 5) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
Symbol 1222 MovieClip Frame 10
stop();
Instance of Symbol 1024 MovieClip in Symbol 1222 MovieClip Frame 10
onClipEvent (load) {
moEnems = 0;
timer = 0;
timerSend = 0;
shocking = 0;
_parent.life = ((random((380 + ((_root.level * 2) * _root.hardining)) + _root.hlevel) + 240) + (_root.level / 2)) + _root.hlevel;
_parent.maxLife = _parent.life;
moof = 0;
acc = 0;
speed = (random((1 + _root.moSpeed) + (_root.hlevel * 0.3)) + 0.7) + (_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;
}
if (this.hitTest(_root.ground)) {
this.stopoMove = 0;
}
}
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.str * 0.15));
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.str * 0.05));
}
}
onClipEvent (enterFrame) {
updateAfterEvent();
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 = _parent.life - (6 + (_root.str * 0.15));
} else if (fallHealth == 1) {
fallHealth = 0;
_parent.life = _parent.life - (6 + (_root.str * 0.25));
this.stopoMove = 0;
} else {
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)) {
_parent._x = _parent._x - (speed - _root.slowTime);
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.flame_ball)) {
_parent.life = _parent.life - ((random(3) + 1) + (_root.sum * 0.08));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.dragonBall)) {
_parent.life = _parent.life - ((random(2) + 2) + (_root.sum * 0.08));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
Instance of Symbol 1074 MovieClip in Symbol 1222 MovieClip Frame 11
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 * 1.3) * _root.hardining)) + _root.hlevel) + 18) + (_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 >= 4.5) {
speed = 4.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;
}
if (this.hitTest(_root.ground)) {
this.stopoMove = 0;
}
}
on (press) {
if ((_root.bloodOption == true) && (_root.dragOn != 1)) {
_root.moB = _root.moB + 1;
duplicateMovieClip (_root.bloodyy, "blood" + _root.moB, (((_root.moB + _root.moEnemys) + 10) + _root.smokeIt) + _root.enemyOut2);
_root["blood" + _root.moB]._x = _parent._x;
_root["blood" + _root.moB]._y = _parent._y - 15;
_root["blood" + _root.moB].active = true;
}
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.str * 0.15));
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.str * 0.05));
}
}
onClipEvent (enterFrame) {
updateAfterEvent();
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.str * 0.15));
this.stopoMove = 0;
} else {
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)) {
_parent._x = _parent._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) + (_root.sum * 0.22));
}
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) + (_root.sum * 0.3));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - (0.35 + (_root.sum * 0.05));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - (0.2 + (_root.sum * 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.5 + (_root.sum * 0.05));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.nukeN)) {
_parent.life = _parent.life - (50000 + (_root.sum * 0.2));
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) + (_root.sum * 0.2));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.dragonBall)) {
_parent.life = _parent.life - ((random(5) + 5) + (_root.sum * 0.2));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - (30 + (_root.sum * 0.2));
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;
}
if (this.hitTest(_root.storm)) {
_parent.life = _parent.life - ((random(10) + 7) + (_root.sum * 0.2));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
Instance of Symbol 1116 MovieClip in Symbol 1222 MovieClip Frame 12
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 * 1.5) * _root.hardining)) + _root.hlevel) + 5) + (_root.level / 2)) + _root.hlevel) * _parent.bossIt;
_parent.maxLife = _parent.life;
moof = 0;
acc = 0;
speed = (random((4 + _root.moSpeed) + (_root.hlevel * 0.3)) + 4) + (_root.moSpeed * random(2));
if (speed >= 10) {
speed = 10;
}
}
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;
}
if (this.hitTest(_root.ground)) {
this.stopoMove = 0;
}
}
on (press) {
if ((_root.bloodOption == true) && (_root.dragOn != 1)) {
_root.moB = _root.moB + 1;
duplicateMovieClip (_root.bloodyy, "blood" + _root.moB, (((_root.moB + _root.moEnemys) + 10) + _root.smokeIt) + _root.enemyOut2);
_root["blood" + _root.moB]._x = _parent._x;
_root["blood" + _root.moB]._y = _parent._y - 15;
_root["blood" + _root.moB].active = true;
}
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.str * 0.15));
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.str * 0.05));
}
}
onClipEvent (enterFrame) {
updateAfterEvent();
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.str * 0.15));
this.stopoMove = 0;
} else {
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)) {
_parent._x = _parent._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) + (_root.sum * 0.22));
}
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) + (_root.sum * 0.3));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - (0.35 + (_root.sum * 0.05));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - (0.2 + (_root.sum * 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.5 + (_root.sum * 0.05));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.nukeN)) {
_parent.life = _parent.life - (50000 + (_root.sum * 0.2));
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) + (_root.sum * 0.2));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.dragonBall)) {
_parent.life = _parent.life - ((random(5) + 5) + (_root.sum * 0.2));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - (30 + (_root.sum * 0.2));
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;
}
if (this.hitTest(_root.storm)) {
_parent.life = _parent.life - ((random(10) + 7) + (_root.sum * 0.2));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
Instance of Symbol 1158 MovieClip in Symbol 1222 MovieClip Frame 13
onClipEvent (load) {
moEnems = 0;
releaseEnemos = 0;
timer = 0;
timerSend = 0;
shocking = 0;
_parent.life = ((random((380 + ((_root.level * 2) * _root.hardining)) + _root.hlevel) + 240) + (_root.level / 2)) + _root.hlevel;
_parent.maxLife = _parent.life;
moof = 0;
acc = 0;
speed = (random((1 + _root.moSpeed) + (_root.hlevel * 0.3)) + 0.7) + (_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;
}
if (this.hitTest(_root.ground)) {
this.stopoMove = 0;
}
}
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.str * 0.15));
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.str * 0.05));
}
}
onClipEvent (enterFrame) {
updateAfterEvent();
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 = _parent.life - (6 + (_root.str * 0.15));
} else if (fallHealth == 1) {
fallHealth = 0;
_parent.life = _parent.life - (6 + (_root.str * 0.25));
this.stopoMove = 0;
} else {
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)) {
_parent._x = _parent._x - (speed - _root.slowTime);
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - (0.2 + (_root.sum * 0.01));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - (0.2 + (_root.sum * 0.02));
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 + (_root.sum * 0.02));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - (3.2 + (_root.sum * 0.08));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
Instance of Symbol 1193 MovieClip in Symbol 1222 MovieClip Frame 14
onClipEvent (load) {
timer = 0;
shocking = 0;
moof = 0;
acc = 0;
speed = (random((3 + _root.moSpeed) + (_root.hlevel * 0.3)) + 1.24) + (_root.moSpeed * random(2));
if (speed >= 7) {
speed = 7;
}
_parent.life = (random((4 + ((_root.level * 1.4) * _root.hardining)) + _root.hlevel) + 5) + _root.level;
_parent.maxLife = _parent.life;
}
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;
}
if (this.hitTest(_root.ground)) {
this.stopoMove = 0;
}
}
on (press) {
if ((_root.bloodOption == true) && (_root.dragOn != 1)) {
_root.moB = _root.moB + 1;
duplicateMovieClip (_root.bloodyy, "blood" + _root.moB, (((_root.moB + _root.moEnemys) + 10) + _root.smokeIt) + _root.enemyOut2);
_root["blood" + _root.moB]._x = _parent._x;
_root["blood" + _root.moB]._y = _parent._y - 15;
_root["blood" + _root.moB].active = true;
}
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.str * 0.15));
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.str * 0.05));
}
}
onClipEvent (enterFrame) {
updateAfterEvent();
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 = 0;
this.stopoMove = 0;
} else {
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)) {
_parent._x = _parent._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) + (_root.sum * 0.22));
}
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) + (_root.sum * 0.22));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonaxe)) {
_parent.life = _parent.life - (0.35 + (_root.sum * 0.03));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.summonmace)) {
_parent.life = _parent.life - (0.2 + (_root.sum * 0.03));
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 + (_root.sum * 0.02));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.nukeN)) {
_parent.life = _parent.life - (50000 + (_root.sum * 0.22));
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) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lightning)) {
_parent.life = _parent.life - (30 + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.shockwavey)) {
_parent.life = _parent.life - (0.3 + (_root.sum * 0.1));
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;
}
if (this.hitTest(_root.storm)) {
_parent.life = _parent.life - ((random(10) + 7) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
if (this.hitTest(_root.dragonBall)) {
_parent.life = _parent.life - ((random(5) + 5) + (_root.sum * 0.22));
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
Instance of Symbol 1221 MovieClip in Symbol 1222 MovieClip Frame 15
onClipEvent (load) {
moEnems = 0;
releaseEnemos = 0;
timer = 0;
timerSend = 0;
shocking = 0;
_parent.life = ((random((380 + ((_root.level * 2) * _root.hardining)) + _root.hlevel) + 240) + (_root.level / 2)) + _root.hlevel;
_parent.maxLife = _parent.life;
moof = 0;
acc = 0;
speed = (random((1 + _root.moSpeed) + (_root.hlevel * 0.3)) + 0.7) + (_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;
}
if (this.hitTest(_root.ground)) {
this.stopoMove = 0;
}
}
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.str * 0.15));
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.str * 0.05));
}
}
onClipEvent (enterFrame) {
updateAfterEvent();
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 = _parent.life - (6 + (_root.str * 0.15));
} else if (fallHealth == 1) {
fallHealth = 0;
_parent.life = _parent.life - (6 + (_root.str * 0.25));
this.stopoMove = 0;
} else {
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)) {
_parent._x = _parent._x - (speed - _root.slowTime);
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.meteorM)) {
rah = random(2) + 1;
if (rah != 1) {
_parent.life = _parent.life - ((random(2) + 1) + (_root.sum * 0.08));
}
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bigR) && (this.gotHito != 1)) {
this.gotHito = 1;
_parent.life = _parent.life - 3;
if (_parent.life <= 0) {
_parent.die = 1;
}
}
}
Symbol 1222 MovieClip Frame 16
if (delay >= howMuchDelay) {
if (this.sendBoss == true) {
this.sendBoss = false;
varr = random(3) + 1;
if (varr == 1) {
this.gotoAndStop(10);
} else if (varr == 2) {
this.gotoAndStop(13);
} else {
this.gotoAndStop(15);
}
} else if (_root.enemyKind == "Soldiers") {
gotoAndStop (1);
} else if (_root.enemyKind == "Angels") {
gotoAndStop (2);
} else if (_root.enemyKind == "Suicide") {
gotoAndStop (12);
} else if (_root.enemyKind == "Zombie") {
gotoAndStop (11);
} else if (_root.enemyKind == "Gunmen") {
gotoAndStop (6);
} else if (_root.enemyKind == "Tanks") {
gotoAndStop (9);
} else if (_root.enemyKind == "Ships") {
gotoAndStop (8);
} else if (_root.enemyKind == "Wizards") {
gotoAndStop (3);
} else if (_root.enemyKind == "Catapolts") {
gotoAndStop (4);
} else if (_root.enemyKind == "Archers") {
gotoAndStop (14);
} else 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);
} else if (this.typeEnemy == 10) {
gotoAndStop (11);
} else if (this.typeEnemy == 11) {
gotoAndStop (12);
} else if (this.typeEnemy == 12) {
gotoAndStop (14);
}
}
Symbol 1222 MovieClip Frame 17
delay = delay + 1;
gotoAndPlay (16);
Symbol 1225 Button
on (release) {
if (_root.pausedMenu._visible != true) {
nextFrame();
}
}
on (rollOver) {
_root.messy = "Select a spell.";
}
on (rollOut) {
_root.messy = "";
}
Symbol 1231 Button
on (release) {
if (_root.pausedMenu._visible != true) {
gotoAndStop (2);
}
}
on (rollOver) {
_root.messy = "Check your rune storage.";
}
on (rollOut) {
_root.messy = "";
}
Symbol 1232 Button
on (release) {
gotoAndStop (1);
}
Symbol 1240 MovieClip Frame 1
stop();
Symbol 1241 Button
on (release) {
if ((_root.magRune >= 4) && (this.timey.timer == 100)) {
this.timey.timer = 0;
this.timey.timeIt = 0.6 + (_root.spe * 0.02);
if (this.timey.timeIt > 2) {
this.timey.timeIt = 2;
}
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 = "";
}
Symbol 1244 MovieClip Frame 1
if (_root.buyMenu._visible == false) {
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 1244 MovieClip Frame 2
gotoAndPlay (1);
Instance of Symbol 1244 MovieClip "timey" in Symbol 1245 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.saveLagPg1 == true) {
this.timer = _parent._parent.healLag;
} else {
this.timer = 0;
}
this.timeIt = 0.6 + (_root.spe * 0.02);
if (this.timeIt > 2) {
this.timeIt = 2;
}
}
Symbol 1246 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 = 1 + (_root.spe * 0.03);
if (this.timey.timeIt > 3) {
this.timey.timeIt = 3;
}
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 1244 MovieClip "timey" in Symbol 1248 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.saveLagPg1 == true) {
this.timer = _parent._parent.swordLag;
} else {
this.timer = 0;
}
this.timeIt = 1 + (_root.spe * 0.03);
if (this.timeIt > 3) {
this.timeIt = 3;
}
}
Symbol 1249 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.39 + (_root.spe * 0.04);
if (this.timey.timeIt > 3) {
this.timey.timeIt = 3;
}
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 1244 MovieClip "timey" in Symbol 1251 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.saveLagPg1 == true) {
this.timer = _parent._parent.rockLag;
} else {
this.timer = 0;
}
this.timeIt = 0.44 + (_root.spe * 0.04);
if (this.timeIt > 3) {
this.timeIt = 3;
}
}
Symbol 1252 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 = 1 + (_root.spe * 0.03);
if (this.timey.timeIt > 3.4) {
this.timey.timeIt = 3.4;
}
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 1244 MovieClip "timey" in Symbol 1254 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.saveLagPg1 == true) {
this.timer = _parent._parent.axeLag;
} else {
this.timer = 0;
}
this.timeIt = 1 + (_root.spe * 0.03);
if (this.timeIt > 3.4) {
this.timeIt = 3.4;
}
}
Symbol 1255 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 = 1 + (_root.spe * 0.03);
if (this.timey.timeIt > 3.2) {
this.timey.timeIt = 3.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 1244 MovieClip "timey" in Symbol 1257 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.saveLagPg1 == true) {
this.timer = _parent._parent.maceLag;
} else {
this.timer = 0;
}
this.timeIt = 1 + (_root.spe * 0.03);
if (this.timeIt > 3.2) {
this.timeIt = 3.2;
}
}
Symbol 1259 Button
on (release) {
saveLagPg1 = true;
if (_root.healSpell == 1) {
healLag = restoreHp.timey.timer;
}
if (_root.swordSpell == 1) {
swordLag = summon_Sword.timey.timer;
}
if (_root.rockSpell == 1) {
rockLag = bigRock.timey.timer;
}
if (_root.axeSpell == 1) {
axeLag = summon_Axe.timey.timer;
}
if (_root.maceSpell == 1) {
maceLag = summon_Mace.timey.timer;
}
nextFrame();
}
Symbol 1260 Button
on (release) {
saveLagPg1 = true;
if (_root.healSpell == 1) {
healLag = restoreHp.timey.timer;
}
if (_root.swordSpell == 1) {
swordLag = summon_Sword.timey.timer;
}
if (_root.rockSpell == 1) {
rockLag = bigRock.timey.timer;
}
if (_root.axeSpell == 1) {
axeLag = summon_Axe.timey.timer;
}
if (_root.maceSpell == 1) {
maceLag = summon_Mace.timey.timer;
}
gotoAndPlay (1);
}
Symbol 1262 Button
on (release) {
saveLagPg2 = true;
if (_root.slowSpell == 1) {
slowLag = slowy.timey.timer;
}
if (_root.shockSpell == 1) {
shockLag = shock.timey.timer;
}
if (_root.lightSpell == 1) {
lightLag = light.timey.timer;
}
if (_root.stopSpell == 1) {
stopLag = stopo.timey.timer;
}
prevFrame();
}
Symbol 1263 Button
on (release) {
if (((_root.magRune >= 3) && (_root.timeRune >= 3)) && (this.timey.timer == 100)) {
this.timey.timer = 0;
this.timey.timeIt = 0.28 + (_root.spe * 0.01);
if (this.timey.timeIt > 1.1) {
this.timey.timeIt = 1.1;
}
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 1244 MovieClip "timey" in Symbol 1265 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.saveLagPg2 == true) {
this.timer = _parent._parent.slowLag;
} else {
this.timer = 0;
}
this.timeIt = 0.28 + (_root.spe * 0.01);
if (this.timeIt > 1.1) {
this.timeIt = 1.1;
}
}
Symbol 1266 Button
on (release) {
if ((_root.magRune >= 12) && (this.timey.timer == 100)) {
this.timey.timer = 0;
this.timey.timeIt = 0.34 + (_root.spe * 0.01);
if (this.timey.timeIt > 2) {
this.timey.timeIt = 2;
}
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 1244 MovieClip "timey" in Symbol 1268 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.saveLagPg2 == true) {
this.timer = _parent._parent.shockLag;
} else {
this.timer = 0;
}
this.timeIt = 0.34 + (_root.spe * 0.01);
if (this.timeIt > 2) {
this.timeIt = 2;
}
}
Symbol 1269 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.3 + (_root.spe * 0.01);
if (this.timey.timeIt > 1.8) {
this.timey.timeIt = 1.8;
}
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 1244 MovieClip "timey" in Symbol 1271 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.saveLagPg2 == true) {
this.timer = _parent._parent.lightLag;
} else {
this.timer = 0;
}
this.timeIt = 0.3 + (_root.spe * 0.01);
if (this.timeIt > 1.8) {
this.timeIt = 1.8;
}
}
Symbol 1272 Button
on (release) {
if (((_root.magRune >= 4) && (_root.timeRune >= 10)) && (this.timey.timer == 100)) {
this.timey.timer = 0;
this.timey.timeIt = 0.14 + (_root.spe * 0.01);
if (this.timey.timeIt > 1.1) {
this.timey.timeIt = 1.1;
}
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 1244 MovieClip "timey" in Symbol 1274 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.saveLagPg2 == true) {
this.timer = _parent._parent.stopLag;
} else {
this.timer = 0;
}
this.timeIt = 0.14 + (_root.spe * 0.01);
if (this.timeIt > 1.1) {
this.timeIt = 1.1;
}
}
Symbol 1275 Button
on (release) {
saveLagPg2 = true;
if (_root.slowSpell == 1) {
slowLag = slowy.timey.timer;
}
if (_root.shockSpell == 1) {
shockLag = shock.timey.timer;
}
if (_root.lightSpell == 1) {
lightLag = light.timey.timer;
}
if (_root.stopSpell == 1) {
stopLag = stopo.timey.timer;
}
nextFrame();
}
Symbol 1276 Button
on (release) {
saveLagPg2 = true;
if (_root.slowSpell == 1) {
slowLag = slowy.timey.timer;
}
if (_root.shockSpell == 1) {
shockLag = shock.timey.timer;
}
if (_root.lightSpell == 1) {
lightLag = light.timey.timer;
}
if (_root.stopSpell == 1) {
stopLag = stopo.timey.timer;
}
gotoAndPlay (1);
}
Symbol 1277 Button
on (release) {
saveLagPg3 = true;
if (_root.lightSpell2 == 1) {
lightLag2 = light2.timey.timer;
}
if (_root.sheildSpell == 1) {
sheildLag = sheild.timey.timer;
}
if (_root.dragonSpell == 1) {
dragonLag = drago.timey.timer;
}
if (_root.spearSpell == 1) {
spearLag = speared.timey.timer;
}
prevFrame();
}
Symbol 1278 Button
on (release) {
if ((((_root.magRune >= 6) && (_root.fireRune >= 6)) && (_root.exploRune >= 4)) && (this.timey.timer == 100)) {
this.timey.timer = 0;
this.timey.timeIt = 0.23 + (_root.spe * 0.01);
if (this.timey.timeIt > 1.4) {
this.timey.timeIt = 1.4;
}
this.timey._visible = true;
_root.magRune = _root.magRune - 6;
_root.exploRune = _root.exploRune - 4;
_root.fireRune = _root.fireRune - 6;
_root.storm._visible = true;
_root.storm.gotoAndPlay(1);
} else {
_root.messy = "Not enough Runes";
}
}
on (rollOver) {
_root.messy = "6 mag, 6 fire, 4 ex";
}
on (rollOut) {
_root.messy = "";
}
Symbol 1280 MovieClip Frame 1
stop();
Instance of Symbol 1244 MovieClip "timey" in Symbol 1280 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.saveLagPg3 == true) {
this.timer = _parent._parent.lightLag2;
} else {
this.timer = 0;
}
this.timeIt = 0.23 + (_root.spe * 0.01);
if (this.timeIt > 1.4) {
this.timeIt = 1.4;
}
}
Symbol 1281 Button
on (release) {
saveLagPg3 = true;
if (_root.lightSpell2 == 1) {
lightLag2 = light2.timey.timer;
}
if (_root.sheildSpell == 1) {
sheildLag = sheild.timey.timer;
}
if (_root.dragonSpell == 1) {
dragonLag = drago.timey.timer;
}
if (_root.spearSpell == 1) {
spearLag = speared.timey.timer;
}
nextFrame();
}
Symbol 1282 Button
on (release) {
if ((_root.magRune >= 20) && (this.timey.timer == 100)) {
_root.magRune = _root.magRune - 20;
this.timey.timer = 0;
this.timey.timeIt = 0.17 + (_root.spe * 0.01);
if (this.timey.timeIt > 1) {
this.timey.timeIt = 1;
}
this.timey._visible = true;
_root.sheildy._visible = true;
_root.sheildUp = true;
_root.sheildy.timeIt = 320;
} else {
_root.messy = "Not enough Runes";
}
}
on (rollOver) {
_root.messy = "20 Mag";
}
on (rollOut) {
_root.messy = "";
}
Instance of Symbol 1244 MovieClip "timey" in Symbol 1284 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.saveLagPg3 == true) {
this.timer = _parent._parent.sheildLag;
} else {
this.timer = 0;
}
this.timeIt = 0.17 + (_root.spe * 0.01);
if (this.timeIt > 1) {
this.timeIt = 1;
}
}
Symbol 1285 Button
on (release) {
if (((_root.magRune >= 10) && (_root.fireRune >= 15)) && (this.timey.timer == 100)) {
this.timey.timer = 0;
_root.fireRune = _root.fireRune - 15;
this.timey.timeIt = 0.2 + (_root.spe * 0.01);
if (this.timey.timeIt > 2) {
this.timey.timeIt = 2;
}
this.timey._visible = true;
_root.magRune = _root.magRune - 10;
_root.dragony._visible = true;
_root.dragony.active = true;
} else {
_root.messy = "Not enough Runes";
}
}
on (rollOver) {
_root.messy = "10 Mag, 15 fire";
}
on (rollOut) {
_root.messy = "";
}
Instance of Symbol 1244 MovieClip "timey" in Symbol 1287 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.saveLagPg3 == true) {
this.timer = _parent._parent.dragonLag;
} else {
this.timer = 0;
}
this.timeIt = 0.2 + (_root.spe * 0.01);
if (this.timeIt > 2) {
this.timeIt = 2;
}
}
Symbol 1288 Button
on (release) {
if (((_root.magRune >= 12) && (_root.windRune >= 13)) && (this.timey.timer == 100)) {
_root.magRune = _root.magRune - 12;
_root.windRune = _root.windRune - 13;
this.timey.timer = 0;
this.timey.timeIt = 0.3 + (_root.spe * 0.005);
if (this.timey.timeIt > 1.5) {
this.timey.timeIt = 1.5;
}
this.timey._visible = true;
_root.spear.active = true;
_root.spear.play();
} else {
_root.messy = "Not enough Runes";
}
}
on (rollOver) {
_root.messy = "12 Mag, 13 Wind";
}
on (rollOut) {
_root.messy = "";
}
Instance of Symbol 1244 MovieClip "timey" in Symbol 1290 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.saveLagPg4 == true) {
this.timer = _parent._parent.spearLag;
} else {
this.timer = 0;
}
this.timeIt = 0.3 + (_root.spe * 0.005);
if (this.timeIt > 1.5) {
this.timeIt = 1.5;
}
}
Symbol 1291 Button
on (release) {
saveLagPg3 = true;
if (_root.lightSpell2 == 1) {
lightLag2 = light2.timey.timer;
}
if (_root.sheildSpell == 1) {
sheildLag = sheild.timey.timer;
}
if (_root.dragonSpell == 1) {
dragonLag = drago.timey.timer;
}
if (_root.spearSpell == 1) {
spearLag = speared.timey.timer;
}
gotoAndPlay (1);
}
Symbol 1292 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.2 + (_root.spe * 0.01);
if (this.timey.timeIt > 1.5) {
this.timey.timeIt = 1.5;
}
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 1244 MovieClip "timey" in Symbol 1294 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.saveLagPg4 == true) {
this.timer = _parent._parent.metLag;
} else {
this.timer = 0;
}
this.timeIt = 0.2 + (_root.spe * 0.01);
if (this.timeIt > 1.5) {
this.timeIt = 1.5;
}
}
Symbol 1295 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.14 + (_root.spe * 0.01);
if (this.timey.timeIt > 1.5) {
this.timey.timeIt = 1.5;
}
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 1244 MovieClip "timey" in Symbol 1297 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.saveLagPg4 == true) {
this.timer = _parent._parent.killLag;
} else {
this.timer = 0;
}
this.timeIt = 0.14 + (_root.spe * 0.01);
if (this.timeIt > 1.5) {
this.timeIt = 1.5;
}
}
Symbol 1298 Button
on (release) {
if (((_root.magRune >= 4) && (_root.fireRune >= 10)) && (this.timey.timer == 100)) {
_root.magRune = _root.magRune - 4;
_root.fireRun = _root.fireRun - 10;
this.timey.timer = 0;
this.timey.timeIt = 0.3 + (_root.spe * 0.01);
if (this.timey.timeIt > 1.5) {
this.timey.timeIt = 1.5;
}
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 1244 MovieClip "timey" in Symbol 1300 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.saveLagPg4 == true) {
this.timer = _parent._parent.ballLag;
} else {
this.timer = 0;
}
this.timeIt = 0.3 + (_root.spe * 0.01);
if (this.timeIt > 1.5) {
this.timeIt = 1.5;
}
}
Symbol 1301 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.5 + (_root.spe * 0.01);
if (this.timey.timeIt > 1.5) {
this.timey.timeIt = 1.5;
}
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 1244 MovieClip "timey" in Symbol 1303 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.saveLagPg4 == true) {
this.timer = _parent._parent.poisLag;
} else {
this.timer = 0;
}
this.timeIt = 0.5 + (_root.spe * 0.01);
if (this.timeIt > 1.5) {
this.timeIt = 1.5;
}
}
Symbol 1304 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.06 + (_root.spe * 0.005);
if (this.timey.timeIt > 1.5) {
this.timey.timeIt = 1.5;
}
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 1244 MovieClip "timey" in Symbol 1306 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.saveLagPg4 == true) {
this.timer = _parent._parent.nukeLag;
} else {
this.timer = 0;
}
this.timeIt = 0.06 + (_root.spe * 0.005);
if (this.timeIt > 1.5) {
this.timeIt = 1.5;
}
}
Symbol 1307 Button
on (release) {
saveLagPg4 = true;
if (_root.metSpell == 1) {
metLag = meteora.timey.timer;
}
if (_root.killSpell == 1) {
killLag = instaKill.timey.timer;
}
if (_root.ballSpell == 1) {
ballLag = flameB.timey.timer;
}
if (_root.poisSpell == 1) {
poisLag = poisonF.timey.timer;
}
if (_root.nukeSpell == 1) {
nukeLag = nuke.timey.timer;
}
prevFrame();
}
Symbol 1308 Button
on (release) {
saveLagPg4 = true;
if (_root.metSpell == 1) {
metLag = meteora.timey.timer;
}
if (_root.killSpell == 1) {
killLag = instaKill.timey.timer;
}
if (_root.ballSpell == 1) {
ballLag = flameB.timey.timer;
}
if (_root.poisSpell == 1) {
poisLag = poisonF.timey.timer;
}
if (_root.nukeSpell == 1) {
nukeLag = nuke.timey.timer;
}
gotoAndPlay (1);
}
Symbol 1309 MovieClip Frame 1
stop();
Instance of Symbol 1245 MovieClip "restoreHp" in Symbol 1309 MovieClip Frame 2
onClipEvent (load) {
if (_root.healSpell != 1) {
this._visible = false;
}
}
Instance of Symbol 1248 MovieClip "summon_Sword" in Symbol 1309 MovieClip Frame 2
onClipEvent (load) {
if (_root.swordSpell != 1) {
this._visible = false;
}
}
Instance of Symbol 1251 MovieClip "bigRock" in Symbol 1309 MovieClip Frame 2
onClipEvent (load) {
if (_root.rockSpell != 1) {
this._visible = false;
}
}
Instance of Symbol 1254 MovieClip "summon_Axe" in Symbol 1309 MovieClip Frame 2
onClipEvent (load) {
if (_root.axeSpell != 1) {
_root.menuu.summon_Axe._visible = false;
}
}
Instance of Symbol 1257 MovieClip "summon_Mace" in Symbol 1309 MovieClip Frame 2
onClipEvent (load) {
if (_root.maceSpell != 1) {
_root.menuu.summon_Mace._visible = false;
}
}
Instance of Symbol 1265 MovieClip "slowy" in Symbol 1309 MovieClip Frame 3
onClipEvent (load) {
if (_root.slowSpell != 1) {
_root.menuu.slowy._visible = false;
}
}
Instance of Symbol 1268 MovieClip "shock" in Symbol 1309 MovieClip Frame 3
onClipEvent (load) {
if (_root.shockSpell != 1) {
this._visible = false;
}
}
Instance of Symbol 1271 MovieClip "light" in Symbol 1309 MovieClip Frame 3
onClipEvent (load) {
if (_root.lightSpell != 1) {
this._visible = false;
}
}
Instance of Symbol 1274 MovieClip "stopo" in Symbol 1309 MovieClip Frame 3
onClipEvent (load) {
if (_root.stopSpell != 1) {
this._visible = false;
}
}
Instance of Symbol 1280 MovieClip "light2" in Symbol 1309 MovieClip Frame 4
onClipEvent (load) {
if (_root.lightSpell2 != 1) {
_root.menuu.light2._visible = false;
}
}
Instance of Symbol 1284 MovieClip "sheild" in Symbol 1309 MovieClip Frame 4
onClipEvent (load) {
if (_root.sheildSpell != 1) {
this._visible = false;
}
}
Instance of Symbol 1287 MovieClip "drago" in Symbol 1309 MovieClip Frame 4
onClipEvent (load) {
if (_root.dragonSpell != 1) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip "speared" in Symbol 1309 MovieClip Frame 4
onClipEvent (load) {
if (_root.spearSpell != 1) {
this._visible = false;
}
}
Instance of Symbol 1294 MovieClip "meteora" in Symbol 1309 MovieClip Frame 5
onClipEvent (load) {
if (_root.metSpell != 1) {
_root.menuu.meteora._visible = false;
}
}
Instance of Symbol 1297 MovieClip "instaKill" in Symbol 1309 MovieClip Frame 5
onClipEvent (load) {
if (_root.killSpell != 1) {
_root.menuu.instaKill._visible = false;
}
}
Instance of Symbol 1300 MovieClip "flameB" in Symbol 1309 MovieClip Frame 5
onClipEvent (load) {
if (_root.ballSpell != 1) {
_root.menuu.flameB._visible = false;
}
}
Instance of Symbol 1303 MovieClip "poisonF" in Symbol 1309 MovieClip Frame 5
onClipEvent (load) {
if (_root.poisSpell != 1) {
_root.menuu.poisonF._visible = false;
}
}
Instance of Symbol 1306 MovieClip "nuke" in Symbol 1309 MovieClip Frame 5
onClipEvent (load) {
if (_root.nukeSpell != 1) {
this._visible = false;
}
}
Symbol 1310 MovieClip Frame 14
stop();
Symbol 1316 MovieClip Frame 1
stop();
Symbol 1316 MovieClip Frame 22
shoot = false;
ready = false;
gravity = 0;
this._x = 900;
this._y = 900;
gotoAndStop (1);
Symbol 1321 MovieClip Frame 1
stop();
Symbol 1347 MovieClip Frame 12
this.removeMovieClip();
Symbol 1349 MovieClip Frame 1
this._y = random(99) + 260;
Symbol 1349 MovieClip Frame 15
tempo = random(_root.enemyOut) + 1;
choose = random(13) + 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;
}
if (timer > 750) {
this.active = false;
timer = 0;
this.gotoAndStop(16);
} else {
gotoAndPlay (1);
}
Symbol 1349 MovieClip Frame 16
stop();
Symbol 1354 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";
}
}
on (rollOver) {
_root.messy = "Toggle quality.";
}
on (rollOut) {
_root.messy = "";
}
Symbol 1356 Button
on (press) {
if (musOn == 1) {
stopAllSounds();
musOn = 0;
gotoAndStop (2);
}
}
Symbol 1360 Button
on (press) {
prevFrame();
}
Symbol 1361 Button
on (press) {
musOn = 1;
_root.sound1.attachSound("mussy");
_root.sound1.start(0, 66666);
}
Symbol 1362 MovieClip Frame 1
stop();
Symbol 1376 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;
this.stop();
if (_root.customPlay == true) {
_root.gameOvey.gotoAndStop(2);
_root.gameOvey.textbox = "GAME OVER";
}
_root.gameOvey._visible = true;
}
if (_root.castleLife != 100) {
setProperty(bar, _yscale , _root.castleLife);
} else {
setProperty(bar, _yscale , 100);
}
Symbol 1376 MovieClip Frame 2
if (_root.gotFarm == 1) {
farmo = farmo + 1;
}
gotoAndPlay (1);
Symbol 1380 MovieClip Frame 1
_root.money1 = ("Gold: " + _root.money) + "$";
_root.level1 = "Level: " + _root.level;
_root.score1 = "Score: " + _root.score;
Instance of Symbol 1379 MovieClip in Symbol 1380 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(35)) {
_root.money = _root.money + 1000;
}
}
Instance of Symbol 1376 MovieClip in Symbol 1382 MovieClip Frame 1
onClipEvent (load) {
farmo = 0;
}
onClipEvent (enterFrame) {
_root.hpStuff = (_root.castleHp + " / ") + _root.castleMaxHp;
}
Symbol 1384 Button
on (release) {
gotoAndStop (7);
}
on (rollOver) {
_root.messy = "No need to play the game all at once, save it!";
}
on (rollOut) {
_root.messy = "";
}
Symbol 1386 Button
on (release) {
_root.buyMenu.messyHah.sawMessage = false;
if (_root.modeo == "All") {
randMode = random(3) + 1;
switch (randMode) {
case 1 :
_root.dragOn = 0;
_root.holdIt = 0;
break;
case 2 :
_root.dragOn = 1;
_root.holdIt = 0;
break;
case 3 :
_root.dragOn = 0;
_root.holdIt = 1;
}
}
_root.musicPlay = _root.musicPlay + 1;
_root.enemyOut2 = 0;
_root.level = _root.level + 1;
_root.enemyOut = 0;
_root.moMoney = _root.moMoney + Math.ceil((random(17) + 6) * _root.hardining);
_root.moSpeed = _root.moSpeed + 0.03;
otherDelay = 0;
if (_root.moSpeed > 3) {
_root.moSpeed = 3;
}
_root.moEnemys = _root.moEnemys + ((random(2) + 1) + Math.ceil(_root.hardining));
if (_root.enemyLim != "No Limit") {
if (_root.moEnemys > _root.enemyLim) {
_root.moEnemys = _root.enemyLim;
}
}
_root.enemoGen.enemiesGenerated = 0;
if (((_root.battleMusicOn == true) && (_root.bossMusicOn == true)) || (_root.musicPlay == 4)) {
stopAllSounds();
_root.musicPlay = 0;
_root.bossMusicOn = false;
musPlayo = random(4) + 1;
switch (musPlayo) {
case 1 :
_root.sound.attachSound("battleMusic");
break;
case 2 :
_root.sound.attachSound("fight1");
break;
case 3 :
_root.sound.attachSound("fight2");
break;
case 4 :
_root.sound.attachSound("fight3");
}
_root.sound.start(0, 60000);
}
_root.deadEnemy = 0;
if ((_root.level % _root.bossLev) == 0) {
if (_root.battleMusicOn != false) {
stopAllSounds();
_root.sound.attachSound("bossMusic");
_root.sound.start(0, 60000);
_root.bossMusicOn = true;
}
_root.bossO.play();
}
this._visible = false;
}
on (rollOver) {
_root.messy = "Continue to next level.";
}
on (rollOut) {
_root.messy = "";
}
Symbol 1388 Button
on (release) {
gotoAndStop (6);
}
on (rollOver) {
_root.messy = "Purchase runes and restore health.";
}
on (rollOut) {
_root.messy = "";
}
Symbol 1390 Button
on (release) {
gotoAndStop (4);
}
on (rollOver) {
_root.messy = "Upgrade your castle.";
}
on (rollOut) {
_root.messy = "";
}
Symbol 1392 Button
on (release) {
gotoAndStop (2);
}
on (rollOver) {
_root.messy = "Purchase a spell that you can use to attack enemys.";
}
on (rollOut) {
_root.messy = "";
}
Symbol 1395 Button
on (release) {
stopAllSounds();
_root.redefineVars = true;
_root.loadedIt = 0;
_root.gotoAndStop("preload");
}
on (rollOver) {
_root.messy = "Go back to the main menu.";
}
on (rollOut) {
_root.messy = "";
}
Symbol 1397 Button
on (release) {
gotoAndStop (2);
}
on (rollOver) {
_root.messy = "Make the game harder.";
}
on (rollOut) {
_root.messy = "";
}
Symbol 1398 Button
on (release) {
_root.gotoAndPlay("preload");
}
on (rollOver) {
_root.messy = "Go back to the main menu.";
}
on (rollOut) {
_root.messy = "";
}
Symbol 1399 Button
on (release) {
gotoAndPlay (1);
}
Symbol 1404 Button
on (release) {
_root.hlevel = _root.hlevel + 1;
}
on (rollOver) {
_root.messy = "Increase difficulty.";
}
on (rollOut) {
_root.messy = "";
}
Symbol 1406 Button
on (release) {
if (_root.hlevel > 0) {
_root.hlevel = _root.hlevel - 1;
}
}
on (rollOver) {
_root.messy = "Decrease difficulty.";
}
on (rollOut) {
_root.messy = "";
}
Symbol 1407 MovieClip Frame 1
stop();
Symbol 1409 Button
on (press) {
gotoAndStop (2);
}
Symbol 1413 Button
on (release) {
gotoAndStop (1);
}
on (rollOver) {
_root.messy = "Close Stats.";
}
on (rollOut) {
_root.messy = "";
}
Symbol 1415 Button
on (press) {
if (_root.spoints > 0) {
_root.str = _root.str + 1;
_root.str1 = "Strength: " + _root.str;
_root.spoints = _root.spoints - 1;
_root.mstats = ("You currently have " + _root.spoints) + " stats.";
}
}
Symbol 1416 Button
on (press) {
if (_root.spoints > 0) {
_root.def = _root.def + 1;
_root.def1 = "Defence: " + _root.def;
_root.spoints = _root.spoints - 1;
_root.mstats = ("You currently have " + _root.spoints) + " stats.";
}
}
Symbol 1417 Button
on (press) {
if (_root.spoints > 0) {
_root.castleMaxHp = _root.castleMaxHp + 6;
_root.vit = _root.vit + 1;
_root.vit1 = "Vitility: " + _root.vit;
_root.spoints = _root.spoints - 1;
_root.mstats = ("You currently have " + _root.spoints) + " stats.";
}
}
Symbol 1418 Button
on (press) {
if (_root.spoints > 0) {
_root.spe = _root.spe + 1;
_root.speed1 = "Speed: " + _root.spe;
_root.spoints = _root.spoints - 1;
_root.mstats = ("You currently have " + _root.spoints) + " stats.";
}
}
Symbol 1419 Button
on (press) {
if (_root.spoints > 0) {
_root.sum = _root.sum + 1;
_root.sum1 = "Spells: " + _root.sum;
_root.spoints = _root.spoints - 1;
_root.mstats = ("You currently have " + _root.spoints) + " stats.";
}
}
Symbol 1422 MovieClip Frame 1
showIt = (((("Game Time: " + _root.clockHours) + " : ") + _root.clockMinutes) + " : ") + _root.clockSeconds;
Symbol 1422 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1423 MovieClip Frame 1
stop();
Symbol 1423 MovieClip Frame 2
if (_root.spoints <= 0) {
but6._visible = false;
but7._visible = false;
but8._visible = false;
but9._visible = false;
but10._visible = false;
}
Symbol 1430 Button
on (press) {
if ((this.typeRune == "Magic Rune") && (_root.money >= runePrice)) {
_root.magRune = _root.magRune + useThis;
_root.money = _root.money - runePrice;
_parent.messo = "Got Magic Runes!";
} else if ((this.typeRune == "Fire Rune") && (_root.money >= runePrice)) {
_root.fireRune = _root.fireRune + useThis;
_root.money = _root.money - runePrice;
_parent.messo = "Got Fire Runes!";
} else if ((this.typeRune == "Wind Rune") && (_root.money >= runePrice)) {
_root.windRune = _root.windRune + useThis;
_root.money = _root.money - runePrice;
_parent.messo = "Got Wind Runes!";
} else if ((this.typeRune == "Time Rune") && (_root.money >= runePrice)) {
_root.timeRune = _root.timeRune + useThis;
_root.money = _root.money - runePrice;
_parent.messo = "Got Time Runes!";
} else if ((this.typeRune == "Explosion Rune") && (_root.money >= runePrice)) {
_root.exploRune = _root.exploRune + useThis;
_root.money = _root.money - runePrice;
_parent.messo = "Got Explosion Runes!";
} else {
_parent.messo = "Not Enough Money!";
}
this._visible = false;
}
Symbol 1432 Button
on (release) {
inputHowManyRunes = 0;
this._visible = false;
}
Symbol 1435 Button
on (press) {
inputHowManyRunes = inputHowManyRunes + 1;
}
Symbol 1437 Button
on (press) {
inputHowManyRunes = inputHowManyRunes + 5;
}
Symbol 1439 Button
on (press) {
inputHowManyRunes = inputHowManyRunes + 10;
}
Symbol 1441 Button
on (press) {
inputHowManyRunes = inputHowManyRunes + 20;
}
Symbol 1443 Button
on (press) {
inputHowManyRunes = 0;
}
Symbol 1446 MovieClip Frame 1
inputHowManyRunes = 0;
stop();
Instance of Symbol 498 MovieClip "enemoGen" in Symbol 1446 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.typeRune == "Magic Rune") {
_parent.runePrice = _parent.inputHowManyRunes * 85;
} else if ((_parent.typeRune == "Fire Rune") || (_parent.typeRune == "Wind Rune")) {
_parent.runePrice = _parent.inputHowManyRunes * 100;
} else if (_parent.typeRune == "Time Rune") {
_parent.runePrice = _parent.inputHowManyRunes * 180;
} else {
_parent.runePrice = _parent.inputHowManyRunes * 340;
}
_parent.priceo = "Price: " + _parent.runePrice;
_parent.useThis = _parent.inputHowManyRunes;
}
Symbol 1448 Button
on (press) {
gotoAndStop (2);
}
on (rollOver) {
_root.messy = "Turn the auto-save feature on/off";
}
on (rollOut) {
_root.messy = "";
}
Symbol 1449 Button
on (release) {
_parent.gotoAndStop(1);
}
Symbol 1453 MovieClip Frame 1
stop();
Symbol 1454 MovieClip Frame 1
stop();
Instance of Symbol 498 MovieClip "enemoGen" in Symbol 1454 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.typeRune == "Magic Rune") {
_parent.runePrice = _parent.inputHowManyRunes * 85;
} else if ((_parent.typeRune == "Fire Rune") || (_parent.typeRune == "Wind Rune")) {
_parent.runePrice = _parent.inputHowManyRunes * 100;
} else if (_parent.typeRune == "Time Rune") {
_parent.runePrice = _parent.inputHowManyRunes * 180;
} else {
_parent.runePrice = _parent.inputHowManyRunes * 340;
}
_parent.priceo = "Price: " + _parent.runePrice;
_parent.useThis = _parent.inputHowManyRunes;
}
Instance of Symbol 1453 MovieClip in Symbol 1454 MovieClip Frame 1
onClipEvent (load) {
if (_root.autoSaveIsOn != true) {
this.gotoAndStop(2);
}
}
on (press) {
if (_root.autoSaveIsOn == true) {
_root.autoSaveIsOn = false;
this.gotoAndStop(2);
} else {
_root.autoSaveIsOn = true;
this.gotoAndStop(1);
}
}
Symbol 1455 MovieClip Frame 1
stop();
Symbol 1459 Button
on (release) {
gotoAndStop (1);
}
Symbol 1467 Button
on (rollOver) {
messah1 = "4 Mag";
descrap = "Heal HP during battle";
_root.price = "1000g";
}
on (rollOut) {
messah1 = "";
descrap = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 1000) && (_root.healSpell != 1)) {
_root.healSpell = 1;
_root.restoreHp._visible = true;
messo = "Got Heal Spell!";
_root.money = _root.money - 1000;
} else if (_root.healSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1469 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 1471 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 1473 Button
on (rollOver) {
messah1 = "5 Wind";
messah2 = "3 Explo";
messah3 = "4 Fire";
descrap = "Causes major damage anything it touches";
_root.price = "17400g";
}
on (rollOut) {
messah1 = "";
descrap = "";
messah2 = "";
messah3 = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 17400) && (_root.metSpell != 1)) {
_root.metSpell = 1;
messo = "Got Meteor!";
_root.meteora._visible = true;
_root.money = _root.money - 17400;
} else if (_root.metSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1475 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 1477 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 1478 Button
on (rollOver) {
messah1 = "4 Mag";
messah2 = "10 Fire";
descrap = "Causes fire damage to all it touches";
_root.price = "7300g";
}
on (rollOut) {
messah1 = "";
descrap = "";
messah2 = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 7300) && (_root.ballSpell != 1)) {
_root.ballSpell = 1;
_root.flameB._visible = true;
messo = "Got FireBall!";
_root.money = _root.money - 7300;
} else if (_root.ballSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1481 Button
on (release) {
gotoAndStop (3);
}
Symbol 1484 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 1487 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 1489 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 1491 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 = "5000g";
}
on (rollOut) {
messah1 = "";
descrap = "";
messah2 = "";
messah3 = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 5000) && (_root.lightSpell != 1)) {
_root.lightSpell = 1;
messo = "Got Lightning!";
_root.money = _root.money - 5000;
} else if (_root.lightSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1493 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 1494 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 1496 Button
on (release) {
gotoAndStop (8);
}
Symbol 1499 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 1501 Button
on (rollOver) {
_root.price = "10000g";
descrap = "Raises max hp 100";
}
on (rollOut) {
_root.price = "";
}
on (release) {
if ((_root.money >= 10000) && (_root.gotTower != 1)) {
_root.gotTower = 1;
_root.tower._visible = true;
messo = "Got 100 Hp!";
_root.money = _root.money - 10000;
_root.castleMaxHp = _root.castleMaxHp + 100;
} else if (_root.gotTower == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1503 Button
on (rollOver) {
_root.price = "10000g";
descrap = "Raises max Hp by 15";
}
on (rollOut) {
_root.price = "";
descrap = "";
}
on (release) {
if (_root.money >= 10000) {
_root.money = _root.money - 10000;
_root.castleMaxHp = _root.castleMaxHp + 15;
messo = "Raised Max HP!";
} else {
messo = "Not Enough Money!";
}
}
Symbol 1505 Button
on (release) {
messo = "";
nextFrame();
}
Symbol 1506 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 1508 Button
on (rollOver) {
_root.price = (1000 + (_root.archah * 800)) + "g";
descrap = "Archer will help you kill enemies";
}
on (rollOut) {
_root.price = "";
descrap = "";
}
on (release) {
if (_root.money >= (1000 + (_root.archah * 800))) {
if (_root.archah < 11) {
_root.money = _root.money - (1000 + (_root.archah * 800));
_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);
} else if (_root.archah == 7) {
_root.archy7.gotoAndPlay(1);
} else if (_root.archah == 8) {
_root.archy8.gotoAndPlay(1);
} else if (_root.archah == 9) {
_root.archy9.gotoAndPlay(1);
} else if (_root.archah == 10) {
_root.archy10.gotoAndPlay(1);
} else if (_root.archah == 11) {
_root.archy11.gotoAndPlay(1);
}
messo = "Got an archer!";
_root.price = (1000 + (_root.archah * 800)) + "g";
} else {
messo = "Archer Limit reached";
}
} else {
messo = "Not Enough Money!";
}
}
Symbol 1512 Button
on (rollOver) {
_root.price = (1500 + (_root.gunnah * 1100)) + "g";
descrap = "Gunners will help you kill enemies";
}
on (rollOut) {
_root.price = "";
descrap = "";
}
on (release) {
if (_root.money >= (1500 + (_root.gunnah * 1100))) {
if (_root.gunnah < 11) {
_root.money = _root.money - (1500 + (_root.gunnah * 1100));
_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);
} else if (_root.gunnah == 7) {
_root.gunny7.gotoAndPlay(1);
} else if (_root.gunnah == 8) {
_root.gunny8.gotoAndPlay(1);
} else if (_root.gunnah == 9) {
_root.gunny9.gotoAndPlay(1);
} else if (_root.gunnah == 10) {
_root.gunny10.gotoAndPlay(1);
} else if (_root.gunnah == 11) {
_root.gunny11.gotoAndPlay(1);
}
messo = "Got a gunner!";
_root.price = (1500 + (_root.gunnah * 1100)) + "g";
} else {
messo = "Gunner Limit reached";
}
} else {
messo = "Not Enough Money!";
}
}
Symbol 1514 Button
on (release) {
gotoAndPlay (1);
}
Symbol 1518 Button
on (rollOver) {
_root.price = "20000g";
descrap = "Auto - Save upgrade will save every level automatically";
}
on (rollOut) {
_root.price = "";
descrap = "";
}
on (release) {
if ((_root.money >= 20000) && (_root.autoSaveOn != true)) {
_root.money = _root.money - 20000;
messyHah._visible = true;
_root.autoSaveOn = true;
} else if (_root.autoSaveOn == true) {
messo = "You already have auto-save!";
} else {
messo = "Not Enough Money!";
}
}
Symbol 1520 Button
on (rollOver) {
_root.price = "50g";
}
on (rollOut) {
_root.price = "";
}
on (release) {
if ((_root.money >= 80) && (_root.castleHp < _root.castleMaxHp)) {
_root.money = _root.money - 80;
_root.castleHp = _root.castleHp + 15;
messo = "Got 15 HP!";
if (_root.castleHp > _root.castleMaxHp) {
_root.castleHp = _root.castleMaxHp;
}
} else if (_root.castleHp >= _root.castleMaxHp) {
messo = "HP already maxed!";
} else {
messo = "Not Enough Money!";
}
}
Symbol 1522 Button
on (rollOver) {
_root.price = "220g";
}
on (rollOut) {
_root.price = "";
}
on (release) {
if ((_root.money >= 220) && (_root.castleHp < _root.castleMaxHp)) {
_root.money = _root.money - 220;
_root.castleHp = _root.castleHp + 50;
messo = "Got 50 HP!";
if (_root.castleHp > _root.castleMaxHp) {
_root.castleHp = _root.castleMaxHp;
}
} else if (_root.castleHp >= _root.castleMaxHp) {
messo = "HP already maxed!";
} else {
messo = "Not Enough Money!";
}
}
Symbol 1524 Button
on (rollOver) {
_root.price = "430g";
}
on (rollOut) {
_root.price = "";
}
on (release) {
if ((_root.money >= 430) && (_root.castleHp < _root.castleMaxHp)) {
_root.money = _root.money - 430;
_root.castleHp = _root.castleHp + 120;
messo = "Got 120 HP!";
if (_root.castleHp > _root.castleMaxHp) {
_root.castleHp = _root.castleMaxHp;
}
} else if (_root.castleHp >= _root.castleMaxHp) {
messo = "HP already maxed!";
} else {
messo = "Not Enough Money!";
}
}
Symbol 1529 Button
on (rollOver) {
_root.price = "85g";
_root.messy = "Purchase magic rune.";
}
on (rollOut) {
_root.messy = "";
_root.price = "";
}
on (release) {
messo = "";
this.getRunes._visible = true;
this.getRunes.typeRune = "Magic Rune";
this.getRunes.purchaseWhat = this.getRunes.typeRune + " Buy Menu";
}
Symbol 1531 Button
on (rollOver) {
_root.price = "100g";
_root.messy = "Purchase fire rune.";
}
on (rollOut) {
_root.messy = "";
_root.price = "";
}
on (release) {
messo = "";
this.getRunes._visible = true;
this.getRunes.typeRune = "Fire Rune";
this.getRunes.purchaseWhat = this.getRunes.typeRune + " Buy Menu";
}
Symbol 1533 Button
on (rollOver) {
_root.messy = "Purchase wind rune.";
_root.price = "100g";
}
on (rollOut) {
_root.messy = "";
_root.price = "";
}
on (release) {
messo = "";
this.getRunes._visible = true;
this.getRunes.typeRune = "Wind Rune";
this.getRunes.purchaseWhat = this.getRunes.typeRune + " Buy Menu";
}
Symbol 1535 Button
on (rollOver) {
_root.messy = "Purchase time rune.";
_root.price = "180g";
}
on (rollOut) {
_root.messy = "";
_root.price = "";
}
on (release) {
messo = "";
this.getRunes._visible = true;
this.getRunes.typeRune = "Time Rune";
this.getRunes.purchaseWhat = this.getRunes.typeRune + " Buy Menu";
}
Symbol 1537 Button
on (rollOver) {
_root.price = "340g";
_root.messy = "Purchase explosion rune.";
}
on (rollOut) {
_root.messy = "";
_root.price = "";
}
on (release) {
messo = "";
this.getRunes._visible = true;
this.getRunes.typeRune = "Explosion Rune";
this.getRunes.purchaseWhat = this.getRunes.typeRune + " Buy Menu";
}
Symbol 1538 Button
on (release) {
hoe = 6;
_root.alreadySaved3 = 1;
setCookie("database6", "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("database" + hoe, "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);
setCookie("database" + hoe, "iteem41", _root.sheildSpell);
setCookie("database" + hoe, "iteem42", _root.ylvl);
setCookie("database" + hoe, "iteem43", _root.expYou);
setCookie("database" + hoe, "iteem44", _root.expMax);
setCookie("database" + hoe, "iteem45", _root.dragonSpell);
setCookie("database" + hoe, "iteem46", _root.lightSpell2);
setCookie("database" + hoe, "iteem47", _root.spe);
setCookie("database" + hoe, "iteem48", _root.str);
setCookie("database" + hoe, "iteem49", _root.vit);
setCookie("database" + hoe, "iteem50", _root.sum);
setCookie("database" + hoe, "iteem51", _root.def);
setCookie("database" + hoe, "iteem52", _root.top);
setCookie("database" + hoe, "iteem53", _root.arms);
setCookie("database" + hoe, "iteem54", _root.bottom);
setCookie("database" + hoe, "iteem55", _root.mid);
setCookie("database" + hoe, "iteem56", _root.windows);
setCookie("database" + hoe, "iteem57", _root.door);
setCookie("database" + hoe, "iteem58", _root.spoints);
setCookie("database" + hoe, "iteem59", _root.spearSpell);
setCookie("database" + hoe, "iteem60", _root.autoSaveOn);
setCookie("database" + hoe, "iteem61", _root.clockHours);
setCookie("database" + hoe, "iteem62", _root.clockMinutes);
setCookie("database" + hoe, "iteem63", _root.clockSeconds);
savMess = "Saved!";
}
Symbol 1539 Button
on (release) {
hoe = 5;
_root.alreadySaved2 = 1;
setCookie("database5", "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("database" + hoe, "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);
setCookie("database" + hoe, "iteem41", _root.sheildSpell);
setCookie("database" + hoe, "iteem42", _root.ylvl);
setCookie("database" + hoe, "iteem43", _root.expYou);
setCookie("database" + hoe, "iteem44", _root.expMax);
setCookie("database" + hoe, "iteem45", _root.dragonSpell);
setCookie("database" + hoe, "iteem46", _root.lightSpell2);
setCookie("database" + hoe, "iteem47", _root.spe);
setCookie("database" + hoe, "iteem48", _root.str);
setCookie("database" + hoe, "iteem49", _root.vit);
setCookie("database" + hoe, "iteem50", _root.sum);
setCookie("database" + hoe, "iteem51", _root.def);
setCookie("database" + hoe, "iteem52", _root.top);
setCookie("database" + hoe, "iteem53", _root.arms);
setCookie("database" + hoe, "iteem54", _root.bottom);
setCookie("database" + hoe, "iteem55", _root.mid);
setCookie("database" + hoe, "iteem56", _root.windows);
setCookie("database" + hoe, "iteem57", _root.door);
setCookie("database" + hoe, "iteem58", _root.spoints);
setCookie("database" + hoe, "iteem59", _root.spearSpell);
setCookie("database" + hoe, "iteem60", _root.autoSaveOn);
setCookie("database" + hoe, "iteem61", _root.clockHours);
setCookie("database" + hoe, "iteem62", _root.clockMinutes);
setCookie("database" + hoe, "iteem63", _root.clockSeconds);
savMess = "Saved!";
}
Symbol 1540 Button
on (release) {
hoe = 4;
_root.alreadySaved1 = 1;
setCookie("database4", "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("database" + hoe, "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);
setCookie("database" + hoe, "iteem41", _root.sheildSpell);
setCookie("database" + hoe, "iteem42", _root.ylvl);
setCookie("database" + hoe, "iteem43", _root.expYou);
setCookie("database" + hoe, "iteem44", _root.expMax);
setCookie("database" + hoe, "iteem45", _root.dragonSpell);
setCookie("database" + hoe, "iteem46", _root.lightSpell2);
setCookie("database" + hoe, "iteem47", _root.spe);
setCookie("database" + hoe, "iteem48", _root.str);
setCookie("database" + hoe, "iteem49", _root.vit);
setCookie("database" + hoe, "iteem50", _root.sum);
setCookie("database" + hoe, "iteem51", _root.def);
setCookie("database" + hoe, "iteem52", _root.top);
setCookie("database" + hoe, "iteem53", _root.arms);
setCookie("database" + hoe, "iteem54", _root.bottom);
setCookie("database" + hoe, "iteem55", _root.mid);
setCookie("database" + hoe, "iteem56", _root.windows);
setCookie("database" + hoe, "iteem57", _root.door);
setCookie("database" + hoe, "iteem58", _root.spoints);
setCookie("database" + hoe, "iteem59", _root.spearSpell);
setCookie("database" + hoe, "iteem60", _root.autoSaveOn);
setCookie("database" + hoe, "iteem61", _root.clockHours);
setCookie("database" + hoe, "iteem62", _root.clockMinutes);
setCookie("database" + hoe, "iteem63", _root.clockSeconds);
savMess = "Saved!";
}
Symbol 1544 Button
on (release) {
savMess = "";
gotoAndStop (1);
}
Symbol 1552 Button
on (rollOver) {
messah1 = "10 Mag";
messah2 = "10 Fire";
messah3 = "15 Explo";
descrap = "Destroys all";
_root.price = "1700000g";
}
on (rollOut) {
messah1 = "";
messah2 = "";
messah3 = "";
descrap = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 1700000) && (_root.nukeSpell != 1)) {
_root.nukeSpell = 1;
messo = "Got Nuke!";
_root.money = _root.money - 1700000;
} else if (_root.nukeSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1554 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 1555 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 1556 Button
on (rollOver) {
messah1 = "6 Mag";
messah2 = "6 Fire";
messah3 = "4 Explo";
descrap = "Does a fair amount to a wide range";
_root.price = "19000g";
}
on (rollOut) {
messah1 = "";
messah2 = "";
messah3 = "";
descrap = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 19000) && (_root.lightSpell2 != 1)) {
_root.lightSpell2 = 1;
messo = "Got Light Storm!";
_root.money = _root.money - 19000;
} else if (_root.lightSpell2 == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1558 Button
on (rollOver) {
messah1 = "20 Mag";
messah2 = "";
messah3 = "";
descrap = "Protects you from attacks for some time";
_root.price = "50000g";
}
on (rollOut) {
messah1 = "";
messah2 = "";
messah3 = "";
descrap = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 50000) && (_root.sheildSpell != 1)) {
_root.sheildSpell = 1;
messo = "Got Sheild!";
_root.money = _root.money - 50000;
} else if (_root.sheildSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1560 Button
on (rollOver) {
messah1 = "10 Mag";
messah2 = "15 Fire";
messah3 = "";
descrap = "Summons a Dragon";
_root.price = "75000g";
}
on (rollOut) {
messah1 = "";
messah2 = "";
messah3 = "";
descrap = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 75000) && (_root.dragonSpell != 1)) {
_root.dragonSpell = 1;
messo = "Got Dragon!";
_root.money = _root.money - 75000;
} else if (_root.dragonSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1562 Button
on (rollOver) {
messah1 = "13 Mag";
messah2 = "12 Wind";
messah3 = "";
descrap = "Summons spears for a certain amount of time";
_root.price = "4500g";
}
on (rollOut) {
messah1 = "";
messah2 = "";
messah3 = "";
descrap = "";
_root.price = "";
}
on (release) {
if ((_root.money >= 4500) && (_root.spearSpell != 1)) {
_root.spearSpell = 1;
messo = "Got Summon Spear!";
_root.money = _root.money - 4500;
} else if (_root.spearSpell == 1) {
messo = "Already have it!";
} else {
messo = "Not enough money!";
}
}
Symbol 1566 MovieClip Frame 1
stop();
_root.timeStop = 0;
Instance of Symbol 1423 MovieClip in Symbol 1566 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gainedLevel == true) {
_root.gainedLevel = false;
this.gotoAndStop(2);
}
}
Instance of Symbol 1446 MovieClip "getRunes" in Symbol 1566 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1455 MovieClip "messyHah" in Symbol 1566 MovieClip Frame 1
onClipEvent (load) {
if (_root.autoSaveOn != true) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (((_root.autoSaveOn == true) && (sawMessage != true)) && (_root.autoSaveIsOn == true)) {
if (_root.user == getCookie("database4", "iteem34")) {
hoe = 4;
saveTo1 = true;
} else if (_root.user == getCookie("database5", "iteem34")) {
hoe = 5;
saveTo2 = true;
} else if (_root.user == getCookie("database6", "iteem34")) {
hoe = 6;
saveTo3 = true;
} else if (_root.alreadySaved1 != 1) {
hoe = 4;
saveTo1 = true;
} else if (_root.alreadySaved2 != 1) {
hoe = 5;
saveTo2 = true;
} else if (_root.alreadySaved3 != 1) {
hoe = 6;
saveTo3 = true;
}
setCookie("database" + hoe, "iteem1", 1);
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("database" + hoe, "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);
setCookie("database" + hoe, "iteem41", _root.sheildSpell);
setCookie("database" + hoe, "iteem42", _root.ylvl);
setCookie("database" + hoe, "iteem43", _root.expYou);
setCookie("database" + hoe, "iteem44", _root.expMax);
setCookie("database" + hoe, "iteem45", _root.dragonSpell);
setCookie("database" + hoe, "iteem46", _root.lightSpell2);
setCookie("database" + hoe, "iteem47", _root.spe);
setCookie("database" + hoe, "iteem48", _root.str);
setCookie("database" + hoe, "iteem49", _root.vit);
setCookie("database" + hoe, "iteem50", _root.sum);
setCookie("database" + hoe, "iteem51", _root.def);
setCookie("database" + hoe, "iteem52", _root.top);
setCookie("database" + hoe, "iteem53", _root.arms);
setCookie("database" + hoe, "iteem54", _root.bottom);
setCookie("database" + hoe, "iteem55", _root.mid);
setCookie("database" + hoe, "iteem56", _root.windows);
setCookie("database" + hoe, "iteem57", _root.door);
setCookie("database" + hoe, "iteem58", _root.spoints);
setCookie("database" + hoe, "iteem59", _root.spearSpell);
setCookie("database" + hoe, "iteem60", _root.autoSaveOn);
this._visible = true;
saveTo1 = false;
saveTo2 = false;
saveTo3 = false;
sawMessage = true;
}
}
Instance of Symbol 1423 MovieClip in Symbol 1566 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.gainedLevel == true) {
_root.gainedLevel = false;
this.gotoAndStop(2);
}
}
Symbol 1569 Button
on (release) {
stopAllSounds();
_root.redefineVars = true;
_root.gotoAndStop("preload");
}
Symbol 1571 MovieClip Frame 1
stop();
Symbol 1573 Button
on (release) {
gotoAndStop (2);
}
on (rollOver) {
_root.messy = "No need to play the game all at once, save it!";
}
on (rollOut) {
_root.messy = "";
}
Symbol 1574 Button
on (release) {
stopAllSounds();
_root.redefineVars = true;
_root.loadedIt = 0;
_root.gotoAndStop("preload");
}
Symbol 1576 Button
on (release) {
hoe = 4;
_root.alreadySaved1 = 1;
setCookie("database4", "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("database" + hoe, "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);
setCookie("database" + hoe, "iteem41", _root.sheildSpell);
setCookie("database" + hoe, "iteem42", _root.ylvl);
setCookie("database" + hoe, "iteem43", _root.expYou);
setCookie("database" + hoe, "iteem44", _root.expMax);
setCookie("database" + hoe, "iteem45", _root.dragonSpell);
setCookie("database" + hoe, "iteem46", _root.lightSpell2);
setCookie("database" + hoe, "iteem47", _root.spe);
setCookie("database" + hoe, "iteem48", _root.str);
setCookie("database" + hoe, "iteem49", _root.vit);
setCookie("database" + hoe, "iteem50", _root.sum);
setCookie("database" + hoe, "iteem51", _root.def);
setCookie("database" + hoe, "iteem52", _root.top);
setCookie("database" + hoe, "iteem53", _root.arms);
setCookie("database" + hoe, "iteem54", _root.bottom);
setCookie("database" + hoe, "iteem55", _root.mid);
setCookie("database" + hoe, "iteem56", _root.windows);
setCookie("database" + hoe, "iteem57", _root.door);
setCookie("database" + hoe, "iteem58", _root.spoints);
setCookie("database" + hoe, "iteem59", _root.spearSpell);
setCookie("database" + hoe, "iteem60", _root.autoSaveOn);
setCookie("database" + hoe, "iteem61", _root.clockHours);
setCookie("database" + hoe, "iteem62", _root.clockMinutes);
setCookie("database" + hoe, "iteem63", _root.clockSeconds);
savMess = "Saved!";
}
Symbol 1577 Button
on (release) {
savMess = "";
gotoAndStop (1);
}
Symbol 1580 MovieClip Frame 1
stop();
Symbol 1582 MovieClip Frame 30
_root.clockSeconds = _root.clockSeconds + 1;
if (_root.clockSeconds == 60) {
_root.clockSeconds = 0;
_root.clockMinutes = _root.clockMinutes + 1;
}
if (_root.clockMinutes == 60) {
_root.clockMinutes = 0;
_root.clockHours = _root.clockHours + 1;
}
Symbol 1593 Button
on (press) {
getURL ("http://www.stickpage.com", _blank);
}
Symbol 1594 Button
on (press) {
getURL ("http://www.antitudegames.com", _blank);
}
Symbol 1595 Button
on (press) {
getURL ("http://www.stickpage.com", _blank);
}