Frame 1
function nextSceneFun() {
gotoAndStop (2);
}
stop();
stage.showMenu = false;
i = 1;
max = 60;
x = getProperty("fire", _x);
Instance of Symbol 15 MovieClip in Frame 1
onClipEvent (enterFrame) {
_root.b_loaded = _root.getBytesLoaded();
_root.b_total = _root.getBytesTotal();
_root.percent = Math.round((_root.b_loaded / _root.b_total) * 100);
this._width = _root.percent * 5;
if (_root.percent == 100) {
_root.nextSceneFun();
}
}
Instance of Symbol 35 MovieClip "cursor" in Frame 1
onClipEvent (enterFrame) {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 2
nextFrame();
Instance of Symbol 35 MovieClip "cursor" in Frame 2
onClipEvent (enterFrame) {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 3
mySharedObject = SharedObject.getLocal("savedObject");
_root.SavedGameExist = mySharedObject.data.SaveGame;
if ((!_root.SavedGameExist) == 1) {
LoadingButton.enabled = false;
} else if (_root.SavedGameExist == 1) {
LoadingButton.enabled = true;
}
Frame 6
function esc() {
stopAllSounds();
gotoAndPlay (9);
}
function dealDamage() {
var _local1 = _root;
if (_local1.miss == 3) {
_local1.damage2._visible = true;
_local1.damage2.play();
_local1.subtractDMG = "miss...";
} else {
_local1.adding = (Math.random() * 50) + 1;
_local1.adding = Math.round(_local1.adding);
_local1.weapona = _local1.weapon + 1;
_local1.adding = _local1.adding * _local1.weapona;
_local1.damage2._visible = true;
_local1.damage2.play();
_local1.subtractDMG = 0;
_local1.subtractDMG = _local1.subtractDMG + _local1.level;
_local1.subtractDMG = _local1.subtractDMG + _local1.damageAdd;
_local1.subtractDMG = _local1.subtractDMG * _local1.weapon;
_local1.subtractDMG = _local1.subtractDMG + _local1.level;
_local1.subtractDMG = _local1.subtractDMG + _local1.adding;
_local1.subtractDMG = _local1.subtractDMG * _local1.concentrations;
if (_local1.magicka > 0) {
_local1.boomer = _local1.magicka * 10;
_local1.subtractDMG = _local1.subtractDMG * _local1.boomer;
}
_local1.enemyhp = _local1.enemyhp - _local1.subtractDMG;
}
}
function enemyDeal() {
var _local1 = _root;
function omgdie() {
_root.gotoAndStop(3);
tellTarget ("_root") {
gotoAndStop ("lost");
};
gotoAndStop ("lost");
}
if (_local1.miss == 3) {
_local1.damage1._visible = true;
_local1.damage1.play();
_local1.subtractDMG = "miss...";
} else {
_local1.enemyConCen = _local1.enemyConCen + 1;
_local1.adding = (Math.random() * 50) + 1;
_local1.adding = _local1.adding * _local1.enemylevel;
_local1.adding = (_local1.adding = _local1.adding / 2);
_local1.adding = Math.round(_local1.adding);
_local1.damage1._visible = true;
_local1.damage1.play();
_local1.subtractDMG = 0;
_local1.subtractDMG = _local1.subtractDMG + _local1.enemylevel;
_local1.subtractDMG = _local1.subtractDMG + _local1.adding;
_local1.subtractDMG = _local1.subtractDMG / _local1.level;
_local1.subtractDMG = Math.ceil(_local1.subtractDMG);
_local1.subtractDMG = _local1.subtractDMG * _local1.enemyConCen;
if (_local1.protection == 1) {
swordx = new Sound();
swordx.attachSound("swordx");
swordx.start();
_local1.subtractDMG = _local1.subtractDMG / 50;
_local1.protection = 0;
_local1.subtractDMG = Math.ceil(_local1.subtractDMG);
}
}
}
stop();
_root.oldlevel = _root.level;
_root.protection = 0;
_root.enemyTurn = 0;
_root.castmagi = 0;
_root.enemyConCen = 0;
_root.magicka = 0;
_root.concentrations = 1;
_root.enemyhp = _root.enemylevel * 100;
_root.enemyhp = _root.enemyhp * _root.enemylevel;
_root.enemyhp = (_root.enemyhp * _root.enemylevel) / 2;
_root.enemyhp = (_root.enemyhp * _root.level) / 2;
_root.enemyhp = (_root.enemyhp = _root.enemyhp + 249);
_root.enemyhp = Math.round(_root.enemyhp);
Instance of Symbol 85 MovieClip in Frame 6
onClipEvent (load) {
_root.select = (Math.random() * 6) + 1;
_root.select = Math.round(_root.select);
if (_root.select == 1) {
this.gotoAndStop(1);
} else if (_root.select == 2) {
this.gotoAndStop(2);
} else if (_root.select == 3) {
this.gotoAndStop(3);
} else if (_root.select == 4) {
this.gotoAndStop(4);
} else if (_root.select == 5) {
this.gotoAndStop(5);
} else if (_root.select == 6) {
this.gotoAndStop(6);
}
}
Instance of Symbol 134 MovieClip "redball" in Frame 6
onClipEvent (enterFrame) {
if (_root.hp1 > _root.maxhp1) {
_root.hp1 = _root.maxhp1;
}
if (_root.hp1 < 1) {
tellTarget ("_root") {
gotoAndStop ("lost");
};
gotoAndStop ("lost");
_root.omgdie();
}
}
Instance of Symbol 169 MovieClip "blueball" in Frame 6
onClipEvent (enterFrame) {
if (_root.enemyTurn == 1) {
_root.enemyaction = (Math.random() * 10) + 1;
_root.enemyaction = Math.round(_root.enemyaction);
if (_root.enemyaction == 1) {
_root.enemyTurn = 0;
this.gotoAndStop(3);
} else if (_root.enemyaction == 2) {
_root.enemyTurn = 0;
this.gotoAndStop(3);
} else if (_root.enemyaction == 3) {
_root.enemyTurn = 0;
this.gotoAndStop(5);
} else if (_root.enemyaction == 4) {
_root.enemyTurn = 0;
this.gotoAndStop(3);
} else if (_root.enemyaction == 5) {
_root.enemyTurn = 0;
this.gotoAndStop(4);
} else if (_root.enemyaction == 6) {
_root.enemyTurn = 0;
this.gotoAndStop(3);
} else if (_root.enemyaction == 7) {
_root.enemyTurn = 0;
this.gotoAndStop(4);
} else if (_root.enemyaction == 8) {
_root.enemyTurn = 0;
this.gotoAndStop(5);
} else if (_root.enemyaction == 9) {
_root.enemyTurn = 0;
this.gotoAndStop(5);
} else if (_root.enemyaction == 10) {
_root.enemyTurn = 0;
this.gotoAndStop(4);
} else if (_root.enemyaction == 11) {
_root.enemyTurn = 0;
this.gotoAndStop(5);
}
}
if (_root.enemyhp < 1) {
_root.gainExp = _root.enemylevel * 1000;
_root.gainCred = _root.enemylevel * 1000;
_root.gainCred = _root.gainCred + 150;
_root.nextFrame();
}
}
onClipEvent (load) {
_root.eselect = (Math.random() * 10) + 1;
_root.eselect = Math.round(_root.select);
}
Instance of Symbol 208 MovieClip "magicclip" in Frame 6
onClipEvent (load) {
_root.magicclip._visible = false;
}
onClipEvent (enterFrame) {
if ((_root.magicka == 1) && (_root.castmagi == 1)) {
this.gotoAndStop(1);
_root.magicclip.inner.play();
} else if ((_root.magicka == 2) && (_root.castmagi == 1)) {
this.gotoAndStop(2);
_root.magicclip.inner.play();
} else if ((_root.magicka == 3) && (_root.castmagi == 1)) {
this.gotoAndStop(3);
_root.magicclip.inner.play();
} else if ((_root.magicka == 4) && (_root.castmagi == 1)) {
this.gotoAndStop(4);
_root.magicclip.inner.play();
} else if ((_root.magicka == 5) && (_root.castmagi == 1)) {
this.gotoAndStop(5);
_root.magicclip.inner.play();
} else if ((_root.magicka == 6) && (_root.castmagi == 1)) {
this.gotoAndStop(6);
_root.magicclip.inner.play();
} else if ((_root.magicka == 7) && (_root.castmagi == 1)) {
this.gotoAndStop(7);
_root.magicclip.inner.play();
} else if ((_root.magicka == 8) && (_root.castmagi == 1)) {
this.gotoAndStop(8);
_root.magicclip.inner.play();
} else if ((_root.magicka == 9) && (_root.castmagi == 1)) {
this.gotoAndStop(9);
_root.magicclip.inner.play();
} else if ((_root.magicka == 10) && (_root.castmagi == 1)) {
this.gotoAndStop(10);
_root.magicclip.inner.play();
}
}
Instance of Symbol 211 MovieClip "damage2" in Frame 6
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 35 MovieClip "cursor" in Frame 6
onClipEvent (enterFrame) {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 211 MovieClip "damage1" in Frame 6
onClipEvent (load) {
_visible = false;
}
Frame 7
_root.credits = _root.credits + _root.gaincred;
_root.exp = _root.exp + _root.gainExp;
_root.oldexp = _root.exp - _root.gainExp;
_root.oldcreds = _root.credits - _root.gaincred;
_root.nextLevel = _root.level * 750;
_root.nextLevel = _root.nextLevel + (_root.level * 2);
_root.nextLevel = _root.nextLevel * 1.15;
_root.nextLevel = Math.ceil(_root.nextLevel);
if (_root.exp >= _root.nextLevel) {
_root.level = _root.level + 1;
}
Instance of Symbol 35 MovieClip "cursor" in Frame 7
onClipEvent (enterFrame) {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 9
nextFrame();
Instance of Symbol 35 MovieClip "cursor" in Frame 9
onClipEvent (enterFrame) {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 10
function startUpNewFight() {
var _local1 = _root;
stopAllSounds();
_local1.maxhp1 = 500 * _local1.level;
_local1.hp1 = _local1.maxhp1;
gotoAndStop ("smack");
tellTarget ("_root") {
gotoAndStop ("smack");
};
}
function saveFunction() {
var _local1 = _root;
mySharedObject = SharedObject.getLocal("savedObject");
mySharedObject.data.SaveGame = 1;
mySharedObject.data.name1 = _local1.name1;
mySharedObject.data.name2 = _local1.name2;
mySharedObject.data.name3 = _local1.name3;
mySharedObject.data.enemylevel = _local1.enemylevel;
mySharedObject.data.maxhp1 = _local1.maxhp1;
mySharedObject.data.maxhp2 = _local1.maxhp2;
mySharedObject.data.maxhp3 = _local1.maxhp3;
mySharedObject.data.level = _local1.level;
mySharedObject.data.weapon = _local1.weapon;
mySharedObject.data.swords1 = _local1.swords1;
mySharedObject.data.swords2 = _local1.swords2;
mySharedObject.data.swords3 = _local1.swords3;
mySharedObject.data.swords4 = _local1.swords4;
mySharedObject.data.swords5 = _local1.swords5;
mySharedObject.data.swords6 = _local1.swords6;
mySharedObject.data.swords7 = _local1.swords7;
mySharedObject.data.swords8 = _local1.swords8;
mySharedObject.data.swords9 = _local1.swords9;
mySharedObject.data.charges1 = _local1.charges1;
mySharedObject.data.charges2 = _local1.charges2;
mySharedObject.data.charges3 = _local1.charges3;
mySharedObject.data.charges4 = _local1.charges4;
mySharedObject.data.charges5 = _local1.charges5;
mySharedObject.data.items1 = _local1.items1;
mySharedObject.data.items2 = _local1.items2;
mySharedObject.data.items3 = _local1.items3;
mySharedObject.data.items4 = _local1.items4;
mySharedObject.data.items5 = _local1.items5;
mySharedObject.data.exp = _local1.exp;
mySharedObject.data.credits = _local1.credits;
mySharedObject.flush();
}
function resetFunction() {
s = _root.level;
g = "UberBattle";
submit1 = "162";
submit2 = "9684";
submit3 = "81782";
submit4 = "566";
submit5 = "56567";
submit6 = "54336";
getURL (((((((((((((((("http://www.eviludy.net/games/submitscore.php?session_id=7125664782&more=7453465&g=" + g) + "&sid=87585885&submit1=") + submit1) + "&submit2 =") + submit2) + "&bla=743647&ids=87684575&submit3 =") + submit3) + "&submit4=") + submit4) + "&st=2767553&submit5 =") + submit5) + "&submit6 =") + submit6) + "&themore=666123&s=") + s) + "&sse=764746783&morestuff", "_blank", "POST");
mySharedObject = SharedObject.getLocal("savedObject");
mySharedObject.data.SaveGame = 0;
mySharedObject.data.name1 = 0;
mySharedObject.data.name2 = 0;
mySharedObject.data.name3 = 0;
mySharedObject.data.enemylevel = 0;
mySharedObject.data.maxhp1 = 0;
mySharedObject.data.maxhp2 = 0;
mySharedObject.data.maxhp3 = 0;
mySharedObject.data.level = 0;
mySharedObject.data.weapon = 0;
mySharedObject.data.swords1 = 0;
mySharedObject.data.swords2 = 0;
mySharedObject.data.swords3 = 0;
mySharedObject.data.swords4 = 0;
mySharedObject.data.swords5 = 0;
mySharedObject.data.charges1 = 0;
mySharedObject.data.charges2 = 0;
mySharedObject.data.charges3 = 0;
mySharedObject.data.charges4 = 0;
mySharedObject.data.charges5 = 0;
mySharedObject.data.items1 = 0;
mySharedObject.data.items2 = 0;
mySharedObject.data.items3 = 0;
mySharedObject.data.items4 = 0;
mySharedObject.data.items5 = 0;
mySharedObject.data.exp = 0;
mySharedObject.data.credits = 0;
mySharedObject.flush();
gotoAndStop ("mainmenu");
tellTarget ("_root") {
gotoAndStop ("mainmenu");
};
}
Symbol 5 MovieClip Frame 1
scale = Number(random(50)) + 30;
setProperty(_target, _x , (Number(../:x) + Number(random(12))) - 6);
setProperty(_target, _yscale , scale);
Symbol 6 MovieClip Frame 1
i = 1;
max = 55;
x = getProperty("fire", _x);
Symbol 6 MovieClip Frame 3
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
Symbol 6 MovieClip Frame 5
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
gotoAndPlay (2);
Symbol 35 MovieClip Frame 1
stop();
Symbol 38 Button
on (keyPress "q") {
if (_quality == "LOW") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "HIGH";
} else if (_quality == "HIGH") {
_quality = "LOW";
}
}
Symbol 56 Button
on (release) {
_root.name1 = "Red ball #1";
_root.name2 = "None";
_root.name3 = "None";
_root.enemylevel = 1;
_root.maxhp1 = 500;
_root.maxhp2 = 0;
_root.maxhp3 = 0;
_root.hp1 = 500;
_root.hp2 = 0;
_root.hp3 = 0;
_root.level = 1;
_root.weapon = 0;
_root.swords1 = 1;
_root.swords2 = 0;
_root.swords3 = 0;
_root.swords4 = 0;
_root.swords5 = 0;
_root.swords6 = 0;
_root.swords7 = 0;
_root.swords8 = 0;
_root.swords9 = 0;
_root.swords10 = 0;
_root.swords11 = 0;
_root.swords12 = 0;
_root.swords13 = 0;
_root.swords14 = 0;
_root.charges1 = 1;
_root.charges2 = 1;
_root.charges3 = 1;
_root.charges4 = 1;
_root.charges5 = 1;
_root.charges6 = 1;
_root.charges7 = 1;
_root.charges8 = 1;
_root.charges9 = 1;
_root.charges10 = 1;
_root.items1 = 1;
_root.items2 = 0;
_root.items3 = 0;
_root.items4 = 0;
_root.items5 = 0;
_root.exp = 0;
_root.credits = 0;
stopAllSounds();
gotoAndPlay (6);
}
Symbol 57 Button
on (release) {
_root.name1 = mySharedObject.data.name1;
_root.name2 = mySharedObject.data.name2;
_root.name3 = mySharedObject.data.name3;
_root.enemylevel = mySharedObject.data.enemylevel;
_root.maxhp1 = mySharedObject.data.maxhp1;
_root.maxhp2 = mySharedObject.data.maxhp2;
_root.maxhp3 = mySharedObject.data.maxhp3;
_root.level = mySharedObject.data.level;
_root.weapon = mySharedObject.data.weapon;
_root.swords1 = mySharedObject.data.swords1;
_root.swords2 = mySharedObject.data.swords2;
_root.swords3 = mySharedObject.data.swords3;
_root.swords4 = mySharedObject.data.swords4;
_root.swords5 = mySharedObject.data.swords5;
_root.charges1 = mySharedObject.data.charges1;
_root.charges2 = mySharedObject.data.charges2;
_root.charges3 = mySharedObject.data.charges3;
_root.charges4 = mySharedObject.data.charges4;
_root.charges5 = mySharedObject.data.charges5;
_root.items1 = mySharedObject.data.items1;
_root.items2 = mySharedObject.data.items2;
_root.items3 = mySharedObject.data.items3;
_root.items4 = mySharedObject.data.items4;
_root.items5 = mySharedObject.data.items5;
_root.exp = mySharedObject.data.exp;
_root.credits = mySharedObject.data.credits;
stopAllSounds();
gotoAndStop (9);
}
Symbol 58 Button
on (release) {
nextFrame();
}
Symbol 59 Button
on (release) {
stopAllSounds();
gotoAndStop (5);
}
Symbol 60 Button
on (release) {
getURL ("http://www.eviludy.net", "_blank");
}
Symbol 61 Button
on (release) {
getURL ("http://www.eviludy.net/highscores/UberbattleHiScore.php", "_blank");
}
Symbol 64 Button
on (release) {
prevFrame();
}
Symbol 69 Button
on (release) {
stopAllSounds();
gotoAndStop (2);
}
Symbol 85 MovieClip Frame 1
stop();
Instance of Symbol 109 MovieClip in Symbol 112 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.weapon == 0) {
this._visible = false;
_root.damageAdd = 0;
} else if (_root.weapon == 1) {
this._visible = true;
this.gotoAndStop(1);
_root.damageAdd = 100;
} else if (_root.weapon == 2) {
this._visible = true;
this.gotoAndStop(2);
_root.damageAdd = 150;
} else if (_root.weapon == 3) {
this._visible = true;
this.gotoAndStop(3);
_root.damageAdd = 250;
} else if (_root.weapon == 4) {
this._visible = true;
this.gotoAndStop(4);
_root.damageAdd = 500;
} else if (_root.weapon == 5) {
this._visible = true;
this.gotoAndStop(5);
_root.damageAdd = 1000;
} else if (_root.weapon == 6) {
this._visible = true;
this.gotoAndStop(6);
_root.damageAdd = 1500;
} else if (_root.weapon == 7) {
this._visible = true;
this.gotoAndStop(7);
_root.damageAdd = 2500;
} else if (_root.weapon == 8) {
this._visible = true;
this.gotoAndStop(8);
_root.damageAdd = 3500;
} else if (_root.weapon == 9) {
this._visible = true;
this.gotoAndStop(9);
_root.damageAdd = 5000;
} else if (_root.weapon == 10) {
this._visible = true;
this.gotoAndStop(10);
_root.damageAdd = 6000;
} else if (_root.weapon == 11) {
this._visible = true;
this.gotoAndStop(11);
_root.damageAdd = 7500;
} else if (_root.weapon == 12) {
this._visible = true;
this.gotoAndStop(12);
_root.damageAdd = 8000;
} else if (_root.weapon == 13) {
this._visible = true;
this.gotoAndStop(13);
_root.damageAdd = 10000;
} else if (_root.weapon == 14) {
this._visible = true;
this.gotoAndStop(14);
_root.damageAdd = 15000;
}
}
Instance of Symbol 109 MovieClip in Symbol 115 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.weapon == 0) {
this._visible = false;
_root.damageAdd = 0;
} else if (_root.weapon == 1) {
this._visible = true;
this.gotoAndStop(1);
_root.damageAdd = 100;
} else if (_root.weapon == 2) {
this._visible = true;
this.gotoAndStop(2);
_root.damageAdd = 150;
} else if (_root.weapon == 3) {
this._visible = true;
this.gotoAndStop(3);
_root.damageAdd = 250;
} else if (_root.weapon == 4) {
this._visible = true;
this.gotoAndStop(4);
_root.damageAdd = 500;
} else if (_root.weapon == 5) {
this._visible = true;
this.gotoAndStop(5);
_root.damageAdd = 1000;
} else if (_root.weapon == 6) {
this._visible = true;
this.gotoAndStop(6);
_root.damageAdd = 1500;
} else if (_root.weapon == 7) {
this._visible = true;
this.gotoAndStop(7);
_root.damageAdd = 2500;
} else if (_root.weapon == 8) {
this._visible = true;
this.gotoAndStop(8);
_root.damageAdd = 3500;
} else if (_root.weapon == 9) {
this._visible = true;
this.gotoAndStop(9);
_root.damageAdd = 5000;
} else if (_root.weapon == 10) {
this._visible = true;
this.gotoAndStop(10);
_root.damageAdd = 6000;
} else if (_root.weapon == 11) {
this._visible = true;
this.gotoAndStop(11);
_root.damageAdd = 7500;
} else if (_root.weapon == 12) {
this._visible = true;
this.gotoAndStop(12);
_root.damageAdd = 8000;
} else if (_root.weapon == 13) {
this._visible = true;
this.gotoAndStop(13);
_root.damageAdd = 10000;
} else if (_root.weapon == 14) {
this._visible = true;
this.gotoAndStop(14);
_root.damageAdd = 15000;
}
}
Symbol 115 MovieClip Frame 15
_root.miss = (Math.random() * 11) + 1;
_root.miss = Math.round(_root.miss);
if (_root.miss == 3) {
_root.dealDamage();
_root.blueball.gotoAndStop(1);
} else {
_root.dealDamage();
_root.blueball.gotoAndStop(2);
}
Instance of Symbol 109 MovieClip in Symbol 115 MovieClip Frame 28
onClipEvent (enterFrame) {
if (_root.weapon == 0) {
this._visible = false;
_root.damageAdd = 0;
} else if (_root.weapon == 1) {
this._visible = true;
this.gotoAndStop(1);
_root.damageAdd = 100;
} else if (_root.weapon == 2) {
this._visible = true;
this.gotoAndStop(2);
_root.damageAdd = 150;
} else if (_root.weapon == 3) {
this._visible = true;
this.gotoAndStop(3);
_root.damageAdd = 250;
} else if (_root.weapon == 4) {
this._visible = true;
this.gotoAndStop(4);
_root.damageAdd = 500;
} else if (_root.weapon == 5) {
this._visible = true;
this.gotoAndStop(5);
_root.damageAdd = 1000;
} else if (_root.weapon == 6) {
this._visible = true;
this.gotoAndStop(6);
_root.damageAdd = 1500;
} else if (_root.weapon == 7) {
this._visible = true;
this.gotoAndStop(7);
_root.damageAdd = 2500;
} else if (_root.weapon == 8) {
this._visible = true;
this.gotoAndStop(8);
_root.damageAdd = 3500;
} else if (_root.weapon == 9) {
this._visible = true;
this.gotoAndStop(9);
_root.damageAdd = 5000;
} else if (_root.weapon == 10) {
this._visible = true;
this.gotoAndStop(10);
_root.damageAdd = 6000;
} else if (_root.weapon == 11) {
this._visible = true;
this.gotoAndStop(11);
_root.damageAdd = 7500;
} else if (_root.weapon == 12) {
this._visible = true;
this.gotoAndStop(12);
_root.damageAdd = 8000;
} else if (_root.weapon == 13) {
this._visible = true;
this.gotoAndStop(13);
_root.damageAdd = 10000;
} else if (_root.weapon == 14) {
this._visible = true;
this.gotoAndStop(14);
_root.damageAdd = 15000;
}
}
Symbol 115 MovieClip Frame 45
_root.enemyTurn = 1;
_root.concentrations = 1;
_root.redball.gotoAndStop(1);
Instance of Symbol 109 MovieClip in Symbol 120 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.weapon == 0) {
this._visible = false;
_root.damageAdd = 0;
} else if (_root.weapon == 1) {
this._visible = true;
this.gotoAndStop(1);
_root.damageAdd = 100;
} else if (_root.weapon == 2) {
this._visible = true;
this.gotoAndStop(2);
_root.damageAdd = 150;
} else if (_root.weapon == 3) {
this._visible = true;
this.gotoAndStop(3);
_root.damageAdd = 250;
} else if (_root.weapon == 4) {
this._visible = true;
this.gotoAndStop(4);
_root.damageAdd = 500;
} else if (_root.weapon == 5) {
this._visible = true;
this.gotoAndStop(5);
_root.damageAdd = 1000;
} else if (_root.weapon == 6) {
this._visible = true;
this.gotoAndStop(6);
_root.damageAdd = 1500;
} else if (_root.weapon == 7) {
this._visible = true;
this.gotoAndStop(7);
_root.damageAdd = 2500;
} else if (_root.weapon == 8) {
this._visible = true;
this.gotoAndStop(8);
_root.damageAdd = 3500;
} else if (_root.weapon == 9) {
this._visible = true;
this.gotoAndStop(9);
_root.damageAdd = 5000;
} else if (_root.weapon == 10) {
this._visible = true;
this.gotoAndStop(10);
_root.damageAdd = 6000;
} else if (_root.weapon == 11) {
this._visible = true;
this.gotoAndStop(11);
_root.damageAdd = 7500;
} else if (_root.weapon == 12) {
this._visible = true;
this.gotoAndStop(12);
_root.damageAdd = 8000;
} else if (_root.weapon == 13) {
this._visible = true;
this.gotoAndStop(13);
_root.damageAdd = 10000;
} else if (_root.weapon == 14) {
this._visible = true;
this.gotoAndStop(14);
_root.damageAdd = 15000;
}
}
Symbol 120 MovieClip Frame 70
_root.enemyTurn = 1;
_root.concentrations = _root.concentrations + 1;
_root.redball.gotoAndStop(1);
Instance of Symbol 109 MovieClip in Symbol 124 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.weapon == 0) {
this._visible = false;
_root.damageAdd = 0;
} else if (_root.weapon == 1) {
this._visible = true;
this.gotoAndStop(1);
_root.damageAdd = 100;
} else if (_root.weapon == 2) {
this._visible = true;
this.gotoAndStop(2);
_root.damageAdd = 150;
} else if (_root.weapon == 3) {
this._visible = true;
this.gotoAndStop(3);
_root.damageAdd = 250;
} else if (_root.weapon == 4) {
this._visible = true;
this.gotoAndStop(4);
_root.damageAdd = 500;
} else if (_root.weapon == 5) {
this._visible = true;
this.gotoAndStop(5);
_root.damageAdd = 1000;
} else if (_root.weapon == 6) {
this._visible = true;
this.gotoAndStop(6);
_root.damageAdd = 1500;
} else if (_root.weapon == 7) {
this._visible = true;
this.gotoAndStop(7);
_root.damageAdd = 2500;
} else if (_root.weapon == 8) {
this._visible = true;
this.gotoAndStop(8);
_root.damageAdd = 3500;
} else if (_root.weapon == 9) {
this._visible = true;
this.gotoAndStop(9);
_root.damageAdd = 5000;
} else if (_root.weapon == 10) {
this._visible = true;
this.gotoAndStop(10);
_root.damageAdd = 6000;
} else if (_root.weapon == 11) {
this._visible = true;
this.gotoAndStop(11);
_root.damageAdd = 7500;
} else if (_root.weapon == 12) {
this._visible = true;
this.gotoAndStop(12);
_root.damageAdd = 8000;
} else if (_root.weapon == 13) {
this._visible = true;
this.gotoAndStop(13);
_root.damageAdd = 10000;
} else if (_root.weapon == 14) {
this._visible = true;
this.gotoAndStop(14);
_root.damageAdd = 15000;
}
}
Symbol 124 MovieClip Frame 60
_root.enemyTurn = 1;
_root.concentrations = _root.concentrations * 2;
_root.redball.gotoAndStop(1);
Instance of Symbol 109 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.weapon == 0) {
this._visible = false;
_root.damageAdd = 0;
} else if (_root.weapon == 1) {
this._visible = true;
this.gotoAndStop(1);
_root.damageAdd = 100;
} else if (_root.weapon == 2) {
this._visible = true;
this.gotoAndStop(2);
_root.damageAdd = 150;
} else if (_root.weapon == 3) {
this._visible = true;
this.gotoAndStop(3);
_root.damageAdd = 250;
} else if (_root.weapon == 4) {
this._visible = true;
this.gotoAndStop(4);
_root.damageAdd = 500;
} else if (_root.weapon == 5) {
this._visible = true;
this.gotoAndStop(5);
_root.damageAdd = 1000;
} else if (_root.weapon == 6) {
this._visible = true;
this.gotoAndStop(6);
_root.damageAdd = 1500;
} else if (_root.weapon == 7) {
this._visible = true;
this.gotoAndStop(7);
_root.damageAdd = 2500;
} else if (_root.weapon == 8) {
this._visible = true;
this.gotoAndStop(8);
_root.damageAdd = 3500;
} else if (_root.weapon == 9) {
this._visible = true;
this.gotoAndStop(9);
_root.damageAdd = 5000;
} else if (_root.weapon == 10) {
this._visible = true;
this.gotoAndStop(10);
_root.damageAdd = 6000;
} else if (_root.weapon == 11) {
this._visible = true;
this.gotoAndStop(11);
_root.damageAdd = 7500;
} else if (_root.weapon == 12) {
this._visible = true;
this.gotoAndStop(12);
_root.damageAdd = 8000;
} else if (_root.weapon == 13) {
this._visible = true;
this.gotoAndStop(13);
_root.damageAdd = 10000;
} else if (_root.weapon == 14) {
this._visible = true;
this.gotoAndStop(14);
_root.damageAdd = 15000;
}
}
Symbol 126 MovieClip Frame 60
_root.enemyTurn = 1;
_root.concentrations = _root.concentrations * 5;
_root.redball.gotoAndStop(1);
Instance of Symbol 109 MovieClip in Symbol 127 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.weapon == 0) {
this._visible = false;
_root.damageAdd = 0;
} else if (_root.weapon == 1) {
this._visible = true;
this.gotoAndStop(1);
_root.damageAdd = 100;
} else if (_root.weapon == 2) {
this._visible = true;
this.gotoAndStop(2);
_root.damageAdd = 150;
} else if (_root.weapon == 3) {
this._visible = true;
this.gotoAndStop(3);
_root.damageAdd = 250;
} else if (_root.weapon == 4) {
this._visible = true;
this.gotoAndStop(4);
_root.damageAdd = 500;
} else if (_root.weapon == 5) {
this._visible = true;
this.gotoAndStop(5);
_root.damageAdd = 1000;
} else if (_root.weapon == 6) {
this._visible = true;
this.gotoAndStop(6);
_root.damageAdd = 1500;
} else if (_root.weapon == 7) {
this._visible = true;
this.gotoAndStop(7);
_root.damageAdd = 2500;
} else if (_root.weapon == 8) {
this._visible = true;
this.gotoAndStop(8);
_root.damageAdd = 3500;
} else if (_root.weapon == 9) {
this._visible = true;
this.gotoAndStop(9);
_root.damageAdd = 5000;
} else if (_root.weapon == 10) {
this._visible = true;
this.gotoAndStop(10);
_root.damageAdd = 6000;
} else if (_root.weapon == 11) {
this._visible = true;
this.gotoAndStop(11);
_root.damageAdd = 7500;
} else if (_root.weapon == 12) {
this._visible = true;
this.gotoAndStop(12);
_root.damageAdd = 8000;
} else if (_root.weapon == 13) {
this._visible = true;
this.gotoAndStop(13);
_root.damageAdd = 10000;
} else if (_root.weapon == 14) {
this._visible = true;
this.gotoAndStop(14);
_root.damageAdd = 15000;
}
}
Symbol 127 MovieClip Frame 5
_root.hp1 = _root.hp1 - _root.subtractDMG;
Symbol 127 MovieClip Frame 10
_root.redball.gotoAndStop(1);
Instance of Symbol 109 MovieClip in Symbol 132 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.weapon == 0) {
this._visible = false;
_root.damageAdd = 0;
} else if (_root.weapon == 1) {
this._visible = true;
this.gotoAndStop(1);
_root.damageAdd = 100;
} else if (_root.weapon == 2) {
this._visible = true;
this.gotoAndStop(2);
_root.damageAdd = 150;
} else if (_root.weapon == 3) {
this._visible = true;
this.gotoAndStop(3);
_root.damageAdd = 250;
} else if (_root.weapon == 4) {
this._visible = true;
this.gotoAndStop(4);
_root.damageAdd = 500;
} else if (_root.weapon == 5) {
this._visible = true;
this.gotoAndStop(5);
_root.damageAdd = 1000;
} else if (_root.weapon == 6) {
this._visible = true;
this.gotoAndStop(6);
_root.damageAdd = 1500;
} else if (_root.weapon == 7) {
this._visible = true;
this.gotoAndStop(7);
_root.damageAdd = 2500;
} else if (_root.weapon == 8) {
this._visible = true;
this.gotoAndStop(8);
_root.damageAdd = 3500;
} else if (_root.weapon == 9) {
this._visible = true;
this.gotoAndStop(9);
_root.damageAdd = 5000;
} else if (_root.weapon == 10) {
this._visible = true;
this.gotoAndStop(10);
_root.damageAdd = 6000;
} else if (_root.weapon == 11) {
this._visible = true;
this.gotoAndStop(11);
_root.damageAdd = 7500;
} else if (_root.weapon == 12) {
this._visible = true;
this.gotoAndStop(12);
_root.damageAdd = 8000;
} else if (_root.weapon == 13) {
this._visible = true;
this.gotoAndStop(13);
_root.damageAdd = 10000;
} else if (_root.weapon == 14) {
this._visible = true;
this.gotoAndStop(14);
_root.damageAdd = 15000;
}
}
Symbol 132 MovieClip Frame 25
_root.hp1 = _root.hp1 + _root.healing;
_root.enemyTurn = 1;
_root.redball.gotoAndStop(1);
Instance of Symbol 109 MovieClip in Symbol 133 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.weapon == 0) {
this._visible = false;
_root.damageAdd = 0;
} else if (_root.weapon == 1) {
this._visible = true;
this.gotoAndStop(1);
_root.damageAdd = 100;
} else if (_root.weapon == 2) {
this._visible = true;
this.gotoAndStop(2);
_root.damageAdd = 150;
} else if (_root.weapon == 3) {
this._visible = true;
this.gotoAndStop(3);
_root.damageAdd = 250;
} else if (_root.weapon == 4) {
this._visible = true;
this.gotoAndStop(4);
_root.damageAdd = 500;
} else if (_root.weapon == 5) {
this._visible = true;
this.gotoAndStop(5);
_root.damageAdd = 1000;
} else if (_root.weapon == 6) {
this._visible = true;
this.gotoAndStop(6);
_root.damageAdd = 1500;
} else if (_root.weapon == 7) {
this._visible = true;
this.gotoAndStop(7);
_root.damageAdd = 2500;
} else if (_root.weapon == 8) {
this._visible = true;
this.gotoAndStop(8);
_root.damageAdd = 3500;
} else if (_root.weapon == 9) {
this._visible = true;
this.gotoAndStop(9);
_root.damageAdd = 5000;
} else if (_root.weapon == 10) {
this._visible = true;
this.gotoAndStop(10);
_root.damageAdd = 6000;
} else if (_root.weapon == 11) {
this._visible = true;
this.gotoAndStop(11);
_root.damageAdd = 7500;
} else if (_root.weapon == 12) {
this._visible = true;
this.gotoAndStop(12);
_root.damageAdd = 8000;
} else if (_root.weapon == 13) {
this._visible = true;
this.gotoAndStop(13);
_root.damageAdd = 10000;
} else if (_root.weapon == 14) {
this._visible = true;
this.gotoAndStop(14);
_root.damageAdd = 15000;
}
}
Symbol 133 MovieClip Frame 40
_root.castmagi = 1;
_root.magicclip._visible = true;
_root.magicclip.inner.play();
_root.redball.gotoAndStop(1);
Symbol 134 MovieClip Frame 1
stop();
Symbol 157 MovieClip Frame 1
stop();
Instance of Symbol 157 MovieClip in Symbol 159 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.eselect == 1) {
this.gotoAndStop(1);
} else if (_root.eselect == 2) {
this.gotoAndStop(2);
} else if (_root.eselect == 3) {
this.gotoAndStop(3);
} else if (_root.eselect == 4) {
this.gotoAndStop(4);
} else if (_root.eselect == 5) {
this.gotoAndStop(5);
} else if (_root.eselect == 6) {
this.gotoAndStop(6);
} else if (_root.eselect == 7) {
this.gotoAndStop(7);
} else if (_root.eselect == 8) {
this.gotoAndStop(8);
} else if (_root.eselect == 9) {
this.gotoAndStop(9);
} else if (_root.eselect == 10) {
this.gotoAndStop(10);
}
}
Instance of Symbol 157 MovieClip in Symbol 160 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.eselect == 1) {
this.gotoAndStop(1);
} else if (_root.eselect == 2) {
this.gotoAndStop(2);
} else if (_root.eselect == 3) {
this.gotoAndStop(3);
} else if (_root.eselect == 4) {
this.gotoAndStop(4);
} else if (_root.eselect == 5) {
this.gotoAndStop(5);
} else if (_root.eselect == 6) {
this.gotoAndStop(6);
} else if (_root.eselect == 7) {
this.gotoAndStop(7);
} else if (_root.eselect == 8) {
this.gotoAndStop(8);
} else if (_root.eselect == 9) {
this.gotoAndStop(9);
} else if (_root.eselect == 10) {
this.gotoAndStop(10);
}
}
Symbol 160 MovieClip Frame 20
_root.blueball.gotoAndStop(1);
Instance of Symbol 157 MovieClip in Symbol 163 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.eselect == 1) {
this.gotoAndStop(1);
} else if (_root.eselect == 2) {
this.gotoAndStop(2);
} else if (_root.eselect == 3) {
this.gotoAndStop(3);
} else if (_root.eselect == 4) {
this.gotoAndStop(4);
} else if (_root.eselect == 5) {
this.gotoAndStop(5);
} else if (_root.eselect == 6) {
this.gotoAndStop(6);
} else if (_root.eselect == 7) {
this.gotoAndStop(7);
} else if (_root.eselect == 8) {
this.gotoAndStop(8);
} else if (_root.eselect == 9) {
this.gotoAndStop(9);
} else if (_root.eselect == 10) {
this.gotoAndStop(10);
}
}
Symbol 163 MovieClip Frame 17
_root.miss = (Math.random() * 9) + 1;
_root.miss = Math.round(_root.miss);
if (_root.miss == 3) {
_root.enemyDeal();
_root.redball.gotoAndStop(1);
} else {
_root.enemyDeal();
_root.redball.gotoAndStop("gethit");
}
Symbol 163 MovieClip Frame 28
_root.buttons._visible = true;
_root.enemyConCen = 0;
_root.blueball.gotoAndStop(1);
Instance of Symbol 157 MovieClip in Symbol 167 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.eselect == 1) {
this.gotoAndStop(1);
} else if (_root.eselect == 2) {
this.gotoAndStop(2);
} else if (_root.eselect == 3) {
this.gotoAndStop(3);
} else if (_root.eselect == 4) {
this.gotoAndStop(4);
} else if (_root.eselect == 5) {
this.gotoAndStop(5);
} else if (_root.eselect == 6) {
this.gotoAndStop(6);
} else if (_root.eselect == 7) {
this.gotoAndStop(7);
} else if (_root.eselect == 8) {
this.gotoAndStop(8);
} else if (_root.eselect == 9) {
this.gotoAndStop(9);
} else if (_root.eselect == 10) {
this.gotoAndStop(10);
}
}
Symbol 167 MovieClip Frame 30
_root.enemyhp = _root.enemyhp * 1.1;
_root.enemyhp = Math.ceil(_root.enemyhp);
Symbol 167 MovieClip Frame 60
_root.buttons._visible = true;
_root.blueball.gotoAndStop(1);
Instance of Symbol 157 MovieClip in Symbol 168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.eselect == 1) {
this.gotoAndStop(1);
} else if (_root.eselect == 2) {
this.gotoAndStop(2);
} else if (_root.eselect == 3) {
this.gotoAndStop(3);
} else if (_root.eselect == 4) {
this.gotoAndStop(4);
} else if (_root.eselect == 5) {
this.gotoAndStop(5);
} else if (_root.eselect == 6) {
this.gotoAndStop(6);
} else if (_root.eselect == 7) {
this.gotoAndStop(7);
} else if (_root.eselect == 8) {
this.gotoAndStop(8);
} else if (_root.eselect == 9) {
this.gotoAndStop(9);
} else if (_root.eselect == 10) {
this.gotoAndStop(10);
}
}
Symbol 168 MovieClip Frame 10
_root.enemyConCen = _root.enemyConCen + 1;
Symbol 168 MovieClip Frame 20
_root.enemyConCen = _root.enemyConCen + 1;
Symbol 168 MovieClip Frame 40
_root.buttons._visible = true;
_root.blueball.gotoAndStop(1);
Symbol 169 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 44
_root.miss = (Math.random() * 35) + 1;
_root.miss = Math.round(_root.miss);
if (_root.miss == 3) {
_root.dealDamage();
_root.blueball.gotoAndStop(1);
} else {
_root.dealDamage();
_root.blueball.gotoAndStop(2);
}
Symbol 177 MovieClip Frame 79
_root.enemyTurn = 1;
_root.magicka = 0;
_root.magicclip._visible = false;
_root.castmagi = 0;
_root.redball.gotoAndStop(1);
_root.magicclip.gotoAndStop(1);
Symbol 184 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 4
_root.miss = (Math.random() * 35) + 1;
_root.miss = Math.round(_root.miss);
if (_root.miss == 3) {
_root.dealDamage();
_root.blueball.gotoAndStop(1);
} else {
_root.dealDamage();
_root.blueball.gotoAndStop(2);
}
Symbol 184 MovieClip Frame 19
_root.enemyTurn = 1;
_root.magicka = 0;
_root.magicclip._visible = false;
_root.castmagi = 0;
_root.redball.gotoAndStop(1);
_root.magicclip.gotoAndStop(1);
Symbol 185 MovieClip Frame 1
i = 1;
max = 25;
x = getProperty("fire", _x);
Symbol 185 MovieClip Frame 2
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
Symbol 185 MovieClip Frame 3
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
gotoAndPlay (2);
Symbol 190 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 22
_root.miss = (Math.random() * 35) + 1;
_root.miss = Math.round(_root.miss);
if (_root.miss == 3) {
_root.dealDamage();
_root.blueball.gotoAndStop(1);
} else {
_root.dealDamage();
_root.blueball.gotoAndStop(2);
}
Symbol 190 MovieClip Frame 80
_root.enemyTurn = 1;
_root.magicka = 0;
_root.magicclip._visible = false;
_root.castmagi = 0;
_root.redball.gotoAndStop(1);
_root.magicclip.gotoAndStop(1);
Symbol 194 MovieClip Frame 1
i = 1;
max = 25;
x = getProperty("fire", _x);
Symbol 194 MovieClip Frame 2
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
Symbol 194 MovieClip Frame 3
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
gotoAndPlay (2);
Symbol 198 MovieClip Frame 25
_root.miss = (Math.random() * 35) + 1;
_root.miss = Math.round(_root.miss);
if (_root.miss == 3) {
_root.dealDamage();
_root.blueball.gotoAndStop(1);
} else {
_root.dealDamage();
_root.blueball.gotoAndStop(2);
}
Symbol 198 MovieClip Frame 80
_root.enemyTurn = 1;
_root.magicka = 0;
_root.magicclip._visible = false;
_root.castmagi = 0;
_root.redball.gotoAndStop(1);
_root.magicclip.gotoAndStop(1);
Symbol 202 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 90
_root.miss = (Math.random() * 35) + 1;
_root.miss = Math.round(_root.miss);
if (_root.miss == 3) {
_root.dealDamage();
_root.blueball.gotoAndStop(1);
} else {
_root.dealDamage();
_root.blueball.gotoAndStop(2);
}
Symbol 202 MovieClip Frame 110
_root.enemyTurn = 1;
_root.magicka = 0;
_root.magicclip._visible = false;
_root.castmagi = 0;
_root.redball.gotoAndStop(1);
_root.magicclip.gotoAndStop(1);
Symbol 203 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 22
_root.miss = (Math.random() * 35) + 1;
_root.miss = Math.round(_root.miss);
if (_root.miss == 3) {
_root.dealDamage();
_root.blueball.gotoAndStop(1);
} else {
_root.dealDamage();
_root.blueball.gotoAndStop(2);
}
Symbol 203 MovieClip Frame 80
_root.enemyTurn = 1;
_root.magicka = 0;
_root.magicclip._visible = false;
_root.castmagi = 0;
_root.redball.gotoAndStop(1);
_root.magicclip.gotoAndStop(1);
Symbol 204 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 220
_root.miss = (Math.random() * 35) + 1;
_root.miss = Math.round(_root.miss);
if (_root.miss == 3) {
_root.dealDamage();
_root.blueball.gotoAndStop(1);
} else {
_root.dealDamage();
_root.blueball.gotoAndStop(2);
}
Symbol 204 MovieClip Frame 240
_root.enemyTurn = 1;
_root.magicka = 0;
_root.magicclip._visible = false;
_root.redball.gotoAndStop(1);
Symbol 205 MovieClip Frame 52
_root.miss = (Math.random() * 35) + 1;
_root.miss = Math.round(_root.miss);
if (_root.miss == 3) {
_root.dealDamage();
_root.blueball.gotoAndStop(1);
} else {
_root.dealDamage();
_root.blueball.gotoAndStop(2);
}
Symbol 205 MovieClip Frame 80
_root.enemyTurn = 1;
_root.magicka = 0;
_root.magicclip._visible = false;
_root.castmagi = 0;
_root.redball.gotoAndStop(1);
_root.magicclip.gotoAndStop(1);
_root.enemyTurn = 1;
_root.magicka = 0;
_root.magicclip._visible = false;
_root.castmagi = 0;
_root.redball.gotoAndStop(1);
_root.magicclip.gotoAndStop(1);
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 8
stop();
Symbol 206 MovieClip Frame 220
_root.miss = (Math.random() * 35) + 1;
_root.miss = Math.round(_root.miss);
if (_root.miss == 3) {
_root.dealDamage();
_root.blueball.gotoAndStop(1);
} else {
_root.dealDamage();
_root.blueball.gotoAndStop(2);
}
Symbol 206 MovieClip Frame 244
_root.enemyTurn = 1;
_root.magicka = 0;
_root.magicclip._visible = false;
_root.redball.gotoAndStop(1);
Symbol 207 MovieClip Frame 1
stop();
Symbol 207 MovieClip Frame 90
_root.miss = (Math.random() * 35) + 1;
_root.miss = Math.round(_root.miss);
if (_root.miss == 3) {
_root.dealDamage();
_root.blueball.gotoAndStop(1);
} else {
_root.dealDamage();
_root.blueball.gotoAndStop(2);
}
Symbol 207 MovieClip Frame 110
_root.enemyTurn = 1;
_root.magicka = 0;
_root.magicclip._visible = false;
_root.castmagi = 0;
_root.redball.gotoAndStop(1);
_root.magicclip.gotoAndStop(1);
Symbol 208 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 30
_root.damage1._visible = false;
_root.damage2._visible = false;
Symbol 217 Button
on (release) {
getURL ("http://www.eviludy.net", "_blank");
}
Symbol 231 Button
on (rollOver) {
_root.overtext = "Special Attack";
_root.cursor.gotoAndStop(2);
}
on (rollOut) {
_root.overtext = " ";
_root.cursor.gotoAndStop(1);
}
on (release) {
_root.overtext = " ";
_root.cursor.gotoAndStop(1);
gotoAndStop (3);
}
Symbol 233 Button
on (rollOver) {
_root.overtext = "Defend";
_root.cursor.gotoAndStop(2);
}
on (rollOut) {
_root.overtext = " ";
_root.cursor.gotoAndStop(1);
}
on (release) {
_root.overtext = " ";
_root.cursor.gotoAndStop(1);
_root.protection = 1;
_root.enemyTurn = 1;
_root.buttons._visible = false;
}
Symbol 234 Button
on (rollOver) {
_root.overtext = "Concentration";
_root.cursor.gotoAndStop(2);
}
on (rollOut) {
_root.overtext = " ";
_root.cursor.gotoAndStop(1);
}
on (release) {
_root.overtext = " ";
_root.cursor.gotoAndStop(1);
if ((_root.concentrations > 9) && (_root.concentrations < 120)) {
_root.buttons._visible = false;
_root.redball.gotoAndStop("uberconcentrate");
} else if (_root.concentrations > 119) {
_root.buttons._visible = false;
_root.redball.gotoAndStop("uberuberconc");
} else {
_root.buttons._visible = false;
_root.redball.gotoAndStop("concentrate");
}
}
Symbol 236 Button
on (rollOver) {
_root.overtext = "Use Item";
_root.cursor.gotoAndStop(2);
}
on (rollOut) {
_root.overtext = " ";
_root.cursor.gotoAndStop(1);
}
on (release) {
_root.overtext = " ";
_root.cursor.gotoAndStop(1);
gotoAndStop (4);
}
Symbol 237 Button
on (rollOver) {
_root.overtext = "Attack!";
_root.cursor.gotoAndStop(2);
}
on (rollOut) {
_root.overtext = " ";
_root.cursor.gotoAndStop(1);
}
on (release) {
_root.overtext = " ";
_root.cursor.gotoAndStop(1);
_root.buttons._visible = false;
_root.redball.gotoAndStop("attack");
}
Symbol 239 Button
on (rollOver) {
_root.overtext = "Equip";
_root.cursor.gotoAndStop(2);
}
on (rollOut) {
_root.overtext = " ";
_root.cursor.gotoAndStop(1);
}
on (release) {
_root.overtext = " ";
_root.cursor.gotoAndStop(1);
gotoAndStop (2);
}
Symbol 241 Button
on (rollOver) {
_root.overtext = "Escape!";
_root.cursor.gotoAndStop(2);
}
on (rollOut) {
_root.overtext = " ";
_root.cursor.gotoAndStop(1);
}
on (release) {
_root.esc();
}
Symbol 244 Button
on (release) {
if (_root.swords1 > 0) {
_root.swords1 = _root.swords1 - 1;
_root.weapon = 1;
_root.buttons.gotoAndStop(1);
}
}
Symbol 245 Button
on (release) {
if (_root.swords2 > 0) {
_root.swords2 = _root.swords2 - 1;
_root.weapon = 2;
_root.buttons.gotoAndStop(1);
}
}
Symbol 246 Button
on (release) {
if (_root.swords3 > 0) {
_root.swords3 = _root.swords3 - 1;
_root.weapon = 3;
_root.buttons.gotoAndStop(1);
}
}
Symbol 247 Button
on (release) {
if (_root.swords4 > 0) {
_root.swords4 = _root.swords4 - 1;
_root.weapon = 4;
_root.buttons.gotoAndStop(1);
}
}
Symbol 248 Button
on (release) {
if (_root.swords5 > 0) {
_root.swords5 = _root.swords5 - 1;
_root.weapon = 5;
_root.buttons.gotoAndStop(1);
}
}
Symbol 249 Button
on (release) {
if (_root.swords6 > 0) {
_root.swords6 = _root.swords6 - 1;
_root.weapon = 6;
_root.buttons.gotoAndStop(1);
}
}
Symbol 250 Button
on (release) {
if (_root.swords7 > 0) {
_root.swords7 = _root.swords7 - 1;
_root.weapon = 7;
_root.buttons.gotoAndStop(1);
}
}
Symbol 251 Button
on (release) {
if (_root.swords8 > 0) {
_root.swords8 = _root.swords8 - 1;
_root.weapon = 8;
_root.buttons.gotoAndStop(1);
}
}
Symbol 252 Button
on (rollOver) {
_root.overtext = "Go Back";
_root.cursor.gotoAndStop(2);
}
on (rollOut) {
_root.overtext = " ";
_root.cursor.gotoAndStop(1);
}
on (release) {
gotoAndStop (1);
}
Symbol 269 Button
on (release) {
gotoAndStop (5);
}
Symbol 273 Button
on (release) {
if (_root.charges1 > 0) {
_root.charges1 = _root.charges1 - 1;
_root.redball.gotoAndStop("usemagic");
_root.buttons.gotoAndStop(1);
_root.buttons._visible = false;
_root.magicka = 1;
}
}
Symbol 274 Button
on (release) {
if (_root.charges2 > 0) {
_root.charges2 = _root.charges2 - 1;
_root.redball.gotoAndStop("usemagic");
_root.buttons.gotoAndStop(1);
_root.buttons._visible = false;
_root.magicka = 2;
}
}
Symbol 275 Button
on (release) {
if (_root.charges3 > 0) {
_root.charges3 = _root.charges3 - 1;
_root.redball.gotoAndStop("usemagic");
_root.buttons.gotoAndStop(1);
_root.buttons._visible = false;
_root.magicka = 3;
}
}
Symbol 276 Button
on (release) {
if (_root.charges4 > 0) {
_root.charges4 = _root.charges4 - 1;
_root.redball.gotoAndStop("usemagic");
_root.buttons.gotoAndStop(1);
_root.buttons._visible = false;
_root.magicka = 4;
}
}
Symbol 277 Button
on (release) {
if (_root.charges5 > 0) {
_root.charges5 = _root.charges5 - 1;
_root.redball.gotoAndStop("usemagic");
_root.buttons.gotoAndStop(1);
_root.buttons._visible = false;
_root.magicka = 5;
}
}
Symbol 278 Button
on (release) {
if (_root.charges6 > 0) {
_root.charges6 = _root.charges6 - 1;
_root.redball.gotoAndStop("usemagic");
_root.buttons.gotoAndStop(1);
_root.buttons._visible = false;
_root.magicka = 6;
}
}
Symbol 279 Button
on (release) {
if (_root.charges7 > 0) {
_root.charges7 = _root.charges7 - 1;
_root.redball.gotoAndStop("usemagic");
_root.buttons.gotoAndStop(1);
_root.buttons._visible = false;
_root.magicka = 7;
}
}
Symbol 280 Button
on (release) {
if (_root.charges8 > 0) {
_root.charges8 = _root.charges8 - 1;
_root.redball.gotoAndStop("usemagic");
_root.buttons.gotoAndStop(1);
_root.buttons._visible = false;
_root.magicka = 8;
}
}
Symbol 281 Button
on (release) {
if (_root.charges9 > 0) {
_root.charges9 = _root.charges9 - 1;
_root.redball.gotoAndStop("usemagic");
_root.buttons.gotoAndStop(1);
_root.buttons._visible = false;
_root.magicka = 9;
}
}
Symbol 282 Button
on (release) {
if (_root.charges10 > 0) {
_root.charges10 = _root.charges10 - 1;
_root.redball.gotoAndStop("usemagic");
_root.buttons.gotoAndStop(1);
_root.buttons._visible = false;
_root.magicka = 10;
}
}
Symbol 305 Button
on (release) {
_root.healing = 100;
}
on (release) {
if (_root.items1 > 0) {
_root.items1 = _root.items1 - 1;
_root.redball.gotoAndStop("potionuse");
_root.buttons.gotoAndStop(1);
_root.buttons._visible = false;
}
}
Symbol 306 Button
on (release) {
_root.healing = 500;
}
on (release) {
if (_root.items2 > 0) {
_root.items2 = _root.items2 - 1;
_root.redball.gotoAndStop("potionuse");
_root.buttons.gotoAndStop(1);
_root.buttons._visible = false;
}
}
Symbol 307 Button
on (release) {
_root.healing = 1000;
}
on (release) {
if (_root.items3 > 0) {
_root.items3 = _root.items3 - 1;
_root.redball.gotoAndStop("potionuse");
_root.buttons.gotoAndStop(1);
_root.buttons._visible = false;
}
}
Symbol 308 Button
on (release) {
_root.healing = 5000;
}
on (release) {
if (_root.items4 > 0) {
_root.items4 = _root.items4 - 1;
_root.redball.gotoAndStop("potionuse");
_root.buttons.gotoAndStop(1);
_root.buttons._visible = false;
}
}
Symbol 309 Button
on (release) {
_root.healing = 15000;
}
on (release) {
if (_root.items5 > 0) {
_root.items5 = _root.items5 - 1;
_root.redball.gotoAndStop("potionuse");
_root.buttons.gotoAndStop(1);
_root.buttons._visible = false;
}
}
Symbol 320 Button
on (release) {
if (_root.swords9 > 0) {
_root.swords9 = _root.swords9 - 1;
_root.weapon = 9;
_root.buttons.gotoAndStop(1);
}
}
Symbol 321 Button
on (release) {
if (_root.swords10 > 0) {
_root.swords10 = _root.swords10 - 1;
_root.weapon = 10;
_root.buttons.gotoAndStop(1);
}
}
Symbol 322 Button
on (release) {
if (_root.swords11 > 0) {
_root.swords11 = _root.swords11 - 1;
_root.weapon = 11;
_root.buttons.gotoAndStop(1);
}
}
Symbol 323 Button
on (release) {
if (_root.swords12 > 0) {
_root.swords12 = _root.swords12 - 1;
_root.weapon = 12;
_root.buttons.gotoAndStop(1);
}
}
Symbol 324 Button
on (release) {
if (_root.swords13 > 0) {
_root.swords13 = _root.swords13 - 1;
_root.weapon = 13;
_root.buttons.gotoAndStop(1);
}
}
Symbol 325 Button
on (release) {
if (_root.swords14 > 0) {
_root.swords14 = _root.swords14 - 1;
_root.weapon = 14;
_root.buttons.gotoAndStop(1);
}
}
Symbol 326 Button
on (release) {
gotoAndStop (2);
}
Symbol 340 MovieClip Frame 1
stop();
Symbol 354 Button
on (release) {
stopAllSounds();
gotoAndPlay (9);
}
Symbol 361 Button
on (release) {
stopAllSounds();
gotoAndStop (2);
}
Symbol 366 Button
on (release) {
_root.saveFunction();
_root.box.gotoAndStop(2);
}
Symbol 368 Button
on (release) {
_root.box.gotoAndStop(7);
}
Symbol 370 Button
on (release) {
_root.box.gotoAndStop(3);
}
Symbol 372 Button
on (release) {
_root.box.gotoAndStop(4);
}
Symbol 374 Button
on (release) {
_root.box.gotoAndStop(5);
}
Symbol 376 Button
on (release) {
_root.box.gotoAndStop(6);
}
Symbol 384 Button
on (release) {
if (_root.credits >= 250) {
_root.credits = _root.credits - 250;
_root.swords1 = _root.swords1 + 1;
}
}
Symbol 386 Button
on (release) {
if (_root.credits >= 500) {
_root.credits = _root.credits - 500;
_root.swords2 = _root.swords2 + 1;
}
}
Symbol 388 Button
on (release) {
if (_root.credits >= 1000) {
_root.credits = _root.credits - 1000;
_root.swords3 = _root.swords3 + 1;
}
}
Symbol 390 Button
on (release) {
if (_root.credits >= 2500) {
_root.credits = _root.credits - 2500;
_root.swords4 = _root.swords4 + 1;
}
}
Symbol 392 Button
on (release) {
if (_root.credits >= 5000) {
_root.credits = _root.credits - 5000;
_root.swords5 = _root.swords5 + 1;
}
}
Symbol 396 Button
on (release) {
gotoAndStop (8);
}
Symbol 403 Button
on (release) {
if (_root.credits >= 50) {
_root.credits = _root.credits - 50;
_root.items1 = _root.items1 + 1;
}
}
Symbol 405 Button
on (release) {
if (_root.credits >= 100) {
_root.credits = _root.credits - 100;
_root.items2 = _root.items2 + 1;
}
}
Symbol 407 Button
on (release) {
if (_root.credits >= 150) {
_root.credits = _root.credits - 150;
_root.items3 = _root.items3 + 1;
}
}
Symbol 409 Button
on (release) {
if (_root.credits >= 250) {
_root.credits = _root.credits - 250;
_root.items4 = _root.items4 + 1;
}
}
Symbol 411 Button
on (release) {
if (_root.credits >= 500) {
_root.credits = _root.credits - 500;
_root.items5 = _root.items5 + 1;
}
}
Symbol 417 Button
on (release) {
if (_root.credits >= 1000) {
_root.credits = _root.credits - 1000;
_root.charges1 = _root.charges1 + 1;
}
}
Symbol 419 Button
on (release) {
if (_root.credits >= 2500) {
_root.credits = _root.credits - 2500;
_root.charges2 = _root.charges2 + 1;
}
}
Symbol 421 Button
on (release) {
if (_root.credits >= 7500) {
_root.credits = _root.credits - 7500;
_root.charges3 = _root.charges3 + 1;
}
}
Symbol 423 Button
on (release) {
if (_root.credits >= 15000) {
_root.credits = _root.credits - 15000;
_root.charges4 = _root.charges4 + 1;
}
}
Symbol 425 Button
on (release) {
if (_root.credits >= 25000) {
_root.credits = _root.credits - 25000;
_root.charges5 = _root.charges5 + 1;
}
}
Symbol 428 Button
on (release) {
gotoAndStop (10);
}
Symbol 436 Button
on (release) {
_root.newlevel = Number(_root.newenemylevel);
if ((_root.newlevel > 0) && (_root.newlevel < 99999999)) {
_root.enemylevel = _root.newenemylevel;
_root.startUpNewFight();
} else if ((!_root.newlevel) > 0) {
_root.newenemylevel = 999000000000;
_root.enemylevel = _root.newenemylevel;
_root.startUpNewFight();
}
}
Symbol 442 Button
on (release) {
_root.resetFunction();
}
Symbol 445 Button
on (release) {
if (_root.credits >= 7500) {
_root.credits = _root.credits - 7500;
_root.swords6 = _root.swords6 + 1;
}
}
Symbol 447 Button
on (release) {
if (_root.credits >= 10000) {
_root.credits = _root.credits - 10000;
_root.swords7 = _root.swords7 + 1;
}
}
Symbol 449 Button
on (release) {
if (_root.credits >= 15000) {
_root.credits = _root.credits - 15000;
_root.swords8 = _root.swords8 + 1;
}
}
Symbol 451 Button
on (release) {
if (_root.credits >= 25000) {
_root.credits = _root.credits - 25000;
_root.swords9 = _root.swords9 + 1;
}
}
Symbol 454 Button
on (release) {
gotoAndStop (3);
}
Symbol 457 Button
on (release) {
if (_root.credits >= 50000) {
_root.credits = _root.credits - 50000;
_root.swords10 = _root.swords10 + 1;
}
}
Symbol 459 Button
on (release) {
if (_root.credits >= 75000) {
_root.credits = _root.credits - 75000;
_root.swords11 = _root.swords11 + 1;
}
}
Symbol 461 Button
on (release) {
if (_root.credits >= 100000) {
_root.credits = _root.credits - 100000;
_root.swords12 = _root.swords12 + 1;
}
}
Symbol 463 Button
on (release) {
if (_root.credits >= 150000) {
_root.credits = _root.credits - 150000;
_root.swords13 = _root.swords13 + 1;
}
}
Symbol 466 Button
on (release) {
if (_root.credits >= 250000) {
_root.credits = _root.credits - 250000;
_root.swords14 = _root.swords14 + 1;
}
}
Symbol 473 Button
on (release) {
if (_root.credits >= 50000) {
_root.credits = _root.credits - 50000;
_root.charges6 = _root.charges6 + 1;
}
}
Symbol 475 Button
on (release) {
if (_root.credits >= 75000) {
_root.credits = _root.credits - 75000;
_root.charges7 = _root.charges7 + 1;
}
}
Symbol 477 Button
on (release) {
if (_root.credits >= 100000) {
_root.credits = _root.credits - 100000;
_root.charges8 = _root.charges8 + 1;
}
}
Symbol 479 Button
on (release) {
if (_root.credits >= 150000) {
_root.credits = _root.credits - 150000;
_root.charges9 = _root.charges9 + 1;
}
}
Symbol 481 Button
on (release) {
if (_root.credits >= 250000) {
_root.credits = _root.credits - 250000;
_root.charges10 = _root.charges10 + 1;
}
}
Symbol 487 MovieClip Frame 1
stop();