Frame 1
stop();
Instance of Symbol 6 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 * 4.5;
if (_root.percent == 100) {
_root.play();
}
}
Frame 89
stop();
Frame 90
for (i in _root) {
if (_root[i] instanceof MovieClip) {
_root[i].removeMovieClip();
}
}
stopAllSounds();
Frame 92
function startUpNew() {
_root.aimlevel = 1;
_root.aimstrenght = 5;
_root.aimknowledge = 5;
_root.aimdefence = 5;
_root.aimlimit = 1;
_root.aimlimitmax = 150;
_root.msnlevel = 1;
_root.msnstrenght = 5;
_root.msnknowledge = 5;
_root.msndefence = 5;
_root.msnlimit = 1;
_root.msnlimitmax = 150;
_root.aimitems1 = 1;
_root.aimitems2 = 0;
_root.aimitems3 = 0;
_root.aimitems4 = 0;
_root.msnitems1 = 1;
_root.msnitems2 = 0;
_root.msnitems3 = 0;
_root.msnitems4 = 0;
_root.spellcost_1 = 3;
_root.spellcost_2 = 7;
_root.spellcost_3 = 15;
_root.spellcost_4 = 25;
_root.spellcost_5 = 50;
_root.spellcost_6 = 75;
_root.spellcost_7 = 125;
_root.spellcost_8 = 275;
}
stop();
Frame 95
_root.aimhp = 377;
_root.aimhpmax = 400;
_root.aimmp = 5;
_root.aimmpmax = 9;
_root.aimlimit = 22;
_root.aimlimitmax = 150;
_root.msnhp = 377;
_root.msnhpmax = 400;
_root.msnmp = 5;
_root.msnmpmax = 9;
_root.msnlimit = 22;
_root.msnlimitmax = 150;
Instance of Symbol 360 MovieClip in Frame 95
onClipEvent (load) {
this.gotoAndStop(2);
}
Frame 97
_root.msnmagic1 = false;
_root.msnmagic2 = false;
_root.msnmagic3 = false;
_root.msnmagic4 = false;
_root.msnmagic5 = false;
_root.msnmagic6 = false;
_root.msnmagic7 = false;
_root.msnmagic8 = false;
_root.character = 2;
Instance of Symbol 360 MovieClip in Frame 97
onClipEvent (load) {
this.gotoAndStop(7);
}
Frame 98
_root.msnkill1 = false;
_root.msnskill2 = false;
_root.msnskill3 = false;
_root.msnskill4 = false;
Instance of Symbol 360 MovieClip in Frame 98
onClipEvent (load) {
this.gotoAndStop(15);
}
Frame 100
function aimdamage1() {
random_a = Math.round((Math.random() * 9) + 1);
random_b = Math.round((Math.random() * 3) + 1);
damage = ((random_a + ((_root.aimstrenght + _root.aimpowerups) / 2)) + (_root.aimlevel * (_root.aimstrenght + _root.aimpowerups))) + (random_b * (_root.aimstrenght + _root.aimpowerups));
damage = damage - Math.round((_root.msnlevel / 3) * (_root.msndefence + _root.msndefenceups));
damage = Math.round(damage);
if (damage < 1) {
damage = 1;
}
if (damage > 9999) {
damage = 9999;
}
_root.amounter = damage;
_root.msnhp = _root.msnhp - _root.amounter;
if (_root.msnhp < 0) {
_root.msnhp = 0;
}
_root.damage2.gotoAndPlay(1);
_root.damage2._visible = true;
}
function aimdamage2() {
random_a = Math.round((Math.random() * 9) + 1);
random_b = Math.round((Math.random() * 3) + 1);
damage = ((random_a + ((_root.aimstrenght + _root.aimpowerups) / 2)) + (_root.aimlevel * (_root.aimstrenght + _root.aimpowerups))) + (random_b * (_root.aimstrenght + _root.aimpowerups));
damage = damage - Math.round((_root.msnlevel / 3) * (_root.msndefence + _root.msndefenceups));
damage = Math.round(damage);
if (damage < 1) {
damage = 1;
}
if (damage > 9999) {
damage = 9999;
}
_root.amounter = Math.round(damage / 3);
_root.msnhp = _root.msnhp - _root.amounter;
if (_root.msnhp < 0) {
_root.msnhp = 0;
}
_root.damage2.gotoAndPlay(1);
_root.damage2._visible = true;
}
function aimdamage3(spellnum) {
random_a = Math.round((Math.random() * 9) + 1);
random_b = Math.round((Math.random() * (3 + spellnum)) + 1);
damage = (((_root.aimlevel + random_a) + _root.aimknowledge) + (_root.aimlevel * _root.aimknowledge)) + ((random_b * _root.aimknowledge) * spellnum);
spellcostadd = _root["spellcost_" + spellnum];
damage = damage + spellcostadd;
damage = damage - Math.round((_root.msnlevel / 3) * (_root.msndefence + _root.msndefenceups));
damage = Math.round(damage);
if (damage < 1) {
damage = 1;
}
_root.amounter = damage;
_root.msnhp = _root.msnhp - _root.amounter;
if (_root.aimhp < 0) {
_root.aimhp = 0;
}
if (damage > 9999) {
damage = 9999;
}
_root.damage2.gotoAndPlay(1);
_root.damage2._visible = true;
}
function msndamage1() {
random_a = Math.round((Math.random() * 9) + 1);
random_b = Math.round((Math.random() * 3) + 1);
damage = ((random_a + ((_root.msnstrenght + _root.msnpowerups) / 2)) + (_root.msnlevel * (_root.msnstrenght + _root.msnpowerups))) + (random_b * (_root.msnstrenght + _root.msnpowerups));
damage = damage - Math.round((_root.aimlevel / 3) * (_root.aimdefence + _root.aimdefenceups));
damage = Math.round(damage);
if (damage < 1) {
damage = 1;
}
_root.amounter = damage;
_root.aimhp = _root.aimhp - _root.amounter;
if (_root.aimhp < 0) {
_root.aimhp = 0;
}
if (damage > 9999) {
damage = 9999;
}
_root.damage1.gotoAndPlay(1);
_root.damage1._visible = true;
}
function msndamage2() {
random_a = Math.round((Math.random() * 9) + 1);
random_b = Math.round((Math.random() * 3) + 1);
damage = ((random_a + ((_root.msnstrenght + _root.msnpowerups) / 2)) + (_root.msnlevel * (_root.msnstrenght + _root.msnpowerups))) + (random_b * (_root.msnstrenght + _root.msnpowerups));
damage = damage - Math.round((_root.aimlevel / 3) * (_root.aimdefence + _root.aimdefenceups));
damage = Math.round(damage);
if (damage < 1) {
damage = 1;
}
if (damage > 9999) {
damage = 9999;
}
_root.amounter = Math.round(damage / 1.5);
_root.aimhp = _root.aimhp - _root.amounter;
if (_root.aimhp < 0) {
_root.aimhp = 0;
}
_root.damage1.gotoAndPlay(1);
_root.damage1._visible = true;
}
function msndamage3(spellnum) {
random_a = Math.round((Math.random() * 9) + 1);
random_b = Math.round((Math.random() * (3 + spellnum)) + 1);
damage = (((_root.msnlevel + random_a) + _root.msnknowledge) + (_root.msnlevel * _root.msnknowledge)) + ((random_b * _root.msnknowledge) * spellnum);
spellcostadd = _root["spellcost_" + spellnum];
damage = damage + spellcostadd;
damage = damage - Math.round((_root.aimlevel / 3) * (_root.aimdefence + _root.aimdefenceups));
damage = Math.round(damage);
if (damage < 1) {
damage = 1;
}
_root.amounter = damage;
_root.aimhp = _root.aimhp - _root.amounter;
if (_root.aimhp < 0) {
_root.aimhp = 0;
}
if (damage > 9999) {
damage = 9999;
}
_root.damage1.gotoAndPlay(1);
_root.damage1._visible = true;
}
function changeTurns() {
if (_root.game == true) {
if ((_root.lastturn == 1) && (_root.character == 1)) {
_root.lastturn = 2;
_root.computerMsnAction();
} else if ((_root.lastturn == 2) && (_root.character == 1)) {
_root.lastturn = 1;
_root.systemclip.gotoAndStop(2);
} else if ((_root.lastturn == 1) && (_root.character == 2)) {
_root.lastturn = 2;
_root.systemclip.gotoAndStop(2);
} else if ((_root.lastturn == 2) && (_root.character == 2)) {
_root.lastturn = 1;
_root.computerAimAction();
}
}
}
function computerMsnAction() {
if (_root.msnlimit == _root.msnlimitmax) {
_root.gamemessage = "MSN Overdrive!";
_root.msnlimit = 1;
_root.MSN.gotoAndStop(6);
} else if (_root.msnlimit < _root.msnlimitmax) {
limitboost = Math.round((Math.random() * 7) + 1);
if (limitboost == 3) {
_root.gamemessage = "MSN boosts it's overdrive Meter!";
_root.msnlimit = _root.msnlimit + 12;
_root.MSN.gotoAndStop(7);
} else {
twentyfive = Math.round((_root.msnhpmax / 100) * 25);
mavailable1 = false;
mavailable2 = false;
mavailable3 = false;
mavailable4 = false;
mavailable5 = false;
mavailable6 = false;
mavailable7 = false;
mavailable8 = false;
if ((_root.msnmagic1 == true) && (_root.msnmp > _root.spellcost_1)) {
mavailable1 = true;
}
if ((_root.msnmagic2 == true) && (_root.msnmp > _root.spellcost_2)) {
mavailable2 = true;
}
if ((_root.msnmagic3 == true) && (_root.msnmp > _root.spellcost_3)) {
mavailable3 = true;
}
if ((_root.msnmagic4 == true) && (_root.msnmp > _root.spellcost_4)) {
mavailable4 = true;
}
if ((_root.msnmagic5 == true) && (_root.msnmp > _root.spellcost_5)) {
mavailable5 = true;
}
if ((_root.msnmagic6 == true) && (_root.msnmp > _root.spellcost_6)) {
mavailable6 = true;
}
if ((_root.msnmagic7 == true) && (_root.msnmp > _root.spellcost_7)) {
mavailable7 = true;
}
if ((_root.msnmagic8 == true) && (_root.msnmp > _root.spellcost_8)) {
mavailable8 = true;
}
if ((((((((mavailable1 == true) || (mavailable2 == true)) || (mavailable3 == true)) || (mavailable4 == true)) || (mavailable5 == true)) || (mavailable6 == true)) || (mavailable7 == true)) || (mavailable8 == true)) {
magicavailable = true;
} else {
magicavailable = false;
}
if (_root.msnhp < twentyfive) {
percenter = Math.round((Math.random() * 99) + 1);
if (percenter < 20) {
_root.gamemessage = "MSN Attacks you!";
_root.MSN.gotoAndStop(3);
} else if ((percenter >= 20) && (percenter < 40)) {
_root.msnlimit = _root.msnlimit + 12;
_root.MSN.gotoAndStop(7);
_root.gamemessage = "MSN boosts it's overdrive Meter!";
} else if (percenter >= 40) {
if (_root.msnitems4 > 0) {
_root.gamemessage = "MSN uses a x-potion.";
_root.healing = 9999;
_root.amounter = _root.healing;
_root.msnhp = _root.msnhp + _root.healing;
_root.msnitems4--;
_root.MSN.gotoAndStop(5);
_root.recover2._visible = true;
_root.damage2._visible = false;
_root.recover2.play();
} else if (_root.msnitems3 > 0) {
_root.gamemessage = "MSN uses a Mega potion.";
_root.healing = 2500;
_root.amounter = _root.healing;
_root.msnhp = _root.msnhp + _root.healing;
_root.msnitems3--;
_root.MSN.gotoAndStop(5);
_root.recover2._visible = true;
_root.damage2._visible = false;
_root.recover2.play();
} else if (_root.msnitems2 > 0) {
_root.gamemessage = "MSN uses a Hi-Potion.";
_root.healing = 1000;
_root.amounter = _root.healing;
_root.msnhp = _root.msnhp + _root.healing;
_root.msnitems2--;
_root.MSN.gotoAndStop(5);
_root.recover2._visible = true;
_root.damage2._visible = false;
_root.recover2.play();
} else if (_root.msnitems1 > 0) {
_root.gamemessage = "MSN uses a potion.";
_root.healing = 150;
_root.amounter = _root.healing;
_root.msnhp = _root.msnhp + _root.healing;
_root.msnitems1--;
_root.MSN.gotoAndStop(5);
_root.recover2._visible = true;
_root.damage2._visible = false;
_root.recover2.play();
} else if (_root.msnskill4 == true) {
_root.gamemessage = "MSN recovers some damage.";
losthealth = _root.msnhpmax - _root.msnhp;
onepercent = losthealth / 100;
recovering = Math.round(onepercent * 7);
_root.msnhp = _root.msnhp + recovering;
_root.amounter = recovering;
_root.recover2.play();
_root.recover2._visible = true;
_root.damage2._visible = false;
} else {
_root.gamemessage = "MSN Attacks you!";
_root.MSN.gotoAndStop(3);
}
}
} else if ((_root.msnhp >= twentyfive) && (magicavailable)) {
percenter = Math.round((Math.random() * 99) + 1);
if (percenter < 50) {
if ((_root.msnmagic8 == true) && (_root.msnmp > _root.spellcost_8)) {
_root.gamemessage = "MSN casts 'HaXXoR'";
_root.msnmp = _root.msnmp - _root.spellcost_8;
_root.MSN.gotoAndStop(4);
_root.sender = 2;
_root.castingspell = 13;
_root.spell_a_cast = 8;
} else if ((_root.msnmagic7 == true) && (_root.msnmp > _root.spellcost_7)) {
_root.gamemessage = "MSN casts 'Delete'";
_root.msnmp = _root.msnmp - _root.spellcost_7;
_root.MSN.gotoAndStop(4);
_root.sender = 2;
_root.castingspell = 12;
_root.spell_a_cast = 7;
} else if ((_root.msnmagic6 == true) && (_root.msnmp > _root.spellcost_6)) {
_root.gamemessage = "MSN casts 'Block'";
_root.msnmp = _root.msnmp - _root.spellcost_6;
_root.MSN.gotoAndStop(4);
_root.sender = 2;
_root.castingspell = 11;
_root.spell_a_cast = 6;
} else if ((_root.msnmagic5 == true) && (_root.msnmp > _root.spellcost_5)) {
_root.gamemessage = "MSN casts 'E-Mail'";
_root.msnmp = _root.msnmp - _root.spellcost_5;
_root.MSN.gotoAndStop(4);
_root.sender = 2;
_root.castingspell = 10;
_root.spell_a_cast = 5;
} else if ((_root.msnmagic4 == true) && (_root.msnmp > _root.spellcost_4)) {
_root.gamemessage = "MSN casts 'Wink'";
_root.msnmp = _root.msnmp - _root.spellcost_4;
_root.MSN.gotoAndStop(4);
_root.sender = 2;
_root.castingspell = 9;
_root.spell_a_cast = 4;
} else if ((_root.msnmagic3 == true) && (_root.msnmp > _root.spellcost_3)) {
_root.gamemessage = "MSN casts 'Buzzer'";
_root.msnmp = _root.msnmp - _root.spellcost_3;
_root.MSN.gotoAndStop(4);
_root.sender = 2;
_root.castingspell = 8;
_root.spell_a_cast = 3;
} else if ((_root.msnmagic2 == true) && (_root.msnmp > _root.spellcost_2)) {
_root.gamemessage = "MSN casts 'Emoticon'";
_root.msnmp = _root.msnmp - _root.spellcost_2;
_root.MSN.gotoAndStop(4);
_root.sender = 2;
_root.castingspell = 7;
_root.spell_a_cast = 2;
} else if ((_root.msnmagic1 == true) && (_root.msnmp > _root.spellcost_1)) {
_root.gamemessage = "MSN casts 'SPAM'";
_root.msnmp = _root.msnmp - _root.spellcost_1;
_root.MSN.gotoAndStop(4);
_root.sender = 2;
_root.castingspell = 6;
_root.spell_a_cast = 1;
}
} else if ((percenter >= 50) && (percenter < 75)) {
_root.gamemessage = "MSN Attacks you!";
_root.MSN.gotoAndStop(3);
} else if (percenter >= 75) {
if (_root.msnskill2 == true) {
_root.gamemessage = "MSN boosts it's defence!";
_root.msndefenceups++;
_root.MSN.gotoAndStop(7);
} else if (_root.msnskill2 == false) {
_root.gamemessage = "MSN Attacks you!";
_root.MSN.gotoAndStop(3);
}
}
} else if ((_root.msnhp >= twentyfive) && (!magicavailable)) {
percenter = Math.round((Math.random() * 99) + 1);
if (percenter < 50) {
_root.gamemessage = "MSN Attacks you!";
_root.MSN.gotoAndStop(3);
} else if ((percenter >= 50) && (percenter < 75)) {
if (_root.msnskill1 == true) {
_root.gamemessage = "MSN boosts it's power!";
_root.msnpowerups++;
_root.MSN.gotoAndStop(7);
} else if (_root.msnskill1 == false) {
_root.gamemessage = "MSN Attacks you!";
_root.MSN.gotoAndStop(3);
}
} else if (percenter >= 75) {
if (_root.msnskill2 == true) {
_root.gamemessage = "MSN boosts it's defence!";
_root.msndefenceups++;
_root.MSN.gotoAndStop(7);
} else if (_root.msnskill2 == false) {
_root.gamemessage = "MSN Attacks you!";
_root.MSN.gotoAndStop(3);
}
}
}
}
}
}
function computerAimAction() {
if (_root.aimlimit == _root.aimlimitmax) {
_root.gamemessage = "AIM Overdrive!";
_root.aimlimit = 1;
_root.AIM.gotoAndStop(6);
} else if (_root.aimlimit < _root.aimlimitmax) {
limitboost = Math.round((Math.random() * 7) + 1);
if (limitboost == 3) {
_root.gamemessage = "AIM boosts it's overdrive Meter!";
_root.aimlimit = _root.aimlimit + 12;
_root.AIM.gotoAndStop(7);
} else {
twentyfive = Math.round((_root.aimhpmax / 100) * 25);
mavailable1 = false;
mavailable2 = false;
mavailable3 = false;
mavailable4 = false;
mavailable5 = false;
mavailable6 = false;
mavailable7 = false;
mavailable8 = false;
if ((_root.aimmagic1 == true) && (_root.aimmp > _root.spellcost_1)) {
mavailable1 = true;
}
if ((_root.aimmagic2 == true) && (_root.aimmp > _root.spellcost_2)) {
mavailable2 = true;
}
if ((_root.aimmagic3 == true) && (_root.aimmp > _root.spellcost_3)) {
mavailable3 = true;
}
if ((_root.aimmagic4 == true) && (_root.aimmp > _root.spellcost_4)) {
mavailable4 = true;
}
if ((_root.aimmagic5 == true) && (_root.aimmp > _root.spellcost_5)) {
mavailable5 = true;
}
if ((_root.aimmagic6 == true) && (_root.aimmp > _root.spellcost_6)) {
mavailable6 = true;
}
if ((_root.aimmagic7 == true) && (_root.aimmp > _root.spellcost_7)) {
mavailable7 = true;
}
if ((_root.aimmagic8 == true) && (_root.aimmp > _root.spellcost_8)) {
mavailable8 = true;
}
if ((((((((mavailable1 == true) || (mavailable2 == true)) || (mavailable3 == true)) || (mavailable4 == true)) || (mavailable5 == true)) || (mavailable6 == true)) || (mavailable7 == true)) || (mavailable8 == true)) {
magicavailable = true;
} else {
magicavailable = false;
}
if (_root.aimhp < twentyfive) {
percenter = Math.round((Math.random() * 99) + 1);
if (percenter < 20) {
_root.gamemessage = "AIM Attacks you!";
_root.AIM.gotoAndStop(3);
} else if ((percenter >= 20) && (percenter < 40)) {
_root.aimlimit = _root.aimlimit + 12;
_root.AIM.gotoAndStop(7);
_root.gamemessage = "AIM boosts it's overdrive Meter!";
} else if (percenter >= 40) {
if (_root.aimitems4 > 0) {
_root.gamemessage = "AIM uses a x-potion.";
_root.healing = 9999;
_root.amounter = _root.healing;
_root.aimhp = _root.aimhp + _root.healing;
_root.aimitems4--;
_root.AIM.gotoAndStop(5);
_root.recover1._visible = true;
_root.damage1._visible = false;
_root.recover1.play();
} else if (_root.aimitems3 > 0) {
_root.gamemessage = "AIM uses a Mega potion.";
_root.healing = 2500;
_root.amounter = _root.healing;
_root.aimhp = _root.aimhp + _root.healing;
_root.aimitems3--;
_root.AIM.gotoAndStop(5);
_root.recover1._visible = true;
_root.damage1._visible = false;
_root.recover1.play();
} else if (_root.aimitems2 > 0) {
_root.gamemessage = "AIM uses a Hi-Potion.";
_root.healing = 1000;
_root.amounter = _root.healing;
_root.aimhp = _root.aimhp + _root.healing;
_root.aimitems2--;
_root.AIM.gotoAndStop(5);
_root.recover1._visible = true;
_root.damage1._visible = false;
_root.recover1.play();
} else if (_root.aimitems1 > 0) {
_root.gamemessage = "AIM uses a potion.";
_root.healing = 150;
_root.amounter = _root.healing;
_root.aimhp = _root.aimhp + _root.healing;
_root.aimitems1--;
_root.AIM.gotoAndStop(5);
_root.recover1._visible = true;
_root.damage1._visible = false;
_root.recover1.play();
} else if (_root.aimskill4 == true) {
_root.gamemessage = "AIM recovers some damage.";
losthealth = _root.aimhpmax - _root.aimhp;
onepercent = losthealth / 100;
recovering = Math.round(onepercent * 7);
_root.aimhp = _root.aimhp + recovering;
_root.amounter = recovering;
_root.recover1.play();
_root.recover1._visible = true;
_root.damage1._visible = false;
} else {
_root.gamemessage = "AIM Attacks you!";
_root.AIM.gotoAndStop(3);
}
}
} else if ((_root.aimhp >= twentyfive) && (magicavailable)) {
percenter = Math.round((Math.random() * 99) + 1);
if (percenter < 50) {
if ((_root.aimmagic8 == true) && (_root.aimmp > _root.spellcost_8)) {
_root.gamemessage = "AIM casts 'HaXXoR'";
_root.aimmp = _root.aimmp - _root.spellcost_8;
_root.AIM.gotoAndStop(4);
_root.sender = 1;
_root.castingspell = 13;
_root.spell_a_cast = 8;
} else if ((_root.aimmagic7 == true) && (_root.aimmp > _root.spellcost_7)) {
_root.gamemessage = "AIM casts 'Delete'";
_root.aimmp = _root.aimmp - _root.spellcost_7;
_root.AIM.gotoAndStop(4);
_root.sender = 1;
_root.castingspell = 12;
_root.spell_a_cast = 7;
} else if ((_root.aimmagic6 == true) && (_root.aimmp > _root.spellcost_6)) {
_root.gamemessage = "AIM casts 'Block'";
_root.aimmp = _root.aimmp - _root.spellcost_6;
_root.AIM.gotoAndStop(4);
_root.sender = 1;
_root.castingspell = 11;
_root.spell_a_cast = 6;
} else if ((_root.aimmagic5 == true) && (_root.aimmp > _root.spellcost_5)) {
_root.gamemessage = "AIM casts 'E-Mail'";
_root.aimmp = _root.aimmp - _root.spellcost_5;
_root.AIM.gotoAndStop(4);
_root.sender = 1;
_root.castingspell = 10;
_root.spell_a_cast = 5;
} else if ((_root.aimmagic4 == true) && (_root.aimmp > _root.spellcost_4)) {
_root.gamemessage = "AIM casts 'Wink'";
_root.aimmp = _root.aimmp - _root.spellcost_4;
_root.AIM.gotoAndStop(4);
_root.sender = 1;
_root.castingspell = 9;
_root.spell_a_cast = 4;
} else if ((_root.aimmagic3 == true) && (_root.aimmp > _root.spellcost_3)) {
_root.gamemessage = "AIM casts 'Buzzer'";
_root.aimmp = _root.aimmp - _root.spellcost_3;
_root.AIM.gotoAndStop(4);
_root.sender = 1;
_root.castingspell = 8;
_root.spell_a_cast = 3;
} else if ((_root.aimmagic2 == true) && (_root.aimmp > _root.spellcost_2)) {
_root.gamemessage = "AIM casts 'Emoticon'";
_root.aimmp = _root.aimmp - _root.spellcost_2;
_root.AIM.gotoAndStop(4);
_root.sender = 1;
_root.castingspell = 7;
_root.spell_a_cast = 2;
} else if ((_root.aimmagic1 == true) && (_root.aimmp > _root.spellcost_1)) {
_root.gamemessage = "AIM casts 'SPAM'";
_root.aimmp = _root.aimmp - _root.spellcost_1;
_root.AIM.gotoAndStop(4);
_root.sender = 1;
_root.castingspell = 6;
_root.spell_a_cast = 1;
}
} else if ((percenter >= 50) && (percenter < 75)) {
_root.gamemessage = "AIM Attacks you!";
_root.AIM.gotoAndStop(3);
} else if (percenter >= 75) {
if (_root.aimskill2 == true) {
_root.gamemessage = "AIM boosts it's defence!";
_root.aimdefenceups++;
_root.AIM.gotoAndStop(7);
} else if (_root.aimskill2 == false) {
_root.gamemessage = "AIM Attacks you!";
_root.AIM.gotoAndStop(3);
}
}
} else if ((_root.aimhp >= twentyfive) && (!magicavailable)) {
percenter = Math.round((Math.random() * 99) + 1);
if (percenter < 50) {
_root.gamemessage = "AIM Attacks you!";
_root.AIM.gotoAndStop(3);
} else if ((percenter >= 50) && (percenter < 75)) {
if (_root.aimskill1 == true) {
_root.gamemessage = "AIM boosts it's power!";
_root.aimpowerups++;
_root.AIM.gotoAndStop(7);
} else if (_root.aimskill1 == false) {
_root.gamemessage = "AIM Attacks you!";
_root.AIM.gotoAndStop(3);
}
} else if (percenter >= 75) {
if (_root.aimskill2 == true) {
_root.gamemessage = "AIM boosts it's defence!";
_root.aimdefenceups++;
_root.AIM.gotoAndStop(7);
} else if (_root.aimskill2 == false) {
_root.gamemessage = "AIM Attacks you!";
_root.AIM.gotoAndStop(3);
}
}
}
}
}
}
stop();
_root.game = true;
_root.gamemessage = "Battle Start!";
_root.low = 10;
_root.medium = 20;
_root.high = 50;
if (_root.aimlevel < 3) {
_root.aimskill1 = false;
} else {
_root.aimskill1 = true;
}
if (_root.aimlevel < 3) {
_root.aimskill2 = false;
} else {
_root.aimskill2 = true;
}
if (_root.aimlevel < 2) {
_root.aimskill3 = false;
} else {
_root.aimskill3 = true;
}
if (_root.aimlevel < 5) {
_root.aimskill4 = false;
} else {
_root.aimskill4 = true;
}
if (_root.msnlevel < 3) {
_root.msnskill1 = false;
} else {
_root.msnkill1 = true;
}
if (_root.msnlevel < 3) {
_root.msnskill2 = false;
} else {
_root.msnskill2 = true;
}
if (_root.msnlevel < 2) {
_root.msnskill3 = false;
} else {
_root.msnskill3 = true;
}
if (_root.msnlevel < 5) {
_root.msnskill4 = false;
} else {
_root.msnskill4 = true;
}
if (_root.msnlevel < 1) {
_root.msnmagic1 = false;
} else {
_root.msnmagic1 = true;
}
if (_root.msnlevel < 3) {
_root.msnmagic2 = false;
} else {
_root.msnmagic2 = true;
}
if (_root.msnlevel < 5) {
_root.msnmagic3 = false;
} else {
_root.msnmagic3 = true;
}
if (_root.msnlevel < 10) {
_root.msnmagic4 = false;
} else {
_root.msnmagic4 = true;
}
if (_root.msnlevel < 15) {
_root.msnmagic5 = false;
} else {
_root.msnmagic5 = true;
}
if (_root.msnlevel < 25) {
_root.msnmagic6 = false;
} else {
_root.msnmagic6 = true;
}
if (_root.msnlevel < 30) {
_root.msnmagic7 = false;
} else {
_root.msnmagic7 = true;
}
if (_root.msnlevel < 50) {
_root.msnmagic8 = false;
} else {
_root.msnmagic8 = true;
}
if (_root.aimlevel < 1) {
_root.aimmagic1 = false;
} else {
_root.aimmagic1 = true;
}
if (_root.aimlevel < 3) {
_root.aimmagic2 = false;
} else {
_root.aimmagic2 = true;
}
if (_root.aimlevel < 5) {
_root.aimmagic3 = false;
} else {
_root.aimmagic3 = true;
}
if (_root.aimlevel < 10) {
_root.aimmagic4 = false;
} else {
_root.aimmagic4 = true;
}
if (_root.aimlevel < 15) {
_root.aimmagic5 = false;
} else {
_root.aimmagic5 = true;
}
if (_root.aimlevel < 25) {
_root.aimmagic6 = false;
} else {
_root.aimmagic6 = true;
}
if (_root.aimlevel < 30) {
_root.aimmagic7 = false;
} else {
_root.aimmagic7 = true;
}
if (_root.aimlevel < 50) {
_root.aimmagic8 = false;
} else {
_root.aimmagic8 = true;
}
_root.aimhpmax = 250 + (Math.pow(_root.aimlevel, 2) + (_root.aimlevel * 5));
if (_root.aimhpmax > 9999) {
_root.aimhpmax = 9999;
}
_root.aimhp = _root.aimhpmax;
_root.aimmpmax = Math.round(4 + Math.pow(_root.aimlevel, 1.51));
if (_root.aimmpmax > 999) {
_root.aimmpmax = 999;
}
_root.aimmp = _root.aimmpmax;
_root.msnhpmax = 250 + (Math.pow(_root.msnlevel, 2) + (_root.msnlevel * 5));
if (_root.msnhpmax > 9999) {
_root.msnhpmax = 9999;
}
_root.msnhp = _root.msnhpmax;
_root.msnmpmax = 4 + Math.pow(_root.msnlevel, 2);
if (_root.msnmpmax > 999) {
_root.msnmpmax = 999;
}
_root.msnmp = _root.msnmpmax;
if (_root.character == 1) {
_root.items1 = _root.aimitems1;
_root.items2 = _root.aimitems2;
_root.items3 = _root.aimitems3;
_root.items4 = _root.aimitems4;
} else if (_root.character == 2) {
_root.items1 = _root.msnitems1;
_root.items2 = _root.msnitems2;
_root.items3 = _root.msnitems3;
_root.items4 = _root.msnitems4;
}
_root.aimpowerups = 0;
_root.aimdefenceups = 0;
_root.msnpowerups = 0;
_root.msndefenceups = 0;
_root.lastturn = _root.character;
Instance of Symbol 499 MovieClip "spellcast_1" in Frame 100
onClipEvent (load) {
this.swapDepths(30);
}
Instance of Symbol 499 MovieClip "spellcast_2" in Frame 100
onClipEvent (load) {
this.swapDepths(40);
}
Instance of Symbol 502 MovieClip "damage1" in Frame 100
onClipEvent (load) {
_visible = false;
this.swapDepths(41);
}
Instance of Symbol 505 MovieClip "recover1" in Frame 100
onClipEvent (load) {
this.swapDepths(42);
_visible = false;
}
Instance of Symbol 502 MovieClip "damage2" in Frame 100
onClipEvent (load) {
this.swapDepths(43);
_visible = false;
}
Instance of Symbol 505 MovieClip "recover2" in Frame 100
onClipEvent (load) {
this.swapDepths(44);
_visible = false;
}
Instance of Symbol 360 MovieClip "systemclip" in Frame 100
onClipEvent (enterFrame) {
if (_root.giveClip._visible == false) {
if (_root.game == true) {
if (keyCounting == true) {
keyCounter++;
if (keyCounter == maxCount) {
keyCounter = 0;
keyCounting = false;
}
}
if (_root.aimhp > _root.aimhpmax) {
_root.aimhp = _root.aimhpmax;
}
if (_root.aimmp > _root.aimmpmax) {
_root.aimmp = _root.aimmpmax;
}
if (_root.aimlimit > _root.aimlimitmax) {
_root.aimlimit = _root.aimlimitmax;
}
if (_root.msnhp > _root.msnhpmax) {
_root.msnhp = _root.msnhpmax;
}
if (_root.msnmp > _root.msnmpmax) {
_root.msnmp = _root.msnmpmax;
}
if (_root.msnlimit > _root.msnlimitmax) {
_root.msnlimit = _root.msnlimitmax;
}
if ((((framer == 1) && (Key.isDown(40))) && (keyCounter == 0)) && (keyCounting == false)) {
this.nextFrame();
keyCounting = true;
}
if ((((framer == 2) && (Key.isDown(40))) && (keyCounter == 0)) && (keyCounting == false)) {
this.nextFrame();
keyCounting = true;
}
if ((((framer == 3) && (Key.isDown(40))) && (keyCounter == 0)) && (keyCounting == false)) {
this.nextFrame();
keyCounting = true;
}
if ((((framer == 4) && (Key.isDown(40))) && (keyCounter == 0)) && (keyCounting == false)) {
this.gotoAndStop(2);
keyCounting = true;
}
if ((((framer == 1) && (Key.isDown(38))) && (keyCounter == 0)) && (keyCounting == false)) {
this.gotoAndStop(5);
keyCounting = true;
}
if ((((framer == 2) && (Key.isDown(38))) && (keyCounter == 0)) && (keyCounting == false)) {
this.prevFrame();
keyCounting = true;
}
if ((((framer == 3) && (Key.isDown(38))) && (keyCounter == 0)) && (keyCounting == false)) {
this.prevFrame();
keyCounting = true;
}
if ((((framer == 4) && (Key.isDown(38))) && (keyCounter == 0)) && (keyCounting == false)) {
this.prevFrame();
keyCounting = true;
}
if (((((framer >= 6) && (framer <= 12)) && (Key.isDown(40))) && (keyCounter == 0)) && (keyCounting == false)) {
this.nextFrame();
keyCounting = true;
}
if ((((framer == 13) && (Key.isDown(40))) && (keyCounter == 0)) && (keyCounting == false)) {
this.gotoAndStop(7);
keyCounting = true;
}
if (((((framer > 6) && (framer <= 13)) && (Key.isDown(38))) && (keyCounter == 0)) && (keyCounting == false)) {
this.prevFrame();
keyCounting = true;
}
if ((((framer == 6) && (Key.isDown(38))) && (keyCounter == 0)) && (keyCounting == false)) {
this.gotoAndStop(14);
keyCounting = true;
}
if ((((framer == 14) && (Key.isDown(40))) && (keyCounter == 0)) && (keyCounting == false)) {
this.nextFrame();
keyCounting = true;
}
if ((((framer == 15) && (Key.isDown(40))) && (keyCounter == 0)) && (keyCounting == false)) {
this.nextFrame();
keyCounting = true;
}
if ((((framer == 16) && (Key.isDown(40))) && (keyCounter == 0)) && (keyCounting == false)) {
this.nextFrame();
keyCounting = true;
}
if ((((framer == 17) && (Key.isDown(40))) && (keyCounter == 0)) && (keyCounting == false)) {
this.gotoAndStop(15);
keyCounting = true;
}
if ((((framer == 14) && (Key.isDown(38))) && (keyCounter == 0)) && (keyCounting == false)) {
this.gotoAndStop(18);
keyCounting = true;
}
if ((((framer == 15) && (Key.isDown(38))) && (keyCounter == 0)) && (keyCounting == false)) {
this.prevFrame();
keyCounting = true;
}
if ((((framer == 16) && (Key.isDown(38))) && (keyCounter == 0)) && (keyCounting == false)) {
this.prevFrame();
keyCounting = true;
}
if ((((framer == 17) && (Key.isDown(38))) && (keyCounter == 0)) && (keyCounting == false)) {
this.prevFrame();
keyCounting = true;
}
if ((((framer == 18) && (Key.isDown(40))) && (keyCounter == 0)) && (keyCounting == false)) {
this.nextFrame();
keyCounting = true;
}
if ((((framer == 19) && (Key.isDown(40))) && (keyCounter == 0)) && (keyCounting == false)) {
this.nextFrame();
keyCounting = true;
}
if ((((framer == 20) && (Key.isDown(40))) && (keyCounter == 0)) && (keyCounting == false)) {
this.nextFrame();
keyCounting = true;
}
if ((((framer == 21) && (Key.isDown(40))) && (keyCounter == 0)) && (keyCounting == false)) {
this.gotoAndStop(19);
keyCounting = true;
}
if ((((framer == 18) && (Key.isDown(38))) && (keyCounter == 0)) && (keyCounting == false)) {
this.gotoAndStop(22);
keyCounting = true;
}
if ((((framer == 19) && (Key.isDown(38))) && (keyCounter == 0)) && (keyCounting == false)) {
this.prevFrame();
keyCounting = true;
}
if ((((framer == 20) && (Key.isDown(38))) && (keyCounter == 0)) && (keyCounting == false)) {
this.prevFrame();
keyCounting = true;
}
if ((((framer == 21) && (Key.isDown(38))) && (keyCounter == 0)) && (keyCounting == false)) {
this.prevFrame();
keyCounting = true;
}
if (Key.isDown(32) || (Key.isDown(13))) {
if ((keyCounter == 0) && (keyCounting == false)) {
if (framer == 1) {
this.gotoAndStop(6);
if (_root.character == 1) {
_root.gamemessage = "You attack the Enemy.'";
_root.AIM.swapDepths(_root.medium);
_root.MSN.swapDepths(_root.low);
if (_root.aimlimit >= _root.aimlimitmax) {
_root.aimlimit = 1;
_root.AIM.gotoAndStop(6);
} else {
_root.AIM.gotoAndStop(3);
}
} else if (_root.character == 2) {
_root.gamemessage = "You attack the Enemy.";
_root.MSN.swapDepths(_root.medium);
_root.AIM.swapDepths(_root.low);
if (_root.msnlimit >= _root.msnlimitmax) {
_root.msnlimit = 1;
_root.MSN.gotoAndStop(6);
} else {
_root.MSN.gotoAndStop(3);
}
}
} else if (framer == 2) {
this.gotoAndStop(7);
} else if (framer == 3) {
this.gotoAndStop(15);
} else if (framer == 4) {
this.gotoAndStop(19);
} else if (framer == 6) {
if (_root.character == 1) {
if ((_root.aimmp >= _root.spellcost_1) && (_root.aimmagic1 == true)) {
_root.gamemessage = "You cast 'SPAM'";
_root.aimmp = _root.aimmp - _root.spellcost_1;
_root.AIM.gotoAndStop(4);
_root.sender = 1;
_root.castingspell = framer;
this.gotoAndStop(6);
}
} else if (_root.character == 2) {
if ((_root.msnmp >= _root.spellcost_1) && (_root.msnmagic1 == true)) {
_root.gamemessage = "You cast 'SPAM'";
_root.msnmp = _root.msnmp - _root.spellcost_1;
_root.MSN.gotoAndStop(4);
_root.sender = 2;
_root.castingspell = framer + 1;
this.gotoAndStop(6);
}
}
} else if (framer == 7) {
if (_root.character == 1) {
if ((_root.aimmp >= _root.spellcost_2) && (_root.aimmagic2 == true)) {
_root.gamemessage = "You cast 'Emoticon'";
_root.aimmp = _root.aimmp - _root.spellcost_2;
_root.AIM.gotoAndStop(4);
_root.sender = 1;
_root.castingspell = framer + 1;
this.gotoAndStop(6);
}
} else if (_root.character == 2) {
if ((_root.msnmp >= _root.spellcost_2) && (_root.msnmagic2 == true)) {
_root.gamemessage = "You cast 'Emoticon'";
_root.msnmp = _root.msnmp - _root.spellcost_2;
_root.MSN.gotoAndStop(4);
_root.sender = 2;
_root.castingspell = framer + 1;
this.gotoAndStop(6);
}
}
} else if (framer == 8) {
if (_root.character == 1) {
if ((_root.aimmp >= _root.spellcost_3) && (_root.aimmagic3 == true)) {
_root.gamemessage = "You cast 'Buzzer'";
_root.aimmp = _root.aimmp - _root.spellcost_3;
_root.AIM.gotoAndStop(4);
_root.sender = 1;
_root.castingspell = framer + 1;
this.gotoAndStop(6);
}
} else if (_root.character == 2) {
if ((_root.msnmp >= _root.spellcost_3) && (_root.msnmagic3 == true)) {
_root.gamemessage = "You cast 'Buzzer'";
_root.msnmp = _root.msnmp - _root.spellcost_3;
_root.MSN.gotoAndStop(4);
_root.sender = 2;
_root.castingspell = framer + 1;
this.gotoAndStop(6);
}
}
} else if (framer == 9) {
if (_root.character == 1) {
if ((_root.aimmp >= _root.spellcost_4) && (_root.aimmagic4 == true)) {
_root.gamemessage = "You cast 'Wink'";
_root.aimmp = _root.aimmp - _root.spellcost_4;
_root.AIM.gotoAndStop(4);
_root.sender = 1;
_root.castingspell = framer + 1;
this.gotoAndStop(6);
}
} else if (_root.character == 2) {
if ((_root.msnmp >= _root.spellcost_4) && (_root.msnmagic4 == true)) {
_root.gamemessage = "You cast 'Wink'";
_root.msnmp = _root.msnmp - _root.spellcost_4;
_root.MSN.gotoAndStop(4);
_root.sender = 2;
_root.castingspell = framer + 1;
this.gotoAndStop(6);
}
}
} else if (framer == 10) {
if (_root.character == 1) {
if ((_root.aimmp >= _root.spellcost_5) && (_root.aimmagic5 == true)) {
_root.gamemessage = "You cast 'E-Mail'";
_root.aimmp = _root.aimmp - _root.spellcost_5;
_root.AIM.gotoAndStop(4);
_root.sender = 1;
_root.castingspell = framer + 1;
this.gotoAndStop(6);
}
} else if (_root.character == 2) {
if ((_root.msnmp >= _root.spellcost_5) && (_root.msnmagic5 == true)) {
_root.gamemessage = "You cast 'E-Mail'";
_root.msnmp = _root.msnmp - _root.spellcost_5;
_root.MSN.gotoAndStop(4);
_root.sender = 2;
_root.castingspell = framer + 1;
this.gotoAndStop(6);
}
}
} else if (framer == 11) {
if (_root.character == 1) {
if ((_root.aimmp >= _root.spellcost_6) && (_root.aimmagic6 == true)) {
_root.gamemessage = "You cast 'Block'";
_root.aimmp = _root.aimmp - _root.spellcost_6;
_root.AIM.gotoAndStop(4);
_root.sender = 1;
_root.castingspell = framer + 1;
this.gotoAndStop(6);
}
} else if (_root.character == 2) {
if ((_root.msnmp >= _root.spellcost_6) && (_root.msnmagic6 == true)) {
_root.gamemessage = "You cast 'Block'";
_root.msnmp = _root.msnmp - _root.spellcost_6;
_root.MSN.gotoAndStop(4);
_root.sender = 2;
_root.castingspell = framer + 1;
this.gotoAndStop(6);
}
}
} else if (framer == 12) {
if (_root.character == 1) {
if ((_root.aimmp >= _root.spellcost_7) && (_root.aimmagic7 == true)) {
_root.gamemessage = "You cast 'Delete'";
_root.aimmp = _root.aimmp - _root.spellcost_7;
_root.AIM.gotoAndStop(4);
_root.sender = 1;
_root.castingspell = framer + 1;
this.gotoAndStop(6);
}
} else if (_root.character == 2) {
if ((_root.msnmp >= _root.spellcost_7) && (_root.msnmagic7 == true)) {
_root.gamemessage = "You cast 'Delete'";
_root.msnmp = _root.msnmp - _root.spellcost_7;
_root.MSN.gotoAndStop(4);
_root.sender = 2;
_root.castingspell = framer + 1;
this.gotoAndStop(6);
}
}
} else if (framer == 13) {
if (_root.character == 1) {
if ((_root.aimmp >= _root.spellcost_8) && (_root.aimmagic8 == true)) {
_root.gamemessage = "You cast 'haXXor'";
_root.aimmp = _root.aimmp - _root.spellcost_8;
_root.AIM.gotoAndStop(4);
_root.sender = 1;
_root.castingspell = framer + 1;
this.gotoAndStop(6);
}
} else if (_root.character == 2) {
if ((_root.msnmp >= _root.spellcost_8) && (_root.msnmagic8 == true)) {
_root.gamemessage = "You cast 'haXXor'";
_root.msnmp = _root.msnmp - _root.spellcost_8;
_root.MSN.gotoAndStop(4);
_root.sender = 2;
_root.castingspell = framer + 1;
this.gotoAndStop(6);
}
}
} else if (framer == 14) {
if ((_root.character == 1) && (_root.aimskill1 == true)) {
_root.gamemessage = "You boost your power.";
_root.AIM.gotoAndStop(7);
this.gotoAndStop(6);
_root.aimpowerups++;
} else if ((_root.character == 2) && (_root.msnskill1 == true)) {
_root.gamemessage = "You boost your power.";
_root.MSN.gotoAndStop(7);
this.gotoAndStop(6);
_root.msnpowerups++;
}
} else if (framer == 15) {
if ((_root.character == 1) && (_root.aimskill2 == true)) {
_root.gamemessage = "You boost your defence.";
_root.AIM.gotoAndStop(7);
this.gotoAndStop(6);
_root.aimdefenceups++;
} else if ((_root.character == 2) && (_root.msnskill2 == true)) {
_root.gamemessage = "You boost your defence.";
_root.MSN.gotoAndStop(7);
_root.msndefenceups++;
this.gotoAndStop(6);
}
} else if (framer == 16) {
if ((_root.character == 1) && (_root.aimskill3 == true)) {
_root.gamemessage = "You boost your overdrive.";
_root.AIM.gotoAndStop(7);
this.gotoAndStop(6);
_root.aimlimit = _root.aimlimit + 10;
} else if ((_root.character == 2) && (_root.msnskill3 == true)) {
_root.gamemessage = "You boost your overdrive.";
_root.MSN.gotoAndStop(7);
this.gotoAndStop(6);
_root.msnlimit = _root.msnlimit + 10;
}
} else if (framer == 17) {
if ((_root.character == 1) && (_root.aimskill4 == true)) {
_root.gamemessage = "You recover some Damage.";
_root.AIM.gotoAndStop(7);
this.gotoAndStop(6);
losthealth = _root.aimhpmax - _root.aimhp;
onepercent = losthealth / 100;
recovering = Math.round(onepercent * 7);
_root.aimhp = _root.aimhp + recovering;
_root.amounter = recovering;
_root.recover1.play();
_root.recover1._visible = true;
} else if ((_root.character == 2) && (_root.msnskill4 == true)) {
_root.gamemessage = "You recover some Damage.";
_root.MSN.gotoAndStop(7);
this.gotoAndStop(6);
losthealth = _root.msnhpmax - _root.msnhp;
onepercent = losthealth / 100;
recovering = Math.round(onepercent * 7);
_root.msnhp = _root.msnhp + recovering;
_root.amounter = recovering;
_root.recover2.play();
_root.recover2._visible = true;
}
} else if (framer == 18) {
if ((_root.character == 1) && (_root.items1 > 0)) {
_root.gamemessage = "You use a potion";
_root.healing = 150;
_root.amounter = _root.healing;
_root.aimhp = _root.aimhp + _root.healing;
this.gotoAndStop(6);
_root.items1--;
_root.AIM.gotoAndStop(5);
_root.recover1._visible = true;
_root.recover1.play();
}
if ((_root.character == 2) && (_root.items1 > 0)) {
_root.gamemessage = "You use a potion";
_root.healing = 150;
_root.amounter = _root.healing;
_root.msnhp = _root.msnhp + _root.healing;
this.gotoAndStop(6);
_root.items1--;
_root.MSN.gotoAndStop(5);
_root.recover2._visible = true;
_root.recover2.play();
}
} else if (framer == 19) {
if ((_root.character == 1) && (_root.items2 > 0)) {
_root.gamemessage = "You use a hi-potion";
_root.healing = 1000;
_root.amounter = _root.healing;
_root.aimhp = _root.aimhp + _root.healing;
this.gotoAndStop(6);
_root.items2--;
_root.AIM.gotoAndStop(5);
_root.recover1._visible = true;
_root.recover1.play();
}
if ((_root.character == 2) && (_root.items2 > 0)) {
_root.gamemessage = "You use a hi-potion";
_root.healing = 1000;
_root.amounter = _root.healing;
_root.msnhp = _root.msnhp + _root.healing;
this.gotoAndStop(6);
_root.items2--;
_root.MSN.gotoAndStop(5);
_root.recover2._visible = true;
_root.recover2.play();
}
} else if (framer == 20) {
if ((_root.character == 1) && (_root.items3 > 0)) {
_root.gamemessage = "You use a mega potion";
_root.healing = 2500;
_root.amounter = _root.healing;
_root.aimhp = _root.aimhp + _root.healing;
this.gotoAndStop(6);
_root.items3--;
_root.AIM.gotoAndStop(5);
_root.recover1._visible = true;
_root.recover1.play();
}
if ((_root.character == 2) && (_root.items3 > 0)) {
_root.gamemessage = "You use a mega potion";
_root.healing = 2500;
_root.amounter = _root.healing;
_root.msnhp = _root.msnhp + _root.healing;
this.gotoAndStop(6);
_root.items3--;
_root.MSN.gotoAndStop(5);
_root.recover2._visible = true;
_root.recover2.play();
}
} else if (framer == 21) {
if ((_root.character == 1) && (_root.items4 > 0)) {
_root.gamemessage = "You use a X-potion";
_root.healing = 9999;
_root.amounter = _root.healing;
_root.aimhp = _root.aimhp + _root.healing;
this.gotoAndStop(6);
_root.items4--;
_root.AIM.gotoAndStop(5);
_root.recover1._visible = true;
_root.recover1.play();
}
if ((_root.character == 2) && (_root.items4 > 0)) {
_root.gamemessage = "You use a X-potion";
_root.healing = 9999;
_root.amounter = _root.healing;
_root.msnhp = _root.msnhp + _root.healing;
this.gotoAndStop(6);
_root.items4--;
_root.MSN.gotoAndStop(5);
_root.recover2._visible = true;
_root.recover2.play();
}
}
keyCounting = true;
}
}
if (Key.isDown(27) && (!(framer === 5))) {
this.gotoAndStop(2);
}
}
if ((_root.aimhp < 1) || (_root.msnhp < 1)) {
if ((_root.character == 1) && (_root.aimhp < 1)) {
_root.endFrame = 2;
}
if ((_root.character == 2) && (_root.aimhp < 1)) {
_root.endFrame = 1;
}
if ((_root.character == 1) && (_root.msnhp < 1)) {
_root.endFrame = 1;
}
if ((_root.character == 2) && (_root.msnhp < 1)) {
_root.endFrame = 2;
}
_root.game = false;
_root.closer.play();
}
}
}
onClipEvent (load) {
this.swapDepths(_root.high);
keyCounter = 0;
maxCount = 9;
keyCounting = false;
}
Instance of Symbol 514 MovieClip "closer" in Frame 100
onClipEvent (load) {
this.swapDepths(16002);
}
Instance of Symbol 522 MovieClip "giveClip" in Frame 100
onClipEvent (load) {
this.swapDepths(15999);
_visible = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_visible == true)) {
_root.gotoAndPlay(90);
stopAllSounds();
} else if (Key.isDown(27)) {
_visible = false;
}
}
Instance of Symbol 17 MovieClip in Frame 100
onClipEvent (load) {
this.swapDepths(16000);
}
Frame 101
for (i in _root) {
if (_root[i] instanceof MovieClip) {
_root[i].removeMovieClip();
}
}
_root.statpoints = 5;
_root.aimlevel++;
_root.msnlevel++;
if (_root.character == 1) {
_root.msnknowledge = _root.msnknowledge + 3;
_root.msndefence = _root.msndefence + 3;
_root.msntrenght = _root.msntrenght + 3;
} else if (_root.character == 2) {
_root.aimknowledge = _root.aimknowledge + 3;
_root.aimdefence = _root.aimdefence + 3;
_root.aimtrenght = _root.aimtrenght + 3;
}
if (_root.character == 1) {
_root.aimitems1 = _root.items1;
_root.aimitems2 = _root.items2;
_root.aimitems3 = _root.items3;
_root.aimitems4 = _root.items4;
} else if (_root.character == 2) {
_root.msnitems1 = _root.items1;
_root.msnitems2 = _root.items2;
_root.msnitems3 = _root.items3;
_root.msnitems4 = _root.items4;
}
_root.aimhpmax = 250 + (Math.pow(_root.aimlevel, 2) + (_root.aimlevel * 5));
if (_root.aimhpmax < 1000) {
_root.wonitem = "Potion";
_root.msnitems1++;
_root.aimitems1++;
} else if ((_root.aimhpmax >= 1000) && (_root.aimhpmax < 2500)) {
_root.wonitem = "Hi-Potion";
_root.msnitems2++;
_root.aimitems2++;
} else if ((_root.aimhpmax >= 2500) && (_root.aimhpmax < 7500)) {
_root.wonitem = "Mega Potion";
_root.msnitems3++;
_root.aimitems3++;
} else if (_root.aimhpmax >= 7500) {
_root.wonitem = "X-Potion";
_root.msnitems4++;
_root.aimitems4++;
}
Instance of Symbol 555 MovieClip in Frame 101
onClipEvent (enterFrame) {
if (_root.character == 1) {
_root.nexttext = ("[ press space to proceed to level " + _root.aimlevel) + " when done ]";
_root.loadUpPower = _root.aimstrenght;
_root.loadUpKnowledge = _root.aimknowledge;
_root.loadUpDefence = _root.aimdefence;
} else if (_root.character == 2) {
_root.nexttext = ("[ press space to proceed to level " + _root.msnlevel) + " when done ]";
_root.loadUpPower = _root.msnstrenght;
_root.loadUpKnowledge = _root.msnknowledge;
_root.loadUpDefence = _root.msndefence;
}
_root.statsleft = ("You may distribute " + _root.statpoints) + " stat points on the following stats before the next battle";
if ((Key.isDown(32) && (_root.statpoints == 0)) && (_root.giveClip._visible == false)) {
_root.prevFrame();
}
}
Instance of Symbol 522 MovieClip "giveClip" in Frame 101
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_visible == true)) {
_root.gotoAndPlay(90);
stopAllSounds();
} else if (Key.isDown(27)) {
_visible = false;
}
}
Frame 102
for (i in _root) {
if (_root[i] instanceof MovieClip) {
_root[i].removeMovieClip();
}
}
Symbol 158 MovieClip Frame 25
stop();
Symbol 172 MovieClip Frame 297
_root.play();
Symbol 178 Button
on (release) {
stopAllSounds();
_root.startUpNew();
_root.character = 1;
BattleTrack = new Sound();
BattleTrack.attachSound("BattleTrack");
BattleTrack.start(0, 65535);
gotoAndStop (100);
}
Symbol 180 Button
on (release) {
stopAllSounds();
_root.startUpNew();
_root.character = 2;
BattleTrack = new Sound();
BattleTrack.attachSound("BattleTrack");
BattleTrack.start(0, 65535);
gotoAndStop (100);
}
Symbol 182 Button
on (release) {
gotoAndStop (94);
}
Symbol 184 Button
on (release) {
nextFrame();
}
Symbol 186 Button
on (release) {
getURL ("http://www.games2web.com", "_blank");
}
Symbol 190 Button
on (release) {
prevFrame();
}
Symbol 213 MovieClip Frame 1
stop();
Symbol 227 Button
on (release) {
gotoAndStop (92);
}
Instance of Symbol 257 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) {
_width = ((_root.msnhp / _root.msnhpmax) * 97);
}
Instance of Symbol 259 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) {
_width = ((_root.msnmp / _root.msnmpmax) * 97);
}
Instance of Symbol 261 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) {
_width = ((_root.msnlimit / _root.msnlimitmax) * 97);
}
Instance of Symbol 257 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) {
_width = ((_root.aimhp / _root.aimhpmax) * 97);
}
Instance of Symbol 259 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) {
_width = ((_root.aimmp / _root.aimmpmax) * 97);
}
Instance of Symbol 261 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) {
_width = ((_root.aimlimit / _root.aimlimitmax) * 97);
}
Symbol 360 MovieClip Frame 2
framer = 1;
stop();
Symbol 360 MovieClip Frame 3
framer = 2;
Symbol 360 MovieClip Frame 4
framer = 3;
Symbol 360 MovieClip Frame 5
framer = 4;
Symbol 360 MovieClip Frame 6
framer = 5;
Symbol 360 MovieClip Frame 7
framer = 6;
_root.spell_a_cast = 1;
Instance of Symbol 281 MovieClip in Symbol 360 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.character == 1) {
if (_root.aimmagic1 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnmagic1 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
onClipEvent (load) {
if (_root.character == 1) {
if (_root.aimmagic1 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnmagic1 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
Instance of Symbol 284 MovieClip in Symbol 360 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.character == 1) {
if (_root.aimmagic2 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnmagic2 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
onClipEvent (load) {
if (_root.character == 1) {
if (_root.aimmagic2 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnmagic2 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
Instance of Symbol 287 MovieClip in Symbol 360 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.character == 1) {
if (_root.aimmagic3 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnmagic3 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
onClipEvent (load) {
if (_root.character == 1) {
if (_root.aimmagic3 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnmagic3 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
Instance of Symbol 290 MovieClip in Symbol 360 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.character == 1) {
if (_root.aimmagic4 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnmagic4 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
onClipEvent (load) {
if (_root.character == 1) {
if (_root.aimmagic4 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnmagic4 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
Instance of Symbol 293 MovieClip in Symbol 360 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.character == 1) {
if (_root.aimmagic5 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnmagic5 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
onClipEvent (load) {
if (_root.character == 1) {
if (_root.aimmagic5 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnmagic5 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
Instance of Symbol 296 MovieClip in Symbol 360 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.character == 1) {
if (_root.aimmagic6 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnmagic6 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
onClipEvent (load) {
if (_root.character == 1) {
if (_root.aimmagic6 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnmagic6 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
Instance of Symbol 299 MovieClip in Symbol 360 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.character == 1) {
if (_root.aimmagic7 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnmagic7 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
onClipEvent (load) {
if (_root.character == 1) {
if (_root.aimmagic7 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnmagic7 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
Instance of Symbol 302 MovieClip in Symbol 360 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.character == 1) {
if (_root.aimmagic8 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnmagic8 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
onClipEvent (load) {
if (_root.character == 1) {
if (_root.aimmagic8 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnmagic8 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
Symbol 360 MovieClip Frame 8
framer = 7;
_root.spell_a_cast = 2;
Symbol 360 MovieClip Frame 9
framer = 8;
_root.spell_a_cast = 3;
Symbol 360 MovieClip Frame 10
framer = 9;
_root.spell_a_cast = 4;
Symbol 360 MovieClip Frame 11
framer = 10;
_root.spell_a_cast = 5;
Symbol 360 MovieClip Frame 12
framer = 11;
_root.spell_a_cast = 6;
Symbol 360 MovieClip Frame 13
framer = 12;
_root.spell_a_cast = 7;
Symbol 360 MovieClip Frame 14
framer = 13;
_root.spell_a_cast = 8;
Symbol 360 MovieClip Frame 15
framer = 14;
Instance of Symbol 306 MovieClip in Symbol 360 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_root.character == 1) {
if (_root.aimskill1 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnskill1 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
onClipEvent (load) {
if (_root.character == 1) {
if (_root.aimskill1 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnskill1 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
Instance of Symbol 309 MovieClip in Symbol 360 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_root.character == 1) {
if (_root.aimskill2 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnskill2 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
onClipEvent (load) {
if (_root.character == 1) {
if (_root.aimskill2 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnskill2 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
Instance of Symbol 312 MovieClip in Symbol 360 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_root.character == 1) {
if (_root.aimskill3 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnskill3 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
onClipEvent (load) {
if (_root.character == 1) {
if (_root.aimskill3 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnskill3 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
Instance of Symbol 315 MovieClip in Symbol 360 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_root.character == 1) {
if (_root.aimskill4 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnskill4 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
onClipEvent (load) {
if (_root.character == 1) {
if (_root.aimskill4 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (_root.character == 2) {
if (_root.msnskill4 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
Symbol 360 MovieClip Frame 16
framer = 15;
Symbol 360 MovieClip Frame 17
framer = 16;
Symbol 360 MovieClip Frame 18
framer = 17;
Symbol 360 MovieClip Frame 19
framer = 18;
Instance of Symbol 320 MovieClip in Symbol 360 MovieClip Frame 19
onClipEvent (enterFrame) {
if (_root.items1 > 0) {
this.gotoAndStop(1);
} else if (_root.items1 == 0) {
this.gotoAndStop(2);
}
}
onClipEvent (load) {
if (_root.items1 > 0) {
this.gotoAndStop(1);
} else if (_root.items1 == 0) {
this.gotoAndStop(2);
}
}
Instance of Symbol 325 MovieClip in Symbol 360 MovieClip Frame 19
onClipEvent (enterFrame) {
if (_root.items2 > 0) {
this.gotoAndStop(1);
} else if (_root.items2 == 0) {
this.gotoAndStop(2);
}
}
onClipEvent (load) {
if (_root.items2 > 0) {
this.gotoAndStop(1);
} else if (_root.items2 == 0) {
this.gotoAndStop(2);
}
}
Instance of Symbol 330 MovieClip in Symbol 360 MovieClip Frame 19
onClipEvent (enterFrame) {
if (_root.items3 > 0) {
this.gotoAndStop(1);
} else if (_root.items3 == 0) {
this.gotoAndStop(2);
}
}
onClipEvent (load) {
if (_root.items3 > 0) {
this.gotoAndStop(1);
} else if (_root.items3 == 0) {
this.gotoAndStop(2);
}
}
Instance of Symbol 335 MovieClip in Symbol 360 MovieClip Frame 19
onClipEvent (enterFrame) {
if (_root.items4 > 0) {
this.gotoAndStop(1);
} else if (_root.items4 == 0) {
this.gotoAndStop(2);
}
}
onClipEvent (load) {
if (_root.items4 > 0) {
this.gotoAndStop(1);
} else if (_root.items4 == 0) {
this.gotoAndStop(2);
}
}
Symbol 360 MovieClip Frame 20
framer = 19;
Symbol 360 MovieClip Frame 21
framer = 20;
Symbol 360 MovieClip Frame 22
framer = 21;
Symbol 372 MovieClip Frame 4
_root.aimlimit = _root.aimlimit + 5;
Symbol 372 MovieClip Frame 20
_parent.gotoAndStop(1);
_root.aimlimit = _root.aimlimit + 4;
Symbol 380 MovieClip Frame 41
_root.MSN.gotoAndStop(2);
_root.aimdamage1();
_root.aimlimit = _root.aimlimit + 2;
Symbol 380 MovieClip Frame 63
_root.changeTurns();
_parent.gotoAndStop(1);
Symbol 386 MovieClip Frame 95
shazam = _root.castingspell - 6;
_root.spellcast_2.gotoAndStop(shazam);
_root.spellcast_2.inner.play();
_parent.gotoAndStop(1);
Symbol 391 MovieClip Frame 55
_root.recover1.play();
_root.recover1._visible = true;
Symbol 391 MovieClip Frame 75
_root.changeTurns();
_parent.gotoAndStop(1);
Symbol 407 MovieClip Frame 26
_root.MSN.gotoAndStop(2);
_root.aimdamage2();
Symbol 407 MovieClip Frame 31
_root.MSN.gotoAndStop(2);
_root.aimdamage2();
Symbol 407 MovieClip Frame 36
_root.MSN.gotoAndStop(2);
_root.aimdamage2();
Symbol 407 MovieClip Frame 41
_root.MSN.gotoAndStop(2);
_root.aimdamage2();
Symbol 407 MovieClip Frame 46
_root.MSN.gotoAndStop(2);
_root.aimdamage2();
Symbol 407 MovieClip Frame 51
_root.MSN.gotoAndStop(2);
_root.aimdamage2();
Symbol 407 MovieClip Frame 56
_root.MSN.gotoAndStop(2);
_root.aimdamage2();
Symbol 407 MovieClip Frame 61
_root.MSN.gotoAndStop(2);
_root.aimdamage2();
Symbol 407 MovieClip Frame 66
_root.MSN.gotoAndStop(2);
_root.aimdamage2();
Symbol 407 MovieClip Frame 71
_root.MSN.gotoAndStop(2);
_root.aimdamage2();
Symbol 407 MovieClip Frame 76
_root.MSN.gotoAndStop(2);
_root.aimdamage2();
Symbol 407 MovieClip Frame 81
_root.MSN.gotoAndStop(2);
Symbol 407 MovieClip Frame 110
_root.changeTurns();
_parent.gotoAndStop(1);
Symbol 409 MovieClip Frame 55
_root.changeTurns();
_parent.gotoAndStop(1);
Symbol 410 MovieClip Frame 1
stop();
Symbol 411 MovieClip Frame 4
_root.msnlimit = _root.msnlimit + 4;
Symbol 411 MovieClip Frame 20
_parent.gotoAndStop(1);
Symbol 419 MovieClip Frame 47
_root.AIM.gotoAndStop(2);
_root.msndamage1();
_root.msnlimit = _root.msnlimit + 2;
Symbol 419 MovieClip Frame 65
_root.changeTurns();
_parent.gotoAndStop(1);
Symbol 421 MovieClip Frame 90
_root.spellcast_1.gotoAndStop(_root.spell_a_cast);
_root.spellcast_1.inner.play();
_parent.gotoAndStop(1);
Symbol 426 MovieClip Frame 48
_root.recover2.play();
_root.recover2._visible = true;
Symbol 426 MovieClip Frame 82
_root.changeTurns();
_parent.gotoAndStop(1);
Symbol 438 MovieClip Frame 39
_root.AIM.gotoAndStop(2);
_root.msndamage2();
Symbol 438 MovieClip Frame 52
_root.AIM.gotoAndStop(2);
_root.msndamage2();
Symbol 438 MovieClip Frame 67
_root.AIM.gotoAndStop(2);
_root.msndamage2();
Symbol 438 MovieClip Frame 80
_root.AIM.gotoAndStop(2);
_root.msndamage2();
Symbol 438 MovieClip Frame 92
_root.AIM.gotoAndStop(2);
_root.msndamage2();
Symbol 438 MovieClip Frame 110
_root.AIM.gotoAndStop(2);
Symbol 438 MovieClip Frame 127
_root.changeTurns();
_parent.gotoAndStop(1);
Symbol 439 MovieClip Frame 55
_root.changeTurns();
_parent.gotoAndStop(1);
Symbol 440 MovieClip Frame 1
stop();
Symbol 445 MovieClip Frame 1
stop();
Symbol 445 MovieClip Frame 33
if (_root.sender == 1) {
_root.aimdamage3(1);
} else if (_root.sender == 2) {
_root.msndamage3(1);
}
Symbol 445 MovieClip Frame 41
_root.changeTurns();
_parent.gotoAndStop(1);
Symbol 472 MovieClip Frame 24
if (_root.sender == 1) {
_root.aimdamage3(2);
} else if (_root.sender == 2) {
_root.msndamage3(2);
}
Symbol 472 MovieClip Frame 32
_root.changeTurns();
_parent.gotoAndStop(1);
Symbol 473 MovieClip Frame 40
if (_root.sender == 1) {
_root.aimdamage3(3);
} else if (_root.sender == 2) {
_root.msndamage3(3);
}
Symbol 473 MovieClip Frame 45
_root.changeTurns();
_parent.gotoAndStop(1);
Symbol 480 MovieClip Frame 60
if (_root.sender == 1) {
_root.aimdamage3(4);
} else if (_root.sender == 2) {
_root.msndamage3(4);
}
Symbol 480 MovieClip Frame 70
_root.changeTurns();
_parent.gotoAndStop(1);
Symbol 485 MovieClip Frame 33
if (_root.sender == 1) {
_root.aimdamage3(5);
} else if (_root.sender == 2) {
_root.msndamage3(5);
}
Symbol 485 MovieClip Frame 41
_root.changeTurns();
_parent.gotoAndStop(1);
Symbol 487 MovieClip Frame 40
if (_root.sender == 1) {
_root.aimdamage3(6);
} else if (_root.sender == 2) {
_root.msndamage3(6);
}
Symbol 487 MovieClip Frame 50
_root.changeTurns();
_parent.gotoAndStop(1);
Symbol 489 MovieClip Frame 40
if (_root.sender == 1) {
_root.aimdamage3(7);
} else if (_root.sender == 2) {
_root.msndamage3(7);
}
Symbol 489 MovieClip Frame 50
_root.changeTurns();
_parent.gotoAndStop(1);
Symbol 498 MovieClip Frame 5
if (_root.sender == 1) {
_root.aimdamage3(8);
} else if (_root.sender == 2) {
_root.msndamage3(8);
}
Symbol 498 MovieClip Frame 16
_root.changeTurns();
_parent.gotoAndStop(1);
Symbol 499 MovieClip Frame 1
stop();
Symbol 502 MovieClip Frame 1
stop();
Symbol 502 MovieClip Frame 45
_root.amounter = "";
_visible = false;
Symbol 505 MovieClip Frame 1
stop();
Symbol 505 MovieClip Frame 45
_root.amounter = "";
_visible = false;
Symbol 509 Button
on (release) {
_root.giveClip._visible = true;
}
Symbol 514 MovieClip Frame 1
stop();
Symbol 514 MovieClip Frame 45
if (_root.endFrame == 2) {
_root.gotoAndStop(_root._currentframe + 2);
}
if (_root.endFrame == 1) {
_root.nextFrame(_root._currentframe + 1);
}
Symbol 551 Button
on (release) {
if (_root.statpoints > 0) {
_root.statpoints--;
if (_root.character == 1) {
_root.aimstrenght++;
} else if (_root.character == 2) {
_root.msntrenght++;
}
}
}
Symbol 552 Button
on (release) {
if (_root.statpoints > 0) {
_root.statpoints--;
if (_root.character == 1) {
_root.aimknowledge++;
} else if (_root.character == 2) {
_root.msnknowledge++;
}
}
}
Symbol 553 Button
on (release) {
if (_root.statpoints > 0) {
_root.statpoints--;
if (_root.character == 1) {
_root.aimdefence++;
} else if (_root.character == 2) {
_root.msndefence++;
}
}
}
Symbol 559 MovieClip Frame 45
stop();
Symbol 561 Button
on (release) {
gotoAndStop (100);
}
Symbol 563 Button
on (release) {
stopAllSounds();
gotoAndStop (90);
}