Frame 1
stopAllSounds();
levelDiedOn = 3;
Stage.showMenu = false;
_quality = "medium";
weaponspot = 1;
headspot = 1;
bodyspot = 1;
normal = true;
backtolife = false;
this.createEmptyMovieClip("soundHolder", 100);
deathstinger = new Sound(this.soundHolder);
deathstinger.attachSound("sound_deathstinger");
this.createEmptyMovieClip("soundHolder", 100);
songone = new Sound(this.soundHolder);
songone.attachSound("sound_songone");
this.createEmptyMovieClip("soundHolder", 100);
songtwo = new Sound(this.soundHolder);
songtwo.attachSound("sound_songtwo");
this.createEmptyMovieClip("soundHolder", 100);
songthree = new Sound(this.soundHolder);
songthree.attachSound("sound_songthree");
this.createEmptyMovieClip("soundHolder", 100);
songfirst = new Sound(this.soundHolder);
songfirst.attachSound("sound_songfirst");
this.createEmptyMovieClip("soundHolder", 100);
soundone = new Sound(this.soundHolder);
soundone.attachSound("sound_soundone");
Frame 2
stop();
stopAllSounds();
songfirstplaying = false;
songtwoplaying = false;
songthreeplaying = false;
songoneplaying = false;
Instance of Symbol 122 MovieClip "menu" in Frame 2
onClipEvent (enterFrame) {
ifFrameLoaded (9) {
this.loading.gotoAndStop(2);
}
}
Frame 3
stop();
herohealth = 3;
Instance of Symbol 146 MovieClip in Frame 3
onClipEvent (enterFrame) {
holdingRight = false;
holdingLeft = false;
holdingUp = false;
holdingDown = false;
if (Key.isDown(38) == true) {
if (this.hitTest(_root.castle1)) {
_root.castle11.gotoAndStop(2);
this.gotoAndStop(3);
incastle1 = true;
}
if (this.hitTest(_root.castle2)) {
_root.castle22.gotoAndStop(2);
this.gotoAndStop(3);
incastle2 = true;
incontinue = true;
}
upSpeed = 10;
this._y = this._y - upSpeed;
holdingUp = true;
}
if (holdingUp == false) {
upSpeed = upSpeed - 2;
if (upSpeed <= 0) {
upSpeed = 0;
}
this._y = this._y - upSpeed;
}
if (Key.isDown(40) == true) {
incastle1 = false;
incastle2 = false;
if (left == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
DownSpeed = 10;
this._y = this._y + DownSpeed;
holdingDown = true;
}
if (holdingDown == false) {
DownSpeed = DownSpeed - 2;
if (DownSpeed <= 0) {
DownSpeed = 0;
}
this._y = this._y + DownSpeed;
}
if (Key.isDown(39) == true) {
left = false;
incastle1 = false;
incastle2 = false;
rightSpeed = 10;
this._x = this._x + rightSpeed;
holdingRight = true;
this.gotoAndStop(1);
}
if (holdingRight == false) {
rightSpeed = rightSpeed - 2;
if (rightSpeed <= 0) {
rightSpeed = 0;
}
this._x = this._x + rightSpeed;
}
if (Key.isDown(37) == true) {
left = true;
incastle1 = false;
incastle2 = false;
this.gotoAndStop(2);
leftSpeed = 10;
this._x = this._x - leftSpeed;
holdingLeft = true;
}
if (holdingLeft == false) {
leftSpeed = leftSpeed - 2;
if (leftSpeed <= 0) {
leftSpeed = 0;
}
this._x = this._x - leftSpeed;
}
}
onClipEvent (enterFrame) {
if (this._x <= 30) {
this._x = 30;
}
if (this._y <= 170) {
this._y = 170;
}
if (this._x >= 520) {
this._x = 520;
}
if (this._y >= 300) {
this._y = 300;
}
if (incastle1 != true) {
_root.castle11.gotoAndStop(1);
incastle = false;
}
if (incastle1 == true) {
if (Key.isDown(32) == true) {
_root.deathstinger.stop("sound_deathstinger");
_root.gotoAndStop(2);
}
}
if (incastle2 != true) {
_root.castle22.gotoAndStop(1);
incastle = false;
}
if (incastle2 == true) {
if (Key.isDown(32) == true) {
_root.backtolife = true;
_root.deathstinger.stop("sound_deathstinger");
_root.gotoAndStop(_root.levelDiedOn);
}
}
}
Frame 4
stop();
weaponhold = weaponspot;
headhold = headspot;
bodyhold = bodyspot;
if (normal == true) {
herohealth = 6;
} else {
herohealth = 3;
_root.goodhealth4.gotoAndStop(25);
_root.goodhealth5.gotoAndStop(25);
}
if (backtolife == true) {
backtolife = false;
if (normal == true) {
herohealth = 6;
} else {
herohealth = 3;
_root.goodhealth4.gotoAndStop(25);
_root.goodhealth5.gotoAndStop(25);
}
}
if (songfirstplaying != true) {
songfirstplaying = true;
_root.songfirst.start(0, 999);
_root.songfirst.setVolume(100);
}
Instance of Symbol 159 MovieClip in Frame 4
onClipEvent (enterFrame) {
this._x = _root.heromain._x - 10;
this._y = _root.heromain._y - 10;
}
Instance of Symbol 115 MovieClip "heromain" in Frame 4
onClipEvent (load) {
speed = 10;
jumpspeed = 10;
speedfall = -10;
dead = false;
allowspace == true;
}
onClipEvent (enterFrame) {
this.weapon.gotoAndStop(_root.weaponhold);
this.body.gotoAndStop(_root.bodyhold);
this.head.gotoAndStop(_root.headhold);
this.guyguyguy.weapon.gotoAndStop(_root.weaponhold);
if (dead == true) {
_root.dead.play();
}
if (dead == false) {
if (Key.isDown(39) == true) {
if (slashing == false) {
this._xscale = -50;
}
if (this._x <= 500) {
this._x = this._x + speed;
this.feet.play();
}
} else if (Key.isDown(37) == true) {
if (slashing == false) {
this._xscale = 50;
}
if (this._x >= 44) {
this._x = this._x - speed;
this.feet.play();
}
}
if ((this.goodguyhurt.guyframe == 2) && (Key.isDown(32) == true)) {
this.recharge.gotoAndStop(1);
}
if (Key.isDown(32) == true) {
if (allowspace == true) {
if (this.hitTest(_root.oldman.oldmanhit)) {
if (_root.oldman.donetalking == true) {
if (_root.oldman.talkframe == 1) {
_root.oldman.gotoAndStop(11);
_root.oldman.talkframe = 11;
} else if (_root.oldman.talkframe == 11) {
_root.oldman.gotoAndStop(1);
_root.oldman.talkframe = 1;
}
} else {
_root.oldman.play();
_root.oldman.talkframe++;
oldmantalking = true;
}
} else {
this.gotoAndStop(2);
}
allowspace = false;
if (this.goodguyhurt.guyframe == 1) {
this.recharge.play();
}
}
} else {
allowspace = true;
this.recharge.gotoAndStop(1);
}
if (this.goodguyhurtblock.hitTest(_root.flyfirstmain.flyhurtyou) || (this.goodguyhurtblock.hitTest(_root.flykillsyou))) {
if (this.goodguyhurt.guyframe == 1) {
this.goodguyhurt.play();
if (_root.herohealth <= 0) {
dead = true;
}
}
}
if (this.hitTest(_root.arrowmc.moveleft)) {
_root.nextFrame();
}
if (this._y <= 100) {
upallowed = false;
}
if (this.groundhit.hitTest(_root.land_1)) {
upallowed = true;
jumpspeed = 20;
speedfall = 10;
}
if (Key.isDown(38) == true) {
if (upallowed == true) {
speedfall = -10;
this._y = this._y - jumpspeed;
} else {
this._y = this._y + ((speedfall = speedfall + 3));
}
} else if (!this.groundhit.hitTest(_root.land_1)) {
this._y = this._y + ((speedfall = speedfall + 3));
upallowed = false;
}
if (_root.baddieattack.hitTest(this._x, this._y, true)) {
if (this.goodguyhurt.guyframe == 1) {
this.goodguyhurt.play();
if (_root.herohealth <= 0) {
dead = true;
}
}
}
if (this.hitTest(_root.cantgoright)) {
if (Key.isDown(39) == true) {
this._x = this._x - speed;
}
}
}
if (dead == true) {
if (!this.hitTest(_root.land_1)) {
this._y = this._y + 10;
} else if (end != true) {
end = true;
this.gotoAndPlay(3);
}
}
if (this._y >= 243.9) {
this._y = 243.9;
}
if ((_root.oldman.talkframe != 9) && (_root.oldman.talkframe != 1)) {
if (!this.hitTest(_root.oldman.oldmanhit)) {
if (oldmantalking == true) {
_root.oldman.gotoAndStop(10);
}
} else {
_root.oldman.gotoAndStop(_root.oldman.talkframe);
}
}
if ((_root.oldman.talkframe == 1) && (this.hitTest(_root.oldman))) {
_root.oldman.questionmark.gotoAndStop(2);
} else {
_root.oldman.questionmark.gotoAndStop(1);
}
}
Frame 5
baddielife = 3;
stop();
_root.baddieattack.gotoAndPlay(85);
_root.arrowmc.gotoAndStop(1);
levelDiedOn = 5;
_root.heromain.weapon.gotoAndStop(weaponspot);
_root.heromain.body.gotoAndStop(bodyspot);
_root.heromain.head.gotoAndStop(headspot);
if (backtolife == true) {
backtolife = false;
if (normal == true) {
herohealth = 6;
} else {
herohealth = 3;
_root.goodhealth4.gotoAndStop(25);
_root.goodhealth5.gotoAndStop(25);
}
}
if (songoneplaying != true) {
songoneplaying = true;
_root.songone.start(0, 999);
_root.songone.setVolume(100);
}
_root.songfirst.stop("sound_songfirst");
Instance of Symbol 231 MovieClip "baddie" in Frame 5
onClipEvent (load) {
speed = 10;
jumpspeed = 10;
speedfall = -10;
goingleft = true;
dead = false;
runsteps = 30;
countdowntorun = 50;
runaway = false;
}
onClipEvent (enterFrame) {
baddiesXposition = this._x;
if (dead == false) {
if (this.invisible == false) {
if (_root.heromain._x < baddiesXposition) {
this._xscale = -100;
if (_root.baddieattack.doagain == true) {
_root.baddieattack._xscale = -100;
if (_root.baddieattack.doagain == true) {
this.gotoAndStop(2);
_root.baddieattack._x = this._x;
_root.baddieattack.gotoAndPlay(1);
_root.baddieattack._x = _root.baddieattack._x - 20;
}
}
} else {
this._xscale = 100;
if (_root.baddieattack.doagain == true) {
_root.baddieattack._xscale = 100;
if (_root.baddieattack.doagain == true) {
this.gotoAndStop(2);
_root.baddieattack._x = this._x;
_root.baddieattack.gotoAndPlay(1);
_root.baddieattack._x = _root.baddieattack._x + 20;
}
}
}
if ((_root.heromain._x < (baddiesXposition + 200)) && (_root.heromain._x > (baddiesXposition - 200))) {
if (_root.baddieattack.doagain == true) {
this.gotoAndStop(2);
}
}
}
}
if (this._x <= 41.3) {
this._x = 41.3;
}
if (this._x >= 500) {
this._x = 500;
}
}
Instance of Symbol 115 MovieClip "heromain" in Frame 5
onClipEvent (load) {
speed = 10;
jumpspeed = 10;
speedfall = -10;
dead = false;
allowspace = true;
}
onClipEvent (enterFrame) {
this.weapon.gotoAndStop(_root.weaponhold);
this.body.gotoAndStop(_root.bodyhold);
this.head.gotoAndStop(_root.headhold);
this.guyguyguy.weapon.gotoAndStop(_root.weaponhold);
if (dead == true) {
_root.dead.play();
}
if (dead == false) {
if (Key.isDown(39) == true) {
if (slashing == false) {
this._xscale = -50;
}
if (this._x <= 500) {
this._x = this._x + speed;
this.feet.play();
}
} else if (Key.isDown(37) == true) {
if (slashing == false) {
this._xscale = 50;
}
if (this._x >= 44) {
this._x = this._x - speed;
this.feet.play();
}
}
if ((this.goodguyhurt.guyframe == 2) && (Key.isDown(32) == true)) {
this.recharge.gotoAndStop(1);
}
if (Key.isDown(32) == true) {
if (allowspace == true) {
allowspace = false;
this.gotoAndStop(2);
if (this.goodguyhurt.guyframe == 1) {
this.recharge.play();
}
}
} else {
allowspace = true;
this.recharge.gotoAndStop(1);
}
if (this.goodguyhurtblock.hitTest(_root.flyfirstmain.flyhurtyou) || (this.goodguyhurtblock.hitTest(_root.flykillsyou))) {
if (this.goodguyhurt.guyframe == 1) {
this.goodguyhurt.play();
if (_root.herohealth <= 0) {
dead = true;
}
}
}
if (this.hitTest(_root.arrowmc.moveleft)) {
_root.nextFrame();
}
if (this._y <= 100) {
upallowed = false;
}
if (this.groundhit.hitTest(_root.land_1)) {
upallowed = true;
jumpspeed = 20;
speedfall = 10;
}
if (Key.isDown(38) == true) {
if (upallowed == true) {
speedfall = -10;
this._y = this._y - jumpspeed;
} else {
this._y = this._y + ((speedfall = speedfall + 3));
}
} else if (!this.groundhit.hitTest(_root.land_1)) {
this._y = this._y + ((speedfall = speedfall + 3));
upallowed = false;
}
if (_root.baddieattack.hitTest(this._x, this._y, true)) {
if (this.goodguyhurt.guyframe == 1) {
this.goodguyhurt.play();
if (_root.herohealth <= 0) {
dead = true;
}
}
}
if (this.hitTest(_root.cantgoright)) {
if (Key.isDown(39) == true) {
this._x = this._x - speed;
}
}
}
if (dead == true) {
if (!this.hitTest(_root.land_1)) {
this._y = this._y + 10;
} else if (end != true) {
end = true;
this.gotoAndPlay(3);
}
}
if (this._y >= 243.9) {
this._y = 243.9;
}
}
Frame 6
stop();
_root.heromain._x = 550;
_root.arrowmc.gotoAndStop(1);
levelDiedOn = 6;
_root.heromain.weapon.gotoAndStop(weaponspot);
_root.heromain.body.gotoAndStop(bodyspot);
_root.heromain.head.gotoAndStop(headspot);
if (backtolife == true) {
backtolife = false;
if (normal == true) {
herohealth = 6;
} else {
herohealth = 3;
_root.goodhealth4.gotoAndStop(25);
_root.goodhealth5.gotoAndStop(25);
}
}
if (songoneplaying != true) {
songoneplaying = true;
_root.songone.start(0, 999);
_root.songone.setVolume(100);
}
Instance of Symbol 247 MovieClip "flyfirstmain" in Frame 6
onClipEvent (load) {
flyspeed = 10;
dead = false;
}
onClipEvent (enterFrame) {
if ((this._x < (_root.heromain._x + 100)) && (this._x > (_root.heromain._x - 100))) {
if (dead == false) {
this.gotoAndStop(2);
}
} else if (dead == false) {
this.gotoAndStop(1);
}
if (this._x >= 600) {
gootherway = true;
} else if (this._x <= -50) {
gootherway = false;
this._xscale = 100;
}
if (gootherway == true) {
this._xscale = -100;
this._x = this._x - flyspeed;
} else {
this._x = this._x + flyspeed;
}
if (dead == true) {
if (!this.hitTest(_root.land_1)) {
this._y = this._y + 10;
} else if (flyspeed >= 1) {
flyspeed = flyspeed - 1;
} else {
_root.arrowmc.gotoAndStop(2);
}
}
}
Frame 7
stop();
_root.heromain._x = 550;
_root.heromain._y = lasty;
_root.arrowmc.gotoAndStop(2);
levelDiedOn = 7;
_root.heromain1.weapon.gotoAndStop(weaponspot);
_root.heromain1.body.gotoAndStop(bodyspot);
_root.heromain1.head.gotoAndStop(headspot);
if (backtolife == true) {
backtolife = false;
if (normal == true) {
herohealth = 6;
} else {
herohealth = 3;
_root.goodhealth4.gotoAndStop(25);
_root.goodhealth5.gotoAndStop(25);
}
}
if (songoneplaying != true) {
songoneplaying = true;
_root.songone.start(0, 999);
_root.songone.setVolume(100);
}
Instance of Symbol 115 MovieClip "heromain1" in Frame 7
onClipEvent (load) {
speed = 10;
jumpspeed = 10;
speedfall = -10;
dead = false;
allowspace = true;
}
onClipEvent (enterFrame) {
this.weapon.gotoAndStop(_root.weaponhold);
this.body.gotoAndStop(_root.bodyhold);
this.head.gotoAndStop(_root.headhold);
this.guyguyguy.weapon.gotoAndStop(_root.weaponhold);
if (dead == true) {
_root.dead.play();
}
if (dead == false) {
if (Key.isDown(39) == true) {
if (slashing == false) {
this._xscale = -50;
}
if (this._x <= 500) {
this._x = this._x + speed;
this.feet.play();
}
} else if (Key.isDown(37) == true) {
if (slashing == false) {
this._xscale = 50;
}
if (this._x >= 44) {
this._x = this._x - speed;
this.feet.play();
}
}
if ((this.goodguyhurt.guyframe == 2) && (Key.isDown(32) == true)) {
this.recharge.gotoAndStop(1);
}
if (Key.isDown(32) == true) {
if (allowspace == true) {
allowspace = false;
this.gotoAndStop(2);
if (this.goodguyhurt.guyframe == 1) {
this.recharge.play();
}
}
} else {
allowspace = true;
this.recharge.gotoAndStop(1);
}
if (this.goodguyhurtblock.hitTest(_root.flyfirstmain.flyhurtyou) || (this.goodguyhurtblock.hitTest(_root.flykillsyou))) {
if (this.goodguyhurt.guyframe == 1) {
this.goodguyhurt.play();
if (_root.herohealth <= 0) {
dead = true;
}
}
}
if (this.hitTest(_root.arrowmc.moveleft)) {
_root.nextFrame();
}
if (this._y <= 100) {
upallowed = false;
}
if (this.groundhit.hitTest(_root.land_1)) {
upallowed = true;
jumpspeed = 20;
speedfall = 10;
}
if (Key.isDown(38) == true) {
if (upallowed == true) {
speedfall = -10;
this._y = this._y - jumpspeed;
} else {
this._y = this._y + ((speedfall = speedfall + 3));
}
} else if (!this.groundhit.hitTest(_root.land_1)) {
this._y = this._y + ((speedfall = speedfall + 3));
upallowed = false;
}
if (_root.baddieattack.hitTest(this._x, this._y, true)) {
if (this.goodguyhurt.guyframe == 1) {
this.goodguyhurt.play();
if (_root.herohealth <= 0) {
dead = true;
}
}
}
if (this.hitTest(_root.cantgoright)) {
if (Key.isDown(39) == true) {
this._x = this._x - speed;
}
}
}
if (dead == true) {
if (!this.hitTest(_root.land_1)) {
this._y = this._y + 10;
} else if (end != true) {
end = true;
this.gotoAndPlay(3);
}
}
}
Frame 8
stop();
levelDiedOn = 8;
_root.arrowmc.gotoAndStop(1);
holder = 0;
xholder = 0;
_root.heromain2.weapon.gotoAndStop(weaponspot);
_root.heromain2.body.gotoAndStop(bodyspot);
_root.heromain2.head.gotoAndStop(headspot);
if (backtolife == true) {
backtolife = false;
if (normal == true) {
herohealth = 6;
} else {
herohealth = 3;
_root.goodhealth4.gotoAndStop(25);
_root.goodhealth5.gotoAndStop(25);
}
}
if (songtwoplaying != true) {
songtwoplaying = true;
_root.songtwo.start(0, 999);
_root.songtwo.setVolume(100);
}
_root.songone.stop("sound_songone");
Instance of Symbol 266 MovieClip "wall2" in Frame 8
onClipEvent (enterFrame) {
this.landith.gotoAndStop(2);
}
Instance of Symbol 266 MovieClip "wall1" in Frame 8
/* no clip actions */
Instance of Symbol 270 MovieClip "water" in Frame 8
onClipEvent (load) {
moveup = 20;
countdown = 40;
watergo = false;
docountdown = false;
heromainfalls = 1;
thiswatergo = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.waterhitter)) {
if (dooncethinger != true) {
dooncethinger = true;
_root.backgroundmc.gotoAndPlay(57);
}
}
if (_root.wormbaddie.dead == true) {
docountdown = true;
}
if (docountdown == true) {
if (countdown > 0) {
countdown--;
splash = false;
} else {
if (_root.wall2.watergonow == true) {
_root.wall2.gotoAndPlay(42);
this.play();
}
_root.wall1._x = _root.wall1._x + 2;
if (_root.wall1._x >= 700) {
_root.wall1.unloadMovie();
}
thiswatergo = true;
if (bum != "poop") {
bum = "poop";
}
if (splash == false) {
if (this.hitTest(_root.heromain2)) {
watergo = true;
bubblesgo = true;
_root.bubbles1._x = _root.heromain2._x;
_root.bubbles1._y = _root.heromain2._y + 20;
splash = true;
_root.bubbles1.play();
}
}
}
}
}
Instance of Symbol 272 MovieClip "bubbles1" in Frame 8
onClipEvent (enterFrame) {
if (_root.water.bubblesgo == true) {
this._y = this._y - 33;
}
}
Instance of Symbol 274 MovieClip "bubble1" in Frame 8
onClipEvent (enterFrame) {
if (this.bubble_done == true) {
randomypos = random(30) - 20;
this._y = this._y + randomypos;
randomxpos = random(10) - 10;
this._x = this._x + randomxpos;
}
}
Instance of Symbol 274 MovieClip "bubble2" in Frame 8
onClipEvent (enterFrame) {
if (this.bubble_done == true) {
randomypos = random(30) - 20;
this._y = this._y + randomypos;
randomxpos = random(10) - 10;
this._x = this._x + randomxpos;
}
}
Instance of Symbol 274 MovieClip "bubble3" in Frame 8
onClipEvent (enterFrame) {
if (this.bubble_done == true) {
randomypos = random(30) - 20;
this._y = this._y + randomypos;
randomxpos = random(10) - 10;
this._x = this._x + randomxpos;
}
}
Instance of Symbol 274 MovieClip "bubble4" in Frame 8
onClipEvent (enterFrame) {
if (this.bubble_done == true) {
randomypos = random(30) - 20;
this._y = this._y + randomypos;
randomxpos = random(10) - 10;
this._x = this._x + randomxpos;
}
}
Instance of Symbol 274 MovieClip "bubble5" in Frame 8
onClipEvent (enterFrame) {
if (this.bubble_done == true) {
randomypos = random(30) - 20;
this._y = this._y + randomypos;
randomxpos = random(10) - 10;
this._x = this._x + randomxpos;
}
}
Instance of Symbol 295 MovieClip "wormbaddie" in Frame 8
onClipEvent (load) {
countdowntoworm = 200;
wormguyhere = false;
wormhealth = 3;
wormcomesdownspeed = 20;
wormhit = false;
goesback = false;
goesbackspeed = 10;
eyescanopen = 100;
justhit = false;
dead = false;
deadspeed = -5;
}
onClipEvent (enterFrame) {
if (dead == false) {
if (countdowntoworm > 0) {
countdowntoworm--;
if (countdowntoworm < 100) {
_root.enemyapproach.gotoAndStop(2);
playrocksnow = true;
}
} else {
if (playrocksnow == true) {
_root.rocksfall.play();
playrocksnow = false;
}
countdowntoworm = 0;
_root.enemyapproach.gotoAndStop(1);
_root.wormhealthbar.gotoAndStop(2);
wormguyhere = true;
}
if (wormguyhere == true) {
if (wormcomesdownspeed >= 1) {
this._y = this._y + (wormcomesdownspeed--);
}
}
if (wormguyhere == true) {
if (justhit == false) {
eyescanopen--;
if (eyescanopen <= 0) {
if (this.eyeleft.lefteyehit == false) {
this.eyeleft.play();
}
if (this.eyeright.righteyehit == false) {
this.eyeright.play();
}
eyescanopen = 100;
}
}
if (wormhit == true) {
if (this.wormhealth <= 0) {
dead = true;
dieplay = false;
} else {
_root.rocksfall.gotoAndPlay(2);
this.play();
justhit = true;
this.eyeright.gotoAndPlay(1);
this.eyeleft.gotoAndPlay(1);
if (this.eyeleft.eyesopen == true) {
this.eyeleft.play();
this.eyeright.play();
}
wormhit = false;
goesback = true;
}
}
if (goesback == true) {
this._y = this._y - (goesbackspeed++);
if (this._y < -160) {
countdowntoworm = 200;
wormguyhere = false;
wormcomesdownspeed = 20;
wormhit = false;
goesback = false;
goesbackspeed = 10;
eyescanopen = 100;
justhit = false;
}
}
}
} else {
if (dieplay == false) {
this.gotoAndPlay(30);
dieplay = true;
}
this._y = this._y - ((deadspeed = deadspeed + 0.3));
if (this._y < -160) {
this.unloadMovie();
_root.rocksfall.unloadMovie();
}
}
}
Instance of Symbol 247 MovieClip "secondfly1" in Frame 8
onClipEvent (load) {
dies = 10;
dead = false;
chasespeed = 4;
thisguydies = 10;
highestchasespeed = 4;
}
onClipEvent (enterFrame) {
if (_root.wormbaddie.dead == true) {
dead = true;
}
if (_root.wormbaddie.dead == false) {
if (this._y <= -200) {
if ((dead = true)) {
if (random(2) == 1) {
this._y = 400;
} else {
this._y = -50;
}
dies = 10;
dead = false;
this.gotoAndStop(1);
chasespeed = random(highestchasespeed) + 1;
xspot = random(500);
this._x = xspot;
}
}
if (dead != true) {
if ((this._x < (_root.heromain2._x + 100)) && (this._x > (_root.heromain2._x - 100))) {
if ((this._y < (_root.heromain2._y + 100)) && (this._y > (_root.heromain2._y - 100))) {
if (dead == false) {
this.gotoAndStop(2);
}
}
} else if (dead == false) {
this.gotoAndStop(1);
}
baddieXposition = this._x;
if (baddieXposition <= _root.heromain2._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (_root.heromain2.dead == false) {
if (this._y < (_root.heromain2._y - highestchasespeed)) {
this._y = this._y + chasespeed;
} else if (this._y > (_root.heromain2._y + highestchasespeed)) {
this._y = this._y - chasespeed;
}
if (this._x < (_root.heromain2._x - highestchasespeed)) {
this._x = this._x + chasespeed;
} else if (this._x > (_root.heromain2._x + highestchasespeed)) {
this._x = this._x - chasespeed;
}
}
}
if (dead == true) {
this._y = this._y - (dies++);
}
} else {
this._y = this._y - (thisguydies++);
}
}
Instance of Symbol 247 MovieClip "secondfly2" in Frame 8
onClipEvent (load) {
dies = 10;
dead = false;
chasespeed = 4;
thisguydies = 10;
highestchasespeed = 4;
}
onClipEvent (enterFrame) {
if (flygo == true) {
if (_root.wormbaddie.dead == true) {
dead = true;
}
if (_root.wormbaddie.dead == false) {
if (this._y <= -200) {
if ((dead = true)) {
if (random(2) == 1) {
this._y = 400;
} else {
this._y = -50;
}
dies = 10;
dead = false;
this.gotoAndStop(1);
chasespeed = random(highestchasespeed) + 1;
xspot = random(500);
this._x = xspot;
}
}
if (dead != true) {
if ((this._x < (_root.heromain2._x + 100)) && (this._x > (_root.heromain2._x - 100))) {
if ((this._y < (_root.heromain2._y + 100)) && (this._y > (_root.heromain2._y - 100))) {
if (dead == false) {
this.gotoAndStop(2);
}
}
} else if (dead == false) {
this.gotoAndStop(1);
}
baddieXposition = this._x;
if (baddieXposition <= _root.heromain2._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (_root.heromain2.dead == false) {
if (this._y < (_root.heromain2._y - highestchasespeed)) {
this._y = this._y + chasespeed;
} else if (this._y > (_root.heromain2._y + highestchasespeed)) {
this._y = this._y - chasespeed;
}
if (this._x < (_root.heromain2._x - highestchasespeed)) {
this._x = this._x + chasespeed;
} else if (this._x > (_root.heromain2._x + highestchasespeed)) {
this._x = this._x - chasespeed;
}
}
}
if (dead == true) {
this._y = this._y - (dies++);
}
} else {
this._y = this._y - (thisguydies++);
}
}
}
Instance of Symbol 247 MovieClip "secondfly3" in Frame 8
onClipEvent (load) {
dies = 10;
dead = false;
chasespeed = 4;
thisguydies = 10;
highestchasespeed = 4;
}
onClipEvent (enterFrame) {
if (flygo == true) {
if (_root.wormbaddie.dead == true) {
dead = true;
}
if (_root.wormbaddie.dead == false) {
if (this._y <= -200) {
if ((dead = true)) {
if (random(2) == 1) {
this._y = 400;
} else {
this._y = -50;
}
dies = 10;
dead = false;
this.gotoAndStop(1);
chasespeed = random(highestchasespeed) + 1;
xspot = random(500);
this._x = xspot;
}
}
if (dead != true) {
if ((this._x < (_root.heromain2._x + 100)) && (this._x > (_root.heromain2._x - 100))) {
if ((this._y < (_root.heromain2._y + 100)) && (this._y > (_root.heromain2._y - 100))) {
if (dead == false) {
this.gotoAndStop(2);
}
}
} else if (dead == false) {
this.gotoAndStop(1);
}
baddieXposition = this._x;
if (baddieXposition <= _root.heromain2._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (_root.heromain2.dead == false) {
if (this._y < (_root.heromain2._y - highestchasespeed)) {
this._y = this._y + chasespeed;
} else if (this._y > (_root.heromain2._y + highestchasespeed)) {
this._y = this._y - chasespeed;
}
if (this._x < (_root.heromain2._x - highestchasespeed)) {
this._x = this._x + chasespeed;
} else if (this._x > (_root.heromain2._x + highestchasespeed)) {
this._x = this._x - chasespeed;
}
}
}
if (dead == true) {
this._y = this._y - (dies++);
}
} else {
this._y = this._y - (thisguydies++);
}
}
}
Instance of Symbol 115 MovieClip "heromain2" in Frame 8
onClipEvent (load) {
speed = 10;
jumpspeed = 10;
speedfall = -10;
dead = false;
goingdownstart = 23;
diesup = 10;
this.head.hair.gotoAndStop(2);
this.feet.gotoAndPlay(14);
on_seahorse_now = false;
controlling_seahorse_now = false;
}
onClipEvent (enterFrame) {
this.weapon.gotoAndStop(_root.weaponhold);
this.body.gotoAndStop(_root.bodyhold);
this.head.gotoAndStop(_root.headhold);
this.guyguyguy.weapon.gotoAndStop(_root.weaponhold);
if (this.hitTest(_root.water)) {
if (this._y >= 250) {
if (_root.wall2.doneanim == false) {
this._y = this._y - 10;
} else {
this._y = 250;
}
}
}
if (controlling_seahorse_now == true) {
_root.nextFrame();
}
_root.xholder = this._x;
_root.holder = this._y;
if (controlling_seahorse_now == true) {
_root.arrowmc.gotoAndStop(2);
}
if (this.hitTest(_root.water)) {
this.head.hair.gotoAndStop(3);
this.feet.gotoAndStop(15);
this._y = this._y + 0.5;
}
if (moveagain != false) {
if (_root.water.hitTest(_root.heromain2._x, _root.heromain2._y, true)) {
bubblego = true;
speed = 5;
} else {
bubblego = false;
}
if (moveagain == true) {
speed = 10;
}
if (dead == true) {
_root.dead.play();
}
if (goingdownstart >= 1) {
this._y = this._y + goingdownstart;
goingdownstart = goingdownstart - 2;
}
if (dead == false) {
holdingRight = false;
holdingLeft = false;
holdingUp = false;
holdingDown = false;
if (Key.isDown(39) == true) {
this._xscale = -50;
rightSpeed = speed;
this._x = this._x + rightSpeed;
holdingRight = true;
}
if (holdingRight == false) {
rightSpeed = rightSpeed - 1;
if (rightSpeed <= 0) {
rightSpeed = 0;
}
this._x = this._x + rightSpeed;
}
if (Key.isDown(37) == true) {
if (moveagain == true) {
} else {
this._xscale = 50;
}
leftSpeed = speed;
this._x = this._x - leftSpeed;
holdingLeft = true;
}
if (holdingLeft == false) {
leftSpeed = leftSpeed - 1;
if (leftSpeed <= 0) {
leftSpeed = 0;
}
this._x = this._x - leftSpeed;
}
if (Key.isDown(38) == true) {
upSpeed = speed;
this._y = this._y - upSpeed;
holdingUp = true;
}
if (holdingUp == false) {
upSpeed = upSpeed - 1;
if (upSpeed <= 0) {
upSpeed = 0;
}
this._y = this._y - upSpeed;
}
if (Key.isDown(40) == true) {
DownSpeed = speed;
this._y = this._y + DownSpeed;
holdingDown = true;
}
if (holdingDown == false) {
DownSpeed = DownSpeed - 1;
if (DownSpeed <= 0) {
DownSpeed = 0;
}
this._y = this._y + DownSpeed;
}
if (Key.isDown(32) == true) {
if (_root.wall2.waterland2.seahorse1.hitTest(this._x, this._y)) {
if (doONCEOMG != true) {
_root.heromain2.moveagain = true;
_root.heromain2.controlling_seahorse_now = true;
this._xscale = -50;
_root.wall2.waterland2.seahorse1.gotoAndStop(2);
this.gotoAndStop(15);
_root.moveagain._x = this._x;
_root.moveagain._y = this._y;
_root.moveagain.play();
doONCEOMG = true;
}
} else if (moveagain == true) {
if (attack_one_at_a_time == false) {
attack_one_at_a_time = true;
this.gotoAndStop(16);
if (_root.attack1.done_attack == true) {
_root.attack1._x = this._x + 10;
_root.attack1._y = this._y - 10;
_root.attack1.play();
}
if (_root.attack1.done_attack == false) {
if (_root.attack2.done_attack == true) {
_root.attack2._x = this._x + 10;
_root.attack2._y = this._y - 10;
_root.attack2.play();
}
}
if ((_root.attack2.done_attack == false) && (_root.attack1.done_attack == false)) {
if (_root.attack3.done_attack == true) {
_root.attack3._x = this._x + 10;
_root.attack3._y = this._y - 10;
_root.attack3.play();
}
}
if (((_root.attack2.done_attack == false) && (_root.attack1.done_attack == false)) && (_root.attack3.done_attack == false)) {
if (_root.attack4.done_attack == true) {
_root.attack4._x = this._x + 10;
_root.attack4._y = this._y - 10;
_root.attack4.play();
}
}
if ((((_root.attack2.done_attack == false) && (_root.attack1.done_attack == false)) && (_root.attack3.done_attack == false)) && (_root.attack4.done_attack == false)) {
if (_root.attack5.done_attack == true) {
_root.attack5._x = this._x + 10;
_root.attack5._y = this._y - 10;
_root.attack5.play();
}
}
}
} else {
if ((this.goodguyhurt.guyframe == 2) && (Key.isDown(32) == true)) {
this.recharge.gotoAndStop(1);
}
if (Key.isDown(32) == true) {
if (allowspace == true) {
allowspace = false;
this.gotoAndStop(2);
if (this.goodguyhurt.guyframe == 1) {
this.recharge.play();
}
}
} else {
allowspace = true;
this.recharge.gotoAndStop(1);
}
}
}
if (controlling_seahorse_now == true) {
if ((this.goodguyhurt.guyframe == 2) && (Key.isDown(32) == true)) {
this.recharge.gotoAndStop(1);
}
if (Key.isDown(32) == true) {
if (allowspace == true) {
allowspace = false;
if (this.goodguyhurt.guyframe == 1) {
this.recharge.gotoAndPlay(86);
} else {
allowspace = true;
this.recharge.gotoAndStop(1);
}
}
}
}
if (this.hitTest(_root.cantgoright)) {
if (Key.isDown(39) == true) {
this._x = this._x - speed;
}
}
if (this._x <= 50) {
this._x = 50;
}
if (this._y <= 60) {
this._y = 60;
}
if (this._x >= 500) {
this._x = 500;
}
if (this._y >= 320) {
this._y = 320;
}
if (dead == true) {
if (!_root.land_1.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (end != true) {
end = true;
this.gotoAndPlay(3);
}
}
if (((((this.goodguyhurtblock.hitTest(_root.secondfly1.flyhurtyou) || (this.goodguyhurtblock.hitTest(_root.flyfirstmain.flyhurtyou))) || (this.hitTest(_root.rocksfall.rockshityou))) || (this.hitTest(_root.rocksfall.rockshityou2))) || (this.goodguyhurtblock.hitTest(_root.secondfly3.flyhurtyou))) || (this.goodguyhurtblock.hitTest(_root.secondfly2.flyhurtyou))) {
if (this.goodguyhurt.guyframe == 1) {
this.goodguyhurt.play();
if (_root.herohealth <= 0) {
dead = true;
}
}
}
if (_root.wormbaddie.hitTest(this._x, this._y, true)) {
if (this.goodguyhurt.guyframe == 1) {
this.goodguyhurt.play();
if (_root.herohealth <= 0) {
dead = true;
}
}
}
}
if (dead == true) {
this._y = this._y - (diesup++);
}
if (bubblego == true) {
if ((((Key.isDown(39) == true) || (Key.isDown(38) == true)) || (Key.isDown(40) == true)) || (Key.isDown(37) == true)) {
if (_root.bubble1.bubble_done == true) {
_root.bubble1._x = this._x;
_root.bubble1._y = this._y;
_root.bubble1.play();
}
if (_root.bubble2.bubble_done == true) {
if (_root.bubble1.go_next_bubble == true) {
_root.bubble2._x = this._x;
_root.bubble2._y = this._y;
_root.bubble2.play();
}
}
if (_root.bubble3.bubble_done == true) {
if (_root.bubble2.go_next_bubble == true) {
_root.bubble3._x = this._x;
_root.bubble3._y = this._y;
_root.bubble3.play();
}
}
if (_root.bubble4.bubble_done == true) {
if (_root.bubble3.go_next_bubble == true) {
_root.bubble4._x = this._x;
_root.bubble4._y = this._y;
_root.bubble4.play();
}
}
if (_root.bubble5.bubble_done == true) {
if (_root.bubble4.go_next_bubble == true) {
_root.bubble5._x = this._x;
_root.bubble5._y = this._y;
_root.bubble5.play();
}
}
}
}
}
if (Key.isDown(32) != true) {
attack_one_at_a_time = false;
allowspace = true;
this.recharge.gotoAndStop(1);
}
if (_root.attack1.hitTest(_root.hitblockforshots)) {
_root.attack1.gotoAndStop(1);
_root.attack1.done_attack = true;
}
if (_root.attack2.hitTest(_root.hitblockforshots)) {
_root.attack2.gotoAndStop(1);
_root.attack2.done_attack = true;
}
if (_root.attack3.hitTest(_root.hitblockforshots)) {
_root.attack3.gotoAndStop(1);
_root.attack3.done_attack = true;
}
if (_root.attack4.hitTest(_root.hitblockforshots)) {
_root.attack4.gotoAndStop(1);
_root.attack4.done_attack = true;
}
if (_root.attack5.hitTest(_root.hitblockforshots)) {
_root.attack5.gotoAndStop(1);
_root.attack5.done_attack = true;
}
}
Frame 9
stop();
levelDiedOn = 9;
_root.wall2.gotoAndStop(105);
_root.wall2.waterland2.seahorse1.gotoAndStop(2);
if (backtolife == true) {
backtolife = false;
if (normal == true) {
herohealth = 6;
} else {
herohealth = 3;
_root.goodhealth4.gotoAndStop(25);
_root.goodhealth5.gotoAndStop(25);
}
}
_root.heromain2.weapon.gotoAndStop(_root.weaponhold);
_root.heromain2.body.gotoAndStop(_root.bodyhold);
_root.heromain2.head.gotoAndStop(_root.headhold);
_root.heromain2.guyguyguy.weapon.gotoAndStop(_root.weaponhold);
if (songthreeplaying != true) {
songthreeplaying = true;
_root.songthree.start(0, 999);
_root.songthree.setVolume(100);
}
_root.songtwo.stop("sound_songtwo");
Instance of Symbol 274 MovieClip "bubble1" in Frame 9
onClipEvent (enterFrame) {
if (this.bubble_done == true) {
randomypos = random(30) - 20;
this._y = this._y + randomypos;
randomxpos = random(10) - 10;
this._x = this._x + randomxpos;
}
}
Instance of Symbol 274 MovieClip "bubble2" in Frame 9
onClipEvent (enterFrame) {
if (this.bubble_done == true) {
randomypos = random(30) - 20;
this._y = this._y + randomypos;
randomxpos = random(10) - 10;
this._x = this._x + randomxpos;
}
}
Instance of Symbol 274 MovieClip "bubble3" in Frame 9
onClipEvent (enterFrame) {
if (this.bubble_done == true) {
randomypos = random(30) - 20;
this._y = this._y + randomypos;
randomxpos = random(10) - 10;
this._x = this._x + randomxpos;
}
}
Instance of Symbol 274 MovieClip "bubble4" in Frame 9
onClipEvent (enterFrame) {
if (this.bubble_done == true) {
randomypos = random(30) - 20;
this._y = this._y + randomypos;
randomxpos = random(10) - 10;
this._x = this._x + randomxpos;
}
}
Instance of Symbol 274 MovieClip "bubble5" in Frame 9
onClipEvent (enterFrame) {
if (this.bubble_done == true) {
randomypos = random(30) - 20;
this._y = this._y + randomypos;
randomxpos = random(10) - 10;
this._x = this._x + randomxpos;
}
}
Instance of Symbol 266 MovieClip "wall2" in Frame 9
onClipEvent (enterFrame) {
this.gotoAndStop(105);
this._x = this._x - 3.2;
}
Instance of Symbol 321 MovieClip "drgn_bomb_5" in Frame 9
onClipEvent (load) {
randomspeed = 6;
thisgo = false;
}
onClipEvent (enterFrame) {
if (thisgo == true) {
if (dooncetilldie != false) {
this._x = _root.baddie_dragon._x - 250;
this._y = _root.baddie_dragon._y;
dooncetilldie = false;
this.gotoAndStop(1);
}
}
if (this.flyhurtyou.hitTest(_root.heromain2.goodguyhurtblock)) {
if (_root.beatgame != true) {
if (this.bombexploding != true) {
if (doonce != true) {
doonce = true;
this.gotoAndPlay("explosions");
}
}
}
if (_root.heromain2.goodguyhurt.guyframe == 1) {
if (this.bombexploding != true) {
_root.heromain2.goodguyhurt.gotoAndPlay(42);
if (_root.beatgame != true) {
if (_root.herohealth == 6) {
_root.goodhealth6.play();
_root.goodhealth5.play();
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 5) {
_root.goodhealth5.play();
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 4) {
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 3) {
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 2) {
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 1) {
_root.goodhealth1.play();
}
_root.heromain2.dead = true;
}
} else if (_root.heromain2.goodguyhurt.guyframe == 1) {
_root.heromain2.goodguyhurt.gotoAndPlay(42);
if (_root.herohealth <= 0) {
_root.heromain2.dead = true;
}
}
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack1.seahorseattack)) {
this.play();
_root.attack1.stop();
_root.attack1.seahorseattack.gotoAndStop(2);
timer1 = 15;
gotimer1 = true;
}
}
if (gotimer1 == true) {
timer1--;
if (timer1 <= 0) {
gotimer1 = false;
_root.attack1.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack2.seahorseattack)) {
this.play();
_root.attack2.stop();
_root.attack2.seahorseattack.gotoAndStop(2);
timer2 = 15;
gotimer2 = true;
}
}
if (gotimer2 == true) {
timer2--;
if (timer2 <= 0) {
gotimer2 = false;
_root.attack2.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack3.seahorseattack)) {
this.play();
_root.attack3.stop();
_root.attack3.seahorseattack.gotoAndStop(2);
timer3 = 15;
gotimer3 = true;
}
}
if (gotimer3 == true) {
timer3--;
if (timer3 <= 0) {
gotimer3 = false;
_root.attack3.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack4.seahorseattack)) {
this.play();
_root.attack4.stop();
_root.attack4.seahorseattack.gotoAndStop(2);
timer4 = 15;
gotimer4 = true;
}
}
if (gotimer4 == true) {
timer4--;
if (timer4 <= 0) {
gotimer4 = false;
_root.attack4.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack5.seahorseattack)) {
this.play();
_root.attack5.stop();
_root.attack5.seahorseattack.gotoAndStop(2);
timer5 = 15;
gotimer5 = true;
}
}
if (gotimer5 == true) {
timer5--;
if (timer5 <= 0) {
gotimer5 = false;
_root.attack5.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack6.seahorseattack)) {
this.play();
_root.attack6.stop();
_root.attack6.seahorseattack.gotoAndStop(2);
timer6 = 15;
gotimer6 = true;
}
}
if (gotimer6 == true) {
timer6--;
if (timer6 <= 0) {
gotimer6 = false;
_root.attack6.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack7.seahorseattack)) {
this.play();
_root.attack7.stop();
_root.attack7.seahorseattack.gotoAndStop(2);
timer7 = 15;
gotimer7 = true;
}
}
if (gotimer7 == true) {
timer7--;
if (timer7 <= 0) {
gotimer7 = false;
_root.attack7.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack8.seahorseattack)) {
this.play();
_root.attack8.stop();
_root.attack8.seahorseattack.gotoAndStop(2);
timer8 = 15;
gotimer8 = true;
}
}
if (gotimer8 == true) {
timer8--;
if (timer8 <= 0) {
gotimer8 = false;
_root.attack8.gotoAndStop(1);
}
}
if (this.bombexploding != true) {
this._x = this._x - randomspeed;
}
if ((this.bombalive == false) || (this.hitTest(_root.hitblockforbombs))) {
dooncetilldie = true;
randomspeed = 6;
thisgo = false;
}
}
Instance of Symbol 321 MovieClip "drgn_bomb_4" in Frame 9
onClipEvent (load) {
randomspeed = 6;
thisgo = false;
}
onClipEvent (enterFrame) {
if (thisgo == true) {
if (dooncetilldie != false) {
this._x = _root.baddie_dragon._x - 250;
this._y = _root.baddie_dragon._y;
dooncetilldie = false;
this.gotoAndStop(1);
}
}
if (this.flyhurtyou.hitTest(_root.heromain2.goodguyhurtblock)) {
if (_root.beatgame != true) {
if (this.bombexploding != true) {
if (doonce != true) {
doonce = true;
this.gotoAndPlay("explosions");
}
}
}
if (_root.heromain2.goodguyhurt.guyframe == 1) {
if (this.bombexploding != true) {
_root.heromain2.goodguyhurt.gotoAndPlay(42);
if (_root.beatgame != true) {
if (_root.herohealth == 6) {
_root.goodhealth6.play();
_root.goodhealth5.play();
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 5) {
_root.goodhealth5.play();
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 4) {
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 3) {
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 2) {
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 1) {
_root.goodhealth1.play();
}
_root.heromain2.dead = true;
}
} else if (_root.heromain2.goodguyhurt.guyframe == 1) {
_root.heromain2.goodguyhurt.gotoAndPlay(42);
if (_root.herohealth <= 0) {
_root.heromain2.dead = true;
}
}
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack1.seahorseattack)) {
this.play();
_root.attack1.stop();
_root.attack1.seahorseattack.gotoAndStop(2);
timer1 = 15;
gotimer1 = true;
}
}
if (gotimer1 == true) {
timer1--;
if (timer1 <= 0) {
gotimer1 = false;
_root.attack1.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack2.seahorseattack)) {
this.play();
_root.attack2.stop();
_root.attack2.seahorseattack.gotoAndStop(2);
timer2 = 15;
gotimer2 = true;
}
}
if (gotimer2 == true) {
timer2--;
if (timer2 <= 0) {
gotimer2 = false;
_root.attack2.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack3.seahorseattack)) {
this.play();
_root.attack3.stop();
_root.attack3.seahorseattack.gotoAndStop(2);
timer3 = 15;
gotimer3 = true;
}
}
if (gotimer3 == true) {
timer3--;
if (timer3 <= 0) {
gotimer3 = false;
_root.attack3.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack4.seahorseattack)) {
this.play();
_root.attack4.stop();
_root.attack4.seahorseattack.gotoAndStop(2);
timer4 = 15;
gotimer4 = true;
}
}
if (gotimer4 == true) {
timer4--;
if (timer4 <= 0) {
gotimer4 = false;
_root.attack4.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack5.seahorseattack)) {
this.play();
_root.attack5.stop();
_root.attack5.seahorseattack.gotoAndStop(2);
timer5 = 15;
gotimer5 = true;
}
}
if (gotimer5 == true) {
timer5--;
if (timer5 <= 0) {
gotimer5 = false;
_root.attack5.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack6.seahorseattack)) {
this.play();
_root.attack6.stop();
_root.attack6.seahorseattack.gotoAndStop(2);
timer6 = 15;
gotimer6 = true;
}
}
if (gotimer6 == true) {
timer6--;
if (timer6 <= 0) {
gotimer6 = false;
_root.attack6.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack7.seahorseattack)) {
this.play();
_root.attack7.stop();
_root.attack7.seahorseattack.gotoAndStop(2);
timer7 = 15;
gotimer7 = true;
}
}
if (gotimer7 == true) {
timer7--;
if (timer7 <= 0) {
gotimer7 = false;
_root.attack7.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack8.seahorseattack)) {
this.play();
_root.attack8.stop();
_root.attack8.seahorseattack.gotoAndStop(2);
timer8 = 15;
gotimer8 = true;
}
}
if (gotimer8 == true) {
timer8--;
if (timer8 <= 0) {
gotimer8 = false;
_root.attack8.gotoAndStop(1);
}
}
if (this.bombexploding != true) {
this._x = this._x - randomspeed;
}
if ((this.bombalive == false) || (this.hitTest(_root.hitblockforbombs))) {
dooncetilldie = true;
randomspeed = 6;
thisgo = false;
}
}
Instance of Symbol 321 MovieClip "drgn_bomb_3" in Frame 9
onClipEvent (load) {
randomspeed = 6;
thisgo = false;
}
onClipEvent (enterFrame) {
if (thisgo == true) {
if (dooncetilldie != false) {
this._x = _root.baddie_dragon._x - 250;
this._y = _root.baddie_dragon._y;
dooncetilldie = false;
this.gotoAndStop(1);
}
}
if (this.flyhurtyou.hitTest(_root.heromain2.goodguyhurtblock)) {
if (_root.beatgame != true) {
if (this.bombexploding != true) {
if (doonce != true) {
doonce = true;
this.gotoAndPlay("explosions");
}
}
}
if (_root.heromain2.goodguyhurt.guyframe == 1) {
if (this.bombexploding != true) {
_root.heromain2.goodguyhurt.gotoAndPlay(42);
if (_root.beatgame != true) {
if (_root.herohealth == 6) {
_root.goodhealth6.play();
_root.goodhealth5.play();
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 5) {
_root.goodhealth5.play();
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 4) {
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 3) {
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 2) {
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 1) {
_root.goodhealth1.play();
}
_root.heromain2.dead = true;
}
} else if (_root.heromain2.goodguyhurt.guyframe == 1) {
_root.heromain2.goodguyhurt.gotoAndPlay(42);
if (_root.herohealth <= 0) {
_root.heromain2.dead = true;
}
}
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack1.seahorseattack)) {
this.play();
_root.attack1.stop();
_root.attack1.seahorseattack.gotoAndStop(2);
timer1 = 15;
gotimer1 = true;
}
}
if (gotimer1 == true) {
timer1--;
if (timer1 <= 0) {
gotimer1 = false;
_root.attack1.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack2.seahorseattack)) {
this.play();
_root.attack2.stop();
_root.attack2.seahorseattack.gotoAndStop(2);
timer2 = 15;
gotimer2 = true;
}
}
if (gotimer2 == true) {
timer2--;
if (timer2 <= 0) {
gotimer2 = false;
_root.attack2.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack3.seahorseattack)) {
this.play();
_root.attack3.stop();
_root.attack3.seahorseattack.gotoAndStop(2);
timer3 = 15;
gotimer3 = true;
}
}
if (gotimer3 == true) {
timer3--;
if (timer3 <= 0) {
gotimer3 = false;
_root.attack3.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack4.seahorseattack)) {
this.play();
_root.attack4.stop();
_root.attack4.seahorseattack.gotoAndStop(2);
timer4 = 15;
gotimer4 = true;
}
}
if (gotimer4 == true) {
timer4--;
if (timer4 <= 0) {
gotimer4 = false;
_root.attack4.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack5.seahorseattack)) {
this.play();
_root.attack5.stop();
_root.attack5.seahorseattack.gotoAndStop(2);
timer5 = 15;
gotimer5 = true;
}
}
if (gotimer5 == true) {
timer5--;
if (timer5 <= 0) {
gotimer5 = false;
_root.attack5.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack6.seahorseattack)) {
this.play();
_root.attack6.stop();
_root.attack6.seahorseattack.gotoAndStop(2);
timer6 = 15;
gotimer6 = true;
}
}
if (gotimer6 == true) {
timer6--;
if (timer6 <= 0) {
gotimer6 = false;
_root.attack6.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack7.seahorseattack)) {
this.play();
_root.attack7.stop();
_root.attack7.seahorseattack.gotoAndStop(2);
timer7 = 15;
gotimer7 = true;
}
}
if (gotimer7 == true) {
timer7--;
if (timer7 <= 0) {
gotimer7 = false;
_root.attack7.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack8.seahorseattack)) {
this.play();
_root.attack8.stop();
_root.attack8.seahorseattack.gotoAndStop(2);
timer8 = 15;
gotimer8 = true;
}
}
if (gotimer8 == true) {
timer8--;
if (timer8 <= 0) {
gotimer8 = false;
_root.attack8.gotoAndStop(1);
}
}
if (this.bombexploding != true) {
this._x = this._x - randomspeed;
}
if ((this.bombalive == false) || (this.hitTest(_root.hitblockforbombs))) {
dooncetilldie = true;
randomspeed = 6;
thisgo = false;
}
}
Instance of Symbol 321 MovieClip "drgn_bomb_2" in Frame 9
onClipEvent (load) {
randomspeed = 6;
thisgo = false;
}
onClipEvent (enterFrame) {
if (thisgo == true) {
if (dooncetilldie != false) {
this._x = _root.baddie_dragon._x - 250;
this._y = _root.baddie_dragon._y;
dooncetilldie = false;
this.gotoAndStop(1);
}
}
if (this.flyhurtyou.hitTest(_root.heromain2.goodguyhurtblock)) {
if (_root.beatgame != true) {
if (this.bombexploding != true) {
if (doonce != true) {
doonce = true;
this.gotoAndPlay("explosions");
}
}
}
if (_root.heromain2.goodguyhurt.guyframe == 1) {
if (this.bombexploding != true) {
_root.heromain2.goodguyhurt.gotoAndPlay(42);
if (_root.beatgame != true) {
if (_root.herohealth == 6) {
_root.goodhealth6.play();
_root.goodhealth5.play();
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 5) {
_root.goodhealth5.play();
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 4) {
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 3) {
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 2) {
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 1) {
_root.goodhealth1.play();
}
_root.heromain2.dead = true;
}
} else if (_root.heromain2.goodguyhurt.guyframe == 1) {
_root.heromain2.goodguyhurt.gotoAndPlay(42);
if (_root.herohealth <= 0) {
_root.heromain2.dead = true;
}
}
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack1.seahorseattack)) {
this.play();
_root.attack1.stop();
_root.attack1.seahorseattack.gotoAndStop(2);
timer1 = 15;
gotimer1 = true;
}
}
if (gotimer1 == true) {
timer1--;
if (timer1 <= 0) {
gotimer1 = false;
_root.attack1.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack2.seahorseattack)) {
this.play();
_root.attack2.stop();
_root.attack2.seahorseattack.gotoAndStop(2);
timer2 = 15;
gotimer2 = true;
}
}
if (gotimer2 == true) {
timer2--;
if (timer2 <= 0) {
gotimer2 = false;
_root.attack2.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack3.seahorseattack)) {
this.play();
_root.attack3.stop();
_root.attack3.seahorseattack.gotoAndStop(2);
timer3 = 15;
gotimer3 = true;
}
}
if (gotimer3 == true) {
timer3--;
if (timer3 <= 0) {
gotimer3 = false;
_root.attack3.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack4.seahorseattack)) {
this.play();
_root.attack4.stop();
_root.attack4.seahorseattack.gotoAndStop(2);
timer4 = 15;
gotimer4 = true;
}
}
if (gotimer4 == true) {
timer4--;
if (timer4 <= 0) {
gotimer4 = false;
_root.attack4.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack5.seahorseattack)) {
this.play();
_root.attack5.stop();
_root.attack5.seahorseattack.gotoAndStop(2);
timer5 = 15;
gotimer5 = true;
}
}
if (gotimer5 == true) {
timer5--;
if (timer5 <= 0) {
gotimer5 = false;
_root.attack5.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack6.seahorseattack)) {
this.play();
_root.attack6.stop();
_root.attack6.seahorseattack.gotoAndStop(2);
timer6 = 15;
gotimer6 = true;
}
}
if (gotimer6 == true) {
timer6--;
if (timer6 <= 0) {
gotimer6 = false;
_root.attack6.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack7.seahorseattack)) {
this.play();
_root.attack7.stop();
_root.attack7.seahorseattack.gotoAndStop(2);
timer7 = 15;
gotimer7 = true;
}
}
if (gotimer7 == true) {
timer7--;
if (timer7 <= 0) {
gotimer7 = false;
_root.attack7.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack8.seahorseattack)) {
this.play();
_root.attack8.stop();
_root.attack8.seahorseattack.gotoAndStop(2);
timer8 = 15;
gotimer8 = true;
}
}
if (gotimer8 == true) {
timer8--;
if (timer8 <= 0) {
gotimer8 = false;
_root.attack8.gotoAndStop(1);
}
}
if (this.bombexploding != true) {
this._x = this._x - randomspeed;
}
if ((this.bombalive == false) || (this.hitTest(_root.hitblockforbombs))) {
dooncetilldie = true;
randomspeed = 6;
thisgo = false;
}
}
Instance of Symbol 321 MovieClip "drgn_bomb_1" in Frame 9
onClipEvent (load) {
randomspeed = 6;
thisgo = false;
}
onClipEvent (enterFrame) {
if (thisgo == true) {
if (dooncetilldie != false) {
this._x = _root.baddie_dragon._x - 250;
this._y = _root.baddie_dragon._y;
dooncetilldie = false;
this.gotoAndStop(1);
}
}
if (this.flyhurtyou.hitTest(_root.heromain2.goodguyhurtblock)) {
if (_root.beatgame != true) {
if (this.bombexploding != true) {
if (doonce != true) {
doonce = true;
this.gotoAndPlay("explosions");
}
}
}
if (_root.heromain2.goodguyhurt.guyframe == 1) {
if (this.bombexploding != true) {
_root.heromain2.goodguyhurt.gotoAndPlay(42);
if (_root.beatgame != true) {
if (_root.herohealth == 6) {
_root.goodhealth6.play();
_root.goodhealth5.play();
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 5) {
_root.goodhealth5.play();
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 4) {
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 3) {
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 2) {
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 1) {
_root.goodhealth1.play();
}
_root.heromain2.dead = true;
}
} else if (_root.heromain2.goodguyhurt.guyframe == 1) {
_root.heromain2.goodguyhurt.gotoAndPlay(42);
if (_root.herohealth <= 0) {
_root.heromain2.dead = true;
}
}
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack1.seahorseattack)) {
this.play();
_root.attack1.stop();
_root.attack1.seahorseattack.gotoAndStop(2);
timer1 = 15;
gotimer1 = true;
}
}
if (gotimer1 == true) {
timer1--;
if (timer1 <= 0) {
gotimer1 = false;
_root.attack1.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack2.seahorseattack)) {
this.play();
_root.attack2.stop();
_root.attack2.seahorseattack.gotoAndStop(2);
timer2 = 15;
gotimer2 = true;
}
}
if (gotimer2 == true) {
timer2--;
if (timer2 <= 0) {
gotimer2 = false;
_root.attack2.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack3.seahorseattack)) {
this.play();
_root.attack3.stop();
_root.attack3.seahorseattack.gotoAndStop(2);
timer3 = 15;
gotimer3 = true;
}
}
if (gotimer3 == true) {
timer3--;
if (timer3 <= 0) {
gotimer3 = false;
_root.attack3.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack4.seahorseattack)) {
this.play();
_root.attack4.stop();
_root.attack4.seahorseattack.gotoAndStop(2);
timer4 = 15;
gotimer4 = true;
}
}
if (gotimer4 == true) {
timer4--;
if (timer4 <= 0) {
gotimer4 = false;
_root.attack4.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack5.seahorseattack)) {
this.play();
_root.attack5.stop();
_root.attack5.seahorseattack.gotoAndStop(2);
timer5 = 15;
gotimer5 = true;
}
}
if (gotimer5 == true) {
timer5--;
if (timer5 <= 0) {
gotimer5 = false;
_root.attack5.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack6.seahorseattack)) {
this.play();
_root.attack6.stop();
_root.attack6.seahorseattack.gotoAndStop(2);
timer6 = 15;
gotimer6 = true;
}
}
if (gotimer6 == true) {
timer6--;
if (timer6 <= 0) {
gotimer6 = false;
_root.attack6.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack7.seahorseattack)) {
this.play();
_root.attack7.stop();
_root.attack7.seahorseattack.gotoAndStop(2);
timer7 = 15;
gotimer7 = true;
}
}
if (gotimer7 == true) {
timer7--;
if (timer7 <= 0) {
gotimer7 = false;
_root.attack7.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack8.seahorseattack)) {
this.play();
_root.attack8.stop();
_root.attack8.seahorseattack.gotoAndStop(2);
timer8 = 15;
gotimer8 = true;
}
}
if (gotimer8 == true) {
timer8--;
if (timer8 <= 0) {
gotimer8 = false;
_root.attack8.gotoAndStop(1);
}
}
if (this.bombexploding != true) {
this._x = this._x - randomspeed;
}
if ((this.bombalive == false) || (this.hitTest(_root.hitblockforbombs))) {
dooncetilldie = true;
randomspeed = 6;
thisgo = false;
}
}
Instance of Symbol 332 MovieClip "baddie_dragon" in Frame 9
onClipEvent (load) {
countdown = 150;
thisguy_go = false;
followgoodie = false;
countdowntobombs = 10;
randomgo_yspot = random(200) + 55;
thisguyspeed = 2;
dragonhealth = 3;
}
onClipEvent (enterFrame) {
if (dead != true) {
if (_root.bomb_1.howmanybombs >= 5) {
if (_root.bomb_2.howmanybombs >= 5) {
if (_root.bomb_3.howmanybombs >= 5) {
if (_root.bomb_4.howmanybombs >= 5) {
goboss = true;
}
}
}
}
if (goboss == true) {
countdown--;
} else {
countdown = 150;
}
if (countdown <= 145) {
_root.enemyapproach.gotoAndStop(3);
}
if (countdown <= 0) {
thisguy_go = true;
_root.enemyapproach.gotoAndStop(1);
}
if (thisguy_go == true) {
countdowntobombs--;
if (countdowntobombs <= 0) {
countdowntobombs = 500;
this.play();
followgoodie = !followgoodie;
} else if (followgoodie == true) {
if ((this._y > (randomgo_yspot - 5)) && (this._y < (randomgo_yspot + 5))) {
randomgo_yspot = random(200) + 55;
}
if (this._y < randomgo_yspot) {
this._y = this._y + thisguyspeed;
} else {
this._y = this._y - thisguyspeed;
}
}
}
if (((((((this.hitTest(_root.attack1.seahorseattack) || (this.hitTest(_root.attack2.seahorseattack))) || (this.hitTest(_root.attack3.seahorseattack))) || (this.hitTest(_root.attack4.seahorseattack))) || (this.hitTest(_root.attack5.seahorseattack))) || (this.hitTest(_root.attack6.seahorseattack))) || (this.hitTest(_root.attack7.seahorseattack))) || (this.hitTest(_root.attack8.seahorseattack))) {
if (canbeattackedagain == true) {
if (this.canbeattacked == true) {
this._x = this._x + 8;
if (this._x >= 840) {
colorObj = new Color(_root.baddie_dragon);
colorObj.setTransform({ra:250, rb:200, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
canbeattackedagain = false;
dragonhealth--;
this.drgn_face.gotoAndPlay(14);
if (dragonhealth == 2) {
_root.dragon_health.wormhealth3.play();
} else if (dragonhealth == 1) {
_root.dragon_health.wormhealth2.play();
} else if (dragonhealth == 0) {
_root.dragon_health.wormhealth1.play();
dead = true;
this.gotoAndPlay(79);
_root.winner.play();
_root.arrowmc.play();
}
}
}
}
}
if (this.canbeattacked == true) {
if (this._x >= 777) {
this._x = this._x - 1;
} else {
colorObj = new Color(_root.baddie_dragon);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
canbeattackedagain = true;
}
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack1.seahorseattack)) {
_root.attack1.stop();
_root.attack1.seahorseattack.gotoAndStop(2);
timer1 = 15;
gotimer1 = true;
}
}
if (gotimer1 == true) {
timer1--;
if (timer1 <= 0) {
gotimer1 = false;
_root.attack1.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack2.seahorseattack)) {
_root.attack2.stop();
_root.attack2.seahorseattack.gotoAndStop(2);
timer2 = 15;
gotimer2 = true;
}
}
if (gotimer2 == true) {
timer2--;
if (timer2 <= 0) {
gotimer2 = false;
_root.attack2.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack3.seahorseattack)) {
_root.attack3.stop();
_root.attack3.seahorseattack.gotoAndStop(2);
timer3 = 15;
gotimer3 = true;
}
}
if (gotimer3 == true) {
timer3--;
if (timer3 <= 0) {
gotimer3 = false;
_root.attack3.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack4.seahorseattack)) {
_root.attack4.stop();
_root.attack4.seahorseattack.gotoAndStop(2);
timer4 = 15;
gotimer4 = true;
}
}
if (gotimer4 == true) {
timer4--;
if (timer4 <= 0) {
gotimer4 = false;
_root.attack4.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack5.seahorseattack)) {
_root.attack5.stop();
_root.attack5.seahorseattack.gotoAndStop(2);
timer5 = 15;
gotimer5 = true;
}
}
if (gotimer5 == true) {
timer5--;
if (timer5 <= 0) {
gotimer5 = false;
_root.attack5.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack6.seahorseattack)) {
_root.attack6.stop();
_root.attack6.seahorseattack.gotoAndStop(2);
timer6 = 15;
gotimer6 = true;
}
}
if (gotimer6 == true) {
timer6--;
if (timer6 <= 0) {
gotimer6 = false;
_root.attack6.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack7.seahorseattack)) {
_root.attack7.stop();
_root.attack7.seahorseattack.gotoAndStop(2);
timer7 = 15;
gotimer7 = true;
}
}
if (gotimer7 == true) {
timer7--;
if (timer7 <= 0) {
gotimer7 = false;
_root.attack7.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack8.seahorseattack)) {
_root.attack8.stop();
_root.attack8.seahorseattack.gotoAndStop(2);
timer8 = 15;
gotimer8 = true;
}
}
if (gotimer8 == true) {
timer8--;
if (timer8 <= 0) {
gotimer8 = false;
_root.attack8.gotoAndStop(1);
}
}
}
Instance of Symbol 339 MovieClip "bomb_2" in Frame 9
onClipEvent (load) {
randomypos = random(250) + 30;
this._y = randomypos;
randomspeed = random(5) + 3;
go = true;
howmanybombs = 0;
}
onClipEvent (enterFrame) {
if (howmanybombs <= 4) {
if ((this.bombalive == false) || (this.hitTest(_root.hitblockforbombs))) {
this._x = 600;
randomypos = random(250) + 30;
randomspeed = random(5) + 3;
this._y = randomypos;
howmanybombs++;
this.gotoAndStop(1);
}
if (this.bombexploding != true) {
this._x = this._x - randomspeed;
}
if (this.flyhurtyou.hitTest(_root.heromain2.goodguyhurtblock)) {
if (this.bombexploding != true) {
if (doonce != true) {
doonce = true;
this.gotoAndPlay("explosions");
}
}
if (_root.heromain2.goodguyhurt.guyframe == 1) {
if (this.bombexploding != true) {
_root.heromain2.goodguyhurt.gotoAndPlay(42);
if (_root.herohealth == 6) {
_root.goodhealth6.play();
_root.goodhealth5.play();
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 5) {
_root.goodhealth5.play();
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 4) {
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 3) {
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 2) {
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 1) {
_root.goodhealth1.play();
}
_root.heromain2.dead = true;
} else if (_root.heromain2.goodguyhurt.guyframe == 1) {
_root.heromain2.goodguyhurt.gotoAndPlay(42);
if (_root.herohealth <= 0) {
_root.heromain2.dead = true;
}
}
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack1.seahorseattack)) {
this.play();
_root.attack1.stop();
_root.attack1.seahorseattack.gotoAndStop(2);
timer1 = 15;
gotimer1 = true;
}
}
if (gotimer1 == true) {
timer1--;
if (timer1 <= 0) {
gotimer1 = false;
_root.attack1.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack2.seahorseattack)) {
this.play();
_root.attack2.stop();
_root.attack2.seahorseattack.gotoAndStop(2);
timer2 = 15;
gotimer2 = true;
}
}
if (gotimer2 == true) {
timer2--;
if (timer2 <= 0) {
gotimer2 = false;
_root.attack2.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack3.seahorseattack)) {
this.play();
_root.attack3.stop();
_root.attack3.seahorseattack.gotoAndStop(2);
timer3 = 15;
gotimer3 = true;
}
}
if (gotimer3 == true) {
timer3--;
if (timer3 <= 0) {
gotimer3 = false;
_root.attack3.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack4.seahorseattack)) {
this.play();
_root.attack4.stop();
_root.attack4.seahorseattack.gotoAndStop(2);
timer4 = 15;
gotimer4 = true;
}
}
if (gotimer4 == true) {
timer4--;
if (timer4 <= 0) {
gotimer4 = false;
_root.attack4.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack5.seahorseattack)) {
this.play();
_root.attack5.stop();
_root.attack5.seahorseattack.gotoAndStop(2);
timer5 = 15;
gotimer5 = true;
}
}
if (gotimer5 == true) {
timer5--;
if (timer5 <= 0) {
gotimer5 = false;
_root.attack5.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack6.seahorseattack)) {
this.play();
_root.attack6.stop();
_root.attack6.seahorseattack.gotoAndStop(2);
timer6 = 15;
gotimer6 = true;
}
}
if (gotimer6 == true) {
timer6--;
if (timer6 <= 0) {
gotimer6 = false;
_root.attack6.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack7.seahorseattack)) {
this.play();
_root.attack7.stop();
_root.attack7.seahorseattack.gotoAndStop(2);
timer7 = 15;
gotimer7 = true;
}
}
if (gotimer7 == true) {
timer7--;
if (timer7 <= 0) {
gotimer7 = false;
_root.attack7.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack8.seahorseattack)) {
this.play();
_root.attack8.stop();
_root.attack8.seahorseattack.gotoAndStop(2);
timer8 = 15;
gotimer8 = true;
}
}
if (gotimer8 == true) {
timer8--;
if (timer8 <= 0) {
gotimer8 = false;
_root.attack8.gotoAndStop(1);
}
}
}
}
Instance of Symbol 339 MovieClip "bomb_3" in Frame 9
onClipEvent (load) {
randomypos = random(250) + 30;
this._y = randomypos;
randomspeed = random(5) + 3;
go = true;
howmanybombs = 0;
}
onClipEvent (enterFrame) {
if (howmanybombs <= 4) {
if ((this.bombalive == false) || (this.hitTest(_root.hitblockforbombs))) {
this._x = 600;
randomypos = random(250) + 30;
randomspeed = random(5) + 3;
this._y = randomypos;
howmanybombs++;
this.gotoAndStop(1);
}
if (this.bombexploding != true) {
this._x = this._x - randomspeed;
}
if (this.flyhurtyou.hitTest(_root.heromain2.goodguyhurtblock)) {
if (this.bombexploding != true) {
if (doonce != true) {
doonce = true;
this.gotoAndPlay("explosions");
}
}
if (_root.heromain2.goodguyhurt.guyframe == 1) {
if (this.bombexploding != true) {
_root.heromain2.goodguyhurt.gotoAndPlay(42);
if (_root.herohealth == 6) {
_root.goodhealth6.play();
_root.goodhealth5.play();
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 5) {
_root.goodhealth5.play();
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 4) {
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 3) {
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 2) {
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 1) {
_root.goodhealth1.play();
}
_root.heromain2.dead = true;
} else if (_root.heromain2.goodguyhurt.guyframe == 1) {
_root.heromain2.goodguyhurt.gotoAndPlay(42);
if (_root.herohealth <= 0) {
_root.heromain2.dead = true;
}
}
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack1.seahorseattack)) {
this.play();
_root.attack1.stop();
_root.attack1.seahorseattack.gotoAndStop(2);
timer1 = 15;
gotimer1 = true;
}
}
if (gotimer1 == true) {
timer1--;
if (timer1 <= 0) {
gotimer1 = false;
_root.attack1.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack2.seahorseattack)) {
this.play();
_root.attack2.stop();
_root.attack2.seahorseattack.gotoAndStop(2);
timer2 = 15;
gotimer2 = true;
}
}
if (gotimer2 == true) {
timer2--;
if (timer2 <= 0) {
gotimer2 = false;
_root.attack2.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack3.seahorseattack)) {
this.play();
_root.attack3.stop();
_root.attack3.seahorseattack.gotoAndStop(2);
timer3 = 15;
gotimer3 = true;
}
}
if (gotimer3 == true) {
timer3--;
if (timer3 <= 0) {
gotimer3 = false;
_root.attack3.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack4.seahorseattack)) {
this.play();
_root.attack4.stop();
_root.attack4.seahorseattack.gotoAndStop(2);
timer4 = 15;
gotimer4 = true;
}
}
if (gotimer4 == true) {
timer4--;
if (timer4 <= 0) {
gotimer4 = false;
_root.attack4.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack5.seahorseattack)) {
this.play();
_root.attack5.stop();
_root.attack5.seahorseattack.gotoAndStop(2);
timer5 = 15;
gotimer5 = true;
}
}
if (gotimer5 == true) {
timer5--;
if (timer5 <= 0) {
gotimer5 = false;
_root.attack5.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack6.seahorseattack)) {
this.play();
_root.attack6.stop();
_root.attack6.seahorseattack.gotoAndStop(2);
timer6 = 15;
gotimer6 = true;
}
}
if (gotimer6 == true) {
timer6--;
if (timer6 <= 0) {
gotimer6 = false;
_root.attack6.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack7.seahorseattack)) {
this.play();
_root.attack7.stop();
_root.attack7.seahorseattack.gotoAndStop(2);
timer7 = 15;
gotimer7 = true;
}
}
if (gotimer7 == true) {
timer7--;
if (timer7 <= 0) {
gotimer7 = false;
_root.attack7.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack8.seahorseattack)) {
this.play();
_root.attack8.stop();
_root.attack8.seahorseattack.gotoAndStop(2);
timer8 = 15;
gotimer8 = true;
}
}
if (gotimer8 == true) {
timer8--;
if (timer8 <= 0) {
gotimer8 = false;
_root.attack8.gotoAndStop(1);
}
}
}
}
Instance of Symbol 339 MovieClip "bomb_4" in Frame 9
onClipEvent (load) {
randomypos = random(250) + 30;
this._y = randomypos;
randomspeed = random(5) + 3;
go = true;
howmanybombs = 0;
}
onClipEvent (enterFrame) {
if (howmanybombs <= 4) {
if ((this.bombalive == false) || (this.hitTest(_root.hitblockforbombs))) {
this._x = 600;
randomypos = random(250) + 30;
randomspeed = random(5) + 3;
this._y = randomypos;
howmanybombs++;
this.gotoAndStop(1);
}
if (this.bombexploding != true) {
this._x = this._x - randomspeed;
}
if (this.flyhurtyou.hitTest(_root.heromain2.goodguyhurtblock)) {
if (this.bombexploding != true) {
if (doonce != true) {
doonce = true;
this.gotoAndPlay("explosions");
}
}
if (_root.heromain2.goodguyhurt.guyframe == 1) {
if (this.bombexploding != true) {
_root.heromain2.goodguyhurt.gotoAndPlay(42);
if (_root.herohealth == 6) {
_root.goodhealth6.play();
_root.goodhealth5.play();
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 5) {
_root.goodhealth5.play();
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 4) {
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 3) {
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 2) {
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 1) {
_root.goodhealth1.play();
}
_root.heromain2.dead = true;
} else if (_root.heromain2.goodguyhurt.guyframe == 1) {
_root.heromain2.goodguyhurt.gotoAndPlay(42);
if (_root.herohealth <= 0) {
_root.heromain2.dead = true;
}
}
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack1.seahorseattack)) {
this.play();
_root.attack1.stop();
_root.attack1.seahorseattack.gotoAndStop(2);
timer1 = 15;
gotimer1 = true;
}
}
if (gotimer1 == true) {
timer1--;
if (timer1 <= 0) {
gotimer1 = false;
_root.attack1.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack2.seahorseattack)) {
this.play();
_root.attack2.stop();
_root.attack2.seahorseattack.gotoAndStop(2);
timer2 = 15;
gotimer2 = true;
}
}
if (gotimer2 == true) {
timer2--;
if (timer2 <= 0) {
gotimer2 = false;
_root.attack2.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack3.seahorseattack)) {
this.play();
_root.attack3.stop();
_root.attack3.seahorseattack.gotoAndStop(2);
timer3 = 15;
gotimer3 = true;
}
}
if (gotimer3 == true) {
timer3--;
if (timer3 <= 0) {
gotimer3 = false;
_root.attack3.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack4.seahorseattack)) {
this.play();
_root.attack4.stop();
_root.attack4.seahorseattack.gotoAndStop(2);
timer4 = 15;
gotimer4 = true;
}
}
if (gotimer4 == true) {
timer4--;
if (timer4 <= 0) {
gotimer4 = false;
_root.attack4.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack5.seahorseattack)) {
this.play();
_root.attack5.stop();
_root.attack5.seahorseattack.gotoAndStop(2);
timer5 = 15;
gotimer5 = true;
}
}
if (gotimer5 == true) {
timer5--;
if (timer5 <= 0) {
gotimer5 = false;
_root.attack5.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack6.seahorseattack)) {
this.play();
_root.attack6.stop();
_root.attack6.seahorseattack.gotoAndStop(2);
timer6 = 15;
gotimer6 = true;
}
}
if (gotimer6 == true) {
timer6--;
if (timer6 <= 0) {
gotimer6 = false;
_root.attack6.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack7.seahorseattack)) {
this.play();
_root.attack7.stop();
_root.attack7.seahorseattack.gotoAndStop(2);
timer7 = 15;
gotimer7 = true;
}
}
if (gotimer7 == true) {
timer7--;
if (timer7 <= 0) {
gotimer7 = false;
_root.attack7.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack8.seahorseattack)) {
this.play();
_root.attack8.stop();
_root.attack8.seahorseattack.gotoAndStop(2);
timer8 = 15;
gotimer8 = true;
}
}
if (gotimer8 == true) {
timer8--;
if (timer8 <= 0) {
gotimer8 = false;
_root.attack8.gotoAndStop(1);
}
}
}
}
Instance of Symbol 339 MovieClip "bomb_1" in Frame 9
onClipEvent (load) {
randomypos = random(250) + 30;
this._y = randomypos;
randomspeed = random(5) + 3;
go = true;
howmanybombs = 0;
}
onClipEvent (enterFrame) {
if (howmanybombs <= 4) {
if ((this.bombalive == false) || (this.hitTest(_root.hitblockforbombs))) {
this._x = 600;
randomypos = random(250) + 30;
randomspeed = random(5) + 3;
this._y = randomypos;
howmanybombs++;
this.gotoAndStop(1);
}
if (this.bombexploding != true) {
this._x = this._x - randomspeed;
}
if (this.flyhurtyou.hitTest(_root.heromain2.goodguyhurtblock)) {
if (this.bombexploding != true) {
if (doonce != true) {
doonce = true;
this.gotoAndPlay("explosions");
}
}
if (_root.heromain2.goodguyhurt.guyframe == 1) {
if (this.bombexploding != true) {
_root.heromain2.goodguyhurt.gotoAndPlay(42);
if (_root.herohealth == 6) {
_root.goodhealth6.play();
_root.goodhealth5.play();
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 5) {
_root.goodhealth5.play();
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 4) {
_root.goodhealth4.play();
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 3) {
_root.goodhealth3.play();
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 2) {
_root.goodhealth1.play();
_root.goodhealth2.play();
}
if (_root.herohealth == 1) {
_root.goodhealth1.play();
}
_root.heromain2.dead = true;
} else if (_root.heromain2.goodguyhurt.guyframe == 1) {
_root.heromain2.goodguyhurt.gotoAndPlay(42);
if (_root.herohealth <= 0) {
_root.heromain2.dead = true;
}
}
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack1.seahorseattack)) {
this.play();
_root.attack1.stop();
_root.attack1.seahorseattack.gotoAndStop(2);
timer1 = 15;
gotimer1 = true;
}
}
if (gotimer1 == true) {
timer1--;
if (timer1 <= 0) {
gotimer1 = false;
_root.attack1.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack2.seahorseattack)) {
this.play();
_root.attack2.stop();
_root.attack2.seahorseattack.gotoAndStop(2);
timer2 = 15;
gotimer2 = true;
}
}
if (gotimer2 == true) {
timer2--;
if (timer2 <= 0) {
gotimer2 = false;
_root.attack2.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack3.seahorseattack)) {
this.play();
_root.attack3.stop();
_root.attack3.seahorseattack.gotoAndStop(2);
timer3 = 15;
gotimer3 = true;
}
}
if (gotimer3 == true) {
timer3--;
if (timer3 <= 0) {
gotimer3 = false;
_root.attack3.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack4.seahorseattack)) {
this.play();
_root.attack4.stop();
_root.attack4.seahorseattack.gotoAndStop(2);
timer4 = 15;
gotimer4 = true;
}
}
if (gotimer4 == true) {
timer4--;
if (timer4 <= 0) {
gotimer4 = false;
_root.attack4.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack5.seahorseattack)) {
this.play();
_root.attack5.stop();
_root.attack5.seahorseattack.gotoAndStop(2);
timer5 = 15;
gotimer5 = true;
}
}
if (gotimer5 == true) {
timer5--;
if (timer5 <= 0) {
gotimer5 = false;
_root.attack5.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack6.seahorseattack)) {
this.play();
_root.attack6.stop();
_root.attack6.seahorseattack.gotoAndStop(2);
timer6 = 15;
gotimer6 = true;
}
}
if (gotimer6 == true) {
timer6--;
if (timer6 <= 0) {
gotimer6 = false;
_root.attack6.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack7.seahorseattack)) {
this.play();
_root.attack7.stop();
_root.attack7.seahorseattack.gotoAndStop(2);
timer7 = 15;
gotimer7 = true;
}
}
if (gotimer7 == true) {
timer7--;
if (timer7 <= 0) {
gotimer7 = false;
_root.attack7.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack8.seahorseattack)) {
this.play();
_root.attack8.stop();
_root.attack8.seahorseattack.gotoAndStop(2);
timer8 = 15;
gotimer8 = true;
}
}
if (gotimer8 == true) {
timer8--;
if (timer8 <= 0) {
gotimer8 = false;
_root.attack8.gotoAndStop(1);
}
}
}
}
Instance of Symbol 115 MovieClip "heromain2" in Frame 9
onClipEvent (load) {
this._xscale = -50;
speed = 10;
jumpspeed = 10;
speedfall = -10;
dead = false;
goingdownstart = 23;
diesup = 10;
this.hair.gotoAndStop(2);
this.feet.gotoAndPlay(14);
this.gotoAndStop(15);
on_seahorse_now = true;
controlling_seahorse_now = true;
attack_one_at_a_time = false;
moveagain = true;
this._y = _root.holder;
this._x = _root.xholder;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.arrowmc.moveleft)) {
_root.gotoAndStop(2);
}
this.weapon.gotoAndStop(_root.weaponhold);
this.body.gotoAndStop(_root.bodyhold);
this.head.gotoAndStop(_root.headhold);
this.guyguyguy.weapon.gotoAndStop(_root.weaponhold);
if (this._y >= 250) {
this._y = 250;
}
if (this.hitTest(_root.water)) {
this.head.hair.gotoAndStop(3);
this.feet.gotoAndStop(15);
this._y = this._y + 0.5;
}
if (moveagain != false) {
if (_root.water.hitTest(_root.heromain2._x, _root.heromain2._y, true)) {
bubblego = true;
speed = 5;
} else {
bubblego = false;
}
if (moveagain == true) {
speed = 10;
}
if (dead == true) {
_root.dead.play();
}
if (dead == false) {
holdingRight = false;
holdingLeft = false;
holdingUp = false;
holdingDown = false;
if (Key.isDown(39) == true) {
this._xscale = -50;
rightSpeed = speed;
this._x = this._x + rightSpeed;
holdingRight = true;
}
if (holdingRight == false) {
rightSpeed = rightSpeed - 1;
if (rightSpeed <= 0) {
rightSpeed = 0;
}
this._x = this._x + rightSpeed;
}
if (Key.isDown(37) == true) {
if (moveagain == true) {
} else {
this._xscale = 50;
}
leftSpeed = speed;
this._x = this._x - leftSpeed;
holdingLeft = true;
}
if (holdingLeft == false) {
leftSpeed = leftSpeed - 1;
if (leftSpeed <= 0) {
leftSpeed = 0;
}
this._x = this._x - leftSpeed;
}
if (Key.isDown(38) == true) {
upSpeed = speed;
this._y = this._y - upSpeed;
holdingUp = true;
}
if (holdingUp == false) {
upSpeed = upSpeed - 1;
if (upSpeed <= 0) {
upSpeed = 0;
}
this._y = this._y - upSpeed;
}
if (Key.isDown(40) == true) {
DownSpeed = speed;
this._y = this._y + DownSpeed;
holdingDown = true;
}
if (holdingDown == false) {
DownSpeed = DownSpeed - 1;
if (DownSpeed <= 0) {
DownSpeed = 0;
}
this._y = this._y + DownSpeed;
}
if (Key.isDown(32) == true) {
if (moveagain == true) {
if (attack_one_at_a_time == false) {
attack_one_at_a_time = true;
this.gotoAndStop(16);
if (_root.attack1.done_attack == true) {
_root.attack1._x = this._x + 10;
_root.attack1._y = this._y - 10;
_root.attack1.play();
}
if (_root.attack1.done_attack == false) {
if (_root.attack2.done_attack == true) {
_root.attack2._x = this._x + 10;
_root.attack2._y = this._y - 10;
_root.attack2.play();
}
}
if ((_root.attack2.done_attack == false) && (_root.attack1.done_attack == false)) {
if (_root.attack3.done_attack == true) {
_root.attack3._x = this._x + 10;
_root.attack3._y = this._y - 10;
_root.attack3.play();
}
}
if (((_root.attack2.done_attack == false) && (_root.attack1.done_attack == false)) && (_root.attack3.done_attack == false)) {
if (_root.attack4.done_attack == true) {
_root.attack4._x = this._x + 10;
_root.attack4._y = this._y - 10;
_root.attack4.play();
}
}
if ((((_root.attack2.done_attack == false) && (_root.attack1.done_attack == false)) && (_root.attack3.done_attack == false)) && (_root.attack4.done_attack == false)) {
if (_root.attack5.done_attack == true) {
_root.attack5._x = this._x + 10;
_root.attack5._y = this._y - 10;
_root.attack5.play();
}
}
if (((((_root.attack2.done_attack == false) && (_root.attack1.done_attack == false)) && (_root.attack3.done_attack == false)) && (_root.attack4.done_attack == false)) && (_root.attack5.done_attack == false)) {
if (_root.attack6.done_attack == true) {
_root.attack6._x = this._x + 10;
_root.attack6._y = this._y - 10;
_root.attack6.play();
}
}
if ((((((_root.attack2.done_attack == false) && (_root.attack1.done_attack == false)) && (_root.attack3.done_attack == false)) && (_root.attack4.done_attack == false)) && (_root.attack5.done_attack == false)) && (_root.attack6.done_attack == false)) {
if (_root.attack7.done_attack == true) {
_root.attack7._x = this._x + 10;
_root.attack7._y = this._y - 10;
_root.attack7.play();
}
}
if (((((((_root.attack2.done_attack == false) && (_root.attack1.done_attack == false)) && (_root.attack3.done_attack == false)) && (_root.attack4.done_attack == false)) && (_root.attack5.done_attack == false)) && (_root.attack6.done_attack == false)) && (_root.attack7.done_attack == false)) {
if (_root.attack8.done_attack == true) {
_root.attack8._x = this._x + 10;
_root.attack8._y = this._y - 10;
_root.attack8.play();
}
}
} else {
if ((this.goodguyhurt.guyframe == 2) && (Key.isDown(32) == true)) {
this.recharge.gotoAndStop(1);
}
if (Key.isDown(32) == true) {
if (allowspace == true) {
allowspace = false;
if (this.goodguyhurt.guyframe == 1) {
this.recharge.gotoAndPlay(86);
}
}
} else {
allowspace = true;
this.recharge.gotoAndStop(1);
}
}
}
}
if (this.hitTest(_root.arrowmc.moveleft)) {
_root.nextFrame();
}
if (this.hitTest(_root.cantgoright)) {
if (Key.isDown(39) == true) {
this._x = this._x - speed;
}
}
if (this._x <= 50) {
this._x = 50;
}
if (this._y <= 60) {
this._y = 60;
}
if (this._x >= 500) {
this._x = 500;
}
if (this._y >= 320) {
this._y = 320;
}
if (dead == true) {
if (!_root.land_1.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (end != true) {
end = true;
this.gotoAndPlay(3);
}
}
if (_root.baddie_dragon.hitTest(this._x, this._y, true)) {
if (this.goodguyhurt.guyframe == 1) {
this.goodguyhurt.play();
if (_root.herohealth <= 0) {
dead = true;
}
}
}
}
if (dead == true) {
this._y = this._y - (diesup++);
}
if (bubblego == true) {
if ((((Key.isDown(39) == true) || (Key.isDown(38) == true)) || (Key.isDown(40) == true)) || (Key.isDown(37) == true)) {
if (_root.bubble1.bubble_done == true) {
_root.bubble1._x = this._x;
_root.bubble1._y = this._y;
_root.bubble1.play();
}
if (_root.bubble2.bubble_done == true) {
if (_root.bubble1.go_next_bubble == true) {
_root.bubble2._x = this._x;
_root.bubble2._y = this._y;
_root.bubble2.play();
}
}
if (_root.bubble3.bubble_done == true) {
if (_root.bubble2.go_next_bubble == true) {
_root.bubble3._x = this._x;
_root.bubble3._y = this._y;
_root.bubble3.play();
}
}
if (_root.bubble4.bubble_done == true) {
if (_root.bubble3.go_next_bubble == true) {
_root.bubble4._x = this._x;
_root.bubble4._y = this._y;
_root.bubble4.play();
}
}
if (_root.bubble5.bubble_done == true) {
if (_root.bubble4.go_next_bubble == true) {
_root.bubble5._x = this._x;
_root.bubble5._y = this._y;
_root.bubble5.play();
}
}
}
}
}
if (Key.isDown(32) != true) {
attack_one_at_a_time = false;
allowspace = true;
this.recharge.gotoAndStop(1);
}
if (_root.attack1.hitTest(_root.hitblockforshots)) {
_root.attack1.gotoAndStop(1);
_root.attack1.done_attack = true;
}
if (_root.attack2.hitTest(_root.hitblockforshots)) {
_root.attack2.gotoAndStop(1);
_root.attack2.done_attack = true;
}
if (_root.attack3.hitTest(_root.hitblockforshots)) {
_root.attack3.gotoAndStop(1);
_root.attack3.done_attack = true;
}
if (_root.attack4.hitTest(_root.hitblockforshots)) {
_root.attack4.gotoAndStop(1);
_root.attack4.done_attack = true;
}
if (_root.attack5.hitTest(_root.hitblockforshots)) {
_root.attack5.gotoAndStop(1);
_root.attack5.done_attack = true;
}
}
Symbol 24 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 2
stop();
Instance of Symbol 24 MovieClip in Symbol 31 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(40) == true) {
this.gotoAndPlay(2);
keydown = true;
} else if (keydown == true) {
_parent._parent.gotoAndStop(2);
}
}
Instance of Symbol 24 MovieClip in Symbol 31 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(39) == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 24 MovieClip in Symbol 31 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(37) == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 24 MovieClip in Symbol 31 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(38) == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 28 MovieClip in Symbol 31 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(32) == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 41 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 13
gotoAndStop (1);
Symbol 41 MovieClip Frame 14
stop();
Symbol 41 MovieClip Frame 15
stop();
Symbol 46 MovieClip Frame 7
gotoAndPlay (2);
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 2
stop();
Symbol 50 MovieClip Frame 3
stop();
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 2
stop();
Symbol 54 MovieClip Frame 3
stop();
Symbol 58 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 2
stop();
Symbol 58 MovieClip Frame 3
stop();
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 2
stop();
Symbol 63 MovieClip Frame 3
stop();
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 2
stop();
Symbol 70 MovieClip Frame 3
stop();
Symbol 73 MovieClip Frame 1
stop();
_root.headspot = 1;
Symbol 73 MovieClip Frame 2
stop();
_root.headspot = 2;
Symbol 73 MovieClip Frame 3
stop();
_root.headspot = 3;
_root.menu.othermenu.right._alpha = 100;
Symbol 73 MovieClip Frame 4
stop();
_root.headspot = 4;
if (_root.beatgame != true) {
_root.menu.othermenu.right._alpha = 30;
} else {
_root.menu.othermenu.right._alpha = 100;
}
Symbol 73 MovieClip Frame 5
stop();
_root.headspot = 5;
if (_root.beatgame != true) {
this.gotoAndStop(4);
_root.menu.othermenu.right._alpha = 30;
} else {
_root.menu.othermenu.right._alpha = 100;
}
Symbol 73 MovieClip Frame 6
stop();
_root.headspot = 6;
Symbol 73 MovieClip Frame 7
stop();
_root.headspot = 7;
_root.menu.othermenu.right._alpha = 100;
Symbol 81 MovieClip Frame 1
stop();
_root.bodyspot = 1;
Symbol 81 MovieClip Frame 2
stop();
_root.bodyspot = 2;
Symbol 81 MovieClip Frame 3
stop();
_root.bodyspot = 3;
_root.menu.othermenu.right1._alpha = 100;
Symbol 81 MovieClip Frame 4
stop();
_root.bodyspot = 4;
if (_root.beatgame != true) {
_root.menu.othermenu.right1._alpha = 30;
} else {
_root.menu.othermenu.right1._alpha = 100;
}
Symbol 81 MovieClip Frame 5
stop();
_root.bodyspot = 5;
if (_root.beatgame != true) {
this.gotoAndStop(4);
_root.menu.othermenu.right1._alpha = 30;
} else {
_root.menu.othermenu.right1._alpha = 100;
}
Symbol 81 MovieClip Frame 6
stop();
_root.bodyspot = 6;
Symbol 81 MovieClip Frame 7
stop();
_root.bodyspot = 7;
_root.menu.othermenu.right1._alpha = 100;
Symbol 89 MovieClip Frame 1
stop();
_root.weaponspot = 1;
Symbol 89 MovieClip Frame 2
stop();
_root.weaponspot = 2;
Symbol 89 MovieClip Frame 3
stop();
_root.weaponspot = 3;
_root.menu.othermenu.right2._alpha = 100;
Symbol 89 MovieClip Frame 4
stop();
_root.weaponspot = 4;
if (_root.beatgame != true) {
_root.menu.othermenu.right2._alpha = 30;
} else {
_root.menu.othermenu.right2._alpha = 100;
}
Symbol 89 MovieClip Frame 5
stop();
_root.weaponspot = 5;
if (_root.beatgame != true) {
this.gotoAndStop(4);
_root.menu.othermenu.right2._alpha = 30;
} else {
_root.menu.othermenu.right2._alpha = 100;
}
Symbol 89 MovieClip Frame 6
stop();
_root.weaponspot = 6;
Symbol 89 MovieClip Frame 7
stop();
_root.weaponspot = 7;
_root.menu.othermenu.right2._alpha = 100;
Symbol 93 MovieClip Frame 1
stop();
guyframe = 1;
_parent.allowspace = true;
Symbol 93 MovieClip Frame 2
guyframe = 2;
_root.herohealth--;
if (_root.herohealth == 5) {
_root.goodhealth6.play();
}
if (_root.herohealth == 4) {
_root.goodhealth5.play();
}
if (_root.herohealth == 3) {
_root.goodhealth4.play();
}
if (_root.herohealth == 2) {
_root.goodhealth3.play();
}
if (_root.herohealth == 1) {
_root.goodhealth2.play();
}
if (_root.herohealth <= 0) {
_root.goodhealth1.play();
_root.heromain.dead = true;
_root.heromain2.dead = true;
}
Symbol 93 MovieClip Frame 3
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:0, ga:-255, gb:-255, ba:-255, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:0, ga:-255, gb:-255, ba:-255, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:0, ga:-255, gb:-255, ba:-255, bb:0, aa:100, ab:0});
Symbol 93 MovieClip Frame 40
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 93 MovieClip Frame 41
_parent.allowspace = true;
gotoAndStop (1);
Symbol 93 MovieClip Frame 42
guyframe = 1;
_parent.allowspace = true;
Symbol 93 MovieClip Frame 43
guyframe = 2;
_root.herohealth--;
if (_root.herohealth == 5) {
_root.goodhealth6.play();
}
if (_root.herohealth == 4) {
_root.goodhealth5.play();
}
if (_root.herohealth == 3) {
_root.goodhealth4.play();
}
if (_root.herohealth == 2) {
_root.goodhealth3.play();
}
if (_root.herohealth == 1) {
_root.goodhealth2.play();
}
if (_root.herohealth <= 0) {
_root.goodhealth1.play();
_root.heromain.dead = true;
_root.heromain2.dead = true;
}
Symbol 93 MovieClip Frame 44
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:0, ga:-255, gb:-255, ba:-255, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:0, ga:-255, gb:-255, ba:-255, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:0, ga:-255, gb:-255, ba:-255, bb:0, aa:100, ab:0});
Symbol 93 MovieClip Frame 81
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 93 MovieClip Frame 82
_parent.allowspace = true;
gotoAndStop (1);
Symbol 94 MovieClip Frame 1
stop();
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 29
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 32
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 35
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 38
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 41
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 44
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 47
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 50
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 53
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 56
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 59
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 62
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 65
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 66
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 67
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 68
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 69
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 70
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 71
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 72
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 73
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 74
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 75
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 76
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 77
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 78
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 79
if (_root.normal == false) {
if (_root.herohealth == 2) {
_root.herohealth = 3;
_root.goodhealth3.gotoAndPlay(14);
} else if (_root.herohealth == 1) {
_root.herohealth = 2;
_root.goodhealth2.gotoAndPlay(14);
}
} else if (_root.herohealth == 5) {
_root.herohealth = 6;
_root.goodhealth6.gotoAndPlay(14);
} else if (_root.herohealth == 4) {
_root.herohealth = 5;
_root.goodhealth5.gotoAndPlay(14);
} else if (_root.herohealth == 3) {
_root.herohealth = 4;
_root.goodhealth4.gotoAndPlay(14);
} else if (_root.herohealth == 2) {
_root.herohealth = 3;
_root.goodhealth3.gotoAndPlay(14);
} else if (_root.herohealth == 1) {
_root.herohealth = 2;
_root.goodhealth2.gotoAndPlay(14);
}
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 80
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 82
gotoAndStop (1);
Symbol 94 MovieClip Frame 112
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 115
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 118
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 121
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 124
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 127
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 130
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 133
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 136
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 139
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 142
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 145
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 148
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 149
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 150
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 151
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 152
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 153
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 154
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 155
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 156
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 157
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 158
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 159
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 160
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 161
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 162
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:255, rb:255, ga:255, gb:255, ba:255, bb:255, aa:70, ab:0});
Symbol 94 MovieClip Frame 163
colorObj = new Color(_root.heromain);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain1);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
colorObj = new Color(_root.heromain2);
colorObj.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
Symbol 94 MovieClip Frame 164
if (_root.normal == false) {
if (_root.herohealth == 2) {
_root.herohealth = 3;
_root.goodhealth3.gotoAndPlay(14);
} else if (_root.herohealth == 1) {
_root.herohealth = 2;
_root.goodhealth2.gotoAndPlay(14);
}
} else if (_root.herohealth == 5) {
_root.herohealth = 6;
_root.goodhealth6.gotoAndPlay(14);
} else if (_root.herohealth == 4) {
_root.herohealth = 5;
_root.goodhealth5.gotoAndPlay(14);
} else if (_root.herohealth == 3) {
_root.herohealth = 4;
_root.goodhealth4.gotoAndPlay(14);
} else if (_root.herohealth == 2) {
_root.herohealth = 3;
_root.goodhealth3.gotoAndPlay(14);
} else if (_root.herohealth == 1) {
_root.herohealth = 2;
_root.goodhealth2.gotoAndPlay(14);
}
Symbol 94 MovieClip Frame 167
gotoAndStop (1);
Instance of Symbol 101 MovieClip "swordhitter" in Symbol 103 MovieClip Frame 1
onClipEvent (load) {
if (this.hitTest(_root.baddie)) {
if (_root.baddie.dead == false) {
_root.baddie.runsteps = 30;
_root.baddie.countdowntorun = 50;
_root.baddielife--;
_root.soundone.start(0, 1);
_root.soundone.setVolume(100);
_root.baddie.baddiehit.play();
if (_root.baddielife == 2) {
_root.badhealth3.play();
if (_root.baddie.invisible == false) {
_root.baddie.gotoAndPlay(40);
}
}
if (_root.baddielife == 1) {
_root.badhealth2.play();
if (_root.baddie.invisible == false) {
_root.baddie.gotoAndPlay(40);
}
}
if (_root.baddielife == 0) {
_root.badhealth1.play();
}
if (_root.baddielife <= 0) {
_root.baddie.gotoAndPlay(3);
_root.baddie.dead = true;
}
}
}
if (this.hitTest(_root.flyfirstmain.flyhit)) {
_root.soundone.start(0, 1);
_root.soundone.setVolume(100);
_root.flyfirstmain.gotoAndPlay(3);
_root.flyfirstmain.dead = true;
}
if (this.hitTest(_root.secondfly1.flyhit)) {
_root.soundone.start(0, 1);
_root.soundone.setVolume(100);
_root.secondfly1.gotoAndPlay(3);
_root.secondfly1.dead = true;
}
if (this.hitTest(_root.secondfly2.flyhit)) {
_root.soundone.start(0, 1);
_root.soundone.setVolume(100);
_root.secondfly2.gotoAndPlay(3);
_root.secondfly2.dead = true;
}
if (this.hitTest(_root.secondfly3.flyhit)) {
_root.soundone.start(0, 1);
_root.soundone.setVolume(100);
_root.secondfly3.gotoAndPlay(3);
_root.secondfly3.dead = true;
}
}
Symbol 103 MovieClip Frame 9
_parent.gotoAndStop(1);
Symbol 108 MovieClip Frame 1
countdowntoblink = 100;
Symbol 108 MovieClip Frame 6
countdowntoblink--;
if (countdowntoblink <= 0) {
gotoAndPlay (1);
}
Symbol 108 MovieClip Frame 7
gotoAndPlay (6);
Symbol 114 MovieClip Frame 8
_parent.gotoAndStop(15);
Symbol 115 MovieClip Frame 1
slashing = false;
stop();
Symbol 115 MovieClip Frame 2
stop();
slashing = true;
Symbol 115 MovieClip Frame 14
this.unloadMovie();
Symbol 115 MovieClip Frame 15
stop();
Instance of Symbol 94 MovieClip "recharge" in Symbol 115 MovieClip Frame 15
/* no clip actions */
Symbol 115 MovieClip Frame 16
stop();
Symbol 118 MovieClip Frame 1
stop();
spot = 1;
downkeyup = true;
upkeyup = true;
if (_root.headspot == 1) {
shadowss._alpha = 30;
left._alpha = 30;
} else {
left._alpha = 100;
shadowss._alpha = 100;
}
if (_root.bodyspot == 1) {
shadowsss._alpha = 30;
left1._alpha = 30;
} else {
left1._alpha = 100;
shadowsss._alpha = 100;
}
if (_root.weaponspot == 1) {
shadowssss._alpha = 30;
left2._alpha = 30;
} else {
left2._alpha = 100;
shadowssss._alpha = 100;
}
Instance of Symbol 24 MovieClip "left" in Symbol 118 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.spot == 1) {
if (_root.headspot == 1) {
_parent.shadowss._alpha = 30;
this._alpha = 30;
} else {
this._alpha = 100;
_parent.shadowss._alpha = 100;
}
if (Key.isDown(37) == true) {
this.gotoAndPlay(2);
poop = true;
} else {
this.gotoAndStop(1);
if (poop == true) {
poop = false;
_parent._parent.heromain.head.prevFrame();
}
}
if (Key.isDown(40) == true) {
if (_parent.downkeyup == true) {
_parent.downkeyup = false;
_parent.gotoAndStop(2);
_parent.spot = 2;
}
} else {
_parent.downkeyup = true;
}
}
}
Instance of Symbol 24 MovieClip "left1" in Symbol 118 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.spot == 2) {
if (_root.bodyspot == 1) {
_parent.shadowsss._alpha = 30;
this._alpha = 30;
} else {
this._alpha = 100;
_parent.shadowsss._alpha = 100;
}
if (Key.isDown(37) == true) {
this.gotoAndPlay(2);
poop = true;
} else {
this.gotoAndStop(1);
if (poop == true) {
poop = false;
_parent._parent.heromain.body.prevFrame();
}
}
if (Key.isDown(40) == true) {
if (_parent.downkeyup == true) {
_parent.downkeyup = false;
_parent.gotoAndStop(3);
_parent.spot = 3;
}
} else {
_parent.downkeyup = true;
}
if (Key.isDown(38) == true) {
if (_parent.upkeyup == true) {
_parent.upkeyup = false;
_parent.gotoAndStop(1);
_parent.spot = 1;
}
} else {
_parent.upkeyup = true;
}
}
}
Instance of Symbol 24 MovieClip "left2" in Symbol 118 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.spot == 3) {
if (_root.weaponspot == 1) {
_parent.shadowssss._alpha = 30;
this._alpha = 30;
} else {
this._alpha = 100;
_parent.shadowssss._alpha = 100;
}
if (Key.isDown(37) == true) {
this.gotoAndPlay(2);
poop = true;
} else {
this.gotoAndStop(1);
if (poop == true) {
poop = false;
_parent._parent.heromain.weapon.prevFrame();
}
}
if (Key.isDown(38) == true) {
if (_parent.upkeyup == true) {
_parent.spot = 2;
_parent.upkeyup = false;
_parent.gotoAndStop(2);
}
} else {
_parent.upkeyup = true;
}
}
}
Instance of Symbol 24 MovieClip "right" in Symbol 118 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.spot == 1) {
if (Key.isDown(39) == true) {
this.gotoAndPlay(2);
poop = true;
} else {
this.gotoAndStop(1);
if (poop == true) {
poop = false;
_parent._parent.heromain.head.nextFrame();
}
}
}
}
Instance of Symbol 24 MovieClip "right1" in Symbol 118 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.spot == 2) {
if (Key.isDown(39) == true) {
this.gotoAndPlay(2);
poop = true;
} else {
this.gotoAndStop(1);
if (poop == true) {
poop = false;
_parent._parent.heromain.body.nextFrame();
}
}
}
}
Instance of Symbol 24 MovieClip "right2" in Symbol 118 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.spot == 3) {
if (Key.isDown(39) == true) {
this.gotoAndPlay(2);
poop = true;
} else {
this.gotoAndStop(1);
if (poop == true) {
poop = false;
_parent._parent.heromain.weapon.nextFrame();
}
}
}
}
Symbol 118 MovieClip Frame 2
stop();
spot = 2;
downkeyup = false;
upkeyup = false;
if (_root.headspot == 1) {
shadowss._alpha = 30;
left._alpha = 30;
} else {
left._alpha = 100;
shadowss._alpha = 100;
}
if (_root.bodyspot == 1) {
shadowsss._alpha = 30;
left1._alpha = 30;
} else {
left1._alpha = 100;
shadowsss._alpha = 100;
}
if (_root.weaponspot == 1) {
shadowssss._alpha = 30;
left2._alpha = 30;
} else {
left2._alpha = 100;
shadowssss._alpha = 100;
}
Symbol 118 MovieClip Frame 3
stop();
spot = 3;
downkeyup = false;
upkeyup = false;
if (_root.headspot == 1) {
shadowss._alpha = 30;
left._alpha = 30;
} else {
left._alpha = 100;
shadowss._alpha = 100;
}
if (_root.bodyspot == 1) {
shadowsss._alpha = 30;
left1._alpha = 30;
} else {
left1._alpha = 100;
shadowsss._alpha = 100;
}
if (_root.weaponspot == 1) {
shadowssss._alpha = 30;
left2._alpha = 30;
} else {
left2._alpha = 100;
shadowssss._alpha = 100;
}
Symbol 122 MovieClip Frame 1
stop();
header = 1;
bodyer = 1;
weaponer = 1;
Symbol 122 MovieClip Frame 2
stop();
heromain.head.gotoAndStop(header);
heromain.body.gotoAndStop(bodyer);
heromain.weapon.gotoAndStop(weaponer);
Instance of Symbol 28 MovieClip in Symbol 122 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(32) == true) {
this.gotoAndPlay(2);
done = true;
} else {
this.gotoAndStop(1);
if (done == true) {
_parent.gotoAndStop(3);
}
}
}
Symbol 122 MovieClip Frame 3
stop();
header = _root.headspot;
bodyer = _root.bodyspot;
weaponer = _root.weaponspot;
Instance of Symbol 24 MovieClip in Symbol 122 MovieClip Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(39) == true) {
this.gotoAndPlay(2);
poop = true;
} else {
this.gotoAndStop(1);
if (poop == true) {
_root.normal = false;
_root.gotoAndStop(4);
}
}
}
Instance of Symbol 24 MovieClip in Symbol 122 MovieClip Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(37) == true) {
this.gotoAndPlay(2);
poop = true;
} else {
this.gotoAndStop(1);
if (poop == true) {
_root.normal = true;
_root.gotoAndStop(4);
}
}
}
Instance of Symbol 24 MovieClip in Symbol 122 MovieClip Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(40) == true) {
this.gotoAndPlay(2);
poop = true;
} else {
this.gotoAndStop(1);
if (poop == true) {
_parent.gotoAndStop(2);
}
}
}
Symbol 125 MovieClip Frame 61
stop();
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 2
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 2
stop();
Symbol 146 MovieClip Frame 1
stop();
outofcastle = true;
Symbol 146 MovieClip Frame 2
stop();
outofcastle = true;
Symbol 146 MovieClip Frame 3
stop();
outofcastle = false;
Symbol 162 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 2
stop();
Symbol 185 MovieClip Frame 1
stop();
talkframe = 1;
Symbol 185 MovieClip Frame 2
stop();
talkframe = 2;
Symbol 185 MovieClip Frame 3
stop();
talkframe = 3;
Symbol 185 MovieClip Frame 4
stop();
talkframe = 4;
Symbol 185 MovieClip Frame 5
stop();
talkframe = 5;
Symbol 185 MovieClip Frame 6
stop();
talkframe = 6;
Symbol 185 MovieClip Frame 7
stop();
talkframe = 7;
Symbol 185 MovieClip Frame 8
stop();
talkframe = 8;
Symbol 185 MovieClip Frame 9
gotoAndStop (1);
talkframe = 9;
donetalking = true;
_root.arrowmc.gotoAndStop(2);
Symbol 185 MovieClip Frame 10
stop();
Symbol 185 MovieClip Frame 11
stop();
talkframe = 11;
Symbol 190 MovieClip Frame 1
stop();
arrowframe = 1;
Symbol 190 MovieClip Frame 2
stop();
arrowframe = 2;
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 13
stop();
Symbol 192 MovieClip Frame 24
gotoAndStop (1);
Symbol 192 MovieClip Frame 25
stop();
Symbol 197 MovieClip Frame 1
doagain = false;
Symbol 197 MovieClip Frame 103
doagain = true;
stop();
Symbol 204 MovieClip Frame 1
stop();
Symbol 207 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 12
_parent.gotoAndStop(1);
Symbol 231 MovieClip Frame 1
stop();
invisible = false;
Symbol 231 MovieClip Frame 2
stop();
Symbol 231 MovieClip Frame 38
if (_root.heromain.dead == false) {
_root.arrowmc.gotoAndStop(2);
}
this.unloadMovie();
Symbol 231 MovieClip Frame 39
stop();
Symbol 231 MovieClip Frame 40
invisible = true;
Symbol 231 MovieClip Frame 44
invisible = true;
whichway = random(400) + 44;
_root.baddie._x = whichway;
Symbol 231 MovieClip Frame 48
gotoAndStop (1);
invisible = false;
Symbol 237 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 63
_root.songone.stop("sound_songone");
_root.songtwo.stop("sound_songtwo");
_root.songthree.stop("sound_songthree");
_root.songoneplaying = false;
_root.songtwoplaying = false;
_root.songthreeplaying = false;
Symbol 237 MovieClip Frame 64
_root.deathstinger.start(0, 1);
_root.deathstinger.setVolume(100);
Symbol 237 MovieClip Frame 128
_root.gotoAndStop(3);
Symbol 247 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 2
stop();
Symbol 247 MovieClip Frame 9
stop();
Instance of Symbol 247 MovieClip in Symbol 252 MovieClip Frame 6
onClipEvent (load) {
flyspeed = 10;
dead = false;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 247 MovieClip in Symbol 252 MovieClip Frame 6
onClipEvent (load) {
flyspeed = 10;
dead = false;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 247 MovieClip in Symbol 252 MovieClip Frame 6
onClipEvent (load) {
flyspeed = 10;
dead = false;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 247 MovieClip in Symbol 252 MovieClip Frame 6
onClipEvent (load) {
flyspeed = 10;
dead = false;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 247 MovieClip in Symbol 252 MovieClip Frame 6
onClipEvent (load) {
flyspeed = 10;
dead = false;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 247 MovieClip in Symbol 252 MovieClip Frame 6
onClipEvent (load) {
flyspeed = 10;
dead = false;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 247 MovieClip in Symbol 252 MovieClip Frame 6
onClipEvent (load) {
flyspeed = 10;
dead = false;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 247 MovieClip in Symbol 252 MovieClip Frame 6
onClipEvent (load) {
flyspeed = 10;
dead = false;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 247 MovieClip in Symbol 252 MovieClip Frame 6
onClipEvent (load) {
flyspeed = 10;
dead = false;
}
onClipEvent (enterFrame) {
}
Symbol 252 MovieClip Frame 54
stop();
Symbol 256 MovieClip Frame 1
dofinal = false;
Symbol 256 MovieClip Frame 14
gotoAndPlay (1);
Symbol 256 MovieClip Frame 57
dofinal = true;
Symbol 256 MovieClip Frame 66
stop();
Symbol 260 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 2
stop();
Symbol 264 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 2
stop();
Symbol 266 MovieClip Frame 1
watergonow = true;
Symbol 266 MovieClip Frame 2
watergonow = false;
Symbol 266 MovieClip Frame 41
gotoAndPlay (1);
Symbol 266 MovieClip Frame 42
watergonow = false;
doneanim = false;
Symbol 266 MovieClip Frame 105
stop();
doneanim = true;
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 2
_root.wall1.gotoAndPlay(42);
_root.wall2.gotoAndPlay(42);
Symbol 270 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 64
stop();
Symbol 272 MovieClip Frame 1
stop();
Symbol 272 MovieClip Frame 19
gotoAndStop (26);
Symbol 272 MovieClip Frame 24
stop();
Symbol 274 MovieClip Frame 1
stop();
bubble_done = true;
Symbol 274 MovieClip Frame 2
bubble_done = false;
Symbol 274 MovieClip Frame 8
go_next_bubble = true;
Symbol 274 MovieClip Frame 9
go_next_bubble = false;
Symbol 289 MovieClip Frame 1
stop();
eyesopen = false;
lefteyehit = false;
Symbol 289 MovieClip Frame 5
stop();
eyesopen = true;
Instance of Symbol 285 MovieClip "badeyehit" in Symbol 289 MovieClip Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.flyfirstmain)) {
if (_root.flyfirstmain.dead == true) {
_parent.gotoAndPlay(10);
}
}
if (this.hitTest(_root.secondfly1)) {
if (_root.secondfly1.dead == true) {
_parent.gotoAndPlay(10);
}
}
if (this.hitTest(_root.secondfly2)) {
if (_root.secondfly2.dead == true) {
_parent.gotoAndPlay(10);
}
}
if (this.hitTest(_root.secondfly3)) {
if (_root.secondfly3.dead == true) {
_parent.gotoAndPlay(10);
}
}
}
Symbol 289 MovieClip Frame 6
eyesopen = false;
Symbol 289 MovieClip Frame 9
gotoAndStop (1);
Symbol 289 MovieClip Frame 10
eyesopen = false;
lefteyehit = true;
if (_parent.eyeright.righteyehit == true) {
_root.wormbaddie.wormhealth--;
_root.wormbaddie.wormhit = true;
if (_root.wormbaddie.wormhealth == 2) {
_root.wormhealthbar.wormhealth3.play();
_root.secondfly2.flygo = true;
} else if (_root.wormbaddie.wormhealth == 1) {
_root.wormhealthbar.wormhealth2.play();
_root.secondfly3.flygo = true;
} else if (_root.wormbaddie.wormhealth == 0) {
_root.wormhealthbar.wormhealth1.play();
}
}
Symbol 289 MovieClip Frame 14
stop();
Symbol 289 MovieClip Frame 15
eyesopen = false;
Symbol 289 MovieClip Frame 18
gotoAndStop (1);
Symbol 290 MovieClip Frame 1
stop();
eyesopen = false;
righteyehit = false;
Symbol 290 MovieClip Frame 5
stop();
eyesopen = true;
Instance of Symbol 285 MovieClip "badeyehit" in Symbol 290 MovieClip Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.flyfirstmain)) {
if (_root.flyfirstmain.dead == true) {
_parent.gotoAndPlay(10);
}
}
if (this.hitTest(_root.secondfly1)) {
if (_root.secondfly1.dead == true) {
_parent.gotoAndPlay(10);
}
}
if (this.hitTest(_root.secondfly2)) {
if (_root.secondfly2.dead == true) {
_parent.gotoAndPlay(10);
}
}
if (this.hitTest(_root.secondfly3)) {
if (_root.secondfly3.dead == true) {
_parent.gotoAndPlay(10);
}
}
}
Symbol 290 MovieClip Frame 6
eyesopen = false;
Symbol 290 MovieClip Frame 9
gotoAndStop (1);
Symbol 290 MovieClip Frame 10
eyesopen = false;
righteyehit = true;
if (_parent.eyeleft.lefteyehit == true) {
_root.wormbaddie.wormhealth--;
_root.wormbaddie.wormhit = true;
if (_root.wormbaddie.wormhealth == 2) {
_root.wormhealthbar.wormhealth3.play();
_root.secondfly2.flygo = true;
} else if (_root.wormbaddie.wormhealth == 1) {
_root.secondfly3.flygo = true;
_root.wormhealthbar.wormhealth2.play();
} else if (_root.wormbaddie.wormhealth == 0) {
_root.wormhealthbar.wormhealth1.play();
}
}
Symbol 290 MovieClip Frame 14
stop();
Symbol 290 MovieClip Frame 15
eyesopen = false;
Symbol 290 MovieClip Frame 18
gotoAndStop (1);
Symbol 295 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 29
gotoAndStop (1);
Symbol 295 MovieClip Frame 30
_root.rocksfall.gotoAndPlay(2);
Symbol 295 MovieClip Frame 36
stop();
Symbol 297 MovieClip Frame 1
stop();
Symbol 297 MovieClip Frame 2
stop();
Symbol 299 MovieClip Frame 16
stop();
Symbol 300 MovieClip Frame 1
stop();
done_attack = true;
Symbol 300 MovieClip Frame 2
done_attack = false;
Symbol 306 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 2
stop();
Symbol 306 MovieClip Frame 3
stop();
Symbol 307 MovieClip Frame 1
stop();
Symbol 307 MovieClip Frame 2
stop();
Symbol 314 MovieClip Frame 1
stop();
Symbol 321 MovieClip Frame 1
stop();
bombalive = true;
bombexploding = false;
Symbol 321 MovieClip Frame 2
stop();
bombalive = true;
bombexploding = false;
Symbol 321 MovieClip Frame 3
stop();
bombalive = true;
bombexploding = false;
Symbol 330 MovieClip Frame 1
stop();
Symbol 330 MovieClip Frame 13
gotoAndStop (1);
Symbol 332 MovieClip Frame 1
can_hit_targets = true;
bombexploding = false;
stop();
canbeattacked = false;
Instance of Symbol 330 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.can_hit_targets == true) {
if (this.bombexploding == false) {
if (this.hitTest(_root.attack1.seahorseattack)) {
_root.attack1.stop();
_root.attack1.seahorseattack.gotoAndStop(2);
timer1 = 15;
gotimer1 = true;
}
}
if (gotimer1 == true) {
timer1--;
if (timer1 <= 0) {
gotimer1 = false;
_root.attack1.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack2.seahorseattack)) {
_root.attack2.stop();
_root.attack2.seahorseattack.gotoAndStop(2);
timer2 = 15;
gotimer2 = true;
}
}
if (gotimer2 == true) {
timer2--;
if (timer2 <= 0) {
gotimer2 = false;
_root.attack2.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack3.seahorseattack)) {
_root.attack3.stop();
_root.attack3.seahorseattack.gotoAndStop(2);
timer3 = 15;
gotimer3 = true;
}
}
if (gotimer3 == true) {
timer3--;
if (timer3 <= 0) {
gotimer3 = false;
_root.attack3.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack4.seahorseattack)) {
_root.attack4.stop();
_root.attack4.seahorseattack.gotoAndStop(2);
timer4 = 15;
gotimer4 = true;
}
}
if (gotimer4 == true) {
timer4--;
if (timer4 <= 0) {
gotimer4 = false;
_root.attack4.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack5.seahorseattack)) {
_root.attack5.stop();
_root.attack5.seahorseattack.gotoAndStop(2);
timer5 = 15;
gotimer5 = true;
}
}
if (gotimer5 == true) {
timer5--;
if (timer5 <= 0) {
gotimer5 = false;
_root.attack5.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack6.seahorseattack)) {
_root.attack6.stop();
_root.attack6.seahorseattack.gotoAndStop(2);
timer6 = 15;
gotimer6 = true;
}
}
if (gotimer6 == true) {
timer6--;
if (timer6 <= 0) {
gotimer6 = false;
_root.attack6.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack7.seahorseattack)) {
_root.attack7.stop();
_root.attack7.seahorseattack.gotoAndStop(2);
timer7 = 15;
gotimer7 = true;
}
}
if (gotimer7 == true) {
timer7--;
if (timer7 <= 0) {
gotimer7 = false;
_root.attack7.gotoAndStop(1);
}
}
if (this.bombexploding == false) {
if (this.hitTest(_root.attack8.seahorseattack)) {
_root.attack8.stop();
_root.attack8.seahorseattack.gotoAndStop(2);
timer8 = 15;
gotimer8 = true;
}
}
if (gotimer8 == true) {
timer8--;
if (timer8 <= 0) {
gotimer8 = false;
_root.attack8.gotoAndStop(1);
}
}
}
}
Symbol 332 MovieClip Frame 2
_root.dragon_health.gotoAndStop(2);
Instance of Symbol 330 MovieClip "drgn_face" in Symbol 332 MovieClip Frame 2
onClipEvent (load) {
countdowner = 5;
}
onClipEvent (enterFrame) {
countdowner--;
if (countdowner <= 0) {
countdowner = 50;
this.play();
if (_root.drgn_bomb_1.thisgo == false) {
_root.drgn_bomb_1.thisgo = true;
} else if (_root.drgn_bomb_2.thisgo == false) {
_root.drgn_bomb_2.thisgo = true;
} else if (_root.drgn_bomb_3.thisgo == false) {
_root.drgn_bomb_3.thisgo = true;
} else if (_root.drgn_bomb_4.thisgo == false) {
_root.drgn_bomb_4.thisgo = true;
} else if (_root.drgn_bomb_5.thisgo == false) {
_root.drgn_bomb_5.thisgo = true;
}
}
}
Symbol 332 MovieClip Frame 17
stop();
canbeattacked = true;
Symbol 332 MovieClip Frame 18
drgn_face.play();
Symbol 332 MovieClip Frame 49
drgn_face.play();
Symbol 332 MovieClip Frame 78
_root.bomb_1.howmanybombs = 1;
_root.bomb_2.howmanybombs = 1;
_root.bomb_3.howmanybombs = 1;
_root.bomb_4.howmanybombs = 1;
gotoAndStop (1);
Symbol 332 MovieClip Frame 100
stop();
Symbol 339 MovieClip Frame 1
stop();
bombalive = true;
bombexploding = false;
Symbol 339 MovieClip Frame 2
stop();
bombalive = true;
bombexploding = false;
Symbol 339 MovieClip Frame 3
stop();
bombalive = true;
bombexploding = false;
Symbol 339 MovieClip Frame 4
bombexploding = true;
Symbol 339 MovieClip Frame 36
stop();
bombalive = false;
Symbol 344 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 2
_root.beatgame = true;
Symbol 344 MovieClip Frame 24
stop();