Frame 1
stopAllSounds();
_root.bytesLoaded = _root.getBytesLoaded();
_root.bytesTotal = _root.getBytesTotal();
_root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal));
_root.percentLoadedText = _root.percentLoaded + "%";
_root.bar.gotoAndStop(percentLoaded);
Frame 2
if (_root.percentLoaded == 100) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Frame 3
_global.stageSelect = "";
_global.muteNumber = 1;
_global.muteMusic = false;
_global.openMini1 = true;
_global.openMini2 = true;
_global.openMini3 = true;
_global.openMini4 = true;
_global.openMini5 = true;
_global.openWater = true;
_global.openSky = true;
_global.mini1Target = 4000;
_global.mini2Target = 4000;
_global.mini3Target = 3500;
_global.mini4Target = 4500;
_global.mini5Target = 4000;
_global.mini6Target = 4000;
_global.mini7Target = 7000;
_global.mini8Target = 4500;
_global.mini9Target = 4000;
_global.mini10Target = 4000;
var savefile = SharedObject.getLocal("AeternusLamniaDuo");
_global.saveCheck = savefile.data.saveCheck;
_global.enemyCounter = savefile.data.enemyCounter;
_global.completeTutorial = savefile.data.completeTutorial;
_global.defeatedWater = savefile.data.defeatedWater;
_global.defeatedSky = savefile.data.defeatedSky;
_global.openRock = savefile.data.openRock;
_global.defeatedRock = savefile.data.defeatedRock;
_global.openIron = savefile.data.openIron;
_global.defeatedIron = savefile.data.defeatedIron;
_global.openFire = savefile.data.openFire;
_global.defeatedFire = savefile.data.defeatedFire;
_global.openIce = savefile.data.openIce;
_global.defeatedIce = savefile.data.defeatedIce;
_global.openWeather = savefile.data.openWeather;
_global.defeatedWeather = savefile.data.defeatedWeather;
_global.openLightdark = savefile.data.openLightdark;
_global.defeatedLightdark = savefile.data.defeatedLightdark;
_global.openSound = savefile.data.openSound;
_global.defeatedSound = savefile.data.defeatedSound;
_global.openTime = savefile.data.openTime;
_global.defeatedTime = savefile.data.defeatedTime;
_global.openGod = savefile.data.openGod;
_global.defeatedGod = savefile.data.defeatedGod;
_global.openPlant = savefile.data.openPlant;
_global.defeatedPlant = savefile.data.defeatedPlant;
_global.openMini6 = savefile.data.openMini6;
_global.openMini7 = savefile.data.openMini7;
_global.openMini8 = savefile.data.openMini8;
_global.openMini9 = savefile.data.openMini9;
_global.openMini10 = savefile.data.openMini10;
_global.completedMini1 = savefile.data.completedMini1;
_global.completedMini2 = savefile.data.completedMini2;
_global.completedMini3 = savefile.data.completedMini3;
_global.completedMini4 = savefile.data.completedMini4;
_global.completedMini5 = savefile.data.completedMini5;
_global.completedMini6 = savefile.data.completedMini6;
_global.completedMini7 = savefile.data.completedMini7;
_global.completedMini8 = savefile.data.completedMini8;
_global.completedMini9 = savefile.data.completedMini9;
_global.completedMini10 = savefile.data.completedMini10;
_global.mini1Highscore = savefile.data.mini1Highscore;
_global.mini2Highscore = savefile.data.mini2Highscore;
_global.mini3Highscore = savefile.data.mini3Highscore;
_global.mini4Highscore = savefile.data.mini4Highscore;
_global.mini5Highscore = savefile.data.mini5Highscore;
_global.mini6Highscore = savefile.data.mini6Highscore;
_global.mini7Highscore = savefile.data.mini7Highscore;
_global.mini8Highscore = savefile.data.mini8Highscore;
_global.mini9Highscore = savefile.data.mini9Highscore;
_global.mini10Highscore = savefile.data.mini10Highscore;
_global.totalHighscore = savefile.data.totalHighscore;
if (savefile.data.saveCheck == undefined) {
_global.saveCheck = true;
_global.enemyCounter = 0;
_global.completeTutorial = false;
_global.defeatedWater = false;
_global.defeatedSky = false;
_global.openRock = false;
_global.defeatedRock = false;
_global.openIron = false;
_global.defeatedIron = false;
_global.openFire = false;
_global.defeatedFire = false;
_global.openIce = false;
_global.defeatedIce = false;
_global.openWeather = false;
_global.defeatedWeather = false;
_global.openLightdark = false;
_global.defeatedLightdark = false;
_global.openSound = false;
_global.defeatedSound = false;
_global.openTime = false;
_global.defeatedTime = false;
_global.openGod = false;
_global.defeatedGod = false;
_global.openPlant = false;
_global.defeatedPlant = false;
_global.openMini6 = false;
_global.openMini7 = false;
_global.openMini8 = false;
_global.openMini9 = false;
_global.openMini10 = false;
_global.completedMini1 = false;
_global.completedMini2 = false;
_global.completedMini3 = false;
_global.completedMini4 = false;
_global.completedMini5 = false;
_global.completedMini6 = false;
_global.completedMini7 = false;
_global.completedMini8 = false;
_global.completedMini9 = false;
_global.completedMini10 = false;
_global.mini1Highscore = 0;
_global.mini2Highscore = 0;
_global.mini3Highscore = 0;
_global.mini4Highscore = 0;
_global.mini5Highscore = 0;
_global.mini6Highscore = 0;
_global.mini7Highscore = 0;
_global.mini8Highscore = 0;
_global.mini9Highscore = 0;
_global.mini10Highscore = 0;
_global.totalHighscore = 0;
}
savefile.data.saveCheck = _global.saveCheck;
savefile.data.enemyCounter = _global.enemyCounter;
savefile.data.completeTutorial = _global.completeTutorial;
savefile.data.defeatedWater = _global.defeatedWater;
savefile.data.defeatedSky = _global.defeatedSky;
savefile.data.openRock = _global.openRock;
savefile.data.defeatedRock = _global.defeatedRock;
savefile.data.openIron = _global.openIron;
savefile.data.defeatedIron = _global.defeatedIron;
savefile.data.openFire = _global.openFire;
savefile.data.defeatedFire = _global.defeatedFire;
savefile.data.openIce = _global.openIce;
savefile.data.defeatedIce = _global.defeatedIce;
savefile.data.openWeather = _global.openWeather;
savefile.data.defeatedWeather = _global.defeatedWeather;
savefile.data.openLightdark = _global.openLightdark;
savefile.data.defeatedLightdark = _global.defeatedLightdark;
savefile.data.openSound = _global.openSound;
savefile.data.defeatedSound = _global.defeatedSound;
savefile.data.openTime = _global.openTime;
savefile.data.defeatedTime = _global.defeatedTime;
savefile.data.openGod = _global.openGod;
savefile.data.defeatedGod = _global.defeatedGod;
savefile.data.openPlant = _global.openPlant;
savefile.data.defeatedPlant = _global.defeatedPlant;
savefile.data.openMini6 = _global.openMini6;
savefile.data.openMini7 = _global.openMini7;
savefile.data.openMini8 = _global.openMini8;
savefile.data.openMini9 = _global.openMini9;
savefile.data.openMini10 = _global.openMini10;
savefile.data.completedMini1 = _global.completedMini1;
savefile.data.completedMini2 = _global.completedMini2;
savefile.data.completedMini3 = _global.completedMini3;
savefile.data.completedMini4 = _global.completedMini4;
savefile.data.completedMini5 = _global.completedMini5;
savefile.data.completedMini6 = _global.completedMini6;
savefile.data.completedMini7 = _global.completedMini7;
savefile.data.completedMini8 = _global.completedMini8;
savefile.data.completedMini9 = _global.completedMini9;
savefile.data.completedMini10 = _global.completedMini10;
savefile.data.mini1Highscore = _global.mini1Highscore;
savefile.data.mini2Highscore = _global.mini2Highscore;
savefile.data.mini3Highscore = _global.mini3Highscore;
savefile.data.mini4Highscore = _global.mini4Highscore;
savefile.data.mini5Highscore = _global.mini5Highscore;
savefile.data.mini6Highscore = _global.mini6Highscore;
savefile.data.mini7Highscore = _global.mini7Highscore;
savefile.data.mini8Highscore = _global.mini8Highscore;
savefile.data.mini9Highscore = _global.mini9Highscore;
savefile.data.mini10Highscore = _global.mini10Highscore;
savefile.data.totalHighscore = _global.totalHighscore;
savefile.flush();
music = new Sound();
bigThud = new Sound();
bigThud.attachSound("bigthud");
smallThud = new Sound();
smallThud.attachSound("smallthud");
dodgeSound = new Sound();
dodgeSound.attachSound("dodgesound");
swordSlash1 = new Sound();
swordSlash1.attachSound("swordslash1");
swordSlash2 = new Sound();
swordSlash2.attachSound("swordslash2");
swordSlash3 = new Sound();
swordSlash3.attachSound("swordslash3");
swordHit1 = new Sound();
swordHit1.attachSound("swordhit1");
swordHit2 = new Sound();
swordHit2.attachSound("swordhit2");
swordHit3 = new Sound();
swordHit3.attachSound("swordhit3");
shieldHit = new Sound();
shieldHit.attachSound("shieldhit");
fireMagic = new Sound();
fireMagic.attachSound("firemagic");
runeHit1 = new Sound();
runeHit1.attachSound("runehit1");
runeHit2 = new Sound();
runeHit2.attachSound("runehit2");
runeHit3 = new Sound();
runeHit3.attachSound("runehit3");
runeHit4 = new Sound();
runeHit4.attachSound("runehit4");
runeHit5 = new Sound();
runeHit5.attachSound("runehit5");
strengthMagic = new Sound();
strengthMagic.attachSound("strengthmagic");
wandActivate = new Sound();
wandActivate.attachSound("wandactivate");
blackAttack = new Sound();
blackAttack.attachSound("blackattack");
blueAttack = new Sound();
blueAttack.attachSound("blueattack");
eternalEnergy = new Sound();
eternalEnergy.attachSound("eternalenergy");
eternalExplode = new Sound();
eternalExplode.attachSound("eternalexplode");
lifeRegain = new Sound();
lifeRegain.attachSound("liferegain");
orangeAttack = new Sound();
orangeAttack.attachSound("orangeattack");
redAttack = new Sound();
redAttack.attachSound("redattack");
yellowAttack = new Sound();
yellowAttack.attachSound("yellowattack");
backwardsTime = new Sound();
backwardsTime.attachSound("backwardstime");
deathChime = new Sound();
deathChime.attachSound("deathchime");
decreaseSpeed = new Sound();
decreaseSpeed.attachSound("decreasespeed");
forwardTime = new Sound();
forwardTime.attachSound("forwardtime");
increaseSpeed = new Sound();
increaseSpeed.attachSound("increasespeed");
timeLaser = new Sound();
timeLaser.attachSound("timelaser");
plantWilt = new Sound();
plantWilt.attachSound("plantwilt");
podBreath = new Sound();
podBreath.attachSound("podbreath");
sporePoof = new Sound();
sporePoof.attachSound("sporepoof");
vineChop = new Sound();
vineChop.attachSound("vinechop");
plantHiss = new Sound();
plantHiss.attachSound("planthiss");
waterHit = new Sound();
waterHit.attachSound("waterhit");
waterSubmerge = new Sound();
waterSubmerge.attachSound("watersubmerge");
waterLaunch = new Sound();
waterLaunch.attachSound("waterLaunch");
waterDeath = new Sound();
waterDeath.attachSound("waterDeath");
waterHurt = new Sound();
waterHurt.attachSound("waterhurt");
waterSwipe = new Sound();
waterSwipe.attachSound("waterswipe");
birdCall = new Sound();
birdCall.attachSound("birdcall");
iceballHit = new Sound();
iceballHit.attachSound("iceballhit");
skyWind = new Sound();
skyWind.attachSound("skywind");
ironbigHit = new Sound();
ironbigHit.attachSound("ironbighit");
ironBreak = new Sound();
ironBreak.attachSound("ironbreak");
ironHeal = new Sound();
ironHeal.attachSound("ironheal");
ironHurt = new Sound();
ironHurt.attachSound("ironhurt");
ironsmallHit = new Sound();
ironsmallHit.attachSound("ironsmallhit");
thunderClap = new Sound();
thunderClap.attachSound("thunderclap");
windStorm = new Sound();
windStorm.attachSound("windstorm");
glassHit = new Sound();
glassHit.attachSound("glasshit");
lightDischarge = new Sound();
lightDischarge.attachSound("lightdischarge");
darkExpand = new Sound();
darkExpand.attachSound("darkexpand");
darkHit = new Sound();
darkHit.attachSound("darkhit");
lightBeam = new Sound();
lightBeam.attachSound("lightbeam");
lightFlash = new Sound();
lightFlash.attachSound("lightflash");
lightHit = new Sound();
lightHit.attachSound("lighthit");
lightSpread = new Sound();
lightSpread.attachSound("lightspread");
teleportIn = new Sound();
teleportIn.attachSound("teleportin");
teleportOut = new Sound();
teleportOut.attachSound("teleportout");
blueGlow = new Sound();
blueGlow.attachSound("blueglow");
freezeFlash = new Sound();
freezeFlash.attachSound("freezeflash");
freezeTrail = new Sound();
freezeTrail.attachSound("freezetrail");
iceBreak = new Sound();
iceBreak.attachSound("icebreak");
snowChimes = new Sound();
snowChimes.attachSound("snowchimes");
snowballHit1 = new Sound();
snowballHit1.attachSound("snowballhit1");
snowballHit2 = new Sound();
snowballHit2.attachSound("snowballhit2");
snowmanRise = new Sound();
snowmanRise.attachSound("snowmanrise");
swordFreeze = new Sound();
swordFreeze.attachSound("swordfreeze");
circlePitch = new Sound();
circlePitch.attachSound("circlepitch");
launchPitch = new Sound();
launchPitch.attachSound("launchpitch");
middlePitch = new Sound();
middlePitch.attachSound("middlepitch");
sidePitch = new Sound();
sidePitch.attachSound("sidepitch");
soundTransform = new Sound();
soundTransform.attachSound("soundtransform");
rockDeath = new Sound();
rockDeath.attachSound("rockdeath");
rockLand = new Sound();
rockLand.attachSound("rockland");
rockHurt = new Sound();
rockHurt.attachSound("rockhurt");
rockScrape = new Sound();
rockScrape.attachSound("rockscrape");
fireballShot = new Sound();
fireballShot.attachSound("fireballshot");
bombExplosion = new Sound();
bombExplosion.attachSound("bombexplosion");
minionSpin = new Sound();
minionSpin.attachSound("minionspin");
lungeHit = new Sound();
lungeHit.attachSound("lungehit");
fireTrail = new Sound();
fireTrail.attachSound("firetrail");
flameThrower = new Sound();
flameThrower.attachSound("flamethrower");
cannonFire = new Sound();
cannonFire.attachSound("cannonfire");
rouletteWheel = new Sound();
rouletteWheel.attachSound("roulettewheel");
smileyHit = new Sound();
smileyHit.attachSound("smileyhit");
targetHit = new Sound();
targetHit.attachSound("targethit");
cannonballHit = new Sound();
cannonballHit.attachSound("cannonballhit");
quickMiss = new Sound();
quickMiss.attachSound("quickmiss");
playerDeath = new Sound();
playerDeath.attachSound("playerdeath");
backClick = new Sound();
backClick.attachSound("backclick");
gameRollover = new Sound();
gameRollover.attachSound("gamerollover");
optionsRollover = new Sound();
optionsRollover.attachSound("optionsrollover");
soundTransition = new Sound();
soundTransition.attachSound("soundtransition");
stageRollover = new Sound();
stageRollover.attachSound("stagerollover");
stageClick = new Sound();
stageClick.attachSound("stageclick");
wordClick = new Sound();
wordClick.attachSound("wordclick");
wordRollover = new Sound();
wordRollover.attachSound("wordrollover");
function weaponFunction(weapon) {
if (weapon == 1) {
_root.sword.activated = true;
_root.bow.activated = false;
_root.wand.activated = false;
_root.shield.activated = false;
}
if (weapon == 2) {
_root.sword.attacking = false;
_root.sword.attackOne = true;
_root.bow.activated = true;
_root.sword.activated = false;
_root.wand.activated = false;
_root.shield.activated = false;
}
if (weapon == 3) {
_root.sword.attacking = false;
_root.sword.attackOne = true;
_root.wandActivate.start();
_root.wand.activated = true;
_root.sword.activated = false;
_root.bow.activated = false;
_root.shield.activated = false;
}
if (weapon == 4) {
_root.sword.attacking = false;
_root.sword.attackOne = true;
_root.wand.activated = false;
_root.sword.activated = false;
_root.bow.activated = false;
_root.shield.activated = true;
}
}
function enemyAttackFunction(attackNumber) {
attack = Math.ceil(Math.random() * attackNumber);
frameNumber = attack + 1;
_root.level.enemy.gotoAndStop(frameNumber);
}
function magicFunction(spell) {
_root.spellScroll.activated = false;
rootSpell = spell;
if (rootSpell == "strength") {
_root.runeOne._x = 160;
_root.runeOne._y = 500;
_root.runeTwo._x = 90;
_root.runeTwo._y = 185;
_root.runeThree._x = 360;
_root.runeThree._y = 75;
_root.runeFour._x = 630;
_root.runeFour._y = 185;
_root.runeFive._x = 560;
_root.runeFive._y = 500;
}
return(rootSpell);
}
function magicAttackFunction(spellOrder) {
rootSpellOrder = spellOrder;
if (rootSpellOrder != "12345") {
_root.conCirc.weapon = 1;
rootSpell = "";
rootSpellOrder = "";
_root.sword.activated = true;
_root.sword.attacking = false;
}
if (rootSpellOrder == "12345") {
_root.magic.gotoAndStop(rootSpell);
_root.magic._x = -10;
_root.magic._y = -10;
}
_root.runeOne._x = 1000;
_root.runeOne.activated = false;
_root.runeTwo._x = 1000;
_root.runeTwo.activated = false;
_root.runeThree._x = 1000;
_root.runeThree.activated = false;
_root.runeFour._x = 1000;
_root.runeFour.activated = false;
_root.runeFive._x = 1000;
_root.runeFive.activated = false;
weapon = 1;
weaponFunction(weapon);
return(rootSpell);
}
function healFunction(lifeGain) {
lifeGainMax = 1 + lifeGain;
if (_root.statusBar.enemyLife.lifeBar._width > lifeGainMax) {
_root.statusBar.enemyLife.lifeBar._width = _root.statusBar.enemyLife.lifeBar._width - lifeGain;
} else {
_root.statusBar.enemyLife.lifeBar._width = 1;
}
}
function blockFunction() {
if (_root.sword.activated) {
blockSound = Math.ceil(Math.random() * 3);
switch (blockSound) {
case 1 :
_root.swordHit1.start();
break;
case 2 :
_root.swordHit2.start();
break;
case 3 :
_root.swordHit3.start();
}
_root.sword.sparks.play();
}
if (_root.shield.activated) {
_root.shieldHit.start();
_root.shield.sparks.play();
}
}
function dodgeFunction(dodgeDamage, dodgeDirection) {
dodgeMaxDamage = 330 - dodgeDamage;
if (!_root.pointAccuracy.hitTest(_root["dodge" + dodgeDirection])) {
if (_root.statusBar.playerLife.lifeBar._width < dodgeMaxDamage) {
_root.statusBar.playerLife.lifeBar._width = _root.statusBar.playerLife.lifeBar._width + dodgeDamage;
} else {
_root.statusBar.playerLife.lifeBar._width = 331.6;
deathFunction();
}
}
}
function hurtFunction(damage) {
maxDamage = 330 - damage;
if (_root.statusBar.playerLife.lifeBar._width < maxDamage) {
_root.statusBar.playerLife.lifeBar._width = _root.statusBar.playerLife.lifeBar._width + damage;
} else {
_root.statusBar.playerLife.lifeBar._width = 331.6;
deathFunction();
}
}
function enemyHurtFunction(enemyDamage, sendEnemy) {
enemyMaxDamage = 330 - enemyDamage;
if (_root.statusBar.enemyLife.lifeBar._width < enemyMaxDamage) {
if (sendEnemy != "NA") {
_root.level.enemy.gotoAndStop(sendEnemy);
}
_root.level.enemy.hurt = true;
_root.statusBar.enemyLife.lifeBar._width = _root.statusBar.enemyLife.lifeBar._width + enemyDamage;
} else {
_root.statusBar.enemyLife.lifeBar._width = 331.6;
enemyDeathFunction();
}
}
function deathFunction() {
_root.deathFade.activated = true;
}
function enemyDeathFunction() {
_root.level.enemy.attacking = false;
_root.level.enemy.defeated = true;
_root.level.enemy.attack = 0;
_root.level.enemy.gotoAndStop("enemyDeath");
}
function finalDeathFunction() {
if (_root.level.enemy._currentframe == 1) {
_root.level.enemy.rings.attacking = false;
_root.level.enemy.rings.attack = 0;
_root.level.enemy.rings.defeated = true;
_root.level.enemy.nextFrame();
} else if (_root.level.enemy._currentframe == 5) {
_root.level.enemy.colors.attacking = false;
_root.level.enemy.colors.attack = 0;
_root.level.enemy.colors.defeated = true;
_root.level.enemy.nextFrame();
} else {
_root.music.stop();
_root.level.enemy.eternal.attacking = false;
_root.level.enemy.eternal.attack = 0;
_root.level.enemy.eternal.defeated = true;
_root.level.enemy.gotoAndStop("enemyDeath");
}
}
function finalHurtFunction(enemyDamage, sendEnemy) {
enemyMaxDamage = 330 - enemyDamage;
if (_root.statusBar.enemyLife.lifeBar._width < enemyMaxDamage) {
if (sendEnemy != "NA") {
_root.level.enemy.gotoAndStop(sendEnemy);
}
_root.level.enemy.hurt = true;
_root.statusBar.enemyLife.lifeBar._width = _root.statusBar.enemyLife.lifeBar._width + enemyDamage;
} else {
_root.statusBar.enemyLife.lifeBar._width = 331.6;
finalDeathFunction();
}
}
function scoreFunction(points) {
_root.score = _root.score + points;
}
function extrasHurtFunction(damage) {
maxDamage = 330 - damage;
if (_root.statusBar.playerLife.lifeBar._width < maxDamage) {
_root.statusBar.playerLife.lifeBar._width = _root.statusBar.playerLife.lifeBar._width + damage;
} else {
_root.statusBar.playerLife.lifeBar._width = 331.6;
endExtrasFunction();
}
}
function endExtrasFunction() {
_root.extrasNav.play();
}
Mouse.hide();
soundControl = new Sound();
rootSpellOrder = new String("");
rootSpell = "";
weapon = 1;
attack = 0;
var rootMenu = new ContextMenu();
rootMenu.hideBuiltInItems();
_root.menu = rootMenu;
qualityControl = 1;
muteControl = 1;
keyListener = new Object();
keyListener.onKeyDown = function () {
if (Key.isDown(81)) {
if ((_quality == "HIGH") && (qualityControl == 1)) {
_quality = "LOW";
qualityControl = 2;
}
if ((_quality == "MEDIUM") && (qualityControl == 1)) {
_quality = "HIGH";
qualityControl = 2;
}
if ((_quality == "LOW") && (qualityControl == 1)) {
_quality = "MEDIUM";
qualityControl = 2;
}
}
if (Key.isDown(87)) {
if ((_global.muteNumber == 1) && (muteControl == 1)) {
soundControl.setVolume(100);
_global.muteMusic = true;
music.stop();
_global.muteNumber = 2;
muteControl = 2;
}
if ((_global.muteNumber == 2) && (muteControl == 1)) {
soundControl.setVolume(0);
_global.muteMusic = true;
_global.muteNumber = 3;
muteControl = 2;
}
if ((_global.muteNumber == 3) && (muteControl == 1)) {
soundControl.setVolume(100);
_global.muteMusic = false;
music.start(0, 10000);
_global.muteNumber = 1;
muteControl = 2;
}
}
if (Key.isDown(90)) {
if (_root.statusBar.magicMeter._currentframe == 9) {
spell = "strength";
magicFunction(spell);
weapon = 3;
_root.weaponFunction(weapon);
_root.statusBar.magicMeter.magicCounter = 0;
_root.statusBar.magicMeter.gotoAndStop(1);
}
}
};
keyListener.onKeyUp = function () {
if (!Key.isDown(81)) {
qualityControl = 1;
}
if (!Key.isDown(87)) {
muteControl = 1;
}
};
Key.addListener(keyListener);
Frame 5
Mouse.hide();
stop();
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (load) {
hitOnce = true;
if (_global.completeTutorial) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
if (_global.completeTutorial) {
this.gotoAndStop(2);
if (hitOnce) {
_root.wordRollover.start();
hitOnce = false;
}
}
} else {
this.gotoAndStop(1);
hitOnce = true;
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
if (_global.completeTutorial) {
_root.wordClick.start();
_root.gotoAndStop("firststart");
}
}
}
Instance of Symbol 150 MovieClip in Frame 5
onClipEvent (load) {
hitOnce = true;
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
this.gotoAndStop(2);
if (hitOnce) {
_root.wordRollover.start();
hitOnce = false;
}
} else {
this.gotoAndStop(1);
hitOnce = true;
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_root.wordClick.start();
_root.nextFrame();
}
}
Instance of Symbol 153 MovieClip "pointAccuracy" in Frame 5
onClipEvent (load) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_visible = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 5
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Instance of Symbol 192 MovieClip "tutControl" in Frame 6
onClipEvent (load) {
tutorialControl = 0;
}
onClipEvent (enterFrame) {
if (tutorialControl >= 3) {
_root.nextFrame();
}
}
Instance of Symbol 198 MovieClip in Frame 6
onClipEvent (load) {
_root.tutControl.tutorialControl = 0;
}
Instance of Symbol 202 MovieClip "aimer" in Frame 6
onClipEvent (enterFrame) {
if (_root.bow.activated) {
xMouse = _root._xmouse;
yMouse = _root._ymouse;
if (yMouse > 65) {
_x = xMouse;
_y = yMouse;
}
} else {
_x = 1000;
}
}
onClipEvent (mouseDown) {
if (_root.bow.activated) {
attacking = true;
this.play();
}
}
onClipEvent (mouseUp) {
if (_root.bow.activated) {
attacking = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 204 MovieClip "angleControl" in Frame 6
onClipEvent (load) {
this._visible = false;
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
}
onClipEvent (enterFrame) {
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
if (this._x > _root.pointAccuracy.xMouse) {
angleB = (Math.asin(sinB) * 57.2957795130823) - 90;
}
if (this._x < _root.pointAccuracy.xMouse) {
angleB = (-(Math.asin(sinB) * 57.2957795130823)) - 270;
}
}
Instance of Symbol 229 MovieClip "sword" in Frame 6
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
delay = false;
delayTimer = 4;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
if (!delay) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
} else if (delayTimer > 0) {
delayTimer--;
} else {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
delayTimer = 4;
}
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 234 MovieClip "runeOne" in Frame 6
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "1";
}
}
Instance of Symbol 237 MovieClip "runeTwo" in Frame 6
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "2";
}
}
Instance of Symbol 240 MovieClip "runeThree" in Frame 6
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "3";
}
}
Instance of Symbol 243 MovieClip "runeFour" in Frame 6
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "4";
}
}
Instance of Symbol 246 MovieClip "runeFive" in Frame 6
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "5";
}
}
Instance of Symbol 250 MovieClip "wand" in Frame 6
onClipEvent (load) {
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 254 MovieClip "shield" in Frame 6
onClipEvent (load) {
shieldControl = true;
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width - 5;
} else {
weapon = 1;
_root.weaponFunction(weapon);
}
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (Key.isDown(32)) {
shieldControl = false;
} else {
shieldControl = true;
}
if (!activated) {
if (shieldControl) {
if (_root.statusBar.fatigue.fatigueBar._width < 105) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width + 2.5;
}
}
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 257 MovieClip "parentHandFire" in Frame 6
onClipEvent (load) {
if (_name != "parentHandFire") {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (_name != "parentHandFire") {
if (_xscale > 10) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 261 MovieClip "bow" in Frame 6
onClipEvent (load) {
activated = false;
i = 1;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
_root.parentHandFire.duplicateMovieClip("handfire" + i, _root.getNextHighestDepth());
i++;
}
}
Instance of Symbol 192 MovieClip "conCirc" in Frame 6
onClipEvent (load) {
spellOrder = new String("");
spell = "";
weaponSet = "sword";
qualityControl = 1;
weaponControl = true;
weapon = 1;
}
onClipEvent (enterFrame) {
if (!_root.sword.frozen) {
if (_root.rootSpellOrder.length == 5) {
spellOrder = _root.rootSpellOrder;
_root.magicAttackFunction(spellOrder);
}
if (Key.isDown(16)) {
if (_root.sword.activated && (weaponControl)) {
weapon = 2;
_root.weaponFunction(weapon);
weaponControl = false;
}
if (_root.bow.activated && (weaponControl)) {
weapon = 1;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
if (Key.isDown(32)) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
if ((_root.sword.activated or _root.bow.activated) && (weaponControl)) {
if (_root.sword.activated) {
weaponSet = "sword";
}
if (_root.bow.activated) {
weaponSet = "bow";
}
weapon = 4;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
} else if (_root.shield.activated) {
if (weaponSet == "sword") {
weapon = 1;
}
if (weaponSet == "bow") {
weapon = 2;
}
_root.weaponFunction(weapon);
weaponControl = false;
}
if ((!Key.isDown(16)) && (!Key.isDown(32))) {
weaponControl = true;
}
}
}
Instance of Symbol 266 MovieClip in Frame 7
onClipEvent (load) {
_root.tutControl.tutorialControl = 0;
}
Instance of Symbol 269 MovieClip in Frame 8
onClipEvent (load) {
startX = _x;
xSpeed = 0;
moveLeft = false;
_root.tutControl.tutorialControl = 0;
}
onClipEvent (enterFrame) {
if (this.hitBlock.hitTest(_root.sword.blockArea)) {
_x = (_x + xSpeed);
_root.tutControl.tutorialControl++;
if (moveLeft) {
xSpeed = xSpeed - 0.5;
} else {
xSpeed = xSpeed + 0.5;
}
if (xSpeed > 12) {
xSpeed = 12;
moveLeft = true;
}
if (xSpeed < -12) {
xSpeed = -12;
moveLeft = false;
}
} else {
_x = startX;
moveLeft = false;
xSpeed = 0;
_root.tutControl.tutorialControl = 0;
}
}
Instance of Symbol 192 MovieClip "tutControl" in Frame 8
onClipEvent (load) {
tutorialControl = 0;
}
onClipEvent (enterFrame) {
if (tutorialControl >= 100) {
_root.nextFrame();
}
}
Instance of Symbol 150 MovieClip in Frame 9
onClipEvent (load) {
hitOnce = true;
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
this.gotoAndStop(2);
if (hitOnce) {
_root.wordRollover.start();
hitOnce = false;
}
} else {
this.gotoAndStop(1);
hitOnce = true;
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_root.wordClick.start();
_root.nextFrame();
}
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 9
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Instance of Symbol 192 MovieClip "tutControl" in Frame 10
onClipEvent (load) {
tutorialControl = 0;
}
onClipEvent (enterFrame) {
if (tutorialControl >= 3) {
_root.nextFrame();
}
}
Instance of Symbol 278 MovieClip in Frame 10
onClipEvent (load) {
_root.tutControl.tutorialControl = 0;
}
Instance of Symbol 202 MovieClip "aimer" in Frame 10
onClipEvent (enterFrame) {
if (_root.bow.activated) {
xMouse = _root._xmouse;
yMouse = _root._ymouse;
if (yMouse > 65) {
_x = xMouse;
_y = yMouse;
}
} else {
_x = 1000;
}
}
onClipEvent (mouseDown) {
if (_root.bow.activated) {
attacking = true;
this.play();
}
}
onClipEvent (mouseUp) {
if (_root.bow.activated) {
attacking = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 204 MovieClip "angleControl" in Frame 10
onClipEvent (load) {
this._visible = false;
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
}
onClipEvent (enterFrame) {
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
if (this._x > _root.pointAccuracy.xMouse) {
angleB = (Math.asin(sinB) * 57.2957795130823) - 90;
}
if (this._x < _root.pointAccuracy.xMouse) {
angleB = (-(Math.asin(sinB) * 57.2957795130823)) - 270;
}
}
Instance of Symbol 229 MovieClip "sword" in Frame 10
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
delay = false;
delayTimer = 4;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
if (!delay) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
} else if (delayTimer > 0) {
delayTimer--;
} else {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
delayTimer = 4;
}
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 234 MovieClip "runeOne" in Frame 10
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "1";
}
}
Instance of Symbol 237 MovieClip "runeTwo" in Frame 10
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "2";
}
}
Instance of Symbol 240 MovieClip "runeThree" in Frame 10
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "3";
}
}
Instance of Symbol 243 MovieClip "runeFour" in Frame 10
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "4";
}
}
Instance of Symbol 246 MovieClip "runeFive" in Frame 10
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "5";
}
}
Instance of Symbol 250 MovieClip "wand" in Frame 10
onClipEvent (load) {
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 254 MovieClip "shield" in Frame 10
onClipEvent (load) {
shieldControl = true;
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width - 5;
} else {
weapon = 1;
_root.weaponFunction(weapon);
}
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (Key.isDown(32)) {
shieldControl = false;
} else {
shieldControl = true;
}
if (!activated) {
if (shieldControl) {
if (_root.statusBar.fatigue.fatigueBar._width < 105) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width + 2.5;
}
}
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 257 MovieClip "parentHandFire" in Frame 10
onClipEvent (load) {
if (_name != "parentHandFire") {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (_name != "parentHandFire") {
if (_xscale > 10) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 261 MovieClip "bow" in Frame 10
onClipEvent (load) {
activated = false;
i = 1;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
_root.parentHandFire.duplicateMovieClip("handfire" + i, _root.getNextHighestDepth());
i++;
}
}
Instance of Symbol 192 MovieClip "conCirc" in Frame 10
onClipEvent (load) {
spellOrder = new String("");
spell = "";
weaponSet = "sword";
qualityControl = 1;
weaponControl = true;
weapon = 1;
}
onClipEvent (enterFrame) {
if (!_root.sword.frozen) {
if (_root.rootSpellOrder.length == 5) {
spellOrder = _root.rootSpellOrder;
_root.magicAttackFunction(spellOrder);
}
if (Key.isDown(16)) {
if (_root.sword.activated && (weaponControl)) {
weapon = 2;
_root.weaponFunction(weapon);
weaponControl = false;
}
if (_root.bow.activated && (weaponControl)) {
weapon = 1;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
if (Key.isDown(32)) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
if ((_root.sword.activated or _root.bow.activated) && (weaponControl)) {
if (_root.sword.activated) {
weaponSet = "sword";
}
if (_root.bow.activated) {
weaponSet = "bow";
}
weapon = 4;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
} else if (_root.shield.activated) {
if (weaponSet == "sword") {
weapon = 1;
}
if (weaponSet == "bow") {
weapon = 2;
}
_root.weaponFunction(weapon);
weaponControl = false;
}
if ((!Key.isDown(16)) && (!Key.isDown(32))) {
weaponControl = true;
}
}
}
Instance of Symbol 282 MovieClip in Frame 11
onClipEvent (load) {
_root.tutControl.tutorialControl = 0;
}
Instance of Symbol 192 MovieClip "tutControl" in Frame 12
onClipEvent (load) {
tutorialControl = 0;
}
onClipEvent (enterFrame) {
_root.statusBar.magicMeter.magicCounter = 100;
if (tutorialControl >= 3) {
_root.nextFrame();
}
}
Instance of Symbol 286 MovieClip in Frame 12
onClipEvent (load) {
_root.tutControl.tutorialControl = 0;
}
Instance of Symbol 150 MovieClip in Frame 13
onClipEvent (load) {
hitOnce = true;
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
this.gotoAndStop(2);
if (hitOnce) {
_root.wordRollover.start();
hitOnce = false;
}
} else {
this.gotoAndStop(1);
hitOnce = true;
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_root.wordClick.start();
_root.nextFrame();
}
}
Instance of Symbol 288 MovieClip in Frame 13
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 13
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Instance of Symbol 288 MovieClip in Frame 15
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 253 MovieClip in Frame 15
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 221 MovieClip in Frame 15
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 281 MovieClip in Frame 15
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 195 MovieClip in Frame 15
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 268 MovieClip in Frame 15
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 285 MovieClip in Frame 15
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 150 MovieClip in Frame 15
onClipEvent (load) {
hitOnce = true;
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
this.gotoAndStop(2);
if (hitOnce) {
_root.wordRollover.start();
hitOnce = false;
}
} else {
this.gotoAndStop(1);
hitOnce = true;
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_root.wordClick.start();
_root.nextFrame();
}
}
Frame 16
_global.completeTutorial = true;
savefile.data.completeTutorial = _global.completeTutorial;
savefile.flush();
Instance of Symbol 192 MovieClip "tutControl" in Frame 16
onClipEvent (enterFrame) {
_root.statusBar.magicMeter.magicCounter = 100;
}
Instance of Symbol 150 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.wordClick.start();
_root.gotoAndStop("firststart");
}
}
Instance of Symbol 198 MovieClip in Frame 16
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
if (_currentframe == 2) {
timer++;
if (timer >= 30) {
this.gotoAndStop(1);
timer = 0;
}
}
}
Instance of Symbol 266 MovieClip in Frame 16
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
if (_currentframe == 2) {
timer++;
if (timer >= 30) {
this.gotoAndStop(1);
timer = 0;
}
}
}
Instance of Symbol 278 MovieClip in Frame 16
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
if (_currentframe == 2) {
timer++;
if (timer >= 30) {
this.gotoAndStop(1);
timer = 0;
}
}
}
Instance of Symbol 282 MovieClip in Frame 16
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
if (_currentframe == 2) {
timer++;
if (timer >= 30) {
this.gotoAndStop(1);
timer = 0;
}
}
}
Instance of Symbol 286 MovieClip in Frame 16
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
if (_currentframe == 2) {
timer++;
if (timer >= 30) {
this.gotoAndStop(1);
timer = 0;
}
}
}
Instance of Symbol 269 MovieClip in Frame 16
onClipEvent (load) {
startX = _x;
xSpeed = 0;
moveLeft = false;
_root.tutControl.tutorialControl = 0;
}
onClipEvent (enterFrame) {
if (this.hitBlock.hitTest(_root.sword.blockArea)) {
_x = (_x + xSpeed);
if (moveLeft) {
xSpeed = xSpeed - 0.5;
} else {
xSpeed = xSpeed + 0.5;
}
if (xSpeed > 12) {
xSpeed = 12;
moveLeft = true;
}
if (xSpeed < -12) {
xSpeed = -12;
moveLeft = false;
}
} else {
_x = startX;
moveLeft = false;
xSpeed = 0;
}
}
Instance of Symbol 202 MovieClip "aimer" in Frame 16
onClipEvent (enterFrame) {
if (_root.bow.activated) {
xMouse = _root._xmouse;
yMouse = _root._ymouse;
if (yMouse > 65) {
_x = xMouse;
_y = yMouse;
}
} else {
_x = 1000;
}
}
onClipEvent (mouseDown) {
if (_root.bow.activated) {
attacking = true;
this.play();
}
}
onClipEvent (mouseUp) {
if (_root.bow.activated) {
attacking = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 204 MovieClip "angleControl" in Frame 16
onClipEvent (load) {
this._visible = false;
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
}
onClipEvent (enterFrame) {
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
if (this._x > _root.pointAccuracy.xMouse) {
angleB = (Math.asin(sinB) * 57.2957795130823) - 90;
}
if (this._x < _root.pointAccuracy.xMouse) {
angleB = (-(Math.asin(sinB) * 57.2957795130823)) - 270;
}
}
Instance of Symbol 229 MovieClip "sword" in Frame 16
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
delay = false;
delayTimer = 4;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
if (!delay) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
} else if (delayTimer > 0) {
delayTimer--;
} else {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
delayTimer = 4;
}
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 234 MovieClip "runeOne" in Frame 16
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "1";
}
}
Instance of Symbol 237 MovieClip "runeTwo" in Frame 16
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "2";
}
}
Instance of Symbol 240 MovieClip "runeThree" in Frame 16
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "3";
}
}
Instance of Symbol 243 MovieClip "runeFour" in Frame 16
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "4";
}
}
Instance of Symbol 246 MovieClip "runeFive" in Frame 16
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "5";
}
}
Instance of Symbol 250 MovieClip "wand" in Frame 16
onClipEvent (load) {
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 254 MovieClip "shield" in Frame 16
onClipEvent (load) {
shieldControl = true;
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width - 5;
} else {
weapon = 1;
_root.weaponFunction(weapon);
}
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (Key.isDown(32)) {
shieldControl = false;
} else {
shieldControl = true;
}
if (!activated) {
if (shieldControl) {
if (_root.statusBar.fatigue.fatigueBar._width < 105) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width + 2.5;
}
}
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 257 MovieClip "parentHandFire" in Frame 16
onClipEvent (load) {
if (_name != "parentHandFire") {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (_name != "parentHandFire") {
if (_xscale > 10) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 261 MovieClip "bow" in Frame 16
onClipEvent (load) {
activated = false;
i = 1;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
_root.parentHandFire.duplicateMovieClip("handfire" + i, _root.getNextHighestDepth());
i++;
}
}
Instance of Symbol 192 MovieClip "conCirc" in Frame 16
onClipEvent (load) {
spellOrder = new String("");
spell = "";
weaponSet = "sword";
qualityControl = 1;
weaponControl = true;
weapon = 1;
}
onClipEvent (enterFrame) {
if (!_root.sword.frozen) {
if (_root.rootSpellOrder.length == 5) {
spellOrder = _root.rootSpellOrder;
_root.magicAttackFunction(spellOrder);
}
if (Key.isDown(16)) {
if (_root.sword.activated && (weaponControl)) {
weapon = 2;
_root.weaponFunction(weapon);
weaponControl = false;
}
if (_root.bow.activated && (weaponControl)) {
weapon = 1;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
if (Key.isDown(32)) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
if ((_root.sword.activated or _root.bow.activated) && (weaponControl)) {
if (_root.sword.activated) {
weaponSet = "sword";
}
if (_root.bow.activated) {
weaponSet = "bow";
}
weapon = 4;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
} else if (_root.shield.activated) {
if (weaponSet == "sword") {
weapon = 1;
}
if (weaponSet == "bow") {
weapon = 2;
}
_root.weaponFunction(weapon);
weaponControl = false;
}
if ((!Key.isDown(16)) && (!Key.isDown(32))) {
weaponControl = true;
}
}
}
Instance of Symbol 320 MovieClip in Frame 17
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (hitTest(_root.pointAccuracy) && (_currentframe == 1)) {
_root.gameRollover.start();
play();
} else {
hitOnce = true;
}
if ((!hitTest(_root.pointAccuracy)) && (_currentframe == 13)) {
play();
}
}
Instance of Symbol 325 MovieClip in Frame 17
onClipEvent (mouseUp) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
getURL ("http://armorblog.com/", "_blank");
}
}
Instance of Symbol 329 MovieClip in Frame 17
onClipEvent (mouseUp) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
getURL ("http://armorgames.com/play/735/aeternus-lamnia", "_blank");
}
}
Instance of Symbol 463 MovieClip in Frame 17
onClipEvent (load) {
_global.stageSelect = "firststart";
}
Instance of Symbol 153 MovieClip "pointAccuracy" in Frame 17
onClipEvent (load) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_visible = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 17
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Frame 19
stop();
selectControl = true;
openCredits = false;
music.attachSound("titlescreen");
if (!_global.muteMusic) {
music.start(0, 10000);
}
Instance of Symbol 556 MovieClip in Frame 20
onClipEvent (load) {
if (_root.openCredits) {
this.gotoAndStop(75);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 558 MovieClip in Frame 21
onClipEvent (load) {
_global.stageSelect = "extras";
}
Frame 23
stop();
music.stop();
_quality = "HIGH";
music.attachSound("stagemenu");
if (!_global.muteMusic) {
music.start(0, 10000);
}
savefile.data.enemyCounter = _global.enemyCounter;
savefile.data.defeatedWater = _global.defeatedWater;
savefile.data.defeatedSky = _global.defeatedSky;
savefile.data.openRock = _global.openRock;
savefile.data.defeatedRock = _global.defeatedRock;
savefile.data.openIron = _global.openIron;
savefile.data.defeatedIron = _global.defeatedIron;
savefile.data.openFire = _global.openFire;
savefile.data.defeatedFire = _global.defeatedFire;
savefile.data.openIce = _global.openIce;
savefile.data.defeatedIce = _global.defeatedIce;
savefile.data.openWeather = _global.openWeather;
savefile.data.defeatedWeather = _global.defeatedWeather;
savefile.data.openLightdark = _global.openLightdark;
savefile.data.defeatedLightdark = _global.defeatedLightdark;
savefile.data.openSound = _global.openSound;
savefile.data.defeatedSound = _global.defeatedSound;
savefile.data.openTime = _global.openTime;
savefile.data.defeatedTime = _global.defeatedTime;
savefile.data.openGod = _global.openGod;
savefile.data.defeatedGod = _global.defeatedGod;
savefile.flush();
Instance of Symbol 341 MovieClip in Frame 23
onClipEvent (mouseUp) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
getURL ("http://www.armorgames.com/", "_blank");
}
}
Instance of Symbol 345 MovieClip in Frame 23
onClipEvent (load) {
hitOnce = true;
}
onClipEvent (enterFrame) {
if (_global.openWater) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
_root.levelinfo.gotoAndStop(2);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openWater) {
_root.music.stop();
_root.stageClick.start();
_root.soundTransition.start();
_global.stageSelect = "water";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 345 MovieClip in Frame 23
onClipEvent (load) {
hitOnce = true;
}
onClipEvent (enterFrame) {
if (_global.openSky) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
_root.levelinfo.gotoAndStop(3);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openSky) {
_root.music.stop();
_root.stageClick.start();
_root.soundTransition.start();
_global.stageSelect = "sky";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 345 MovieClip in Frame 23
onClipEvent (load) {
hitOnce = true;
}
onClipEvent (enterFrame) {
if (_global.openRock) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
_root.levelinfo.gotoAndStop(4);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openRock) {
_root.music.stop();
_root.stageClick.start();
_root.soundTransition.start();
_global.stageSelect = "rock";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 345 MovieClip in Frame 23
onClipEvent (load) {
hitOnce = true;
}
onClipEvent (enterFrame) {
if (_global.openIron) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
_root.levelinfo.gotoAndStop(5);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openIron) {
_root.music.stop();
_root.stageClick.start();
_root.soundTransition.start();
_global.stageSelect = "iron";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 345 MovieClip in Frame 23
onClipEvent (load) {
hitOnce = true;
}
onClipEvent (enterFrame) {
if (_global.openFire) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
_root.levelinfo.gotoAndStop(6);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openFire) {
_root.music.stop();
_root.stageClick.start();
_root.soundTransition.start();
_global.stageSelect = "fire";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 345 MovieClip in Frame 23
onClipEvent (load) {
hitOnce = true;
}
onClipEvent (enterFrame) {
if (_global.openIce) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
_root.levelinfo.gotoAndStop(7);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openIce) {
_root.music.stop();
_root.stageClick.start();
_root.soundTransition.start();
_global.stageSelect = "ice";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 345 MovieClip in Frame 23
onClipEvent (load) {
hitOnce = true;
}
onClipEvent (enterFrame) {
if (_global.openWeather) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
_root.levelinfo.gotoAndStop(8);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openWeather) {
_root.music.stop();
_root.stageClick.start();
_root.soundTransition.start();
_global.stageSelect = "weather";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 345 MovieClip in Frame 23
onClipEvent (load) {
hitOnce = true;
}
onClipEvent (enterFrame) {
if (_global.openLightdark) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
_root.levelinfo.gotoAndStop(9);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openLightdark) {
_root.music.stop();
_root.stageClick.start();
_root.soundTransition.start();
_global.stageSelect = "lightdark";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 345 MovieClip in Frame 23
onClipEvent (load) {
hitOnce = true;
}
onClipEvent (enterFrame) {
if (_global.openSound) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
_root.levelinfo.gotoAndStop(10);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openSound) {
_root.music.stop();
_root.stageClick.start();
_root.soundTransition.start();
_global.stageSelect = "sound";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 345 MovieClip in Frame 23
onClipEvent (load) {
hitOnce = true;
}
onClipEvent (enterFrame) {
if (_global.openTime) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
_root.levelinfo.gotoAndStop(11);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openTime) {
_root.music.stop();
_root.stageClick.start();
_root.soundTransition.start();
_global.stageSelect = "time";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 405 MovieClip in Frame 23
onClipEvent (load) {
if (_global.defeatedWater) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Frame 23
onClipEvent (load) {
if (_global.defeatedSky) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Frame 23
onClipEvent (load) {
if (_global.defeatedRock) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Frame 23
onClipEvent (load) {
if (_global.defeatedIron) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Frame 23
onClipEvent (load) {
if (_global.defeatedFire) {
this.gotoAndStop(6);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Frame 23
onClipEvent (load) {
if (_global.defeatedIce) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Frame 23
onClipEvent (load) {
if (_global.defeatedWeather) {
this.gotoAndStop(8);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Frame 23
onClipEvent (load) {
if (_global.defeatedLightdark) {
this.gotoAndStop(9);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Frame 23
onClipEvent (load) {
if (_global.defeatedSound) {
this.gotoAndStop(10);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Frame 23
onClipEvent (load) {
if (_global.defeatedTime) {
this.gotoAndStop(11);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 486 MovieClip in Frame 23
onClipEvent (load) {
if (_global.openWater) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 489 MovieClip in Frame 23
onClipEvent (load) {
if (_global.openSky) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 492 MovieClip in Frame 23
onClipEvent (load) {
if (_global.openRock) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 495 MovieClip in Frame 23
onClipEvent (load) {
if (_global.openIron) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 498 MovieClip in Frame 23
onClipEvent (load) {
if (_global.openFire) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 501 MovieClip in Frame 23
onClipEvent (load) {
if (_global.openIce) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 504 MovieClip in Frame 23
onClipEvent (load) {
if (_global.openWeather) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 507 MovieClip in Frame 23
onClipEvent (load) {
if (_global.openLightdark) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 510 MovieClip in Frame 23
onClipEvent (load) {
if (_global.openSound) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 513 MovieClip in Frame 23
onClipEvent (load) {
if (_global.openTime) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 334 MovieClip in Frame 23
onClipEvent (load) {
hitOnce = true;
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
if (hitOnce) {
_root.wordRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_global.stageSelect = "start";
_root.music.stop();
_root.backClick.start();
_root.gotoAndStop(_global.stageSelect);
}
}
Instance of Symbol 153 MovieClip "pointAccuracy" in Frame 23
onClipEvent (load) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_visible = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 23
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Frame 24
Mouse.hide();
stop();
_quality = "HIGH";
music.stop();
music.attachSound("extrasmenu");
if (!_global.muteMusic) {
music.start(0, 10000);
}
savefile.data.defeatedPlant = _global.defeatedPlant;
savefile.data.mini1Highscore = _global.mini1Highscore;
savefile.data.mini2Highscore = _global.mini2Highscore;
savefile.data.mini3Highscore = _global.mini3Highscore;
savefile.data.mini4Highscore = _global.mini4Highscore;
savefile.data.mini5Highscore = _global.mini5Highscore;
savefile.data.mini6Highscore = _global.mini6Highscore;
savefile.data.mini7Highscore = _global.mini7Highscore;
savefile.data.mini8Highscore = _global.mini8Highscore;
savefile.data.mini9Highscore = _global.mini9Highscore;
savefile.data.mini10Highscore = _global.mini10Highscore;
savefile.data.totalHighscore = _global.totalHighscore;
savefile.flush();
Instance of Symbol 341 MovieClip in Frame 24
onClipEvent (mouseUp) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
getURL ("http://www.armorgames.com/", "_blank");
}
}
Instance of Symbol 334 MovieClip in Frame 24
onClipEvent (load) {
hitOnce = true;
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
if (hitOnce) {
_root.wordRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_global.stageSelect = "extrasstart";
_root.music.stop();
_root.backClick.start();
_root.gotoAndStop(_global.stageSelect);
}
}
Instance of Symbol 345 MovieClip in Frame 24
onClipEvent (load) {
if (_global.mini1Highscore > _global.mini1Target) {
_global.completedMini1 = true;
_root.savefile.data.completedMini1 = _global.completedMini1;
_root.savefile.flush();
}
hitOnce = true;
}
onClipEvent (enterFrame) {
if (_global.openMini1) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
_root.extrasinfo.gotoAndStop(2);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openMini1) {
_root.music.stop();
_global.stageSelect = "mini1";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 345 MovieClip in Frame 24
onClipEvent (load) {
if (_global.mini2Highscore > _global.mini2Target) {
_global.completedMini2 = true;
_root.savefile.data.completedMini2 = _global.completedMini2;
_root.savefile.flush();
}
hitOnce = true;
}
onClipEvent (enterFrame) {
if (_global.openMini2) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
_root.extrasinfo.gotoAndStop(3);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openMini2) {
_root.music.stop();
_global.stageSelect = "mini2";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 345 MovieClip in Frame 24
onClipEvent (load) {
if (_global.mini3Highscore > _global.mini3Target) {
_global.completedMini3 = true;
_root.savefile.data.completedMini3 = _global.completedMini3;
_root.savefile.flush();
}
hitOnce = true;
}
onClipEvent (enterFrame) {
if (_global.openMini3) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
_root.extrasinfo.gotoAndStop(4);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openMini3) {
_root.music.stop();
_global.stageSelect = "mini3";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 345 MovieClip in Frame 24
onClipEvent (load) {
if (_global.mini4Highscore > _global.mini4Target) {
_global.completedMini4 = true;
_root.savefile.data.completedMini4 = _global.completedMini4;
_root.savefile.flush();
}
hitOnce = true;
}
onClipEvent (enterFrame) {
if (_global.openMini4) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
_root.extrasinfo.gotoAndStop(5);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openMini4) {
_root.music.stop();
_global.stageSelect = "mini4";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 345 MovieClip in Frame 24
onClipEvent (load) {
if (_global.mini5Highscore > _global.mini5Target) {
_global.completedMini5 = true;
_root.savefile.data.completedMini5 = _global.completedMini5;
_root.savefile.flush();
}
hitOnce = true;
}
onClipEvent (enterFrame) {
if (_global.openMini5) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
_root.extrasinfo.gotoAndStop(6);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openMini5) {
_root.music.stop();
_global.stageSelect = "mini5";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 345 MovieClip in Frame 24
onClipEvent (load) {
if (_global.mini6Highscore > _global.mini6Target) {
_global.completedMini6 = true;
_root.savefile.data.completedMini6 = _global.completedMini6;
_root.savefile.flush();
}
hitOnce = true;
}
onClipEvent (enterFrame) {
if (_global.openMini6) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
_root.extrasinfo.gotoAndStop(7);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
_root.extrasinfo.gotoAndStop(13);
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openMini6) {
_root.music.stop();
_global.stageSelect = "mini6";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 345 MovieClip in Frame 24
onClipEvent (load) {
if (_global.mini7Highscore > _global.mini7Target) {
_global.completedMini7 = true;
_root.savefile.data.completedMini7 = _global.completedMini7;
_root.savefile.flush();
}
hitOnce = true;
}
onClipEvent (enterFrame) {
if (_global.openMini7) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
_root.extrasinfo.gotoAndStop(8);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
_root.extrasinfo.gotoAndStop(13);
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openMini7) {
_root.music.stop();
_global.stageSelect = "mini7";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 345 MovieClip in Frame 24
onClipEvent (load) {
if (_global.mini8Highscore > _global.mini8Target) {
_global.completedMini8 = true;
_root.savefile.data.completedMini8 = _global.completedMini8;
_root.savefile.flush();
}
hitOnce = true;
}
onClipEvent (enterFrame) {
if (_global.openMini8) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
_root.extrasinfo.gotoAndStop(9);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
_root.extrasinfo.gotoAndStop(13);
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openMini8) {
_root.music.stop();
_global.stageSelect = "mini8";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 345 MovieClip in Frame 24
onClipEvent (load) {
if (_global.mini9Highscore > _global.mini9Target) {
_global.completedMini9 = true;
_root.savefile.data.completedMini9 = _global.completedMini9;
_root.savefile.flush();
}
hitOnce = true;
}
onClipEvent (enterFrame) {
if (_global.openMini9) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
_root.extrasinfo.gotoAndStop(10);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
_root.extrasinfo.gotoAndStop(13);
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openMini9) {
_root.music.stop();
_global.stageSelect = "mini9";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 345 MovieClip in Frame 24
onClipEvent (load) {
if (_global.mini10Highscore > _global.mini10Target) {
_global.completedMini10 = true;
_root.savefile.data.completedMini10 = _global.completedMini10;
_root.savefile.flush();
}
hitOnce = true;
}
onClipEvent (enterFrame) {
if (_global.openMini10) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
this.gotoAndStop(2);
_root.extrasinfo.gotoAndStop(11);
} else {
hitOnce = true;
this.gotoAndStop(1);
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
_root.extrasinfo.gotoAndStop(13);
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openMini10) {
_root.music.stop();
_global.stageSelect = "mini10";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 405 MovieClip in Frame 24
onClipEvent (load) {
if (_global.completedMini1) {
this.gotoAndStop(12);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Frame 24
onClipEvent (load) {
if (_global.completedMini2) {
this.gotoAndStop(13);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Frame 24
onClipEvent (load) {
if (_global.completedMini3) {
this.gotoAndStop(14);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Frame 24
onClipEvent (load) {
if (_global.completedMini4) {
this.gotoAndStop(15);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Frame 24
onClipEvent (load) {
if (_global.completedMini5) {
this.gotoAndStop(16);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Frame 24
onClipEvent (load) {
if (_global.completedMini6) {
this.gotoAndStop(17);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Frame 24
onClipEvent (load) {
if (_global.completedMini7) {
this.gotoAndStop(18);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Frame 24
onClipEvent (load) {
if (_global.completedMini8) {
this.gotoAndStop(19);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Frame 24
onClipEvent (load) {
if (_global.completedMini9) {
this.gotoAndStop(20);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Frame 24
onClipEvent (load) {
if (_global.completedMini10) {
this.gotoAndStop(21);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Frame 24
onClipEvent (load) {
if (_global.openMini1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Frame 24
onClipEvent (load) {
if (_global.openMini2) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Frame 24
onClipEvent (load) {
if (_global.openMini3) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Frame 24
onClipEvent (load) {
if (_global.openMini4) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Frame 24
onClipEvent (load) {
if (_global.openMini5) {
this.gotoAndStop(6);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Frame 24
onClipEvent (load) {
if (_global.openMini6) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Frame 24
onClipEvent (load) {
if (_global.openMini7) {
this.gotoAndStop(8);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Frame 24
onClipEvent (load) {
if (_global.openMini8) {
this.gotoAndStop(9);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Frame 24
onClipEvent (load) {
if (_global.openMini9) {
this.gotoAndStop(10);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Frame 24
onClipEvent (load) {
if (_global.openMini10) {
this.gotoAndStop(11);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 153 MovieClip "pointAccuracy" in Frame 24
onClipEvent (load) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_visible = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 24
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Frame 25
music.stop();
music.attachSound("extrasmusic");
if (!_global.muteMusic) {
music.start(0, 10000);
}
score = 0;
Instance of Symbol 566 MovieClip "roullette" in Frame 25
onClipEvent (load) {
aimerSelect = 0;
aimerTimer = 40;
damage = 40;
reactionTime = 38.5;
hitSuccess = false;
}
onClipEvent (enterFrame) {
if (aimerSelect == 0) {
if (aimerTimer > 0) {
aimerTimer--;
} else {
aimerSelect = (Math.ceil(Math.random() * 5) * 2) + 1;
this.gotoAndStop(aimerSelect);
aimerTimer = reactionTime;
}
} else if (aimerTimer > 0) {
aimerTimer--;
} else if (hitSuccess) {
aimerSelect = 0;
aimerTimer = 40;
hitSuccess = false;
if (_currentframe == 9) {
points = 100;
_root.scoreFunction(points);
}
if (reactionTime > 16) {
reactionTime = reactionTime - 0.75;
}
this.gotoAndStop(1);
} else {
_root.extrasHurtFunction(damage);
aimerSelect = 0;
aimerTimer = 40;
hitSuccess = false;
if (reactionTime > 16) {
reactionTime = reactionTime - 0.75;
}
this.gotoAndStop(1);
}
}
Instance of Symbol 192 MovieClip "scoreControl" in Frame 25
onClipEvent (load) {
_root.currentScore.text = _root.score.toString();
_root.highScore.text = _global.mini3Highscore.toString();
}
onClipEvent (enterFrame) {
_root.currentScore.text = _root.score.toString();
_root.highScore.text = _global.mini3Highscore.toString();
if (_root.score > _global.mini3Highscore) {
_global.mini3Highscore = _root.score;
}
if (_root.score > _global.mini3Target) {
_global.completedMini3 = true;
}
}
Instance of Symbol 153 MovieClip "pointAccuracy" in Frame 25
onClipEvent (load) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_visible = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
}
Instance of Symbol 229 MovieClip "sword" in Frame 25
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 234 MovieClip "runeOne" in Frame 25
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "1";
}
}
Instance of Symbol 237 MovieClip "runeTwo" in Frame 25
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "2";
}
}
Instance of Symbol 240 MovieClip "runeThree" in Frame 25
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "3";
}
}
Instance of Symbol 243 MovieClip "runeFour" in Frame 25
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "4";
}
}
Instance of Symbol 246 MovieClip "runeFive" in Frame 25
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "5";
}
}
Instance of Symbol 250 MovieClip "wand" in Frame 25
onClipEvent (load) {
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 192 MovieClip "conCirc" in Frame 25
onClipEvent (load) {
spellOrder = new String("");
spell = "";
weaponSet = "sword";
qualityControl = 1;
weaponControl = true;
weapon = 1;
}
onClipEvent (enterFrame) {
if (_root.rootSpellOrder.length == 5) {
spellOrder = _root.rootSpellOrder;
_root.magicAttackFunction(spellOrder);
}
if (Key.isDown(16)) {
if (_root.sword.activated && (weaponControl)) {
weapon = 2;
_root.weaponFunction(weapon);
weaponControl = false;
}
if (_root.bow.activated && (weaponControl)) {
weapon = 1;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
if (Key.isDown(32)) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
if ((_root.sword.activated or _root.bow.activated) && (weaponControl)) {
if (_root.sword.activated) {
weaponSet = "sword";
}
if (_root.bow.activated) {
weaponSet = "bow";
}
weapon = 4;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
} else if (_root.shield.activated) {
if (weaponSet == "sword") {
weapon = 1;
}
if (weaponSet == "bow") {
weapon = 2;
}
_root.weaponFunction(weapon);
weaponControl = false;
}
if ((!Key.isDown(16)) && (!Key.isDown(32))) {
weaponControl = true;
}
}
Instance of Symbol 254 MovieClip "shield" in Frame 25
onClipEvent (load) {
shieldControl = true;
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width - 5;
} else {
weapon = 1;
_root.weaponFunction(weapon);
}
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (Key.isDown(32)) {
shieldControl = false;
} else {
shieldControl = true;
}
if (!activated) {
if (shieldControl) {
if (_root.statusBar.fatigue.fatigueBar._width < 105) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width + 2.5;
}
}
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 257 MovieClip "parentHandFire" in Frame 25
onClipEvent (load) {
if (_name != "parentHandFire") {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (_name != "parentHandFire") {
if (_xscale > 10) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 261 MovieClip "bow" in Frame 25
onClipEvent (load) {
activated = false;
i = 1;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
_root.parentHandFire.duplicateMovieClip("handfire" + i, _root.getNextHighestDepth());
i++;
}
}
Instance of Symbol 202 MovieClip "aimer" in Frame 25
onClipEvent (enterFrame) {
if (_root.bow.activated) {
xMouse = _root._xmouse;
yMouse = _root._ymouse;
if (yMouse > 65) {
_x = xMouse;
_y = yMouse;
}
} else {
_x = 1000;
}
}
onClipEvent (mouseDown) {
if (_root.bow.activated) {
attacking = true;
this.play();
}
}
onClipEvent (mouseUp) {
if (_root.bow.activated) {
attacking = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 204 MovieClip "angleControl" in Frame 25
onClipEvent (load) {
this._visible = false;
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
}
onClipEvent (enterFrame) {
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
if (this._x > _root.pointAccuracy.xMouse) {
angleB = (Math.asin(sinB) * 57.2957795130823) - 90;
}
if (this._x < _root.pointAccuracy.xMouse) {
angleB = (-(Math.asin(sinB) * 57.2957795130823)) - 270;
}
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 25
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if ((yMouse < 65) or _root.pointAccuracy.hitTest(_root.spellScroll)) {
_y = yMouse;
_x = xMouse;
} else {
_x = 1000;
}
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Frame 26
_quality = "MEDIUM";
music.stop();
music.attachSound("extrasmusic");
if (!_global.muteMusic) {
music.start(0, 10000);
}
score = 0;
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_y = (Math.random() * 650);
xSpeed = 7;
moveLeft = true;
timer = 50;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -100) {
_x = -75;
moveLeft = false;
_y = (Math.random() * 650);
}
if (_x > 950) {
_x = 925;
moveLeft = true;
_y = (Math.random() * 650);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_y = (Math.random() * 650);
xSpeed = 8;
moveLeft = true;
timer = 250;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -100) {
_x = -75;
moveLeft = false;
_y = (Math.random() * 650);
}
if (_x > 950) {
_x = 925;
moveLeft = true;
_y = (Math.random() * 650);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_y = (Math.random() * 650);
xSpeed = 9;
moveLeft = true;
timer = 450;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -100) {
_x = -75;
moveLeft = false;
_y = (Math.random() * 650);
}
if (_x > 950) {
_x = 925;
moveLeft = true;
_y = (Math.random() * 650);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_y = (Math.random() * 650);
xSpeed = 10;
moveLeft = true;
timer = 650;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -100) {
_x = -75;
moveLeft = false;
_y = (Math.random() * 650);
}
if (_x > 950) {
_x = 925;
moveLeft = true;
_y = (Math.random() * 650);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_x = (Math.random() * 850);
ySpeed = 5;
moveLeft = false;
timer = 200;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_y = (_y - ySpeed);
} else {
_y = (_y + ySpeed);
}
if (_y < -100) {
_y = -75;
moveLeft = false;
_x = (Math.random() * 850);
}
if (_y > 750) {
_y = 725;
moveLeft = true;
_x = (Math.random() * 850);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_x = (Math.random() * 850);
ySpeed = 9;
moveLeft = false;
timer = 1000;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_y = (_y - ySpeed);
} else {
_y = (_y + ySpeed);
}
if (_y < -100) {
_y = -75;
moveLeft = false;
_x = (Math.random() * 850);
}
if (_y > 750) {
_y = 725;
moveLeft = true;
_x = (Math.random() * 850);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_x = (Math.random() * 850);
ySpeed = 6;
moveLeft = false;
timer = 400;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_y = (_y - ySpeed);
} else {
_y = (_y + ySpeed);
}
if (_y < -100) {
_y = -75;
moveLeft = false;
_x = (Math.random() * 850);
}
if (_y > 750) {
_y = 725;
moveLeft = true;
_x = (Math.random() * 850);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_x = (Math.random() * 850);
ySpeed = 7;
moveLeft = false;
timer = 600;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_y = (_y - ySpeed);
} else {
_y = (_y + ySpeed);
}
if (_y < -100) {
_y = -75;
moveLeft = false;
_x = (Math.random() * 850);
}
if (_y > 750) {
_y = 725;
moveLeft = true;
_x = (Math.random() * 850);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_x = (Math.random() * 850);
ySpeed = 8;
moveLeft = false;
timer = 800;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_y = (_y - ySpeed);
} else {
_y = (_y + ySpeed);
}
if (_y < -100) {
_y = -75;
moveLeft = false;
_x = (Math.random() * 850);
}
if (_y > 750) {
_y = 725;
moveLeft = true;
_x = (Math.random() * 850);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_x = (Math.random() * 850);
ySpeed = 10;
moveLeft = false;
timer = 1200;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_y = (_y - ySpeed);
} else {
_y = (_y + ySpeed);
}
if (_y < -100) {
_y = -75;
moveLeft = false;
_x = (Math.random() * 850);
}
if (_y > 750) {
_y = 725;
moveLeft = true;
_x = (Math.random() * 850);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_y = (Math.random() * 650);
xSpeed = 11;
moveLeft = true;
timer = 850;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -100) {
_x = -75;
moveLeft = false;
_y = (Math.random() * 650);
}
if (_x > 950) {
_x = 925;
moveLeft = true;
_y = (Math.random() * 650);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_x = (Math.random() * 850);
ySpeed = 11;
moveLeft = false;
timer = 1300;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_y = (_y - ySpeed);
} else {
_y = (_y + ySpeed);
}
if (_y < -100) {
_y = -75;
moveLeft = false;
_x = (Math.random() * 850);
}
if (_y > 750) {
_y = 725;
moveLeft = true;
_x = (Math.random() * 850);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_x = (Math.random() * 850);
ySpeed = 12;
moveLeft = false;
timer = 1400;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_y = (_y - ySpeed);
} else {
_y = (_y + ySpeed);
}
if (_y < -100) {
_y = -75;
moveLeft = false;
_x = (Math.random() * 850);
}
if (_y > 750) {
_y = 725;
moveLeft = true;
_x = (Math.random() * 850);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_y = (Math.random() * 650);
xSpeed = 12;
moveLeft = true;
timer = 25;
timer = 1050;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -100) {
_x = -75;
moveLeft = false;
_y = (Math.random() * 650);
}
if (_x > 950) {
_x = 925;
moveLeft = true;
_y = (Math.random() * 650);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_y = (Math.random() * 650);
xSpeed = 7;
moveLeft = true;
timer = 150;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -100) {
_x = -75;
moveLeft = false;
_y = (Math.random() * 650);
}
if (_x > 950) {
_x = 925;
moveLeft = true;
_y = (Math.random() * 650);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_y = (Math.random() * 650);
xSpeed = 8;
moveLeft = true;
timer = 350;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -100) {
_x = -75;
moveLeft = false;
_y = (Math.random() * 650);
}
if (_x > 950) {
_x = 925;
moveLeft = true;
_y = (Math.random() * 650);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_y = (Math.random() * 650);
xSpeed = 9;
moveLeft = true;
timer = 550;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -100) {
_x = -75;
moveLeft = false;
_y = (Math.random() * 650);
}
if (_x > 950) {
_x = 925;
moveLeft = true;
_y = (Math.random() * 650);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_y = (Math.random() * 650);
xSpeed = 10;
moveLeft = true;
timer = 750;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -100) {
_x = -75;
moveLeft = false;
_y = (Math.random() * 650);
}
if (_x > 950) {
_x = 925;
moveLeft = true;
_y = (Math.random() * 650);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_y = (Math.random() * 650);
xSpeed = 11;
moveLeft = true;
timer = 950;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -100) {
_x = -75;
moveLeft = false;
_y = (Math.random() * 650);
}
if (_x > 950) {
_x = 925;
moveLeft = true;
_y = (Math.random() * 650);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_y = (Math.random() * 650);
xSpeed = 12;
moveLeft = true;
timer = 25;
timer = 1150;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -100) {
_x = -75;
moveLeft = false;
_y = (Math.random() * 650);
}
if (_x > 950) {
_x = 925;
moveLeft = true;
_y = (Math.random() * 650);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_x = (Math.random() * 850);
ySpeed = 5;
moveLeft = false;
timer = 100;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_y = (_y - ySpeed);
} else {
_y = (_y + ySpeed);
}
if (_y < -100) {
_y = -75;
moveLeft = false;
_x = (Math.random() * 850);
}
if (_y > 750) {
_y = 725;
moveLeft = true;
_x = (Math.random() * 850);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_x = (Math.random() * 850);
ySpeed = 9;
moveLeft = false;
timer = 900;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_y = (_y - ySpeed);
} else {
_y = (_y + ySpeed);
}
if (_y < -100) {
_y = -75;
moveLeft = false;
_x = (Math.random() * 850);
}
if (_y > 750) {
_y = 725;
moveLeft = true;
_x = (Math.random() * 850);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_x = (Math.random() * 850);
ySpeed = 6;
moveLeft = false;
timer = 300;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_y = (_y - ySpeed);
} else {
_y = (_y + ySpeed);
}
if (_y < -100) {
_y = -75;
moveLeft = false;
_x = (Math.random() * 850);
}
if (_y > 750) {
_y = 725;
moveLeft = true;
_x = (Math.random() * 850);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_x = (Math.random() * 850);
ySpeed = 7;
moveLeft = false;
timer = 500;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_y = (_y - ySpeed);
} else {
_y = (_y + ySpeed);
}
if (_y < -100) {
_y = -75;
moveLeft = false;
_x = (Math.random() * 850);
}
if (_y > 750) {
_y = 725;
moveLeft = true;
_x = (Math.random() * 850);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_x = (Math.random() * 850);
ySpeed = 8;
moveLeft = false;
timer = 700;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_y = (_y - ySpeed);
} else {
_y = (_y + ySpeed);
}
if (_y < -100) {
_y = -75;
moveLeft = false;
_x = (Math.random() * 850);
}
if (_y > 750) {
_y = 725;
moveLeft = true;
_x = (Math.random() * 850);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_x = (Math.random() * 850);
ySpeed = 10;
moveLeft = false;
timer = 1100;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_y = (_y - ySpeed);
} else {
_y = (_y + ySpeed);
}
if (_y < -100) {
_y = -75;
moveLeft = false;
_x = (Math.random() * 850);
}
if (_y > 750) {
_y = 725;
moveLeft = true;
_x = (Math.random() * 850);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_x = (Math.random() * 850);
ySpeed = 11;
moveLeft = false;
timer = 1300;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_y = (_y - ySpeed);
} else {
_y = (_y + ySpeed);
}
if (_y < -100) {
_y = -75;
moveLeft = false;
_x = (Math.random() * 850);
}
if (_y > 750) {
_y = 725;
moveLeft = true;
_x = (Math.random() * 850);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_x = (Math.random() * 850);
ySpeed = 12;
moveLeft = false;
timer = 1350;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_y = (_y - ySpeed);
} else {
_y = (_y + ySpeed);
}
if (_y < -100) {
_y = -75;
moveLeft = false;
_x = (Math.random() * 850);
}
if (_y > 750) {
_y = 725;
moveLeft = true;
_x = (Math.random() * 850);
}
}
}
Instance of Symbol 192 MovieClip in Frame 26
onClipEvent (load) {
points = 50;
timer = 27;
_root.currentScore.text = _root.score.toString();
_root.highScore.text = _global.mini9Highscore.toString();
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
timer = 27;
_root.scoreFunction(points);
}
_root.currentScore.text = _root.score.toString();
_root.highScore.text = _global.mini9Highscore.toString();
if (_root.score > _global.mini9Highscore) {
_global.mini9Highscore = _root.score;
}
if (_root.score > _global.mini9Target) {
_global.completedMini9 = true;
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_x = (Math.random() * 850);
ySpeed = 13;
moveLeft = false;
timer = 1500;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_y = (_y - ySpeed);
} else {
_y = (_y + ySpeed);
}
if (_y < -100) {
_y = -75;
moveLeft = false;
_x = (Math.random() * 850);
}
if (_y > 750) {
_y = 725;
moveLeft = true;
_x = (Math.random() * 850);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_x = (Math.random() * 850);
ySpeed = 13;
moveLeft = false;
timer = 1450;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_y = (_y - ySpeed);
} else {
_y = (_y + ySpeed);
}
if (_y < -100) {
_y = -75;
moveLeft = false;
_x = (Math.random() * 850);
}
if (_y > 750) {
_y = 725;
moveLeft = true;
_x = (Math.random() * 850);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_x = (Math.random() * 850);
ySpeed = 14;
moveLeft = false;
timer = 1550;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_y = (_y - ySpeed);
} else {
_y = (_y + ySpeed);
}
if (_y < -100) {
_y = -75;
moveLeft = false;
_x = (Math.random() * 850);
}
if (_y > 750) {
_y = 725;
moveLeft = true;
_x = (Math.random() * 850);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_x = (Math.random() * 850);
ySpeed = 14;
moveLeft = false;
timer = 1600;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_y = (_y - ySpeed);
} else {
_y = (_y + ySpeed);
}
if (_y < -100) {
_y = -75;
moveLeft = false;
_x = (Math.random() * 850);
}
if (_y > 750) {
_y = 725;
moveLeft = true;
_x = (Math.random() * 850);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_y = (Math.random() * 650);
xSpeed = 15;
moveLeft = true;
timer = 1700;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -100) {
_x = -75;
moveLeft = false;
_y = (Math.random() * 650);
}
if (_x > 950) {
_x = 925;
moveLeft = true;
_y = (Math.random() * 650);
}
}
}
Instance of Symbol 575 MovieClip in Frame 26
onClipEvent (load) {
_y = (Math.random() * 650);
xSpeed = 15;
moveLeft = true;
timer = 1650;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -100) {
_x = -75;
moveLeft = false;
_y = (Math.random() * 650);
}
if (_x > 950) {
_x = 925;
moveLeft = true;
_y = (Math.random() * 650);
}
}
}
Instance of Symbol 229 MovieClip "sword2" in Frame 26
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Frame 27
music.stop();
music.attachSound("extrasmusic");
if (!_global.muteMusic) {
music.start(0, 10000);
}
score = 0;
Instance of Symbol 578 MovieClip "speed" in Frame 27
onClipEvent (load) {
targetCounter = 0;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
if (targetCounter == 34) {
targetCounter = 0;
this.gotoAndStop(3);
}
}
if (_currentframe == 3) {
if (targetCounter == 23) {
targetCounter = 0;
this.gotoAndStop(5);
}
}
if (_currentframe == 5) {
if (targetCounter == 53) {
targetCounter = 0;
this.gotoAndStop(7);
}
}
if (_currentframe == 7) {
if (targetCounter == 17) {
targetCounter = 0;
this.gotoAndStop(9);
}
}
if (_currentframe == 9) {
if (targetCounter == 48) {
if (_root.score > _global.mini1Target) {
_global.completedMini1 = true;
}
if (_root.score > _global.mini1Highscore) {
_global.mini1Highscore = _root.score;
}
_root.endExtrasFunction();
}
}
}
Instance of Symbol 192 MovieClip in Frame 27
onClipEvent (load) {
_root.score = 5000;
_root.currentScore.text = _root.score.toString();
_root.highScore.text = _global.mini1Highscore.toString();
}
onClipEvent (enterFrame) {
if (_root.score > 0) {
_root.score--;
} else {
_root.endExtrasFunction();
}
_root.currentScore.text = _root.score.toString();
_root.highScore.text = _global.mini1Highscore.toString();
}
Instance of Symbol 229 MovieClip "sword" in Frame 27
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Frame 28
music.stop();
music.attachSound("extrasmusic");
if (!_global.muteMusic) {
music.start(0, 10000);
}
score = 0;
Instance of Symbol 595 MovieClip in Frame 28
onClipEvent (load) {
happyTimer = 100;
happyControl = 66;
}
onClipEvent (enterFrame) {
if (happyTimer > 0) {
happyTimer--;
} else if (_currentframe == 1) {
if (happyControl > 12) {
happyControl = happyControl - 2;
}
this.play();
}
}
Instance of Symbol 595 MovieClip in Frame 28
onClipEvent (load) {
happyTimer = 90;
happyControl = 66;
}
onClipEvent (enterFrame) {
if (happyTimer > 0) {
happyTimer--;
} else if (_currentframe == 1) {
if (happyControl > 12) {
happyControl = happyControl - 2;
}
this.play();
}
}
Instance of Symbol 595 MovieClip in Frame 28
onClipEvent (load) {
happyTimer = 80;
happyControl = 66;
}
onClipEvent (enterFrame) {
if (happyTimer > 0) {
happyTimer--;
} else if (_currentframe == 1) {
if (happyControl > 12) {
happyControl = happyControl - 2;
}
this.play();
}
}
Instance of Symbol 595 MovieClip in Frame 28
onClipEvent (load) {
happyTimer = 70;
happyControl = 66;
}
onClipEvent (enterFrame) {
if (happyTimer > 0) {
happyTimer--;
} else if (_currentframe == 1) {
if (happyControl > 12) {
happyControl = happyControl - 2;
}
this.play();
}
}
Instance of Symbol 595 MovieClip in Frame 28
onClipEvent (load) {
happyTimer = 30;
happyControl = 66;
}
onClipEvent (enterFrame) {
if (happyTimer > 0) {
happyTimer--;
} else if (_currentframe == 1) {
if (happyControl > 12) {
happyControl = happyControl - 2;
}
this.play();
}
}
Instance of Symbol 595 MovieClip in Frame 28
onClipEvent (load) {
happyTimer = 20;
happyControl = 66;
}
onClipEvent (enterFrame) {
if (happyTimer > 0) {
happyTimer--;
} else if (_currentframe == 1) {
if (happyControl > 12) {
happyControl = happyControl - 2;
}
this.play();
}
}
Instance of Symbol 595 MovieClip in Frame 28
onClipEvent (load) {
happyTimer = 10;
happyControl = 68;
}
onClipEvent (enterFrame) {
if (happyTimer > 0) {
happyTimer--;
} else if (_currentframe == 1) {
if (happyControl > 12) {
happyControl = happyControl - 2;
}
this.play();
}
}
Instance of Symbol 595 MovieClip in Frame 28
onClipEvent (load) {
happyTimer = 0;
happyControl = 70;
}
onClipEvent (enterFrame) {
if (happyTimer > 0) {
happyTimer--;
} else if (_currentframe == 1) {
if (happyControl > 12) {
happyControl = happyControl - 2;
}
this.play();
}
}
Instance of Symbol 595 MovieClip in Frame 28
onClipEvent (load) {
happyTimer = 60;
happyControl = 66;
}
onClipEvent (enterFrame) {
if (happyTimer > 0) {
happyTimer--;
} else if (_currentframe == 1) {
if (happyControl > 12) {
happyControl = happyControl - 2;
}
this.play();
}
}
Instance of Symbol 595 MovieClip in Frame 28
onClipEvent (load) {
happyTimer = 50;
happyControl = 66;
}
onClipEvent (enterFrame) {
if (happyTimer > 0) {
happyTimer--;
} else if (_currentframe == 1) {
if (happyControl > 12) {
happyControl = happyControl - 2;
}
this.play();
}
}
Instance of Symbol 595 MovieClip in Frame 28
onClipEvent (load) {
happyTimer = 40;
happyControl = 66;
}
onClipEvent (enterFrame) {
if (happyTimer > 0) {
happyTimer--;
} else if (_currentframe == 1) {
if (happyControl > 12) {
happyControl = happyControl - 2;
}
this.play();
}
}
Instance of Symbol 192 MovieClip in Frame 28
onClipEvent (load) {
score = 0;
_root.currentScore.text = _root.score.toString();
_root.highScore.text = _global.mini10Highscore.toString();
}
onClipEvent (enterFrame) {
_root.currentScore.text = _root.score.toString();
_root.highScore.text = _global.mini10Highscore.toString();
if (_root.score > _global.mini10Highscore) {
_global.mini10Highscore = _root.score;
}
if (_root.score > _global.mini10Target) {
_global.completedMini10 = true;
}
}
Frame 29
music.stop();
music.attachSound("extrasmusic");
if (!_global.muteMusic) {
music.start(0, 10000);
}
score = 0;
Instance of Symbol 601 MovieClip "cannon1" in Frame 29
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 607 MovieClip "cannon2" in Frame 29
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip "cannon3" in Frame 29
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 607 MovieClip "cannon4" in Frame 29
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip "cannon5" in Frame 29
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 192 MovieClip in Frame 29
onClipEvent (load) {
shotTimer = 50;
shotControl = 100;
cannon = 0;
}
onClipEvent (enterFrame) {
if (shotTimer > 0) {
shotTimer--;
} else {
cannon = Math.ceil(Math.random() * 5);
if (_root["cannon" + cannon]._currentframe == 1) {
_root["cannon" + cannon].play();
if ((shotControl > 9) && (shotControl <= 40)) {
shotControl = shotControl - 1.5;
}
if (shotControl > 40) {
shotControl = shotControl - 5;
}
shotTimer = shotControl;
}
}
}
Instance of Symbol 192 MovieClip in Frame 29
onClipEvent (load) {
score = 0;
_root.currentScore.text = _root.score.toString();
_root.highScore.text = _global.mini2Highscore.toString();
}
onClipEvent (enterFrame) {
_root.currentScore.text = _root.score.toString();
_root.highScore.text = _global.mini2Highscore.toString();
if (_root.score > _global.mini2Highscore) {
_global.mini2Highscore = _root.score;
}
if (_root.score > _global.mini2Target) {
_global.completedMini2 = true;
}
}
Frame 30
_quality = "MEDIUM";
music.stop();
music.attachSound("extrasmusic");
if (!_global.muteMusic) {
music.start(0, 10000);
}
score = 0;
Instance of Symbol 643 MovieClip in Frame 30
onClipEvent (load) {
hover = 5;
xSpeed = 3;
moveUp = true;
}
onClipEvent (enterFrame) {
_y = (_y + hover);
if (xSpeed < 12) {
xSpeed = xSpeed + 0.005;
}
if ((hover > -6) && (moveUp)) {
hover--;
}
if (hover <= -6) {
moveUp = false;
}
if ((hover < 6) && (!moveUp)) {
hover++;
}
if (hover >= 6) {
moveUp = true;
hover = 5;
}
}
Instance of Symbol 645 MovieClip in Frame 30
onClipEvent (load) {
hover = -5;
xSpeed = 3;
moveUp = false;
}
onClipEvent (enterFrame) {
_y = (_y + hover);
if (xSpeed < 12) {
xSpeed = xSpeed + 0.005;
}
if ((hover > -6) && (moveUp)) {
hover--;
}
if (hover <= -6) {
moveUp = false;
}
if ((hover < 6) && (!moveUp)) {
hover++;
}
if (hover >= 6) {
moveUp = true;
hover = 5;
}
}
Instance of Symbol 192 MovieClip in Frame 30
onClipEvent (load) {
score = 0;
_root.currentScore.text = _root.score.toString();
_root.highScore.text = _global.mini8Highscore.toString();
}
onClipEvent (enterFrame) {
_root.currentScore.text = _root.score.toString();
_root.highScore.text = _global.mini8Highscore.toString();
if (_root.score > _global.mini8Highscore) {
_global.mini8Highscore = _root.score;
}
if (_root.score > _global.mini8Target) {
_global.completedMini8 = true;
}
}
Frame 31
music.stop();
music.attachSound("extrasmusic");
if (!_global.muteMusic) {
music.start(0, 10000);
}
score = 0;
Instance of Symbol 192 MovieClip in Frame 31
onClipEvent (load) {
shotTimer = 50;
shotControl = 100;
cannon = 0;
}
onClipEvent (enterFrame) {
if (shotTimer > 0) {
shotTimer--;
} else {
cannon = Math.ceil(Math.random() * 12);
if (_root.wheel["cannon" + cannon]._currentframe == 1) {
_root.wheel["cannon" + cannon].play();
if ((shotControl > 8) && (shotControl <= 45)) {
shotControl = shotControl - 1;
}
if (shotControl > 45) {
shotControl = shotControl - 5;
}
shotTimer = shotControl;
}
}
}
Instance of Symbol 647 MovieClip "wheel" in Frame 31
onClipEvent (load) {
rotateSpeed = 0.05;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotateSpeed);
if (rotateSpeed < 5) {
rotateSpeed = rotateSpeed + 0.002;
}
}
Instance of Symbol 192 MovieClip in Frame 31
onClipEvent (load) {
score = 0;
_root.currentScore.text = _root.score.toString();
_root.highScore.text = _global.mini5Highscore.toString();
}
onClipEvent (enterFrame) {
_root.currentScore.text = _root.score.toString();
_root.highScore.text = _global.mini5Highscore.toString();
if (_root.score > _global.mini5Highscore) {
_global.mini5Highscore = _root.score;
}
if (_root.score > _global.mini5Target) {
_global.completedMini5 = true;
}
}
Frame 32
music.stop();
music.attachSound("extrasmusic");
if (!_global.muteMusic) {
music.start(0, 10000);
}
score = 0;
Instance of Symbol 601 MovieClip "cannon1" in Frame 32
onClipEvent (load) {
this.gotoAndStop(1);
shotTimer = 65;
shotControl = 130;
}
onClipEvent (enterFrame) {
if (shotTimer > 0) {
shotTimer--;
} else {
this.play();
if (shotControl > 45) {
shotControl = shotControl - 5;
}
shotTimer = shotControl;
}
}
Instance of Symbol 601 MovieClip "cannon3" in Frame 32
onClipEvent (load) {
this.gotoAndStop(1);
shotTimer = 130;
shotControl = 130;
}
onClipEvent (enterFrame) {
if (shotTimer > 0) {
shotTimer--;
} else {
this.play();
if (shotControl > 45) {
shotControl = shotControl - 5;
}
shotTimer = shotControl;
}
}
Instance of Symbol 192 MovieClip in Frame 32
onClipEvent (load) {
score = 0;
_root.currentScore.text = _root.score.toString();
_root.highScore.text = _global.mini6Highscore.toString();
}
onClipEvent (enterFrame) {
_root.currentScore.text = _root.score.toString();
_root.highScore.text = _global.mini6Highscore.toString();
if (_root.score > _global.mini6Highscore) {
_global.mini6Highscore = _root.score;
}
if (_root.score > _global.mini6Target) {
_global.completedMini6 = true;
}
}
Instance of Symbol 229 MovieClip "sword" in Frame 32
onClipEvent (load) {
activated = true;
yMouse = 650 - _root._ymouse;
xMouse = 850 - _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
yMouse = 650 - _root._ymouse;
xMouse = 850 - _root._xmouse;
if (yMouse < 585) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 254 MovieClip "shield" in Frame 32
onClipEvent (load) {
shieldControl = true;
activated = false;
yMouse = 650 - _root._ymouse;
xMouse = 850 - _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width - 5;
} else {
weapon = 1;
_root.weaponFunction(weapon);
}
yMouse = 650 - _root._ymouse;
xMouse = 850 - _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (Key.isDown(32)) {
shieldControl = false;
} else {
shieldControl = true;
}
if (!activated) {
if (shieldControl) {
if (_root.statusBar.fatigue.fatigueBar._width < 105) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width + 2.5;
}
}
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 261 MovieClip "bow" in Frame 32
onClipEvent (load) {
activated = false;
i = 1;
yMouse = 650 - _root._ymouse;
xMouse = 850 - _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = 650 - _root._ymouse;
xMouse = 850 - _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
_root.parentHandFire.duplicateMovieClip("handfire" + i, _root.getNextHighestDepth());
i++;
}
}
Instance of Symbol 202 MovieClip "aimer" in Frame 32
onClipEvent (enterFrame) {
if (_root.bow.activated) {
yMouse = 650 - _root._ymouse;
xMouse = 850 - _root._xmouse;
if (yMouse > 65) {
_x = xMouse;
_y = yMouse;
}
} else {
_x = 1000;
}
}
onClipEvent (mouseDown) {
if (_root.bow.activated) {
attacking = true;
this.play();
}
}
onClipEvent (mouseUp) {
if (_root.bow.activated) {
attacking = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 257 MovieClip "parentHandFire" in Frame 32
onClipEvent (load) {
if (_name != "parentHandFire") {
_x = (850 - _root._xmouse);
_y = (650 - _root._ymouse);
}
}
onClipEvent (enterFrame) {
if (_name != "parentHandFire") {
if (_xscale > 10) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 204 MovieClip "angleControl" in Frame 32
onClipEvent (load) {
this._visible = false;
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
}
onClipEvent (enterFrame) {
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
if (this._x > _root.pointAccuracy.xMouse) {
angleB = (Math.asin(sinB) * 57.2957795130823) - 90;
}
if (this._x < _root.pointAccuracy.xMouse) {
angleB = (-(Math.asin(sinB) * 57.2957795130823)) - 270;
}
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 32
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if ((yMouse > 585) or _root.pointAccuracy.hitTest(_root.spellScroll)) {
_y = yMouse;
_x = xMouse;
} else {
_x = 1000;
}
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Frame 33
music.stop();
music.attachSound("extrasmusic");
if (!_global.muteMusic) {
music.start(0, 10000);
}
score = 0;
Instance of Symbol 664 MovieClip in Frame 33
onClipEvent (load) {
_x = ((Math.random() * 750) + 50);
_y = ((Math.random() * 500) + 75);
countdown = 150;
countdownControl = 150;
frameSet = Math.ceil(countdown / 5);
}
onClipEvent (enterFrame) {
frameSet = Math.ceil(countdownControl / 5);
if (countdown == (frameSet * 5)) {
this.gotoAndStop(5);
}
if (countdown == (frameSet * 4)) {
this.gotoAndStop(4);
}
if (countdown == (frameSet * 3)) {
this.gotoAndStop(3);
}
if (countdown == (frameSet * 2)) {
this.gotoAndStop(2);
}
if (countdown == frameSet) {
this.gotoAndStop(1);
}
if (countdown > 0) {
countdown--;
} else {
countdown = countdownControl;
_x = ((Math.random() * 750) + 50);
_y = ((Math.random() * 500) + 75);
}
}
Instance of Symbol 664 MovieClip in Frame 33
onClipEvent (load) {
_x = ((Math.random() * 750) + 50);
_y = ((Math.random() * 500) + 75);
countdown = 150;
countdownControl = 150;
frameSet = Math.ceil(countdown / 5);
}
onClipEvent (enterFrame) {
frameSet = Math.ceil(countdownControl / 5);
if (countdown == (frameSet * 5)) {
this.gotoAndStop(5);
}
if (countdown == (frameSet * 4)) {
this.gotoAndStop(4);
}
if (countdown == (frameSet * 3)) {
this.gotoAndStop(3);
}
if (countdown == (frameSet * 2)) {
this.gotoAndStop(2);
}
if (countdown == frameSet) {
this.gotoAndStop(1);
}
if (countdown > 0) {
countdown--;
} else {
countdown = countdownControl;
_x = ((Math.random() * 750) + 50);
_y = ((Math.random() * 500) + 75);
}
}
Instance of Symbol 664 MovieClip in Frame 33
onClipEvent (load) {
_x = ((Math.random() * 750) + 50);
_y = ((Math.random() * 500) + 75);
countdown = 150;
countdownControl = 150;
frameSet = Math.ceil(countdown / 5);
}
onClipEvent (enterFrame) {
frameSet = Math.ceil(countdownControl / 5);
if (countdown == (frameSet * 5)) {
this.gotoAndStop(5);
}
if (countdown == (frameSet * 4)) {
this.gotoAndStop(4);
}
if (countdown == (frameSet * 3)) {
this.gotoAndStop(3);
}
if (countdown == (frameSet * 2)) {
this.gotoAndStop(2);
}
if (countdown == frameSet) {
this.gotoAndStop(1);
}
if (countdown > 0) {
countdown--;
} else {
countdown = countdownControl;
_x = ((Math.random() * 750) + 50);
_y = ((Math.random() * 500) + 75);
}
}
Instance of Symbol 664 MovieClip in Frame 33
onClipEvent (load) {
_x = ((Math.random() * 750) + 50);
_y = ((Math.random() * 500) + 75);
countdown = 150;
countdownControl = 150;
frameSet = Math.ceil(countdown / 5);
}
onClipEvent (enterFrame) {
frameSet = Math.ceil(countdownControl / 5);
if (countdown == (frameSet * 5)) {
this.gotoAndStop(5);
}
if (countdown == (frameSet * 4)) {
this.gotoAndStop(4);
}
if (countdown == (frameSet * 3)) {
this.gotoAndStop(3);
}
if (countdown == (frameSet * 2)) {
this.gotoAndStop(2);
}
if (countdown == frameSet) {
this.gotoAndStop(1);
}
if (countdown > 0) {
countdown--;
} else {
countdown = countdownControl;
_x = ((Math.random() * 750) + 50);
_y = ((Math.random() * 500) + 75);
}
}
Instance of Symbol 672 MovieClip "target1" in Frame 33
onClipEvent (load) {
_x = ((Math.random() * 700) + 50);
_y = ((Math.random() * 500) + 75);
endCount = 0;
countdown = 350;
countdownControl = 350;
frameSet = Math.ceil(countdown / 5);
}
onClipEvent (enterFrame) {
frameSet = Math.ceil(countdownControl / 5);
if (countdown == (frameSet * 5)) {
this.gotoAndStop(5);
}
if (countdown == (frameSet * 4)) {
this.gotoAndStop(4);
}
if (countdown == (frameSet * 3)) {
this.gotoAndStop(3);
}
if (countdown == (frameSet * 2)) {
this.gotoAndStop(2);
}
if (countdown == frameSet) {
this.gotoAndStop(1);
}
if (countdown > 0) {
countdown--;
} else {
this.gotoAndStop(6);
if (countdown == 0) {
countdown = -1;
endCount++;
}
}
if (endCount >= 4) {
_root.endExtrasFunction();
}
}
Instance of Symbol 672 MovieClip in Frame 33
onClipEvent (load) {
_x = ((Math.random() * 700) + 50);
_y = ((Math.random() * 500) + 75);
countdown = 350;
countdownControl = 350;
frameSet = Math.ceil(countdown / 5);
}
onClipEvent (enterFrame) {
frameSet = Math.ceil(countdownControl / 5);
if (countdown == (frameSet * 5)) {
this.gotoAndStop(5);
}
if (countdown == (frameSet * 4)) {
this.gotoAndStop(4);
}
if (countdown == (frameSet * 3)) {
this.gotoAndStop(3);
}
if (countdown == (frameSet * 2)) {
this.gotoAndStop(2);
}
if (countdown == frameSet) {
this.gotoAndStop(1);
}
if (countdown > 0) {
countdown--;
} else {
this.gotoAndStop(6);
if (countdown == 0) {
countdown = -1;
_root.target1.endCount++;
}
}
}
Instance of Symbol 672 MovieClip in Frame 33
onClipEvent (load) {
_x = ((Math.random() * 700) + 50);
_y = ((Math.random() * 500) + 75);
countdown = 350;
countdownControl = 350;
frameSet = Math.ceil(countdown / 5);
}
onClipEvent (enterFrame) {
frameSet = Math.ceil(countdownControl / 5);
if (countdown == (frameSet * 5)) {
this.gotoAndStop(5);
}
if (countdown == (frameSet * 4)) {
this.gotoAndStop(4);
}
if (countdown == (frameSet * 3)) {
this.gotoAndStop(3);
}
if (countdown == (frameSet * 2)) {
this.gotoAndStop(2);
}
if (countdown == frameSet) {
this.gotoAndStop(1);
}
if (countdown > 0) {
countdown--;
} else {
this.gotoAndStop(6);
if (countdown == 0) {
countdown = -1;
_root.target1.endCount++;
}
}
}
Instance of Symbol 672 MovieClip in Frame 33
onClipEvent (load) {
_x = ((Math.random() * 700) + 50);
_y = ((Math.random() * 500) + 75);
countdown = 350;
countdownControl = 350;
frameSet = Math.ceil(countdown / 5);
}
onClipEvent (enterFrame) {
frameSet = Math.ceil(countdownControl / 5);
if (countdown == (frameSet * 5)) {
this.gotoAndStop(5);
}
if (countdown == (frameSet * 4)) {
this.gotoAndStop(4);
}
if (countdown == (frameSet * 3)) {
this.gotoAndStop(3);
}
if (countdown == (frameSet * 2)) {
this.gotoAndStop(2);
}
if (countdown == frameSet) {
this.gotoAndStop(1);
}
if (countdown > 0) {
countdown--;
} else {
this.gotoAndStop(6);
if (countdown == 0) {
countdown = -1;
_root.target1.endCount++;
}
}
}
Instance of Symbol 192 MovieClip in Frame 33
onClipEvent (load) {
score = 0;
_root.currentScore.text = _root.score.toString();
_root.highScore.text = _global.mini4Highscore.toString();
}
onClipEvent (enterFrame) {
_root.currentScore.text = _root.score.toString();
_root.highScore.text = _global.mini4Highscore.toString();
if (_root.score > _global.mini4Highscore) {
_global.mini4Highscore = _root.score;
}
if (_root.score > _global.mini4Target) {
_global.completedMini4 = true;
}
}
Instance of Symbol 254 MovieClip "shield" in Frame 33
onClipEvent (load) {
shieldControl = true;
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width - 5;
} else {
weapon = 1;
_root.weaponFunction(weapon);
}
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (Key.isDown(32)) {
shieldControl = false;
} else {
shieldControl = true;
}
if (!activated) {
if (shieldControl) {
if (_root.statusBar.fatigue.fatigueBar._width < 105) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width + 2.5;
}
}
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 257 MovieClip "parentHandFire" in Frame 33
onClipEvent (load) {
if (_name != "parentHandFire") {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (_name != "parentHandFire") {
if (_xscale > 10) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 261 MovieClip "bow" in Frame 33
onClipEvent (load) {
activated = false;
i = 1;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
_root.parentHandFire.duplicateMovieClip("handfire" + i, _root.getNextHighestDepth());
i++;
}
}
Instance of Symbol 202 MovieClip "aimer" in Frame 33
onClipEvent (enterFrame) {
if (_root.bow.activated) {
xMouse = _root._xmouse;
yMouse = _root._ymouse;
if (yMouse > 65) {
_x = xMouse;
_y = yMouse;
}
} else {
_x = 1000;
}
}
onClipEvent (mouseDown) {
if (_root.bow.activated) {
attacking = true;
this.play();
}
}
onClipEvent (mouseUp) {
if (_root.bow.activated) {
attacking = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 229 MovieClip "sword" in Frame 33
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 33
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if ((yMouse < 65) or _root.pointAccuracy.hitTest(_root.spellScroll)) {
_y = yMouse;
_x = xMouse;
} else {
_x = 1000;
}
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Frame 34
music.stop();
music.attachSound("extrasmusic");
if (!_global.muteMusic) {
music.start(0, 10000);
}
score = 0;
Instance of Symbol 678 MovieClip "cannon1" in Frame 34
onClipEvent (load) {
this.gotoAndStop(1);
shotTimer = 150;
shotControl = 150;
}
onClipEvent (enterFrame) {
if (shotTimer > 0) {
shotTimer--;
} else {
this.play();
if (shotControl > 45) {
shotControl = shotControl - 5;
}
shotTimer = shotControl;
}
}
Instance of Symbol 678 MovieClip "cannon2" in Frame 34
onClipEvent (load) {
this.gotoAndStop(1);
shotTimer = 100;
shotControl = 150;
}
onClipEvent (enterFrame) {
if (shotTimer > 0) {
shotTimer--;
} else {
this.play();
if (shotControl > 45) {
shotControl = shotControl - 5;
}
shotTimer = shotControl;
}
}
Instance of Symbol 192 MovieClip in Frame 34
onClipEvent (load) {
score = 0;
_root.currentScore.text = _root.score.toString();
_root.highScore.text = _global.mini7Highscore.toString();
}
onClipEvent (enterFrame) {
_root.currentScore.text = _root.score.toString();
_root.highScore.text = _global.mini7Highscore.toString();
if (_root.score > _global.mini7Highscore) {
_global.mini7Highscore = _root.score;
}
if (_root.score > _global.mini7Target) {
_global.completedMini7 = true;
}
}
Instance of Symbol 229 MovieClip "sword2" in Frame 34
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = 800 - _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
yMouse = _root._ymouse;
xMouse = 800 - _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
if (_root._xmouse <= 380) {
_x = xMouse;
}
_rotation = ((-_root.angleControl.angleB) + 180);
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 204 MovieClip "angleControl" in Frame 34
onClipEvent (load) {
this._visible = false;
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
}
onClipEvent (enterFrame) {
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
if (this._x > _root.pointAccuracy.xMouse) {
angleB = (Math.asin(sinB) * 57.2957795130823) - 90;
}
if (this._x < _root.pointAccuracy.xMouse) {
angleB = (-(Math.asin(sinB) * 57.2957795130823)) - 270;
}
}
Instance of Symbol 153 MovieClip "pointAccuracy" in Frame 34
onClipEvent (load) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_visible = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
}
Instance of Symbol 234 MovieClip "runeOne" in Frame 34
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "1";
}
}
Instance of Symbol 237 MovieClip "runeTwo" in Frame 34
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "2";
}
}
Instance of Symbol 240 MovieClip "runeThree" in Frame 34
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "3";
}
}
Instance of Symbol 243 MovieClip "runeFour" in Frame 34
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "4";
}
}
Instance of Symbol 246 MovieClip "runeFive" in Frame 34
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "5";
}
}
Instance of Symbol 250 MovieClip "wand" in Frame 34
onClipEvent (load) {
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 192 MovieClip "conCirc" in Frame 34
onClipEvent (load) {
spellOrder = new String("");
spell = "";
weaponSet = "sword";
qualityControl = 1;
weaponControl = true;
weapon = 1;
}
onClipEvent (enterFrame) {
if (_root.rootSpellOrder.length == 5) {
spellOrder = _root.rootSpellOrder;
_root.magicAttackFunction(spellOrder);
}
if (Key.isDown(16)) {
if (_root.sword.activated && (weaponControl)) {
weapon = 2;
_root.weaponFunction(weapon);
weaponControl = false;
}
if (_root.bow.activated && (weaponControl)) {
weapon = 1;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
if (Key.isDown(32)) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
if ((_root.sword.activated or _root.bow.activated) && (weaponControl)) {
if (_root.sword.activated) {
weaponSet = "sword";
}
if (_root.bow.activated) {
weaponSet = "bow";
}
weapon = 4;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
} else if (_root.shield.activated) {
if (weaponSet == "sword") {
weapon = 1;
}
if (weaponSet == "bow") {
weapon = 2;
}
_root.weaponFunction(weapon);
weaponControl = false;
}
if ((!Key.isDown(16)) && (!Key.isDown(32))) {
weaponControl = true;
}
}
Instance of Symbol 254 MovieClip "shield" in Frame 34
onClipEvent (load) {
shieldControl = true;
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width - 5;
} else {
weapon = 1;
_root.weaponFunction(weapon);
}
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (Key.isDown(32)) {
shieldControl = false;
} else {
shieldControl = true;
}
if (!activated) {
if (shieldControl) {
if (_root.statusBar.fatigue.fatigueBar._width < 105) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width + 2.5;
}
}
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 257 MovieClip "parentHandFire" in Frame 34
onClipEvent (load) {
if (_name != "parentHandFire") {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (_name != "parentHandFire") {
if (_xscale > 10) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 261 MovieClip "bow" in Frame 34
onClipEvent (load) {
activated = false;
i = 1;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
_root.parentHandFire.duplicateMovieClip("handfire" + i, _root.getNextHighestDepth());
i++;
}
}
Instance of Symbol 202 MovieClip "aimer" in Frame 34
onClipEvent (enterFrame) {
if (_root.bow.activated) {
xMouse = _root._xmouse;
yMouse = _root._ymouse;
if (yMouse > 65) {
_x = xMouse;
_y = yMouse;
}
} else {
_x = 1000;
}
}
onClipEvent (mouseDown) {
if (_root.bow.activated) {
attacking = true;
this.play();
}
}
onClipEvent (mouseUp) {
if (_root.bow.activated) {
attacking = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 229 MovieClip "sword" in Frame 34
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
if (xMouse <= 380) {
_x = xMouse;
}
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 202 MovieClip "aimer" in Frame 35
onClipEvent (enterFrame) {
if (_root.bow.activated) {
xMouse = _root._xmouse;
yMouse = _root._ymouse;
if (yMouse > 65) {
_x = xMouse;
_y = yMouse;
}
} else {
_x = 1000;
}
}
onClipEvent (mouseDown) {
if (_root.bow.activated) {
attacking = true;
this.play();
}
}
onClipEvent (mouseUp) {
if (_root.bow.activated) {
attacking = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 204 MovieClip "angleControl" in Frame 35
onClipEvent (load) {
this._visible = false;
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
}
onClipEvent (enterFrame) {
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
if (this._x > _root.pointAccuracy.xMouse) {
angleB = (Math.asin(sinB) * 57.2957795130823) - 90;
}
if (this._x < _root.pointAccuracy.xMouse) {
angleB = (-(Math.asin(sinB) * 57.2957795130823)) - 270;
}
}
Instance of Symbol 153 MovieClip "pointAccuracy" in Frame 35
onClipEvent (load) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_visible = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
}
Instance of Symbol 229 MovieClip "sword" in Frame 35
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
delay = false;
delayTimer = 4;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
if (!delay) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
} else if (delayTimer > 0) {
delayTimer--;
} else {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
delayTimer = 4;
}
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 234 MovieClip "runeOne" in Frame 35
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "1";
}
}
Instance of Symbol 237 MovieClip "runeTwo" in Frame 35
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "2";
}
}
Instance of Symbol 240 MovieClip "runeThree" in Frame 35
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "3";
}
}
Instance of Symbol 243 MovieClip "runeFour" in Frame 35
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "4";
}
}
Instance of Symbol 246 MovieClip "runeFive" in Frame 35
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "5";
}
}
Instance of Symbol 250 MovieClip "wand" in Frame 35
onClipEvent (load) {
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 254 MovieClip "shield" in Frame 35
onClipEvent (load) {
shieldControl = true;
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width - 5;
} else {
weapon = 1;
_root.weaponFunction(weapon);
}
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (Key.isDown(32)) {
shieldControl = false;
} else {
shieldControl = true;
}
if (!activated) {
if (shieldControl) {
if (_root.statusBar.fatigue.fatigueBar._width < 105) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width + 2.5;
}
}
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 257 MovieClip "parentHandFire" in Frame 35
onClipEvent (load) {
if (_name != "parentHandFire") {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (_name != "parentHandFire") {
if (_xscale > 10) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 261 MovieClip "bow" in Frame 35
onClipEvent (load) {
activated = false;
i = 1;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
_root.parentHandFire.duplicateMovieClip("handfire" + i, _root.getNextHighestDepth());
i++;
}
}
Instance of Symbol 192 MovieClip "conCirc" in Frame 35
onClipEvent (load) {
spellOrder = new String("");
spell = "";
weaponSet = "sword";
qualityControl = 1;
weaponControl = true;
weapon = 1;
}
onClipEvent (enterFrame) {
if (!_root.sword.frozen) {
if (_root.rootSpellOrder.length == 5) {
spellOrder = _root.rootSpellOrder;
_root.magicAttackFunction(spellOrder);
}
if (Key.isDown(16)) {
if (_root.sword.activated && (weaponControl)) {
weapon = 2;
_root.weaponFunction(weapon);
weaponControl = false;
}
if (_root.bow.activated && (weaponControl)) {
weapon = 1;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
if (Key.isDown(32)) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
if ((_root.sword.activated or _root.bow.activated) && (weaponControl)) {
if (_root.sword.activated) {
weaponSet = "sword";
}
if (_root.bow.activated) {
weaponSet = "bow";
}
weapon = 4;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
} else if (_root.shield.activated) {
if (weaponSet == "sword") {
weapon = 1;
}
if (weaponSet == "bow") {
weapon = 2;
}
_root.weaponFunction(weapon);
weaponControl = false;
}
if ((!Key.isDown(16)) && (!Key.isDown(32))) {
weaponControl = true;
}
}
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 35
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if ((yMouse < 65) or _root.pointAccuracy.hitTest(_root.spellScroll)) {
_y = yMouse;
_x = xMouse;
} else {
_x = 1000;
}
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Frame 36
stop();
music.stop();
music.attachSound("battle1");
if (!_global.muteMusic) {
music.start(0, 10000);
}
Instance of Symbol 711 MovieClip "level" in Frame 36
onClipEvent (load) {
startY = _y;
moveDown = _y - 80;
}
Instance of Symbol 275 MovieClip "dodgeDown" in Frame 36
onClipEvent (load) {
activated = false;
moveControl = false;
}
onClipEvent (enterFrame) {
if (!activated) {
_x = 1000;
}
if (activated) {
_x = (Stage.width / 2);
}
if (hitTest(_root.pointAccuracy)) {
if (!moveControl) {
_root.dodgeSound.start();
}
_root.level._y = _root.level.moveDown;
moveControl = true;
}
if (moveControl) {
if (!hitTest(_root.pointAccuracy)) {
_root.level._y = _root.level.startY;
moveControl = false;
}
}
}
Instance of Symbol 713 MovieClip "water" in Frame 36
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 714 MovieClip "deathFade" in Frame 36
onClipEvent (load) {
activated = false;
_alpha = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if (activated) {
if (timer == 0) {
_root.music.stop();
_root.playerDeath.start();
}
_alpha = (_alpha + 5);
timer++;
if (timer >= 30) {
_root.gotoAndStop("gameover");
}
}
}
Instance of Symbol 557 MovieClip in Frame 37
onClipEvent (load) {
_global.stageSelect = "main";
}
Instance of Symbol 721 MovieClip in Frame 38
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 728 MovieClip "ice1" in Frame 38
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (activated) {
this.play();
_x = (Stage.width / 2);
_y = 325;
} else {
_x = 1000;
_y = 1000;
this.gotoAndStop(1);
}
}
Instance of Symbol 202 MovieClip "aimer" in Frame 38
onClipEvent (enterFrame) {
if (_root.bow.activated) {
xMouse = _root._xmouse;
yMouse = _root._ymouse;
if (yMouse > 65) {
_x = xMouse;
_y = yMouse;
}
} else {
_x = 1000;
}
}
onClipEvent (mouseDown) {
if (_root.bow.activated) {
attacking = true;
this.play();
}
}
onClipEvent (mouseUp) {
if (_root.bow.activated) {
attacking = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 204 MovieClip "angleControl" in Frame 38
onClipEvent (load) {
this._visible = false;
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
}
onClipEvent (enterFrame) {
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
if (this._x > _root.pointAccuracy.xMouse) {
angleB = (Math.asin(sinB) * 57.2957795130823) - 90;
}
if (this._x < _root.pointAccuracy.xMouse) {
angleB = (-(Math.asin(sinB) * 57.2957795130823)) - 270;
}
}
Instance of Symbol 153 MovieClip "pointAccuracy" in Frame 38
onClipEvent (load) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_visible = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
}
Instance of Symbol 229 MovieClip "sword" in Frame 38
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
delay = false;
delayTimer = 4;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
if (!delay) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
} else if (delayTimer > 0) {
delayTimer--;
} else {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
delayTimer = 4;
}
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 234 MovieClip "runeOne" in Frame 38
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "1";
}
}
Instance of Symbol 237 MovieClip "runeTwo" in Frame 38
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "2";
}
}
Instance of Symbol 240 MovieClip "runeThree" in Frame 38
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "3";
}
}
Instance of Symbol 243 MovieClip "runeFour" in Frame 38
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "4";
}
}
Instance of Symbol 246 MovieClip "runeFive" in Frame 38
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "5";
}
}
Instance of Symbol 250 MovieClip "wand" in Frame 38
onClipEvent (load) {
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 254 MovieClip "shield" in Frame 38
onClipEvent (load) {
shieldControl = true;
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width - 5;
} else {
weapon = 1;
_root.weaponFunction(weapon);
}
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (Key.isDown(32)) {
shieldControl = false;
} else {
shieldControl = true;
}
if (!activated) {
if (shieldControl) {
if (_root.statusBar.fatigue.fatigueBar._width < 105) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width + 2.5;
}
}
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 257 MovieClip "parentHandFire" in Frame 38
onClipEvent (load) {
if (_name != "parentHandFire") {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (_name != "parentHandFire") {
if (_xscale > 10) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 261 MovieClip "bow" in Frame 38
onClipEvent (load) {
activated = false;
i = 1;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
_root.parentHandFire.duplicateMovieClip("handfire" + i, _root.getNextHighestDepth());
i++;
}
}
Instance of Symbol 192 MovieClip "conCirc" in Frame 38
onClipEvent (load) {
spellOrder = new String("");
spell = "";
weaponSet = "sword";
qualityControl = 1;
weaponControl = true;
weapon = 1;
}
onClipEvent (enterFrame) {
if (!_root.sword.frozen) {
if (_root.rootSpellOrder.length == 5) {
spellOrder = _root.rootSpellOrder;
_root.magicAttackFunction(spellOrder);
}
if (Key.isDown(16)) {
if (_root.sword.activated && (weaponControl)) {
weapon = 2;
_root.weaponFunction(weapon);
weaponControl = false;
}
if (_root.bow.activated && (weaponControl)) {
weapon = 1;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
if (Key.isDown(32)) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
if ((_root.sword.activated or _root.bow.activated) && (weaponControl)) {
if (_root.sword.activated) {
weaponSet = "sword";
}
if (_root.bow.activated) {
weaponSet = "bow";
}
weapon = 4;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
} else if (_root.shield.activated) {
if (weaponSet == "sword") {
weapon = 1;
}
if (weaponSet == "bow") {
weapon = 2;
}
_root.weaponFunction(weapon);
weaponControl = false;
}
if ((!Key.isDown(16)) && (!Key.isDown(32))) {
weaponControl = true;
}
}
}
Frame 39
Mouse.hide();
stop();
music.stop();
music.attachSound("battle2");
if (!_global.muteMusic) {
music.start(0, 10000);
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 39
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if ((yMouse < 65) or _root.pointAccuracy.hitTest(_root.spellScroll)) {
_y = yMouse;
_x = xMouse;
} else {
_x = 1000;
}
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Instance of Symbol 714 MovieClip "deathFade" in Frame 39
onClipEvent (load) {
activated = false;
_alpha = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if (activated) {
if (timer == 0) {
_root.music.stop();
_root.playerDeath.start();
}
_alpha = (_alpha + 5);
timer++;
if (timer >= 30) {
_root.gotoAndStop("gameover");
}
}
}
Instance of Symbol 728 MovieClip "ice1" in Frame 40
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (activated) {
this.play();
_x = (Stage.width / 2);
_y = 325;
} else {
_x = 1000;
_y = 1000;
this.gotoAndStop(1);
}
}
Instance of Symbol 557 MovieClip in Frame 40
onClipEvent (load) {
_global.stageSelect = "main";
}
Instance of Symbol 202 MovieClip "aimer" in Frame 41
onClipEvent (enterFrame) {
if (_root.bow.activated) {
xMouse = _root._xmouse;
yMouse = _root._ymouse;
if (yMouse > 65) {
_x = xMouse;
_y = yMouse;
}
} else {
_x = 1000;
}
}
onClipEvent (mouseDown) {
if (_root.bow.activated) {
attacking = true;
this.play();
}
}
onClipEvent (mouseUp) {
if (_root.bow.activated) {
attacking = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 204 MovieClip "angleControl" in Frame 41
onClipEvent (load) {
this._visible = false;
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
}
onClipEvent (enterFrame) {
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
if (this._x > _root.pointAccuracy.xMouse) {
angleB = (Math.asin(sinB) * 57.2957795130823) - 90;
}
if (this._x < _root.pointAccuracy.xMouse) {
angleB = (-(Math.asin(sinB) * 57.2957795130823)) - 270;
}
}
Instance of Symbol 153 MovieClip "pointAccuracy" in Frame 41
onClipEvent (load) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_visible = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
}
Instance of Symbol 229 MovieClip "sword" in Frame 41
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
delay = false;
delayTimer = 4;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
if (!delay) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
} else if (delayTimer > 0) {
delayTimer--;
} else {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
delayTimer = 4;
}
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 234 MovieClip "runeOne" in Frame 41
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "1";
}
}
Instance of Symbol 237 MovieClip "runeTwo" in Frame 41
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "2";
}
}
Instance of Symbol 240 MovieClip "runeThree" in Frame 41
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "3";
}
}
Instance of Symbol 243 MovieClip "runeFour" in Frame 41
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "4";
}
}
Instance of Symbol 246 MovieClip "runeFive" in Frame 41
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "5";
}
}
Instance of Symbol 250 MovieClip "wand" in Frame 41
onClipEvent (load) {
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 254 MovieClip "shield" in Frame 41
onClipEvent (load) {
shieldControl = true;
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width - 5;
} else {
weapon = 1;
_root.weaponFunction(weapon);
}
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (Key.isDown(32)) {
shieldControl = false;
} else {
shieldControl = true;
}
if (!activated) {
if (shieldControl) {
if (_root.statusBar.fatigue.fatigueBar._width < 105) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width + 2.5;
}
}
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 257 MovieClip "parentHandFire" in Frame 41
onClipEvent (load) {
if (_name != "parentHandFire") {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (_name != "parentHandFire") {
if (_xscale > 10) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 261 MovieClip "bow" in Frame 41
onClipEvent (load) {
activated = false;
i = 1;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
_root.parentHandFire.duplicateMovieClip("handfire" + i, _root.getNextHighestDepth());
i++;
}
}
Instance of Symbol 192 MovieClip "conCirc" in Frame 41
onClipEvent (load) {
spellOrder = new String("");
spell = "";
weaponSet = "sword";
qualityControl = 1;
weaponControl = true;
weapon = 1;
}
onClipEvent (enterFrame) {
if (!_root.sword.frozen) {
if (_root.rootSpellOrder.length == 5) {
spellOrder = _root.rootSpellOrder;
_root.magicAttackFunction(spellOrder);
}
if (Key.isDown(16)) {
if (_root.sword.activated && (weaponControl)) {
weapon = 2;
_root.weaponFunction(weapon);
weaponControl = false;
}
if (_root.bow.activated && (weaponControl)) {
weapon = 1;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
if (Key.isDown(32)) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
if ((_root.sword.activated or _root.bow.activated) && (weaponControl)) {
if (_root.sword.activated) {
weaponSet = "sword";
}
if (_root.bow.activated) {
weaponSet = "bow";
}
weapon = 4;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
} else if (_root.shield.activated) {
if (weaponSet == "sword") {
weapon = 1;
}
if (weaponSet == "bow") {
weapon = 2;
}
_root.weaponFunction(weapon);
weaponControl = false;
}
if ((!Key.isDown(16)) && (!Key.isDown(32))) {
weaponControl = true;
}
}
}
Frame 42
Mouse.hide();
stop();
music.stop();
music.attachSound("battle3");
if (!_global.muteMusic) {
music.start(0, 10000);
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 42
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if ((yMouse < 65) or _root.pointAccuracy.hitTest(_root.spellScroll)) {
_y = yMouse;
_x = xMouse;
} else {
_x = 1000;
}
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Instance of Symbol 714 MovieClip "deathFade" in Frame 42
onClipEvent (load) {
activated = false;
_alpha = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if (activated) {
if (timer == 0) {
_root.music.stop();
_root.playerDeath.start();
}
_alpha = (_alpha + 5);
timer++;
if (timer >= 30) {
_root.gotoAndStop("gameover");
}
}
}
Instance of Symbol 557 MovieClip in Frame 43
onClipEvent (load) {
_global.stageSelect = "main";
}
Instance of Symbol 202 MovieClip "aimer" in Frame 44
onClipEvent (enterFrame) {
if (_root.bow.activated) {
xMouse = _root._xmouse;
yMouse = _root._ymouse;
if (yMouse > 65) {
_x = xMouse;
_y = yMouse;
}
} else {
_x = 1000;
}
}
onClipEvent (mouseDown) {
if (_root.bow.activated) {
attacking = true;
this.play();
}
}
onClipEvent (mouseUp) {
if (_root.bow.activated) {
attacking = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 204 MovieClip "angleControl" in Frame 44
onClipEvent (load) {
this._visible = false;
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
}
onClipEvent (enterFrame) {
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
if (this._x > _root.pointAccuracy.xMouse) {
angleB = (Math.asin(sinB) * 57.2957795130823) - 90;
}
if (this._x < _root.pointAccuracy.xMouse) {
angleB = (-(Math.asin(sinB) * 57.2957795130823)) - 270;
}
}
Instance of Symbol 153 MovieClip "pointAccuracy" in Frame 44
onClipEvent (load) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_visible = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
}
Instance of Symbol 229 MovieClip "sword" in Frame 44
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
delay = false;
delayTimer = 4;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
if (!delay) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
} else if (delayTimer > 0) {
delayTimer--;
} else {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
delayTimer = 4;
}
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 234 MovieClip "runeOne" in Frame 44
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "1";
}
}
Instance of Symbol 237 MovieClip "runeTwo" in Frame 44
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "2";
}
}
Instance of Symbol 240 MovieClip "runeThree" in Frame 44
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "3";
}
}
Instance of Symbol 243 MovieClip "runeFour" in Frame 44
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "4";
}
}
Instance of Symbol 246 MovieClip "runeFive" in Frame 44
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "5";
}
}
Instance of Symbol 250 MovieClip "wand" in Frame 44
onClipEvent (load) {
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 254 MovieClip "shield" in Frame 44
onClipEvent (load) {
shieldControl = true;
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width - 5;
} else {
weapon = 1;
_root.weaponFunction(weapon);
}
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (Key.isDown(32)) {
shieldControl = false;
} else {
shieldControl = true;
}
if (!activated) {
if (shieldControl) {
if (_root.statusBar.fatigue.fatigueBar._width < 105) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width + 2.5;
}
}
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 257 MovieClip "parentHandFire" in Frame 44
onClipEvent (load) {
if (_name != "parentHandFire") {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (_name != "parentHandFire") {
if (_xscale > 10) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 261 MovieClip "bow" in Frame 44
onClipEvent (load) {
activated = false;
i = 1;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
_root.parentHandFire.duplicateMovieClip("handfire" + i, _root.getNextHighestDepth());
i++;
}
}
Instance of Symbol 192 MovieClip "conCirc" in Frame 44
onClipEvent (load) {
spellOrder = new String("");
spell = "";
weaponSet = "sword";
qualityControl = 1;
weaponControl = true;
weapon = 1;
}
onClipEvent (enterFrame) {
if (!_root.sword.frozen) {
if (_root.rootSpellOrder.length == 5) {
spellOrder = _root.rootSpellOrder;
_root.magicAttackFunction(spellOrder);
}
if (Key.isDown(16)) {
if (_root.sword.activated && (weaponControl)) {
weapon = 2;
_root.weaponFunction(weapon);
weaponControl = false;
}
if (_root.bow.activated && (weaponControl)) {
weapon = 1;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
if (Key.isDown(32)) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
if ((_root.sword.activated or _root.bow.activated) && (weaponControl)) {
if (_root.sword.activated) {
weaponSet = "sword";
}
if (_root.bow.activated) {
weaponSet = "bow";
}
weapon = 4;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
} else if (_root.shield.activated) {
if (weaponSet == "sword") {
weapon = 1;
}
if (weaponSet == "bow") {
weapon = 2;
}
_root.weaponFunction(weapon);
weaponControl = false;
}
if ((!Key.isDown(16)) && (!Key.isDown(32))) {
weaponControl = true;
}
}
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 44
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if ((yMouse < 65) or _root.pointAccuracy.hitTest(_root.spellScroll)) {
_y = yMouse;
_x = xMouse;
} else {
_x = 1000;
}
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Frame 45
Mouse.hide();
stop();
music.stop();
music.attachSound("battle1");
if (!_global.muteMusic) {
music.start(0, 10000);
}
Instance of Symbol 947 MovieClip "level" in Frame 45
onClipEvent (load) {
startY = _y;
moveDown = _y - 80;
}
Instance of Symbol 275 MovieClip "dodgeDown" in Frame 45
onClipEvent (load) {
activated = false;
moveControl = false;
_x = 1000;
}
onClipEvent (enterFrame) {
if (!activated) {
_x = 1000;
}
if (activated) {
_x = (Stage.width / 2);
}
if (hitTest(_root.pointAccuracy)) {
if (!moveControl) {
_root.dodgeSound.start();
}
_root.level._y = _root.level.moveDown;
moveControl = true;
}
if (moveControl) {
if (!hitTest(_root.pointAccuracy)) {
_root.level._y = _root.level.startY;
moveControl = false;
}
}
}
Instance of Symbol 714 MovieClip "deathFade" in Frame 45
onClipEvent (load) {
activated = false;
_alpha = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if (activated) {
if (timer == 0) {
_root.music.stop();
_root.playerDeath.start();
}
_alpha = (_alpha + 5);
timer++;
if (timer >= 30) {
_root.gotoAndStop("gameover");
}
}
}
Instance of Symbol 557 MovieClip in Frame 46
onClipEvent (load) {
_global.stageSelect = "main";
}
Frame 47
_quality = "MEDIUM";
Instance of Symbol 202 MovieClip "aimer" in Frame 47
onClipEvent (enterFrame) {
if (_root.bow.activated) {
xMouse = _root._xmouse;
yMouse = _root._ymouse;
if (yMouse > 65) {
_x = xMouse;
_y = yMouse;
}
} else {
_x = 1000;
}
}
onClipEvent (mouseDown) {
if (_root.bow.activated) {
attacking = true;
this.play();
}
}
onClipEvent (mouseUp) {
if (_root.bow.activated) {
attacking = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 204 MovieClip "angleControl" in Frame 47
onClipEvent (load) {
this._visible = false;
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
}
onClipEvent (enterFrame) {
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
if (this._x > _root.pointAccuracy.xMouse) {
angleB = (Math.asin(sinB) * 57.2957795130823) - 90;
}
if (this._x < _root.pointAccuracy.xMouse) {
angleB = (-(Math.asin(sinB) * 57.2957795130823)) - 270;
}
}
Instance of Symbol 153 MovieClip "pointAccuracy" in Frame 47
onClipEvent (load) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_visible = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
}
Instance of Symbol 229 MovieClip "sword" in Frame 47
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
delay = false;
delayTimer = 4;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
if (!delay) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
} else if (delayTimer > 0) {
delayTimer--;
} else {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
delayTimer = 4;
}
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 234 MovieClip "runeOne" in Frame 47
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "1";
}
}
Instance of Symbol 237 MovieClip "runeTwo" in Frame 47
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "2";
}
}
Instance of Symbol 240 MovieClip "runeThree" in Frame 47
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "3";
}
}
Instance of Symbol 243 MovieClip "runeFour" in Frame 47
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "4";
}
}
Instance of Symbol 246 MovieClip "runeFive" in Frame 47
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "5";
}
}
Instance of Symbol 250 MovieClip "wand" in Frame 47
onClipEvent (load) {
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 254 MovieClip "shield" in Frame 47
onClipEvent (load) {
shieldControl = true;
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width - 5;
} else {
weapon = 1;
_root.weaponFunction(weapon);
}
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (Key.isDown(32)) {
shieldControl = false;
} else {
shieldControl = true;
}
if (!activated) {
if (shieldControl) {
if (_root.statusBar.fatigue.fatigueBar._width < 105) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width + 2.5;
}
}
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 257 MovieClip "parentHandFire" in Frame 47
onClipEvent (load) {
if (_name != "parentHandFire") {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (_name != "parentHandFire") {
if (_xscale > 10) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 261 MovieClip "bow" in Frame 47
onClipEvent (load) {
activated = false;
i = 1;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
_root.parentHandFire.duplicateMovieClip("handfire" + i, _root.getNextHighestDepth());
i++;
}
}
Instance of Symbol 192 MovieClip "conCirc" in Frame 47
onClipEvent (load) {
spellOrder = new String("");
spell = "";
weaponSet = "sword";
qualityControl = 1;
weaponControl = true;
weapon = 1;
}
onClipEvent (enterFrame) {
if (!_root.sword.frozen) {
if (_root.rootSpellOrder.length == 5) {
spellOrder = _root.rootSpellOrder;
_root.magicAttackFunction(spellOrder);
}
if (Key.isDown(16)) {
if (_root.sword.activated && (weaponControl)) {
weapon = 2;
_root.weaponFunction(weapon);
weaponControl = false;
}
if (_root.bow.activated && (weaponControl)) {
weapon = 1;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
if (Key.isDown(32)) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
if ((_root.sword.activated or _root.bow.activated) && (weaponControl)) {
if (_root.sword.activated) {
weaponSet = "sword";
}
if (_root.bow.activated) {
weaponSet = "bow";
}
weapon = 4;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
} else if (_root.shield.activated) {
if (weaponSet == "sword") {
weapon = 1;
}
if (weaponSet == "bow") {
weapon = 2;
}
_root.weaponFunction(weapon);
weaponControl = false;
}
if ((!Key.isDown(16)) && (!Key.isDown(32))) {
weaponControl = true;
}
}
}
Frame 48
Mouse.hide();
stop();
music.stop();
music.attachSound("battle2");
if (!_global.muteMusic) {
music.start(0, 10000);
}
Instance of Symbol 1007 MovieClip "parentFire" in Frame 48
onClipEvent (load) {
if (_name == "parentFire") {
activated = false;
timer = 4;
i = 1;
c = 0;
xPos = Stage.width / 2;
yPos = 425;
_visible = false;
} else {
_root.fireTrail.start();
}
_xscale = 25;
_yscale = _xscale;
}
onClipEvent (enterFrame) {
if (_name == "parentFire") {
if (activated) {
if (c < 4.5) {
_x = (xPos + (Math.sin(c) * 125));
_y = (yPos + (Math.cos(c) * 125));
c = c + 0.1;
if (timer > 0) {
timer--;
} else {
timer = 4;
this.duplicateMovieClip("fire" + i, _root.getNextHighestDepth());
_root.hitZone._x = _root["fire" + i]._x;
_root.hitZone._y = _root["fire" + i]._y;
i++;
}
} else {
activated = false;
damage = 50;
_root.hurtFunction(damage);
_root.hitZone._x = 1000;
_root.hitZone._y = 1000;
_root.level.enemy.gotoAndStop(1);
_root.level.enemy.attacking = false;
}
}
} else if (_alpha > 0) {
_alpha = (_alpha - 3);
_xscale = (_xscale + 5);
_yscale = (_yscale + 5);
} else {
this.removeMovieClip();
}
}
Instance of Symbol 1029 MovieClip "minion" in Frame 48
onClipEvent (load) {
activated = false;
_xscale = 2.5;
_yscale = 2.5;
}
onClipEvent (enterFrame) {
if (activated) {
if (_xscale < 45) {
_xscale = (_xscale + 2.5);
_yscale = (_yscale + 2.5);
}
}
}
Instance of Symbol 1040 MovieClip "bomb" in Frame 48
onClipEvent (load) {
activated = false;
health = 8;
ySpeed = 40;
_x = ((Math.random() * 600) + 100);
}
onClipEvent (enterFrame) {
if (activated) {
if (health <= 0) {
this.gotoAndStop(112);
}
if (ySpeed > 0) {
ySpeed--;
} else {
this.play();
}
_y = (_y + ySpeed);
} else {
this.gotoAndStop(1);
ySpeed = 40;
_x = 1200;
_y = -400;
}
}
Instance of Symbol 202 MovieClip "aimer" in Frame 48
onClipEvent (enterFrame) {
if (_root.bow.activated) {
xMouse = _root._xmouse;
yMouse = _root._ymouse;
if (yMouse > 65) {
_x = xMouse;
_y = yMouse;
}
} else {
_x = 1000;
}
}
onClipEvent (mouseDown) {
if (_root.bow.activated) {
attacking = true;
this.play();
}
}
onClipEvent (mouseUp) {
if (_root.bow.activated) {
attacking = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 1041 MovieClip "hitZone" in Frame 48
onClipEvent (enterFrame) {
if (this.hitBlock.hitTest(_root.aimer.hitBlock)) {
_root.parentFire.activated = false;
_x = 1000;
_y = 1000;
_root.level.enemy.gotoAndStop(1);
_root.level.enemy.attacking = false;
}
}
Instance of Symbol 1043 MovieClip in Frame 48
onClipEvent (load) {
lavaTimer = 160;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
lavaTimer--;
if (lavaTimer < 0) {
this.play();
}
}
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 48
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if ((yMouse < 65) or _root.pointAccuracy.hitTest(_root.spellScroll)) {
_y = yMouse;
_x = xMouse;
} else {
_x = 1000;
}
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Instance of Symbol 714 MovieClip "deathFade" in Frame 48
onClipEvent (load) {
activated = false;
_alpha = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if (activated) {
if (timer == 0) {
_root.music.stop();
_root.playerDeath.start();
}
_alpha = (_alpha + 5);
timer++;
if (timer >= 30) {
_root.gotoAndStop("gameover");
}
}
}
Instance of Symbol 1043 MovieClip in Frame 49
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 557 MovieClip in Frame 49
onClipEvent (load) {
_global.stageSelect = "main";
}
Frame 50
_quality = "MEDIUM";
Instance of Symbol 1113 MovieClip "enemy" in Frame 50
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 202 MovieClip "aimer" in Frame 50
onClipEvent (enterFrame) {
if (_root.bow.activated) {
xMouse = _root._xmouse;
yMouse = _root._ymouse;
if (yMouse > 65) {
_x = xMouse;
_y = yMouse;
}
} else {
_x = 1000;
}
}
onClipEvent (mouseDown) {
if (_root.bow.activated) {
attacking = true;
this.play();
}
}
onClipEvent (mouseUp) {
if (_root.bow.activated) {
attacking = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 204 MovieClip "angleControl" in Frame 50
onClipEvent (load) {
this._visible = false;
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
}
onClipEvent (enterFrame) {
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
if (this._x > _root.pointAccuracy.xMouse) {
angleB = (Math.asin(sinB) * 57.2957795130823) - 90;
}
if (this._x < _root.pointAccuracy.xMouse) {
angleB = (-(Math.asin(sinB) * 57.2957795130823)) - 270;
}
}
Instance of Symbol 153 MovieClip "pointAccuracy" in Frame 50
onClipEvent (load) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_visible = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
}
Instance of Symbol 229 MovieClip "sword" in Frame 50
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
delay = false;
delayTimer = 4;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
if (!delay) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
} else if (delayTimer > 0) {
delayTimer--;
} else {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
delayTimer = 4;
}
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 234 MovieClip "runeOne" in Frame 50
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "1";
}
}
Instance of Symbol 237 MovieClip "runeTwo" in Frame 50
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "2";
}
}
Instance of Symbol 240 MovieClip "runeThree" in Frame 50
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "3";
}
}
Instance of Symbol 243 MovieClip "runeFour" in Frame 50
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "4";
}
}
Instance of Symbol 246 MovieClip "runeFive" in Frame 50
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "5";
}
}
Instance of Symbol 250 MovieClip "wand" in Frame 50
onClipEvent (load) {
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 254 MovieClip "shield" in Frame 50
onClipEvent (load) {
shieldControl = true;
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width - 5;
} else {
weapon = 1;
_root.weaponFunction(weapon);
}
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (Key.isDown(32)) {
shieldControl = false;
} else {
shieldControl = true;
}
if (!activated) {
if (shieldControl) {
if (_root.statusBar.fatigue.fatigueBar._width < 105) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width + 2.5;
}
}
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 257 MovieClip "parentHandFire" in Frame 50
onClipEvent (load) {
if (_name != "parentHandFire") {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (_name != "parentHandFire") {
if (_xscale > 10) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 261 MovieClip "bow" in Frame 50
onClipEvent (load) {
activated = false;
i = 1;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
_root.parentHandFire.duplicateMovieClip("handfire" + i, _root.getNextHighestDepth());
i++;
}
}
Instance of Symbol 192 MovieClip "conCirc" in Frame 50
onClipEvent (load) {
spellOrder = new String("");
spell = "";
weaponSet = "sword";
qualityControl = 1;
weaponControl = true;
weapon = 1;
}
onClipEvent (enterFrame) {
if (!_root.sword.frozen) {
if (_root.rootSpellOrder.length == 5) {
spellOrder = _root.rootSpellOrder;
_root.magicAttackFunction(spellOrder);
}
if (Key.isDown(16)) {
if (_root.sword.activated && (weaponControl)) {
weapon = 2;
_root.weaponFunction(weapon);
weaponControl = false;
}
if (_root.bow.activated && (weaponControl)) {
weapon = 1;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
if (Key.isDown(32)) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
if ((_root.sword.activated or _root.bow.activated) && (weaponControl)) {
if (_root.sword.activated) {
weaponSet = "sword";
}
if (_root.bow.activated) {
weaponSet = "bow";
}
weapon = 4;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
} else if (_root.shield.activated) {
if (weaponSet == "sword") {
weapon = 1;
}
if (weaponSet == "bow") {
weapon = 2;
}
_root.weaponFunction(weapon);
weaponControl = false;
}
if ((!Key.isDown(16)) && (!Key.isDown(32))) {
weaponControl = true;
}
}
}
Frame 51
Mouse.hide();
stop();
music.stop();
music.attachSound("battle1");
if (!_global.muteMusic) {
music.start(0, 10000);
}
Instance of Symbol 1124 MovieClip "icicle1" in Frame 51
onClipEvent (load) {
activated = false;
ySpeed = 0;
}
onClipEvent (enterFrame) {
if (activated) {
_y = (_y + ySpeed);
if (ySpeed > 0) {
ySpeed--;
} else {
this.gotoAndStop(2);
}
} else {
_x = 1000;
_y = -300;
}
}
Instance of Symbol 1124 MovieClip "icicle2" in Frame 51
onClipEvent (load) {
activated = false;
ySpeed = 0;
}
onClipEvent (enterFrame) {
if (activated) {
_y = (_y + ySpeed);
if (ySpeed > 0) {
ySpeed--;
} else {
this.gotoAndStop(2);
}
} else {
_x = 1000;
_y = -300;
}
}
Instance of Symbol 1130 MovieClip "snowman1" in Frame 51
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (activated) {
this.play();
}
}
Instance of Symbol 1130 MovieClip "snowman2" in Frame 51
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (activated) {
this.play();
}
}
Instance of Symbol 229 MovieClip "sword" in Frame 51
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
frozen = false;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
if (!frozen) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
} else {
this.gotoAndStop(4);
}
}
if (!activated) {
_x = 1000;
_y = 1000;
frozen = false;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 51
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if ((yMouse < 65) or _root.pointAccuracy.hitTest(_root.spellScroll)) {
_y = yMouse;
_x = xMouse;
} else {
_x = 1000;
}
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Instance of Symbol 714 MovieClip "deathFade" in Frame 51
onClipEvent (load) {
activated = false;
_alpha = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if (activated) {
if (timer == 0) {
_root.music.stop();
_root.playerDeath.start();
}
_alpha = (_alpha + 5);
timer++;
if (timer >= 30) {
_root.gotoAndStop("gameover");
}
}
}
Instance of Symbol 557 MovieClip in Frame 52
onClipEvent (load) {
_global.stageSelect = "main";
}
Frame 53
_quality = "MEDIUM";
Instance of Symbol 1178 MovieClip "enemy" in Frame 53
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 202 MovieClip "aimer" in Frame 53
onClipEvent (enterFrame) {
if (_root.bow.activated) {
xMouse = _root._xmouse;
yMouse = _root._ymouse;
if (yMouse > 65) {
_x = xMouse;
_y = yMouse;
}
} else {
_x = 1000;
}
}
onClipEvent (mouseDown) {
if (_root.bow.activated) {
attacking = true;
this.play();
}
}
onClipEvent (mouseUp) {
if (_root.bow.activated) {
attacking = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 204 MovieClip "angleControl" in Frame 53
onClipEvent (load) {
this._visible = false;
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
}
onClipEvent (enterFrame) {
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
if (this._x > _root.pointAccuracy.xMouse) {
angleB = (Math.asin(sinB) * 57.2957795130823) - 90;
}
if (this._x < _root.pointAccuracy.xMouse) {
angleB = (-(Math.asin(sinB) * 57.2957795130823)) - 270;
}
}
Instance of Symbol 153 MovieClip "pointAccuracy" in Frame 53
onClipEvent (load) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_visible = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
}
Instance of Symbol 229 MovieClip "sword" in Frame 53
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
delay = false;
delayTimer = 4;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
if (!delay) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
} else if (delayTimer > 0) {
delayTimer--;
} else {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
delayTimer = 4;
}
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 234 MovieClip "runeOne" in Frame 53
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "1";
}
}
Instance of Symbol 237 MovieClip "runeTwo" in Frame 53
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "2";
}
}
Instance of Symbol 240 MovieClip "runeThree" in Frame 53
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "3";
}
}
Instance of Symbol 243 MovieClip "runeFour" in Frame 53
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "4";
}
}
Instance of Symbol 246 MovieClip "runeFive" in Frame 53
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "5";
}
}
Instance of Symbol 250 MovieClip "wand" in Frame 53
onClipEvent (load) {
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 254 MovieClip "shield" in Frame 53
onClipEvent (load) {
shieldControl = true;
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width - 5;
} else {
weapon = 1;
_root.weaponFunction(weapon);
}
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (Key.isDown(32)) {
shieldControl = false;
} else {
shieldControl = true;
}
if (!activated) {
if (shieldControl) {
if (_root.statusBar.fatigue.fatigueBar._width < 105) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width + 2.5;
}
}
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 257 MovieClip "parentHandFire" in Frame 53
onClipEvent (load) {
if (_name != "parentHandFire") {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (_name != "parentHandFire") {
if (_xscale > 10) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 261 MovieClip "bow" in Frame 53
onClipEvent (load) {
activated = false;
i = 1;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
_root.parentHandFire.duplicateMovieClip("handfire" + i, _root.getNextHighestDepth());
i++;
}
}
Instance of Symbol 192 MovieClip "conCirc" in Frame 53
onClipEvent (load) {
spellOrder = new String("");
spell = "";
weaponSet = "sword";
qualityControl = 1;
weaponControl = true;
weapon = 1;
}
onClipEvent (enterFrame) {
if (!_root.sword.frozen) {
if (_root.rootSpellOrder.length == 5) {
spellOrder = _root.rootSpellOrder;
_root.magicAttackFunction(spellOrder);
}
if (Key.isDown(16)) {
if (_root.sword.activated && (weaponControl)) {
weapon = 2;
_root.weaponFunction(weapon);
weaponControl = false;
}
if (_root.bow.activated && (weaponControl)) {
weapon = 1;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
if (Key.isDown(32)) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
if ((_root.sword.activated or _root.bow.activated) && (weaponControl)) {
if (_root.sword.activated) {
weaponSet = "sword";
}
if (_root.bow.activated) {
weaponSet = "bow";
}
weapon = 4;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
} else if (_root.shield.activated) {
if (weaponSet == "sword") {
weapon = 1;
}
if (weaponSet == "bow") {
weapon = 2;
}
_root.weaponFunction(weapon);
weaponControl = false;
}
if ((!Key.isDown(16)) && (!Key.isDown(32))) {
weaponControl = true;
}
}
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 53
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if ((yMouse < 65) or _root.pointAccuracy.hitTest(_root.spellScroll)) {
_y = yMouse;
_x = xMouse;
} else {
_x = 1000;
}
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Frame 54
Mouse.hide();
stop();
music.stop();
music.attachSound("battle2");
if (!_global.muteMusic) {
music.start(0, 10000);
}
Instance of Symbol 1184 MovieClip "level" in Frame 54
onClipEvent (load) {
xPos = 0;
}
Instance of Symbol 1190 MovieClip "funnel" in Frame 54
onClipEvent (load) {
activated = false;
c = 4.8;
}
onClipEvent (enterFrame) {
if (activated) {
this.play();
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
_x = (_x - (Math.sin(c) * 20));
_y = (_y - (Math.cos(c) * 20));
c = c + 0.12;
} else if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_x = 1200;
}
}
Instance of Symbol 1137 MovieClip "snow" in Frame 54
onClipEvent (enterFrame) {
if (_currentframe >= 197) {
_root.level.enemy.attacking = false;
}
}
Instance of Symbol 1211 MovieClip "rain" in Frame 54
onClipEvent (load) {
oxygen = 40;
damage = 5;
activated = false;
}
onClipEvent (enterFrame) {
if (activated) {
oxygen--;
if (oxygen <= 0) {
_root.hurtFunction(damage);
}
}
}
Instance of Symbol 714 MovieClip "deathFade" in Frame 54
onClipEvent (load) {
activated = false;
_alpha = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if (activated) {
if (timer == 0) {
_root.music.stop();
_root.playerDeath.start();
}
_alpha = (_alpha + 5);
timer++;
if (timer >= 30) {
_root.gotoAndStop("gameover");
}
}
}
Instance of Symbol 557 MovieClip in Frame 55
onClipEvent (load) {
_global.stageSelect = "main";
}
Frame 56
_quality = "MEDIUM";
Instance of Symbol 202 MovieClip "aimer" in Frame 56
onClipEvent (enterFrame) {
if (_root.bow.activated) {
xMouse = _root._xmouse;
yMouse = _root._ymouse;
if (yMouse > 65) {
_x = xMouse;
_y = yMouse;
}
} else {
_x = 1000;
}
}
onClipEvent (mouseDown) {
if (_root.bow.activated) {
attacking = true;
this.play();
}
}
onClipEvent (mouseUp) {
if (_root.bow.activated) {
attacking = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 204 MovieClip "angleControl" in Frame 56
onClipEvent (load) {
this._visible = false;
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
}
onClipEvent (enterFrame) {
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
if (this._x > _root.pointAccuracy.xMouse) {
angleB = (Math.asin(sinB) * 57.2957795130823) - 90;
}
if (this._x < _root.pointAccuracy.xMouse) {
angleB = (-(Math.asin(sinB) * 57.2957795130823)) - 270;
}
}
Instance of Symbol 153 MovieClip "pointAccuracy" in Frame 56
onClipEvent (load) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_visible = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
}
Instance of Symbol 229 MovieClip "sword" in Frame 56
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
delay = false;
delayTimer = 4;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
if (!delay) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
} else if (delayTimer > 0) {
delayTimer--;
} else {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
delayTimer = 4;
}
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 234 MovieClip "runeOne" in Frame 56
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "1";
}
}
Instance of Symbol 237 MovieClip "runeTwo" in Frame 56
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "2";
}
}
Instance of Symbol 240 MovieClip "runeThree" in Frame 56
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "3";
}
}
Instance of Symbol 243 MovieClip "runeFour" in Frame 56
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "4";
}
}
Instance of Symbol 246 MovieClip "runeFive" in Frame 56
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "5";
}
}
Instance of Symbol 250 MovieClip "wand" in Frame 56
onClipEvent (load) {
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 254 MovieClip "shield" in Frame 56
onClipEvent (load) {
shieldControl = true;
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width - 5;
} else {
weapon = 1;
_root.weaponFunction(weapon);
}
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (Key.isDown(32)) {
shieldControl = false;
} else {
shieldControl = true;
}
if (!activated) {
if (shieldControl) {
if (_root.statusBar.fatigue.fatigueBar._width < 105) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width + 2.5;
}
}
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 257 MovieClip "parentHandFire" in Frame 56
onClipEvent (load) {
if (_name != "parentHandFire") {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (_name != "parentHandFire") {
if (_xscale > 10) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 261 MovieClip "bow" in Frame 56
onClipEvent (load) {
activated = false;
i = 1;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
_root.parentHandFire.duplicateMovieClip("handfire" + i, _root.getNextHighestDepth());
i++;
}
}
Instance of Symbol 192 MovieClip "conCirc" in Frame 56
onClipEvent (load) {
spellOrder = new String("");
spell = "";
weaponSet = "sword";
qualityControl = 1;
weaponControl = true;
weapon = 1;
}
onClipEvent (enterFrame) {
if (!_root.sword.frozen) {
if (_root.rootSpellOrder.length == 5) {
spellOrder = _root.rootSpellOrder;
_root.magicAttackFunction(spellOrder);
}
if (Key.isDown(16)) {
if (_root.sword.activated && (weaponControl)) {
weapon = 2;
_root.weaponFunction(weapon);
weaponControl = false;
}
if (_root.bow.activated && (weaponControl)) {
weapon = 1;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
if (Key.isDown(32)) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
if ((_root.sword.activated or _root.bow.activated) && (weaponControl)) {
if (_root.sword.activated) {
weaponSet = "sword";
}
if (_root.bow.activated) {
weaponSet = "bow";
}
weapon = 4;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
} else if (_root.shield.activated) {
if (weaponSet == "sword") {
weapon = 1;
}
if (weaponSet == "bow") {
weapon = 2;
}
_root.weaponFunction(weapon);
weaponControl = false;
}
if ((!Key.isDown(16)) && (!Key.isDown(32))) {
weaponControl = true;
}
}
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 56
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if ((yMouse < 65) or _root.pointAccuracy.hitTest(_root.spellScroll)) {
_y = yMouse;
_x = xMouse;
} else {
_x = 1000;
}
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Frame 57
Mouse.hide();
stop();
music.stop();
music.attachSound("battle1");
if (!_global.muteMusic) {
music.start(0, 10000);
}
Instance of Symbol 714 MovieClip "deathFade" in Frame 57
onClipEvent (load) {
activated = false;
_alpha = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if (activated) {
if (timer == 0) {
_root.music.stop();
_root.playerDeath.start();
}
_alpha = (_alpha + 5);
timer++;
if (timer >= 30) {
_root.gotoAndStop("gameover");
}
}
}
Instance of Symbol 557 MovieClip in Frame 58
onClipEvent (load) {
_global.stageSelect = "main";
}
Frame 59
_quality = "MEDIUM";
Instance of Symbol 202 MovieClip "aimer" in Frame 59
onClipEvent (enterFrame) {
if (_root.bow.activated) {
xMouse = _root._xmouse;
yMouse = _root._ymouse;
if (yMouse > 65) {
_x = xMouse;
_y = yMouse;
}
} else {
_x = 1000;
}
}
onClipEvent (mouseDown) {
if (_root.bow.activated) {
attacking = true;
this.play();
}
}
onClipEvent (mouseUp) {
if (_root.bow.activated) {
attacking = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 204 MovieClip "angleControl" in Frame 59
onClipEvent (load) {
this._visible = false;
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
}
onClipEvent (enterFrame) {
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
if (this._x > _root.pointAccuracy.xMouse) {
angleB = (Math.asin(sinB) * 57.2957795130823) - 90;
}
if (this._x < _root.pointAccuracy.xMouse) {
angleB = (-(Math.asin(sinB) * 57.2957795130823)) - 270;
}
}
Instance of Symbol 153 MovieClip "pointAccuracy" in Frame 59
onClipEvent (load) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_visible = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
}
Instance of Symbol 229 MovieClip "sword" in Frame 59
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
delay = false;
delayTimer = 4;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
if (!delay) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
} else if (delayTimer > 0) {
delayTimer--;
} else {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
delayTimer = 4;
}
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 234 MovieClip "runeOne" in Frame 59
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "1";
}
}
Instance of Symbol 237 MovieClip "runeTwo" in Frame 59
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "2";
}
}
Instance of Symbol 240 MovieClip "runeThree" in Frame 59
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "3";
}
}
Instance of Symbol 243 MovieClip "runeFour" in Frame 59
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "4";
}
}
Instance of Symbol 246 MovieClip "runeFive" in Frame 59
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "5";
}
}
Instance of Symbol 250 MovieClip "wand" in Frame 59
onClipEvent (load) {
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 254 MovieClip "shield" in Frame 59
onClipEvent (load) {
shieldControl = true;
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width - 5;
} else {
weapon = 1;
_root.weaponFunction(weapon);
}
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (Key.isDown(32)) {
shieldControl = false;
} else {
shieldControl = true;
}
if (!activated) {
if (shieldControl) {
if (_root.statusBar.fatigue.fatigueBar._width < 105) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width + 2.5;
}
}
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 257 MovieClip "parentHandFire" in Frame 59
onClipEvent (load) {
if (_name != "parentHandFire") {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (_name != "parentHandFire") {
if (_xscale > 10) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 261 MovieClip "bow" in Frame 59
onClipEvent (load) {
activated = false;
i = 1;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
_root.parentHandFire.duplicateMovieClip("handfire" + i, _root.getNextHighestDepth());
i++;
}
}
Instance of Symbol 192 MovieClip "conCirc" in Frame 59
onClipEvent (load) {
spellOrder = new String("");
spell = "";
weaponSet = "sword";
qualityControl = 1;
weaponControl = true;
weapon = 1;
}
onClipEvent (enterFrame) {
if (!_root.sword.frozen) {
if (_root.rootSpellOrder.length == 5) {
spellOrder = _root.rootSpellOrder;
_root.magicAttackFunction(spellOrder);
}
if (Key.isDown(16)) {
if (_root.sword.activated && (weaponControl)) {
weapon = 2;
_root.weaponFunction(weapon);
weaponControl = false;
}
if (_root.bow.activated && (weaponControl)) {
weapon = 1;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
if (Key.isDown(32)) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
if ((_root.sword.activated or _root.bow.activated) && (weaponControl)) {
if (_root.sword.activated) {
weaponSet = "sword";
}
if (_root.bow.activated) {
weaponSet = "bow";
}
weapon = 4;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
} else if (_root.shield.activated) {
if (weaponSet == "sword") {
weapon = 1;
}
if (weaponSet == "bow") {
weapon = 2;
}
_root.weaponFunction(weapon);
weaponControl = false;
}
if ((!Key.isDown(16)) && (!Key.isDown(32))) {
weaponControl = true;
}
}
}
Frame 60
Mouse.hide();
stop();
music.stop();
music.attachSound("battle2");
if (!_global.muteMusic) {
music.start(0, 10000);
}
Instance of Symbol 1336 MovieClip "level" in Frame 60
onClipEvent (load) {
startX = _x;
moveLeft = _x - 125;
moveRight = _x + 125;
}
Instance of Symbol 275 MovieClip "dodgeLeft" in Frame 60
onClipEvent (load) {
activated = false;
moveControl = false;
}
onClipEvent (enterFrame) {
if (!activated) {
_x = 1200;
}
if (activated) {
_x = 19;
}
if (hitTest(_root.pointAccuracy)) {
if (!moveControl) {
_root.dodgeSound.start();
}
_root.level._x = _root.level.moveRight;
moveControl = true;
}
if (moveControl) {
if (!hitTest(_root.pointAccuracy)) {
_root.level._x = _root.level.startX;
moveControl = false;
}
}
}
Instance of Symbol 275 MovieClip "dodgeRight" in Frame 60
onClipEvent (load) {
activated = false;
moveControl = false;
}
onClipEvent (enterFrame) {
if (!activated) {
_x = 1200;
}
if (activated) {
_x = 778;
}
if (hitTest(_root.pointAccuracy)) {
if (!moveControl) {
_root.dodgeSound.start();
}
_root.level._x = _root.level.moveLeft;
moveControl = true;
}
if (moveControl) {
if (!hitTest(_root.pointAccuracy)) {
_root.level._x = _root.level.startX;
moveControl = false;
}
}
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 60
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if ((yMouse < 65) or _root.pointAccuracy.hitTest(_root.spellScroll)) {
_y = yMouse;
_x = xMouse;
} else {
_x = 1000;
}
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Instance of Symbol 714 MovieClip "deathFade" in Frame 60
onClipEvent (load) {
activated = false;
_alpha = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if (activated) {
if (timer == 0) {
_root.music.stop();
_root.playerDeath.start();
}
_alpha = (_alpha + 5);
timer++;
if (timer >= 30) {
_root.gotoAndStop("gameover");
}
}
}
Instance of Symbol 557 MovieClip in Frame 61
onClipEvent (load) {
_global.stageSelect = "main";
}
Instance of Symbol 1347 MovieClip in Frame 62
onClipEvent (enterFrame) {
_rotation = (_rotation + 0.5);
}
Instance of Symbol 1359 MovieClip in Frame 62
onClipEvent (enterFrame) {
_rotation = (_rotation - 1);
}
Instance of Symbol 1410 MovieClip in Frame 62
onClipEvent (load) {
time = new Date();
hours = time.getHours();
minutes = time.getMinutes();
}
onClipEvent (enterFrame) {
time = new Date();
hours = time.getHours();
minutes = time.getMinutes();
if (hours > 12) {
newHours = hours - 12;
} else {
newHours = hours;
}
if (newHours >= 10) {
hDisplayOne = 2;
} else {
hDisplayOne = 1;
}
if (newHours == 0) {
newHours = 12;
}
hDisplayTwo = newHours;
mDisplayTwo = Math.floor(minutes / 10) + 1;
mDisplayOne = (minutes - (Math.floor(minutes / 10) * 10)) + 1;
}
Instance of Symbol 202 MovieClip "aimer" in Frame 62
onClipEvent (enterFrame) {
if (_root.bow.activated) {
xMouse = _root._xmouse;
yMouse = _root._ymouse;
if (yMouse > 65) {
_x = xMouse;
_y = yMouse;
}
} else {
_x = 1000;
}
}
onClipEvent (mouseDown) {
if (_root.bow.activated) {
attacking = true;
this.play();
}
}
onClipEvent (mouseUp) {
if (_root.bow.activated) {
attacking = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 204 MovieClip "angleControl" in Frame 62
onClipEvent (load) {
this._visible = false;
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
}
onClipEvent (enterFrame) {
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
if (this._x > _root.pointAccuracy.xMouse) {
angleB = (Math.asin(sinB) * 57.2957795130823) - 90;
}
if (this._x < _root.pointAccuracy.xMouse) {
angleB = (-(Math.asin(sinB) * 57.2957795130823)) - 270;
}
}
Instance of Symbol 153 MovieClip "pointAccuracy" in Frame 62
onClipEvent (load) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_visible = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
}
Instance of Symbol 229 MovieClip "sword" in Frame 62
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
delay = false;
delayTimer = 4;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
if (!delay) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
} else if (delayTimer > 0) {
delayTimer--;
} else {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
delayTimer = 4;
}
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 234 MovieClip "runeOne" in Frame 62
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "1";
}
}
Instance of Symbol 237 MovieClip "runeTwo" in Frame 62
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "2";
}
}
Instance of Symbol 240 MovieClip "runeThree" in Frame 62
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "3";
}
}
Instance of Symbol 243 MovieClip "runeFour" in Frame 62
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "4";
}
}
Instance of Symbol 246 MovieClip "runeFive" in Frame 62
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "5";
}
}
Instance of Symbol 250 MovieClip "wand" in Frame 62
onClipEvent (load) {
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 254 MovieClip "shield" in Frame 62
onClipEvent (load) {
shieldControl = true;
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width - 5;
} else {
weapon = 1;
_root.weaponFunction(weapon);
}
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (Key.isDown(32)) {
shieldControl = false;
} else {
shieldControl = true;
}
if (!activated) {
if (shieldControl) {
if (_root.statusBar.fatigue.fatigueBar._width < 105) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width + 2.5;
}
}
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 257 MovieClip "parentHandFire" in Frame 62
onClipEvent (load) {
if (_name != "parentHandFire") {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (_name != "parentHandFire") {
if (_xscale > 10) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 261 MovieClip "bow" in Frame 62
onClipEvent (load) {
activated = false;
i = 1;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
_root.parentHandFire.duplicateMovieClip("handfire" + i, _root.getNextHighestDepth());
i++;
}
}
Instance of Symbol 192 MovieClip "conCirc" in Frame 62
onClipEvent (load) {
spellOrder = new String("");
spell = "";
weaponSet = "sword";
qualityControl = 1;
weaponControl = true;
weapon = 1;
}
onClipEvent (enterFrame) {
if (!_root.sword.frozen) {
if (_root.rootSpellOrder.length == 5) {
spellOrder = _root.rootSpellOrder;
_root.magicAttackFunction(spellOrder);
}
if (Key.isDown(16)) {
if (_root.sword.activated && (weaponControl)) {
weapon = 2;
_root.weaponFunction(weapon);
weaponControl = false;
}
if (_root.bow.activated && (weaponControl)) {
weapon = 1;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
if (Key.isDown(32)) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
if ((_root.sword.activated or _root.bow.activated) && (weaponControl)) {
if (_root.sword.activated) {
weaponSet = "sword";
}
if (_root.bow.activated) {
weaponSet = "bow";
}
weapon = 4;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
} else if (_root.shield.activated) {
if (weaponSet == "sword") {
weapon = 1;
}
if (weaponSet == "bow") {
weapon = 2;
}
_root.weaponFunction(weapon);
weaponControl = false;
}
if ((!Key.isDown(16)) && (!Key.isDown(32))) {
weaponControl = true;
}
}
}
Frame 63
Mouse.hide();
stop();
music.stop();
music.attachSound("battle1");
if (!_global.muteMusic) {
music.start(0, 10000);
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 63
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if ((yMouse < 65) or _root.pointAccuracy.hitTest(_root.spellScroll)) {
_y = yMouse;
_x = xMouse;
} else {
_x = 1000;
}
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Instance of Symbol 714 MovieClip "deathFade" in Frame 63
onClipEvent (load) {
activated = false;
_alpha = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if (activated) {
if (timer == 0) {
_root.music.stop();
_root.playerDeath.start();
}
_alpha = (_alpha + 5);
timer++;
if (timer >= 30) {
_root.gotoAndStop("gameover");
}
}
}
Instance of Symbol 1419 MovieClip "eyeRight" in Frame 64
onClipEvent (load) {
c = 0;
eyeLocation = "right";
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin(c) * 7));
_y = (_y + (Math.cos(c) * 7));
c = c + 0.1;
}
Instance of Symbol 1419 MovieClip "eyeLeft" in Frame 64
onClipEvent (load) {
c = 0;
eyeLocation = "left";
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin(c) * 7));
_y = (_y + (Math.cos(c) * 7));
c = c - 0.1;
}
Instance of Symbol 1452 MovieClip "parentEnergy" in Frame 64
onClipEvent (load) {
if (_name == "parentEnergy") {
duplicate = false;
eyeNumber = "";
i = 1;
}
}
onClipEvent (enterFrame) {
if (_name == "parentEnergy") {
if (duplicate) {
this.duplicateMovieClip("energy" + i, _parent.getNextHighestDepth());
if (eyeNumber == "right") {
_parent["energy" + i]._x = _parent.eyeRight._x;
_parent["energy" + i]._y = _parent.eyeRight._y;
}
if (eyeNumber == "left") {
_parent["energy" + i]._x = _parent.eyeLeft._x;
_parent["energy" + i]._y = _parent.eyeLeft._y;
}
i++;
duplicate = false;
eyeNumber = "";
}
} else {
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
if (_xscale > 300) {
damage = 40;
if (this.hitBlock.hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (this.hitBlock.hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!this.hitBlock.hitTest(_root.sword.blockArea)) and (!this.hitBlock.hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
this.removeMovieClip();
}
}
}
Instance of Symbol 557 MovieClip in Frame 64
onClipEvent (load) {
_global.stageSelect = "main";
}
Instance of Symbol 1512 MovieClip "rings" in Frame 65
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 202 MovieClip "aimer" in Frame 65
onClipEvent (enterFrame) {
if (_root.bow.activated) {
xMouse = _root._xmouse;
yMouse = _root._ymouse;
if (yMouse > 65) {
_x = xMouse;
_y = yMouse;
}
} else {
_x = 1000;
}
}
onClipEvent (mouseDown) {
if (_root.bow.activated) {
attacking = true;
this.play();
}
}
onClipEvent (mouseUp) {
if (_root.bow.activated) {
attacking = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 204 MovieClip "angleControl" in Frame 65
onClipEvent (load) {
this._visible = false;
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
}
onClipEvent (enterFrame) {
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
if (this._x > _root.pointAccuracy.xMouse) {
angleB = (Math.asin(sinB) * 57.2957795130823) - 90;
}
if (this._x < _root.pointAccuracy.xMouse) {
angleB = (-(Math.asin(sinB) * 57.2957795130823)) - 270;
}
}
Instance of Symbol 153 MovieClip "pointAccuracy" in Frame 65
onClipEvent (load) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_visible = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
}
Instance of Symbol 229 MovieClip "sword" in Frame 65
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
delay = false;
delayTimer = 4;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
if (!delay) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
} else if (delayTimer > 0) {
delayTimer--;
} else {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
delayTimer = 4;
}
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 234 MovieClip "runeOne" in Frame 65
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "1";
}
}
Instance of Symbol 237 MovieClip "runeTwo" in Frame 65
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "2";
}
}
Instance of Symbol 240 MovieClip "runeThree" in Frame 65
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "3";
}
}
Instance of Symbol 243 MovieClip "runeFour" in Frame 65
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "4";
}
}
Instance of Symbol 246 MovieClip "runeFive" in Frame 65
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "5";
}
}
Instance of Symbol 250 MovieClip "wand" in Frame 65
onClipEvent (load) {
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 254 MovieClip "shield" in Frame 65
onClipEvent (load) {
shieldControl = true;
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width - 5;
} else {
weapon = 1;
_root.weaponFunction(weapon);
}
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (Key.isDown(32)) {
shieldControl = false;
} else {
shieldControl = true;
}
if (!activated) {
if (shieldControl) {
if (_root.statusBar.fatigue.fatigueBar._width < 105) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width + 2.5;
}
}
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 257 MovieClip "parentHandFire" in Frame 65
onClipEvent (load) {
if (_name != "parentHandFire") {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (_name != "parentHandFire") {
if (_xscale > 10) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 261 MovieClip "bow" in Frame 65
onClipEvent (load) {
activated = false;
i = 1;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
_root.parentHandFire.duplicateMovieClip("handfire" + i, _root.getNextHighestDepth());
i++;
}
}
Instance of Symbol 192 MovieClip "conCirc" in Frame 65
onClipEvent (load) {
spellOrder = new String("");
spell = "";
weaponSet = "sword";
qualityControl = 1;
weaponControl = true;
weapon = 1;
}
onClipEvent (enterFrame) {
if (!_root.sword.frozen) {
if (_root.rootSpellOrder.length == 5) {
spellOrder = _root.rootSpellOrder;
_root.magicAttackFunction(spellOrder);
}
if (Key.isDown(16)) {
if (_root.sword.activated && (weaponControl)) {
weapon = 2;
_root.weaponFunction(weapon);
weaponControl = false;
}
if (_root.bow.activated && (weaponControl)) {
weapon = 1;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
if (Key.isDown(32)) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
if ((_root.sword.activated or _root.bow.activated) && (weaponControl)) {
if (_root.sword.activated) {
weaponSet = "sword";
}
if (_root.bow.activated) {
weaponSet = "bow";
}
weapon = 4;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
} else if (_root.shield.activated) {
if (weaponSet == "sword") {
weapon = 1;
}
if (weaponSet == "bow") {
weapon = 2;
}
_root.weaponFunction(weapon);
weaponControl = false;
}
if ((!Key.isDown(16)) && (!Key.isDown(32))) {
weaponControl = true;
}
}
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 65
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if ((yMouse < 65) or _root.pointAccuracy.hitTest(_root.spellScroll)) {
_y = yMouse;
_x = xMouse;
} else {
_x = 1000;
}
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Frame 66
Mouse.hide();
stop();
music.stop();
music.attachSound("battle2");
if (!_global.muteMusic) {
music.start(0, 10000);
}
Instance of Symbol 229 MovieClip "sword" in Frame 66
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
frozen = false;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
if (!frozen) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
} else {
this.gotoAndStop(4);
}
}
if (!activated) {
_x = 1000;
_y = 1000;
frozen = false;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 714 MovieClip "deathFade" in Frame 66
onClipEvent (load) {
activated = false;
_alpha = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if (activated) {
if (timer == 0) {
_root.music.stop();
_root.playerDeath.start();
}
_alpha = (_alpha + 5);
timer++;
if (timer >= 30) {
_root.gotoAndStop("gameover");
}
}
}
Frame 67
_quality = "MEDIUM";
Instance of Symbol 192 MovieClip in Frame 67
onClipEvent (load) {
shotTimer = 50;
shotControl = 100;
pod = 0;
}
onClipEvent (enterFrame) {
if (shotTimer > 0) {
shotTimer--;
} else {
pod = Math.ceil(Math.random() * 8);
if (_root.level.enemy["pod" + pod]._currentframe == 1) {
_root.level.enemy["pod" + pod].play();
_root.level.enemy.bud1.activated = true;
_root.level.enemy.bud2.activated = true;
_root.level.enemy.bud1._x = (Math.random() * 400) - 200;
_root.level.enemy.bud2._x = (Math.random() * 400) - 200;
if (shotControl > 40) {
shotControl = shotControl - 5;
}
shotTimer = shotControl;
}
}
}
Instance of Symbol 202 MovieClip "aimer" in Frame 67
onClipEvent (enterFrame) {
if (_root.bow.activated) {
xMouse = _root._xmouse;
yMouse = _root._ymouse;
if (yMouse > 65) {
_x = xMouse;
_y = yMouse;
}
} else {
_x = 1000;
}
}
onClipEvent (mouseDown) {
if (_root.bow.activated) {
attacking = true;
this.play();
}
}
onClipEvent (mouseUp) {
if (_root.bow.activated) {
attacking = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 204 MovieClip "angleControl" in Frame 67
onClipEvent (load) {
this._visible = false;
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
}
onClipEvent (enterFrame) {
a = Math.abs(this._x - _root.pointAccuracy.xMouse);
b = 650 - _root.pointAccuracy.yMouse;
c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2));
sinB = b / c;
cosB = b / c;
tanB = b / a;
if (this._x > _root.pointAccuracy.xMouse) {
angleB = (Math.asin(sinB) * 57.2957795130823) - 90;
}
if (this._x < _root.pointAccuracy.xMouse) {
angleB = (-(Math.asin(sinB) * 57.2957795130823)) - 270;
}
}
Instance of Symbol 153 MovieClip "pointAccuracy" in Frame 67
onClipEvent (load) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_visible = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
}
Instance of Symbol 229 MovieClip "sword" in Frame 67
onClipEvent (load) {
activated = true;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
attacking = false;
attackOne = true;
yAttack = false;
xAttack = false;
delay = false;
delayTimer = 4;
yValue = 0;
xValue = 0;
}
onClipEvent (enterFrame) {
Mouse.hide();
if (activated) {
if (!delay) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
} else if (delayTimer > 0) {
delayTimer--;
} else {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
delayTimer = 4;
}
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
updateAfterEvent();
if (!attacking) {
if ((xMouse < 275) or (xMouse > 575)) {
this.gotoAndStop(1);
}
if ((xMouse >= 275) && (xMouse <= 575)) {
this.gotoAndStop(2);
}
}
if (attacking) {
this.gotoAndStop(3);
if (attackOne) {
this.aSword.play();
}
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
attacking = true;
}
}
onClipEvent (mouseUp) {
if (activated) {
attacking = false;
attackOne = true;
}
}
Instance of Symbol 234 MovieClip "runeOne" in Frame 67
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "1";
}
}
Instance of Symbol 237 MovieClip "runeTwo" in Frame 67
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "2";
}
}
Instance of Symbol 240 MovieClip "runeThree" in Frame 67
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "3";
}
}
Instance of Symbol 243 MovieClip "runeFour" in Frame 67
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "4";
}
}
Instance of Symbol 246 MovieClip "runeFive" in Frame 67
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated) {
this.gotoAndStop(2);
}
if (hitTest(_root.wand.crystal) && (!activated)) {
activated = true;
_root.rootSpellOrder = _root.rootSpellOrder + "5";
}
}
Instance of Symbol 250 MovieClip "wand" in Frame 67
onClipEvent (load) {
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 254 MovieClip "shield" in Frame 67
onClipEvent (load) {
shieldControl = true;
activated = false;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width - 5;
} else {
weapon = 1;
_root.weaponFunction(weapon);
}
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (Key.isDown(32)) {
shieldControl = false;
} else {
shieldControl = true;
}
if (!activated) {
if (shieldControl) {
if (_root.statusBar.fatigue.fatigueBar._width < 105) {
_root.statusBar.fatigue.fatigueBar._width = _root.statusBar.fatigue.fatigueBar._width + 2.5;
}
}
_x = 1000;
_y = 1000;
}
}
Instance of Symbol 257 MovieClip "parentHandFire" in Frame 67
onClipEvent (load) {
if (_name != "parentHandFire") {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (_name != "parentHandFire") {
if (_xscale > 10) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 261 MovieClip "bow" in Frame 67
onClipEvent (load) {
activated = false;
i = 1;
yMouse = _root._ymouse;
xMouse = _root._xmouse;
}
onClipEvent (enterFrame) {
if (activated) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if (yMouse > 65) {
_y = yMouse;
_x = xMouse;
_rotation = _root.angleControl.angleB;
}
}
if (!activated) {
_x = 1000;
_y = 1000;
}
}
onClipEvent (mouseDown) {
if (activated) {
_root.parentHandFire.duplicateMovieClip("handfire" + i, _root.getNextHighestDepth());
i++;
}
}
Instance of Symbol 192 MovieClip "conCirc" in Frame 67
onClipEvent (load) {
spellOrder = new String("");
spell = "";
weaponSet = "sword";
qualityControl = 1;
weaponControl = true;
weapon = 1;
}
onClipEvent (enterFrame) {
if (!_root.sword.frozen) {
if (_root.rootSpellOrder.length == 5) {
spellOrder = _root.rootSpellOrder;
_root.magicAttackFunction(spellOrder);
}
if (Key.isDown(16)) {
if (_root.sword.activated && (weaponControl)) {
weapon = 2;
_root.weaponFunction(weapon);
weaponControl = false;
}
if (_root.bow.activated && (weaponControl)) {
weapon = 1;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
if (Key.isDown(32)) {
if (_root.statusBar.fatigue.fatigueBar._width > 2.5) {
if ((_root.sword.activated or _root.bow.activated) && (weaponControl)) {
if (_root.sword.activated) {
weaponSet = "sword";
}
if (_root.bow.activated) {
weaponSet = "bow";
}
weapon = 4;
_root.weaponFunction(weapon);
weaponControl = false;
}
}
} else if (_root.shield.activated) {
if (weaponSet == "sword") {
weapon = 1;
}
if (weaponSet == "bow") {
weapon = 2;
}
_root.weaponFunction(weapon);
weaponControl = false;
}
if ((!Key.isDown(16)) && (!Key.isDown(32))) {
weaponControl = true;
}
}
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 67
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
if ((yMouse < 65) or _root.pointAccuracy.hitTest(_root.spellScroll)) {
_y = yMouse;
_x = xMouse;
} else {
_x = 1000;
}
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Instance of Symbol 463 MovieClip in Frame 67
onClipEvent (load) {
_global.stageSelect = "plant";
}
Frame 68
Mouse.hide();
stop();
music.stop();
music.attachSound("battle1");
if (!_global.muteMusic) {
music.start(0, 10000);
}
Instance of Symbol 192 MovieClip in Frame 68
onClipEvent (load) {
shotTimer = 100;
shotControl = 150;
pod = 0;
}
onClipEvent (enterFrame) {
if (shotTimer > 0) {
shotTimer--;
} else {
pod = Math.ceil(Math.random() * 8);
if (_root.level.enemy["pod" + pod]._currentframe == 1) {
_root.level.enemy["pod" + pod].play();
if (!_root.level.enemy.bud1.activated) {
_root.level.enemy.bud1.activated = true;
_root.level.enemy.bud2.activated = true;
_root.level.enemy.bud1._x = (-(Math.random() * 200)) - 50;
_root.level.enemy.bud2._x = (Math.random() * 200) + 50;
} else {
_root.level.enemy.bud3.activated = true;
_root.level.enemy.bud4.activated = true;
_root.level.enemy.bud3._x = (Math.random() * 200) + 50;
_root.level.enemy.bud4._x = (-(Math.random() * 200)) - 50;
}
if (shotControl > 110) {
shotControl = shotControl - 2;
}
shotTimer = shotControl;
}
}
}
Instance of Symbol 714 MovieClip "deathFade" in Frame 68
onClipEvent (load) {
activated = false;
_alpha = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if (activated) {
if (timer == 0) {
_root.music.stop();
_root.playerDeath.start();
}
_alpha = (_alpha + 5);
timer++;
if (timer >= 30) {
_root.gotoAndStop("gameover");
}
}
}
Instance of Symbol 192 MovieClip in Frame 69
onClipEvent (load) {
shotTimer = 50;
shotControl = 100;
pod = 0;
}
onClipEvent (enterFrame) {
if (shotTimer > 0) {
shotTimer--;
} else {
pod = Math.ceil(Math.random() * 8);
if (_root.level.enemy["pod" + pod]._currentframe == 1) {
_root.level.enemy["pod" + pod].play();
_root.level.enemy.bud1.activated = true;
_root.level.enemy.bud2.activated = true;
_root.level.enemy.bud1._x = (Math.random() * 400) - 200;
_root.level.enemy.bud2._x = (Math.random() * 400) - 200;
if (shotControl > 40) {
shotControl = shotControl - 5;
}
shotTimer = shotControl;
}
}
}
Instance of Symbol 558 MovieClip in Frame 69
onClipEvent (load) {
_global.stageSelect = "extras";
}
Frame 70
_quality = "HIGH";
music.stop();
music.attachSound("gameovermusic");
if (!_global.muteMusic) {
music.start(0, 10000);
}
Instance of Symbol 341 MovieClip in Frame 70
onClipEvent (mouseUp) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
getURL ("http://www.armorgames.com/", "_blank");
}
}
Instance of Symbol 325 MovieClip in Frame 70
onClipEvent (mouseUp) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
getURL ("http://armorblog.com/", "_blank");
}
}
Instance of Symbol 329 MovieClip in Frame 70
onClipEvent (mouseUp) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
getURL ("http://armorgames.com/play/735/aeternus-lamnia", "_blank");
}
}
Instance of Symbol 153 MovieClip "pointAccuracy" in Frame 70
onClipEvent (load) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_visible = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 70
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Instance of Symbol 714 MovieClip "deathFade" in Frame 70
onClipEvent (load) {
_alpha = 100;
timer = 0;
}
onClipEvent (enterFrame) {
_alpha = (_alpha - 5);
timer++;
if (timer >= 20) {
_root.play();
}
}
Frame 104
stop();
Instance of Symbol 1665 MovieClip in Frame 104
onClipEvent (load) {
hitOnce = true;
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
this.gotoAndStop(2);
if (hitOnce) {
_root.wordRollover.start();
hitOnce = false;
}
} else {
this.gotoAndStop(1);
hitOnce = true;
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_root.music.stop();
_root.soundTransition.start();
_global.stageSelect = "main";
_root.nextFrame();
}
}
Instance of Symbol 1667 MovieClip in Frame 104
onClipEvent (load) {
hitOnce = true;
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
this.gotoAndStop(2);
if (hitOnce) {
_root.wordRollover.start();
hitOnce = false;
}
} else {
this.gotoAndStop(1);
hitOnce = true;
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_root.music.stop();
_root.soundTransition.start();
_global.stageSelect = "start";
_root.nextFrame();
}
}
Frame 105
stop();
Frame 106
stop();
_quality = "HIGH";
music.stop();
music.attachSound("gamecompletion");
if (!_global.muteMusic) {
music.start(0, 10000);
}
Instance of Symbol 1669 MovieClip in Frame 106
onClipEvent (load) {
timer = 25;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else if (timer > -1) {
this.play();
timer = -1;
}
}
Instance of Symbol 1669 MovieClip in Frame 106
onClipEvent (load) {
timer = 70;
}
onClipEvent (enterFrame) {
if (!_global.openPlant) {
if (timer > 0) {
timer--;
} else if (timer > -1) {
this.play();
timer = -1;
}
}
}
Instance of Symbol 1669 MovieClip in Frame 106
onClipEvent (load) {
timer = 130;
}
onClipEvent (enterFrame) {
if (timer == 0) {
if (timer > -1) {
this.play();
timer = -1;
}
}
if (!_global.openMini6) {
if (timer > 0) {
timer--;
}
}
}
Instance of Symbol 1665 MovieClip in Frame 106
onClipEvent (load) {
hitOnce = true;
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
this.gotoAndStop(2);
if (hitOnce) {
_root.wordRollover.start();
hitOnce = false;
}
} else {
this.gotoAndStop(1);
hitOnce = true;
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
if (!_global.openMini6) {
_global.openMini6 = true;
_global.openMini7 = true;
_global.openMini8 = true;
_global.openMini9 = true;
_global.openMini10 = true;
_root.savefile.data.openMini6 = _global.openMini6;
_root.savefile.data.openMini7 = _global.openMini7;
_root.savefile.data.openMini8 = _global.openMini8;
_root.savefile.data.openMini9 = _global.openMini9;
_root.savefile.data.openMini10 = _global.openMini10;
_root.savefile.flush();
}
_root.music.stop();
_root.soundTransition.start();
_global.stageSelect = "main";
_root.nextFrame();
}
}
Instance of Symbol 1667 MovieClip in Frame 106
onClipEvent (load) {
hitOnce = true;
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
this.gotoAndStop(2);
if (hitOnce) {
_root.wordRollover.start();
hitOnce = false;
}
} else {
this.gotoAndStop(1);
hitOnce = true;
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
if (!_global.openMini6) {
_global.openMini6 = true;
_global.openMini7 = true;
_global.openMini8 = true;
_global.openMini9 = true;
_global.openMini10 = true;
_root.savefile.data.openMini6 = _global.openMini6;
_root.savefile.data.openMini7 = _global.openMini7;
_root.savefile.data.openMini8 = _global.openMini8;
_root.savefile.data.openMini9 = _global.openMini9;
_root.savefile.data.openMini10 = _global.openMini10;
_root.savefile.flush();
}
_root.music.stop();
_root.soundTransition.start();
_global.stageSelect = "start";
_root.nextFrame();
}
}
Instance of Symbol 153 MovieClip "pointAccuracy" in Frame 106
onClipEvent (load) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_visible = false;
}
onClipEvent (enterFrame) {
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
}
Instance of Symbol 156 MovieClip "swordPointer" in Frame 106
onClipEvent (load) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
mouseClick = false;
}
onClipEvent (enterFrame) {
Mouse.hide();
yMouse = _root._ymouse;
xMouse = _root._xmouse;
_y = yMouse;
_x = xMouse;
if (mouseClick) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
mouseClick = true;
}
onClipEvent (mouseUp) {
mouseClick = false;
}
Instance of Symbol 557 MovieClip in Frame 107
onClipEvent (load) {
_global.openMini6 = true;
_global.openMini7 = true;
_global.openMini8 = true;
_global.openMini9 = true;
_global.openMini10 = true;
}
Symbol 141 Button
on (press) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 144 MovieClip Frame 1
_root.stop();
gotoAndPlay (2);
Symbol 144 MovieClip Frame 218
_root.nextFrame();
Symbol 150 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 2
stop();
Instance of Symbol 164 MovieClip "lifeBar" in Symbol 165 MovieClip Frame 1
onClipEvent (load) {
this._width = 1;
}
Symbol 169 MovieClip Frame 1
stop();
Symbol 183 Button
on (press) {
spell = "strength";
_root.magicFunction(spell);
weapon = 3;
_root.weaponFunction(weapon);
_root.statusBar.magicMeter.magicCounter = 0;
_root.statusBar.magicMeter.gotoAndStop(1);
}
Instance of Symbol 161 MovieClip in Symbol 190 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_quality == "LOW") {
this.gotoAndStop(1);
}
if (_quality == "MEDIUM") {
this.gotoAndStop(2);
}
if (_quality == "HIGH") {
this.gotoAndStop(3);
}
}
Instance of Symbol 169 MovieClip in Symbol 190 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_global.muteNumber);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.muteNumber);
}
Instance of Symbol 184 MovieClip "magicMeter" in Symbol 190 MovieClip Frame 1
onClipEvent (load) {
magicCounter = 0;
magicFrame = Math.ceil(magicCounter / 10);
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
magicFrame = Math.ceil(magicCounter / 10);
if (magicCounter < 100) {
magicCounter = magicCounter + 0.2;
}
this.gotoAndStop(magicFrame);
}
Symbol 198 MovieClip Frame 1
stop();
Instance of Symbol 195 MovieClip in Symbol 198 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.blockFunction();
_root.tutControl.tutorialControl++;
_parent.gotoAndStop(2);
}
}
Symbol 202 MovieClip Frame 1
stop();
Instance of Symbol 201 MovieClip "hitBlock" in Symbol 202 MovieClip Frame 2
onClipEvent (load) {
this._alpha = 0;
}
Symbol 202 MovieClip Frame 3
stop();
Symbol 211 MovieClip Frame 1
_root.sword.activated = true;
_root.sword.attacking = false;
_root.runeHit5.start();
_root.strengthMagic.start();
_root.conCirc.weapon = 1;
_root.rootSpellOrder = "";
_root.rootSpell = "";
_global.activateStrength = true;
Symbol 211 MovieClip Frame 16
_root.magic.gotoAndStop(1);
Symbol 212 MovieClip Frame 1
stop();
Symbol 216 MovieClip Frame 1
stop();
Instance of Symbol 215 MovieClip in Symbol 216 MovieClip Frame 2
onClipEvent (enterFrame) {
_alpha = (_alpha - 15);
_xscale = (_xscale + 15);
_yscale = (_yscale + 15);
}
Instance of Symbol 215 MovieClip in Symbol 216 MovieClip Frame 2
onClipEvent (enterFrame) {
_alpha = (_alpha - 15);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
}
Symbol 225 MovieClip Frame 1
if (attackOne) {
this.aSword.play();
}
Instance of Symbol 201 MovieClip "hitBlock" in Symbol 225 MovieClip Frame 2
onClipEvent (load) {
slashSound = Math.ceil(Math.random() * 3);
switch (slashSound) {
case 1 :
_root.swordSlash1.start();
break;
case 2 :
_root.swordSlash2.start();
break;
case 3 :
_root.swordSlash3.start();
}
this._alpha = 0;
}
Symbol 225 MovieClip Frame 3
stop();
Instance of Symbol 201 MovieClip in Symbol 225 MovieClip Frame 3
onClipEvent (load) {
_parent._parent.attackOne = false;
this._alpha = 0;
}
Instance of Symbol 201 MovieClip "blockArea" in Symbol 229 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 201 MovieClip "blockArea" in Symbol 229 MovieClip Frame 4
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 228 MovieClip in Symbol 229 MovieClip Frame 4
onClipEvent (load) {
_root.swordFreeze.start();
_alpha = 0;
timer = 75;
}
onClipEvent (enterFrame) {
timer--;
if (timer <= 0) {
_root.iceBreak.start();
_parent.frozen = false;
}
if (_alpha < 100) {
_alpha = (_alpha + 15);
}
}
Symbol 232 MovieClip Frame 7
stop();
Instance of Symbol 232 MovieClip in Symbol 234 MovieClip Frame 2
onClipEvent (load) {
_root.runeHit1.start();
}
Instance of Symbol 232 MovieClip in Symbol 237 MovieClip Frame 2
onClipEvent (load) {
_root.runeHit2.start();
}
Instance of Symbol 232 MovieClip in Symbol 240 MovieClip Frame 2
onClipEvent (load) {
_root.runeHit3.start();
}
Instance of Symbol 232 MovieClip in Symbol 243 MovieClip Frame 2
onClipEvent (load) {
_root.runeHit4.start();
}
Instance of Symbol 201 MovieClip "blockArea" in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 256 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) {
if (_parent._name != "parentHandFire") {
_root.fireMagic.start();
}
}
Instance of Symbol 201 MovieClip "hitBlock" in Symbol 261 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 266 MovieClip Frame 1
stop();
Instance of Symbol 253 MovieClip in Symbol 266 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 266 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
_root.tutControl.tutorialControl++;
_parent.gotoAndStop(2);
}
}
Instance of Symbol 268 MovieClip in Symbol 269 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 269 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Symbol 278 MovieClip Frame 1
stop();
Instance of Symbol 221 MovieClip in Symbol 278 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 278 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.targetHit.start();
_root.tutControl.tutorialControl++;
_parent.gotoAndStop(2);
}
}
Symbol 282 MovieClip Frame 1
stop();
Instance of Symbol 281 MovieClip in Symbol 282 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 282 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.aimer.hitBlock)) {
_root.tutControl.tutorialControl++;
_parent.gotoAndStop(2);
}
}
Symbol 285 MovieClip Frame 1
stop();
Symbol 286 MovieClip Frame 1
stop();
Instance of Symbol 285 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock) && (_global.activateStrength)) {
_global.activateStrength = false;
_root.targetHit.start();
_root.tutControl.tutorialControl++;
_parent.gotoAndStop(2);
}
}
Symbol 307 MovieClip Frame 1
stop();
Symbol 307 MovieClip Frame 13
stop();
Symbol 311 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 13
stop();
Symbol 313 MovieClip Frame 1
stop();
Symbol 313 MovieClip Frame 13
stop();
Symbol 316 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 13
stop();
Symbol 320 MovieClip Frame 1
stop();
Instance of Symbol 311 MovieClip in Symbol 320 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (hitTest(_root.pointAccuracy) && (_currentframe == 1)) {
_root.optionsRollover.start();
play();
}
if ((!hitTest(_root.pointAccuracy)) && (_currentframe == 13)) {
play();
}
}
onClipEvent (mouseDown) {
if (hitTest(_root.pointAccuracy)) {
if (_root.selectControl) {
_root.selectControl = false;
_global.stageSelect = "main";
_root.music.stop();
_root.soundTransition.start();
play();
_root.gotoAndStop("stagetrans");
}
}
}
Symbol 320 MovieClip Frame 13
stop();
Instance of Symbol 307 MovieClip in Symbol 320 MovieClip Frame 13
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (hitTest(_root.pointAccuracy) && (_currentframe == 1)) {
_root.optionsRollover.start();
play();
}
if ((!hitTest(_root.pointAccuracy)) && (_currentframe == 13)) {
play();
}
}
onClipEvent (mouseDown) {
if (hitTest(_root.pointAccuracy)) {
_root.wordClick.start();
_root.openCredits = true;
_root.gotoAndStop("credits");
}
}
Instance of Symbol 311 MovieClip in Symbol 320 MovieClip Frame 13
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (hitTest(_root.pointAccuracy) && (_currentframe == 1)) {
_root.optionsRollover.start();
play();
}
if ((!hitTest(_root.pointAccuracy)) && (_currentframe == 13)) {
play();
}
}
onClipEvent (mouseUp) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
getURL ("http://www.armorgames.com/", "_blank");
}
}
Instance of Symbol 313 MovieClip in Symbol 320 MovieClip Frame 13
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (hitTest(_root.pointAccuracy) && (_currentframe == 1)) {
_root.optionsRollover.start();
play();
}
if ((!hitTest(_root.pointAccuracy)) && (_currentframe == 13)) {
play();
}
}
onClipEvent (mouseDown) {
if (hitTest(_root.pointAccuracy)) {
if (_root.selectControl) {
_root.selectControl = false;
_global.stageSelect = "extrastrans";
_root.music.stop();
_root.soundTransition.start();
_root.gotoAndStop(_global.stageSelect);
play();
}
}
}
Instance of Symbol 316 MovieClip in Symbol 320 MovieClip Frame 13
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (hitTest(_root.pointAccuracy) && (_currentframe == 1)) {
_root.optionsRollover.start();
play();
}
if ((!hitTest(_root.pointAccuracy)) && (_currentframe == 13)) {
play();
}
}
onClipEvent (mouseDown) {
if (hitTest(_root.pointAccuracy)) {
if (_root.selectControl) {
_root.selectControl = false;
_global.stageSelect = "main";
_root.music.stop();
_root.soundTransition.start();
play();
_root.gotoAndStop("stagetrans");
}
}
}
Instance of Symbol 307 MovieClip in Symbol 320 MovieClip Frame 14
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 311 MovieClip in Symbol 320 MovieClip Frame 14
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (hitTest(_root.pointAccuracy) && (_currentframe == 1)) {
_root.optionsRollover.start();
play();
}
if ((!hitTest(_root.pointAccuracy)) && (_currentframe == 13)) {
play();
}
}
onClipEvent (mouseDown) {
if (hitTest(_root.pointAccuracy)) {
if (_root.selectControl) {
_root.selectControl = false;
_global.stageSelect = "main";
_root.music.stop();
_root.soundTransition.start();
play();
_root.gotoAndStop("stagetrans");
}
}
}
Instance of Symbol 313 MovieClip in Symbol 320 MovieClip Frame 14
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 316 MovieClip in Symbol 320 MovieClip Frame 14
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 307 MovieClip in Symbol 320 MovieClip Frame 24
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (hitTest(_root.pointAccuracy) && (_currentframe == 1)) {
play();
}
if ((!hitTest(_root.pointAccuracy)) && (_currentframe == 13)) {
play();
}
}
Instance of Symbol 313 MovieClip in Symbol 320 MovieClip Frame 24
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (hitTest(_root.pointAccuracy) && (_currentframe == 1)) {
play();
}
if ((!hitTest(_root.pointAccuracy)) && (_currentframe == 13)) {
play();
}
}
Instance of Symbol 316 MovieClip in Symbol 320 MovieClip Frame 24
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (hitTest(_root.pointAccuracy) && (_currentframe == 1)) {
play();
}
if ((!hitTest(_root.pointAccuracy)) && (_currentframe == 13)) {
play();
}
}
Symbol 334 MovieClip Frame 1
stop();
Instance of Symbol 341 MovieClip in Symbol 342 MovieClip Frame 1
onClipEvent (mouseUp) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
getURL ("http://www.armorgames.com/", "_blank");
}
}
Symbol 345 MovieClip Frame 1
stop();
Instance of Symbol 349 MovieClip in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
if (_global.openPlant) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 352 MovieClip in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
if (_global.completedMini1) {
_visible = true;
_parent.miniCount++;
} else {
_visible = false;
}
}
Instance of Symbol 354 MovieClip in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
if (_global.completedMini2) {
_visible = true;
_parent.miniCount++;
} else {
_visible = false;
}
}
Instance of Symbol 356 MovieClip in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
if (_global.completedMini3) {
_visible = true;
_parent.miniCount++;
} else {
_visible = false;
}
}
Instance of Symbol 358 MovieClip in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
if (_global.completedMini4) {
_visible = true;
_parent.miniCount++;
} else {
_visible = false;
}
}
Instance of Symbol 360 MovieClip in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
if (_global.completedMini5) {
_visible = true;
_parent.miniCount++;
} else {
_visible = false;
}
}
Instance of Symbol 362 MovieClip in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
if (_global.completedMini6) {
_visible = true;
_parent.miniCount++;
} else {
_visible = false;
}
}
Instance of Symbol 364 MovieClip in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
if (_global.completedMini7) {
_visible = true;
_parent.miniCount++;
} else {
_visible = false;
}
}
Instance of Symbol 366 MovieClip in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
if (_global.completedMini8) {
_visible = true;
_parent.miniCount++;
} else {
_visible = false;
}
}
Instance of Symbol 368 MovieClip in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
if (_global.completedMini9) {
_visible = true;
_parent.miniCount++;
} else {
_visible = false;
}
}
Instance of Symbol 370 MovieClip in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
if (_global.completedMini10) {
_visible = true;
_parent.miniCount++;
} else {
_visible = false;
}
}
Instance of Symbol 382 MovieClip in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
hitOnce = true;
if (_global.openPlant) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
if (!_global.openPlant) {
if (((((((((_global.completedMini1 && (_global.completedMini2)) && (_global.completedMini3)) && (_global.completedMini4)) && (_global.completedMini5)) && (_global.completedMini6)) && (_global.completedMini7)) && (_global.completedMini8)) && (_global.completedMini9)) && (_global.completedMini10)) {
_global.openPlant = true;
_root.savefile.data.openPlant = _global.openPlant;
_root.savefile.flush();
}
}
if (_global.openPlant) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
_root.extrasinfo.gotoAndStop(12);
} else {
hitOnce = true;
}
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openPlant) {
_root.music.stop();
_root.stageClick.start();
_root.soundTransition.start();
_global.stageSelect = "mini11";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Symbol 405 MovieClip Frame 1
stop();
Instance of Symbol 405 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
if (_global.completedMini1) {
this.gotoAndStop(12);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
if (_global.mini2Highscore > _global.mini2Target) {
_global.completedMini2 = true;
_root.savefile.data.completedMini2 = _global.completedMini2;
_root.savefile.flush();
}
if (_global.completedMini2) {
this.gotoAndStop(13);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
if (_global.completedMini3) {
this.gotoAndStop(14);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
if (_global.completedMini4) {
this.gotoAndStop(15);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
if (_global.completedMini5) {
this.gotoAndStop(16);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
if (_global.completedMini6) {
this.gotoAndStop(17);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
if (_global.completedMini7) {
this.gotoAndStop(18);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
if (_global.completedMini8) {
this.gotoAndStop(19);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
if (_global.completedMini9) {
this.gotoAndStop(20);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
if (_global.completedMini10) {
this.gotoAndStop(21);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
if (_global.openMini1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
if (_global.openMini2) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
if (_global.openMini3) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
if (_global.openMini4) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
if (_global.openMini5) {
this.gotoAndStop(6);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
if (_global.openMini6) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
if (_global.openMini7) {
this.gotoAndStop(8);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
if (_global.openMini8) {
this.gotoAndStop(9);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
if (_global.openMini9) {
this.gotoAndStop(10);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
if (_global.openMini10) {
this.gotoAndStop(11);
} else {
this.gotoAndStop(1);
}
}
Symbol 462 MovieClip Frame 1
stop();
Instance of Symbol 192 MovieClip in Symbol 462 MovieClip Frame 2
onClipEvent (load) {
_parent.highscoreDisplay.text = _global.mini1Highscore.toString();
}
Instance of Symbol 192 MovieClip in Symbol 462 MovieClip Frame 2
onClipEvent (load) {
a = _global.mini1Highscore;
b = _global.mini2Highscore;
c = _global.mini3Highscore;
d = _global.mini4Highscore;
e = _global.mini5Highscore;
f = _global.mini6Highscore;
g = _global.mini7Highscore;
h = _global.mini8Highscore;
i = _global.mini9Highscore;
j = _global.mini10Highscore;
_global.totalHighscore = ((((((((a + b) + c) + d) + e) + f) + g) + h) + i) + j;
_parent.totalscoreDisplay.text = _global.totalHighscore.toString();
}
Instance of Symbol 192 MovieClip in Symbol 462 MovieClip Frame 3
onClipEvent (load) {
_parent.highscoreDisplay.text = _global.mini2Highscore.toString();
}
Instance of Symbol 192 MovieClip in Symbol 462 MovieClip Frame 4
onClipEvent (load) {
_parent.highscoreDisplay.text = _global.mini3Highscore.toString();
}
Instance of Symbol 192 MovieClip in Symbol 462 MovieClip Frame 5
onClipEvent (load) {
_parent.highscoreDisplay.text = _global.mini4Highscore.toString();
}
Instance of Symbol 192 MovieClip in Symbol 462 MovieClip Frame 6
onClipEvent (load) {
_parent.highscoreDisplay.text = _global.mini5Highscore.toString();
}
Instance of Symbol 192 MovieClip in Symbol 462 MovieClip Frame 7
onClipEvent (load) {
_parent.highscoreDisplay.text = _global.mini6Highscore.toString();
}
Instance of Symbol 192 MovieClip in Symbol 462 MovieClip Frame 8
onClipEvent (load) {
_parent.highscoreDisplay.text = _global.mini7Highscore.toString();
}
Instance of Symbol 192 MovieClip in Symbol 462 MovieClip Frame 9
onClipEvent (load) {
_parent.highscoreDisplay.text = _global.mini8Highscore.toString();
}
Instance of Symbol 192 MovieClip in Symbol 462 MovieClip Frame 10
onClipEvent (load) {
_parent.highscoreDisplay.text = _global.mini9Highscore.toString();
}
Instance of Symbol 192 MovieClip in Symbol 462 MovieClip Frame 11
onClipEvent (load) {
_parent.highscoreDisplay.text = _global.mini10Highscore.toString();
}
Instance of Symbol 462 MovieClip "extrasinfo" in Symbol 463 MovieClip Frame 1
onClipEvent (load) {
switch (_global.stageSelect) {
case "mini1" :
this.gotoAndStop(2);
break;
case "mini2" :
this.gotoAndStop(3);
break;
case "mini3" :
this.gotoAndStop(4);
break;
case "mini4" :
this.gotoAndStop(5);
break;
case "mini5" :
this.gotoAndStop(6);
break;
case "mini6" :
this.gotoAndStop(7);
break;
case "mini7" :
this.gotoAndStop(8);
break;
case "mini8" :
this.gotoAndStop(9);
break;
case "mini9" :
this.gotoAndStop(10);
break;
case "mini10" :
this.gotoAndStop(11);
break;
case "mini11" :
this.gotoAndStop(12);
}
}
Instance of Symbol 418 MovieClip in Symbol 463 MovieClip Frame 35
onClipEvent (load) {
_root.gotoAndStop(_global.stageSelect);
}
Symbol 481 MovieClip Frame 1
stop();
Instance of Symbol 341 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (mouseUp) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
getURL ("http://www.armorgames.com/", "_blank");
}
}
Symbol 486 MovieClip Frame 1
stop();
Symbol 489 MovieClip Frame 1
stop();
Symbol 492 MovieClip Frame 1
stop();
Symbol 495 MovieClip Frame 1
stop();
Symbol 498 MovieClip Frame 1
stop();
Symbol 501 MovieClip Frame 1
stop();
Symbol 504 MovieClip Frame 1
stop();
Symbol 507 MovieClip Frame 1
stop();
Symbol 510 MovieClip Frame 1
stop();
Symbol 513 MovieClip Frame 1
stop();
Instance of Symbol 349 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
if (_global.openGod) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 518 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
if (_global.defeatedWater) {
_visible = true;
_parent.enemyCount++;
} else {
_visible = false;
}
}
Instance of Symbol 520 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
if (_global.defeatedSky) {
_visible = true;
_parent.enemyCount++;
} else {
_visible = false;
}
}
Instance of Symbol 522 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
if (_global.defeatedRock) {
_visible = true;
_parent.enemyCount++;
} else {
_visible = false;
}
}
Instance of Symbol 524 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
if (_global.defeatedIron) {
_visible = true;
_parent.enemyCount++;
} else {
_visible = false;
}
}
Instance of Symbol 526 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
if (_global.defeatedFire) {
_visible = true;
_parent.enemyCount++;
} else {
_visible = false;
}
}
Instance of Symbol 528 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
if (_global.defeatedIce) {
_visible = true;
_parent.enemyCount++;
} else {
_visible = false;
}
}
Instance of Symbol 530 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
if (_global.defeatedWeather) {
_visible = true;
_parent.enemyCount++;
} else {
_visible = false;
}
}
Instance of Symbol 532 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
if (_global.defeatedLightdark) {
_visible = true;
_parent.enemyCount++;
} else {
_visible = false;
}
}
Instance of Symbol 534 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
if (_global.defeatedSound) {
_visible = true;
_parent.enemyCount++;
} else {
_visible = false;
}
}
Instance of Symbol 536 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
if (_global.defeatedTime) {
_visible = true;
_parent.enemyCount++;
} else {
_visible = false;
}
}
Instance of Symbol 548 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
hitOnce = true;
if (_global.enemyCounter == 10) {
_global.openGod = true;
savefile.data.openGod = _global.openGod;
savefile.flush();
}
if (_global.openGod) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
if (_global.openGod) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (hitOnce) {
_root.stageRollover.start();
hitOnce = false;
}
_root.levelinfo.gotoAndStop(12);
} else {
hitOnce = true;
}
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.openGod) {
_root.music.stop();
_root.stageClick.start();
_root.soundTransition.start();
_global.stageSelect = "god";
_root.gotoAndStop(_global.stageSelect);
}
}
}
Instance of Symbol 405 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
if (_global.defeatedWater) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
if (_global.defeatedSky) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
if (_global.defeatedRock) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
if (_global.defeatedIron) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
if (_global.defeatedFire) {
this.gotoAndStop(6);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
if (_global.defeatedIce) {
this.gotoAndStop(7);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
if (_global.defeatedWeather) {
this.gotoAndStop(8);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
if (_global.defeatedLightdark) {
this.gotoAndStop(9);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
if (_global.defeatedSound) {
this.gotoAndStop(10);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
if (_global.defeatedTime) {
this.gotoAndStop(11);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 486 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
if (_global.openWater) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 489 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
if (_global.openSky) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 492 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
if (_global.openRock) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 495 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
if (_global.openIron) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 498 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
if (_global.openFire) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 501 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
if (_global.openIce) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 504 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
if (_global.openWeather) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 507 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
if (_global.openLightdark) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 510 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
if (_global.openSound) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 513 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
if (_global.openTime) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 481 MovieClip "levelinfo" in Symbol 551 MovieClip Frame 1
onClipEvent (load) {
switch (_global.stageSelect) {
case "water" :
this.gotoAndStop(2);
break;
case "sky" :
this.gotoAndStop(3);
break;
case "rock" :
this.gotoAndStop(4);
break;
case "iron" :
this.gotoAndStop(5);
break;
case "fire" :
this.gotoAndStop(6);
break;
case "ice" :
this.gotoAndStop(7);
break;
case "weather" :
this.gotoAndStop(8);
break;
case "lightdark" :
this.gotoAndStop(9);
break;
case "sound" :
this.gotoAndStop(10);
break;
case "time" :
this.gotoAndStop(11);
break;
case "god" :
this.gotoAndStop(12);
}
}
Instance of Symbol 550 MovieClip in Symbol 551 MovieClip Frame 35
onClipEvent (load) {
_root.nextFrame();
}
Instance of Symbol 555 MovieClip in Symbol 556 MovieClip Frame 40
onClipEvent (mouseUp) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
getURL ("http://www.soundsnap.com", "_blank");
}
}
Symbol 556 MovieClip Frame 75
stop();
Instance of Symbol 481 MovieClip "levelinfo" in Symbol 557 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 550 MovieClip in Symbol 557 MovieClip Frame 30
onClipEvent (load) {
_root.gotoAndStop(_global.stageSelect);
}
Instance of Symbol 418 MovieClip in Symbol 558 MovieClip Frame 30
onClipEvent (load) {
_root.gotoAndStop(_global.stageSelect);
}
Symbol 566 MovieClip Frame 1
stop();
Instance of Symbol 565 MovieClip in Symbol 566 MovieClip Frame 1
onClipEvent (load) {
_root.rouletteWheel.start();
}
Instance of Symbol 253 MovieClip in Symbol 566 MovieClip Frame 3
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 195 MovieClip in Symbol 566 MovieClip Frame 3
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 281 MovieClip in Symbol 566 MovieClip Frame 3
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 566 MovieClip Frame 3
onClipEvent (load) {
_alpha = 0;
points = 100;
}
onClipEvent (enterFrame) {
if (hitTest(_root.shield.blockArea)) {
_parent.hitSuccess = false;
_parent.aimerSelect = 0;
_parent.aimerTimer = 40;
_root.scoreFunction(points);
_root.blockFunction();
if (_parent.reactionTime > 16) {
_parent.reactionTime = _parent.reactionTime - 0.75;
}
_parent.gotoAndStop(1);
}
}
Instance of Symbol 195 MovieClip in Symbol 566 MovieClip Frame 5
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 221 MovieClip in Symbol 566 MovieClip Frame 5
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 253 MovieClip in Symbol 566 MovieClip Frame 5
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 566 MovieClip Frame 5
onClipEvent (load) {
_alpha = 0;
points = 100;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_parent.hitSuccess = false;
_parent.aimerSelect = 0;
_parent.aimerTimer = 40;
_root.scoreFunction(points);
_root.blockFunction();
if (_parent.reactionTime > 16) {
_parent.reactionTime = _parent.reactionTime - 0.75;
}
_parent.gotoAndStop(1);
}
}
Instance of Symbol 221 MovieClip in Symbol 566 MovieClip Frame 7
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 195 MovieClip in Symbol 566 MovieClip Frame 7
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 288 MovieClip in Symbol 566 MovieClip Frame 7
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 566 MovieClip Frame 7
onClipEvent (load) {
this._alpha = 0;
points = 100;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_parent.hitSuccess = false;
_parent.aimerSelect = 0;
_parent.aimerTimer = 40;
_root.scoreFunction(points);
if (_parent.reactionTime > 16) {
_parent.reactionTime = _parent.reactionTime - 0.75;
}
_parent.gotoAndStop(1);
}
}
Instance of Symbol 288 MovieClip in Symbol 566 MovieClip Frame 9
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 221 MovieClip in Symbol 566 MovieClip Frame 9
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 281 MovieClip in Symbol 566 MovieClip Frame 9
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 566 MovieClip Frame 9
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_parent.hitSuccess = false;
} else {
_parent.hitSuccess = true;
}
}
Instance of Symbol 288 MovieClip in Symbol 566 MovieClip Frame 11
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 253 MovieClip in Symbol 566 MovieClip Frame 11
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 281 MovieClip in Symbol 566 MovieClip Frame 11
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 566 MovieClip Frame 11
onClipEvent (load) {
_alpha = 0;
points = 100;
}
onClipEvent (enterFrame) {
if (hitTest(_root.aimer.hitBlock)) {
_parent.hitSuccess = false;
_parent.aimerSelect = 0;
_parent.aimerTimer = 40;
_root.scoreFunction(points);
if (_parent.reactionTime > 16) {
_parent.reactionTime = _parent.reactionTime - 0.75;
}
_parent.gotoAndStop(1);
}
}
Instance of Symbol 462 MovieClip "extrasinfo" in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
switch (_global.stageSelect) {
case "mini1" :
this.gotoAndStop(2);
break;
case "mini2" :
this.gotoAndStop(3);
break;
case "mini3" :
this.gotoAndStop(4);
break;
case "mini4" :
this.gotoAndStop(5);
break;
case "mini5" :
this.gotoAndStop(6);
break;
case "mini6" :
this.gotoAndStop(7);
break;
case "mini7" :
this.gotoAndStop(8);
break;
case "mini8" :
this.gotoAndStop(9);
break;
case "mini9" :
this.gotoAndStop(10);
break;
case "mini10" :
this.gotoAndStop(11);
break;
case "mini11" :
this.gotoAndStop(12);
}
}
Symbol 571 MovieClip Frame 35
stop();
Instance of Symbol 418 MovieClip in Symbol 571 MovieClip Frame 61
onClipEvent (load) {
_global.stageSelect = "extras";
_root.gotoAndStop(_global.stageSelect);
}
Symbol 574 MovieClip Frame 10
stop();
Instance of Symbol 574 MovieClip "parentMini" in Symbol 575 MovieClip Frame 1
onClipEvent (load) {
if (_name == "parentMini") {
timer = 4;
i = 1;
_visible = false;
} else {
rotatinSpeed = (Math.random() * 30) - 15;
c = Math.random() * 6;
_x = (Math.sin(c) * 80);
_y = (Math.cos(c) * 80);
if (_x > 0) {
xSpeed = (Math.random() * 2) + 2;
} else {
xSpeed = -((Math.random() * 2) + 2);
}
if (_y > 0) {
ySpeed = (Math.random() * 2) + 2;
} else {
ySpeed = -((Math.random() * 2) + 2);
}
}
}
onClipEvent (enterFrame) {
if (_name == "parentMini") {
if (timer > 0) {
timer--;
} else {
this.duplicateMovieClip("miniBlob" + i, _parent.getNextHighestDepth());
timer = 4;
i++;
}
} else {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
_rotation = (_rotation + rotationSpeed);
_alpha = (_alpha - 7);
if (_alpha < 0) {
this.removeMovieClip();
}
}
}
Instance of Symbol 288 MovieClip "parentAimer" in Symbol 575 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
_rotation = (_rotation + 5);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 575 MovieClip Frame 1
onClipEvent (load) {
damage = 10;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.hurtFunction(damage);
}
if (hitTest(_root.sword2.blockArea)) {
damage = 20;
_root.extrasHurtFunction(damage);
}
}
Symbol 577 MovieClip Frame 1
stop();
Instance of Symbol 201 MovieClip in Symbol 577 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.targetHit.start();
_root.speed.targetCounter++;
_parent.gotoAndStop(2);
}
}
Symbol 578 MovieClip Frame 1
stop();
Symbol 595 MovieClip Frame 1
stop();
Symbol 595 MovieClip Frame 9
stop();
Instance of Symbol 201 MovieClip in Symbol 595 MovieClip Frame 9
onClipEvent (load) {
this._alpha = 0;
timer = 20;
points = 50;
damage = 0.4;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
_root.extrasHurtFunction(damage);
}
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.smileyHit.start();
_root.scoreFunction(points);
_parent.happyTimer = _parent.happyControl;
_parent.play();
}
}
Instance of Symbol 195 MovieClip in Symbol 600 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 600 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Symbol 601 MovieClip Frame 13
stop();
Instance of Symbol 600 MovieClip in Symbol 601 MovieClip Frame 13
onClipEvent (load) {
_root.cannonFire.start();
yMax = Math.floor(Math.random() * 10) + 20;
points = 100;
}
onClipEvent (enterFrame) {
yMax--;
_y = (_y - yMax);
if (_xscale < 160) {
_xscale = (_xscale + 4);
_yscale = (_yscale + 4);
} else {
if (this.hitBlock.hitTest(_root.sword.blockArea)) {
_root.cannonballHit.start();
_root.scoreFunction(points);
_root.blockFunction();
}
if (this.hitBlock.hitTest(_root.shield.blockArea)) {
_root.cannonballHit.start();
_root.scoreFunction(points);
_root.blockFunction();
}
if ((!this.hitBlock.hitTest(_root.sword.blockArea)) and (!this.hitBlock.hitTest(_root.shield.blockArea))) {
damage = 30;
_root.extrasHurtFunction(damage);
}
_parent.gotoAndStop(1);
}
}
Instance of Symbol 253 MovieClip in Symbol 606 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 606 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Symbol 607 MovieClip Frame 13
stop();
Instance of Symbol 606 MovieClip in Symbol 607 MovieClip Frame 13
onClipEvent (load) {
_root.cannonFire.start();
yMax = Math.floor(Math.random() * 10) + 20;
points = 100;
}
onClipEvent (enterFrame) {
yMax--;
_y = (_y - yMax);
if (_xscale < 160) {
_xscale = (_xscale + 4);
_yscale = (_yscale + 4);
} else {
if (hitTest(_root.shield.blockArea)) {
_root.cannonballHit.start();
_root.scoreFunction(points);
_root.blockFunction();
}
if (!hitTest(_root.shield.blockArea)) {
if (hitTest(_root.sword.blockArea)) {
damage = 30;
_root.cannonballHit.start();
_root.extrasHurtFunction(damage);
_root.blockFunction();
} else {
damage = 60;
_root.extrasHurtFunction(damage);
}
}
_parent.gotoAndStop(1);
}
}
Instance of Symbol 612 MovieClip in Symbol 613 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 5;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 613 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -6;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 613 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 7;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 613 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 613 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -6;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 613 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 615 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 5;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 615 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -6;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 615 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 615 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 615 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 7;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 615 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -6;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 615 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 221 MovieClip in Symbol 617 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 617 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
points = 100;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.targetHit.start();
_root.scoreFunction(points);
_parent._parent.gotoAndStop(6);
}
}
Instance of Symbol 281 MovieClip in Symbol 617 MovieClip Frame 2
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 617 MovieClip Frame 2
onClipEvent (load) {
_alpha = 0;
points = 100;
}
onClipEvent (enterFrame) {
if (hitTest(_root.aimer.hitBlock)) {
_root.targetHit.start();
_root.scoreFunction(points);
_parent._parent.gotoAndStop(6);
}
}
Instance of Symbol 617 MovieClip in Symbol 642 MovieClip Frame 1
onClipEvent (load) {
aimerSet = Math.ceil(Math.random() * 2);
this.gotoAndStop(aimerSet);
}
Instance of Symbol 642 MovieClip in Symbol 643 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
onClipEvent (enterFrame) {
_x = (_x - _parent.xSpeed);
if (_x < -540) {
if (_currentframe != 6) {
damage = 20;
_root.extrasHurtFunction(damage);
}
enemySet = Math.ceil(Math.random() * 5);
this.gotoAndStop(enemySet);
_x = 540;
}
}
Instance of Symbol 642 MovieClip in Symbol 643 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
onClipEvent (enterFrame) {
_x = (_x - _parent.xSpeed);
if (_x < -540) {
if (_currentframe != 6) {
damage = 20;
_root.extrasHurtFunction(damage);
}
enemySet = Math.ceil(Math.random() * 5);
this.gotoAndStop(enemySet);
_x = 540;
}
}
Instance of Symbol 642 MovieClip in Symbol 643 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
onClipEvent (enterFrame) {
_x = (_x - _parent.xSpeed);
if (_x < -540) {
if (_currentframe != 6) {
damage = 20;
_root.extrasHurtFunction(damage);
}
enemySet = Math.ceil(Math.random() * 5);
this.gotoAndStop(enemySet);
_x = 540;
}
}
Instance of Symbol 642 MovieClip in Symbol 643 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
onClipEvent (enterFrame) {
_x = (_x - _parent.xSpeed);
if (_x < -540) {
if (_currentframe != 6) {
damage = 20;
_root.extrasHurtFunction(damage);
}
enemySet = Math.ceil(Math.random() * 5);
this.gotoAndStop(enemySet);
_x = 540;
}
}
Instance of Symbol 642 MovieClip in Symbol 643 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
onClipEvent (enterFrame) {
_x = (_x - _parent.xSpeed);
if (_x < -540) {
if (_currentframe != 6) {
damage = 20;
_root.extrasHurtFunction(damage);
}
enemySet = Math.ceil(Math.random() * 5);
this.gotoAndStop(enemySet);
_x = 540;
}
}
Instance of Symbol 642 MovieClip in Symbol 643 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
onClipEvent (enterFrame) {
_x = (_x - _parent.xSpeed);
if (_x < -540) {
if (_currentframe != 6) {
damage = 20;
_root.extrasHurtFunction(damage);
}
enemySet = Math.ceil(Math.random() * 5);
this.gotoAndStop(enemySet);
_x = 540;
}
}
Instance of Symbol 642 MovieClip in Symbol 643 MovieClip Frame 1
onClipEvent (load) {
enemySet = Math.ceil(Math.random() * 5);
this.gotoAndStop(enemySet);
}
onClipEvent (enterFrame) {
_x = (_x - _parent.xSpeed);
if (_x < -540) {
if (_currentframe != 6) {
damage = 20;
_root.extrasHurtFunction(damage);
}
enemySet = Math.ceil(Math.random() * 5);
this.gotoAndStop(enemySet);
_x = 540;
}
}
Instance of Symbol 642 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
onClipEvent (enterFrame) {
_x = (_x + _parent.xSpeed);
if (_x > 540) {
if (_currentframe != 6) {
damage = 20;
_root.extrasHurtFunction(damage);
}
enemySet = Math.ceil(Math.random() * 5);
this.gotoAndStop(enemySet);
_x = -540;
}
}
Instance of Symbol 642 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
onClipEvent (enterFrame) {
_x = (_x + _parent.xSpeed);
if (_x > 540) {
if (_currentframe != 6) {
damage = 20;
_root.extrasHurtFunction(damage);
}
enemySet = Math.ceil(Math.random() * 5);
this.gotoAndStop(enemySet);
_x = -540;
}
}
Instance of Symbol 642 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
onClipEvent (enterFrame) {
_x = (_x + _parent.xSpeed);
if (_x > 540) {
if (_currentframe != 6) {
damage = 20;
_root.extrasHurtFunction(damage);
}
enemySet = Math.ceil(Math.random() * 5);
this.gotoAndStop(enemySet);
_x = -540;
}
}
Instance of Symbol 642 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
onClipEvent (enterFrame) {
_x = (_x + _parent.xSpeed);
if (_x > 540) {
if (_currentframe != 6) {
damage = 20;
_root.extrasHurtFunction(damage);
}
enemySet = Math.ceil(Math.random() * 5);
this.gotoAndStop(enemySet);
_x = -540;
}
}
Instance of Symbol 642 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
enemySet = Math.ceil(Math.random() * 5);
this.gotoAndStop(enemySet);
}
onClipEvent (enterFrame) {
_x = (_x + _parent.xSpeed);
if (_x > 540) {
if (_currentframe != 6) {
damage = 20;
_root.extrasHurtFunction(damage);
}
enemySet = Math.ceil(Math.random() * 5);
this.gotoAndStop(enemySet);
_x = -540;
}
}
Instance of Symbol 642 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
onClipEvent (enterFrame) {
_x = (_x + _parent.xSpeed);
if (_x > 540) {
if (_currentframe != 6) {
damage = 20;
_root.extrasHurtFunction(damage);
}
enemySet = Math.ceil(Math.random() * 5);
this.gotoAndStop(enemySet);
_x = -540;
}
}
Instance of Symbol 642 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
onClipEvent (enterFrame) {
_x = (_x + _parent.xSpeed);
if (_x > 540) {
if (_currentframe != 6) {
damage = 20;
_root.extrasHurtFunction(damage);
}
enemySet = Math.ceil(Math.random() * 5);
this.gotoAndStop(enemySet);
_x = -540;
}
}
Instance of Symbol 601 MovieClip "cannon7" in Symbol 647 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip "cannon1" in Symbol 647 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip "cannon8" in Symbol 647 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip "cannon2" in Symbol 647 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip "cannon9" in Symbol 647 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip "cannon3" in Symbol 647 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip "cannon10" in Symbol 647 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip "cannon4" in Symbol 647 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip "cannon11" in Symbol 647 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip "cannon5" in Symbol 647 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip "cannon12" in Symbol 647 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip "cannon6" in Symbol 647 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 651 MovieClip Frame 1
stop();
Instance of Symbol 201 MovieClip in Symbol 651 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
points = 10;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.targetHit.start();
_root.scoreFunction(points);
_parent.gotoAndStop(2);
}
if (hitTest(_root.sword2.aSword.hitBlock)) {
_root.targetHit.start();
_root.scoreFunction(points);
_parent.gotoAndStop(2);
}
}
Instance of Symbol 201 MovieClip in Symbol 651 MovieClip Frame 2
onClipEvent (load) {
this._alpha = 0;
resetTimer = 75;
}
onClipEvent (enterFrame) {
resetTimer--;
if (resetTimer <= 0) {
_parent.gotoAndStop(1);
}
}
Symbol 652 MovieClip Frame 1
stop();
Instance of Symbol 201 MovieClip in Symbol 664 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.targetHit.start();
points = -(_parent._currentframe * 10);
if ((_root.score - Math.abs(points)) >= 0) {
_root.scoreFunction(points);
}
_parent.countdown = _parent.countdownControl;
_parent._x = (Math.random() * 750) + 50;
_parent._y = (Math.random() * 500) + 75;
}
}
Instance of Symbol 201 MovieClip in Symbol 672 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.targetHit.start();
if (_parent.countdownControl > 20) {
_parent.countdownControl = _parent.countdownControl - 10;
}
points = _parent._currentframe * 10;
_root.scoreFunction(points);
_parent.countdown = _parent.countdownControl;
_parent._x = (Math.random() * 700) + 50;
_parent._y = (Math.random() * 500) + 75;
}
}
Symbol 672 MovieClip Frame 6
_root.quickMiss.start();
Symbol 678 MovieClip Frame 13
stop();
Instance of Symbol 600 MovieClip in Symbol 678 MovieClip Frame 13
onClipEvent (load) {
_root.cannonFire.start();
yMax = Math.floor(Math.random() * 5) + 25;
points = 100;
}
onClipEvent (enterFrame) {
yMax--;
_y = (_y - yMax);
if (_xscale < 160) {
_xscale = (_xscale + 4);
_yscale = (_yscale + 4);
} else {
if (this.hitBlock.hitTest(_root.sword.blockArea)) {
_root.cannonballHit.start();
_root.scoreFunction(points);
_root.sword.sparks.play();
}
if (this.hitBlock.hitTest(_root.sword2.blockArea)) {
_root.cannonballHit.start();
_root.scoreFunction(points);
_root.sword2.sparks.play();
}
if ((!this.hitBlock.hitTest(_root.sword.blockArea)) and (!this.hitBlock.hitTest(_root.sword2.blockArea))) {
damage = 50;
_root.extrasHurtFunction(damage);
}
_parent.gotoAndStop(1);
}
}
Instance of Symbol 221 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
if (_root.level.enemy.heart.activated) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 201 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
enemyDamage = 60;
sendEnemy = "NA";
}
onClipEvent (enterFrame) {
if (_root.level.enemy.heart.activated) {
if (hitTest(_root.sword.aSword.hitBlock)) {
if (_global.activateStrength) {
enemyDamage = enemyDamage + (enemyDamage / 2);
_global.activateStrength = false;
}
_root.waterHurt.start();
_root.level.enemy.heart.activated = false;
_root.level.enemy.waterboss.gotoAndPlay(123);
_root.enemyHurtFunction(enemyDamage, sendEnemy);
}
}
}
Symbol 703 MovieClip Frame 5
_root.dodgeDown.activated = true;
Symbol 703 MovieClip Frame 26
_root.waterSwipe.start();
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 703 MovieClip Frame 29
onClipEvent (load) {
_alpha = 0;
dodgeDamage = 40;
dodgeDirection = "Down";
}
onClipEvent (enterFrame) {
_root.dodgeFunction(dodgeDamage, dodgeDirection);
}
Symbol 703 MovieClip Frame 58
_root.dodgeDown.activated = false;
Symbol 703 MovieClip Frame 63
_root.level.enemy.attacking = false;
Symbol 704 MovieClip Frame 3
_root.waterDeath.start();
Symbol 704 MovieClip Frame 39
_root.waterSubmerge.start();
Instance of Symbol 613 MovieClip in Symbol 704 MovieClip Frame 39
onClipEvent (enterFrame) {
if (_root.water._alpha < 100) {
_root.water._alpha = _root.water._alpha + 15;
}
}
Symbol 704 MovieClip Frame 45
_root.level.enemy.heart.activated = true;
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 704 MovieClip Frame 54
onClipEvent (load) {
_alpha = 0;
damage = 2;
}
onClipEvent (enterFrame) {
_root.hurtFunction(damage);
}
Symbol 704 MovieClip Frame 122
_root.level.enemy.heart.activated = false;
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 704 MovieClip Frame 122
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.water._alpha > 0) {
_root.water._alpha = _root.water._alpha - 15;
}
}
Symbol 704 MovieClip Frame 139
_root.level.enemy.attacking = false;
Instance of Symbol 195 MovieClip in Symbol 705 MovieClip Frame 23
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 195 MovieClip in Symbol 705 MovieClip Frame 44
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 705 MovieClip Frame 46
onClipEvent (load) {
_alpha = 0;
_root.waterHit.start();
damage = 20;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!hitTest(_root.sword.blockArea)) and (!hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 195 MovieClip in Symbol 705 MovieClip Frame 48
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Instance of Symbol 195 MovieClip in Symbol 705 MovieClip Frame 65
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 705 MovieClip Frame 67
onClipEvent (load) {
_alpha = 0;
_root.waterHit.start();
damage = 20;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!hitTest(_root.sword.blockArea)) and (!hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 195 MovieClip in Symbol 705 MovieClip Frame 69
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 705 MovieClip Frame 88
onClipEvent (load) {
_alpha = 0;
_root.waterHit.start();
damage = 20;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!hitTest(_root.sword.blockArea)) and (!hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 195 MovieClip in Symbol 705 MovieClip Frame 90
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Symbol 705 MovieClip Frame 137
_root.level.enemy.attacking = false;
Instance of Symbol 195 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 707 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 707 MovieClip "parentWater" in Symbol 708 MovieClip Frame 10
onClipEvent (load) {
if (_name != "parentWater") {
_root.waterLaunch.start();
_x = _parent.middleWater._x;
_y = _parent.middleWater._y;
} else {
timer = 13;
i = 1;
}
}
onClipEvent (enterFrame) {
if (_name != "parentWater") {
_xscale = (_xscale + 11);
_yscale = (_yscale + 11);
if (_xscale > 350) {
damage = 20;
if (this.hitBlock.hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (this.hitBlock.hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!this.hitBlock.hitTest(_root.sword.blockArea)) and (!this.hitBlock.hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
_root.waterHit.start();
this.removeMovieClip();
}
} else {
timer--;
if (timer <= 0) {
this.duplicateMovieClip("water" + i, _parent.getNextHighestDepth());
i++;
timer = 13;
}
}
}
Symbol 708 MovieClip Frame 135
_root.level.enemy.attacking = false;
Symbol 709 MovieClip Frame 12
_root.waterDeath.start();
Symbol 709 MovieClip Frame 22
_root.waterDeath.start();
Symbol 709 MovieClip Frame 30
_root.waterDeath.start();
Symbol 709 MovieClip Frame 61
_root.waterSubmerge.start();
Instance of Symbol 192 MovieClip in Symbol 709 MovieClip Frame 90
onClipEvent (load) {
_root.nextFrame();
}
Instance of Symbol 702 MovieClip "heart" in Symbol 710 MovieClip Frame 1
onClipEvent (load) {
activated = false;
}
Symbol 710 MovieClip Frame 10
stop();
Instance of Symbol 702 MovieClip in Symbol 710 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
}
}
Instance of Symbol 709 MovieClip in Symbol 710 MovieClip Frame 10
onClipEvent (load) {
if (!_global.defeatedWater) {
_global.defeatedWater = true;
_global.enemyCounter++;
if (_global.enemyCounter >= 2) {
_global.openRock = true;
_global.openIron = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.water._alpha > 0) {
_root.water._alpha = _root.water._alpha - 20;
}
}
Instance of Symbol 710 MovieClip "enemy" in Symbol 711 MovieClip Frame 1
onClipEvent (load) {
attacking = false;
attackNumber = 8;
defeated = false;
}
onClipEvent (enterFrame) {
if (!defeated) {
if (!attacking) {
_root.enemyAttackFunction(attackNumber);
attacking = true;
}
}
}
Instance of Symbol 195 MovieClip in Symbol 728 MovieClip Frame 6
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 728 MovieClip Frame 20
onClipEvent (load) {
_root.iceballHit.start();
_alpha = 0;
damage = 35;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!hitTest(_root.sword.blockArea)) and (!hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 195 MovieClip in Symbol 728 MovieClip Frame 22
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Instance of Symbol 727 MovieClip in Symbol 728 MovieClip Frame 30
onClipEvent (load) {
_parent.activated = false;
}
Instance of Symbol 195 MovieClip in Symbol 733 MovieClip Frame 18
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 733 MovieClip Frame 43
onClipEvent (load) {
_alpha = 0;
damage = 40;
_root.smallThud.start();
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!hitTest(_root.sword.blockArea)) and (!hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 195 MovieClip in Symbol 733 MovieClip Frame 45
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Instance of Symbol 733 MovieClip in Symbol 734 MovieClip Frame 42
onClipEvent (load) {
_x = ((Math.random() * 700) - 350);
_y = ((Math.random() * 550) - 275);
}
Symbol 734 MovieClip Frame 150
_root.level.enemy.attacking = false;
Instance of Symbol 281 MovieClip in Symbol 735 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 201 MovieClip in Symbol 735 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
enemyDamage = 10;
sendEnemy = "NA";
}
onClipEvent (enterFrame) {
if (hitTest(_root.aimer.hitBlock)) {
_root.enemyHurtFunction(enemyDamage, sendEnemy);
}
}
Instance of Symbol 735 MovieClip in Symbol 737 MovieClip Frame 16
onClipEvent (load) {
c = 0.5;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin(c) * 7));
_y = (_y + (Math.cos(c) * 7));
c = c + 0.12;
_alpha = (_alpha - 1.25);
}
Symbol 737 MovieClip Frame 20
_root.ice1.activated = true;
Instance of Symbol 736 MovieClip in Symbol 737 MovieClip Frame 20
onClipEvent (load) {
rotationSpeed = 5;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
if (rotationSpeed < 75) {
rotationSpeed = rotationSpeed + 3;
}
}
Symbol 737 MovieClip Frame 95
_root.level.enemy.attacking = false;
Instance of Symbol 253 MovieClip in Symbol 739 MovieClip Frame 14
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 739 MovieClip Frame 35
onClipEvent (load) {
_alpha = 0;
_root.bigThud.start();
}
onClipEvent (enterFrame) {
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if (!hitTest(_root.shield.blockArea)) {
if (hitTest(_root.sword.blockArea)) {
damage = 25;
_root.hurtFunction(damage);
_root.blockFunction();
} else {
damage = 50;
_root.hurtFunction(damage);
}
}
}
Instance of Symbol 253 MovieClip in Symbol 739 MovieClip Frame 37
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Symbol 739 MovieClip Frame 66
_root.level.enemy.attacking = false;
Symbol 751 MovieClip Frame 1
stop();
Symbol 751 MovieClip Frame 2
_root.birdCall.start();
Instance of Symbol 195 MovieClip in Symbol 751 MovieClip Frame 2
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 751 MovieClip Frame 20
onClipEvent (load) {
_alpha = 0;
damage = 20;
_root.smallThud.start();
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!hitTest(_root.sword.blockArea)) and (!hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 195 MovieClip in Symbol 751 MovieClip Frame 22
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Symbol 751 MovieClip Frame 35
stop();
Instance of Symbol 751 MovieClip in Symbol 755 MovieClip Frame 1
onClipEvent (load) {
_y = ((Math.random() * 300) + 75);
}
onClipEvent (enterFrame) {
if (_x > -400) {
if (_currentframe == 1) {
this.play();
}
} else {
_x = (_x + 3);
_y = (_y - 1.5);
}
}
Instance of Symbol 751 MovieClip in Symbol 755 MovieClip Frame 1
onClipEvent (load) {
_y = (-(Math.random() * 100));
}
onClipEvent (enterFrame) {
if (_x > -350) {
if (_currentframe == 1) {
this.play();
}
} else {
_x = (_x + 3);
_y = (_y - 1.5);
}
if (_currentframe >= 31) {
_root.level.enemy.attacking = false;
}
}
Instance of Symbol 751 MovieClip in Symbol 755 MovieClip Frame 1
onClipEvent (load) {
_y = ((Math.random() * 200) - 200);
}
onClipEvent (enterFrame) {
if (_x < 350) {
if (_currentframe == 1) {
this.play();
}
} else {
_x = (_x + -3);
_y = (_y - 1.5);
}
}
Instance of Symbol 753 MovieClip in Symbol 755 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 75);
}
Instance of Symbol 754 MovieClip in Symbol 755 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 75);
}
Instance of Symbol 192 MovieClip in Symbol 770 MovieClip Frame 36
onClipEvent (load) {
_root.nextFrame();
}
Symbol 772 MovieClip Frame 1
stop();
Instance of Symbol 721 MovieClip in Symbol 772 MovieClip Frame 1
onClipEvent (load) {
c = 1;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin(c) * 5));
_y = (_y + (Math.cos(c) * 5));
c = c + 0.08;
}
Instance of Symbol 755 MovieClip in Symbol 772 MovieClip Frame 8
onClipEvent (load) {
_root.skyWind.start();
}
Instance of Symbol 770 MovieClip in Symbol 772 MovieClip Frame 10
onClipEvent (load) {
if (!_global.defeatedSky) {
_global.defeatedSky = true;
_global.enemyCounter++;
if (_global.enemyCounter >= 2) {
_global.openRock = true;
_global.openIron = true;
}
}
}
Instance of Symbol 723 MovieClip in Symbol 772 MovieClip Frame 10
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
}
Instance of Symbol 723 MovieClip in Symbol 772 MovieClip Frame 10
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
}
Instance of Symbol 723 MovieClip in Symbol 772 MovieClip Frame 10
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
}
Instance of Symbol 723 MovieClip in Symbol 772 MovieClip Frame 10
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
}
Instance of Symbol 772 MovieClip "enemy" in Symbol 773 MovieClip Frame 1
onClipEvent (load) {
attacking = false;
attackNumber = 8;
defeated = false;
attack = Math.ceil(Math.random() * 100);
}
onClipEvent (enterFrame) {
if (!defeated) {
if (!attacking) {
_root.enemyAttackFunction(attackNumber);
attacking = true;
}
} else {
_root.ice1.activated = false;
}
}
Symbol 780 MovieClip Frame 1
stop();
Instance of Symbol 201 MovieClip "hitBlock" in Symbol 780 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.aimer.hitBlock)) {
_root.level.enemy.arrowHit++;
_parent.gotoAndStop(2);
}
}
Instance of Symbol 253 MovieClip in Symbol 784 MovieClip Frame 20
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 784 MovieClip Frame 37
onClipEvent (load) {
_alpha = 0;
_root.rockLand.start();
}
onClipEvent (enterFrame) {
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if (!hitTest(_root.shield.blockArea)) {
if (hitTest(_root.sword.blockArea)) {
damage = 25;
_root.hurtFunction(damage);
_root.blockFunction();
} else {
damage = 50;
_root.hurtFunction(damage);
}
}
}
Instance of Symbol 253 MovieClip in Symbol 784 MovieClip Frame 41
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Symbol 784 MovieClip Frame 58
_root.level.enemy.attack = 150;
_root.level.enemy.arrowHit = 0;
_root.level.enemy.attacking = false;
Symbol 799 MovieClip Frame 15
_root.rockLand.start();
Instance of Symbol 253 MovieClip in Symbol 799 MovieClip Frame 79
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 799 MovieClip Frame 103
onClipEvent (load) {
_alpha = 0;
_root.rockLand.start();
}
onClipEvent (enterFrame) {
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if (!hitTest(_root.shield.blockArea)) {
if (hitTest(_root.sword.blockArea)) {
damage = 25;
_root.hurtFunction(damage);
_root.blockFunction();
} else {
damage = 50;
_root.hurtFunction(damage);
}
}
}
Instance of Symbol 253 MovieClip in Symbol 799 MovieClip Frame 108
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Symbol 799 MovieClip Frame 136
_root.level.enemy.rightArm.gotoAndPlay(40);
Instance of Symbol 221 MovieClip in Symbol 807 MovieClip Frame 6
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 807 MovieClip Frame 6
onClipEvent (load) {
this._alpha = 0;
enemyDamage = 15;
sendEnemy = "enemyHurtTwo";
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.rockHurt.start();
if (_global.activateStrength) {
enemyDamage = enemyDamage + (enemyDamage / 2);
_global.activateStrength = false;
}
_root.enemyHurtFunction(enemyDamage, sendEnemy);
}
}
Instance of Symbol 806 MovieClip in Symbol 807 MovieClip Frame 64
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.level.enemy._xscale > 103) {
_root.level.enemy.arrowHit = 0;
_root.level.enemy.hurt = false;
}
}
Symbol 807 MovieClip Frame 72
_root.level.enemy.arrowHit = 0;
_root.level.enemy.hurt = false;
Instance of Symbol 780 MovieClip in Symbol 809 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Symbol 809 MovieClip Frame 5
_root.rockLand.start();
Symbol 809 MovieClip Frame 10
_root.rockScrape.start();
Instance of Symbol 192 MovieClip in Symbol 809 MovieClip Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_root.level.enemy._xscale = _root.level.enemy._xscale + _root.level.enemy.scaleChange;
_root.level.enemy._yscale = _root.level.enemy._yscale + _root.level.enemy.scaleChange;
_root.level.enemy.scaleChange = _root.level.enemy.scaleChange + 0.007;
}
Symbol 809 MovieClip Frame 25
_root.rockLand.start();
Symbol 809 MovieClip Frame 30
_root.rockScrape.start();
Instance of Symbol 192 MovieClip in Symbol 809 MovieClip Frame 30
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_root.level.enemy._xscale = _root.level.enemy._xscale + _root.level.enemy.scaleChange;
_root.level.enemy._yscale = _root.level.enemy._yscale + _root.level.enemy.scaleChange;
}
Instance of Symbol 780 MovieClip in Symbol 811 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 780 MovieClip in Symbol 813 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Symbol 813 MovieClip Frame 22
_root.rockLand.start();
Symbol 813 MovieClip Frame 26
_root.rockScrape.start();
Instance of Symbol 780 MovieClip in Symbol 814 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 780 MovieClip in Symbol 814 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 221 MovieClip in Symbol 818 MovieClip Frame 6
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 818 MovieClip Frame 6
onClipEvent (load) {
this._alpha = 0;
enemyDamage = 15;
sendEnemy = "enemyHurt";
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.rockHurt.start();
if (_global.activateStrength) {
enemyDamage = enemyDamage + (enemyDamage / 2);
_global.activateStrength = false;
}
_root.enemyHurtFunction(enemyDamage, sendEnemy);
}
}
Instance of Symbol 806 MovieClip in Symbol 818 MovieClip Frame 64
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.level.enemy._xscale > 103) {
_root.level.enemy.arrowHit = 0;
_root.level.enemy.hurt = false;
}
}
Symbol 818 MovieClip Frame 72
_root.level.enemy.arrowHit = 0;
_root.level.enemy.hurt = false;
Instance of Symbol 192 MovieClip in Symbol 820 MovieClip Frame 30
onClipEvent (load) {
_root.nextFrame();
}
Symbol 820 MovieClip Frame 31
stop();
Instance of Symbol 780 MovieClip in Symbol 821 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 780 MovieClip in Symbol 821 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 780 MovieClip in Symbol 821 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 780 MovieClip in Symbol 821 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 780 MovieClip in Symbol 821 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 780 MovieClip in Symbol 821 MovieClip Frame 3
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 780 MovieClip in Symbol 821 MovieClip Frame 3
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 780 MovieClip in Symbol 821 MovieClip Frame 3
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 780 MovieClip in Symbol 821 MovieClip Frame 3
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 820 MovieClip in Symbol 821 MovieClip Frame 8
onClipEvent (load) {
_root.rockDeath.start();
if (!_global.defeatedRock) {
_global.defeatedRock = true;
_global.enemyCounter++;
if (_global.enemyCounter >= 4) {
_global.openFire = true;
_global.openIce = true;
}
}
}
Instance of Symbol 821 MovieClip "enemy" in Symbol 822 MovieClip Frame 1
onClipEvent (load) {
scaleChange = 0.1;
startXScale = _xscale;
startYScale = _yscale;
walking = true;
attacking = false;
attackNumber = 1;
arrowHit = 0;
hurt = false;
still = false;
defeated = false;
attack = 150;
}
onClipEvent (enterFrame) {
if ((!attacking) && (!hurt)) {
if (_xscale < 103) {
this.gotoAndStop("walking");
} else {
this.gotoAndStop("standing");
still = true;
}
if (!defeated) {
if (still) {
if (arrowHit >= 4) {
hurt = true;
this.gotoAndStop("enemyHurtTwo");
}
} else if (arrowHit >= 5) {
hurt = true;
this.gotoAndStop("enemyHurt");
}
if (attack > 0) {
attack--;
} else {
walking = false;
attacking = true;
if (!still) {
this.gotoAndStop("enemyAttack");
} else {
this.gotoAndStop("enemyAttackTwo");
}
}
}
}
}
Instance of Symbol 833 MovieClip in Symbol 855 MovieClip Frame 1
onClipEvent (load) {
hover = -2.5;
moveUp = false;
}
onClipEvent (enterFrame) {
_y = (_y + hover);
if ((hover > -5.5) && (moveUp)) {
hover--;
}
if (hover <= -5.5) {
moveUp = false;
}
if ((hover < 5.5) && (!moveUp)) {
hover++;
}
if (hover >= 5.5) {
moveUp = true;
hover = 4.5;
}
}
Instance of Symbol 195 MovieClip in Symbol 855 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 195 MovieClip in Symbol 855 MovieClip Frame 7
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 855 MovieClip Frame 25
onClipEvent (load) {
_alpha = 0;
damage = 30;
_root.ironsmallHit.start();
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!hitTest(_root.sword.blockArea)) and (!hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 855 MovieClip Frame 40
onClipEvent (load) {
_alpha = 0;
damage = 30;
_root.ironsmallHit.start();
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!hitTest(_root.sword.blockArea)) and (!hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 195 MovieClip in Symbol 855 MovieClip Frame 46
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Instance of Symbol 195 MovieClip in Symbol 855 MovieClip Frame 56
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Instance of Symbol 833 MovieClip in Symbol 855 MovieClip Frame 66
onClipEvent (load) {
hover = -2.5;
moveUp = false;
}
onClipEvent (enterFrame) {
_y = (_y + hover);
if ((hover > -5.5) && (moveUp)) {
hover--;
}
if (hover <= -5.5) {
moveUp = false;
}
if ((hover < 5.5) && (!moveUp)) {
hover++;
}
if (hover >= 5.5) {
moveUp = true;
hover = 4.5;
}
}
Symbol 855 MovieClip Frame 68
_root.level.enemy.attacking = false;
Instance of Symbol 833 MovieClip in Symbol 869 MovieClip Frame 1
onClipEvent (load) {
hover = -2.5;
moveUp = false;
}
onClipEvent (enterFrame) {
_y = (_y + hover);
if ((hover > -5.5) && (moveUp)) {
hover--;
}
if (hover <= -5.5) {
moveUp = false;
}
if ((hover < 5.5) && (!moveUp)) {
hover++;
}
if (hover >= 5.5) {
moveUp = true;
hover = 4.5;
}
}
Instance of Symbol 195 MovieClip in Symbol 869 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 869 MovieClip Frame 20
onClipEvent (load) {
_alpha = 0;
damage = 35;
_root.ironsmallHit.start();
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!hitTest(_root.sword.blockArea)) and (!hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 195 MovieClip in Symbol 869 MovieClip Frame 22
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Instance of Symbol 833 MovieClip in Symbol 869 MovieClip Frame 37
onClipEvent (load) {
hover = -2.5;
moveUp = false;
}
onClipEvent (enterFrame) {
_y = (_y + hover);
if ((hover > -5.5) && (moveUp)) {
hover--;
}
if (hover <= -5.5) {
moveUp = false;
}
if ((hover < 5.5) && (!moveUp)) {
hover++;
}
if (hover >= 5.5) {
moveUp = true;
hover = 4.5;
}
}
Symbol 869 MovieClip Frame 40
_root.level.enemy.attacking = false;
Instance of Symbol 833 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (load) {
hover = -2.5;
moveUp = false;
}
onClipEvent (enterFrame) {
_y = (_y + hover);
if ((hover > -5.5) && (moveUp)) {
hover--;
}
if (hover <= -5.5) {
moveUp = false;
}
if ((hover < 5.5) && (!moveUp)) {
hover++;
}
if (hover >= 5.5) {
moveUp = true;
hover = 4.5;
}
}
Instance of Symbol 253 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 896 MovieClip Frame 22
onClipEvent (load) {
_alpha = 0;
_root.ironbigHit.start();
}
onClipEvent (enterFrame) {
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if (!hitTest(_root.shield.blockArea)) {
if (hitTest(_root.sword.blockArea)) {
damage = 30;
_root.hurtFunction(damage);
_root.blockFunction();
} else {
damage = 60;
_root.hurtFunction(damage);
}
}
}
Instance of Symbol 253 MovieClip in Symbol 896 MovieClip Frame 24
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Symbol 896 MovieClip Frame 33
_root.level.enemy.attacking = false;
Instance of Symbol 833 MovieClip in Symbol 921 MovieClip Frame 1
onClipEvent (load) {
hover = -2.5;
moveUp = false;
}
onClipEvent (enterFrame) {
_y = (_y + hover);
if ((hover > -5.5) && (moveUp)) {
hover--;
}
if (hover <= -5.5) {
moveUp = false;
}
if ((hover < 5.5) && (!moveUp)) {
hover++;
}
if (hover >= 5.5) {
moveUp = true;
hover = 4.5;
}
}
Symbol 921 MovieClip Frame 2
_root.dodgeDown.activated = true;
Symbol 921 MovieClip Frame 19
_root.waterSwipe.start();
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 921 MovieClip Frame 22
onClipEvent (load) {
_alpha = 0;
dodgeDamage = 70;
dodgeDirection = "Down";
}
onClipEvent (enterFrame) {
_root.dodgeFunction(dodgeDamage, dodgeDirection);
}
Instance of Symbol 833 MovieClip in Symbol 921 MovieClip Frame 34
onClipEvent (load) {
hover = -2.5;
moveUp = false;
}
onClipEvent (enterFrame) {
_y = (_y + hover);
if ((hover > -5.5) && (moveUp)) {
hover--;
}
if (hover <= -5.5) {
moveUp = false;
}
if ((hover < 5.5) && (!moveUp)) {
hover++;
}
if (hover >= 5.5) {
moveUp = true;
hover = 4.5;
}
}
Symbol 921 MovieClip Frame 35
_root.dodgeDown.activated = false;
_root.level.enemy.attacking = false;
Instance of Symbol 285 MovieClip in Symbol 930 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 930 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
enemyDamage = 70;
sendEnemy = "enemyHurt";
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock) && (_global.activateStrength)) {
_root.ironHurt.start();
_root.level.enemy.healing = false;
_global.activateStrength = false;
_root.enemyHurtFunction(enemyDamage, sendEnemy);
}
}
Instance of Symbol 201 MovieClip in Symbol 930 MovieClip Frame 159
onClipEvent (load) {
this._alpha = 0;
lifeGain = 50;
}
onClipEvent (enterFrame) {
_root.healFunction(lifeGain);
}
Symbol 930 MovieClip Frame 161
_root.ironHeal.start();
Symbol 930 MovieClip Frame 174
_root.level.enemy.healing = false;
Instance of Symbol 285 MovieClip in Symbol 930 MovieClip Frame 174
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Symbol 938 MovieClip Frame 15
_root.level.enemy.hurt = false;
Instance of Symbol 940 MovieClip in Symbol 945 MovieClip Frame 1
onClipEvent (load) {
ySpeed = Math.ceil(Math.random() * 25);
xSpeed = (Math.random() * 10) - 5;
}
onClipEvent (enterFrame) {
_y = (_y - ySpeed);
_x = (_x - xSpeed);
if (ySpeed > -25) {
ySpeed = ySpeed - 1.5;
}
}
Instance of Symbol 942 MovieClip in Symbol 945 MovieClip Frame 1
onClipEvent (load) {
ySpeed = Math.ceil((Math.random() * 15) + 20);
xSpeed = (Math.random() * 10) - 5;
}
onClipEvent (enterFrame) {
_y = (_y - ySpeed);
_x = (_x - xSpeed);
if (ySpeed > -25) {
ySpeed = ySpeed - 1.5;
}
}
Instance of Symbol 944 MovieClip in Symbol 945 MovieClip Frame 1
onClipEvent (load) {
ySpeed = Math.ceil(Math.random() * 25);
xSpeed = (Math.random() * 10) - 5;
}
onClipEvent (enterFrame) {
_y = (_y - ySpeed);
_x = (_x - xSpeed);
if (ySpeed > -25) {
ySpeed = ySpeed - 1.5;
}
}
Instance of Symbol 833 MovieClip in Symbol 945 MovieClip Frame 1
onClipEvent (load) {
ySpeed = Math.ceil(Math.random() * 25);
xSpeed = (Math.random() * 10) - 5;
}
onClipEvent (enterFrame) {
_y = (_y - ySpeed);
_x = (_x - xSpeed);
if (ySpeed > -25) {
ySpeed = ySpeed - 1.5;
}
}
Instance of Symbol 843 MovieClip in Symbol 945 MovieClip Frame 1
onClipEvent (load) {
ySpeed = Math.ceil(Math.random() * 25);
xSpeed = (Math.random() * 10) - 5;
}
onClipEvent (enterFrame) {
_y = (_y - ySpeed);
_x = (_x - xSpeed);
if (ySpeed > -25) {
ySpeed = ySpeed - 1.5;
}
}
Instance of Symbol 843 MovieClip in Symbol 945 MovieClip Frame 1
onClipEvent (load) {
ySpeed = Math.ceil(Math.random() * 25);
xSpeed = (Math.random() * 10) - 5;
}
onClipEvent (enterFrame) {
_y = (_y - ySpeed);
_x = (_x - xSpeed);
if (ySpeed > -25) {
ySpeed = ySpeed - 1.5;
}
}
Instance of Symbol 843 MovieClip in Symbol 945 MovieClip Frame 1
onClipEvent (load) {
ySpeed = Math.ceil(Math.random() * 25);
xSpeed = (Math.random() * 10) - 5;
}
onClipEvent (enterFrame) {
_y = (_y - ySpeed);
_x = (_x - xSpeed);
if (ySpeed > -25) {
ySpeed = ySpeed - 1.5;
}
}
Instance of Symbol 192 MovieClip in Symbol 945 MovieClip Frame 75
onClipEvent (load) {
_root.nextFrame();
}
Instance of Symbol 829 MovieClip in Symbol 946 MovieClip Frame 8
onClipEvent (load) {
ySpeed = Math.ceil(Math.random() * 25);
xSpeed = (Math.random() * 10) - 5;
}
onClipEvent (enterFrame) {
_y = (_y - ySpeed);
_x = (_x - xSpeed);
if (ySpeed > -25) {
ySpeed = ySpeed - 1.5;
}
}
Instance of Symbol 945 MovieClip in Symbol 946 MovieClip Frame 8
onClipEvent (load) {
_root.ironBreak.start();
if (!_global.defeatedIron) {
_global.defeatedIron = true;
_global.enemyCounter++;
if (_global.enemyCounter >= 4) {
_global.openFire = true;
_global.openIce = true;
}
}
}
Instance of Symbol 946 MovieClip "enemy" in Symbol 947 MovieClip Frame 1
onClipEvent (load) {
hover = 4;
moveUp = true;
attacking = false;
attackNumber = 4;
healTimer = 500;
healing = false;
hurt = false;
defeated = false;
attack = Math.ceil(Math.random() * 100);
}
onClipEvent (enterFrame) {
if (healTimer > 0) {
healTimer--;
} else {
healing = true;
healTimer = 500;
}
if (healing && (!attacking)) {
this.gotoAndStop(6);
}
_y = (_y + hover);
if ((hover > -5) && (moveUp)) {
hover--;
}
if (hover <= -5) {
moveUp = false;
}
if ((hover < 5) && (!moveUp)) {
hover++;
}
if (hover >= 5) {
moveUp = true;
hover = 4;
}
if (((!hurt) && (!healing)) && (!defeated)) {
if (!attacking) {
_root.enemyAttackFunction(attackNumber);
attacking = true;
}
}
}
Symbol 972 MovieClip Frame 1
i = 0;
setProperty("fl", _visible , 0);
xx = getProperty("fl", _x);
Symbol 972 MovieClip Frame 2
if (i < 35) {
duplicateMovieClip ("fl", "fl" + i, this.getNextHighestDepth());
setProperty("fl" + i, _alpha , i * 8);
setProperty("fl" + i, _x , (Math.random() * 3) + xx);
i++;
}
Symbol 972 MovieClip Frame 3
gotoAndPlay (2);
Symbol 989 MovieClip Frame 2
_root.flameThrower.start();
Instance of Symbol 253 MovieClip in Symbol 989 MovieClip Frame 23
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 989 MovieClip Frame 43
onClipEvent (load) {
_root.lungeHit.start();
_alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if (!hitTest(_root.shield.blockArea)) {
if (hitTest(_root.sword.blockArea)) {
damage = 40;
_root.hurtFunction(damage);
_root.blockFunction();
} else {
damage = 80;
_root.hurtFunction(damage);
}
}
}
Instance of Symbol 253 MovieClip in Symbol 989 MovieClip Frame 45
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Symbol 989 MovieClip Frame 72
_root.level.enemy.attacking = false;
Symbol 993 MovieClip Frame 13
_root.level.enemy.vulnerableTimer = 150;
_root.level.enemy.hurt = false;
Symbol 1001 MovieClip Frame 8
stop();
Instance of Symbol 1001 MovieClip in Symbol 1002 MovieClip Frame 29
onClipEvent (load) {
_root.smallThud.start();
}
Instance of Symbol 192 MovieClip in Symbol 1002 MovieClip Frame 57
onClipEvent (load) {
_root.nextFrame();
}
Symbol 1003 MovieClip Frame 1
stop();
Instance of Symbol 976 MovieClip in Symbol 1003 MovieClip Frame 2
onClipEvent (load) {
_root.parentFire.c = 0;
_root.parentFire.activated = true;
}
Instance of Symbol 979 MovieClip in Symbol 1003 MovieClip Frame 3
onClipEvent (load) {
_root.minion._xscale = 2.5;
_root.minion._yscale = 2.5;
_root.minion.activated = true;
_root.minion._x = (Math.random() * 200) + 100;
_root.minion._y = (Math.random() * 450) + 100;
}
Instance of Symbol 982 MovieClip in Symbol 1003 MovieClip Frame 4
onClipEvent (load) {
_root.bomb._x = (Math.random() * 650) + 100;
_root.bomb.health = 8;
_root.bomb.activated = true;
}
Instance of Symbol 221 MovieClip in Symbol 1003 MovieClip Frame 6
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 1003 MovieClip Frame 6
onClipEvent (load) {
this._alpha = 0;
timer = 50;
enemyDamage = 40;
sendEnemy = "enemyHurt";
}
onClipEvent (enterFrame) {
timer--;
if (timer <= 0) {
_root.level.enemy.vulnerable = false;
_root.level.enemy.vulnerableTimer = 150;
}
if (hitTest(_root.sword.aSword.hitBlock)) {
if (_global.activateStrength) {
enemyDamage = enemyDamage + (enemyDamage / 2);
_global.activateStrength = false;
}
_root.lungeHit.start();
_root.level.enemy.vulnerable = false;
_root.enemyHurtFunction(enemyDamage, sendEnemy);
}
}
Instance of Symbol 1002 MovieClip in Symbol 1003 MovieClip Frame 8
onClipEvent (load) {
if (!_global.defeatedFire) {
_global.defeatedFire = true;
_global.enemyCounter++;
if (_global.enemyCounter >= 6) {
_global.openWeather = true;
_global.openLightdark = true;
}
}
}
Instance of Symbol 1003 MovieClip "enemy" in Symbol 1004 MovieClip Frame 1
onClipEvent (load) {
attacking = false;
attackNumber = 4;
vulnerableTimer = 150;
hurt = false;
defeated = false;
vulnerable = false;
attack = Math.ceil(Math.random() * 100);
}
onClipEvent (enterFrame) {
if (((!hurt) && (!defeated)) && (!vulnerable)) {
vulnerableTimer--;
if (!attacking) {
if (vulnerableTimer <= 0) {
vulnerable = true;
this.gotoAndStop("enemyVulnerable");
} else {
_root.enemyAttackFunction(attackNumber);
attacking = true;
}
}
}
}
Symbol 1006 MovieClip Frame 25
stop();
Symbol 1015 MovieClip Frame 4
stop();
Symbol 1028 MovieClip Frame 1
_root.minionSpin.start();
Instance of Symbol 195 MovieClip in Symbol 1028 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1028 MovieClip Frame 10
onClipEvent (load) {
_alpha = 0;
damage = 40;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!hitTest(_root.sword.blockArea)) and (!hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 195 MovieClip in Symbol 1028 MovieClip Frame 12
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Symbol 1029 MovieClip Frame 1
stop();
Instance of Symbol 1016 MovieClip in Symbol 1029 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._xscale >= 45) {
_parent.gotoAndStop(2);
}
}
Symbol 1029 MovieClip Frame 2
stop();
Instance of Symbol 1028 MovieClip in Symbol 1029 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_currentframe >= 23) {
_parent.gotoAndStop(3);
}
}
Instance of Symbol 1001 MovieClip "poof" in Symbol 1029 MovieClip Frame 3
onClipEvent (load) {
_root.smallThud.start();
}
onClipEvent (enterFrame) {
if (this._currentframe == 8) {
_parent._x = 1000;
_parent._y = 1000;
_parent._xscale = 2.5;
_parent._yscale = 2.5;
_parent.activated = false;
_root.level.enemy.gotoAndStop(1);
_root.level.enemy.attacking = false;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 221 MovieClip in Symbol 1040 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 1040 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.targetHit.start();
_parent.health--;
}
}
Symbol 1040 MovieClip Frame 105
stop();
_root.explosion.play();
Instance of Symbol 1001 MovieClip "poof" in Symbol 1040 MovieClip Frame 107
onClipEvent (load) {
_root.smallThud.start();
}
onClipEvent (enterFrame) {
if (this._currentframe == 8) {
_root.level.enemy.gotoAndStop(1);
_root.level.enemy.attacking = false;
_parent.activated = false;
}
}
Instance of Symbol 201 MovieClip "hitBlock" in Symbol 1041 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 195 MovieClip in Symbol 1042 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1042 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Symbol 1043 MovieClip Frame 15
stop();
Instance of Symbol 1042 MovieClip in Symbol 1043 MovieClip Frame 15
onClipEvent (load) {
_root.fireballShot.start();
yMax = Math.floor(Math.random() * 15) + 15;
}
onClipEvent (enterFrame) {
yMax--;
_y = (_y - yMax);
if (_xscale < 160) {
_xscale = (_xscale + 4);
_yscale = (_yscale + 4);
} else {
if (this.hitBlock.hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (this.hitBlock.hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!this.hitBlock.hitTest(_root.sword.blockArea)) and (!this.hitBlock.hitTest(_root.shield.blockArea))) {
damage = 30;
_root.hurtFunction(damage);
}
_parent.lavaTimer = 175;
_parent.gotoAndStop(1);
}
}
Symbol 1077 MovieClip Frame 1
stop();
Symbol 1077 MovieClip Frame 2
_root.bombExplosion.start();
Symbol 1077 MovieClip Frame 34
damage = 350;
_root.hurtFunction(damage);
Symbol 1084 MovieClip Frame 1
stop();
Instance of Symbol 1041 MovieClip in Symbol 1084 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitBlock.hitTest(_root.aimer.hitBlock)) {
_root.iceBreak.start();
_root.level.enemy.iceUp = false;
_parent.gotoAndStop(3);
}
}
Instance of Symbol 221 MovieClip in Symbol 1084 MovieClip Frame 3
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 1084 MovieClip Frame 3
onClipEvent (load) {
this._alpha = 0;
enemyDamage = 40;
sendEnemy = "NA";
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.waterHurt.start();
_parent._alpha = 0;
_root.level.enemy.iceTimer = 250;
_root.level.enemy.iceUp = true;
if (_global.activateStrength) {
enemyDamage = enemyDamage + (enemyDamage / 2);
_global.activateStrength = false;
}
_root.enemyHurtFunction(enemyDamage, sendEnemy);
_parent.gotoAndStop(1);
}
}
Instance of Symbol 1084 MovieClip in Symbol 1092 MovieClip Frame 1
onClipEvent (load) {
if (_root.level.enemy.iceTimer <= 0) {
if (_root.level.enemy.iceUp) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
}
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
if (_root.level.enemy.iceTimer > 0) {
_root.level.enemy.iceTimer--;
} else if (_root.level.enemy.iceUp) {
this.gotoAndStop(2);
}
}
Symbol 1092 MovieClip Frame 20
stop();
_root.level.enemy.protected = true;
Instance of Symbol 1084 MovieClip in Symbol 1096 MovieClip Frame 1
onClipEvent (load) {
if (_root.level.enemy.iceTimer <= 0) {
if (_root.level.enemy.iceUp) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
}
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
if (_root.level.enemy.iceTimer > 0) {
_root.level.enemy.iceTimer--;
} else if (_root.level.enemy.iceUp) {
this.gotoAndStop(2);
}
}
Symbol 1096 MovieClip Frame 5
_root.blueGlow.start();
Symbol 1096 MovieClip Frame 33
_root.frostcover.play();
Symbol 1096 MovieClip Frame 205
_root.level.enemy.attacking = false;
Instance of Symbol 1084 MovieClip in Symbol 1098 MovieClip Frame 1
onClipEvent (load) {
if (_root.level.enemy.iceTimer <= 0) {
if (_root.level.enemy.iceUp) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
}
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
if (_root.level.enemy.iceTimer > 0) {
_root.level.enemy.iceTimer--;
} else if (_root.level.enemy.iceUp) {
this.gotoAndStop(2);
}
}
Symbol 1098 MovieClip Frame 5
_root.rockLand.start();
Symbol 1098 MovieClip Frame 12
stop();
Instance of Symbol 1084 MovieClip in Symbol 1100 MovieClip Frame 1
onClipEvent (load) {
if (_root.level.enemy.iceTimer <= 0) {
if (_root.level.enemy.iceUp) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
}
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
if (_root.level.enemy.iceTimer > 0) {
_root.level.enemy.iceTimer--;
} else if (_root.level.enemy.iceUp) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1086 MovieClip in Symbol 1100 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 1.5;
clockwise = false;
}
onClipEvent (enterFrame) {
if (clockwise) {
rotationSpeed = rotationSpeed + 0.5;
} else {
rotationSpeed = rotationSpeed - 0.5;
}
_rotation = (_rotation + rotationSpeed);
if (rotationSpeed > 2) {
clockwise = false;
rotationSpeed = 1.5;
}
if (rotationSpeed < -2) {
clockwise = true;
rotationSpeed = -1.5;
}
}
Symbol 1100 MovieClip Frame 2
_root.iceShake.start();
Symbol 1100 MovieClip Frame 7
_root.snowman1.activated = true;
Symbol 1100 MovieClip Frame 23
_root.snowman2.activated = true;
Symbol 1100 MovieClip Frame 115
_root.level.enemy.attacking = false;
Instance of Symbol 1084 MovieClip in Symbol 1107 MovieClip Frame 1
onClipEvent (load) {
if (_root.level.enemy.iceTimer <= 0) {
if (_root.level.enemy.iceUp) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
}
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
if (_root.level.enemy.iceTimer > 0) {
_root.level.enemy.iceTimer--;
} else if (_root.level.enemy.iceUp) {
this.gotoAndStop(2);
}
}
Instance of Symbol 253 MovieClip in Symbol 1107 MovieClip Frame 5
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1107 MovieClip Frame 25
onClipEvent (load) {
_root.freezeFlash.start();
_alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if (!hitTest(_root.shield.blockArea)) {
if (hitTest(_root.sword.blockArea)) {
damage = 35;
_root.sword.frozen = true;
_root.hurtFunction(damage);
_root.blockFunction();
} else {
damage = 70;
_root.hurtFunction(damage);
}
}
}
Instance of Symbol 253 MovieClip in Symbol 1107 MovieClip Frame 27
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Symbol 1107 MovieClip Frame 39
_root.level.enemy.attacking = false;
Instance of Symbol 1084 MovieClip in Symbol 1109 MovieClip Frame 9
onClipEvent (load) {
if (_root.level.enemy.iceTimer <= 0) {
if (_root.level.enemy.iceUp) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
}
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
if (_root.level.enemy.iceTimer > 0) {
_root.level.enemy.iceTimer--;
} else if (_root.level.enemy.iceUp) {
this.gotoAndStop(2);
}
}
Symbol 1109 MovieClip Frame 21
_root.level.enemy.protectedTimer = 40;
_root.level.enemy.protected = false;
_root.level.enemy.attacking = false;
_root.level.enemy.gotoAndStop(1);
Symbol 1112 MovieClip Frame 18
_root.snowmanRise.start();
Symbol 1112 MovieClip Frame 30
_root.snowmanRise.start();
Instance of Symbol 192 MovieClip in Symbol 1112 MovieClip Frame 98
onClipEvent (load) {
_root.nextFrame();
}
Symbol 1112 MovieClip Frame 99
stop();
Instance of Symbol 1084 MovieClip in Symbol 1113 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
if (_root.level.enemy.iceTimer > 0) {
_root.level.enemy.iceTimer--;
} else if (_root.level.enemy.iceUp) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1092 MovieClip in Symbol 1113 MovieClip Frame 2
onClipEvent (load) {
if (!_root.level.parentIce.activated) {
_root.level.parentIce.xPos = (Math.random() * 600) - 300;
_root.level.parentIce.activated = true;
} else {
_root.level.enemy.attacking = false;
}
}
Instance of Symbol 1098 MovieClip in Symbol 1113 MovieClip Frame 4
onClipEvent (load) {
_root.icicle1._x = (Math.random() * 300) + 75;
_root.icicle1.ySpeed = 32;
_root.icicle1.activated = true;
timer = 75;
}
onClipEvent (enterFrame) {
timer--;
if (timer == 30) {
_root.icicle2._x = (Math.random() * 350) + 425;
_root.icicle2.ySpeed = 32;
_root.icicle2.activated = true;
}
if (timer <= 0) {
_root.level.enemy.attacking = false;
}
}
Instance of Symbol 1112 MovieClip in Symbol 1113 MovieClip Frame 8
onClipEvent (load) {
if (!_global.defeatedIce) {
_global.defeatedIce = true;
_global.enemyCounter++;
if (_global.enemyCounter >= 6) {
_global.openWeather = true;
_global.openLightdark = true;
}
}
}
Instance of Symbol 1113 MovieClip "enemy" in Symbol 1115 MovieClip Frame 1
onClipEvent (load) {
attacking = false;
attackNumber = 5;
protectedTimer = 40;
defeated = false;
protected = false;
iceUp = true;
iceTimer = 250;
attack = Math.ceil(Math.random() * 100);
}
onClipEvent (enterFrame) {
if (iceTimer > 0) {
iceTimer--;
}
if ((!defeated) && (!protected)) {
if (!attacking) {
_root.enemyAttackFunction(attackNumber);
attacking = true;
}
}
if (protected) {
protectedTimer--;
if (protectedTimer <= 0) {
this.gotoAndStop("enemyUnprotected");
}
}
}
Instance of Symbol 288 MovieClip "parentAimer" in Symbol 1115 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name != "parentAimer") {
_alpha = (_alpha - 6);
if (_alpha <= 0) {
this.removeMovieClip();
}
}
}
Instance of Symbol 1007 MovieClip "parentIce" in Symbol 1115 MovieClip Frame 1
onClipEvent (load) {
if (_name == "parentIce") {
activated = false;
timer = 5;
i = 1;
c = 0;
xPos = 0;
yPos = Stage.height;
_visible = false;
} else {
_root.freezeTrail.start();
}
_xscale = 40;
_yscale = _xscale;
}
onClipEvent (enterFrame) {
if (_name == "parentIce") {
if (activated) {
if (yPos < -450) {
activated = false;
yPos = Stage.height;
}
yPos = yPos - 5;
_x = (xPos + (Math.sin(c) * 100));
_y = (yPos + (Math.cos(c) * 100));
c = c + 0.1;
if (timer > 0) {
timer--;
} else {
timer = 5;
this.duplicateMovieClip("ice" + i, _parent.getNextHighestDepth());
_parent.parentAimer.duplicateMovieClip("aimer" + i, _parent.getNextHighestDepth());
_parent["aimer" + i]._x = _parent["ice" + i]._x;
_parent["aimer" + i]._y = _parent["ice" + i]._y;
i++;
}
}
} else {
if (_alpha > 50) {
if (hitTest(_root.sword.blockArea)) {
_root.sword.frozen = true;
}
}
if (_alpha > 0) {
_alpha = (_alpha - 5);
_xscale = (_xscale + 5);
_yscale = (_yscale + 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 195 MovieClip in Symbol 1123 MovieClip Frame 3
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1123 MovieClip Frame 16
onClipEvent (load) {
_root.iceballHit.start();
_alpha = 0;
damage = 40;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!hitTest(_root.sword.blockArea)) and (!hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 195 MovieClip in Symbol 1123 MovieClip Frame 18
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Symbol 1123 MovieClip Frame 30
stop();
Instance of Symbol 195 MovieClip in Symbol 1123 MovieClip Frame 30
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_parent._parent.activated = false;
_parent._parent.gotoAndStop(1);
}
Symbol 1124 MovieClip Frame 1
stop();
Symbol 1130 MovieClip Frame 1
stop();
Symbol 1130 MovieClip Frame 2
_root.snowmanRise.start();
Instance of Symbol 195 MovieClip in Symbol 1130 MovieClip Frame 28
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 195 MovieClip in Symbol 1130 MovieClip Frame 45
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1130 MovieClip Frame 45
onClipEvent (load) {
_alpha = 0;
_root.snowballHit2.start();
damage = 40;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!hitTest(_root.sword.blockArea)) and (!hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 195 MovieClip in Symbol 1130 MovieClip Frame 47
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Symbol 1130 MovieClip Frame 72
_root.snowmanRise.start();
Instance of Symbol 195 MovieClip in Symbol 1130 MovieClip Frame 98
onClipEvent (load) {
_alpha = 0;
_parent.activated = false;
}
Symbol 1136 MovieClip Frame 1
stop();
Instance of Symbol 195 MovieClip in Symbol 1136 MovieClip Frame 2
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1136 MovieClip Frame 20
onClipEvent (load) {
_alpha = 0;
_root.snowballHit1.start();
damage = 40;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!hitTest(_root.sword.blockArea)) and (!hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 195 MovieClip in Symbol 1136 MovieClip Frame 22
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Instance of Symbol 195 MovieClip in Symbol 1136 MovieClip Frame 33
onClipEvent (load) {
_alpha = 0;
_parent.activated = false;
}
Symbol 1137 MovieClip Frame 1
stop();
Symbol 1137 MovieClip Frame 2
_root.snowChimes.start();
Instance of Symbol 1133 MovieClip "parentFlakeTwo" in Symbol 1137 MovieClip Frame 10
onClipEvent (load) {
if (_name == "parentFlakeTwo") {
timer = 4;
i = 1;
} else {
_x = (Math.random() * 900);
ySpeed = 10;
xSpeed = (Math.random() * 10) - 5;
}
}
onClipEvent (enterFrame) {
if (_name == "parentFlakeTwo") {
if (timer > 0) {
timer--;
} else {
this.duplicateMovieClip("flakeTwo" + i, _parent.getNextHighestDepth());
i++;
timer = 4;
}
} else {
_y = (_y + ySpeed);
_x = (_x + xSpeed);
if (_y > 670) {
this.removeMovieClip();
}
}
}
Instance of Symbol 1133 MovieClip "parentFlake" in Symbol 1137 MovieClip Frame 10
onClipEvent (load) {
if (_name == "parentFlake") {
timer = 4;
i = 1;
} else {
_x = (Math.random() * 900);
ySpeed = 10;
xSpeed = (Math.random() * 10) - 5;
}
}
onClipEvent (enterFrame) {
if (_name == "parentFlake") {
if (timer > 0) {
timer--;
} else {
this.duplicateMovieClip("flake" + i, _parent.getNextHighestDepth());
i++;
timer = 4;
}
} else {
_y = (_y + ySpeed);
_x = (_x + xSpeed);
if (_y > 670) {
this.removeMovieClip();
}
}
}
Instance of Symbol 1136 MovieClip "snow1" in Symbol 1137 MovieClip Frame 15
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
_x = 1000;
_y = 1000;
}
if (activated) {
this.play();
}
}
Instance of Symbol 1136 MovieClip "snow3" in Symbol 1137 MovieClip Frame 15
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
_x = 1000;
_y = 1000;
}
if (activated) {
this.play();
}
}
Instance of Symbol 1136 MovieClip "snow2" in Symbol 1137 MovieClip Frame 15
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (!activated) {
_x = 1000;
_y = 1000;
}
if (activated) {
this.play();
}
}
Symbol 1137 MovieClip Frame 30
snow1.activated = true;
snow1._x = (Math.random() * 700) + 50;
snow1._y = (Math.random() * 425) + 125;
Symbol 1137 MovieClip Frame 73
snow2.activated = true;
snow2._x = (Math.random() * 700) + 50;
snow2._y = (Math.random() * 425) + 125;
Symbol 1137 MovieClip Frame 116
snow3.activated = true;
snow3._x = (Math.random() * 700) + 50;
snow3._y = (Math.random() * 425) + 125;
Symbol 1149 MovieClip Frame 1
stop();
Symbol 1149 MovieClip Frame 22
_root.lightDischarge.start();
Instance of Symbol 221 MovieClip in Symbol 1149 MovieClip Frame 28
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 1149 MovieClip Frame 28
onClipEvent (load) {
this._alpha = 0;
enemyDamage = 15;
sendEnemy = "NA";
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.glassHit.start();
if (_global.activateStrength) {
enemyDamage = enemyDamage + (enemyDamage / 2);
_global.activateStrength = false;
}
_root.enemyHurtFunction(enemyDamage, sendEnemy);
}
}
Symbol 1167 MovieClip Frame 2
_root.level.enemy.back.airBall.play();
Symbol 1167 MovieClip Frame 22
_root.funnel._alpha = 0;
_root.funnel.c = 4.8;
_root.funnel._x = 436;
_root.funnel._y = 510;
_root.funnel.activated = true;
Symbol 1167 MovieClip Frame 46
stop();
Symbol 1170 MovieClip Frame 2
_root.level.enemy.back.lightningBall.play();
Symbol 1170 MovieClip Frame 22
_root.lightning._x = (Math.random() * 650) + 100;
_root.lightning.play();
Symbol 1170 MovieClip Frame 46
stop();
Symbol 1173 MovieClip Frame 2
_root.level.enemy.back.iceBall.play();
Symbol 1173 MovieClip Frame 22
_root.snow.play();
Symbol 1173 MovieClip Frame 46
stop();
Symbol 1176 MovieClip Frame 2
_root.level.enemy.back.rainBall.play();
Symbol 1176 MovieClip Frame 22
_root.rain.gotoAndStop(2);
_root.rain.oxygen = 40;
Symbol 1176 MovieClip Frame 46
stop();
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1178 MovieClip Frame 10
onClipEvent (load) {
_root.rockScrape.start();
_alpha = 0;
}
onClipEvent (enterFrame) {
_root.level.enemy._x = _root.level.enemy._x - 10;
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1178 MovieClip Frame 60
onClipEvent (load) {
_root.rockScrape.start();
_alpha = 0;
}
onClipEvent (enterFrame) {
_root.level.enemy._x = _root.level.enemy._x + 10;
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1178 MovieClip Frame 91
onClipEvent (load) {
_root.rockScrape.start();
_alpha = 0;
}
onClipEvent (enterFrame) {
_root.level.enemy._x = _root.level.enemy._x + 10;
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1178 MovieClip Frame 139
onClipEvent (load) {
_root.rockScrape.start();
_alpha = 0;
}
onClipEvent (enterFrame) {
_root.level.enemy._x = _root.level.enemy._x - 10;
}
Symbol 1180 MovieClip Frame 1
stop();
Instance of Symbol 192 MovieClip in Symbol 1183 MovieClip Frame 35
onClipEvent (load) {
_root.nextFrame();
}
Symbol 1183 MovieClip Frame 36
stop();
Symbol 1184 MovieClip Frame 1
stop();
Instance of Symbol 1178 MovieClip "enemy" in Symbol 1184 MovieClip Frame 1
onClipEvent (load) {
attacking = false;
attackNumber = 4;
frameNumber = 0;
defeated = false;
}
onClipEvent (enterFrame) {
_root.level.xPos = _x;
if (!defeated) {
if (!attacking) {
attacking = true;
attack = Math.ceil(Math.random() * attackNumber);
frameNumber = attack + 1;
this.elements.gotoAndStop(frameNumber);
this.elements.element.play();
}
} else {
_root.rain.gotoAndStop(1);
_root.snow.gotoAndStop(1);
_root.lightning.gotoAndStop(1);
_root.funnel.activated = false;
_root.funnel.gotoAndStop(1);
_parent.gotoAndStop(2);
}
}
Instance of Symbol 1183 MovieClip in Symbol 1184 MovieClip Frame 2
onClipEvent (load) {
if (!_global.defeatedWeather) {
_global.defeatedWeather = true;
_global.enemyCounter++;
if (_global.enemyCounter >= 8) {
_global.openSound = true;
_global.openTime = true;
}
}
_x = _root.level.xPos;
}
Instance of Symbol 1187 MovieClip in Symbol 1188 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 65;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 1187 MovieClip in Symbol 1188 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 65;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 1187 MovieClip in Symbol 1188 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 65;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 1187 MovieClip in Symbol 1188 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 65;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 1187 MovieClip in Symbol 1188 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 65;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 1187 MovieClip in Symbol 1188 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 65;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 1187 MovieClip in Symbol 1188 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 65;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 1187 MovieClip in Symbol 1188 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 65;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 1187 MovieClip in Symbol 1188 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 65;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 1187 MovieClip in Symbol 1188 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 65;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Symbol 1190 MovieClip Frame 1
stop();
Instance of Symbol 268 MovieClip "aimer" in Symbol 1190 MovieClip Frame 1
onClipEvent (load) {
activated = true;
_alpha = 0;
startX = _x;
startY = _y;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
if (activated) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 10);
}
}
Symbol 1190 MovieClip Frame 2
_root.windStorm.start();
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1190 MovieClip Frame 20
onClipEvent (load) {
_alpha = 0;
damage = 5;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.sword.sparks.play();
}
if (hitTest(_root.shield.blockArea)) {
_root.shield.sparks.play();
}
if ((!hitTest(_root.sword.blockArea)) and (!hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1190 MovieClip Frame 90
onClipEvent (load) {
_alpha = 0;
_parent.activated = false;
}
Symbol 1190 MovieClip Frame 105
_root.level.enemy.attacking = false;
Symbol 1194 MovieClip Frame 1
stop();
Instance of Symbol 253 MovieClip in Symbol 1194 MovieClip Frame 7
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Symbol 1194 MovieClip Frame 22
_root.thunderClap.start();
Symbol 1194 MovieClip Frame 27
_root.lightningFlash.play();
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1194 MovieClip Frame 27
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if (!hitTest(_root.shield.blockArea)) {
if (hitTest(_root.sword.blockArea)) {
damage = 50;
_root.hurtFunction(damage);
_root.blockFunction();
} else {
damage = 100;
_root.hurtFunction(damage);
}
}
}
Instance of Symbol 253 MovieClip in Symbol 1194 MovieClip Frame 29
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Symbol 1194 MovieClip Frame 50
_root.level.enemy.attacking = false;
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 5;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -6;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 7;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -6;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 5;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -6;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 7;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -6;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 5;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -6;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = 3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -6;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 612 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (load) {
rotationSpeed = -3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
}
Instance of Symbol 201 MovieClip in Symbol 1209 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
activated = true;
}
onClipEvent (enterFrame) {
if (activated) {
if (_parent._alpha <= 0) {
activated = false;
}
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.smileyHit.start();
_root.rain.oxygen = 42;
_parent.greenAimer._alpha = 0;
_parent._alpha = 0;
activated = false;
}
}
}
Instance of Symbol 1197 MovieClip "parentRain" in Symbol 1210 MovieClip Frame 1
onClipEvent (load) {
if (_name == "parentRain") {
i = 1;
} else {
_x = (Math.random() * (Stage.height + 200));
ySpeed = 35;
xSpeed = -10;
}
}
onClipEvent (enterFrame) {
if (_name == "parentRain") {
this.duplicateMovieClip("rain" + i, _parent.getNextHighestDepth());
i++;
} else {
_y = (_y + ySpeed);
_x = (_x + xSpeed);
if (_y > (Stage.height + 100)) {
this.removeMovieClip();
}
}
}
Instance of Symbol 1197 MovieClip "parentRainTwo" in Symbol 1210 MovieClip Frame 1
onClipEvent (load) {
if (_name == "parentRainTwo") {
i = 1;
} else {
_x = (Math.random() * (Stage.height + 200));
ySpeed = 35;
xSpeed = -10;
}
}
onClipEvent (enterFrame) {
if (_name == "parentRainTwo") {
this.duplicateMovieClip("rainTwo" + i, _parent.getNextHighestDepth());
i++;
} else {
_y = (_y + ySpeed);
_x = (_x + xSpeed);
if (_y > (Stage.height + 100)) {
this.removeMovieClip();
}
}
}
Instance of Symbol 1197 MovieClip "parentRainThree" in Symbol 1210 MovieClip Frame 1
onClipEvent (load) {
if (_name == "parentRainThree") {
i = 1;
} else {
_x = (Math.random() * (Stage.height + 200));
ySpeed = 35;
xSpeed = -10;
}
}
onClipEvent (enterFrame) {
if (_name == "parentRainThree") {
this.duplicateMovieClip("rainThree" + i, _parent.getNextHighestDepth());
i++;
} else {
_y = (_y + ySpeed);
_x = (_x + xSpeed);
if (_y > (Stage.height + 100)) {
this.removeMovieClip();
}
}
}
Symbol 1210 MovieClip Frame 2
_root.rainFlood.start();
Symbol 1210 MovieClip Frame 64
_root.rain.activated = true;
Instance of Symbol 1209 MovieClip in Symbol 1210 MovieClip Frame 74
onClipEvent (load) {
_x = ((Math.random() * 600) + 125);
rotationSpeed = 5;
ySpeed = 8;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
_y = (_y - ySpeed);
if (_y < 275) {
_alpha = (_alpha - 10);
}
}
Instance of Symbol 1209 MovieClip in Symbol 1210 MovieClip Frame 114
onClipEvent (load) {
_x = ((Math.random() * 600) + 125);
rotationSpeed = 5;
ySpeed = 8;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
_y = (_y - ySpeed);
if (_y < 275) {
_alpha = (_alpha - 10);
}
}
Instance of Symbol 1209 MovieClip in Symbol 1210 MovieClip Frame 154
onClipEvent (load) {
_x = ((Math.random() * 600) + 125);
rotationSpeed = 5;
ySpeed = 8;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
_y = (_y - ySpeed);
if (_y < 275) {
_alpha = (_alpha - 10);
}
}
Instance of Symbol 1209 MovieClip in Symbol 1210 MovieClip Frame 195
onClipEvent (load) {
_x = ((Math.random() * 600) + 125);
rotationSpeed = 5;
ySpeed = 8;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
_y = (_y - ySpeed);
if (_y < 275) {
_alpha = (_alpha - 10);
}
}
Symbol 1210 MovieClip Frame 244
_root.rain.activated = false;
Symbol 1210 MovieClip Frame 310
_root.level.enemy.attacking = false;
_root.rain.gotoAndStop(1);
Symbol 1211 MovieClip Frame 1
stop();
Instance of Symbol 1223 MovieClip in Symbol 1224 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 15);
}
Instance of Symbol 288 MovieClip "parentAimer" in Symbol 1226 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.lightBlind.play();
}
}
Symbol 1227 MovieClip Frame 21
_root.level.enemy.light._x = (Math.random() * 650) - 325;
_root.level.enemy.light._y = (Math.random() * 450) - 225;
_root.level.enemy.light.gotoAndStop(3);
Instance of Symbol 201 MovieClip in Symbol 1228 MovieClip Frame 12
onClipEvent (load) {
activated = true;
this._alpha = 0;
enemyDamage = 12;
sendEnemy = "NA";
}
onClipEvent (enterFrame) {
if (activated) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.lightHit.start();
activated = false;
if (_global.activateStrength) {
enemyDamage = enemyDamage + (enemyDamage / 2);
_global.activateStrength = false;
}
_root.level.enemy.enemyControl++;
_root.enemyHurtFunction(enemyDamage, sendEnemy);
}
} else {
_parent.greenAimer._alpha = 0;
}
}
Symbol 1228 MovieClip Frame 24
_root.level.enemy.light.fadeTimer = 30;
_root.lightSpread.start();
_root.level.enemy.light.parentFlash._x = _x;
_root.level.enemy.light.parentFlash._y = _y;
_root.level.enemy.light.parentFlash._alpha = 100;
_root.level.enemy.light.gotoAndStop(1);
Symbol 1229 MovieClip Frame 1
stop();
Instance of Symbol 1226 MovieClip "parentFlash" in Symbol 1229 MovieClip Frame 1
onClipEvent (load) {
if (_name != "parentFlash") {
_xscale = ((Math.random() * 25) + 15);
_yscale = _xscale;
c = Math.random() * 6;
xPos = _parent.parentFlash._x;
yPos = _parent.parentFlash._y;
_x = (xPos + (Math.sin(c) * 150));
_y = (yPos + (Math.cos(c) * 150));
} else {
_alpha = 0;
i = 1;
flashStart = 0;
flashMax = 7;
timer = 1;
}
}
onClipEvent (enterFrame) {
_alpha = (_alpha - 2);
if (_name == "parentFlash") {
if (_alpha <= 0) {
_x = 1200;
}
if (timer > 0) {
timer--;
} else if (flashStart < flashMax) {
this.duplicateMovieClip("flash" + i, _parent.getNextHighestDepth());
i++;
flashStart++;
}
} else if (_alpha <= 0) {
_parent.parentFlash.flashStart--;
this.removeMovieClip();
}
}
Instance of Symbol 1227 MovieClip in Symbol 1229 MovieClip Frame 2
onClipEvent (load) {
_root.teleportOut.start();
}
Instance of Symbol 1228 MovieClip in Symbol 1229 MovieClip Frame 3
onClipEvent (load) {
_root.teleportIn.start();
}
Instance of Symbol 253 MovieClip in Symbol 1235 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Symbol 1235 MovieClip Frame 15
_root.lightBeam.start();
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1235 MovieClip Frame 18
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if (!hitTest(_root.shield.blockArea)) {
if (hitTest(_root.sword.blockArea)) {
damage = 30;
_root.hurtFunction(damage);
_root.blockFunction();
} else {
damage = 60;
_root.hurtFunction(damage);
}
}
}
Instance of Symbol 253 MovieClip in Symbol 1235 MovieClip Frame 20
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Symbol 1235 MovieClip Frame 45
_root.level.enemy.light.flashTimer = 100;
_root.level.enemy.gotoAndStop(2);
Instance of Symbol 201 MovieClip "hitSquare" in Symbol 1241 MovieClip Frame 1
onClipEvent (load) {
activated = true;
this._alpha = 0;
enemyDamage = 12;
sendEnemy = "NA";
}
onClipEvent (enterFrame) {
if (activated) {
_parent.greenAimer._alpha = 100;
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.darkHit.start();
activated = false;
if (_global.activateStrength) {
enemyDamage = enemyDamage + (enemyDamage / 2);
_global.activateStrength = false;
}
_root.level.enemy.enemyControl++;
_root.enemyHurtFunction(enemyDamage, sendEnemy);
}
} else {
_parent.greenAimer._alpha = 0;
}
}
Symbol 1242 MovieClip Frame 1
stop();
Symbol 1243 MovieClip Frame 1
stop();
Instance of Symbol 575 MovieClip in Symbol 1243 MovieClip Frame 1
onClipEvent (load) {
_y = (-(Math.random() * 300));
xSpeed = 8;
moveLeft = true;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -600) {
_x = -595;
moveLeft = false;
_y = ((Math.random() * 500) - 250);
}
if (_x > 550) {
_x = 545;
moveLeft = true;
_y = ((Math.random() * 500) - 250);
}
}
Instance of Symbol 575 MovieClip in Symbol 1243 MovieClip Frame 1
onClipEvent (load) {
_y = (Math.random() * 300);
xSpeed = 8;
moveLeft = false;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -600) {
_x = -595;
moveLeft = false;
_y = ((Math.random() * 500) - 250);
}
if (_x > 550) {
_x = 545;
moveLeft = true;
_y = ((Math.random() * 500) - 250);
}
}
Instance of Symbol 575 MovieClip in Symbol 1243 MovieClip Frame 1
onClipEvent (load) {
_y = ((Math.random() * 600) - 300);
xSpeed = 12;
moveLeft = true;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -600) {
_x = -595;
moveLeft = false;
_y = ((Math.random() * 500) - 250);
}
if (_x > 550) {
_x = 545;
moveLeft = true;
_y = ((Math.random() * 500) - 250);
}
}
Instance of Symbol 575 MovieClip in Symbol 1243 MovieClip Frame 1
onClipEvent (load) {
_y = ((Math.random() * 600) - 300);
xSpeed = 12;
moveLeft = false;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -600) {
_x = -595;
moveLeft = false;
_y = ((Math.random() * 500) - 250);
}
if (_x > 550) {
_x = 545;
moveLeft = true;
_y = ((Math.random() * 500) - 250);
}
}
Instance of Symbol 575 MovieClip in Symbol 1243 MovieClip Frame 1
onClipEvent (load) {
xSpeed = 15;
moveLeft = false;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -600) {
_x = -595;
moveLeft = false;
}
if (_x > 550) {
_x = 545;
moveLeft = true;
}
}
Instance of Symbol 575 MovieClip in Symbol 1243 MovieClip Frame 1
onClipEvent (load) {
xSpeed = 15;
moveLeft = true;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -600) {
_x = -595;
moveLeft = false;
}
if (_x > 550) {
_x = 545;
moveLeft = true;
}
}
Instance of Symbol 1241 MovieClip "dark" in Symbol 1243 MovieClip Frame 1
onClipEvent (load) {
blackOut = false;
fade = false;
startTimer = 35;
darkLocation = 0;
}
onClipEvent (enterFrame) {
if (!blackOut) {
if (startTimer > 0) {
startTimer--;
} else {
blackOut = true;
_parent.dark1._x = (Math.random() * 600) - 300;
_parent.dark2._x = (Math.random() * 600) - 300;
_parent.dark1.play();
_parent.dark2.play();
}
}
if (fade) {
if (_alpha > 0) {
_alpha = (_alpha - 3);
} else {
_x = 1400;
startTimer = 35;
blackOut = false;
fade = false;
}
}
if (darkLocation == 1) {
_alpha = 100;
_x = _parent.dark1._x;
_y = (_parent.dark1._y + 260);
darkLocation = 0;
}
if (darkLocation == 2) {
_alpha = 100;
_x = _parent.dark2._x;
_y = (_parent.dark2._y - 260);
darkLocation = 0;
}
}
Instance of Symbol 1242 MovieClip "dark2" in Symbol 1243 MovieClip Frame 1
onClipEvent (load) {
_x = ((Math.random() * 600) - 300);
}
Instance of Symbol 1242 MovieClip "dark1" in Symbol 1243 MovieClip Frame 1
onClipEvent (load) {
_x = ((Math.random() * 600) - 300);
}
onClipEvent (enterFrame) {
if (_currentframe == 56) {
_root.darkExpand.start();
}
if (_currentframe == 150) {
_parent.dark.hitSquare.activated = true;
darkSet = Math.ceil(Math.random() * 2);
_parent.dark._alpha = 100;
_parent.dark.darkLocation = darkSet;
}
if (_currentframe == 175) {
_parent.dark.fade = true;
}
}
Instance of Symbol 192 MovieClip in Symbol 1250 MovieClip Frame 86
onClipEvent (load) {
_root.nextFrame();
}
Instance of Symbol 1229 MovieClip in Symbol 1251 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1251 MovieClip Frame 2
stop();
Instance of Symbol 1229 MovieClip "light" in Symbol 1251 MovieClip Frame 2
onClipEvent (load) {
_alpha = 0;
fadeTimer = 30;
flashTimer = 100;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
if (_root.black._alpha < 100) {
_root.black._alpha = _root.black._alpha + 2.5;
}
if (flashTimer > 0) {
flashTimer--;
} else {
_parent.gotoAndStop(3);
}
if (fadeTimer > 0) {
fadeTimer--;
} else if (_currentframe == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1235 MovieClip in Symbol 1251 MovieClip Frame 3
onClipEvent (load) {
_x = ((Math.random() * 550) - 275);
_y = ((Math.random() * 400) - 200);
}
Instance of Symbol 1243 MovieClip in Symbol 1251 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.black._alpha > 0) {
_root.black._alpha = _root.black._alpha - 2.5;
}
}
Instance of Symbol 1250 MovieClip in Symbol 1251 MovieClip Frame 5
onClipEvent (load) {
if (!_global.defeatedLightdark) {
_global.defeatedLightdark = true;
_global.enemyCounter++;
if (_global.enemyCounter >= 8) {
_global.openSound = true;
_global.openTime = true;
}
}
}
Instance of Symbol 1214 MovieClip in Symbol 1252 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
}
Instance of Symbol 1251 MovieClip "enemy" in Symbol 1252 MovieClip Frame 1
onClipEvent (load) {
defeated = false;
enemyControl = 0;
}
onClipEvent (enterFrame) {
if (!defeated) {
if ((enemyControl >= 5) and (enemyControl < 10)) {
this.gotoAndStop(4);
}
if (enemyControl >= 10) {
this.gotoAndStop(2);
enemyControl = 0;
}
}
}
Symbol 1254 MovieClip Frame 1
stop();
Symbol 1254 MovieClip Frame 2
_root.lightFlash.start();
Symbol 1297 MovieClip Frame 1
stop();
Symbol 1297 MovieClip Frame 11
_root.soundTransform.start();
Symbol 1297 MovieClip Frame 20
stop();
_root.level.enemy.gotoAndStop(10);
Instance of Symbol 253 MovieClip in Symbol 1314 MovieClip Frame 16
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1314 MovieClip Frame 34
onClipEvent (load) {
_root.smallThud.start();
_alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if (!hitTest(_root.shield.blockArea)) {
if (hitTest(_root.sword.blockArea)) {
damage = 35;
_root.hurtFunction(damage);
_root.blockFunction();
} else {
damage = 70;
_root.hurtFunction(damage);
}
}
}
Instance of Symbol 253 MovieClip in Symbol 1314 MovieClip Frame 36
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Symbol 1314 MovieClip Frame 66
_root.level.enemy.attacking = false;
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1317 MovieClip Frame 2
onClipEvent (load) {
_alpha = 0;
_parent.activated = true;
}
onClipEvent (enterFrame) {
_root.level.enemy.aimer.activated = true;
_parent.activated = true;
}
Instance of Symbol 1316 MovieClip "parentRing" in Symbol 1317 MovieClip Frame 16
onClipEvent (load) {
dotColor = new Color(this);
red = Math.ceil(Math.random() * 255);
green = Math.ceil(Math.random() * 255);
blue = Math.ceil(Math.random() * 255);
percentage = Math.ceil(Math.random() * 50);
dotTransform = {ra:percentage, rb:red, ga:percentage, gb:green, ba:percentage, bb:blue};
dotColor.setTransform(dotTransform);
if (_name != "parentRing") {
_alpha = 80;
_xscale = 25;
_yscale = _xscale;
} else {
timer = 2;
_visible = false;
i = 1;
}
}
onClipEvent (enterFrame) {
if (_global.clearRings) {
this.removeMovieClip();
}
if (_name != "parentRing") {
if (_xscale < 220) {
_xscale = (_xscale + 7);
}
_yscale = _xscale;
_alpha = (_alpha - 2.5);
if (_alpha <= 0) {
this.removeMovieClip();
}
} else {
timer--;
if (timer <= 0) {
this.duplicateMovieClip("ring" + i, _parent.getNextHighestDepth());
i++;
timer = 2;
}
}
}
Symbol 1317 MovieClip Frame 25
_root.sidePitch.start();
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1317 MovieClip Frame 26
onClipEvent (load) {
_alpha = 0;
damage = 2;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.sword.sparks.play();
}
if (hitTest(_root.shield.blockArea)) {
_root.shield.sparks.play();
}
if ((!hitTest(_root.sword.blockArea)) and (!hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1317 MovieClip Frame 127
onClipEvent (load) {
_alpha = 0;
_parent._x = _parent.startX;
_parent._y = _parent.startY;
_root.level.enemy.aimer._x = _root.level.enemy.aimer.startX;
_root.level.enemy.aimer._y = _root.level.enemy.aimer.startY;
_parent.activated = false;
}
onClipEvent (enterFrame) {
_parent._x = _parent.startX;
_parent._y = _parent.startY;
_root.level.enemy.aimer._x = _root.level.enemy.aimer.startX;
_root.level.enemy.aimer._y = _root.level.enemy.aimer.startY;
_parent.activated = false;
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1317 MovieClip Frame 128
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_root.level.enemy.aimer.activated = false;
}
Symbol 1317 MovieClip Frame 156
_root.level.enemy.attacking = false;
Instance of Symbol 201 MovieClip "hitBlock" in Symbol 1324 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Symbol 1325 MovieClip Frame 25
_root.launchPitch.start();
Instance of Symbol 1323 MovieClip "parentBlast" in Symbol 1325 MovieClip Frame 25
onClipEvent (load) {
if (_name != "parentBlast") {
timer = 2;
} else {
xPos = _x;
yPos = _y;
ringCounter = 25;
damage = 30;
i = 1;
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_global.clearRings) {
this.removeMovieClip();
}
if (_name != "parentBlast") {
if (_xscale < 250) {
_xscale = (_xscale + 7.5);
}
_yscale = _xscale;
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.removeMovieClip();
}
} else {
_parent.redAimer1._x = xPos;
_parent.redAimer1._y = yPos;
ringCounter--;
if (ringCounter == 1) {
if (_parent.redAimer1.hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (_parent.redAimer1.hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!_parent.redAimer1.hitTest(_root.sword.blockArea)) and (!_parent.redAimer1.hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
if (ringCounter > 0) {
if (timer > 0) {
timer--;
} else {
this.duplicateMovieClip("blast" + i, _parent.getNextHighestDepth());
_parent["blast" + i]._x = xPos;
_parent["blast" + i]._y = yPos;
i++;
xPos = xPos;
yPos = yPos;
xPos = xPos + 30;
yPos = yPos - 10;
timer = 2;
}
} else {
_parent.redAimer1._x = 1000;
_parent.redAimer1._y = 1000;
}
}
}
Instance of Symbol 1323 MovieClip "parentBlast2" in Symbol 1325 MovieClip Frame 40
onClipEvent (load) {
if (_name != "parentBlast2") {
timer = 2;
} else {
xPos = _x;
yPos = _y;
ringCounter = 25;
damage = 40;
i = 1;
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_global.clearRings) {
this.removeMovieClip();
}
if (_name != "parentBlast2") {
if (_xscale < 250) {
_xscale = (_xscale + 7.5);
}
_yscale = _xscale;
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.removeMovieClip();
}
} else {
_parent.redAimer2._x = xPos;
_parent.redAimer2._y = yPos;
ringCounter--;
if (ringCounter == 1) {
if (_parent.redAimer2.hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (_parent.redAimer2.hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!_parent.redAimer2.hitTest(_root.sword.blockArea)) and (!_parent.redAimer2.hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
if (ringCounter > 0) {
if (timer > 0) {
timer--;
} else {
this.duplicateMovieClip("blast2" + i, _parent.getNextHighestDepth());
_parent["blast2" + i]._x = xPos;
_parent["blast2" + i]._y = yPos;
i++;
xPos = xPos;
yPos = yPos;
xPos = xPos - 30;
yPos = yPos - 10;
timer = 2;
}
} else {
_parent.redAimer2._x = 1000;
_parent.redAimer2._y = 1000;
}
}
}
Symbol 1325 MovieClip Frame 121
_root.level.enemy.attacking = false;
Symbol 1327 MovieClip Frame 20
stop();
Symbol 1334 MovieClip Frame 39
_root.ironBreak.start();
Instance of Symbol 192 MovieClip in Symbol 1334 MovieClip Frame 86
onClipEvent (load) {
_root.nextFrame();
}
Instance of Symbol 1317 MovieClip in Symbol 1335 MovieClip Frame 4
onClipEvent (load) {
startX = _x;
startY = _y;
activated = true;
c = 4.7;
attacking = false;
attackNumber = 1;
}
onClipEvent (enterFrame) {
if (activated) {
_parent.aimer._x = _parent.aimer._x + (Math.sin(c) * 25);
_parent.aimer._y = _parent.aimer._y + (Math.cos(c) * 10);
_x = (_x + (Math.sin(c) * 25));
_y = (_y + (Math.cos(c) * 10));
c = c + 0.1;
}
}
Instance of Symbol 268 MovieClip "aimer" in Symbol 1335 MovieClip Frame 4
onClipEvent (load) {
activated = true;
_alpha = 0;
startX = _x;
startY = _y;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
if (activated) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 10);
}
}
Instance of Symbol 285 MovieClip in Symbol 1335 MovieClip Frame 6
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 1335 MovieClip Frame 6
onClipEvent (load) {
this._alpha = 0;
enemyDamage = 40;
sendEnemy = "NA";
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock) && (_global.activateStrength)) {
_root.ironbigHit.start();
_global.activateStrength = false;
_root.enemyHurtFunction(enemyDamage, sendEnemy);
}
}
Instance of Symbol 1297 MovieClip in Symbol 1335 MovieClip Frame 9
onClipEvent (load) {
_root.level.enemy.transition = false;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
this.play();
}
}
Instance of Symbol 1328 MovieClip in Symbol 1335 MovieClip Frame 10
onClipEvent (load) {
attack = Math.ceil(Math.random() * 2) + 10;
_root.level.enemy.gotoAndStop(attack);
}
Instance of Symbol 221 MovieClip "greenAimer1" in Symbol 1335 MovieClip Frame 10
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 1335 MovieClip Frame 10
onClipEvent (load) {
this._alpha = 0;
enemyDamage = 5;
sendEnemy = "NA";
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
if (_global.activateStrength) {
enemyDamage = enemyDamage + (enemyDamage / 2);
_global.activateStrength = false;
}
_root.enemyHurtFunction(enemyDamage, sendEnemy);
}
}
Instance of Symbol 1328 MovieClip "sideAttack" in Symbol 1335 MovieClip Frame 11
onClipEvent (load) {
_root.sidePitch.start();
sideNumber = Math.ceil(Math.random() * 2);
if (sideNumber == 1) {
side = "left";
}
if (sideNumber == 2) {
side = "right";
}
}
onClipEvent (enterFrame) {
if (_root.statusBar.enemyLife.lifeBar._width >= 331.6) {
_root.dodgeLeft.activated = false;
_root.dodgeRight.activated = false;
_root.level.enemy.gotoAndStop("enemyDeath");
}
}
Instance of Symbol 1330 MovieClip "parentBlast" in Symbol 1335 MovieClip Frame 11
onClipEvent (load) {
if (_name != "parentBlast") {
timer = 5;
xSpeed = 1;
} else {
ringTimer = 60;
_visible = false;
i = 1;
}
}
onClipEvent (enterFrame) {
if (_global.clearRings) {
this.removeMovieClip();
}
if (_name != "parentBlast") {
_x = (_x + xSpeed);
if (_xscale < 600) {
_xscale = (_xscale + 5);
}
_yscale = _xscale;
_alpha = (_alpha - 1.25);
if (_alpha <= 0) {
this.removeMovieClip();
}
} else if (_parent.sideAttack.side == "right") {
_root.dodgeLeft.activated = true;
ringTimer--;
if ((ringTimer > 0) && (ringTimer <= 45)) {
dodgeDamage = 3.5;
dodgeDirection = "Left";
_root.dodgeFunction(dodgeDamage, dodgeDirection);
if (timer > 0) {
timer--;
} else {
this.duplicateMovieClip("blast" + i, _parent.getNextHighestDepth());
i++;
timer = 5;
}
}
if (ringTimer <= 0) {
_root.dodgeLeft.activated = false;
}
if (ringTimer < -20) {
_parent.gotoAndStop(10);
}
}
}
Instance of Symbol 1330 MovieClip "parentBlastTwo" in Symbol 1335 MovieClip Frame 11
onClipEvent (load) {
if (_name != "parentBlastTwo") {
timer = 5;
xSpeed = -1;
} else {
ringTimer = 60;
_visible = false;
i = 1;
}
}
onClipEvent (enterFrame) {
if (_global.clearRings) {
this.removeMovieClip();
}
if (_name != "parentBlastTwo") {
_x = (_x + xSpeed);
if (_xscale < 600) {
_xscale = (_xscale + 5);
}
_yscale = _xscale;
_alpha = (_alpha - 1.25);
if (_alpha <= 0) {
this.removeMovieClip();
}
} else if (_parent.sideAttack.side == "left") {
_root.dodgeRight.activated = true;
ringTimer--;
if ((ringTimer > 0) && (ringTimer <= 45)) {
dodgeDamage = 3.5;
dodgeDirection = "Right";
_root.dodgeFunction(dodgeDamage, dodgeDirection);
if (timer > 0) {
timer--;
} else {
this.duplicateMovieClip("blastTwo" + i, _parent.getNextHighestDepth());
i++;
timer = 5;
}
}
if (ringTimer <= 0) {
_root.dodgeRight.activated = false;
}
if (ringTimer < -20) {
_parent.gotoAndStop(10);
}
}
}
Instance of Symbol 1328 MovieClip "soundCenter" in Symbol 1335 MovieClip Frame 12
onClipEvent (load) {
hitNumber = 0;
}
onClipEvent (enterFrame) {
if (_root.statusBar.enemyLife.lifeBar._width >= 331.6) {
_root.level.enemy.gotoAndStop("enemyDeath");
}
if (hitNumber >= 2) {
_root.level.enemy.gotoAndStop(10);
}
}
Instance of Symbol 221 MovieClip "greenAimer1" in Symbol 1335 MovieClip Frame 12
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 1335 MovieClip Frame 12
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_parent.soundCenter.hitNumber++;
this._x = 1200;
_parent.greenAimer1._x = 1200;
}
}
Instance of Symbol 221 MovieClip "greenAimer2" in Symbol 1335 MovieClip Frame 12
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 1335 MovieClip Frame 12
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_parent.soundCenter.hitNumber++;
this._x = 1200;
_parent.greenAimer2._x = 1200;
}
}
Instance of Symbol 1333 MovieClip "parentPitch" in Symbol 1335 MovieClip Frame 12
onClipEvent (load) {
if (_name != "parentPitch") {
timer = 5;
} else {
_root.middlePitch.start();
hurtTimer = 45;
damage = 10;
_visible = false;
i = 1;
}
}
onClipEvent (enterFrame) {
if (_global.clearRings) {
this.removeMovieClip();
}
if (_name != "parentPitch") {
if (_xscale < 600) {
_xscale = (_xscale + 5);
}
_yscale = _xscale;
_alpha = (_alpha - 1.25);
if (_alpha <= 0) {
this.removeMovieClip();
}
} else {
hurtTimer--;
if ((hurtTimer < 0) && (hurtTimer > -25)) {
_root.hurtFunction(damage);
}
if (hurtTimer <= -25) {
_root.level.enemy.gotoAndStop(10);
}
if (timer > 0) {
timer--;
} else {
this.duplicateMovieClip("pitch" + i, _parent.getNextHighestDepth());
i++;
timer = 5;
}
}
}
Instance of Symbol 1334 MovieClip in Symbol 1335 MovieClip Frame 13
onClipEvent (load) {
_root.dodgeLeft.activated = false;
_root.dodgeRight.activated = false;
if (!_global.defeatedSound) {
_global.defeatedSound = true;
_global.enemyCounter++;
if (_global.enemyCounter >= 10) {
_global.openGod = true;
}
}
}
Instance of Symbol 1335 MovieClip "enemy" in Symbol 1336 MovieClip Frame 1
onClipEvent (load) {
defeated = false;
transition = true;
attackNumber = 7;
attack = Math.ceil(Math.random() * 100);
}
onClipEvent (enterFrame) {
if (!defeated) {
if ((_root.statusBar.enemyLife.lifeBar._width >= 150) && (transition)) {
this.gotoAndStop(9);
}
if (!attacking) {
_root.enemyAttackFunction(attackNumber);
attacking = true;
}
}
}
Instance of Symbol 1390 MovieClip "hOne" in Symbol 1410 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_parent.hDisplayTwo);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.hDisplayTwo);
}
Instance of Symbol 1391 MovieClip "hTwo" in Symbol 1410 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_parent.hDisplayOne);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.hDisplayOne);
}
Instance of Symbol 1402 MovieClip "mOne" in Symbol 1410 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_parent.mDisplayOne);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.mDisplayOne);
}
Instance of Symbol 1409 MovieClip "mTwo" in Symbol 1410 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_parent.mDisplayTwo);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.mDisplayTwo);
}
Symbol 1419 MovieClip Frame 1
stop();
Instance of Symbol 1415 MovieClip in Symbol 1419 MovieClip Frame 20
onClipEvent (load) {
_root.level.parentEnergy.eyeNumber = _parent.eyeLocation;
_root.level.parentEnergy.duplicate = true;
}
Instance of Symbol 1423 MovieClip in Symbol 1428 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(120);
}
Instance of Symbol 1410 MovieClip in Symbol 1428 MovieClip Frame 1
onClipEvent (load) {
time = new Date();
hours = time.getHours();
minutes = time.getMinutes();
}
onClipEvent (enterFrame) {
time = new Date();
hours = time.getHours();
minutes = time.getMinutes();
if (hours > 12) {
newHours = hours - 12;
} else {
newHours = hours;
}
if (newHours >= 10) {
hDisplayOne = 2;
} else {
hDisplayOne = 1;
}
if (newHours == 0) {
newHours = 12;
}
hDisplayTwo = newHours;
mDisplayTwo = Math.floor(minutes / 10) + 1;
mDisplayOne = (minutes - (Math.floor(minutes / 10) * 10)) + 1;
}
Instance of Symbol 201 MovieClip in Symbol 1430 MovieClip Frame 2
onClipEvent (load) {
this._alpha = 0;
_parent.hitPoints = 1;
_parent.activated = true;
}
Instance of Symbol 221 MovieClip in Symbol 1430 MovieClip Frame 3
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 201 MovieClip in Symbol 1430 MovieClip Frame 3
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.targetHit.start();
_parent.hitPoints--;
}
}
Instance of Symbol 221 MovieClip in Symbol 1430 MovieClip Frame 313
onClipEvent (load) {
_alpha = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
}
Instance of Symbol 201 MovieClip in Symbol 1430 MovieClip Frame 313
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_parent.hitPoints--;
}
}
Instance of Symbol 201 MovieClip in Symbol 1430 MovieClip Frame 323
onClipEvent (load) {
this._alpha = 0;
_parent.activated = false;
}
Symbol 1430 MovieClip Frame 338
_root.level.enemy.attacking = false;
Instance of Symbol 201 MovieClip in Symbol 1432 MovieClip Frame 2
onClipEvent (load) {
this._alpha = 0;
_parent.hitPoints = 5;
_parent.activated = true;
}
Instance of Symbol 281 MovieClip in Symbol 1432 MovieClip Frame 3
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 201 MovieClip in Symbol 1432 MovieClip Frame 3
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.aimer.hitBlock)) {
_parent.activated = false;
}
}
Instance of Symbol 281 MovieClip in Symbol 1432 MovieClip Frame 174
onClipEvent (load) {
_alpha = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
}
Instance of Symbol 201 MovieClip in Symbol 1432 MovieClip Frame 184
onClipEvent (load) {
this._alpha = 0;
_parent.activated = false;
}
Symbol 1432 MovieClip Frame 199
_root.level.enemy.attacking = false;
Instance of Symbol 201 MovieClip in Symbol 1434 MovieClip Frame 2
onClipEvent (load) {
this._alpha = 0;
_parent.hitPoints = 1;
_parent.activated = true;
}
Instance of Symbol 281 MovieClip in Symbol 1434 MovieClip Frame 3
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 201 MovieClip in Symbol 1434 MovieClip Frame 3
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.aimer.hitBlock)) {
_parent.hitPoints--;
}
}
Instance of Symbol 281 MovieClip in Symbol 1434 MovieClip Frame 218
onClipEvent (load) {
_alpha = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
}
Instance of Symbol 201 MovieClip in Symbol 1434 MovieClip Frame 228
onClipEvent (load) {
this._alpha = 0;
_parent.activated = false;
}
Symbol 1434 MovieClip Frame 243
_root.level.enemy.attacking = false;
Instance of Symbol 201 MovieClip in Symbol 1436 MovieClip Frame 2
onClipEvent (load) {
this._alpha = 0;
_parent.hitPoints = 1;
_parent.activated = true;
}
Instance of Symbol 221 MovieClip in Symbol 1436 MovieClip Frame 3
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 201 MovieClip in Symbol 1436 MovieClip Frame 3
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.targetHit.start();
_parent.hitPoints--;
}
}
Instance of Symbol 221 MovieClip in Symbol 1436 MovieClip Frame 40
onClipEvent (load) {
_alpha = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
}
Instance of Symbol 201 MovieClip in Symbol 1436 MovieClip Frame 40
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_parent.hitPoints--;
}
}
Instance of Symbol 201 MovieClip in Symbol 1436 MovieClip Frame 60
onClipEvent (load) {
this._alpha = 0;
damage = 400;
_root.hurtFunction(damage);
_parent.activated = false;
}
Symbol 1436 MovieClip Frame 69
_root.level.enemy.attacking = false;
Instance of Symbol 201 MovieClip in Symbol 1437 MovieClip Frame 2
onClipEvent (load) {
this._alpha = 0;
enemyDamage = 37;
sendEnemy = "NA";
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.smallThud.start();
if (_global.activateStrength) {
enemyDamage = enemyDamage + (enemyDamage / 2);
_global.activateStrength = false;
}
_root.enemyHurtFunction(enemyDamage, sendEnemy);
_root.level.enemy.attacking = false;
_root.level.enemy.gotoAndStop(1);
}
}
Instance of Symbol 201 MovieClip in Symbol 1437 MovieClip Frame 7
onClipEvent (load) {
this._alpha = 0;
enemyDamage = 37;
sendEnemy = "NA";
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.smallThud.start();
if (_global.activateStrength) {
enemyDamage = enemyDamage + (enemyDamage / 2);
_global.activateStrength = false;
}
_root.enemyHurtFunction(enemyDamage, sendEnemy);
_root.level.enemy.attacking = false;
_root.level.enemy.gotoAndStop(1);
}
}
Symbol 1437 MovieClip Frame 11
gotoAndPlay (2);
Instance of Symbol 201 MovieClip in Symbol 1439 MovieClip Frame 2
onClipEvent (load) {
this._alpha = 0;
_parent.activated = true;
}
Instance of Symbol 221 MovieClip in Symbol 1439 MovieClip Frame 3
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 201 MovieClip in Symbol 1439 MovieClip Frame 3
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.targetHit.start();
_parent.activated = false;
}
}
Instance of Symbol 221 MovieClip in Symbol 1439 MovieClip Frame 135
onClipEvent (load) {
_alpha = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
}
Instance of Symbol 201 MovieClip in Symbol 1439 MovieClip Frame 135
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_parent.activated = false;
}
}
Instance of Symbol 201 MovieClip in Symbol 1439 MovieClip Frame 145
onClipEvent (load) {
this._alpha = 0;
_parent.activated = false;
}
Symbol 1439 MovieClip Frame 160
_root.level.enemy.attacking = false;
Instance of Symbol 1410 MovieClip in Symbol 1447 MovieClip Frame 1
onClipEvent (load) {
this.mOne.gotoAndStop(1);
this.mTwo.gotoAndStop(1);
this.hOne.gotoAndStop(10);
this.hTwo.gotoAndStop(1);
}
Symbol 1448 MovieClip Frame 1
_root.gameRollover.start();
Instance of Symbol 1410 MovieClip in Symbol 1448 MovieClip Frame 1
onClipEvent (load) {
this.mOne.gotoAndStop(6);
this.mTwo.gotoAndStop(1);
this.hOne.gotoAndStop(10);
this.hTwo.gotoAndStop(1);
}
Symbol 1448 MovieClip Frame 14
_root.gameRollover.start();
Instance of Symbol 1410 MovieClip in Symbol 1448 MovieClip Frame 14
onClipEvent (load) {
this.mOne.gotoAndStop(5);
this.mTwo.gotoAndStop(1);
this.hOne.gotoAndStop(10);
this.hTwo.gotoAndStop(1);
}
Symbol 1448 MovieClip Frame 27
_root.gameRollover.start();
Instance of Symbol 1410 MovieClip in Symbol 1448 MovieClip Frame 27
onClipEvent (load) {
this.mOne.gotoAndStop(4);
this.mTwo.gotoAndStop(1);
this.hOne.gotoAndStop(10);
this.hTwo.gotoAndStop(1);
}
Symbol 1448 MovieClip Frame 40
_root.gameRollover.start();
Instance of Symbol 1410 MovieClip in Symbol 1448 MovieClip Frame 40
onClipEvent (load) {
this.mOne.gotoAndStop(3);
this.mTwo.gotoAndStop(1);
this.hOne.gotoAndStop(10);
this.hTwo.gotoAndStop(1);
}
Symbol 1448 MovieClip Frame 53
_root.gameRollover.start();
Instance of Symbol 1410 MovieClip in Symbol 1448 MovieClip Frame 53
onClipEvent (load) {
this.mOne.gotoAndStop(2);
this.mTwo.gotoAndStop(1);
this.hOne.gotoAndStop(10);
this.hTwo.gotoAndStop(1);
}
Instance of Symbol 1410 MovieClip in Symbol 1448 MovieClip Frame 66
onClipEvent (load) {
this.mOne.gotoAndStop(1);
this.mTwo.gotoAndStop(1);
this.hOne.gotoAndStop(10);
this.hTwo.gotoAndStop(1);
}
Instance of Symbol 192 MovieClip in Symbol 1448 MovieClip Frame 109
onClipEvent (load) {
_root.nextFrame();
}
Symbol 1449 MovieClip Frame 1
stop();
Instance of Symbol 1428 MovieClip in Symbol 1449 MovieClip Frame 2
onClipEvent (load) {
hover = 18;
moveUp = true;
}
onClipEvent (enterFrame) {
_x = (_x + hover);
if ((hover > -20) && (moveUp)) {
hover--;
}
if (hover <= -20) {
moveUp = false;
}
if ((hover < 20) && (!moveUp)) {
hover++;
}
if (hover >= 20) {
moveUp = true;
hover = 19;
}
}
Instance of Symbol 1430 MovieClip in Symbol 1449 MovieClip Frame 2
onClipEvent (load) {
_root.decreaseSpeed.start();
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
_alpha = 0;
activated = true;
hitPoints = 1;
}
onClipEvent (enterFrame) {
if (hitPoints <= 0) {
activated = false;
}
if (activated) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
} else {
_root.sword.delay = true;
}
} else {
_root.sword.delay = false;
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_root.level.enemy.attacking = false;
}
}
}
Instance of Symbol 1432 MovieClip in Symbol 1449 MovieClip Frame 4
onClipEvent (load) {
_root.forwardTime.start();
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
_alpha = 0;
activated = true;
damage = 1.75;
}
onClipEvent (enterFrame) {
if (activated) {
if (_alpha < 100) {
_alpha = (_alpha + 4);
} else {
_root.hurtFunction(damage);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_root.level.enemy.attacking = false;
}
}
Instance of Symbol 1434 MovieClip in Symbol 1449 MovieClip Frame 6
onClipEvent (load) {
_root.backwardsTime.start();
_alpha = 0;
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
activated = true;
lifeGain = 1;
hitPoints = 1;
}
onClipEvent (enterFrame) {
if (hitPoints <= 0) {
activated = false;
}
if (activated) {
if (_alpha < 100) {
_alpha = (_alpha + 4);
} else {
_root.healFunction(lifeGain);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_root.level.enemy.attacking = false;
}
}
Instance of Symbol 1436 MovieClip in Symbol 1449 MovieClip Frame 8
onClipEvent (load) {
_root.deathChime.start();
_alpha = 0;
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
activated = true;
hitPoints = 1;
}
onClipEvent (enterFrame) {
if (hitPoints <= 0) {
activated = false;
}
if (activated) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_root.level.enemy.attacking = false;
}
}
Instance of Symbol 1439 MovieClip in Symbol 1449 MovieClip Frame 10
onClipEvent (load) {
_root.increaseSpeed.start();
_alpha = 0;
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
activated = true;
}
onClipEvent (enterFrame) {
if (activated) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_root.level.enemy.attacking = false;
}
}
Instance of Symbol 1448 MovieClip in Symbol 1449 MovieClip Frame 12
onClipEvent (load) {
_root.level.eyeRight.attackTimer = 5000;
_root.level.eyeLeft.attackTimer = 5000;
if (!_global.defeatedTime) {
_global.defeatedTime = true;
_global.enemyCounter++;
if (_global.enemyCounter >= 10) {
_global.openGod = true;
}
}
}
Instance of Symbol 1451 MovieClip in Symbol 1452 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 195 MovieClip in Symbol 1452 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1452 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 1449 MovieClip "enemy" in Symbol 1453 MovieClip Frame 1
onClipEvent (load) {
attacking = false;
attackNumber = 10;
defeated = false;
attack = Math.ceil(Math.random() * 100);
}
onClipEvent (enterFrame) {
if (!defeated) {
if (!attacking) {
_root.enemyAttackFunction(attackNumber);
attacking = true;
}
}
}
Instance of Symbol 1419 MovieClip "eyeRight" in Symbol 1453 MovieClip Frame 1
onClipEvent (load) {
c = 0;
eyeLocation = "right";
attackTimer = 200;
}
onClipEvent (enterFrame) {
attackTimer--;
if (attackTimer <= 0) {
this.play();
attackTimer = 400;
}
_x = (_x + (Math.sin(c) * 7));
_y = (_y + (Math.cos(c) * 7));
c = c + 0.1;
}
Instance of Symbol 1419 MovieClip "eyeLeft" in Symbol 1453 MovieClip Frame 1
onClipEvent (load) {
c = 0;
eyeLocation = "left";
attackTimer = 400;
}
onClipEvent (enterFrame) {
attackTimer--;
if (attackTimer <= 0) {
this.play();
attackTimer = 400;
}
_x = (_x + (Math.sin(c) * 7));
_y = (_y + (Math.cos(c) * 7));
c = c - 0.1;
}
Instance of Symbol 1452 MovieClip "parentEnergy" in Symbol 1453 MovieClip Frame 1
onClipEvent (load) {
if (_name == "parentEnergy") {
duplicate = false;
eyeNumber = "";
i = 1;
}
}
onClipEvent (enterFrame) {
if (_name == "parentEnergy") {
if (duplicate) {
_root.timeLaser.start();
this.duplicateMovieClip("energy" + i, _parent.getNextHighestDepth());
if (eyeNumber == "right") {
_parent["energy" + i]._x = _parent.eyeRight._x;
_parent["energy" + i]._y = _parent.eyeRight._y;
}
if (eyeNumber == "left") {
_parent["energy" + i]._x = _parent.eyeLeft._x;
_parent["energy" + i]._y = _parent.eyeLeft._y;
}
i++;
duplicate = false;
eyeNumber = "";
}
} else {
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
if (_xscale > 300) {
damage = 40;
if (this.hitBlock.hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (this.hitBlock.hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!this.hitBlock.hitTest(_root.sword.blockArea)) and (!this.hitBlock.hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
this.removeMovieClip();
}
}
}
Symbol 1513 MovieClip Frame 1
stop();
Instance of Symbol 253 MovieClip in Symbol 1513 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1513 MovieClip Frame 19
onClipEvent (load) {
_root.freezeFlash.start();
_alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if (!hitTest(_root.shield.blockArea)) {
if (hitTest(_root.sword.blockArea)) {
damage = 40;
_root.sword.frozen = true;
_root.hurtFunction(damage);
_root.blockFunction();
} else {
damage = 80;
_root.hurtFunction(damage);
}
}
}
Instance of Symbol 253 MovieClip in Symbol 1513 MovieClip Frame 21
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Symbol 1514 MovieClip Frame 1
stop();
Instance of Symbol 201 MovieClip "hitBlock" in Symbol 1514 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
timer = 10;
}
onClipEvent (enterFrame) {
timer--;
if (timer <= 0) {
if (((((_parent._parent.rings.purpleAttack && (_parent._parent.rings.blueAttack)) && (_parent._parent.rings.greenAttack)) && (_parent._parent.rings.yellowAttack)) && (_parent._parent.rings.orangeAttack)) && (_parent._parent.rings.redAttack)) {
_parent.gotoAndStop(8);
} else {
_parent._parent.rings.attacking = false;
}
}
}
Instance of Symbol 1007 MovieClip "parentFire" in Symbol 1514 MovieClip Frame 2
onClipEvent (load) {
if (_name == "parentFire") {
timer = 4;
i = 1;
c = 0;
xPos = (Math.random() * 400) - 200;
yPos = 100;
_visible = false;
} else {
_root.fireTrail.start();
}
_xscale = 25;
_yscale = _xscale;
}
onClipEvent (enterFrame) {
if (_name == "parentFire") {
if (c < 4.5) {
_x = (xPos + (Math.sin(c) * 125));
_y = (yPos + (Math.cos(c) * 125));
c = c + 0.1;
if (timer > 0) {
timer--;
} else {
timer = 4;
this.duplicateMovieClip("fire" + i, _parent.getNextHighestDepth());
_parent.hitZone._x = _parent["fire" + i]._x;
_parent.hitZone._y = _parent["fire" + i]._y;
i++;
}
} else {
damage = 50;
_root.hurtFunction(damage);
_parent.hitZone._x = 1000;
_parent.hitZone._y = 1000;
_parent.gotoAndStop(1);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 3);
_xscale = (_xscale + 5);
_yscale = (_yscale + 5);
} else {
this.removeMovieClip();
}
}
Instance of Symbol 1041 MovieClip "hitZone" in Symbol 1514 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitBlock.hitTest(_root.aimer.hitBlock)) {
_parent.parentFire.activated = false;
_x = 1000;
_y = 1000;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 1432 MovieClip in Symbol 1514 MovieClip Frame 3
onClipEvent (load) {
_root.forwardTime.start();
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
_alpha = 0;
activated = true;
damage = 1.75;
}
onClipEvent (enterFrame) {
if (activated) {
if (_alpha < 100) {
_alpha = (_alpha + 4);
} else {
_root.hurtFunction(damage);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_parent.gotoAndStop(1);
}
}
Instance of Symbol 1194 MovieClip "lightning" in Symbol 1514 MovieClip Frame 4
onClipEvent (load) {
_x = ((Math.random() * 700) - 350);
}
onClipEvent (enterFrame) {
this.play();
if (_currentframe == 48) {
_parent.gotoAndStop(1);
}
}
Instance of Symbol 1323 MovieClip "parentBlast" in Symbol 1514 MovieClip Frame 5
onClipEvent (load) {
if (_name != "parentBlast") {
timer = 2;
} else {
xPos = _x;
yPos = _y;
ringCounter = 25;
damage = 40;
i = 1;
activated = false;
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_global.clearRings) {
this.removeMovieClip();
}
if (_name != "parentBlast") {
if (_xscale < 275) {
_xscale = (_xscale + 7.5);
}
_yscale = _xscale;
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.removeMovieClip();
}
} else {
_parent.redAimer1._x = xPos;
_parent.redAimer1._y = yPos;
ringCounter--;
if (ringCounter == 1) {
if (_parent.redAimer1.hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (_parent.redAimer1.hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!_parent.redAimer1.hitTest(_root.sword.blockArea)) and (!_parent.redAimer1.hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
if (ringCounter > 0) {
if (timer > 0) {
timer--;
} else {
this.duplicateMovieClip("blast" + i, _parent.getNextHighestDepth());
_parent["blast" + i]._x = xPos;
_parent["blast" + i]._y = yPos;
i++;
xPos = xPos;
yPos = yPos;
xPos = xPos + 30;
yPos = yPos - 10;
timer = 2;
}
} else {
_parent.redAimer1._x = 1000;
_parent.redAimer1._y = 1000;
}
}
}
Instance of Symbol 1323 MovieClip "parentBlast2" in Symbol 1514 MovieClip Frame 5
onClipEvent (load) {
if (_name != "parentBlast2") {
timer = 2;
} else {
_root.launchPitch.start();
startTimer = 15;
xPos = _x;
yPos = _y;
ringCounter = 25;
damage = 40;
i = 1;
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_global.clearRings) {
this.removeMovieClip();
}
if (_name != "parentBlast2") {
if (_xscale < 250) {
_xscale = (_xscale + 7.5);
}
_yscale = _xscale;
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.removeMovieClip();
}
} else {
startTimer--;
if (startTimer <= 0) {
_parent.redAimer2._x = xPos;
_parent.redAimer2._y = yPos;
ringCounter--;
if (ringCounter == 1) {
if (_parent.redAimer2.hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (_parent.redAimer2.hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!_parent.redAimer2.hitTest(_root.sword.blockArea)) and (!_parent.redAimer2.hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
if (ringCounter > 0) {
if (timer > 0) {
timer--;
} else {
this.duplicateMovieClip("blast2" + i, _parent.getNextHighestDepth());
_parent["blast2" + i]._x = xPos;
_parent["blast2" + i]._y = yPos;
i++;
xPos = xPos;
yPos = yPos;
xPos = xPos - 30;
yPos = yPos - 10;
timer = 2;
}
} else {
_parent.redAimer2._x = 1000;
_parent.redAimer2._y = 1000;
_parent.gotoAndStop(1);
}
}
}
}
Instance of Symbol 1513 MovieClip in Symbol 1514 MovieClip Frame 6
onClipEvent (enterFrame) {
this.play();
if (_currentframe == 34) {
_parent.gotoAndStop(1);
}
}
Instance of Symbol 575 MovieClip in Symbol 1514 MovieClip Frame 7
onClipEvent (load) {
xSpeed = 15;
moveLeft = true;
}
onClipEvent (enterFrame) {
_rotation = (_rotation - 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -750) {
_parent.gotoAndStop(1);
}
if (_x > 700) {
_x = 695;
moveLeft = true;
}
}
Instance of Symbol 575 MovieClip in Symbol 1514 MovieClip Frame 7
onClipEvent (load) {
xSpeed = 15;
moveLeft = false;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 2);
if (moveLeft) {
_x = (_x - xSpeed);
} else {
_x = (_x + xSpeed);
}
if (_x < -750) {
_x = -745;
moveLeft = false;
}
if (_x > 700) {
_x = 695;
moveLeft = true;
}
}
Instance of Symbol 221 MovieClip in Symbol 1514 MovieClip Frame 8
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 1514 MovieClip Frame 8
onClipEvent (load) {
this._alpha = 0;
enemyDamage = 70;
sendEnemy = "NA";
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.smallThud.start();
if (_global.activateStrength) {
enemyDamage = enemyDamage + (enemyDamage / 2);
_global.activateStrength = false;
}
_parent._parent.rings.purpleAttack = false;
_parent._parent.rings.blueAttack = false;
_parent._parent.rings.greenAttack = false;
_parent._parent.rings.yellowAttack = false;
_parent._parent.rings.orangeAttack = false;
_parent._parent.rings.redAttack = false;
_parent._parent.rings.purple.gotoAndPlay(1);
_parent._parent.rings.blue.gotoAndPlay(1);
_parent._parent.rings.green.gotoAndPlay(1);
_parent._parent.rings.yellow.gotoAndPlay(1);
_parent._parent.rings.orange.gotoAndPlay(1);
_parent._parent.rings.red.gotoAndPlay(1);
_root.finalHurtFunction(enemyDamage, sendEnemy);
_parent.gotoAndStop(1);
}
}
Symbol 1521 MovieClip Frame 20
stop();
Instance of Symbol 1542 MovieClip in Symbol 1543 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
}
Instance of Symbol 1542 MovieClip in Symbol 1543 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 1542 MovieClip in Symbol 1543 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 4);
}
Instance of Symbol 1542 MovieClip in Symbol 1543 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 2);
}
Instance of Symbol 1542 MovieClip in Symbol 1543 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
}
Instance of Symbol 1542 MovieClip in Symbol 1543 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 6);
}
Instance of Symbol 1542 MovieClip in Symbol 1543 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 7);
}
Instance of Symbol 1542 MovieClip in Symbol 1543 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 8);
}
Instance of Symbol 1542 MovieClip in Symbol 1543 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 9);
}
Instance of Symbol 1542 MovieClip in Symbol 1543 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 1542 MovieClip in Symbol 1543 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 11);
}
Instance of Symbol 1542 MovieClip in Symbol 1543 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 12);
}
Instance of Symbol 1542 MovieClip in Symbol 1543 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 13);
}
Instance of Symbol 1542 MovieClip in Symbol 1546 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 1542 MovieClip in Symbol 1546 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 1542 MovieClip in Symbol 1546 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 1542 MovieClip in Symbol 1546 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 1542 MovieClip in Symbol 1546 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 1542 MovieClip in Symbol 1546 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 1542 MovieClip in Symbol 1546 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 1542 MovieClip in Symbol 1546 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 1542 MovieClip in Symbol 1546 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 1542 MovieClip in Symbol 1546 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 1542 MovieClip in Symbol 1546 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 1542 MovieClip in Symbol 1546 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 1542 MovieClip in Symbol 1546 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Symbol 1549 MovieClip Frame 1
stop();
Symbol 1563 MovieClip Frame 2
_root.redAttack.start();
Instance of Symbol 195 MovieClip in Symbol 1563 MovieClip Frame 2
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1563 MovieClip Frame 24
onClipEvent (load) {
_alpha = 0;
damage = 20;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!hitTest(_root.sword.blockArea)) and (!hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 195 MovieClip in Symbol 1563 MovieClip Frame 26
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Symbol 1563 MovieClip Frame 39
stop();
Instance of Symbol 221 MovieClip in Symbol 1564 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 1564 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
enemyDamage = 60;
sendEnemy = "NA";
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.smallThud.start();
if (_global.activateStrength) {
enemyDamage = enemyDamage + (enemyDamage / 2);
_global.activateStrength = false;
}
_root.finalHurtFunction(enemyDamage, sendEnemy);
_parent._parent.gotoAndStop(1);
}
}
Instance of Symbol 221 MovieClip in Symbol 1564 MovieClip Frame 28
onClipEvent (enterFrame) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
}
_rotation = (_rotation + 5);
}
Instance of Symbol 221 MovieClip in Symbol 1564 MovieClip Frame 38
onClipEvent (load) {
_parent._parent.gotoAndStop(1);
}
Symbol 1565 MovieClip Frame 2
_root.blueAttack.start();
Instance of Symbol 253 MovieClip in Symbol 1565 MovieClip Frame 5
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1565 MovieClip Frame 22
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if (!hitTest(_root.shield.blockArea)) {
if (hitTest(_root.sword.blockArea)) {
damage = 25;
_root.hurtFunction(damage);
_root.blockFunction();
} else {
damage = 40;
_root.hurtFunction(damage);
}
}
}
Instance of Symbol 253 MovieClip in Symbol 1565 MovieClip Frame 24
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha - 10);
}
Symbol 1565 MovieClip Frame 40
stop();
Instance of Symbol 268 MovieClip "aimer" in Symbol 1566 MovieClip Frame 1
onClipEvent (load) {
activated = true;
_alpha = 0;
startX = _x;
startY = _y;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
if (activated) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 10);
}
}
Symbol 1566 MovieClip Frame 15
stop();
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1566 MovieClip Frame 15
onClipEvent (load) {
_alpha = 0;
damage = 2;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.sword.sparks.play();
}
if (hitTest(_root.shield.blockArea)) {
_root.shield.sparks.play();
}
if ((!hitTest(_root.sword.blockArea)) and (!hitTest(_root.shield.blockArea))) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 268 MovieClip "aimer" in Symbol 1566 MovieClip Frame 16
onClipEvent (enterFrame) {
_alpha = (_alpha - 10);
}
Instance of Symbol 268 MovieClip "aimer" in Symbol 1566 MovieClip Frame 25
onClipEvent (load) {
_alpha = 0;
_parent._parent.gotoAndStop(1);
}
Symbol 1567 MovieClip Frame 2
_root.orangeAttack.start();
Instance of Symbol 1041 MovieClip in Symbol 1567 MovieClip Frame 2
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
if (this.hitBlock.hitTest(_root.aimer.hitBlock)) {
_parent.activated = false;
}
}
Instance of Symbol 1041 MovieClip in Symbol 1567 MovieClip Frame 32
onClipEvent (enterFrame) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
}
}
Symbol 1567 MovieClip Frame 45
stop();
Symbol 1568 MovieClip Frame 2
_root.blackAttack.start();
Instance of Symbol 288 MovieClip in Symbol 1568 MovieClip Frame 2
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1568 MovieClip Frame 14
onClipEvent (load) {
damage = 6;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 288 MovieClip in Symbol 1568 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
}
}
Symbol 1568 MovieClip Frame 40
stop();
Symbol 1569 MovieClip Frame 1
stop();
Instance of Symbol 201 MovieClip "hitBlock" in Symbol 1569 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
_parent._parent.colors.attacking = false;
}
Instance of Symbol 1563 MovieClip in Symbol 1569 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(1);
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
timer = 10;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else if (_currentframe == 1) {
this.play();
}
}
Instance of Symbol 1563 MovieClip in Symbol 1569 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(1);
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
timer = 25;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else if (_currentframe == 1) {
this.play();
}
}
Instance of Symbol 1563 MovieClip in Symbol 1569 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(1);
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
timer = 40;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else if (_currentframe == 1) {
this.play();
}
}
Instance of Symbol 1563 MovieClip in Symbol 1569 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(1);
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
timer = 55;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else if (_currentframe == 1) {
this.play();
}
}
Instance of Symbol 1563 MovieClip in Symbol 1569 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(1);
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
timer = 70;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
if (_currentframe == 1) {
this.play();
}
if (_currentframe == 32) {
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 1564 MovieClip in Symbol 1569 MovieClip Frame 4
onClipEvent (load) {
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
}
Instance of Symbol 1565 MovieClip in Symbol 1569 MovieClip Frame 8
onClipEvent (load) {
this.gotoAndStop(1);
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
timer = 10;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else if (_currentframe == 1) {
this.play();
}
}
Instance of Symbol 1565 MovieClip in Symbol 1569 MovieClip Frame 8
onClipEvent (load) {
this.gotoAndStop(1);
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
timer = 35;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else if (_currentframe == 1) {
this.play();
}
}
Instance of Symbol 1565 MovieClip in Symbol 1569 MovieClip Frame 8
onClipEvent (load) {
this.gotoAndStop(1);
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
timer = 60;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
if (_currentframe == 1) {
this.play();
}
if (_currentframe == 30) {
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 1566 MovieClip in Symbol 1569 MovieClip Frame 10
onClipEvent (load) {
_root.yellowAttack.start();
_y = ((Math.random() * 400) - 200);
moveUp = true;
xSpeed = 32;
timer = 100;
}
onClipEvent (enterFrame) {
timer--;
if (timer <= 0) {
this.play();
}
_x = (_x + xSpeed);
if ((xSpeed > -32) && (moveUp)) {
xSpeed = xSpeed - 2;
}
if (xSpeed <= -32) {
moveUp = false;
}
if ((xSpeed < 32) && (!moveUp)) {
xSpeed = xSpeed + 2;
}
if (xSpeed >= 32) {
moveUp = true;
xSpeed = 30;
}
}
Instance of Symbol 1567 MovieClip in Symbol 1569 MovieClip Frame 12
onClipEvent (load) {
damage = 20;
activated = true;
this.gotoAndStop(1);
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
timer = 20;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else if (_currentframe == 1) {
this.play();
}
if (activated) {
if (_currentframe == 30) {
_root.hurtFunction(damage);
}
} else {
_x = 1000;
}
}
Instance of Symbol 1567 MovieClip in Symbol 1569 MovieClip Frame 12
onClipEvent (load) {
damage = 20;
activated = true;
this.gotoAndStop(1);
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
timer = 40;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else if (_currentframe == 1) {
this.play();
}
if (activated) {
if (_currentframe == 30) {
_root.hurtFunction(damage);
}
} else {
_x = 1000;
}
}
Instance of Symbol 1567 MovieClip in Symbol 1569 MovieClip Frame 12
onClipEvent (load) {
damage = 20;
activated = true;
this.gotoAndStop(1);
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
timer = 60;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else if (_currentframe == 1) {
this.play();
}
if (activated) {
if (_currentframe == 30) {
_root.hurtFunction(damage);
}
} else {
_x = 1000;
}
}
Instance of Symbol 1567 MovieClip in Symbol 1569 MovieClip Frame 12
onClipEvent (load) {
damage = 20;
activated = true;
this.gotoAndStop(1);
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
timer = 80;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else if (_currentframe == 1) {
this.play();
}
if (activated) {
if (_currentframe == 30) {
_root.hurtFunction(damage);
}
} else {
_x = 1000;
}
}
Instance of Symbol 1567 MovieClip in Symbol 1569 MovieClip Frame 12
onClipEvent (load) {
damage = 20;
activated = true;
this.gotoAndStop(1);
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
timer = 100;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else if (_currentframe == 1) {
this.play();
}
if (activated) {
if (_currentframe == 30) {
_root.hurtFunction(damage);
}
} else {
_x = 1000;
}
if (_currentframe == 35) {
_parent.gotoAndStop(1);
}
}
Instance of Symbol 1568 MovieClip in Symbol 1569 MovieClip Frame 14
onClipEvent (load) {
this.gotoAndStop(1);
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
timer = 10;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else if (_currentframe == 1) {
this.play();
}
}
Instance of Symbol 1568 MovieClip in Symbol 1569 MovieClip Frame 14
onClipEvent (load) {
this.gotoAndStop(1);
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
timer = 25;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else if (_currentframe == 1) {
this.play();
}
}
Instance of Symbol 1568 MovieClip in Symbol 1569 MovieClip Frame 14
onClipEvent (load) {
this.gotoAndStop(1);
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
timer = 40;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else if (_currentframe == 1) {
this.play();
}
}
Instance of Symbol 1568 MovieClip in Symbol 1569 MovieClip Frame 14
onClipEvent (load) {
this.gotoAndStop(1);
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
timer = 55;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else if (_currentframe == 1) {
this.play();
}
}
Instance of Symbol 1568 MovieClip in Symbol 1569 MovieClip Frame 14
onClipEvent (load) {
this.gotoAndStop(1);
_y = ((Math.random() * 450) - 225);
_x = ((Math.random() * 750) - 375);
timer = 70;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else if (_currentframe == 1) {
this.play();
}
if (_currentframe == 40) {
_parent.gotoAndStop(1);
}
}
Instance of Symbol 195 MovieClip in Symbol 1570 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1570 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 221 MovieClip in Symbol 1571 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 1571 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
enemyDamage = 15;
sendEnemy = "NA";
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.smallThud.start();
if (_global.activateStrength) {
enemyDamage = enemyDamage + (enemyDamage / 2);
_global.activateStrength = false;
}
_root.finalHurtFunction(enemyDamage, sendEnemy);
}
}
Symbol 1572 MovieClip Frame 1
_root.blueGlow.start();
Symbol 1572 MovieClip Frame 100
_root.blueGlow.stop();
Symbol 1572 MovieClip Frame 110
_root.eternalExplode.start();
Symbol 1572 MovieClip Frame 112
stop();
_root.whiteFlash.play();
Symbol 1573 MovieClip Frame 1
stop();
Instance of Symbol 1512 MovieClip "rings" in Symbol 1573 MovieClip Frame 1
onClipEvent (load) {
attacking = false;
attackNumber = 6;
defeated = false;
redAttack = false;
orangeAttack = false;
yellowAttack = false;
greenAttack = false;
blueAttack = false;
purpleAttack = false;
reset = false;
}
onClipEvent (enterFrame) {
if (!defeated) {
if (reset) {
attack = 0;
attacking = false;
reset = false;
}
if (!attacking) {
attacking = true;
attack = Math.ceil(Math.random() * attackNumber);
switch (attack) {
case 6 :
if (!purpleAttack) {
this.purple.gotoAndStop(1);
_parent.attacks.gotoAndStop(attack + 1);
purpleAttack = true;
} else {
reset = true;
}
break;
case 5 :
if (!blueAttack) {
this.blue.gotoAndStop(16);
_parent.attacks.gotoAndStop(attack + 1);
blueAttack = true;
} else {
reset = true;
}
break;
case 4 :
if (!greenAttack) {
this.green.gotoAndStop(14);
_parent.attacks.gotoAndStop(attack + 1);
greenAttack = true;
} else {
reset = true;
}
break;
case 3 :
if (!yellowAttack) {
this.yellow.gotoAndStop(12);
_parent.attacks.gotoAndStop(attack + 1);
yellowAttack = true;
} else {
reset = true;
}
break;
case 2 :
if (!orangeAttack) {
this.orange.gotoAndStop(10);
_parent.attacks.gotoAndStop(attack + 1);
orangeAttack = true;
} else {
reset = true;
}
break;
case 1 :
if (!redAttack) {
this.red.gotoAndStop(8);
_parent.attacks.gotoAndStop(attack + 1);
redAttack = true;
} else {
reset = true;
}
}
}
}
}
Instance of Symbol 1512 MovieClip "rings" in Symbol 1573 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_alpha > 0) {
_alpha = (_alpha - 5);
} else {
_parent.gotoAndStop(3);
}
}
Instance of Symbol 1529 MovieClip in Symbol 1573 MovieClip Frame 3
onClipEvent (load) {
_alpha = 0;
fadeIn = true;
}
onClipEvent (enterFrame) {
if (fadeIn) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
} else {
_root.lifeRegain.start();
_root.statusBar.enemyLife.lifeBar._width = 1;
_root.statusBar.playerLife.lifeBar._width = 1;
fadeIn = false;
}
} else if (_alpha > 0) {
_alpha = (_alpha - 5);
} else {
_parent.gotoAndStop(4);
}
}
Symbol 1573 MovieClip Frame 4
_root._quality = "MEDIUM";
Instance of Symbol 1549 MovieClip "colors" in Symbol 1573 MovieClip Frame 4
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
} else {
_parent.gotoAndStop(5);
}
}
Instance of Symbol 1549 MovieClip "colors" in Symbol 1573 MovieClip Frame 5
onClipEvent (load) {
attacking = false;
attackNumber = 14;
frameNumber = 0;
defeated = false;
}
onClipEvent (enterFrame) {
if (!defeated) {
if (!attacking) {
attacking = true;
attack = Math.ceil(Math.random() * attackNumber);
frameNumber = attack + 1;
this.gotoAndStop(attack);
_parent.attacks.gotoAndStop(frameNumber);
}
}
}
Instance of Symbol 1549 MovieClip "colors" in Symbol 1573 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_alpha > 0) {
_alpha = (_alpha - 5);
} else {
_parent.gotoAndStop(7);
}
}
Symbol 1573 MovieClip Frame 7
_root._quality = "HIGH";
Instance of Symbol 1529 MovieClip in Symbol 1573 MovieClip Frame 7
onClipEvent (load) {
_alpha = 0;
fadeIn = true;
}
onClipEvent (enterFrame) {
if (fadeIn) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
} else {
_root.lifeRegain.start();
_root.statusBar.enemyLife.lifeBar._width = 1;
_root.statusBar.playerLife.lifeBar._width = 1;
fadeIn = false;
}
} else if (_alpha > 0) {
_alpha = (_alpha - 5);
} else {
_parent.gotoAndStop(8);
}
}
Instance of Symbol 1456 MovieClip in Symbol 1573 MovieClip Frame 8
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
} else {
_parent.gotoAndStop(9);
}
}
Instance of Symbol 1570 MovieClip "parentEnergy" in Symbol 1573 MovieClip Frame 9
onClipEvent (load) {
if (_name == "parentEnergy") {
i = 1;
timer = 15;
} else {
_root.eternalEnergy.start();
ySpeed = Math.ceil(Math.random() * 12) - 6;
xSpeed = Math.ceil(Math.random() * 14) - 7;
_x = _parent.eternal._x;
_y = _parent.eternal._y;
}
}
onClipEvent (enterFrame) {
if (_name == "parentEnergy") {
if (timer > 0) {
timer--;
} else {
this.duplicateMovieClip("energy" + i, _parent.getNextHighestDepth());
i++;
timer = 15;
}
} else {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (_xscale < 350) {
_xscale = (_xscale + 12);
_yscale = (_yscale + 12);
} else {
if (this.hitBlock.hitTest(_root.sword.blockArea)) {
_root.blockFunction();
}
if (this.hitBlock.hitTest(_root.shield.blockArea)) {
_root.blockFunction();
}
if ((!this.hitBlock.hitTest(_root.sword.blockArea)) and (!this.hitBlock.hitTest(_root.shield.blockArea))) {
damage = 40;
_root.hurtFunction(damage);
}
this.removeMovieClip();
}
}
}
Instance of Symbol 1571 MovieClip "eternal" in Symbol 1573 MovieClip Frame 9
onClipEvent (load) {
c = 4.8;
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin(c) * 13));
_y = (_y + (Math.cos(c) * 8));
c = c + 0.05;
}
Instance of Symbol 1572 MovieClip in Symbol 1573 MovieClip Frame 10
onClipEvent (load) {
if (!_global.defeatedGod) {
_global.defeatedGod = true;
savefile.data.defeatedGod = _global.defeatedGod;
savefile.flush();
}
}
Symbol 1575 MovieClip Frame 1
stop();
Symbol 1575 MovieClip Frame 75
stop();
_root.gotoAndStop("win");
Symbol 1583 MovieClip Frame 1
stop();
Instance of Symbol 195 MovieClip in Symbol 1583 MovieClip Frame 2
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_alpha = (_alpha + 10);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1583 MovieClip Frame 2
onClipEvent (load) {
_alpha = 0;
timer = 25;
damage = 30;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
if (hitTest(_root.sword.blockArea)) {
_root.blockFunction();
} else {
_root.hurtFunction(damage);
}
_parent.nextFrame();
}
}
Instance of Symbol 1001 MovieClip in Symbol 1583 MovieClip Frame 3
onClipEvent (load) {
_root.smileyHit.start();
}
onClipEvent (enterFrame) {
if (_currentframe == 8) {
_parent.activated = false;
}
}
Instance of Symbol 288 MovieClip "parentAimer" in Symbol 1594 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
_rotation = (_rotation + 5);
}
Instance of Symbol 197 MovieClip "hitBlock" in Symbol 1594 MovieClip Frame 1
onClipEvent (load) {
damage = 10;
_alpha = 0;
timer = 12;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else if (hitTest(_root.sword.blockArea)) {
_root.hurtFunction(damage);
}
}
Symbol 1595 MovieClip Frame 1
stop();
Instance of Symbol 221 MovieClip in Symbol 1595 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 1595 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
timer = 85;
damage = 40;
}
onClipEvent (enterFrame) {
if (_parent.activated) {
if (timer > 0) {
timer--;
} else {
_root.hurtFunction(damage);
_parent.nextFrame();
}
if (hitTest(_root.sword.aSword.hitBlock)) {
_parent.nextFrame();
}
}
}
Instance of Symbol 1594 MovieClip in Symbol 1595 MovieClip Frame 2
onClipEvent (load) {
_root.smileyHit.start();
}
onClipEvent (enterFrame) {
if (_alpha > 0) {
_alpha = (_alpha - 2);
} else {
_parent.activated = false;
}
}
Instance of Symbol 1001 MovieClip in Symbol 1595 MovieClip Frame 2
onClipEvent (load) {
_root.level.enemy.timer = 200;
}
Symbol 1596 MovieClip Frame 1
stop();
Symbol 1596 MovieClip Frame 13
_root.podBreath.start();
Symbol 1602 MovieClip Frame 1
stop();
Instance of Symbol 1601 MovieClip in Symbol 1602 MovieClip Frame 2
onClipEvent (load) {
_alpha = 5;
colorTimer = 100;
_root.sword.swordReversal = true;
}
onClipEvent (enterFrame) {
if (_alpha < 90) {
_alpha = (_alpha + 5);
}
if (colorTimer > 0) {
colorTimer--;
} else {
_alpha = (_alpha - 10);
}
if (_alpha <= 0) {
_root.sword.swordReversal = false;
_parent.gotoAndStop(1);
}
}
Symbol 1609 MovieClip Frame 30
stop();
Instance of Symbol 221 MovieClip in Symbol 1609 MovieClip Frame 30
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 1609 MovieClip Frame 30
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.vineChop.start();
_parent.play();
}
}
Instance of Symbol 288 MovieClip "parentAimer" in Symbol 1609 MovieClip Frame 30
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
_rotation = (_rotation + 5);
}
Instance of Symbol 197 MovieClip in Symbol 1609 MovieClip Frame 30
onClipEvent (load) {
damage = 5;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 288 MovieClip "parentAimer" in Symbol 1609 MovieClip Frame 30
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
_rotation = (_rotation + 5);
}
Instance of Symbol 197 MovieClip in Symbol 1609 MovieClip Frame 30
onClipEvent (load) {
damage = 5;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 288 MovieClip "parentAimer" in Symbol 1609 MovieClip Frame 30
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
_rotation = (_rotation + 5);
}
Instance of Symbol 197 MovieClip in Symbol 1609 MovieClip Frame 30
onClipEvent (load) {
damage = 5;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 288 MovieClip "parentAimer" in Symbol 1609 MovieClip Frame 30
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
_rotation = (_rotation + 5);
}
Instance of Symbol 197 MovieClip in Symbol 1609 MovieClip Frame 30
onClipEvent (load) {
damage = 5;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 288 MovieClip "parentAimer" in Symbol 1609 MovieClip Frame 30
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
_rotation = (_rotation + 5);
}
Instance of Symbol 197 MovieClip in Symbol 1609 MovieClip Frame 30
onClipEvent (load) {
damage = 5;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.sword.blockArea)) {
_root.hurtFunction(damage);
}
}
Instance of Symbol 1606 MovieClip in Symbol 1609 MovieClip Frame 149
onClipEvent (load) {
_parent._y = (Math.random() * 200) - 100;
}
Symbol 1624 MovieClip Frame 12
stop();
_root.level.enemy.nextFrame();
Symbol 1624 MovieClip Frame 24
stop();
Instance of Symbol 192 MovieClip in Symbol 1628 MovieClip Frame 50
onClipEvent (load) {
_root.nextFrame();
}
Instance of Symbol 1583 MovieClip "bud1" in Symbol 1629 MovieClip Frame 1
onClipEvent (load) {
timer = 75;
activated = false;
startY = _y;
}
onClipEvent (enterFrame) {
if (activated) {
_y = (_y + 3);
timer--;
if (timer == 0) {
this.gotoAndStop(2);
}
} else {
_x = 500;
_y = startY;
timer = 75;
this.gotoAndStop(1);
}
}
Instance of Symbol 1595 MovieClip "bud2" in Symbol 1629 MovieClip Frame 1
onClipEvent (load) {
timer = 100;
activated = false;
startY = _y;
}
onClipEvent (enterFrame) {
if (activated) {
if (_currentframe == 1) {
_y = (_y + 3);
}
timer--;
if (timer == 0) {
this.gotoAndStop(2);
}
} else {
_x = 500;
_y = startY;
timer = 100;
this.gotoAndStop(1);
}
}
Instance of Symbol 1583 MovieClip "bud3" in Symbol 1629 MovieClip Frame 1
onClipEvent (load) {
timer = 75;
activated = false;
startY = _y;
}
onClipEvent (enterFrame) {
if (activated) {
_y = (_y + 3);
timer--;
if (timer == 0) {
this.gotoAndStop(2);
}
} else {
_x = 500;
_y = startY;
timer = 75;
this.gotoAndStop(1);
}
}
Instance of Symbol 1595 MovieClip "bud4" in Symbol 1629 MovieClip Frame 1
onClipEvent (load) {
timer = 100;
activated = false;
startY = _y;
}
onClipEvent (enterFrame) {
if (activated) {
if (_currentframe == 1) {
_y = (_y + 3);
}
timer--;
if (timer == 0) {
this.gotoAndStop(2);
}
} else {
_x = 500;
_y = startY;
timer = 100;
this.gotoAndStop(1);
}
}
Instance of Symbol 1624 MovieClip in Symbol 1629 MovieClip Frame 2
onClipEvent (load) {
this.play();
}
Instance of Symbol 1624 MovieClip in Symbol 1629 MovieClip Frame 2
onClipEvent (load) {
this.play();
}
Instance of Symbol 1624 MovieClip in Symbol 1629 MovieClip Frame 2
onClipEvent (load) {
this.play();
}
Instance of Symbol 1624 MovieClip in Symbol 1629 MovieClip Frame 2
onClipEvent (load) {
this.play();
}
Instance of Symbol 1624 MovieClip in Symbol 1629 MovieClip Frame 2
onClipEvent (load) {
_root.plantHiss.start();
this.play();
}
Instance of Symbol 1624 MovieClip in Symbol 1629 MovieClip Frame 2
onClipEvent (load) {
this.play();
}
Instance of Symbol 1624 MovieClip in Symbol 1629 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1624 MovieClip in Symbol 1629 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1624 MovieClip in Symbol 1629 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1624 MovieClip in Symbol 1629 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1624 MovieClip in Symbol 1629 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1624 MovieClip in Symbol 1629 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1235 MovieClip in Symbol 1629 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_currentframe >= 45) {
_root.level.enemy.nextFrame();
}
}
Instance of Symbol 221 MovieClip in Symbol 1629 MovieClip Frame 4
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
_rotation = (_rotation + 5);
}
Instance of Symbol 201 MovieClip in Symbol 1629 MovieClip Frame 4
onClipEvent (load) {
timer = 50;
this._alpha = 0;
enemyDamage = 45;
sendEnemy = "NA";
}
onClipEvent (enterFrame) {
timer--;
if (timer <= 0) {
_root.level.enemy.nextFrame();
}
if (hitTest(_root.sword.aSword.hitBlock)) {
_root.vineChop.start();
_root.plantInjure.start();
if (_global.activateStrength) {
enemyDamage = enemyDamage + (enemyDamage / 2);
_global.activateStrength = false;
}
_root.enemyHurtFunction(enemyDamage, sendEnemy);
_root.level.enemy.nextFrame();
}
}
Instance of Symbol 1624 MovieClip in Symbol 1629 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndPlay(13);
}
Instance of Symbol 1624 MovieClip in Symbol 1629 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndPlay(13);
}
Instance of Symbol 1624 MovieClip in Symbol 1629 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndPlay(13);
}
Instance of Symbol 1624 MovieClip in Symbol 1629 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndPlay(13);
}
Instance of Symbol 1624 MovieClip in Symbol 1629 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndPlay(13);
_root.coloroverlay.gotoAndStop(2);
}
Instance of Symbol 1624 MovieClip in Symbol 1629 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndPlay(13);
}
Instance of Symbol 1001 MovieClip in Symbol 1629 MovieClip Frame 5
onClipEvent (load) {
_root.sporePoof.start();
}
Instance of Symbol 1001 MovieClip in Symbol 1629 MovieClip Frame 5
onClipEvent (load) {
_root.level.enemy.attackTimer = 200;
}
Instance of Symbol 1628 MovieClip in Symbol 1629 MovieClip Frame 6
onClipEvent (load) {
_root.plantWilt.start();
}
Instance of Symbol 1629 MovieClip "enemy" in Symbol 1630 MovieClip Frame 1
onClipEvent (load) {
attackTimer = 100;
this.gotoAndStop(1);
defeated = false;
}
onClipEvent (enterFrame) {
if (!defeated) {
attackTimer--;
if (attackTimer == 0) {
this.gotoAndStop(2);
}
}
}
Symbol 1652 MovieClip Frame 24
stop();
Symbol 1654 MovieClip Frame 24
stop();
Symbol 1655 MovieClip Frame 2
stop();
Symbol 1665 MovieClip Frame 1
stop();
Symbol 1667 MovieClip Frame 1
stop();
Symbol 1669 MovieClip Frame 1
stop();
Symbol 1669 MovieClip Frame 70
stop();
Symbol 1670 MovieClip Frame 45
stop();