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 23 MovieClip "cursor" in Frame 1
onClipEvent (enterFrame) {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 2
nextFrame();
Instance of Symbol 23 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;
_root.enemyhp = _root.enemyhp * _root.enemylevel;
_root.enemyhp = (_root.enemyhp * _root.level) / 2;
_root.enemyhp = (_root.enemyhp = _root.enemyhp + 249);
Instance of Symbol 68 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 107 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 219 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 222 MovieClip "damage2" in Frame 6
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 222 MovieClip "damage1" in Frame 6
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 256 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();
}
}
Instance of Symbol 23 MovieClip "cursor" in Frame 6
onClipEvent (enterFrame) {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
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;
}
Frame 9
nextFrame();
Instance of Symbol 23 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 = "FierceBattle";
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 18 MovieClip Frame 1
i = 1;
max = 25;
x = getProperty("fire", _x);
Symbol 18 MovieClip Frame 3
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
Symbol 18 MovieClip Frame 5
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
gotoAndPlay (2);
Symbol 23 MovieClip Frame 1
stop();
Symbol 40 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.charges1 = 1;
_root.charges2 = 1;
_root.charges3 = 1;
_root.charges4 = 1;
_root.charges5 = 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 41 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 42 Button
on (release) {
nextFrame();
}
Symbol 43 Button
on (release) {
stopAllSounds();
gotoAndStop (5);
}
Symbol 44 Button
on (release) {
getURL ("http://www.eviludy.net", "_blank");
}
Symbol 45 Button
on (release) {
getURL ("http://www.eviludy.net/highscores/FiercebattleHiScore.php", "_blank");
}
Symbol 47 Button
on (release) {
prevFrame();
}
Symbol 52 Button
on (release) {
stopAllSounds();
gotoAndStop (2);
}
Symbol 68 MovieClip Frame 1
stop();
Instance of Symbol 82 MovieClip in Symbol 85 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;
}
}
Instance of Symbol 82 MovieClip in Symbol 88 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;
}
}
Symbol 88 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);
}
Symbol 88 MovieClip Frame 45
_root.enemyTurn = 1;
_root.concentrations = 1;
_root.redball.gotoAndStop(1);
Instance of Symbol 82 MovieClip in Symbol 93 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;
}
}
Symbol 93 MovieClip Frame 70
_root.enemyTurn = 1;
_root.concentrations = _root.concentrations + 1;
_root.redball.gotoAndStop(1);
Instance of Symbol 82 MovieClip in Symbol 97 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;
}
}
Symbol 97 MovieClip Frame 60
_root.enemyTurn = 1;
_root.concentrations = _root.concentrations * 2;
_root.redball.gotoAndStop(1);
Instance of Symbol 82 MovieClip in Symbol 99 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;
}
}
Symbol 99 MovieClip Frame 60
_root.enemyTurn = 1;
_root.concentrations = _root.concentrations * 5;
_root.redball.gotoAndStop(1);
Instance of Symbol 82 MovieClip in Symbol 100 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;
}
}
Symbol 100 MovieClip Frame 5
_root.hp1 = _root.hp1 - _root.subtractDMG;
Symbol 100 MovieClip Frame 10
_root.redball.gotoAndStop(1);
Instance of Symbol 82 MovieClip in Symbol 105 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;
}
}
Symbol 105 MovieClip Frame 25
_root.hp1 = _root.hp1 + _root.healing;
_root.enemyTurn = 1;
_root.redball.gotoAndStop(1);
Instance of Symbol 82 MovieClip in Symbol 106 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;
}
}
Symbol 106 MovieClip Frame 40
_root.castmagi = 1;
_root.magicclip._visible = true;
_root.magicclip.inner.play();
_root.redball.gotoAndStop(1);
Symbol 107 MovieClip Frame 1
stop();
Symbol 121 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 123 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 124 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 126 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 127 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 129 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 131 Button
on (rollOver) {
_root.overtext = "Escape!";
_root.cursor.gotoAndStop(2);
}
on (rollOut) {
_root.overtext = " ";
_root.cursor.gotoAndStop(1);
}
on (release) {
_root.esc();
}
Symbol 134 Button
on (release) {
if (_root.swords1 > 0) {
_root.swords1 = _root.swords1 - 1;
_root.weapon = 1;
_root.buttons.gotoAndStop(1);
}
}
Symbol 135 Button
on (release) {
if (_root.swords2 > 0) {
_root.swords2 = _root.swords2 - 1;
_root.weapon = 2;
_root.buttons.gotoAndStop(1);
}
}
Symbol 136 Button
on (release) {
if (_root.swords3 > 0) {
_root.swords3 = _root.swords3 - 1;
_root.weapon = 3;
_root.buttons.gotoAndStop(1);
}
}
Symbol 137 Button
on (release) {
if (_root.swords4 > 0) {
_root.swords4 = _root.swords4 - 1;
_root.weapon = 4;
_root.buttons.gotoAndStop(1);
}
}
Symbol 138 Button
on (release) {
if (_root.swords5 > 0) {
_root.swords5 = _root.swords5 - 1;
_root.weapon = 5;
_root.buttons.gotoAndStop(1);
}
}
Symbol 144 Button
on (release) {
if (_root.swords6 > 0) {
_root.swords6 = _root.swords6 - 1;
_root.weapon = 6;
_root.buttons.gotoAndStop(1);
}
}
Symbol 145 Button
on (release) {
if (_root.swords7 > 0) {
_root.swords7 = _root.swords7 - 1;
_root.weapon = 7;
_root.buttons.gotoAndStop(1);
}
}
Symbol 146 Button
on (release) {
if (_root.swords8 > 0) {
_root.swords8 = _root.swords8 - 1;
_root.weapon = 8;
_root.buttons.gotoAndStop(1);
}
}
Symbol 147 Button
on (release) {
if (_root.swords9 > 0) {
_root.swords9 = _root.swords9 - 1;
_root.weapon = 9;
_root.buttons.gotoAndStop(1);
}
}
Symbol 157 Button
on (rollOver) {
_root.overtext = "Go Back";
_root.cursor.gotoAndStop(2);
}
on (rollOut) {
_root.overtext = " ";
_root.cursor.gotoAndStop(1);
}
on (release) {
gotoAndStop (1);
}
Symbol 164 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 165 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 166 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 167 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 168 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 180 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 181 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 182 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 183 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 184 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 195 MovieClip Frame 1
stop();
Symbol 207 MovieClip Frame 1
stop();
Instance of Symbol 207 MovieClip in Symbol 209 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 207 MovieClip in Symbol 210 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 210 MovieClip Frame 20
_root.blueball.gotoAndStop(1);
Instance of Symbol 207 MovieClip in Symbol 213 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 213 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 213 MovieClip Frame 28
_root.buttons._visible = true;
_root.enemyConCen = 0;
_root.blueball.gotoAndStop(1);
Instance of Symbol 207 MovieClip in Symbol 217 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 217 MovieClip Frame 30
_root.enemyhp = _root.enemyhp * 1.1;
_root.enemyhp = Math.ceil(_root.enemyhp);
Symbol 217 MovieClip Frame 60
_root.buttons._visible = true;
_root.blueball.gotoAndStop(1);
Instance of Symbol 207 MovieClip in Symbol 218 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 218 MovieClip Frame 10
_root.enemyConCen = _root.enemyConCen + 1;
Symbol 218 MovieClip Frame 20
_root.enemyConCen = _root.enemyConCen + 1;
Symbol 218 MovieClip Frame 40
_root.buttons._visible = true;
_root.blueball.gotoAndStop(1);
Symbol 219 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 30
_root.damage1._visible = false;
_root.damage2._visible = false;
Symbol 230 MovieClip Frame 1
stop();
Symbol 230 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 230 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 237 MovieClip Frame 1
stop();
Symbol 237 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 237 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 238 MovieClip Frame 1
i = 1;
max = 25;
x = getProperty("fire", _x);
Symbol 238 MovieClip Frame 2
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
Symbol 238 MovieClip Frame 3
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
gotoAndPlay (2);
Symbol 243 MovieClip Frame 1
stop();
Symbol 243 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 243 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 247 MovieClip Frame 1
i = 1;
max = 25;
x = getProperty("fire", _x);
Symbol 247 MovieClip Frame 2
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
Symbol 247 MovieClip Frame 3
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
gotoAndPlay (2);
Symbol 251 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 251 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 255 MovieClip Frame 1
stop();
Symbol 255 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 255 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 256 MovieClip Frame 1
stop();
Symbol 262 Button
on (release) {
getURL ("http://www.eviludy.net", "_blank");
}
Symbol 276 Button
on (release) {
stopAllSounds();
gotoAndPlay (9);
}
Symbol 283 Button
on (release) {
stopAllSounds();
gotoAndStop (2);
}
Symbol 288 Button
on (release) {
_root.saveFunction();
_root.box.gotoAndStop(2);
}
Symbol 290 Button
on (release) {
_root.box.gotoAndStop(7);
}
Symbol 292 Button
on (release) {
_root.box.gotoAndStop(3);
}
Symbol 294 Button
on (release) {
_root.box.gotoAndStop(4);
}
Symbol 296 Button
on (release) {
_root.box.gotoAndStop(5);
}
Symbol 298 Button
on (release) {
_root.box.gotoAndStop(6);
}
Symbol 306 Button
on (release) {
if (_root.credits >= 250) {
_root.credits = _root.credits - 250;
_root.swords1 = _root.swords1 + 1;
}
}
Symbol 308 Button
on (release) {
if (_root.credits >= 500) {
_root.credits = _root.credits - 500;
_root.swords2 = _root.swords2 + 1;
}
}
Symbol 310 Button
on (release) {
if (_root.credits >= 1000) {
_root.credits = _root.credits - 1000;
_root.swords3 = _root.swords3 + 1;
}
}
Symbol 312 Button
on (release) {
if (_root.credits >= 2500) {
_root.credits = _root.credits - 2500;
_root.swords4 = _root.swords4 + 1;
}
}
Symbol 314 Button
on (release) {
if (_root.credits >= 5000) {
_root.credits = _root.credits - 5000;
_root.swords5 = _root.swords5 + 1;
}
}
Symbol 318 Button
on (release) {
gotoAndStop (8);
}
Symbol 325 Button
on (release) {
if (_root.credits >= 50) {
_root.credits = _root.credits - 50;
_root.items1 = _root.items1 + 1;
}
}
Symbol 327 Button
on (release) {
if (_root.credits >= 100) {
_root.credits = _root.credits - 100;
_root.items2 = _root.items2 + 1;
}
}
Symbol 329 Button
on (release) {
if (_root.credits >= 150) {
_root.credits = _root.credits - 150;
_root.items3 = _root.items3 + 1;
}
}
Symbol 331 Button
on (release) {
if (_root.credits >= 250) {
_root.credits = _root.credits - 250;
_root.items4 = _root.items4 + 1;
}
}
Symbol 333 Button
on (release) {
if (_root.credits >= 500) {
_root.credits = _root.credits - 500;
_root.items5 = _root.items5 + 1;
}
}
Symbol 339 Button
on (release) {
if (_root.credits >= 5000) {
_root.credits = _root.credits - 5000;
_root.charges1 = _root.charges1 + 1;
}
}
Symbol 341 Button
on (release) {
if (_root.credits >= 15000) {
_root.credits = _root.credits - 15000;
_root.charges2 = _root.charges2 + 1;
}
}
Symbol 343 Button
on (release) {
if (_root.credits >= 25000) {
_root.credits = _root.credits - 25000;
_root.charges3 = _root.charges3 + 1;
}
}
Symbol 345 Button
on (release) {
if (_root.credits >= 50000) {
_root.credits = _root.credits - 50000;
_root.charges4 = _root.charges4 + 1;
}
}
Symbol 347 Button
on (release) {
if (_root.credits >= 99999) {
_root.credits = _root.credits - 99999;
_root.charges5 = _root.charges5 + 1;
}
}
Symbol 358 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 364 Button
on (release) {
_root.resetFunction();
}
Symbol 367 Button
on (release) {
if (_root.credits >= 7500) {
_root.credits = _root.credits - 7500;
_root.swords6 = _root.swords6 + 1;
}
}
Symbol 369 Button
on (release) {
if (_root.credits >= 10000) {
_root.credits = _root.credits - 10000;
_root.swords7 = _root.swords7 + 1;
}
}
Symbol 371 Button
on (release) {
if (_root.credits >= 15000) {
_root.credits = _root.credits - 15000;
_root.swords8 = _root.swords8 + 1;
}
}
Symbol 373 Button
on (release) {
if (_root.credits >= 25000) {
_root.credits = _root.credits - 25000;
_root.swords9 = _root.swords9 + 1;
}
}
Symbol 376 Button
on (release) {
gotoAndStop (3);
}
Symbol 380 MovieClip Frame 1
stop();