Frame 1
stopAllSounds();
_root.bytesLoaded = _root.getBytesLoaded();
_root.bytesTotal = _root.getBytesTotal();
_root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal));
_root.percentLoadedText = _root.percentLoaded + "%";
_root.bar.gotoAndStop(percentLoaded);
Frame 2
if (_root.percentLoaded == 100) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Frame 3
stop();
Frame 4
stop();
Frame 5
_global.endless = false;
_global.survival = false;
_global.extreme = false;
_global.extras = false;
_global.stageTwo = false;
_global.stageThree = false;
_global.stageFour = false;
_global.stageFive = false;
_global.stageSix = false;
_global.stageSeven = false;
_global.stageEight = false;
_global.stageNine = false;
_global.stageTen = false;
_global.stageEleven = false;
_global.stageTwelve = false;
_global.stageThirteen = false;
_global.stageFourteen = false;
_global.stageFifteen = false;
_global.stageSixteen = false;
_global.stageSeventeen = false;
_global.stageEighteen = false;
_global.stageNineteen = false;
_global.stageTwenty = false;
_global.stageTwentyOne = false;
_global.endlessOne = false;
_global.endlessTwo = false;
_global.endlessThree = false;
_global.endlessFour = false;
_global.endlessFive = false;
_global.endlessSix = false;
_global.endlessSeven = false;
_global.endlessEight = false;
_global.endlessNine = false;
_global.endlessTen = false;
_global.survivalOne = false;
_global.survivalTwo = false;
_global.survivalThree = false;
_global.survivalFour = false;
_global.survivalFive = false;
_global.survivalSix = false;
_global.survivalSeven = false;
_global.extremeOne = false;
_global.extremeTwo = false;
_global.extremeThree = false;
_global.extremeFour = false;
_global.extremeFive = false;
_global.extremeSix = false;
_global.extremeSeven = false;
_global.extremeEight = false;
_global.endlessOneHigh = 0;
_global.endlessTwoHigh = 0;
_global.endlessThreeHigh = 0;
_global.endlessFourHigh = 0;
_global.endlessFiveHigh = 0;
_global.endlessSixHigh = 0;
_global.endlessSevenHigh = 0;
_global.endlessEightHigh = 0;
_global.endlessNineHigh = 0;
_global.endlessTenHigh = 0;
_global.survivalOneHigh = 0;
_global.survivalTwoHigh = 0;
_global.survivalThreeHigh = 0;
_global.survivalFourHigh = 0;
_global.survivalFiveHigh = 0;
_global.survivalSixHigh = 0;
_global.survivalSevenHigh = 0;
_global.survivalEightHigh = 0;
_global.extraHigh = 0;
_global.currentScore = 0;
_global.highScore = 0;
_quality = "MEDIUM";
playerHurt = new Sound();
playerHurt.attachSound("playerHurt");
machineGun = new Sound();
machineGun.attachSound("machineGun");
musicOne = new Sound();
musicOne.attachSound("musicOne");
musicTwo = new Sound();
musicTwo.attachSound("musicTwo");
musicThree = new Sound();
musicThree.attachSound("musicThree");
Frame 6
Mouse.hide();
menuOpen = false;
_root.machineGun.stop("machineGun");
_root.aimer.removeMovieClip();
_global.enemyCounterControl = 0;
_global.backGroundControl = 0;
_global.stageName = "";
Instance of Symbol 82 MovieClip "progressive" in Frame 6
onClipEvent (enterFrame) {
if (_root.menuOpen) {
this.gotoAndStop(1);
}
}
Instance of Symbol 85 MovieClip "endless" in Frame 6
onClipEvent (enterFrame) {
if (_root.menuOpen) {
this.gotoAndStop(1);
}
}
Instance of Symbol 88 MovieClip "survival" in Frame 6
onClipEvent (enterFrame) {
if (_root.menuOpen) {
this.gotoAndStop(1);
}
}
Instance of Symbol 91 MovieClip "extreme" in Frame 6
onClipEvent (enterFrame) {
if (_root.menuOpen) {
this.gotoAndStop(1);
}
}
Instance of Symbol 94 MovieClip "extras" in Frame 6
onClipEvent (enterFrame) {
if (_root.menuOpen) {
this.gotoAndStop(1);
}
}
Instance of Symbol 97 MovieClip in Frame 6
onClipEvent (load) {
if (_global.endless) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Frame 6
onClipEvent (load) {
if (_global.survival) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Frame 6
onClipEvent (load) {
if (_global.extreme) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Frame 6
onClipEvent (load) {
if (_global.extras) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 112 MovieClip in Frame 6
onClipEvent (load) {
capsuleActivated = true;
activated = false;
}
onClipEvent (enterFrame) {
if (capsuleActivated && (!_root.menuOpen)) {
if (this.hitTest(_root.hitPrecision) && (!activated)) {
this.light.gotoAndStop(2);
this.gotoAndPlay("activated");
_root.progressive.gotoAndStop(2);
activated = true;
}
if (!this.hitTest(_root.hitPrecision)) {
activated = false;
this.gotoAndStop("unlocked");
this.light.gotoAndStop(1);
_root.progressive.gotoAndStop(1);
}
}
if (_root.menuOpen) {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
if ((activated && (this.hitTest(_root.hitPrecision))) && (!_root.menuOpen)) {
_root.window.gotoAndStop("progressive");
_root.menuOpen = true;
}
}
Instance of Symbol 112 MovieClip in Frame 6
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (_global.endless && (!_root.menuOpen)) {
if (this.hitTest(_root.hitPrecision) && (!activated)) {
this.light.gotoAndStop(2);
this.gotoAndPlay("activated");
_root.endless.gotoAndStop(2);
activated = true;
}
if (!this.hitTest(_root.hitPrecision)) {
this.light.gotoAndStop(1);
activated = false;
this.gotoAndStop("unlocked");
_root.endless.gotoAndStop(1);
}
}
if (_root.menuOpen) {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
if ((activated && (this.hitTest(_root.hitPrecision))) && (!_root.menuOpen)) {
_root.window.gotoAndStop("endless");
_root.menuOpen = true;
}
}
Instance of Symbol 112 MovieClip in Frame 6
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (_global.survival && (!_root.menuOpen)) {
if (this.hitTest(_root.hitPrecision) && (!activated)) {
this.light.gotoAndStop(2);
this.gotoAndPlay("activated");
_root.survival.gotoAndStop(2);
activated = true;
}
if (!this.hitTest(_root.hitPrecision)) {
this.light.gotoAndStop(1);
activated = false;
this.gotoAndStop("unlocked");
_root.survival.gotoAndStop(1);
}
}
if (_root.menuOpen) {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
if ((activated && (this.hitTest(_root.hitPrecision))) && (!_root.menuOpen)) {
_root.window.gotoAndStop("survival");
_root.menuOpen = true;
}
}
Instance of Symbol 112 MovieClip in Frame 6
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (_global.extreme && (!_root.menuOpen)) {
if (this.hitTest(_root.hitPrecision) && (!activated)) {
this.light.gotoAndStop(2);
this.gotoAndPlay("activated");
_root.extreme.gotoAndStop(2);
activated = true;
}
if (!this.hitTest(_root.hitPrecision)) {
this.light.gotoAndStop(1);
activated = false;
this.gotoAndStop("unlocked");
_root.extreme.gotoAndStop(1);
}
}
if (_root.menuOpen) {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
if ((activated && (this.hitTest(_root.hitPrecision))) && (!_root.menuOpen)) {
_root.window.gotoAndStop("extreme");
_root.menuOpen = true;
}
}
Instance of Symbol 112 MovieClip in Frame 6
onClipEvent (load) {
activated = false;
}
onClipEvent (enterFrame) {
if (_global.extras && (!_root.menuOpen)) {
if (this.hitTest(_root.hitPrecision) && (!activated)) {
this.light.gotoAndStop(2);
this.gotoAndPlay("activated");
_root.extras.gotoAndStop(2);
activated = true;
}
if (!this.hitTest(_root.hitPrecision)) {
this.light.gotoAndStop(1);
activated = false;
this.gotoAndStop("unlocked");
_root.extras.gotoAndStop(1);
}
}
if (_root.menuOpen) {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
if ((activated && (this.hitTest(_root.hitPrecision))) && (!_root.menuOpen)) {
_root.window.gotoAndStop("extras");
_root.menuOpen = true;
}
}
Instance of Symbol 202 MovieClip "hitPrecision" in Frame 6
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 205 MovieClip "parentAimer" in Frame 7
onClipEvent (load) {
_x = _root._xmouse;
_y = _root._ymouse;
shake = false;
if (this._name == "parentAimer") {
this.duplicateMovieClip("aimer", 2000);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
if (shake) {
_x = (_root._xmouse + ((Math.random() * 5) - 3));
_y = (_root._ymouse + ((Math.random() * 5) - 3));
}
}
onClipEvent (mouseDown) {
shake = true;
}
onClipEvent (mouseUp) {
shake = false;
}
Frame 14
stop();
Frame 15
function enemyClear() {
c = 1;
while (c < 100) {
_root["enemy" + c].hitPoints = 0;
_root["enemyTwo" + c].hitPoints = 0;
c++;
}
}
function enemyDeath() {
c = 1;
while (c < 300) {
_root["enemy" + c].removeMovieClip();
_root["enemyTwo" + c].removeMovieClip();
c++;
}
}
function deathFunction() {
playerHurt.start();
_root.character._x = 200;
_root.character._y = -200;
_root.character.injuredTimer = 50;
playerInjured = true;
if (lives > 1) {
_root.lifeBar.life._width = 5;
lives--;
} else {
gameOverFunction();
}
}
function injuredFunction() {
playerHurt.start();
_root.character.injuredTimer = 30;
_root.lifeBar.life._width = _root.lifeBar.life._width + 40;
playerInjured = true;
}
function gameOverFunction() {
_root.aimer.removeMovieClip();
enemyDeath();
_root.gotoAndPlay("GameOver");
}
dropDown = false;
musicNumber = 1;
musicControl = 1;
musicOne.start();
mouseActive = false;
playerInjured = false;
lives = 5;
enemyCounter = 0;
onesPlace = 0;
tensPlace = 0;
hundredsPlace = 0;
thousandsPlace = 0;
qualityControl = 1;
c = 1;
i = 1;
keyListener = new Object();
mouseListener = new Object();
counterFunction = function () {
onesPlace = enemyCounter - (Math.floor(enemyCounter / 10) * 10);
tensPlace = ((enemyCounter - (Math.floor(enemyCounter / 100) * 100)) - onesPlace) / 10;
hundredsPlace = (((enemyCounter - (Math.floor(enemyCounter / 1000) * 1000)) - onesPlace) - tensPlace) / 100;
thousandsPlace = ((((enemyCounter - (Math.floor(enemyCounter / 10000) * 10000)) - onesPlace) - tensPlace) - hundredsPlace) / 1000;
_global.enemyCounterControl++;
_root.conCirc.gameControl();
};
mouseListener.onMouseDown = function () {
mouseActive = true;
};
mouseListener.onMouseUp = function () {
mouseActive = false;
};
keyListener.onKeyDown = function () {
if (Key.isDown(83)) {
dropDown = true;
}
if (Key.isDown(69)) {
if ((musicNumber == 4) && (musicControl == 1)) {
musicNumber = 1;
musicTwo.stop();
_root.soundClip.gotoAndStop(1);
musicControl = 2;
}
if ((musicNumber == 3) && (musicControl == 1)) {
musicNumber = 4;
musicTwo.stop();
_root.soundClip.gotoAndStop(4);
musicControl = 2;
}
if ((musicNumber == 2) && (musicControl == 1)) {
musicNumber = 3;
musicOne.stop();
_root.soundClip.gotoAndStop(2);
musicControl = 2;
}
if ((musicNumber == 1) && (musicControl == 1)) {
musicNumber = 2;
musicOne.stop();
_root.soundClip.gotoAndStop(3);
musicControl = 2;
}
}
if (Key.isDown(81)) {
if ((_quality == "HIGH") && (qualityControl == 1)) {
_quality = "LOW";
qualityControl = 2;
}
if ((_quality == "MEDIUM") && (qualityControl == 1)) {
_quality = "HIGH";
qualityControl = 2;
}
if ((_quality == "LOW") && (qualityControl == 1)) {
_quality = "MEDIUM";
qualityControl = 2;
}
}
};
keyListener.onKeyUp = function () {
if (!Key.isDown(83)) {
dropDown = false;
}
if (!Key.isDown(81)) {
qualityControl = 1;
}
if (!Key.isDown(69)) {
musicControl = 1;
}
};
Key.addListener(keyListener);
Mouse.addListener(mouseListener);
_root.aimer.removeMovieClip();
_root.machineGun.stop("machineGun");
Instance of Symbol 210 MovieClip "soundClip" in Frame 15
onClipEvent (load) {
_root.musicOne.stop();
this.gotoAndStop(4);
}
Instance of Symbol 210 MovieClip "soundClip" in Frame 16
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 230 MovieClip in Frame 59
onClipEvent (load) {
this.gotoAndStop(_root.onesPlace);
}
onClipEvent (enterFrame) {
if (_root.onesPlace == 0) {
this.gotoAndStop(10);
} else {
this.gotoAndStop(_root.onesPlace);
}
}
Instance of Symbol 230 MovieClip in Frame 59
onClipEvent (load) {
this.gotoAndStop(_root.tensPlace);
}
onClipEvent (enterFrame) {
if (_root.tensPlace == 0) {
this.gotoAndStop(10);
} else {
this.gotoAndStop(_root.tensPlace);
}
}
Instance of Symbol 230 MovieClip in Frame 59
onClipEvent (load) {
this.gotoAndStop(_root.hundredsPlace);
}
onClipEvent (enterFrame) {
if (_root.hundredsPlace == 0) {
this.gotoAndStop(10);
} else {
this.gotoAndStop(_root.hundredsPlace);
}
}
Instance of Symbol 230 MovieClip in Frame 59
onClipEvent (load) {
this.gotoAndStop(_root.thousandsPlace);
}
onClipEvent (enterFrame) {
if (_root.thousandsPlace == 0) {
this.gotoAndStop(10);
} else {
this.gotoAndStop(_root.thousandsPlace);
}
}
Instance of Symbol 230 MovieClip in Frame 59
onClipEvent (load) {
this.gotoAndStop(_root.lives);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.lives);
if (_root.lives <= 0) {
_root.gameOverFunction();
}
}
Frame 71
_root.gotoAndStop(_global.stageName);
Instance of Symbol 271 MovieClip "character" in Frame 71
onClipEvent (load) {
a = Math.abs(_x - _root._xmouse);
b = Math.abs(_y - _root._ymouse);
rotation = (Math.atan(b / a) * 180) / Math.PI;
jumping = false;
walking = false;
falling = true;
rightStop = false;
leftStop = false;
jumpControl = false;
moveSpeed = 0;
grav_y = 0;
injuredTimer = 0;
}
onClipEvent (enterFrame) {
if (injuredTimer > 0) {
injuredTimer--;
this._alpha = Math.ceil(Math.random() * 40);
} else {
this._alpha = 100;
_root.playerInjured = false;
}
_x = (_x + moveSpeed);
if (!jumping) {
grav_y = 23;
this._y = this._y + grav_y;
this.legs.rocketBoots.gotoAndStop(1);
}
a = Math.abs(_x - _root._xmouse);
b = Math.abs(_y - _root._ymouse);
rotation = (Math.atan(b / a) * 180) / Math.PI;
if (_root._ymouse < _y) {
rotation = -rotation;
}
if (_root._xmouse < _x) {
rotation = (-rotation) - 180;
}
if (Key.isDown(68)) {
if (!rightStop) {
if (moveSpeed < 11) {
moveSpeed = moveSpeed + 2.75;
}
}
walking = true;
this.body.gotoAndStop(1);
}
if (Key.isDown(65)) {
if (!leftStop) {
if (moveSpeed > -11) {
moveSpeed = moveSpeed - 2.75;
}
}
walking = true;
this.body.gotoAndStop(2);
}
if (((Key.isDown(87) && (!jumping)) && (!Key.isDown(83))) && (!jumpControl)) {
vel_y = 36;
jumping = true;
jumpControl = true;
}
if (!Key.isDown(87)) {
jumpControl = false;
if (jumping && (vel_y > 15)) {
vel_y = 15;
}
}
if (jumping) {
walking = false;
this.legs.rocketBoots.play();
vel_y = vel_y - 3;
if (vel_y <= -24) {
vel_y = -24;
}
_y = (_y - vel_y);
}
if ((!Key.isDown(65)) && (!Key.isDown(68))) {
if (moveSpeed > 0) {
moveSpeed = moveSpeed - 2.75;
}
if (moveSpeed < 0) {
moveSpeed = moveSpeed + 2.75;
}
walking = false;
}
if (walking) {
this.legs.play();
} else if (jumping) {
this.legs.gotoAndStop(10);
} else if (moveSpeed == 0) {
this.legs.gotoAndStop(1);
}
rightStop = false;
leftStop = false;
}
Instance of Symbol 418 MovieClip "backGround" in Frame 72
onClipEvent (enterFrame) {
if (_global.backGroundControl != 0) {
if (_global.backGroundControl == 2) {
this.gotoAndStop(50);
_global.backGroundControl = 0;
}
if (_global.backGroundControl == 3) {
this.gotoAndStop(102);
_global.backGroundControl = 0;
}
if (_global.backGroundControl == 4) {
this.gotoAndStop(135);
_global.backGroundControl = 0;
}
if (_global.backGroundControl == 5) {
this.gotoAndStop(160);
_global.backGroundControl = 0;
}
if (_global.backGroundControl == 6) {
this.gotoAndStop(196);
_global.backGroundControl = 0;
}
if (_global.backGroundControl == 7) {
this.gotoAndStop(229);
_global.backGroundControl = 0;
}
if (_global.backGroundControl == 8) {
this.gotoAndStop(261);
_global.backGroundControl = 0;
}
if (_global.backGroundControl == 9) {
this.gotoAndStop(323);
_global.backGroundControl = 0;
}
if (_global.backGroundControl == 10) {
this.gotoAndStop(410);
_global.backGroundControl = 0;
}
if (_global.backGroundControl == 11) {
this.gotoAndStop(467);
_global.backGroundControl = 0;
}
if (_global.backGroundControl == 12) {
this.gotoAndPlay(480);
_global.backGroundControl = 0;
}
if (_global.backGroundControl == 13) {
this.gotoAndStop(585);
_global.backGroundControl = 0;
}
if (_global.backGroundControl == 14) {
this.gotoAndStop(615);
_global.backGroundControl = 0;
}
if (_global.backGroundControl == 15) {
this.gotoAndStop(638);
_global.backGroundControl = 0;
}
if (_global.backGroundControl == 16) {
this.gotoAndStop(715);
_global.backGroundControl = 0;
}
if (_global.backGroundControl == 17) {
this.gotoAndStop(760);
_global.backGroundControl = 0;
}
if (_global.backGroundControl == 18) {
this.gotoAndStop(830);
_global.backGroundControl = 0;
}
if (_global.backGroundControl == 19) {
this.gotoAndStop(901);
_global.backGroundControl = 0;
}
if (_global.backGroundControl == 20) {
this.gotoAndStop(940);
_global.backGroundControl = 0;
}
if (_global.backGroundControl == 21) {
this.gotoAndStop(1005);
_global.backGroundControl = 0;
}
}
}
Instance of Symbol 424 MovieClip "parentFlash" in Frame 72
onClipEvent (load) {
if (_name == "parentFlash") {
this.duplicateMovieClip("blueFlash", 3000);
}
}
Instance of Symbol 245 MovieClip in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.character)) {
_root.deathFunction();
}
}
Instance of Symbol 202 MovieClip "conCirc" in Frame 84
onClipEvent (load) {
ghostCounter = 0;
}
onClipEvent (enterFrame) {
function hitFunction(hit) {
if (hit == "right") {
_root.character.rightStop = true;
}
if (hit == "left") {
_root.character.leftStop = true;
}
if (hit == "floor") {
_root.character.grav_y = 0;
_root.character.jumping = false;
_root.character.vel_y = 0;
_root.character.falling = false;
}
}
function gameControl() {
if (_global.enemyCounterControl == 60) {
_root.backGround.play();
}
if (_global.enemyCounterControl == 70) {
_root.turretOne.recede = true;
_root.turretTwo.recede = true;
_root.backGround.play();
}
if (_global.enemyCounterControl == 100) {
_root.backGround.play();
}
if (_global.enemyCounterControl == 115) {
_root.backGround.play();
}
if (_global.enemyCounterControl == 140) {
_root.backGround.play();
}
if (ghostCounter == 3) {
ghostCounter = 0;
_root.backGround.play();
}
if (_global.enemyCounterControl == 165) {
_root.backGround.play();
}
if (_global.enemyCounterControl == 169) {
_root.backGround.play();
}
if (_global.enemyCounterControl == 173) {
_root.backGround.play();
}
if (_global.enemyCounterControl == 181) {
_root.backGround.play();
}
}
Mouse.hide();
}
Instance of Symbol 205 MovieClip "parentAimer" in Frame 84
onClipEvent (load) {
_x = _root._xmouse;
_y = _root._ymouse;
shake = false;
if (this._name == "parentAimer") {
this.duplicateMovieClip("aimer", 2000);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
if (shake) {
_x = (_root._xmouse + ((Math.random() * 5) - 3));
_y = (_root._ymouse + ((Math.random() * 5) - 3));
}
}
onClipEvent (mouseDown) {
_root.machineGun.start(0, 100);
shake = true;
}
onClipEvent (mouseUp) {
_root.machineGun.stop("machineGun");
shake = false;
}
Instance of Symbol 202 MovieClip "hitPrecision" in Frame 84
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 436 MovieClip "bulletDirt" in Frame 84
onClipEvent (load) {
if (this._name != "bulletDirt") {
this._x = (_root._xmouse + (Math.random() * 20)) - 10;
this._y = (_root._ymouse + (Math.random() * 20)) - 10;
_root.bulletDirt.timer = 2;
}
if (this._name == "bulletDirt") {
dirtCounter = 1;
maxDirt = 10;
depthCounter = 1;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
}
if (firing) {
if ((dirtCounter <= maxDirt) && (timer == 0)) {
dirtCounter++;
depthCounter++;
_root.bulletDirt.duplicateMovieClip("dirt" + depthCounter, depthCounter + 300);
if (depthCounter >= maxDirt) {
depthCounter = 1;
dirtCounter = 1;
}
}
} else {
dirtCounter = 1;
maxDirt = 10;
depthCounter = 1;
timer = 0;
firing = false;
}
}
onClipEvent (mouseDown) {
firing = true;
}
onClipEvent (mouseUp) {
firing = false;
}
Frame 89
stop();
Instance of Symbol 443 MovieClip "parentEnemy" in Frame 89
onClipEvent (load) {
if (_name != "parentEnemy") {
changeDirection = false;
injured = false;
_y = 560;
_x = 825;
hitPoints = 2;
moveSpeed = Math.ceil((Math.random() * 13) + 2);
}
if (_name == "parentEnemy") {
i = 1;
timer = 45;
enemyCounter = 0;
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
if (!changeDirection) {
if ((_x < -50) or (_x > 850)) {
moveSpeed = -moveSpeed;
}
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemy.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
if (_name == "parentEnemy") {
if (timer > 0) {
timer--;
}
if ((timer == 0) && (_root.enemyCounter < 62)) {
if (enemyCounter < 2) {
this.duplicateMovieClip("enemy" + i, i + 20);
i++;
enemyCounter++;
}
timer = 5;
}
}
}
Instance of Symbol 393 MovieClip in Frame 89
onClipEvent (load) {
timer = 20;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
_alpha = (_alpha + 20);
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
if (_root.enemyCounter == 30) {
timer = 20;
_x = 100;
this.gotoAndStop("left");
}
}
Instance of Symbol 443 MovieClip "parentEnemyTwo" in Frame 89
onClipEvent (load) {
if (_name != "parentEnemyTwo") {
changeDirection = false;
injured = false;
_y = 560;
_x = -30;
hitPoints = 2;
moveSpeed = -Math.ceil((Math.random() * 13) + 4);
}
if (_name == "parentEnemyTwo") {
i = 1;
timer = 25;
enemyCounter = 0;
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyTwo") {
if (!changeDirection) {
if ((_x < -50) or (_x > 850)) {
moveSpeed = -moveSpeed;
}
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemyTwo.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
if (_name == "parentEnemyTwo") {
if (_root.enemyCounter > 30) {
if (timer > 0) {
timer--;
}
if ((timer == 0) && (_root.enemyCounter < 62)) {
if (enemyCounter < 2) {
this.duplicateMovieClip("enemyTwo" + i, i + 20);
i++;
enemyCounter++;
}
timer = 5;
}
}
}
}
Frame 90
_global.stageTwo = true;
_root.blueFlash.play();
Instance of Symbol 393 MovieClip in Frame 90
onClipEvent (load) {
this.gotoAndStop("down");
timer = 20;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
_alpha = (_alpha + 20);
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 393 MovieClip in Frame 90
onClipEvent (load) {
this.gotoAndStop("down");
timer = 20;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
_alpha = (_alpha + 20);
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 453 MovieClip "turretOne" in Frame 90
onClipEvent (load) {
startY = _y;
injured = false;
recede = false;
hitPoints = 30;
timer = 30;
i = 30;
}
onClipEvent (enterFrame) {
if (!recede) {
if (timer > 0) {
timer--;
} else {
if (_y > 300) {
_y = (_y - 15);
} else {
_y == 300;
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints == -1) {
if (this.deathTurret._y < 600) {
this.deathTurret._y = this.deathTurret._y + 15;
} else {
hitPoints = 30;
_y = startY;
this.gotoAndStop(1);
}
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
} else {
_y = (_y + 25);
}
}
Instance of Symbol 453 MovieClip "turretTwo" in Frame 90
onClipEvent (load) {
startY = _y;
injured = false;
recede = false;
hitPoints = 30;
timer = 30;
i = 10;
}
onClipEvent (enterFrame) {
if (!recede) {
if (timer > 0) {
timer--;
} else {
if (_y > 300) {
_y = (_y - 15);
} else {
_y == 300;
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints == -1) {
if (this.deathTurret._y < 600) {
this.deathTurret._y = this.deathTurret._y + 15;
} else {
hitPoints = 30;
_y = startY;
this.gotoAndStop(1);
}
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
} else {
_y = (_y + 25);
}
}
Frame 91
_global.stageThree = true;
Instance of Symbol 484 MovieClip "laserBoss" in Frame 91
onClipEvent (load) {
injured = false;
hitPoints = 70;
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
this.innerLaser.gotoAndStop("death");
this.play();
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.innerLaser.gotoAndStop("injured");
} else {
this.innerLaser.gotoAndStop(1);
}
}
}
Frame 92
_global.stageFour = true;
Instance of Symbol 486 MovieClip "parentEnemy" in Frame 92
onClipEvent (load) {
if (_name != "parentEnemy") {
_y = -25;
_x = (Math.random() * Stage.width);
hitPoints = 1;
ySpeed = 20;
}
if (_name == "parentEnemy") {
i = 1;
timer = 45;
enemyCounter = 0;
enemyMax = 15;
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
if (hitTest(_root.character.body)) {
_root.parentEnemy.enemyCounter--;
this.gotoAndStop("death");
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemy.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_y = (_y + ySpeed);
_rotation = (_rotation + 5);
if (_y > 725) {
if (_currentframe != "death") {
_root.parentEnemy.enemyCounter--;
}
this.removeMovieClip();
}
}
}
if (_name == "parentEnemy") {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < enemyMax) {
this.duplicateMovieClip("enemy" + i, i + 30);
i++;
enemyCounter++;
}
timer = 8;
}
}
}
Instance of Symbol 486 MovieClip "parentEnemyTwo" in Frame 92
onClipEvent (load) {
if (_name != "parentEnemyTwo") {
_y = -25;
_x = (Math.random() * Stage.width);
ySpeed = 20;
}
if (_name == "parentEnemyTwo") {
i = 1;
timer = 45;
enemyCounter = 0;
enemyMax = 15;
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyTwo") {
if (hitTest(_root.character.body)) {
_root.parentEnemyTwo.enemyCounter--;
this.gotoAndStop("death");
}
_y = (_y + ySpeed);
_rotation = (_rotation - 5);
if (_y > 725) {
if (_currentframe != "death") {
_root.parentEnemyTwo.enemyCounter--;
}
this.removeMovieClip();
}
}
if (_name == "parentEnemyTwo") {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < enemyMax) {
this.duplicateMovieClip("enemyTwo" + i, i + 20);
i++;
enemyCounter++;
}
timer = 15;
}
}
}
Instance of Symbol 393 MovieClip in Frame 92
onClipEvent (load) {
this.gotoAndStop("up");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 393 MovieClip in Frame 92
onClipEvent (load) {
this.gotoAndStop("up");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 393 MovieClip in Frame 92
onClipEvent (load) {
this.gotoAndStop("up");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Frame 93
_global.stageFive = true;
_root.blueFlash.play();
Instance of Symbol 496 MovieClip "parentEnemy" in Frame 93
onClipEvent (load) {
if (_name != "parentEnemy") {
xPos = _x;
yPos = _y;
xSpeed = 5;
ySpeed = 2.5;
hitPoints = 25;
_y = (Math.random() * Stage.height);
charX = _root.character._x;
charY = _root.character._y;
}
if (_name == "parentEnemy") {
i = 1;
timer = 45;
enemyCounter = 0;
enemyMax = 2;
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemy.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
_x = (_x + xSpeed);
_y = (_y + ySpeed);
xPos = _x;
yPos = _y;
charX = _root.character._x;
charY = _root.character._y;
if (xPos != charX) {
if (charX > xPos) {
if (xSpeed < 5) {
xSpeed = xSpeed + 0.5;
}
} else if (xSpeed > -5) {
xSpeed = xSpeed - 0.5;
}
}
if (yPos != charY) {
if (charY > yPos) {
if (ySpeed < 2.5) {
ySpeed = ySpeed + 0.5;
}
} else if (ySpeed > -2.5) {
ySpeed = ySpeed - 0.5;
}
}
}
}
if (_name == "parentEnemy") {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < enemyMax) {
this.duplicateMovieClip("enemy" + i, i + 40);
i++;
enemyCounter++;
}
timer = 25;
}
}
}
Instance of Symbol 496 MovieClip "parentEnemyTwo" in Frame 93
onClipEvent (load) {
if (_name != "parentEnemyTwo") {
xPos = _x;
yPos = _y;
xSpeed = 5;
ySpeed = 2.5;
hitPoints = 25;
_y = (Math.random() * Stage.height);
charX = _root.character._x;
charY = _root.character._y;
}
if (_name == "parentEnemyTwo") {
i = 1;
timer = 45;
enemyCounter = 0;
enemyMax = 2;
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyTwo") {
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemyTwo.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
_x = (_x + xSpeed);
_y = (_y + ySpeed);
xPos = _x;
yPos = _y;
charX = _root.character._x;
charY = _root.character._y;
if (xPos != charX) {
if (charX > xPos) {
if (xSpeed < 5) {
xSpeed = xSpeed + 0.5;
}
} else if (xSpeed > -5) {
xSpeed = xSpeed - 0.5;
}
}
if (yPos != charY) {
if (charY > yPos) {
if (ySpeed < 2.5) {
ySpeed = ySpeed + 0.5;
}
} else if (ySpeed > -2.5) {
ySpeed = ySpeed - 0.5;
}
}
}
}
if (_name == "parentEnemyTwo") {
if (timer > 0) {
timer--;
}
if ((timer == 0) && (_global.enemyCounterControl >= 105)) {
if (enemyCounter < enemyMax) {
this.duplicateMovieClip("enemyTwo" + i, i + 20);
i++;
enemyCounter++;
}
timer = 25;
}
}
}
Instance of Symbol 393 MovieClip in Frame 93
onClipEvent (load) {
this.gotoAndStop("right");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
if (_global.enemyCounterControl == 104) {
timer = 20;
_x = 100;
this.gotoAndStop("left");
}
}
Frame 94
_global.stageSix = true;
_root.blueFlash.play();
Instance of Symbol 509 MovieClip "plantBoss" in Frame 94
onClipEvent (load) {
injured = false;
hitPoints = 700;
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
this.gotoAndPlay("death");
this.plantCenter.gotoAndStop(1);
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.plantCenter.gotoAndStop("injured");
} else {
this.plantCenter.gotoAndStop(1);
}
}
}
Frame 95
_global.stageSeven = true;
Instance of Symbol 511 MovieClip "parentEnemy" in Frame 95
onClipEvent (load) {
if (_name != "parentEnemy") {
xSpeed = 10;
_y = ((Math.random() * (Stage.height - 50)) + 25);
}
if (_name == "parentEnemy") {
i = 1;
timer = 40;
frameControl = 0;
enemyCounter = 0;
enemyMax = 5;
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
_x = (_x + xSpeed);
if (_x > 900) {
_root.parentEnemy.enemyCounter--;
this.removeMovieClip();
}
}
if (_name == "parentEnemy") {
if (frameControl >= 25) {
_root.backGround.play();
}
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < enemyMax) {
this.duplicateMovieClip("enemy" + i, i + 30);
i++;
frameControl++;
enemyCounter++;
}
timer = 20;
}
}
}
Frame 96
_global.stageEight = true;
_root.blueFlash.play();
Instance of Symbol 511 MovieClip "parentEnemy" in Frame 96
onClipEvent (load) {
if (_name != "parentEnemy") {
xSpeed = _root.parentEnemy.xSpeed;
_y = ((Math.random() * (Stage.height - 50)) + 25);
}
if (_name == "parentEnemy") {
i = 1;
xSpeed = 10;
timer = 40;
frameControl = 0;
enemyCounter = 0;
enemyMax = 6;
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
_x = (_x + xSpeed);
if (_x > 900) {
_root.parentEnemy.enemyCounter--;
this.removeMovieClip();
}
}
if (_name == "parentEnemy") {
if (frameControl >= 30) {
_root.spikesOne.play();
_root.spikesTwo.play();
_root.backGround.play();
}
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < enemyMax) {
this.duplicateMovieClip("enemy" + i, i + 30);
i++;
frameControl++;
enemyCounter++;
}
xSpeed = xSpeed + 0.5;
timer = 25;
}
}
}
Frame 97
_global.stageNine = true;
_root.blueFlash.play();
Frame 98
_global.stageTen = true;
Instance of Symbol 486 MovieClip "parentEnemy" in Frame 98
onClipEvent (load) {
if (_name != "parentEnemy") {
_y = -25;
_x = (Math.random() * Stage.width);
hitPoints = 1;
ySpeed = 20;
}
if (_name == "parentEnemy") {
i = 1;
timer = 45;
enemyCounter = 0;
enemyMax = 15;
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
if (hitTest(_root.character.body)) {
_root.parentEnemy.enemyCounter--;
this.gotoAndStop("death");
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemy.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_y = (_y + ySpeed);
_rotation = (_rotation + 5);
if (_y > 725) {
_root.parentEnemy.enemyCounter--;
this.removeMovieClip();
}
}
}
if (_name == "parentEnemy") {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < enemyMax) {
this.duplicateMovieClip("enemy" + i, i + 30);
i++;
enemyCounter++;
}
timer = 9;
}
}
}
Instance of Symbol 393 MovieClip in Frame 98
onClipEvent (load) {
this.gotoAndStop("up");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 393 MovieClip in Frame 98
onClipEvent (load) {
this.gotoAndStop("up");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 393 MovieClip in Frame 98
onClipEvent (load) {
this.gotoAndStop("up");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Frame 99
_global.stageEleven = true;
_root.blueFlash.play();
Instance of Symbol 530 MovieClip in Frame 99
onClipEvent (load) {
_alpha = 0;
_x = (Math.random() * Stage.width);
_y = ((Math.random() * (Stage.height - 50)) + 30);
timer = 100;
hitPoints = 175;
injured = false;
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.conCirc.ghostCounter++;
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
if (timer > 0) {
timer--;
} else {
_x = (Math.random() * Stage.width);
_y = ((Math.random() * (Stage.height - 50)) + 30);
timer = 100;
}
if ((timer <= 10) && (_alpha > 0)) {
_alpha = (_alpha - 10);
}
if ((timer >= 90) && (_alpha < 100)) {
_alpha = (_alpha + 10);
}
if (timer == 90) {
this.ghostShot.play();
}
}
}
Instance of Symbol 530 MovieClip in Frame 99
onClipEvent (load) {
_alpha = 0;
_x = (Math.random() * Stage.width);
_y = ((Math.random() * (Stage.height - 50)) + 30);
timer = 66;
hitPoints = 175;
injured = false;
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.conCirc.ghostCounter++;
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
if (timer > 0) {
timer--;
} else {
_x = (Math.random() * Stage.width);
_y = ((Math.random() * (Stage.height - 50)) + 30);
timer = 100;
}
if ((timer <= 10) && (_alpha > 0)) {
_alpha = (_alpha - 10);
}
if ((timer >= 90) && (_alpha < 100)) {
_alpha = (_alpha + 10);
}
if (timer == 90) {
this.ghostShot.play();
}
}
}
Instance of Symbol 530 MovieClip in Frame 99
onClipEvent (load) {
_alpha = 0;
_x = (Math.random() * Stage.width);
_y = ((Math.random() * (Stage.height - 50)) + 30);
timer = 33;
hitPoints = 175;
injured = false;
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.conCirc.ghostCounter++;
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
if (timer > 0) {
timer--;
} else {
_x = (Math.random() * Stage.width);
_y = ((Math.random() * (Stage.height - 50)) + 30);
timer = 100;
}
if ((timer <= 10) && (_alpha > 0)) {
_alpha = (_alpha - 10);
}
if ((timer >= 90) && (_alpha < 100)) {
_alpha = (_alpha + 10);
}
if (timer == 90) {
this.ghostShot.play();
}
}
}
Frame 100
_global.stageTwelve = true;
Frame 101
_global.stageThirteen = true;
Instance of Symbol 569 MovieClip "parentEnemy" in Frame 101
onClipEvent (load) {
if (_name != "parentEnemy") {
injured = false;
_y = ((Math.random() * 150) + 40);
_x = 825;
hitPoints = 20;
moveSpeed = 4;
}
if (_name == "parentEnemy") {
this.gotoAndStop(1);
i = 1;
timer = 30;
enemyCounter = 0;
enemyMax = 5;
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
if (_x < -75) {
_root.parentEnemy.enemyCounter--;
this.removeMovieClip();
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemy.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_x = (_x - moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
if (_name == "parentEnemy") {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < enemyMax) {
this.duplicateMovieClip("enemy" + i, i + 30);
i++;
enemyCounter++;
}
timer = 60;
}
}
}
Instance of Symbol 569 MovieClip "parentEnemyTwo" in Frame 101
onClipEvent (load) {
if (_name != "parentEnemyTwo") {
injured = false;
_y = ((Math.random() * 150) + 40);
_x = -75;
hitPoints = 20;
moveSpeed = 4;
}
if (_name == "parentEnemyTwo") {
this.gotoAndStop(1);
i = 1;
timer = 30;
enemyCounter = 0;
enemyMax = 5;
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyTwo") {
if (_x > 825) {
_root.parentEnemyTwo.enemyCounter--;
this.removeMovieClip();
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemyTwo.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_x = (_x + moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
if (_name == "parentEnemyTwo") {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < enemyMax) {
this.duplicateMovieClip("enemyTwo" + i, i + 50);
i++;
enemyCounter++;
}
timer = 60;
}
}
}
Instance of Symbol 393 MovieClip in Frame 101
onClipEvent (load) {
this.gotoAndStop("right");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
if (_root.enemyCounter == 104) {
timer = 20;
_x = 100;
this.gotoAndStop("left");
}
}
Instance of Symbol 393 MovieClip in Frame 101
onClipEvent (load) {
this.gotoAndStop("left");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
if (_root.enemyCounter == 104) {
timer = 20;
_x = 100;
this.gotoAndStop("left");
}
}
Frame 102
_global.stageFourteen = true;
_root.blueFlash.play();
Instance of Symbol 571 MovieClip "parentEnemy" in Frame 102
onClipEvent (load) {
if (_name != "parentEnemy") {
_y = -100;
_xscale = ((Math.random() * 100) + 25);
_yscale = _xscale;
_x = (Math.random() * Stage.width);
hitPoints = 1;
ySpeed = (Math.random() * 4) + 1;
xSpeed = (Math.random() * 5) - 2.5;
}
if (_name == "parentEnemy") {
i = 1;
backgroundTimer = 1300;
timer = 45;
enemyCounter = 0;
enemyMax = 7;
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemy.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_y = (_y + ySpeed);
_x = (_x + xSpeed);
_rotation = (_rotation + xSpeed);
if (_y > 725) {
_root.parentEnemy.enemyCounter--;
this.removeMovieClip();
}
if ((_x < -125) or (_x > 900)) {
_root.parentEnemy.enemyCounter--;
this.removeMovieClip();
}
}
}
if (_name == "parentEnemy") {
if (timer > 0) {
timer--;
}
if (backgroundTimer > 0) {
backgroundTimer--;
} else {
_root.backGround.play();
}
if (timer == 0) {
if (enemyCounter < enemyMax) {
this.duplicateMovieClip("enemy" + i, i + 30);
i++;
enemyCounter++;
}
timer = 15;
}
}
}
Instance of Symbol 571 MovieClip "parentEnemyTwo" in Frame 102
onClipEvent (load) {
if (_name != "parentEnemyTwo") {
_y = 710;
_xscale = ((Math.random() * 100) + 25);
_yscale = _xscale;
_x = (Math.random() * Stage.width);
hitPoints = 1;
ySpeed = (Math.random() * 4) + 1;
xSpeed = (Math.random() * 5) - 2.5;
}
if (_name == "parentEnemyTwo") {
i = 1;
timer = 45;
enemyCounter = 0;
enemyMax = 7;
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyTwo") {
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemyTwo.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_y = (_y - ySpeed);
_x = (_x + xSpeed);
_rotation = (_rotation + xSpeed);
if (_y < -100) {
_root.parentEnemyTwo.enemyCounter--;
this.removeMovieClip();
}
if ((_x < -125) or (_x > 900)) {
_root.parentEnemyTwo.enemyCounter--;
this.removeMovieClip();
}
}
}
if (_name == "parentEnemyTwo") {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < enemyMax) {
this.duplicateMovieClip("enemyTwo" + i, i + 70);
i++;
enemyCounter++;
}
timer = 12;
}
}
}
Instance of Symbol 393 MovieClip in Frame 102
onClipEvent (load) {
this.gotoAndStop("up");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 393 MovieClip in Frame 102
onClipEvent (load) {
this.gotoAndStop("up");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 393 MovieClip in Frame 102
onClipEvent (load) {
this.gotoAndStop("down");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 393 MovieClip in Frame 102
onClipEvent (load) {
this.gotoAndStop("down");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Frame 103
_global.stageFifteen = true;
_root.blueFlash.play();
Instance of Symbol 585 MovieClip in Frame 103
onClipEvent (load) {
startRotation = false;
rotationSpeed = 0.5;
}
onClipEvent (enterFrame) {
if (startRotation) {
_rotation = (_rotation + rotationSpeed);
}
}
Frame 104
_global.stageSixteen = true;
Instance of Symbol 593 MovieClip in Frame 104
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 40;
hitPoints = 100;
attack = false;
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 60;
ySpeed = 30;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
}
Instance of Symbol 593 MovieClip in Frame 104
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 60;
hitPoints = 100;
attack = false;
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 60;
ySpeed = 30;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
}
Instance of Symbol 593 MovieClip in Frame 104
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 80;
hitPoints = 100;
attack = false;
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 60;
ySpeed = 30;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
}
Instance of Symbol 393 MovieClip in Frame 104
onClipEvent (load) {
this.gotoAndStop("down");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 393 MovieClip in Frame 104
onClipEvent (load) {
this.gotoAndStop("down");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 393 MovieClip in Frame 104
onClipEvent (load) {
this.gotoAndStop("down");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Frame 105
_global.stageSeventeen = true;
Instance of Symbol 598 MovieClip in Frame 105
onClipEvent (load) {
rotationSpeed = (Math.random() * 15) + 5;
ySpeed = 0;
hitPoints = 60;
timer = Math.ceil(Math.random() * 60);
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
_rotation = (_rotation - rotationSpeed);
if (timer > 0) {
timer--;
} else {
_x = (Math.random() * Stage.width);
attack = true;
ySpeed = Math.ceil(Math.random() * 18) + 20;
timer = ySpeed * 2;
}
if (attack) {
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
}
Instance of Symbol 598 MovieClip in Frame 105
onClipEvent (load) {
rotationSpeed = (Math.random() * 15) + 5;
ySpeed = 0;
hitPoints = 60;
timer = Math.ceil(Math.random() * 60);
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
_rotation = (_rotation - rotationSpeed);
if (timer > 0) {
timer--;
} else {
_x = (Math.random() * Stage.width);
attack = true;
ySpeed = Math.ceil(Math.random() * 18) + 20;
timer = ySpeed * 2;
}
if (attack) {
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
}
Instance of Symbol 598 MovieClip in Frame 105
onClipEvent (load) {
rotationSpeed = (Math.random() * 15) + 5;
ySpeed = 0;
hitPoints = 60;
timer = Math.ceil(Math.random() * 60);
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
_rotation = (_rotation + rotationSpeed);
if (timer > 0) {
timer--;
} else {
_x = (Math.random() * Stage.width);
attack = true;
ySpeed = Math.ceil(Math.random() * 18) + 20;
timer = ySpeed * 2;
}
if (attack) {
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
}
Instance of Symbol 598 MovieClip in Frame 105
onClipEvent (load) {
rotationSpeed = (Math.random() * 15) + 5;
ySpeed = 0;
hitPoints = 60;
timer = Math.ceil(Math.random() * 60);
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
_rotation = (_rotation + rotationSpeed);
if (timer > 0) {
timer--;
} else {
_x = (Math.random() * Stage.width);
attack = true;
ySpeed = Math.ceil(Math.random() * 18) + 20;
timer = ySpeed * 2;
}
if (attack) {
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
}
Frame 106
_global.stageEighteen = true;
Frame 107
_global.stageNineteen = true;
Instance of Symbol 604 MovieClip "crayons" in Frame 107
onClipEvent (load) {
timer = 1000;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
this.play();
_root.backGround.play();
timer = 500;
}
}
Frame 108
_global.stageTwenty = true;
Instance of Symbol 618 MovieClip "dinosaur" in Frame 108
onClipEvent (load) {
hitPoints = 500;
}
onClipEvent (enterFrame) {
if (hitPoints > 0) {
if (injured) {
this.head.gotoAndStop("injured");
} else {
this.head.gotoAndStop(1);
}
}
}
Instance of Symbol 623 MovieClip in Frame 109
onClipEvent (load) {
hitPoints = 40;
mushroomTimer = 200;
injured = false;
}
onClipEvent (enterFrame) {
if (mushroomTimer > 0) {
mushroomTimer--;
} else {
hitPoints = -1;
this.gotoAndStop("death");
_root.backGround.play();
}
if (hitPoints == 0) {
if (_root.lifeBar.life._width > 20) {
_root.lifeBar.life._width = _root.lifeBar.life._width - 20;
}
this.gotoAndStop("death");
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
if (_xscale < 200) {
_xscale = (_xscale + 0.5);
_yscale = (_yscale + 0.5);
}
}
}
Instance of Symbol 623 MovieClip in Frame 109
onClipEvent (load) {
hitPoints = 40;
mushroomTimer = 200;
injured = false;
}
onClipEvent (enterFrame) {
if (mushroomTimer > 0) {
mushroomTimer--;
} else {
hitPoints = -1;
this.gotoAndStop("death");
_root.backGround.play();
}
if (hitPoints == 0) {
if (_root.lifeBar.life._width > 20) {
_root.lifeBar.life._width = _root.lifeBar.life._width - 20;
}
this.gotoAndStop("death");
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
if (_xscale < 200) {
_xscale = (_xscale + 0.5);
_yscale = (_yscale + 0.5);
}
}
}
Instance of Symbol 623 MovieClip in Frame 109
onClipEvent (load) {
hitPoints = 40;
mushroomTimer = 200;
injured = false;
}
onClipEvent (enterFrame) {
if (mushroomTimer > 0) {
mushroomTimer--;
} else {
hitPoints = -1;
this.gotoAndStop("death");
_root.backGround.play();
}
if (hitPoints == 0) {
if (_root.lifeBar.life._width > 20) {
_root.lifeBar.life._width = _root.lifeBar.life._width - 20;
}
this.gotoAndStop("death");
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
if (_xscale < 200) {
_xscale = (_xscale + 0.5);
_yscale = (_yscale + 0.5);
}
}
}
Instance of Symbol 623 MovieClip in Frame 109
onClipEvent (load) {
hitPoints = 40;
mushroomTimer = 200;
injured = false;
}
onClipEvent (enterFrame) {
if (mushroomTimer > 0) {
mushroomTimer--;
} else {
hitPoints = -1;
this.gotoAndStop("death");
_root.backGround.play();
}
if (hitPoints == 0) {
if (_root.lifeBar.life._width > 20) {
_root.lifeBar.life._width = _root.lifeBar.life._width - 20;
}
this.gotoAndStop("death");
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
if (_xscale < 200) {
_xscale = (_xscale + 0.5);
_yscale = (_yscale + 0.5);
}
}
}
Instance of Symbol 623 MovieClip in Frame 109
onClipEvent (load) {
hitPoints = 40;
mushroomTimer = 200;
injured = false;
}
onClipEvent (enterFrame) {
if (mushroomTimer > 0) {
mushroomTimer--;
} else {
hitPoints = -1;
this.gotoAndStop("death");
_root.backGround.play();
}
if (hitPoints == 0) {
if (_root.lifeBar.life._width > 20) {
_root.lifeBar.life._width = _root.lifeBar.life._width - 20;
}
this.gotoAndStop("death");
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
if (_xscale < 200) {
_xscale = (_xscale + 0.5);
_yscale = (_yscale + 0.5);
}
}
}
Instance of Symbol 623 MovieClip in Frame 109
onClipEvent (load) {
hitPoints = 40;
mushroomTimer = 200;
injured = false;
}
onClipEvent (enterFrame) {
if (mushroomTimer > 0) {
mushroomTimer--;
} else {
hitPoints = -1;
this.gotoAndStop("death");
_root.backGround.play();
}
if (hitPoints == 0) {
if (_root.lifeBar.life._width > 20) {
_root.lifeBar.life._width = _root.lifeBar.life._width - 20;
}
this.gotoAndStop("death");
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
if (_xscale < 200) {
_xscale = (_xscale + 0.5);
_yscale = (_yscale + 0.5);
}
}
}
Frame 110
_global.stageTwentyOne = true;
_root.blueFlash.play();
Instance of Symbol 646 MovieClip "tripBoss" in Frame 110
onClipEvent (load) {
moveUp = false;
hitPoints = 900;
timer = 40;
ySpeed = 0;
changeDirection = true;
attackOne = true;
attackTwo = false;
attackThree = false;
}
onClipEvent (enterFrame) {
if ((hitPoints <= 0) && (hitPoints > -10)) {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_alpha = 100;
this.gotoAndPlay("death");
this.innerTrip.gotoAndStop(1);
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -20;
}
if (hitPoints > 0) {
if (injured) {
this.innerTrip.gotoAndStop("injured");
} else {
this.innerTrip.gotoAndStop(1);
}
if (timer > 0) {
timer--;
}
if ((hitPoints < 600) && (hitPoints > 300)) {
attackOne = false;
attackTwo = true;
}
if (hitPoints <= 300) {
attackTwo = false;
attackThree = true;
}
if (attackOne) {
this.gotoAndStop(1);
if (timer == 5) {
_alpha = 0;
}
if (timer == 20) {
this.tripBall.gotoAndStop(2);
}
if (timer == 0) {
this.tripBall.gotoAndStop(1);
_x = _root.character._x;
_y = _root.character._y;
_xscale = (-_xscale);
_alpha = 100;
timer = 40;
}
}
if (attackTwo) {
this.gotoAndStop(2);
if (timer == 5) {
_alpha = 0;
}
if (timer == 15) {
this.tripLine.play();
}
if (timer == 0) {
this.tripLine.gotoAndStop(1);
_x = (Stage.width / 2);
_y = ((Math.random() * 450) + 150);
_xscale = (-_xscale);
_alpha = 100;
timer = 30;
}
}
if (attackThree) {
this.gotoAndStop(4);
if (timer == 5) {
_alpha = 0;
}
if (timer == 15) {
this.tripLineTwo.play();
}
if (timer == 0) {
this.tripLineTwo.gotoAndStop(1);
_x = _root.character._x;
_y = (Stage.height / 2);
_xscale = (-_xscale);
_alpha = 100;
timer = 20;
}
}
_y = (_y + ySpeed);
if (moveUp) {
ySpeed++;
} else {
ySpeed--;
}
if (ySpeed >= 10) {
moveUp = false;
ySpeed = 9;
}
if (ySpeed <= -10) {
moveUp = true;
ySpeed = -9;
}
}
}
Frame 111
_root.aimer.removeMovieClip();
_root.gotoAndPlay("Completed");
Frame 112
function enemyClear() {
c = 1;
while (c < 100) {
_root["enemy" + c].hitPoints = 0;
_root["enemyTwo" + c].hitPoints = 0;
c++;
}
}
function enemyDeath() {
c = 1;
while (c < 8000) {
_root["enemy" + c].removeMovieClip();
_root["enemyTwo" + c].removeMovieClip();
c++;
}
}
function deathFunction() {
playerHurt.start();
_root.character._x = 150;
_root.character._y = -200;
_root.character.injuredTimer = 50;
playerInjured = true;
if (lives > 1) {
_root.lifeBar.life._width = 5;
lives--;
} else {
gameOverFunction();
}
}
function injuredFunction() {
playerHurt.start();
_root.character.injuredTimer = 30;
_root.lifeBar.life._width = _root.lifeBar.life._width + 40;
playerInjured = true;
}
function gameOverFunction() {
_root.aimer.removeMovieClip();
enemyDeath();
_root.gotoAndPlay("HighScore");
}
dropDown = false;
musicNumber = 1;
musicControl = 1;
musicOne.start();
mouseActive = false;
playerInjured = false;
lives = 1;
time = 0;
enemyCounter = 0;
onesPlace = 0;
tensPlace = 0;
hundredsPlace = 0;
thousandsPlace = 0;
qualityControl = 1;
c = 1;
i = 1;
d = 20;
keyListener = new Object();
mouseListener = new Object();
counterFunction = function () {
onesPlace = enemyCounter - (Math.floor(enemyCounter / 10) * 10);
tensPlace = ((enemyCounter - (Math.floor(enemyCounter / 100) * 100)) - onesPlace) / 10;
hundredsPlace = (((enemyCounter - (Math.floor(enemyCounter / 1000) * 1000)) - onesPlace) - tensPlace) / 100;
thousandsPlace = ((((enemyCounter - (Math.floor(enemyCounter / 10000) * 10000)) - onesPlace) - tensPlace) - hundredsPlace) / 1000;
_root.conCirc.gameControl(enemyCounter);
};
mouseListener.onMouseDown = function () {
mouseActive = true;
};
mouseListener.onMouseUp = function () {
mouseActive = false;
};
keyListener.onKeyDown = function () {
if (Key.isDown(83)) {
dropDown = true;
}
if (Key.isDown(69)) {
if ((musicNumber == 4) && (musicControl == 1)) {
musicNumber = 1;
musicTwo.stop();
_root.soundClip.gotoAndStop(1);
musicControl = 2;
}
if ((musicNumber == 3) && (musicControl == 1)) {
musicNumber = 4;
musicTwo.stop();
_root.soundClip.gotoAndStop(4);
musicControl = 2;
}
if ((musicNumber == 2) && (musicControl == 1)) {
musicNumber = 3;
musicOne.stop();
_root.soundClip.gotoAndStop(2);
musicControl = 2;
}
if ((musicNumber == 1) && (musicControl == 1)) {
musicNumber = 2;
musicOne.stop();
_root.soundClip.gotoAndStop(3);
musicControl = 2;
}
}
if (Key.isDown(81)) {
if ((_quality == "HIGH") && (qualityControl == 1)) {
_quality = "LOW";
qualityControl = 2;
}
if ((_quality == "MEDIUM") && (qualityControl == 1)) {
_quality = "HIGH";
qualityControl = 2;
}
if ((_quality == "LOW") && (qualityControl == 1)) {
_quality = "MEDIUM";
qualityControl = 2;
}
}
};
keyListener.onKeyUp = function () {
if (!Key.isDown(83)) {
dropDown = false;
}
if (!Key.isDown(81)) {
qualityControl = 1;
}
if (!Key.isDown(69)) {
musicControl = 1;
}
};
Key.addListener(keyListener);
Mouse.addListener(mouseListener);
_root.aimer.removeMovieClip();
_root.machineGun.stop("machineGun");
Instance of Symbol 210 MovieClip "soundClip" in Frame 112
onClipEvent (load) {
_root.musicOne.stop();
this.gotoAndStop(4);
}
Instance of Symbol 210 MovieClip "soundClip" in Frame 113
onClipEvent (load) {
this.gotoAndStop(1);
}
Frame 168
_root.gotoAndStop(_global.stageName);
Instance of Symbol 245 MovieClip in Frame 168
onClipEvent (enterFrame) {
if (this.hitTest(_root.character)) {
_root.deathFunction();
}
}
Instance of Symbol 271 MovieClip "character" in Frame 168
onClipEvent (load) {
a = Math.abs(_x - _root._xmouse);
b = Math.abs(_y - _root._ymouse);
rotation = (Math.atan(b / a) * 180) / Math.PI;
jumping = false;
walking = false;
falling = true;
rightStop = false;
leftStop = false;
jumpControl = false;
moveSpeed = 0;
grav_y = 0;
injuredTimer = 0;
}
onClipEvent (enterFrame) {
if (injuredTimer > 0) {
injuredTimer--;
this._alpha = Math.ceil(Math.random() * 40);
} else {
this._alpha = 100;
_root.playerInjured = false;
}
_x = (_x + moveSpeed);
if (!jumping) {
grav_y = 23;
this._y = this._y + grav_y;
this.legs.rocketBoots.gotoAndStop(1);
}
a = Math.abs(_x - _root._xmouse);
b = Math.abs(_y - _root._ymouse);
rotation = (Math.atan(b / a) * 180) / Math.PI;
if (_root._ymouse < _y) {
rotation = -rotation;
}
if (_root._xmouse < _x) {
rotation = (-rotation) - 180;
}
if (Key.isDown(68)) {
if (!rightStop) {
if (moveSpeed < 11) {
moveSpeed = moveSpeed + 2.75;
}
}
walking = true;
this.body.gotoAndStop(1);
}
if (Key.isDown(65)) {
if (!leftStop) {
if (moveSpeed > -11) {
moveSpeed = moveSpeed - 2.75;
}
}
walking = true;
this.body.gotoAndStop(2);
}
if (((Key.isDown(87) && (!jumping)) && (!Key.isDown(83))) && (!jumpControl)) {
vel_y = 36;
jumping = true;
jumpControl = true;
}
if (!Key.isDown(87)) {
jumpControl = false;
if (jumping && (vel_y > 15)) {
vel_y = 15;
}
}
if (jumping) {
walking = false;
this.legs.rocketBoots.play();
vel_y = vel_y - 3;
if (vel_y <= -24) {
vel_y = -24;
}
_y = (_y - vel_y);
}
if ((!Key.isDown(65)) && (!Key.isDown(68))) {
if (moveSpeed > 0) {
moveSpeed = moveSpeed - 2.75;
}
if (moveSpeed < 0) {
moveSpeed = moveSpeed + 2.75;
}
walking = false;
}
if (walking) {
this.legs.play();
} else if (jumping) {
this.legs.gotoAndStop(10);
} else if (moveSpeed == 0) {
this.legs.gotoAndStop(1);
}
rightStop = false;
leftStop = false;
}
Frame 169
stop();
Instance of Symbol 288 MovieClip in Frame 169
onClipEvent (load) {
startY = _y;
_y = 1000;
}
onClipEvent (enterFrame) {
if (_root.enemyCounter >= 70) {
_y = startY;
}
}
Instance of Symbol 289 MovieClip in Frame 169
onClipEvent (load) {
startY = _y;
_y = 1000;
}
onClipEvent (enterFrame) {
if (_root.enemyCounter >= 70) {
_y = startY;
}
}
Instance of Symbol 288 MovieClip in Frame 169
onClipEvent (load) {
startY = _y;
_y = 1000;
}
onClipEvent (enterFrame) {
if (_root.enemyCounter >= 125) {
_y = startY;
}
}
Instance of Symbol 289 MovieClip in Frame 169
onClipEvent (load) {
startY = _y;
_y = 1000;
}
onClipEvent (enterFrame) {
if (_root.enemyCounter >= 125) {
_y = startY;
}
}
Instance of Symbol 288 MovieClip in Frame 169
onClipEvent (load) {
startY = _y;
_y = 1000;
}
onClipEvent (enterFrame) {
if (_root.enemyCounter >= 125) {
_y = startY;
}
}
Instance of Symbol 289 MovieClip in Frame 169
onClipEvent (load) {
startY = _y;
_y = 1000;
}
onClipEvent (enterFrame) {
if (_root.enemyCounter >= 125) {
_y = startY;
}
}
Instance of Symbol 443 MovieClip "parentEnemy" in Frame 169
onClipEvent (load) {
if (_name != "parentEnemy") {
changeDirection = false;
injured = false;
_y = 560;
_x = 825;
hitPoints = 2;
moveSpeed = Math.ceil((Math.random() * 13) + 2);
}
if (_name == "parentEnemy") {
i = 1;
timer = 45;
enemyCounter = 0;
enemyControl = 1;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
if (!changeDirection) {
if ((_x < -50) or (_x > 850)) {
moveSpeed = -moveSpeed;
}
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemy.enemyControl = _root.parentEnemy.enemyControl + 0.1;
_root.parentEnemy.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
if (_name == "parentEnemy") {
if (maxEnemy < 4) {
maxEnemy = Math.floor(enemyControl);
}
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
timer = 5;
}
}
}
Instance of Symbol 443 MovieClip "parentEnemyTwo" in Frame 169
onClipEvent (load) {
if (_name != "parentEnemyTwo") {
changeDirection = false;
injured = false;
_y = 560;
_x = -30;
hitPoints = 2;
moveSpeed = -Math.ceil((Math.random() * 13) + 4);
}
if (_name == "parentEnemyTwo") {
timer = 25;
enemyCounter = 0;
enemyControl = 2;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyTwo") {
if (!changeDirection) {
if ((_x < -50) or (_x > 850)) {
moveSpeed = -moveSpeed;
}
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemyTwo.enemyControl = _root.parentEnemyTwo.enemyControl + 0.1;
_root.parentEnemyTwo.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
if (_name == "parentEnemyTwo") {
if (maxEnemy < 4) {
maxEnemy = Math.floor(enemyControl);
}
if (_root.enemyCounter > 15) {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
timer = 5;
}
}
}
}
Instance of Symbol 443 MovieClip "parentEnemyThree" in Frame 169
onClipEvent (load) {
if (_name != "parentEnemyThree") {
changeDirection = false;
injured = false;
_xscale = 125;
_yscale = 125;
_y = 370;
_x = 825;
hitPoints = 6;
moveSpeed = Math.ceil((Math.random() * 13) + 2);
}
if (_name == "parentEnemyThree") {
timer = 45;
enemyCounter = 0;
enemyControl = 1;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyThree") {
if (!changeDirection) {
if ((_x < -50) or (_x > 850)) {
moveSpeed = -moveSpeed;
}
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemyThree.enemyControl = _root.parentEnemyThree.enemyControl + 0.2;
_root.parentEnemyThree.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
if (_name == "parentEnemyThree") {
if (maxEnemy < 2) {
maxEnemy = Math.floor(enemyControl);
}
if (_root.enemyCounter > 80) {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
timer = 5;
}
}
}
}
Instance of Symbol 443 MovieClip "parentEnemyFour" in Frame 169
onClipEvent (load) {
if (_name != "parentEnemyFour") {
changeDirection = false;
injured = false;
_xscale = 125;
_yscale = 125;
_y = 370;
_x = -30;
hitPoints = 6;
moveSpeed = -Math.ceil((Math.random() * 13) + 4);
}
if (_name == "parentEnemyFour") {
timer = 25;
enemyCounter = 0;
enemyControl = 1;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyFour") {
if (!changeDirection) {
if ((_x < -50) or (_x > 850)) {
moveSpeed = -moveSpeed;
}
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemyFour.enemyControl = _root.parentEnemyFour.enemyControl + 0.2;
_root.parentEnemyFour.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
if (_name == "parentEnemyFour") {
if (maxEnemy < 2) {
maxEnemy = Math.floor(enemyControl);
}
if (_root.enemyCounter > 80) {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
timer = 5;
}
}
}
}
Instance of Symbol 443 MovieClip "parentEnemyFive" in Frame 169
onClipEvent (load) {
if (_name != "parentEnemyFive") {
changeDirection = false;
injured = false;
_xscale = 135;
_yscale = 135;
_y = -30;
_x = ((Stage.width / 2) + ((Math.random() * 50) - 25));
hitPoints = 8;
moveSpeed = -Math.ceil((Math.random() * 13) + 4);
}
if (_name == "parentEnemyFive") {
timer = 25;
enemyCounter = 0;
enemyControl = 1;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyFive") {
if (!changeDirection) {
if ((_y < -50) or (_y > 665)) {
moveSpeed = -moveSpeed;
}
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemyFive.enemyControl = _root.parentEnemyFive.enemyControl + 0.2;
_root.parentEnemyFive.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_rotation = (_rotation - moveSpeed);
_y = (_y - moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
if (_name == "parentEnemyFive") {
if (maxEnemy < 1) {
maxEnemy = Math.floor(enemyControl);
}
if (_root.enemyCounter > 120) {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
timer = 5;
}
}
}
}
Instance of Symbol 443 MovieClip "parentEnemySix" in Frame 169
onClipEvent (load) {
if (_name != "parentEnemySix") {
changeDirection = false;
injured = false;
_xscale = 200;
_yscale = 200;
_y = 175;
_x = -30;
hitPoints = 15;
moveSpeed = -Math.ceil((Math.random() * 13) + 4);
}
if (_name == "parentEnemySix") {
timer = 10;
enemyCounter = 0;
enemyControl = 1;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemySix") {
if (!changeDirection) {
if ((_x < -50) or (_x > 900)) {
moveSpeed = -moveSpeed;
}
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemySix.enemyControl = _root.parentEnemySix.enemyControl + 0.1;
_root.parentEnemySix.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
if (_name == "parentEnemySix") {
if (maxEnemy < 2) {
maxEnemy = Math.floor(enemyControl);
}
if (_root.enemyCounter > 135) {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
timer = 5;
}
}
}
}
Instance of Symbol 443 MovieClip "parentEnemySeven" in Frame 169
onClipEvent (load) {
if (_name != "parentEnemySeven") {
changeDirection = false;
injured = false;
_xscale = 200;
_yscale = 200;
_y = 175;
_x = 900;
hitPoints = 15;
moveSpeed = -Math.ceil((Math.random() * 13) + 4);
}
if (_name == "parentEnemySeven") {
timer = 10;
enemyCounter = 0;
enemyControl = 1;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemySeven") {
if (!changeDirection) {
if ((_x < -50) or (_x > 900)) {
moveSpeed = -moveSpeed;
}
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemySeven.enemyControl = _root.parentEnemySeven.enemyControl + 0.1;
_root.parentEnemySeven.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
if (_name == "parentEnemySeven") {
if (maxEnemy < 1) {
maxEnemy = Math.floor(enemyControl);
}
if (_root.enemyCounter > 135) {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
timer = 5;
}
}
}
}
Instance of Symbol 443 MovieClip "parentEnemyEight" in Frame 169
onClipEvent (load) {
if (_name != "parentEnemyEight") {
changeDirection = false;
injured = false;
_xscale = 150;
_yscale = 150;
_y = -30;
_x = ((Stage.width / 4) + ((Math.random() * 50) + 25));
hitPoints = 10;
moveSpeed = -Math.ceil((Math.random() * 13) + 4);
}
if (_name == "parentEnemyEight") {
timer = 25;
enemyCounter = 0;
enemyControl = 1;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyEight") {
if (!changeDirection) {
if ((_y < -50) or (_y > 665)) {
moveSpeed = -moveSpeed;
}
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemyEight.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_rotation = (_rotation - moveSpeed);
_y = (_y - moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
if (_name == "parentEnemyEight") {
if (_root.enemyCounter > 165) {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
timer = 5;
}
}
}
}
Instance of Symbol 443 MovieClip "parentEnemyNine" in Frame 169
onClipEvent (load) {
if (_name != "parentEnemyNine") {
changeDirection = false;
injured = false;
_xscale = 150;
_yscale = 150;
_y = -30;
_x = ((3 * (Stage.width / 4)) + ((Math.random() * 50) - 25));
hitPoints = 10;
moveSpeed = -Math.ceil((Math.random() * 13) + 4);
}
if (_name == "parentEnemyNine") {
timer = 25;
enemyCounter = 0;
enemyControl = 1;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyNine") {
if (!changeDirection) {
if ((_y < -50) or (_y > 665)) {
moveSpeed = -moveSpeed;
}
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemyNine.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_rotation = (_rotation - moveSpeed);
_y = (_y - moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
if (_name == "parentEnemyNine") {
if (_root.enemyCounter > 165) {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
timer = 5;
}
}
}
}
Instance of Symbol 443 MovieClip "parentEnemyTen" in Frame 169
onClipEvent (load) {
if (_name != "parentEnemyTen") {
changeDirection = false;
injured = false;
_xscale = 300;
_yscale = 300;
_y = (Math.random() * Stage.height);
_x = 900;
hitPoints = 20;
moveSpeed = -Math.ceil((Math.random() * 13) + 4);
}
if (_name == "parentEnemyTen") {
timer = 10;
enemyCounter = 0;
enemyControl = 1;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyTen") {
if (!changeDirection) {
if ((_x < -50) or (_x > 900)) {
moveSpeed = -moveSpeed;
}
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemyTen.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
if (_name == "parentEnemyTen") {
if (_root.enemyCounter > 200) {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
timer = 5;
}
}
}
}
Instance of Symbol 443 MovieClip "parentEnemyEleven" in Frame 169
onClipEvent (load) {
if (_name != "parentEnemyEleven") {
changeDirection = false;
injured = false;
_xscale = 300;
_yscale = 300;
_y = (Math.random() * Stage.height);
_x = -100;
hitPoints = 20;
moveSpeed = -Math.ceil((Math.random() * 13) + 4);
}
if (_name == "parentEnemyEleven") {
timer = 10;
enemyCounter = 0;
enemyControl = 1;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyEleven") {
if (!changeDirection) {
if ((_x < -100) or (_x > 900)) {
moveSpeed = -moveSpeed;
}
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemyEleven.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
if (_name == "parentEnemyEleven") {
if (_root.enemyCounter > 250) {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
timer = 5;
}
}
}
}
Instance of Symbol 202 MovieClip "conCirc" in Frame 169
onClipEvent (load) {
ghostCounter = 0;
}
onClipEvent (enterFrame) {
function hitFunction(hit) {
if (hit == "right") {
_root.character.rightStop = true;
}
if (hit == "left") {
_root.character.leftStop = true;
}
if (hit == "floor") {
_root.character.grav_y = 0;
_root.character.jumping = false;
_root.character.vel_y = 0;
_root.character.falling = false;
}
}
Mouse.hide();
}
Instance of Symbol 205 MovieClip "parentAimer" in Frame 169
onClipEvent (load) {
_x = _root._xmouse;
_y = _root._ymouse;
shake = false;
if (this._name == "parentAimer") {
this.duplicateMovieClip("aimer", 3000);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
if (shake) {
_x = (_root._xmouse + ((Math.random() * 5) - 3));
_y = (_root._ymouse + ((Math.random() * 5) - 3));
}
}
onClipEvent (mouseDown) {
_root.machineGun.start(0, 100);
shake = true;
}
onClipEvent (mouseUp) {
_root.machineGun.stop("machineGun");
shake = false;
}
Instance of Symbol 202 MovieClip "hitPrecision" in Frame 169
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 436 MovieClip "bulletDirt" in Frame 169
onClipEvent (load) {
if (this._name != "bulletDirt") {
this._x = (_root._xmouse + (Math.random() * 20)) - 10;
this._y = (_root._ymouse + (Math.random() * 20)) - 10;
_root.bulletDirt.timer = 2;
}
if (this._name == "bulletDirt") {
dirtCounter = 1;
maxDirt = 10;
depthCounter = 1;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
}
if (firing) {
if ((dirtCounter <= maxDirt) && (timer == 0)) {
dirtCounter++;
depthCounter++;
_root.bulletDirt.duplicateMovieClip("dirt" + depthCounter, depthCounter + 2000);
if (depthCounter >= maxDirt) {
depthCounter = 1;
dirtCounter = 1;
}
}
} else {
dirtCounter = 1;
maxDirt = 10;
depthCounter = 1;
timer = 0;
firing = false;
}
}
onClipEvent (mouseDown) {
firing = true;
}
onClipEvent (mouseUp) {
firing = false;
}
Instance of Symbol 230 MovieClip in Frame 169
onClipEvent (load) {
this.gotoAndStop(_root.onesPlace);
}
onClipEvent (enterFrame) {
if (_root.onesPlace == 0) {
this.gotoAndStop(10);
} else {
this.gotoAndStop(_root.onesPlace);
}
}
Instance of Symbol 230 MovieClip in Frame 169
onClipEvent (load) {
this.gotoAndStop(_root.tensPlace);
}
onClipEvent (enterFrame) {
if (_root.tensPlace == 0) {
this.gotoAndStop(10);
} else {
this.gotoAndStop(_root.tensPlace);
}
}
Instance of Symbol 230 MovieClip in Frame 169
onClipEvent (load) {
this.gotoAndStop(_root.hundredsPlace);
}
onClipEvent (enterFrame) {
if (_root.hundredsPlace == 0) {
this.gotoAndStop(10);
} else {
this.gotoAndStop(_root.hundredsPlace);
}
}
Instance of Symbol 230 MovieClip in Frame 169
onClipEvent (load) {
this.gotoAndStop(_root.thousandsPlace);
}
onClipEvent (enterFrame) {
if (_root.thousandsPlace == 0) {
this.gotoAndStop(10);
} else {
this.gotoAndStop(_root.thousandsPlace);
}
}
Instance of Symbol 230 MovieClip in Frame 169
onClipEvent (load) {
this.gotoAndStop(_root.lives);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.lives);
if (_root.lives <= 0) {
_root.gameOverFunction();
}
}
Instance of Symbol 202 MovieClip in Frame 169
onClipEvent (load) {
_global.highScore = _global.endlessOneHigh;
}
onClipEvent (enterFrame) {
_global.currentScore = _root.enemyCounter;
if (_global.currentScore > _global.endlessOneHigh) {
_global.endlessOneHigh = _global.currentScore;
_global.highScore = _global.endlessOneHigh;
}
}
Instance of Symbol 486 MovieClip "parentEnemy" in Frame 170
onClipEvent (load) {
if (_name != "parentEnemy") {
_y = -25;
_x = (Math.random() * Stage.width);
hitPoints = 1;
doOnce = true;
ySpeed = 20;
}
if (_name == "parentEnemy") {
timer = 25;
maxTimer = 10;
enemyCounter = 0;
enemyControl = 1;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
if (hitTest(_root.character.body)) {
if (doOnce) {
_root.parentEnemy.enemyCounter--;
doOnce = false;
}
this.gotoAndStop("death");
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemy.enemyControl = _root.parentEnemy.enemyControl + 0.1;
_root.parentEnemy.maxTimer = _root.parentEnemy.maxTimer - 0.05;
_root.parentEnemy.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_y = (_y + ySpeed);
_rotation = (_rotation + 5);
if (_y > 725) {
_root.parentEnemy.enemyCounter--;
this.removeMovieClip();
}
}
}
if (_name == "parentEnemy") {
maxEnemy = Math.floor(enemyControl);
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
if (maxTimer > 3) {
timer = Math.ceil(maxTimer);
} else {
timer = 3;
}
}
}
}
Instance of Symbol 486 MovieClip "parentEnemyTwo" in Frame 170
onClipEvent (load) {
if (_name != "parentEnemyTwo") {
_y = -25;
_x = (Math.random() * Stage.width);
ySpeed = 20;
doOnce = true;
}
if (_name == "parentEnemyTwo") {
i = 1;
timer = 25;
maxTimer = 12;
enemyCounter = 0;
enemyControl = 1;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyTwo") {
if (hitTest(_root.character.body)) {
if (doOnce) {
_root.parentEnemyTwo.enemyCounter--;
doOnce = false;
}
this.gotoAndStop("death");
}
_y = (_y + ySpeed);
_rotation = (_rotation - 5);
if (_y > 725) {
_root.parentEnemyTwo.enemyControl = _root.parentEnemyTwo.enemyControl + 0.2;
_root.parentEnemyTwo.maxTimer = _root.parentEnemyTwo.maxTimer - 0.05;
if (_currentframe != "death") {
_root.parentEnemyTwo.enemyCounter--;
}
this.removeMovieClip();
}
}
if (_name == "parentEnemyTwo") {
maxEnemy = Math.floor(enemyControl);
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
if (maxTimer > 3) {
timer = Math.ceil(maxTimer);
} else {
timer = 3;
}
}
}
}
Instance of Symbol 202 MovieClip in Frame 170
onClipEvent (load) {
_global.highScore = _global.endlessTwoHigh;
}
onClipEvent (enterFrame) {
_global.currentScore = _root.enemyCounter;
if (_global.currentScore > _global.endlessTwoHigh) {
_global.endlessTwoHigh = _global.currentScore;
_global.highScore = _global.endlessTwoHigh;
}
}
Instance of Symbol 496 MovieClip "parentEnemy" in Frame 171
onClipEvent (load) {
if (_name != "parentEnemy") {
xPos = _x;
yPos = _y;
xSpeed = 6;
ySpeed = 3;
hitPoints = 25;
_xscale = _root.parentEnemy.maxScale;
_yscale = _root.parentEnemy.maxScale;
_y = (Math.random() * Stage.height);
charX = _root.character._x;
charY = _root.character._y;
}
if (_name == "parentEnemy") {
timer = 25;
enemyCounter = 0;
enemyControl = 1;
maxScale = 100;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemy.enemyCounter--;
_root.parentEnemy.enemyControl = _root.parentEnemy.enemyControl + 0.1;
_root.parentEnemy.maxScale = _root.parentEnemy.maxScale + 2;
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
_x = (_x + xSpeed);
_y = (_y + ySpeed);
xPos = _x;
yPos = _y;
charX = _root.character._x;
charY = _root.character._y;
if (xPos != charX) {
if (charX > xPos) {
if (xSpeed < 5) {
xSpeed = xSpeed + 0.5;
}
} else if (xSpeed > -5) {
xSpeed = xSpeed - 0.5;
}
}
if (yPos != charY) {
if (charY > yPos) {
if (ySpeed < 2.5) {
ySpeed = ySpeed + 0.5;
}
} else if (ySpeed > -2.5) {
ySpeed = ySpeed - 0.5;
}
}
}
}
if (_name == "parentEnemy") {
maxEnemy = Math.floor(enemyControl);
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
timer = 50;
}
}
}
Instance of Symbol 496 MovieClip "parentEnemyTwo" in Frame 171
onClipEvent (load) {
if (_name != "parentEnemyTwo") {
xPos = _x;
yPos = _y;
xSpeed = _root.parentEnemyTwo.xSpeed;
ySpeed = _root.parentEnemyTwo.ySpeed;
xMin = xSpeed;
yMin = ySpeed;
xRate = xSpeed / 5;
yRate = ySpeed / 5;
hitPoints = 25;
_y = (Math.random() * Stage.height);
charX = _root.character._x;
charY = _root.character._y;
}
if (_name == "parentEnemyTwo") {
timer = 25;
xSpeed = 5;
ySpeed = 2.5;
enemyCounter = 0;
enemyControl = 1;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyTwo") {
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemyTwo.enemyCounter--;
_root.parentEnemyTwo.enemyControl = _root.parentEnemyTwo.enemyControl + 0.1;
if (_root.parentEnemyTwo.xSpeed < 10) {
_root.parentEnemyTwo.xSpeed = _root.parentEnemyTwo.xSpeed + 0.15;
}
if (_root.parentEnemyTwo.ySpeed < 6) {
_root.parentEnemyTwo.ySpeed = _root.parentEnemyTwo.ySpeed + 0.08;
}
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
_x = (_x + xSpeed);
_y = (_y + ySpeed);
xPos = _x;
yPos = _y;
charX = _root.character._x;
charY = _root.character._y;
if (xPos != charX) {
if (charX > xPos) {
if (xSpeed < xMin) {
xSpeed = xSpeed + xRate;
}
} else if (xSpeed > (-xMin)) {
xSpeed = xSpeed - xRate;
}
}
if (yPos != charY) {
if (charY > yPos) {
if (ySpeed < yMin) {
ySpeed = ySpeed + yRate;
}
} else if (ySpeed > (-yMin)) {
ySpeed = ySpeed - yRate;
}
}
}
}
if (_name == "parentEnemyTwo") {
maxEnemy = Math.floor(enemyControl);
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
timer = 50;
}
}
}
Instance of Symbol 202 MovieClip in Frame 171
onClipEvent (load) {
_global.highScore = _global.endlessThreeHigh;
}
onClipEvent (enterFrame) {
_global.currentScore = _root.enemyCounter;
if (_global.currentScore > _global.endlessThreeHigh) {
_global.endlessThreeHigh = _global.currentScore;
_global.highScore = _global.endlessThreeHigh;
}
}
Instance of Symbol 511 MovieClip "parentEnemy" in Frame 172
onClipEvent (load) {
if (_name != "parentEnemy") {
xSpeed = _root.parentEnemy.xSpeed;
_xscale = _root.parentEnemy.maxScale;
_yscale = _root.parentEnemy.maxScale;
_y = ((Math.random() * (Stage.height - 50)) + 25);
}
if (_name == "parentEnemy") {
xSpeed = 10;
timer = 25;
enemyCounter = 0;
enemyControl = 2;
maxScale = 100;
maxTimer = 40;
startScale = false;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
_x = (_x + xSpeed);
if (_x > 900) {
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemy.enemyCounter--;
if (_root.parentEnemy.enemyControl < 5) {
_root.parentEnemy.enemyControl = _root.parentEnemy.enemyControl + 0.1;
}
_root.parentEnemy.maxTimer = _root.parentEnemy.maxTimer - 0.35;
if (_root.parentEnemy.xSpeed < 25) {
_root.parentEnemy.xSpeed = _root.parentEnemy.xSpeed + 0.15;
}
if (_root.parentEnemy.startScale) {
_root.parentEnemy.maxScale = _root.parentEnemy.maxScale + 0.1;
}
this.removeMovieClip();
}
}
if (_name == "parentEnemy") {
maxEnemy = Math.floor(enemyControl);
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
if (maxTimer > 6) {
timer = Math.ceil(maxTimer);
} else {
startScale = true;
timer = 6;
}
}
}
}
Instance of Symbol 202 MovieClip in Frame 172
onClipEvent (load) {
_global.highScore = _global.endlessFourHigh;
}
onClipEvent (enterFrame) {
_global.currentScore = _root.enemyCounter;
if (_global.currentScore > _global.endlessFourHigh) {
_global.endlessFourHigh = _global.currentScore;
_global.highScore = _global.endlessFourHigh;
}
}
Instance of Symbol 511 MovieClip "parentEnemy" in Frame 173
onClipEvent (load) {
if (_name != "parentEnemy") {
xSpeed = _root.parentEnemy.xSpeed;
_xscale = _root.parentEnemy.maxScale;
_yscale = _root.parentEnemy.maxScale;
_y = (Math.random() * (Stage.height - 250));
}
if (_name == "parentEnemy") {
xSpeed = 10;
timer = 25;
enemyCounter = 0;
enemyControl = 2;
maxScale = 100;
maxTimer = 40;
startScale = false;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
_x = (_x + xSpeed);
if (_x > 900) {
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemy.enemyCounter--;
if (_root.parentEnemy.enemyControl < 5) {
_root.parentEnemy.enemyControl = _root.parentEnemy.enemyControl + 0.1;
}
_root.parentEnemy.maxTimer = _root.parentEnemy.maxTimer - 0.35;
if (_root.parentEnemy.xSpeed < 25) {
_root.parentEnemy.xSpeed = _root.parentEnemy.xSpeed + 0.15;
}
if (_root.parentEnemy.startScale) {
_root.parentEnemy.maxScale = _root.parentEnemy.maxScale + 0.1;
}
this.removeMovieClip();
}
}
if (_name == "parentEnemy") {
maxEnemy = Math.floor(enemyControl);
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
if (maxTimer > 6) {
timer = Math.ceil(maxTimer);
} else {
startScale = true;
timer = 6;
}
}
}
}
Instance of Symbol 202 MovieClip in Frame 173
onClipEvent (load) {
_global.highScore = _global.endlessFiveHigh;
}
onClipEvent (enterFrame) {
_global.currentScore = _root.enemyCounter;
if (_global.currentScore > _global.endlessFiveHigh) {
_global.endlessFiveHigh = _global.currentScore;
_global.highScore = _global.endlessFiveHigh;
}
}
Instance of Symbol 486 MovieClip "parentEnemy" in Frame 174
onClipEvent (load) {
if (_name != "parentEnemy") {
_y = -250;
_x = (Math.random() * Stage.width);
hitPoints = 1;
doOnce = true;
_xscale = _root.parentEnemy.maxScale;
_yscale = _root.parentEnemy.maxScale;
ySpeed = 20;
}
if (_name == "parentEnemy") {
timer = 25;
maxTimer = 10;
maxScale = 25;
enemyCounter = 0;
enemyControl = 1;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
if (hitTest(_root.character.body)) {
if (doOnce) {
_root.parentEnemy.enemyCounter--;
doOnce = false;
}
this.gotoAndStop("death");
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
_root.parentEnemy.enemyControl = _root.parentEnemy.enemyControl + 0.1;
_root.parentEnemy.maxScale = _root.parentEnemy.maxScale + 0.15;
_root.parentEnemy.maxTimer = _root.parentEnemy.maxTimer - 0.03;
_root.parentEnemy.enemyCounter--;
hitPoints = -1;
}
if (hitPoints > 0) {
_y = (_y + ySpeed);
_rotation = (_rotation + 5);
if (_y > 850) {
_root.parentEnemy.enemyCounter--;
this.removeMovieClip();
}
}
}
if (_name == "parentEnemy") {
maxEnemy = Math.floor(enemyControl);
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
if (maxTimer > 3) {
timer = Math.ceil(maxTimer);
} else {
timer = 3;
}
}
}
}
Instance of Symbol 202 MovieClip in Frame 174
onClipEvent (load) {
_global.highScore = _global.endlessSixHigh;
}
onClipEvent (enterFrame) {
_global.currentScore = _root.enemyCounter;
if (_global.currentScore > _global.endlessSixHigh) {
_global.endlessSixHigh = _global.currentScore;
_global.highScore = _global.endlessSixHigh;
}
}
Instance of Symbol 530 MovieClip in Frame 175
onClipEvent (load) {
maxScale = _xscale;
_alpha = 0;
_x = 0;
_y = 2000;
timer = 400;
hitPoints = 75;
maxHitPoints = 100;
maxTimer = 100;
injured = false;
}
onClipEvent (enterFrame) {
if (_xscale < maxScale) {
_xscale = (_xscale+1);
_yscale = (_yscale+1);
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
maxScale = maxScale + 5;
maxHitPoints = maxHitPoints + 5;
if (maxTimer > 25) {
maxTimer = maxTimer - 5;
}
timer = 10;
hitPoints = maxHitPoints;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
if (timer > 0) {
timer--;
} else {
_x = (Math.random() * Stage.width);
_y = ((Math.random() * (Stage.height - 50)) + 30);
timer = maxTimer;
}
if ((timer <= 10) && (_alpha > 0)) {
_alpha = (_alpha - 10);
}
if ((timer >= (maxTimer - 10)) && (_alpha < 100)) {
_alpha = (_alpha + 10);
}
if (timer == (maxTimer - 10)) {
this.ghostShot.play();
}
}
}
Instance of Symbol 530 MovieClip in Frame 175
onClipEvent (load) {
maxScale = _xscale;
_alpha = 0;
_x = 0;
_y = 2000;
timer = 750;
hitPoints = 75;
maxHitPoints = 100;
maxTimer = 100;
injured = false;
}
onClipEvent (enterFrame) {
if (_xscale < maxScale) {
_xscale = (_xscale+1);
_yscale = (_yscale+1);
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
maxScale = maxScale + 5;
maxHitPoints = maxHitPoints + 5;
if (maxTimer > 25) {
maxTimer = maxTimer - 5;
}
timer = 10;
hitPoints = maxHitPoints;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
if (timer > 0) {
timer--;
} else {
_x = (Math.random() * Stage.width);
_y = ((Math.random() * (Stage.height - 50)) + 30);
timer = maxTimer;
}
if ((timer <= 10) && (_alpha > 0)) {
_alpha = (_alpha - 10);
}
if ((timer >= (maxTimer - 10)) && (_alpha < 100)) {
_alpha = (_alpha + 10);
}
if (timer == (maxTimer - 10)) {
this.ghostShot.play();
}
}
}
Instance of Symbol 530 MovieClip in Frame 175
onClipEvent (load) {
maxScale = _xscale;
_alpha = 0;
_x = (Math.random() * Stage.width);
_y = ((Math.random() * (Stage.height - 50)) + 30);
timer = 30;
hitPoints = 75;
maxHitPoints = 100;
maxTimer = 100;
injured = false;
}
onClipEvent (enterFrame) {
if (_xscale < maxScale) {
_xscale = (_xscale+1);
_yscale = (_yscale+1);
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
maxScale = maxScale + 5;
maxHitPoints = maxHitPoints + 5;
if (maxTimer > 25) {
maxTimer = maxTimer - 5;
}
timer = 10;
hitPoints = maxHitPoints;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
if (timer > 0) {
timer--;
} else {
_x = (Math.random() * Stage.width);
_y = ((Math.random() * (Stage.height - 50)) + 30);
timer = maxTimer;
}
if ((timer <= 10) && (_alpha > 0)) {
_alpha = (_alpha - 10);
}
if ((timer >= (maxTimer - 10)) && (_alpha < 100)) {
_alpha = (_alpha + 10);
}
if (timer == (maxTimer - 10)) {
this.ghostShot.play();
}
}
}
Instance of Symbol 202 MovieClip in Frame 175
onClipEvent (load) {
_global.highScore = _global.endlessSevenHigh;
}
onClipEvent (enterFrame) {
_global.currentScore = _root.enemyCounter;
if (_global.currentScore > _global.endlessSevenHigh) {
_global.endlessSevenHigh = _global.currentScore;
_global.highScore = _global.endlessSevenHigh;
}
}
Instance of Symbol 569 MovieClip "parentEnemy" in Frame 176
onClipEvent (load) {
if (_name != "parentEnemy") {
injured = false;
_y = ((Math.random() * 300) + 40);
_x = 825;
hitPoints = Math.ceil(_root.parentEnemy.maxHitPoints);
maxRandom = _root.parentEnemy.maxRandom;
maxAddition = _root.parentEnemy.maxAddition;
moveSpeed = (Math.random() * maxRandom) + maxAddition;
}
if (_name == "parentEnemy") {
this.gotoAndStop(1);
timer = 30;
enemyCounter = 0;
enemyMax = 6;
maxRandom = 2;
maxAddition = 1;
maxHitPoints = 20;
maxTimer = 55;
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
if (_x < -75) {
_root.parentEnemy.enemyCounter--;
this.removeMovieClip();
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
if (_root.parentEnemy.maxHitPoints < 30) {
_root.parentEnemy.maxHitPoints = _root.parentEnemy.maxHitPoints + 0.5;
}
_root.parentEnemy.maxAddition = _root.parentEnemy.maxAddition + 0.1;
_root.parentEnemy.maxRandom = _root.parentEnemy.maxRandom + 0.05;
_root.parentEnemy.enemyCounter--;
_root.parentEnemy.maxTimer--;
hitPoints = -1;
}
if (hitPoints > 0) {
_x = (_x - moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
if (_name == "parentEnemy") {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < enemyMax) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
if (maxTimer > 20) {
timer = maxTimer;
} else {
timer = 20;
}
}
}
}
Instance of Symbol 569 MovieClip "parentEnemyTwo" in Frame 176
onClipEvent (load) {
if (_name != "parentEnemyTwo") {
injured = false;
_y = ((Math.random() * 300) + 40);
_x = -100;
hitPoints = Math.ceil(_root.parentEnemyTwo.maxHitPoints);
maxRandom = _root.parentEnemyTwo.maxRandom;
maxAddition = _root.parentEnemyTwo.maxAddition;
moveSpeed = (Math.random() * maxRandom) + maxAddition;
}
if (_name == "parentEnemyTwo") {
this.gotoAndStop(1);
timer = 30;
enemyCounter = 0;
enemyMax = 6;
maxRandom = 2;
maxAddition = 1;
maxHitPoints = 20;
maxTimer = 55;
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyTwo") {
if (_x > 875) {
_root.parentEnemyTwo.enemyCounter--;
this.removeMovieClip();
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
if (_root.parentEnemyTwo.maxHitPoints < 30) {
_root.parentEnemyTwo.maxHitPoints = _root.parentEnemyTwo.maxHitPoints + 0.5;
}
_root.parentEnemyTwo.maxAddition = _root.parentEnemyTwo.maxAddition + 0.1;
_root.parentEnemyTwo.maxRandom = _root.parentEnemyTwo.maxRandom + 0.05;
_root.parentEnemyTwo.enemyCounter--;
_root.parentEnemy.maxTimer--;
hitPoints = -1;
}
if (hitPoints > 0) {
_x = (_x + moveSpeed);
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
if (_name == "parentEnemyTwo") {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < enemyMax) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
if (maxTimer > 20) {
timer = maxTimer;
} else {
timer = 20;
}
}
}
}
Instance of Symbol 202 MovieClip in Frame 176
onClipEvent (load) {
_global.highScore = _global.endlessEightHigh;
}
onClipEvent (enterFrame) {
_global.currentScore = _root.enemyCounter;
if (_global.currentScore > _global.endlessEightHigh) {
_global.endlessEightHigh = _global.currentScore;
_global.highScore = _global.endlessEightHigh;
}
}
Instance of Symbol 593 MovieClip in Frame 177
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 40;
hitPoints = 100;
reviveTimer = -1;
startY = _y;
extra = true;
attack = false;
}
onClipEvent (enterFrame) {
if (reviveTimer > 0) {
reviveTimer--;
}
if (reviveTimer == 0) {
_y = startY;
hitPoints = 100;
attack = false;
timer = 60;
ySpeed = 0;
reviveTimer = -1;
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 60;
ySpeed = 30;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
}
Instance of Symbol 593 MovieClip in Frame 177
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 300;
hitPoints = 100;
reviveTimer = -1;
startY = _y;
extra = true;
attack = false;
}
onClipEvent (enterFrame) {
if (reviveTimer > 0) {
reviveTimer--;
}
if (reviveTimer == 0) {
_y = startY;
hitPoints = 100;
attack = false;
timer = 60;
ySpeed = 0;
reviveTimer = -1;
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 60;
ySpeed = 30;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
}
Instance of Symbol 593 MovieClip in Frame 177
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 3000;
hitPoints = 50;
reviveTimer = -1;
startY = _y;
extra = true;
attack = false;
}
onClipEvent (enterFrame) {
if (reviveTimer > 0) {
reviveTimer--;
}
if (reviveTimer == 0) {
_y = startY;
hitPoints = 50;
attack = false;
timer = 70;
ySpeed = 0;
reviveTimer = -1;
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 70;
ySpeed = 35;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
}
Instance of Symbol 593 MovieClip in Frame 177
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 2500;
hitPoints = 150;
reviveTimer = -1;
startY = _y;
extra = true;
attack = false;
}
onClipEvent (enterFrame) {
if (reviveTimer > 0) {
reviveTimer--;
}
if (reviveTimer == 0) {
_y = startY;
hitPoints = 150;
attack = false;
timer = 54;
ySpeed = 0;
reviveTimer = -1;
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 54;
ySpeed = 27;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
}
Instance of Symbol 593 MovieClip in Frame 177
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 4000;
hitPoints = 200;
reviveTimer = -1;
startY = _y;
extra = true;
attack = false;
}
onClipEvent (enterFrame) {
if (reviveTimer > 0) {
reviveTimer--;
}
if (reviveTimer == 0) {
_y = startY;
hitPoints = 200;
attack = false;
timer = 60;
ySpeed = 0;
reviveTimer = -1;
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 60;
ySpeed = 30;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
}
Instance of Symbol 593 MovieClip in Frame 177
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 2000;
hitPoints = 100;
reviveTimer = -1;
startY = _y;
extra = true;
attack = false;
}
onClipEvent (enterFrame) {
if (reviveTimer > 0) {
reviveTimer--;
}
if (reviveTimer == 0) {
_y = startY;
hitPoints = 100;
attack = false;
timer = 60;
ySpeed = 0;
reviveTimer = -1;
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 60;
ySpeed = 30;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
}
Instance of Symbol 593 MovieClip in Frame 177
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 625;
hitPoints = 50;
reviveTimer = -1;
startY = _y;
extra = true;
attack = false;
}
onClipEvent (enterFrame) {
if (reviveTimer > 0) {
reviveTimer--;
}
if (reviveTimer == 0) {
_y = startY;
hitPoints = 50;
attack = false;
timer = 70;
ySpeed = 0;
reviveTimer = -1;
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 70;
ySpeed = 35;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
}
Instance of Symbol 593 MovieClip in Frame 177
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 815;
hitPoints = 150;
reviveTimer = -1;
startY = _y;
extra = true;
attack = false;
}
onClipEvent (enterFrame) {
if (reviveTimer > 0) {
reviveTimer--;
}
if (reviveTimer == 0) {
_y = startY;
hitPoints = 150;
attack = false;
timer = 54;
ySpeed = 0;
reviveTimer = -1;
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 54;
ySpeed = 27;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
}
Instance of Symbol 593 MovieClip in Frame 177
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 1500;
reviveTimer = -1;
startY = _y;
extra = true;
hitPoints = 50;
attack = false;
}
onClipEvent (enterFrame) {
if (reviveTimer > 0) {
reviveTimer--;
}
if (reviveTimer == 0) {
_y = startY;
hitPoints = 50;
attack = false;
timer = 70;
ySpeed = 0;
reviveTimer = -1;
}
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 70;
ySpeed = 35;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
}
Instance of Symbol 202 MovieClip in Frame 177
onClipEvent (load) {
_global.highScore = _global.endlessNineHigh;
}
onClipEvent (enterFrame) {
_global.currentScore = _root.enemyCounter;
if (_global.currentScore > _global.endlessNineHigh) {
_global.endlessNineHigh = _global.currentScore;
_global.highScore = _global.endlessNineHigh;
}
}
Instance of Symbol 604 MovieClip "crayons" in Frame 178
onClipEvent (load) {
endless = true;
}
Instance of Symbol 202 MovieClip in Frame 178
onClipEvent (load) {
_global.highScore = _global.endlessTenHigh;
}
onClipEvent (enterFrame) {
_root.time++;
_global.currentScore = _root.time;
if (_global.currentScore > _global.endlessTenHigh) {
_global.endlessTenHigh = _global.currentScore;
_global.highScore = _global.endlessTenHigh;
}
}
Frame 179
function enemyClear() {
c = 1;
while (c < 100) {
_root["enemy" + c].hitPoints = 0;
_root["enemyTwo" + c].hitPoints = 0;
c++;
}
}
function enemyDeath() {
c = 1;
while (c < 8000) {
_root["enemy" + c].removeMovieClip();
_root["enemyTwo" + c].removeMovieClip();
c++;
}
}
function deathFunction() {
playerHurt.start();
_root.character._x = 200;
_root.character._y = -200;
_root.character.injuredTimer = 50;
playerInjured = true;
if (lives > 1) {
_root.lifeBar.life._width = 5;
lives--;
} else {
gameOverFunction();
}
}
function gameOverFunction() {
_root.aimer.removeMovieClip();
enemyDeath();
_root.gotoAndPlay("HighScore");
}
function injuredFunction() {
playerHurt.start();
_root.character.injuredTimer = 30;
_root.lifeBar.life._width = _root.lifeBar.life._width + 40;
playerInjured = true;
}
dropDown = false;
musicNumber = 1;
musicControl = 1;
musicOne.start();
playerInjured = false;
lives = 1;
time = 0;
onesPlace = 0;
tensPlace = 0;
hundredsPlace = 0;
thousandsPlace = 0;
qualityControl = 1;
c = 1;
i = 1;
d = 1;
keyListener = new Object();
counterFunction = function () {
onesPlace = enemyCounter - (Math.floor(enemyCounter / 10) * 10);
tensPlace = ((enemyCounter - (Math.floor(enemyCounter / 100) * 100)) - onesPlace) / 10;
hundredsPlace = (((enemyCounter - (Math.floor(enemyCounter / 1000) * 1000)) - onesPlace) - tensPlace) / 100;
thousandsPlace = ((((enemyCounter - (Math.floor(enemyCounter / 10000) * 10000)) - onesPlace) - tensPlace) - hundredsPlace) / 1000;
_root.conCirc.gameControl(enemyCounter);
};
keyListener.onKeyDown = function () {
if (Key.isDown(83)) {
dropDown = true;
}
if (Key.isDown(69)) {
if ((musicNumber == 4) && (musicControl == 1)) {
musicNumber = 1;
musicTwo.stop();
_root.soundClip.gotoAndStop(1);
musicControl = 2;
}
if ((musicNumber == 3) && (musicControl == 1)) {
musicNumber = 4;
musicTwo.stop();
_root.soundClip.gotoAndStop(4);
musicControl = 2;
}
if ((musicNumber == 2) && (musicControl == 1)) {
musicNumber = 3;
musicOne.stop();
_root.soundClip.gotoAndStop(2);
musicControl = 2;
}
if ((musicNumber == 1) && (musicControl == 1)) {
musicNumber = 2;
musicOne.stop();
_root.soundClip.gotoAndStop(3);
musicControl = 2;
}
}
if (Key.isDown(81)) {
if ((_quality == "HIGH") && (qualityControl == 1)) {
_quality = "LOW";
qualityControl = 2;
}
if ((_quality == "MEDIUM") && (qualityControl == 1)) {
_quality = "HIGH";
qualityControl = 2;
}
if ((_quality == "LOW") && (qualityControl == 1)) {
_quality = "MEDIUM";
qualityControl = 2;
}
}
};
keyListener.onKeyUp = function () {
if (!Key.isDown(83)) {
dropDown = false;
}
if (!Key.isDown(81)) {
qualityControl = 1;
}
if (!Key.isDown(69)) {
musicControl = 1;
}
};
Key.addListener(keyListener);
_root.aimer.removeMovieClip();
_root.aimer.removeMovieClip();
_root.machineGun.stop("machineGun");
Instance of Symbol 210 MovieClip "soundClip" in Frame 179
onClipEvent (load) {
_root.musicOne.stop();
this.gotoAndStop(4);
}
Instance of Symbol 210 MovieClip "soundClip" in Frame 180
onClipEvent (load) {
this.gotoAndStop(1);
}
Frame 236
_root.gotoAndStop(_global.stageName);
Instance of Symbol 245 MovieClip in Frame 236
onClipEvent (enterFrame) {
if (this.hitTest(_root.character)) {
_root.deathFunction();
}
}
Instance of Symbol 271 MovieClip "character" in Frame 236
onClipEvent (load) {
a = Math.abs(_x - _root._xmouse);
b = Math.abs(_y - _root._ymouse);
rotation = (Math.atan(b / a) * 180) / Math.PI;
survival = true;
jumping = false;
walking = false;
falling = true;
rightStop = false;
leftStop = false;
jumpControl = false;
moveSpeed = 0;
grav_y = 0;
injuredTimer = 0;
}
onClipEvent (enterFrame) {
if (injuredTimer > 0) {
injuredTimer--;
this._alpha = Math.ceil(Math.random() * 40);
} else {
this._alpha = 100;
_root.playerInjured = false;
}
_x = (_x + moveSpeed);
if (!jumping) {
grav_y = 23;
this._y = this._y + grav_y;
this.legs.rocketBoots.gotoAndStop(1);
}
a = Math.abs(_x - _root._xmouse);
b = Math.abs(_y - _root._ymouse);
rotation = (Math.atan(b / a) * 180) / Math.PI;
if (_root._ymouse < _y) {
rotation = -rotation;
}
if (_root._xmouse < _x) {
rotation = (-rotation) - 180;
}
if (Key.isDown(68)) {
if (!rightStop) {
if (moveSpeed < 11) {
moveSpeed = moveSpeed + 2.75;
}
}
walking = true;
this.body.gotoAndStop(1);
}
if (Key.isDown(65)) {
if (!leftStop) {
if (moveSpeed > -11) {
moveSpeed = moveSpeed - 2.75;
}
}
walking = true;
this.body.gotoAndStop(2);
}
if (((Key.isDown(87) && (!jumping)) && (!Key.isDown(83))) && (!jumpControl)) {
vel_y = 36;
jumping = true;
jumpControl = true;
}
if (!Key.isDown(87)) {
jumpControl = false;
if (jumping && (vel_y > 15)) {
vel_y = 15;
}
}
if (jumping) {
walking = false;
this.legs.rocketBoots.play();
vel_y = vel_y - 3;
if (vel_y <= -24) {
vel_y = -24;
}
_y = (_y - vel_y);
}
if ((!Key.isDown(65)) && (!Key.isDown(68))) {
if (moveSpeed > 0) {
moveSpeed = moveSpeed - 2.75;
}
if (moveSpeed < 0) {
moveSpeed = moveSpeed + 2.75;
}
walking = false;
}
if (walking) {
this.legs.play();
} else if (jumping) {
this.legs.gotoAndStop(10);
} else if (moveSpeed == 0) {
this.legs.gotoAndStop(1);
}
rightStop = false;
leftStop = false;
}
Frame 237
stop();
Instance of Symbol 288 MovieClip in Frame 237
onClipEvent (load) {
startY = _y;
_y = 1000;
}
onClipEvent (enterFrame) {
if (_root.conCirc.timer == 700) {
_y = startY;
}
}
Instance of Symbol 289 MovieClip in Frame 237
onClipEvent (load) {
startY = _y;
_y = 1000;
}
onClipEvent (enterFrame) {
if (_root.conCirc.timer == 700) {
_y = startY;
}
}
Instance of Symbol 288 MovieClip in Frame 237
onClipEvent (load) {
startY = _y;
_y = 1000;
}
onClipEvent (enterFrame) {
if (_root.conCirc.timer == 1600) {
_y = startY;
}
}
Instance of Symbol 289 MovieClip in Frame 237
onClipEvent (load) {
startY = _y;
_y = 1000;
}
onClipEvent (enterFrame) {
if (_root.conCirc.timer == 1600) {
_y = startY;
}
}
Instance of Symbol 288 MovieClip in Frame 237
onClipEvent (load) {
startY = _y;
_y = 1000;
}
onClipEvent (enterFrame) {
if (_root.conCirc.timer == 1600) {
_y = startY;
}
}
Instance of Symbol 289 MovieClip in Frame 237
onClipEvent (load) {
startY = _y;
_y = 1000;
}
onClipEvent (enterFrame) {
if (_root.conCirc.timer == 1600) {
_y = startY;
}
}
Instance of Symbol 443 MovieClip "parentEnemy" in Frame 237
onClipEvent (load) {
if (_name != "parentEnemy") {
changeDirection = false;
_y = 560;
_x = 825;
moveSpeed = Math.ceil((Math.random() * 13) + 2);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
if (!changeDirection) {
if ((_x < -50) or (_x > 850)) {
moveSpeed = -moveSpeed;
}
}
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
}
if (_name == "parentEnemy") {
if ((((_root.conCirc.timer == 50) or (_root.conCirc.timer == 100)) or (_root.conCirc.timer == 250)) or (_root.conCirc.timer == 300)) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
}
}
}
Instance of Symbol 443 MovieClip "parentEnemyTwo" in Frame 237
onClipEvent (load) {
if (_name != "parentEnemyTwo") {
changeDirection = false;
_y = 560;
_x = -30;
moveSpeed = -Math.ceil((Math.random() * 13) + 4);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyTwo") {
if (!changeDirection) {
if ((_x < -50) or (_x > 850)) {
moveSpeed = -moveSpeed;
}
}
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
}
if (_name == "parentEnemyTwo") {
if (((_root.conCirc.timer == 150) or (_root.conCirc.timer == 200)) or (_root.conCirc.timer == 350)) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
}
}
}
Instance of Symbol 443 MovieClip "parentEnemyThree" in Frame 237
onClipEvent (load) {
if (_name != "parentEnemyThree") {
changeDirection = false;
_xscale = 125;
_yscale = 125;
_y = 370;
_x = 825;
moveSpeed = Math.ceil((Math.random() * 13) + 2);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyThree") {
if (!changeDirection) {
if ((_x < -50) or (_x > 850)) {
moveSpeed = -moveSpeed;
}
}
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
}
if (_name == "parentEnemyThree") {
if (_root.conCirc.timer == 750) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
}
}
}
Instance of Symbol 443 MovieClip "parentEnemyFour" in Frame 237
onClipEvent (load) {
if (_name != "parentEnemyFour") {
changeDirection = false;
_xscale = 125;
_yscale = 125;
_y = 370;
_x = -30;
moveSpeed = -Math.ceil((Math.random() * 13) + 4);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyFour") {
if (!changeDirection) {
if ((_x < -50) or (_x > 850)) {
moveSpeed = -moveSpeed;
}
}
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
}
if (_name == "parentEnemyFour") {
if ((_root.conCirc.timer == 900) or (_root.conCirc.timer == 1050)) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
}
}
}
Instance of Symbol 443 MovieClip "parentEnemyFive" in Frame 237
onClipEvent (load) {
if (_name != "parentEnemyFive") {
changeDirection = false;
_xscale = 135;
_yscale = 135;
_y = -30;
_x = ((Stage.width / 2) + ((Math.random() * 50) - 25));
moveSpeed = -Math.ceil((Math.random() * 13) + 4);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyFive") {
if (!changeDirection) {
if ((_y < -50) or (_y > 665)) {
moveSpeed = -moveSpeed;
}
}
_rotation = (_rotation - moveSpeed);
_y = (_y - moveSpeed);
}
if (_name == "parentEnemyFive") {
if (_root.conCirc.timer == 1400) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
}
}
}
Instance of Symbol 443 MovieClip "parentEnemySix" in Frame 237
onClipEvent (load) {
if (_name != "parentEnemySix") {
changeDirection = false;
_xscale = 200;
_yscale = 200;
_y = 175;
_x = -30;
moveSpeed = -Math.ceil((Math.random() * 13) + 4);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemySix") {
if (!changeDirection) {
if ((_x < -50) or (_x > 900)) {
moveSpeed = -moveSpeed;
}
}
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
}
if (_name == "parentEnemySix") {
if ((_root.conCirc.timer == 1650) or (_root.conCirc.timer == 1800)) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
}
}
}
Instance of Symbol 443 MovieClip "parentEnemySeven" in Frame 237
onClipEvent (load) {
if (_name != "parentEnemySeven") {
changeDirection = false;
_xscale = 200;
_yscale = 200;
_y = 175;
_x = 900;
moveSpeed = -Math.ceil((Math.random() * 13) + 4);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemySeven") {
if (!changeDirection) {
if ((_x < -50) or (_x > 900)) {
moveSpeed = -moveSpeed;
}
}
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
}
if (_name == "parentEnemySeven") {
if (_root.conCirc.timer == 1950) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
}
}
}
Instance of Symbol 443 MovieClip "parentEnemyEight" in Frame 237
onClipEvent (load) {
if (_name != "parentEnemyEight") {
changeDirection = false;
_xscale = 150;
_yscale = 150;
_y = -30;
_x = ((Stage.width / 4) + ((Math.random() * 50) + 25));
moveSpeed = -Math.ceil((Math.random() * 13) + 4);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyEight") {
if (!changeDirection) {
if ((_y < -50) or (_y > 665)) {
moveSpeed = -moveSpeed;
}
}
_rotation = (_rotation - moveSpeed);
_y = (_y - moveSpeed);
}
if (_name == "parentEnemyEight") {
if (_root.conCirc.timer == 2200) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
}
}
}
Instance of Symbol 443 MovieClip "parentEnemyNine" in Frame 237
onClipEvent (load) {
if (_name != "parentEnemyNine") {
changeDirection = false;
_xscale = 150;
_yscale = 150;
_y = -30;
_x = ((3 * (Stage.width / 4)) + ((Math.random() * 50) - 25));
moveSpeed = -Math.ceil((Math.random() * 13) + 4);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyNine") {
if (!changeDirection) {
if ((_y < -50) or (_y > 665)) {
moveSpeed = -moveSpeed;
}
}
_rotation = (_rotation - moveSpeed);
_y = (_y - moveSpeed);
}
if (_name == "parentEnemyNine") {
if (_root.conCirc.timer == 2400) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
}
}
}
Instance of Symbol 443 MovieClip "parentEnemyTen" in Frame 237
onClipEvent (load) {
if (_name != "parentEnemyTen") {
changeDirection = false;
_xscale = 300;
_yscale = 300;
_y = (Math.random() * Stage.height);
_x = 900;
moveSpeed = -Math.ceil((Math.random() * 13) + 4);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyTen") {
if (!changeDirection) {
if ((_x < -50) or (_x > 900)) {
moveSpeed = -moveSpeed;
}
}
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
}
if (_name == "parentEnemyTen") {
if (_root.conCirc.timer == 3000) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
}
}
}
Instance of Symbol 443 MovieClip "parentEnemyEleven" in Frame 237
onClipEvent (load) {
if (_name != "parentEnemyEleven") {
changeDirection = false;
_xscale = 300;
_yscale = 300;
_y = (Math.random() * Stage.height);
_x = -100;
moveSpeed = -Math.ceil((Math.random() * 13) + 4);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyEleven") {
if (!changeDirection) {
if ((_x < -100) or (_x > 900)) {
moveSpeed = -moveSpeed;
}
}
_rotation = (_rotation - moveSpeed);
_x = (_x - moveSpeed);
}
if (_name == "parentEnemyEleven") {
if (_root.conCirc.timer == 3500) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
}
}
}
Instance of Symbol 202 MovieClip "conCirc" in Frame 237
onClipEvent (load) {
ghostCounter = 0;
timer = 0;
}
onClipEvent (enterFrame) {
function hitFunction(hit) {
if (hit == "right") {
_root.character.rightStop = true;
}
if (hit == "left") {
_root.character.leftStop = true;
}
if (hit == "floor") {
_root.character.grav_y = 0;
_root.character.jumping = false;
_root.character.vel_y = 0;
_root.character.falling = false;
}
}
Mouse.hide();
timer++;
}
Instance of Symbol 205 MovieClip "parentAimer" in Frame 237
onClipEvent (load) {
_x = _root._xmouse;
_y = _root._ymouse;
_root.aimer.removeMovieClip();
if (this._name == "parentAimer") {
this.duplicateMovieClip("aimer", 2000);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 202 MovieClip "hitPrecision" in Frame 237
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 230 MovieClip in Frame 237
onClipEvent (load) {
this.gotoAndStop(_root.lives);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.lives);
if (_root.lives <= 0) {
_root.gameOverFunction();
}
}
Instance of Symbol 202 MovieClip in Frame 237
onClipEvent (load) {
_global.highScore = _global.survivalOneHigh;
}
onClipEvent (enterFrame) {
_root.time++;
_global.currentScore = _root.time;
if (_global.currentScore > _global.survivalOneHigh) {
_global.survivalOneHigh = _global.currentScore;
_global.highScore = _global.survivalOneHigh;
}
}
Instance of Symbol 486 MovieClip "parentEnemyTwo" in Frame 238
onClipEvent (load) {
if (_name != "parentEnemyTwo") {
_y = -25;
_x = (Math.random() * Stage.width);
doOnce = true;
ySpeed = 20;
}
if (_name == "parentEnemyTwo") {
timer = 25;
maxTimer = 12;
enemyCounter = 0;
enemyControl = 3;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyTwo") {
if (hitTest(_root.character.body)) {
if (doOnce) {
_root.parentEnemyTwo.enemyCounter--;
doOnce = false;
}
this.gotoAndStop("death");
}
_y = (_y + ySpeed);
_rotation = (_rotation - 5);
if (_y > 725) {
_root.parentEnemyTwo.enemyControl = _root.parentEnemyTwo.enemyControl + 0.2;
_root.parentEnemyTwo.enemyCounter--;
_root.parentEnemyTwo.maxTimer = _root.parentEnemyTwo.maxTimer - 0.05;
this.removeMovieClip();
}
}
if (_name == "parentEnemyTwo") {
maxEnemy = Math.floor(enemyControl);
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
if (maxTimer > 3) {
timer = Math.ceil(maxTimer);
} else {
timer = 3;
}
}
}
}
Instance of Symbol 202 MovieClip in Frame 238
onClipEvent (load) {
_global.highScore = _global.survivalTwoHigh;
}
onClipEvent (enterFrame) {
_root.time++;
_global.currentScore = _root.time;
if (_global.currentScore > _global.survivalTwoHigh) {
_global.survivalTwoHigh = _global.currentScore;
_global.highScore = _global.survivalTwoHigh;
}
}
Instance of Symbol 496 MovieClip "parentEnemyTwo" in Frame 239
onClipEvent (load) {
if (_name != "parentEnemyTwo") {
xPos = _x;
yPos = _y;
xSpeed = _root.parentEnemyTwo.xSpeed;
ySpeed = _root.parentEnemyTwo.ySpeed;
xMin = xSpeed;
yMin = ySpeed;
xRate = xSpeed / 5;
yRate = ySpeed / 5;
_y = (Math.random() * Stage.height);
charX = _root.character._x;
charY = _root.character._y;
}
if (_name == "parentEnemyTwo") {
xSpeed = 7;
ySpeed = 4.5;
enemyCounter = 0;
enemyControl = 1;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyTwo") {
this.gotoAndStop(1);
_x = (_x + xSpeed);
_y = (_y + ySpeed);
xPos = _x;
yPos = _y;
charX = _root.character._x;
charY = _root.character._y;
if (xPos != charX) {
if (charX > xPos) {
if (xSpeed < xMin) {
xSpeed = xSpeed + xRate;
}
} else if (xSpeed > (-xMin)) {
xSpeed = xSpeed - xRate;
}
}
if (yPos != charY) {
if (charY > yPos) {
if (ySpeed < yMin) {
ySpeed = ySpeed + yRate;
}
} else if (ySpeed > (-yMin)) {
ySpeed = ySpeed - yRate;
}
}
}
if (_name == "parentEnemyTwo") {
if ((((((_root.conCirc.timer == 400) or (_root.conCirc.timer == 1200)) or (_root.conCirc.timer == 2000)) or (_root.conCirc.timer == 2800)) or (_root.conCirc.timer == 3600)) or (_root.conCirc.timer == 4400)) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
xSpeed = xSpeed + 1;
ySpeed = ySpeed + 0.5;
}
}
}
Instance of Symbol 496 MovieClip "parentEnemy" in Frame 239
onClipEvent (load) {
if (_name != "parentEnemy") {
xPos = _x;
yPos = _y;
xSpeed = _root.parentEnemy.xSpeed;
ySpeed = _root.parentEnemy.ySpeed;
xMin = xSpeed;
yMin = ySpeed;
xRate = xSpeed / 5;
yRate = ySpeed / 5;
_y = (Math.random() * Stage.height);
charX = _root.character._x;
charY = _root.character._y;
}
if (_name == "parentEnemy") {
xSpeed = 5;
ySpeed = 2.5;
enemyCounter = 0;
enemyControl = 1;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
this.gotoAndStop(1);
_x = (_x + xSpeed);
_y = (_y + ySpeed);
xPos = _x;
yPos = _y;
charX = _root.character._x;
charY = _root.character._y;
if (xPos != charX) {
if (charX > xPos) {
if (xSpeed < xMin) {
xSpeed = xSpeed + xRate;
}
} else if (xSpeed > (-xMin)) {
xSpeed = xSpeed - xRate;
}
}
if (yPos != charY) {
if (charY > yPos) {
if (ySpeed < yMin) {
ySpeed = ySpeed + yRate;
}
} else if (ySpeed > (-yMin)) {
ySpeed = ySpeed - yRate;
}
}
}
if (_name == "parentEnemy") {
if ((((((_root.conCirc.timer == 50) or (_root.conCirc.timer == 800)) or (_root.conCirc.timer == 1600)) or (_root.conCirc.timer == 2400)) or (_root.conCirc.timer == 3200)) or (_root.conCirc.timer == 4000)) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
xSpeed = xSpeed + 1;
ySpeed = ySpeed + 0.5;
}
}
}
Instance of Symbol 202 MovieClip in Frame 239
onClipEvent (load) {
_global.highScore = _global.survivalThreeHigh;
}
onClipEvent (enterFrame) {
_root.time++;
_global.currentScore = _root.time;
if (_global.currentScore > _global.survivalThreeHigh) {
_global.survivalThreeHigh = _global.currentScore;
_global.highScore = _global.survivalThreeHigh;
}
}
Instance of Symbol 486 MovieClip "parentEnemy" in Frame 240
onClipEvent (load) {
if (_name != "parentEnemy") {
_y = -250;
_x = (Math.random() * Stage.width);
doOnce = true;
_xscale = _root.parentEnemy.maxScale;
_yscale = _root.parentEnemy.maxScale;
ySpeed = 17;
}
if (_name == "parentEnemy") {
timer = 25;
maxTimer = 10;
maxScale = 25;
enemyCounter = 0;
enemyControl = 3;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
if (hitTest(_root.character.body)) {
if (doOnce) {
_root.parentEnemy.enemyCounter--;
doOnce = false;
}
this.gotoAndStop("death");
}
_y = (_y + ySpeed);
_rotation = (_rotation + 5);
if (_y > 850) {
_root.parentEnemy.enemyControl = _root.parentEnemy.enemyControl + 0.1;
_root.parentEnemy.maxScale = _root.parentEnemy.maxScale + 0.15;
_root.parentEnemy.maxTimer = _root.parentEnemy.maxTimer - 0.03;
_root.parentEnemy.enemyCounter--;
this.removeMovieClip();
}
}
if (_name == "parentEnemy") {
if (enemyControl < 5) {
maxEnemy = Math.floor(enemyControl);
} else {
maxEnemy = 5;
}
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
if (maxTimer > 7) {
timer = Math.ceil(maxTimer);
} else {
timer = 7;
}
}
}
}
Instance of Symbol 202 MovieClip in Frame 240
onClipEvent (load) {
_global.highScore = _global.survivalFourHigh;
}
onClipEvent (enterFrame) {
_root.time++;
_global.currentScore = _root.time;
if (_global.currentScore > _global.survivalFourHigh) {
_global.survivalFourHigh = _global.currentScore;
_global.highScore = _global.survivalFourHigh;
}
}
Instance of Symbol 530 MovieClip in Frame 241
onClipEvent (load) {
maxScale = _xscale;
_alpha = 0;
_x = 0;
_y = 2500;
timer = 400;
maxTimer = 80;
injured = false;
}
onClipEvent (enterFrame) {
if (_xscale < maxScale) {
_xscale = (_xscale+1);
_yscale = (_yscale+1);
}
this.gotoAndStop(1);
if (timer > 0) {
timer--;
} else {
maxScale = maxScale + 2;
_x = (Math.random() * Stage.width);
_y = ((Math.random() * (Stage.height - 50)) + 30);
timer = maxTimer;
}
if ((timer <= 10) && (_alpha > 0)) {
_alpha = (_alpha - 10);
}
if ((timer >= (maxTimer - 10)) && (_alpha < 100)) {
_alpha = (_alpha + 10);
}
if (timer == (maxTimer - 10)) {
this.ghostShot.play();
}
}
Instance of Symbol 530 MovieClip in Frame 241
onClipEvent (load) {
maxScale = _xscale;
_alpha = 0;
_x = 0;
_y = 2500;
timer = 750;
maxTimer = 80;
injured = false;
}
onClipEvent (enterFrame) {
if (_xscale < maxScale) {
_xscale = (_xscale+1);
_yscale = (_yscale+1);
}
this.gotoAndStop(1);
if (timer > 0) {
timer--;
} else {
maxScale = maxScale + 2;
_x = (Math.random() * Stage.width);
_y = ((Math.random() * (Stage.height - 50)) + 30);
timer = maxTimer;
}
if ((timer <= 10) && (_alpha > 0)) {
_alpha = (_alpha - 10);
}
if ((timer >= (maxTimer - 10)) && (_alpha < 100)) {
_alpha = (_alpha + 10);
}
if (timer == (maxTimer - 10)) {
this.ghostShot.play();
}
}
Instance of Symbol 530 MovieClip in Frame 241
onClipEvent (load) {
maxScale = _xscale;
_alpha = 0;
_x = 0;
_y = 2500;
timer = 30;
maxTimer = 80;
injured = false;
}
onClipEvent (enterFrame) {
if (_xscale < maxScale) {
_xscale = (_xscale+1);
_yscale = (_yscale+1);
}
this.gotoAndStop(1);
if (timer > 0) {
timer--;
} else {
maxScale = maxScale + 2;
_x = (Math.random() * Stage.width);
_y = ((Math.random() * (Stage.height - 50)) + 30);
timer = maxTimer;
}
if ((timer <= 10) && (_alpha > 0)) {
_alpha = (_alpha - 10);
}
if ((timer >= (maxTimer - 10)) && (_alpha < 100)) {
_alpha = (_alpha + 10);
}
if (timer == (maxTimer - 10)) {
this.ghostShot.play();
}
}
Instance of Symbol 202 MovieClip in Frame 241
onClipEvent (load) {
_global.highScore = _global.survivalFiveHigh;
}
onClipEvent (enterFrame) {
_root.time++;
_global.currentScore = _root.time;
if (_global.currentScore > _global.survivalFiveHigh) {
_global.survivalFiveHigh = _global.currentScore;
_global.highScore = _global.survivalFiveHigh;
}
}
Instance of Symbol 569 MovieClip "parentEnemy" in Frame 242
onClipEvent (load) {
if (_name != "parentEnemy") {
injured = false;
_y = ((Math.random() * 300) + 40);
_x = 825;
hitPoints = Math.ceil(_root.parentEnemy.maxHitPoints);
maxRandom = _root.parentEnemy.maxRandom;
maxAddition = _root.parentEnemy.maxAddition;
moveSpeed = (Math.random() * maxRandom) + maxAddition;
}
if (_name == "parentEnemy") {
this.gotoAndStop(1);
timer = 30;
enemyCounter = 0;
enemyControl = 2;
enemyMax = Math.floor(enemyControl);
maxRandom = 2;
maxAddition = 1;
maxHitPoints = 20;
maxTimer = 55;
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
this.gotoAndStop(1);
if (_x < -75) {
if (_root.parentEnemy.maxHitPoints < 30) {
_root.parentEnemy.maxHitPoints = _root.parentEnemy.maxHitPoints + 0.5;
}
_root.parentEnemy.maxAddition = _root.parentEnemy.maxAddition + 0.1;
_root.parentEnemy.maxRandom = _root.parentEnemy.maxRandom + 0.05;
_root.parentEnemy.enemyControl = _root.parentEnemy.enemyControl + 0.1;
_root.parentEnemy.enemyCounter--;
_root.parentEnemy.maxTimer--;
this.removeMovieClip();
}
_x = (_x - moveSpeed);
}
if (_name == "parentEnemy") {
maxEnemy = Math.floor(enemyControl);
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
if (maxTimer > 17) {
timer = maxTimer;
} else {
timer = 17;
}
}
}
}
Instance of Symbol 569 MovieClip "parentEnemyTwo" in Frame 242
onClipEvent (load) {
if (_name != "parentEnemyTwo") {
injured = false;
_y = ((Math.random() * 300) + 40);
_x = -100;
hitPoints = Math.ceil(_root.parentEnemyTwo.maxHitPoints);
maxRandom = _root.parentEnemyTwo.maxRandom;
maxAddition = _root.parentEnemyTwo.maxAddition;
moveSpeed = (Math.random() * maxRandom) + maxAddition;
}
if (_name == "parentEnemyTwo") {
this.gotoAndStop(1);
timer = 30;
enemyCounter = 0;
enemyControl = 2;
maxEnemy = Math.floor(enemyControl);
maxRandom = 2;
maxAddition = 1;
maxHitPoints = 20;
maxTimer = 55;
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyTwo") {
this.gotoAndStop(1);
if (_x > 875) {
if (_root.parentEnemyTwo.maxHitPoints < 30) {
_root.parentEnemyTwo.maxHitPoints = _root.parentEnemyTwo.maxHitPoints + 0.5;
}
_root.parentEnemyTwo.maxAddition = _root.parentEnemyTwo.maxAddition + 0.1;
_root.parentEnemyTwo.enemyControl = _root.parentEnemyTwo.enemyControl + 0.1;
_root.parentEnemyTwo.maxRandom = _root.parentEnemyTwo.maxRandom + 0.05;
_root.parentEnemyTwo.enemyCounter--;
_root.parentEnemy.maxTimer--;
this.removeMovieClip();
}
_x = (_x + moveSpeed);
}
if (_name == "parentEnemyTwo") {
maxEnemy = Math.floor(enemyControl);
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
if (maxTimer > 17) {
timer = maxTimer;
} else {
timer = 17;
}
}
}
}
Instance of Symbol 202 MovieClip in Frame 242
onClipEvent (load) {
_global.highScore = _global.survivalSixHigh;
}
onClipEvent (enterFrame) {
_root.time++;
_global.currentScore = _root.time;
if (_global.currentScore > _global.survivalSixHigh) {
_global.survivalSixHigh = _global.currentScore;
_global.highScore = _global.survivalSixHigh;
}
}
Instance of Symbol 593 MovieClip in Frame 243
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 40;
startY = _y;
extra = true;
attack = false;
}
onClipEvent (enterFrame) {
this.gotoAndStop(1);
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 60;
ySpeed = 30;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
Instance of Symbol 593 MovieClip in Frame 243
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 300;
startY = _y;
extra = true;
attack = false;
}
onClipEvent (enterFrame) {
this.gotoAndStop(1);
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 60;
ySpeed = 30;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
Instance of Symbol 593 MovieClip in Frame 243
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 3000;
startY = _y;
extra = true;
attack = false;
}
onClipEvent (enterFrame) {
this.gotoAndStop(1);
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 70;
ySpeed = 35;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
Instance of Symbol 593 MovieClip in Frame 243
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 2500;
startY = _y;
extra = true;
attack = false;
}
onClipEvent (enterFrame) {
this.gotoAndStop(1);
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 54;
ySpeed = 27;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
Instance of Symbol 593 MovieClip in Frame 243
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 3900;
startY = _y;
extra = true;
attack = false;
}
onClipEvent (enterFrame) {
this.gotoAndStop(1);
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 60;
ySpeed = 30;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
Instance of Symbol 593 MovieClip in Frame 243
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 2000;
startY = _y;
extra = true;
attack = false;
}
onClipEvent (enterFrame) {
this.gotoAndStop(1);
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 60;
ySpeed = 30;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
Instance of Symbol 593 MovieClip in Frame 243
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 625;
startY = _y;
extra = true;
attack = false;
}
onClipEvent (enterFrame) {
this.gotoAndStop(1);
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 70;
ySpeed = 35;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
Instance of Symbol 593 MovieClip in Frame 243
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 815;
startY = _y;
extra = true;
attack = false;
}
onClipEvent (enterFrame) {
this.gotoAndStop(1);
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 54;
ySpeed = 27;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
Instance of Symbol 593 MovieClip in Frame 243
onClipEvent (load) {
charX = _root.character._x;
ySpeed = 0;
timer = 1500;
startY = _y;
extra = true;
attack = false;
}
onClipEvent (enterFrame) {
this.gotoAndStop(1);
charX = _root.character._x;
if (timer > 0) {
timer--;
} else {
_x = charX;
attack = true;
timer = 70;
ySpeed = 35;
}
if (attack) {
if (ySpeed == 0) {
this.jaw.gotoAndStop(2);
}
if (ySpeed < -25) {
this.jaw.gotoAndStop(1);
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 1;
}
}
Instance of Symbol 202 MovieClip in Frame 243
onClipEvent (load) {
_global.highScore = _global.survivalSevenHigh;
}
onClipEvent (enterFrame) {
_root.time++;
_global.currentScore = _root.time;
if (_global.currentScore > _global.survivalSevenHigh) {
_global.survivalSevenHigh = _global.currentScore;
_global.highScore = _global.survivalSevenHigh;
}
}
Frame 244
function enemyClear() {
c = 1;
while (c < 100) {
_root["enemy" + c].hitPoints = 0;
_root["enemyTwo" + c].hitPoints = 0;
c++;
}
}
function enemyDeath() {
c = 1;
while (c < 200) {
_root["enemy" + c].removeMovieClip();
_root["enemyTwo" + c].removeMovieClip();
c++;
}
}
function deathFunction() {
playerHurt.start();
_root.character._x = 200;
_root.character._y = -200;
_root.character.injuredTimer = 50;
playerInjured = true;
if (lives > 1) {
_root.lifeBar.life._width = 5;
lives--;
} else {
gameOverFunction();
}
}
function injuredFunction() {
playerHurt.start();
_root.character.injuredTimer = 30;
_root.lifeBar.life._width = _root.lifeBar.life._width + 40;
playerInjured = true;
}
function gameOverFunction() {
_root.aimer.removeMovieClip();
enemyDeath();
_root.gotoAndPlay("GameOver");
}
dropDown = false;
musicNumber = 1;
musicControl = 1;
musicOne.start();
mouseActive = false;
playerInjured = false;
lives = 1;
enemyCounter = 0;
onesPlace = 0;
tensPlace = 0;
hundredsPlace = 0;
thousandsPlace = 0;
qualityControl = 1;
c = 1;
i = 1;
keyListener = new Object();
mouseListener = new Object();
counterFunction = function () {
onesPlace = enemyCounter - (Math.floor(enemyCounter / 10) * 10);
tensPlace = ((enemyCounter - (Math.floor(enemyCounter / 100) * 100)) - onesPlace) / 10;
hundredsPlace = (((enemyCounter - (Math.floor(enemyCounter / 1000) * 1000)) - onesPlace) - tensPlace) / 100;
thousandsPlace = ((((enemyCounter - (Math.floor(enemyCounter / 10000) * 10000)) - onesPlace) - tensPlace) - hundredsPlace) / 1000;
_root.conCirc.gameControl(enemyCounter);
};
mouseListener.onMouseDown = function () {
mouseActive = true;
};
mouseListener.onMouseUp = function () {
mouseActive = false;
};
keyListener.onKeyDown = function () {
if (Key.isDown(83)) {
dropDown = true;
}
if (Key.isDown(69)) {
if ((musicNumber == 4) && (musicControl == 1)) {
musicNumber = 1;
musicTwo.stop();
_root.soundClip.gotoAndStop(1);
musicControl = 2;
}
if ((musicNumber == 3) && (musicControl == 1)) {
musicNumber = 4;
musicTwo.stop();
_root.soundClip.gotoAndStop(4);
musicControl = 2;
}
if ((musicNumber == 2) && (musicControl == 1)) {
musicNumber = 3;
musicOne.stop();
_root.soundClip.gotoAndStop(2);
musicControl = 2;
}
if ((musicNumber == 1) && (musicControl == 1)) {
musicNumber = 2;
musicOne.stop();
_root.soundClip.gotoAndStop(3);
musicControl = 2;
}
}
if (Key.isDown(81)) {
if ((_quality == "HIGH") && (qualityControl == 1)) {
_quality = "LOW";
qualityControl = 2;
}
if ((_quality == "MEDIUM") && (qualityControl == 1)) {
_quality = "HIGH";
qualityControl = 2;
}
if ((_quality == "LOW") && (qualityControl == 1)) {
_quality = "MEDIUM";
qualityControl = 2;
}
}
};
keyListener.onKeyUp = function () {
if (!Key.isDown(83)) {
dropDown = false;
}
if (!Key.isDown(81)) {
qualityControl = 1;
}
if (!Key.isDown(69)) {
musicControl = 1;
}
};
Key.addListener(keyListener);
Mouse.addListener(mouseListener);
_root.aimer.removeMovieClip();
_root.machineGun.stop("machineGun");
Instance of Symbol 210 MovieClip "soundClip" in Frame 244
onClipEvent (load) {
_root.musicOne.stop();
this.gotoAndStop(4);
}
Instance of Symbol 210 MovieClip "soundClip" in Frame 245
onClipEvent (load) {
this.gotoAndStop(1);
}
Frame 301
_root.gotoAndStop(_global.stageName);
Instance of Symbol 245 MovieClip in Frame 301
onClipEvent (enterFrame) {
if (this.hitTest(_root.character)) {
_root.deathFunction();
}
}
Instance of Symbol 271 MovieClip "character" in Frame 301
onClipEvent (load) {
a = Math.abs(_x - _root._xmouse);
b = Math.abs(_y - _root._ymouse);
rotation = (Math.atan(b / a) * 180) / Math.PI;
jumping = false;
walking = false;
falling = true;
rightStop = false;
leftStop = false;
jumpControl = false;
moveSpeed = 0;
grav_y = 0;
injuredTimer = 0;
}
onClipEvent (enterFrame) {
if (injuredTimer > 0) {
injuredTimer--;
this._alpha = Math.ceil(Math.random() * 40);
} else {
this._alpha = 100;
_root.playerInjured = false;
}
_x = (_x + moveSpeed);
if (!jumping) {
grav_y = 23;
this._y = this._y + grav_y;
this.legs.rocketBoots.gotoAndStop(1);
}
a = Math.abs(_x - _root._xmouse);
b = Math.abs(_y - _root._ymouse);
rotation = (Math.atan(b / a) * 180) / Math.PI;
if (_root._ymouse < _y) {
rotation = -rotation;
}
if (_root._xmouse < _x) {
rotation = (-rotation) - 180;
}
if (Key.isDown(68)) {
if (!rightStop) {
if (moveSpeed < 11) {
moveSpeed = moveSpeed + 2.75;
}
}
walking = true;
this.body.gotoAndStop(1);
}
if (Key.isDown(65)) {
if (!leftStop) {
if (moveSpeed > -11) {
moveSpeed = moveSpeed - 2.75;
}
}
walking = true;
this.body.gotoAndStop(2);
}
if (((Key.isDown(87) && (!jumping)) && (!Key.isDown(83))) && (!jumpControl)) {
vel_y = 36;
jumping = true;
jumpControl = true;
}
if (!Key.isDown(87)) {
jumpControl = false;
if (jumping && (vel_y > 15)) {
vel_y = 15;
}
}
if (jumping) {
walking = false;
this.legs.rocketBoots.play();
vel_y = vel_y - 3;
if (vel_y <= -24) {
vel_y = -24;
}
_y = (_y - vel_y);
}
if ((!Key.isDown(65)) && (!Key.isDown(68))) {
if (moveSpeed > 0) {
moveSpeed = moveSpeed - 2.75;
}
if (moveSpeed < 0) {
moveSpeed = moveSpeed + 2.75;
}
walking = false;
}
if (walking) {
this.legs.play();
} else if (jumping) {
this.legs.gotoAndStop(10);
} else if (moveSpeed == 0) {
this.legs.gotoAndStop(1);
}
rightStop = false;
leftStop = false;
}
Instance of Symbol 202 MovieClip "conCirc" in Frame 301
onClipEvent (load) {
ghostCounter = 0;
}
onClipEvent (enterFrame) {
function hitFunction(hit) {
if (hit == "right") {
_root.character.rightStop = true;
}
if (hit == "left") {
_root.character.leftStop = true;
}
if (hit == "floor") {
_root.character.grav_y = 0;
_root.character.jumping = false;
_root.character.vel_y = 0;
_root.character.falling = false;
}
}
function gameControl(enemyCounter) {
if (enemyCounter == 60) {
_root.backGround.play();
}
if (enemyCounter == 70) {
_root.turretOne.recede = true;
_root.turretTwo.recede = true;
_root.backGround.play();
}
if (enemyCounter == 100) {
_root.backGround.play();
}
if (enemyCounter == 115) {
_root.backGround.play();
}
if (enemyCounter == 140) {
_root.backGround.play();
}
if (ghostCounter == 3) {
ghostCounter = 0;
_root.backGround.play();
}
if (enemyCounter == 165) {
_root.backGround.play();
}
if (enemyCounter == 169) {
_root.backGround.play();
}
if (enemyCounter == 173) {
_root.backGround.play();
}
if (enemyCounter == 181) {
_root.backGround.play();
}
}
Mouse.hide();
}
Instance of Symbol 205 MovieClip "parentAimer" in Frame 301
onClipEvent (load) {
_x = _root._xmouse;
_y = _root._ymouse;
shake = false;
if (this._name == "parentAimer") {
this.duplicateMovieClip("aimer", 2000);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
if (shake) {
_x = (_root._xmouse + ((Math.random() * 5) - 3));
_y = (_root._ymouse + ((Math.random() * 5) - 3));
}
}
onClipEvent (mouseDown) {
_root.machineGun.start(0, 100);
shake = true;
}
onClipEvent (mouseUp) {
_root.machineGun.stop("machineGun");
shake = false;
}
Instance of Symbol 202 MovieClip "hitPrecision" in Frame 301
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 436 MovieClip "bulletDirt" in Frame 301
onClipEvent (load) {
if (this._name != "bulletDirt") {
this._x = (_root._xmouse + (Math.random() * 20)) - 10;
this._y = (_root._ymouse + (Math.random() * 20)) - 10;
_root.bulletDirt.timer = 2;
}
if (this._name == "bulletDirt") {
dirtCounter = 1;
maxDirt = 10;
depthCounter = 1;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
}
if (firing) {
if ((dirtCounter <= maxDirt) && (timer == 0)) {
dirtCounter++;
depthCounter++;
_root.bulletDirt.duplicateMovieClip("dirt" + depthCounter, depthCounter + 300);
if (depthCounter >= maxDirt) {
depthCounter = 1;
dirtCounter = 1;
}
}
} else {
dirtCounter = 1;
maxDirt = 10;
depthCounter = 1;
timer = 0;
firing = false;
}
}
onClipEvent (mouseDown) {
firing = true;
}
onClipEvent (mouseUp) {
firing = false;
}
Instance of Symbol 230 MovieClip in Frame 301
onClipEvent (load) {
this.gotoAndStop(_root.onesPlace);
}
onClipEvent (enterFrame) {
if (_root.onesPlace == 0) {
this.gotoAndStop(10);
} else {
this.gotoAndStop(_root.onesPlace);
}
}
Instance of Symbol 230 MovieClip in Frame 301
onClipEvent (load) {
this.gotoAndStop(_root.tensPlace);
}
onClipEvent (enterFrame) {
if (_root.tensPlace == 0) {
this.gotoAndStop(10);
} else {
this.gotoAndStop(_root.tensPlace);
}
}
Instance of Symbol 230 MovieClip in Frame 301
onClipEvent (load) {
this.gotoAndStop(_root.hundredsPlace);
}
onClipEvent (enterFrame) {
if (_root.hundredsPlace == 0) {
this.gotoAndStop(10);
} else {
this.gotoAndStop(_root.hundredsPlace);
}
}
Instance of Symbol 230 MovieClip in Frame 301
onClipEvent (load) {
this.gotoAndStop(_root.thousandsPlace);
}
onClipEvent (enterFrame) {
if (_root.thousandsPlace == 0) {
this.gotoAndStop(10);
} else {
this.gotoAndStop(_root.thousandsPlace);
}
}
Instance of Symbol 230 MovieClip in Frame 301
onClipEvent (load) {
this.gotoAndStop(_root.lives);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.lives);
if (_root.lives <= 0) {
_root.gameOverFunction();
}
}
Frame 302
stop();
Instance of Symbol 484 MovieClip "laserBoss" in Frame 302
onClipEvent (load) {
extreme = true;
injured = false;
deathCounter = 15;
hitPoints = 150;
}
onClipEvent (enterFrame) {
if (hitPoints == 80) {
this.missleOne.activated = true;
this.missleTwo.activated = true;
}
if (hitPoints == 0) {
_global.extremeTwo = true;
this.innerLaser.gotoAndStop("death");
this.play();
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints == -1) {
deathCounter--;
_root.fade._alpha = _root.fade._alpha + 8;
if (deathCounter == 0) {
_root.gotoAndPlay("MenuTwo");
}
}
if (hitPoints > 0) {
if (injured) {
this.innerLaser.gotoAndStop("injured");
} else {
this.innerLaser.gotoAndStop(1);
}
}
}
Instance of Symbol 77 MovieClip "fade" in Frame 302
onClipEvent (load) {
_alpha = -20;
}
onClipEvent (enterFrame) {
if (_alpha >= 80) {
_root.musicOne.stop();
}
}
Instance of Symbol 509 MovieClip "plantBoss" in Frame 303
onClipEvent (load) {
injured = false;
hitPoints = 1500;
deathCounter = 15;
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
_global.extremeThree = true;
this.gotoAndPlay("death");
this.plantCenter.gotoAndStop(1);
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints == -1) {
deathCounter--;
_root.fade._alpha = _root.fade._alpha + 8;
if (deathCounter == 0) {
_root.gotoAndPlay("MenuTwo");
}
}
if (hitPoints > 0) {
if (injured) {
this.plantCenter.gotoAndStop("injured");
} else {
this.plantCenter.gotoAndStop(1);
}
}
}
Instance of Symbol 363 MovieClip in Frame 304
onClipEvent (load) {
extreme = true;
deathCounter = 0;
deathCounterTwo = 15;
}
onClipEvent (enterFrame) {
if (deathCounter == 2) {
this.earOne.activated = true;
this.earTwo.activated = true;
}
if (deathCounter == 3) {
_root.leftArmThree.activated = true;
}
if (deathCounter == 4) {
this.glassHead.activated = true;
}
if (deathCounter == 5) {
this.brain.activated = true;
}
if (deathCounter == 6) {
_global.extremeFour = true;
_root.enemyCounter++;
_root.counterFunction();
_root.backGround.play();
_root.rightArm.play();
_root.rightArmTwo.play();
_root.leftArm.play();
_root.leftArmTwo.play();
_root.leftArmThree.play();
deathCounter = 7;
}
if (deathCounter == 7) {
_alpha = (_alpha - 5);
deathCounterTwo--;
_root.fade._alpha = _root.fade._alpha + 8;
if (deathCounterTwo == 0) {
_root.gotoAndPlay("MenuTwo");
}
}
}
Instance of Symbol 518 MovieClip "leftArmThree" in Frame 304
onClipEvent (load) {
extreme = true;
activated = false;
playControl = false;
}
onClipEvent (enterFrame) {
if (!activated) {
this.gotoAndStop(1);
}
if (activated && (playControl == false)) {
this.play();
playControl = true;
}
}
Instance of Symbol 518 MovieClip "leftArmTwo" in Frame 304
onClipEvent (load) {
extreme = true;
}
Instance of Symbol 518 MovieClip "leftArm" in Frame 304
onClipEvent (load) {
extreme = true;
}
Instance of Symbol 585 MovieClip in Frame 306
onClipEvent (load) {
extreme = true;
startRotation = false;
rotationSpeed = 0.5;
xSpeed = 0;
ySpeed = 0;
moveRight = false;
moveUp = false;
maxX = 10;
maxY = 10;
}
onClipEvent (enterFrame) {
if (startRotation) {
_rotation = (_rotation + rotationSpeed);
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (moveRight) {
if (xSpeed < maxX) {
xSpeed++;
}
} else if (xSpeed > (-maxX)) {
xSpeed--;
}
if (moveUp) {
if (ySpeed < maxY) {
ySpeed++;
}
} else if (ySpeed > (-maxY)) {
ySpeed--;
}
if (_x < 50) {
moveRight = true;
xSpeed = 0;
_x = 60;
}
if (_x > 750) {
moveRight = false;
xSpeed = 0;
_x = 740;
}
if (_y < 50) {
moveUp = true;
ySpeed = 0;
_y = 60;
}
if (_y > 600) {
moveUp = false;
ySpeed = 0;
_y = 590;
}
}
}
Instance of Symbol 409 MovieClip in Frame 307
onClipEvent (load) {
hitPoints = 600;
deathCounter = 30;
extreme = true;
}
onClipEvent (enterFrame) {
if (hitPoints > 0) {
if (injured) {
this.fish.gotoAndStop("injured");
} else {
this.fish.gotoAndStop(1);
}
}
if (hitPoints == -1) {
deathCounter--;
_root.fade._alpha = _root.fade._alpha + 4;
if (deathCounter == 0) {
_global.extremeSeven = true;
_root.gotoAndPlay("MenuTwo");
}
}
}
Instance of Symbol 618 MovieClip "dinosaur" in Frame 308
onClipEvent (load) {
hitPoints = 500;
deathCounter = 30;
extreme = true;
}
onClipEvent (enterFrame) {
if (hitPoints > 0) {
if (injured) {
this.head.gotoAndStop("injured");
} else {
this.head.gotoAndStop(1);
}
}
if (hitPoints == -1) {
_global.extremeEight = true;
deathCounter--;
_root.fade._alpha = _root.fade._alpha + 4;
if (deathCounter == 0) {
_root.gotoAndPlay("MenuTwo");
}
}
}
Instance of Symbol 667 MovieClip "ballTwo" in Frame 308
onClipEvent (load) {
rotationSpeed = 5;
xSpeed = 15;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
_x = (_x + xSpeed);
if (_x > 950) {
_x = 900;
rotationSpeed = -5;
xSpeed = -15;
}
if (_x < -200) {
_x = -150;
rotationSpeed = 5;
xSpeed = 15;
}
}
Instance of Symbol 667 MovieClip "ballOne" in Frame 308
onClipEvent (load) {
rotationSpeed = 5;
xSpeed = -15;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
_x = (_x + xSpeed);
if (_x > 950) {
_x = 900;
rotationSpeed = -5;
xSpeed = -15;
}
if (_x < -200) {
_x = -150;
rotationSpeed = 5;
xSpeed = 15;
}
}
Instance of Symbol 667 MovieClip "ballThree" in Frame 308
onClipEvent (load) {
rotationSpeed = 5;
xSpeed = -15;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
_x = (_x + xSpeed);
if (_x > 950) {
_x = 900;
rotationSpeed = -5;
xSpeed = -15;
}
if (_x < -200) {
_x = -150;
rotationSpeed = 5;
xSpeed = 15;
}
}
Instance of Symbol 667 MovieClip "ballFive" in Frame 308
onClipEvent (load) {
rotationSpeed = 5;
ySpeed = -15;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
_y = (_y + ySpeed);
if (_y > 750) {
_y = 700;
rotationSpeed = -5;
ySpeed = -15;
}
if (_y < -200) {
_y = -150;
rotationSpeed = 5;
ySpeed = 15;
}
}
Instance of Symbol 667 MovieClip "ballFour" in Frame 308
onClipEvent (load) {
rotationSpeed = 5;
ySpeed = -15;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotationSpeed);
_y = (_y + ySpeed);
if (_y > 750) {
_y = 700;
rotationSpeed = -5;
ySpeed = -15;
}
if (_y < -200) {
_y = -150;
rotationSpeed = 5;
ySpeed = 15;
}
}
Instance of Symbol 646 MovieClip "tripBoss" in Frame 309
onClipEvent (load) {
this.tripBall._xscale = 110;
this.tripBall._yscale = 110;
moveUp = false;
hitPoints = 1200;
deathCounter = 24;
timer = 40;
ySpeed = 0;
changeDirection = true;
attackOne = true;
attackTwo = false;
attackThree = false;
}
onClipEvent (enterFrame) {
if ((hitPoints <= 0) && (hitPoints > -10)) {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_alpha = 100;
this.gotoAndPlay("death");
this.innerTrip.gotoAndStop(1);
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -20;
}
if (hitPoints == -20) {
deathCounter--;
_root.fade._alpha = _root.fade._alpha + 5;
if (deathCounter == 0) {
_root.gotoAndPlay("MenuTwo");
}
}
if (hitPoints > 0) {
if (injured) {
this.innerTrip.gotoAndStop("injured");
} else {
this.innerTrip.gotoAndStop(1);
}
if (timer > 0) {
timer--;
}
if ((hitPoints < 800) && (hitPoints > 400)) {
attackOne = false;
attackTwo = true;
}
if (hitPoints <= 400) {
attackTwo = false;
attackThree = true;
}
if (attackOne) {
this.gotoAndStop(1);
if (timer == 5) {
_alpha = 0;
}
if (timer == 20) {
this.tripBall.gotoAndStop(2);
}
if (timer == 0) {
this.tripBall.gotoAndStop(1);
_x = _root.character._x;
_y = _root.character._y;
_xscale = (-_xscale);
_alpha = 100;
timer = 40;
}
}
if (attackTwo) {
this.gotoAndStop(2);
if (timer == 5) {
_alpha = 0;
}
if (timer == 15) {
this.tripLine.play();
}
if (timer == 0) {
this.tripLine.gotoAndStop(1);
_x = (Stage.width / 2);
_y = _root.character._y;
_xscale = (-_xscale);
_alpha = 100;
timer = 25;
}
}
if (attackThree) {
if (changeDirection) {
this.gotoAndStop(2);
if (timer == 5) {
_alpha = 0;
}
if (timer == 15) {
this.tripLine.play();
}
if (timer == 0) {
this.tripLine.gotoAndStop(1);
changeDirection = false;
_y = (Stage.height / 2);
_x = _root.character._x;
_xscale = (-_xscale);
_alpha = 100;
timer = 20;
}
} else {
this.gotoAndStop(4);
if (timer == 5) {
_alpha = 0;
}
if (timer == 15) {
this.tripLineTwo.play();
}
if (timer == 0) {
this.tripLineTwo.gotoAndStop(1);
changeDirection = true;
_y = _root.character._y;
_x = (Stage.width / 2);
_xscale = (-_xscale);
_alpha = 100;
timer = 20;
}
}
}
_y = (_y + ySpeed);
if (moveUp) {
ySpeed++;
} else {
ySpeed--;
}
if (ySpeed >= 10) {
moveUp = false;
ySpeed = 9;
}
if (ySpeed <= -10) {
moveUp = true;
ySpeed = -9;
}
}
}
Frame 310
stop();
_root.aimer.removeMovieClip();
_root.machineGun.stop("machineGun");
Mouse.show();
Instance of Symbol 672 MovieClip "ufo" in Frame 310
onClipEvent (load) {
extra = true;
this.beam.gotoAndStop(1);
}
Instance of Symbol 210 MovieClip "soundClip" in Frame 310
onClipEvent (load) {
_root.musicOne.stop();
this.gotoAndStop(4);
}
Instance of Symbol 685 MovieClip "parentEnemy" in Frame 310
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 685 MovieClip "parentEnemy" in Frame 310
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 685 MovieClip "parentEnemy" in Frame 310
onClipEvent (load) {
this.gotoAndStop(1);
}
Frame 311
function enemyDeath() {
c = 1;
while (c < 8000) {
_root["enemy" + c].removeMovieClip();
_root["enemyTwo" + c].removeMovieClip();
c++;
}
}
function gameOverFunction() {
enemyDeath();
_root.gotoAndPlay("HighScore");
}
stop();
reward = new Sound();
reward.attachSound("reward");
musicNumber = 1;
musicControl = 1;
musicOne.start();
qualityControl = 1;
time = 2000;
score = 0;
keyListener = new Object();
mouseListener = new Object();
keyListener.onKeyDown = function () {
if (Key.isDown(69)) {
if ((musicNumber == 4) && (musicControl == 1)) {
musicNumber = 1;
musicTwo.stop();
_root.soundClip.gotoAndStop(1);
musicControl = 2;
}
if ((musicNumber == 3) && (musicControl == 1)) {
musicNumber = 4;
musicTwo.stop();
_root.soundClip.gotoAndStop(4);
musicControl = 2;
}
if ((musicNumber == 2) && (musicControl == 1)) {
musicNumber = 3;
musicOne.stop();
_root.soundClip.gotoAndStop(2);
musicControl = 2;
}
if ((musicNumber == 1) && (musicControl == 1)) {
musicNumber = 2;
musicOne.stop();
_root.soundClip.gotoAndStop(3);
musicControl = 2;
}
}
if (Key.isDown(81)) {
if ((_quality == "HIGH") && (qualityControl == 1)) {
_quality = "LOW";
qualityControl = 2;
}
if ((_quality == "MEDIUM") && (qualityControl == 1)) {
_quality = "HIGH";
qualityControl = 2;
}
if ((_quality == "LOW") && (qualityControl == 1)) {
_quality = "MEDIUM";
qualityControl = 2;
}
}
};
keyListener.onKeyUp = function () {
if (!Key.isDown(81)) {
qualityControl = 1;
}
if (!Key.isDown(69)) {
musicControl = 1;
}
};
Key.addListener(keyListener);
d = 1;
Instance of Symbol 685 MovieClip "parentEnemy" in Frame 311
onClipEvent (load) {
if (_name != "parentEnemy") {
startY = Math.floor((Math.random() * 75) + 525);
_y = startY;
moveSpeed = (Math.random() * 3) + 1.5;
startRotation = _rotation;
riseSpeed = 10;
walking = true;
rising = false;
falling = false;
}
if (_name == "parentEnemy") {
timer = 30;
enemyCounter = 0;
enemyControl = 25;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
i = 1;
while (i <= 5) {
if (this.hitTest(_root["collector" + i])) {
_root["collector" + i].personCounter--;
_root.parentEnemy.enemyCounter--;
this.removeMovieClip();
}
i++;
}
if (walking) {
_x = (_x - moveSpeed);
this.gotoAndStop(1);
}
if (rising && (!this.hitTest(_root.ufo.stopBlock))) {
_y = (_y - riseSpeed);
this.gotoAndStop(2);
}
if (falling) {
this.gotoAndStop(2);
_y = (_y + 8);
_rotation = (_rotation + 7);
}
if (this.hitTest(_root.ufo.beamSpot) && (_root.beamActive)) {
rising = true;
walking = false;
falling = false;
_x = _root._xmouse;
}
if (rising) {
if (this.hitTest(_root.ufo.beam) && (_root.beamActive)) {
rising = true;
_x = _root._xmouse;
} else {
rising = false;
}
}
if ((_y < startY) && (!rising)) {
falling = true;
walking = false;
}
if (_y >= startY) {
_y = startY;
_rotation = startRotation;
falling = false;
walking = true;
}
if (_x < -50) {
_root.parentEnemy.enemyCounter--;
this.removeMovieClip();
}
}
if (_name == "parentEnemy") {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
timer = 22;
}
}
}
Instance of Symbol 685 MovieClip "parentEnemyTwo" in Frame 311
onClipEvent (load) {
if (_name != "parentEnemyTwo") {
startY = Math.floor((Math.random() * 75) + 525);
_y = startY;
moveSpeed = (Math.random() * 3) + 1.5;
startRotation = _rotation;
riseSpeed = 10;
walking = true;
rising = false;
falling = false;
}
if (_name == "parentEnemyTwo") {
timer = 30;
enemyCounter = 0;
enemyControl = 25;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyTwo") {
i = 1;
while (i <= 5) {
if (this.hitTest(_root["collector" + i])) {
_root.parentEnemyTwo.enemyCounter--;
_root["collector" + i].personCounter--;
this.removeMovieClip();
}
i++;
}
if (walking) {
_x = (_x + moveSpeed);
this.gotoAndStop(1);
}
if (rising && (!this.hitTest(_root.ufo.stopBlock))) {
_y = (_y - riseSpeed);
this.gotoAndStop(2);
}
if (falling) {
this.gotoAndStop(2);
_y = (_y + 8);
_rotation = (_rotation + 7);
}
if (this.hitTest(_root.ufo.beamSpot) && (_root.beamActive)) {
rising = true;
walking = false;
falling = false;
_x = _root._xmouse;
}
if (rising) {
if (this.hitTest(_root.ufo.beam) && (_root.beamActive)) {
rising = true;
_x = _root._xmouse;
} else {
rising = false;
}
}
if ((_y < startY) && (!rising)) {
falling = true;
walking = false;
}
if (_y >= startY) {
_y = startY;
_rotation = startRotation;
falling = false;
walking = true;
}
if (_x > 857) {
_root.parentEnemyTwo.enemyCounter--;
this.removeMovieClip();
}
}
if (_name == "parentEnemyTwo") {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
timer = 22;
}
}
}
Instance of Symbol 703 MovieClip "collector1" in Frame 311
onClipEvent (load) {
_y = ((Math.random() * 250) + 100);
moveSpeed = (Math.random() * 2) + 1;
_x = -300;
ySpeed = 0;
personCounter = Math.ceil(Math.random() * 9);
scoreNumber = personCounter * 100;
this.personNumber.gotoAndStop(personCounter);
}
onClipEvent (enterFrame) {
function startFunction() {
_y = ((Math.random() * 250) + 100);
_x = -100;
ySpeed = 0;
moveSpeed = (Math.random() * 2) + 1;
personCounter = Math.ceil(Math.random() * 9);
scoreNumber = personCounter * 100;
}
if (_x > 900) {
startFunction();
}
if (personCounter > 0) {
_x = (_x + moveSpeed);
this.personNumber.gotoAndStop(personCounter);
}
if (personCounter == 0) {
_x = (_x + moveSpeed);
this.personNumber.gotoAndStop(10);
_y = (_y - ySpeed);
ySpeed = ySpeed + 0.1;
if (_y < -100) {
_root.reward.start();
_root.score = _root.score + scoreNumber;
_root.time = _root.time + 100;
startFunction();
}
}
if (personCounter < 0) {
_y = (_y - ySpeed);
ySpeed = ySpeed + 0.3;
this.personNumber.gotoAndStop(11);
if (_y < -100) {
_root.time = _root.time - 100;
startFunction();
}
}
}
Instance of Symbol 703 MovieClip "collector2" in Frame 311
onClipEvent (load) {
_y = ((Math.random() * 250) + 100);
moveSpeed = (Math.random() * 2) + 1;
_x = -200;
ySpeed = 0;
personCounter = Math.ceil(Math.random() * 9);
this.personNumber.gotoAndStop(personCounter);
scoreNumber = personCounter * 100;
}
onClipEvent (enterFrame) {
function startFunction() {
_y = ((Math.random() * 250) + 100);
_x = -100;
ySpeed = 0;
moveSpeed = (Math.random() * 2) + 1;
personCounter = Math.ceil(Math.random() * 9);
scoreNumber = personCounter * 100;
}
if (_x > 900) {
startFunction();
}
if (personCounter > 0) {
_x = (_x + moveSpeed);
this.personNumber.gotoAndStop(personCounter);
}
if (personCounter == 0) {
_x = (_x + moveSpeed);
this.personNumber.gotoAndStop(10);
_y = (_y - ySpeed);
ySpeed = ySpeed + 0.1;
if (_y < -100) {
_root.reward.start();
_root.score = _root.score + scoreNumber;
_root.time = _root.time + 75;
startFunction();
}
}
if (personCounter < 0) {
_y = (_y - ySpeed);
ySpeed = ySpeed + 0.3;
this.personNumber.gotoAndStop(11);
if (_y < -100) {
_root.time = _root.time - 75;
startFunction();
}
}
}
Instance of Symbol 703 MovieClip "collector3" in Frame 311
onClipEvent (load) {
moveSpeed = (Math.random() * 2) + 1;
_y = ((Math.random() * 250) + 100);
_x = 1000;
ySpeed = 0;
personCounter = Math.ceil(Math.random() * 9);
this.personNumber.gotoAndStop(personCounter);
scoreNumber = personCounter * 100;
}
onClipEvent (enterFrame) {
function startFunction() {
_y = ((Math.random() * 250) + 100);
_x = 900;
ySpeed = 0;
moveSpeed = (Math.random() * 2) + 1;
personCounter = Math.ceil(Math.random() * 9);
scoreNumber = personCounter * 100;
}
if (_x < -100) {
startFunction();
}
if (personCounter > 0) {
_x = (_x - moveSpeed);
this.personNumber.gotoAndStop(personCounter);
}
if (personCounter == 0) {
_x = (_x - moveSpeed);
this.personNumber.gotoAndStop(10);
_y = (_y - ySpeed);
ySpeed = ySpeed + 0.1;
if (_y < -100) {
_root.reward.start();
_root.score = _root.score + scoreNumber;
_root.time = _root.time + 75;
startFunction();
}
}
if (personCounter < 0) {
_y = (_y - ySpeed);
ySpeed = ySpeed + 0.3;
this.personNumber.gotoAndStop(11);
if (_y < -100) {
_root.time = _root.time - 75;
startFunction();
}
}
}
Instance of Symbol 703 MovieClip "collector4" in Frame 311
onClipEvent (load) {
moveSpeed = (Math.random() * 2) + 1;
_x = 900;
_y = ((Math.random() * 250) + 100);
ySpeed = 0;
personCounter = Math.ceil(Math.random() * 9);
this.personNumber.gotoAndStop(personCounter);
scoreNumber = personCounter * 100;
}
onClipEvent (enterFrame) {
function startFunction() {
_y = ((Math.random() * 250) + 100);
_x = 900;
ySpeed = 0;
moveSpeed = (Math.random() * 2) + 1;
personCounter = Math.ceil(Math.random() * 9);
scoreNumber = personCounter * 100;
}
if (_x < -100) {
startFunction();
}
if (personCounter > 0) {
_x = (_x - moveSpeed);
this.personNumber.gotoAndStop(personCounter);
}
if (personCounter == 0) {
_x = (_x - moveSpeed);
this.personNumber.gotoAndStop(10);
_y = (_y - ySpeed);
ySpeed = ySpeed + 0.1;
if (_y < -100) {
_root.reward.start();
_root.score = _root.score + scoreNumber;
_root.time = _root.time + 100;
startFunction();
}
}
if (personCounter < 0) {
_y = (_y - ySpeed);
ySpeed = ySpeed + 0.3;
this.personNumber.gotoAndStop(11);
if (_y < -100) {
_root.time = _root.time - 100;
startFunction();
}
}
}
Instance of Symbol 703 MovieClip "collector5" in Frame 311
onClipEvent (load) {
moveSpeed = (Math.random() * 2) + 1;
_x = -100;
_y = ((Math.random() * 250) + 100);
ySpeed = 0;
personCounter = Math.ceil(Math.random() * 9);
this.personNumber.gotoAndStop(personCounter);
scoreNumber = personCounter * 100;
}
onClipEvent (enterFrame) {
function startFunction() {
_y = ((Math.random() * 250) + 100);
_x = -100;
ySpeed = 0;
moveSpeed = (Math.random() * 2) + 1;
personCounter = Math.ceil(Math.random() * 9);
scoreNumber = personCounter * 100;
}
if (_x > 900) {
startFunction();
}
if (personCounter > 0) {
_x = (_x + moveSpeed);
this.personNumber.gotoAndStop(personCounter);
}
if (personCounter == 0) {
_x = (_x + moveSpeed);
this.personNumber.gotoAndStop(10);
_y = (_y - ySpeed);
ySpeed = ySpeed + 0.1;
if (_y < -100) {
_root.reward.start();
_root.score = _root.score + scoreNumber;
_root.time = _root.time + 50;
startFunction();
}
}
if (personCounter < 0) {
_y = (_y - ySpeed);
ySpeed = ySpeed + 0.3;
this.personNumber.gotoAndStop(11);
if (_y < -100) {
_root.time = _root.time - 50;
startFunction();
}
}
}
Instance of Symbol 685 MovieClip "parentEnemyThree" in Frame 311
onClipEvent (load) {
if (_name != "parentEnemyThree") {
startY = Math.floor((Math.random() * 75) + 525);
_y = startY;
moveSpeed = (Math.random() * 3) + 1.5;
startRotation = _rotation;
riseSpeed = 10;
walking = true;
rising = false;
falling = false;
}
if (_name == "parentEnemyThree") {
timer = 30;
enemyCounter = 0;
enemyControl = 3;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemy") {
i = 1;
while (i <= 5) {
if (this.hitTest(_root["collector" + i])) {
_root["collector" + i].personCounter = -1;
_root.parentEnemyThree.enemyCounter--;
this.removeMovieClip();
}
i++;
}
if (walking) {
_x = (_x - moveSpeed);
this.gotoAndStop(1);
}
if (rising && (!this.hitTest(_root.ufo.stopBlock))) {
_y = (_y - riseSpeed);
this.gotoAndStop(2);
}
if (falling) {
this.gotoAndStop(2);
_y = (_y + 8);
_rotation = (_rotation + 7);
}
if (this.hitTest(_root.ufo.beamSpot) && (_root.beamActive)) {
rising = true;
walking = false;
falling = false;
_x = _root._xmouse;
}
if (rising) {
if (this.hitTest(_root.ufo.beam) && (_root.beamActive)) {
rising = true;
_x = _root._xmouse;
} else {
rising = false;
}
}
if ((_y < startY) && (!rising)) {
falling = true;
walking = false;
}
if (_y >= startY) {
_y = startY;
_rotation = startRotation;
falling = false;
walking = true;
}
if (_x < -50) {
_root.parentEnemyThree.enemyCounter--;
this.removeMovieClip();
}
}
if (_name == "parentEnemyThree") {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
timer = 75;
}
}
}
Instance of Symbol 685 MovieClip "parentEnemyFour" in Frame 311
onClipEvent (load) {
if (_name != "parentEnemyFour") {
startY = Math.floor((Math.random() * 75) + 525);
_y = startY;
moveSpeed = (Math.random() * 3) + 1.5;
startRotation = _rotation;
riseSpeed = 10;
walking = true;
rising = false;
falling = false;
}
if (_name == "parentEnemyFour") {
timer = 30;
enemyCounter = 0;
enemyControl = 2;
maxEnemy = Math.floor(enemyControl);
}
}
onClipEvent (enterFrame) {
if (_name != "parentEnemyFour") {
i = 1;
while (i <= 5) {
if (this.hitTest(_root["collector" + i])) {
_root["collector" + i].personCounter = -1;
_root.parentEnemyFour.enemyCounter--;
this.removeMovieClip();
}
i++;
}
if (walking) {
_x = (_x + moveSpeed);
this.gotoAndStop(1);
}
if (rising && (!this.hitTest(_root.ufo.stopBlock))) {
_y = (_y - riseSpeed);
this.gotoAndStop(2);
}
if (falling) {
this.gotoAndStop(2);
_y = (_y + 8);
_rotation = (_rotation + 7);
}
if (this.hitTest(_root.ufo.beamSpot) && (_root.beamActive)) {
rising = true;
walking = false;
falling = false;
_x = _root._xmouse;
}
if (rising) {
if (this.hitTest(_root.ufo.beam) && (_root.beamActive)) {
rising = true;
_x = _root._xmouse;
} else {
rising = false;
}
}
if ((_y < startY) && (!rising)) {
falling = true;
walking = false;
}
if (_y >= startY) {
_y = startY;
_rotation = startRotation;
falling = false;
walking = true;
}
if (_x > 875) {
_root.parentEnemyFour.enemyCounter--;
this.removeMovieClip();
}
}
if (_name == "parentEnemyFour") {
if (timer > 0) {
timer--;
}
if (timer == 0) {
if (enemyCounter < maxEnemy) {
this.duplicateMovieClip("enemy" + _root.d, _root.d);
_root.d++;
enemyCounter++;
}
timer = 75;
}
}
}
Instance of Symbol 672 MovieClip "ufo" in Frame 311
onClipEvent (load) {
extra = true;
}
onClipEvent (enterFrame) {
_root.aimer.removeMovieClip();
_root.time--;
if (_root.time <= 0) {
_root.gameOverFunction();
}
if (_root._ymouse < 500) {
Mouse.hide();
} else {
Mouse.show();
}
this.gotoAndStop(1);
_x = _root._xmouse;
if (_root._ymouse < 500) {
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
this.beam.gotoAndStop(4);
_root.beamActive = true;
}
onClipEvent (mouseUp) {
this.beam.gotoAndStop(1);
_root.beamActive = false;
}
Instance of Symbol 210 MovieClip "soundClip" in Frame 311
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 202 MovieClip in Frame 311
onClipEvent (load) {
_global.highScore = _global.extraHigh;
}
onClipEvent (enterFrame) {
_global.currentScore = _root.score;
if (_global.currentScore > _global.extraHigh) {
_global.extraHigh = _global.currentScore;
_global.highScore = _global.extraHigh;
}
}
Frame 312
_root.machineGun.stop("machineGun");
_root.musicOne.stop();
Frame 331
stop();
Mouse.show();
Frame 339
stop();
gotoAndPlay ("MenuTwo");
Frame 340
_root.machineGun.stop("machineGun");
_root.musicOne.stop();
Frame 359
stop();
Mouse.show();
Frame 367
stop();
gotoAndPlay ("MenuTwo");
Frame 368
stop();
Mouse.show();
Frame 376
stop();
gotoAndPlay ("MenuTwo");
Frame 377
currentScore = _global.currentScore;
highScore = _global.highScore;
_root.machineGun.stop("machineGun");
_root.musicOne.stop();
Mouse.show();
Instance of Symbol 722 MovieClip in Frame 377
onClipEvent (load) {
if (_root.currentScore == _root.highScore) {
this._visible = true;
} else {
_visible = false;
}
}
Frame 396
stop();
Mouse.show();
Frame 404
stop();
gotoAndPlay ("MenuTwo");
Symbol 67 Button
on (release) {
_root.play();
}
Symbol 68 MovieClip Frame 143
_root.play();
stop();
Symbol 74 Button
on (press) {
_root.play();
}
Symbol 82 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 1
stop();
Symbol 100 Button
on (release) {
getURL ("http://www.armorgames.com/", "_blank");
}
Symbol 108 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 50
stop();
Symbol 112 MovieClip Frame 51
stop();
Symbol 142 Button
on (press) {
_global.enemyCounterControl = 0;
_global.stageName = "walkerPro";
_root.gotoAndPlay("Progressive");
}
Symbol 143 Button
on (press) {
if (_global.stageThree) {
_global.enemyCounterControl = 70;
_global.backGroundControl = 3;
_global.stageName = "laserPro";
_root.gotoAndPlay("Progressive");
}
}
Symbol 144 Button
on (press) {
if (_global.stageFour) {
_global.enemyCounterControl = 71;
_global.backGroundControl = 4;
_global.stageName = "bombPro";
_root.gotoAndPlay("Progressive");
}
}
Symbol 145 Button
on (press) {
if (_global.stageTwo) {
_global.enemyCounterControl = 60;
_global.backGroundControl = 2;
_global.stageName = "turretPro";
_root.gotoAndPlay("Progressive");
}
}
Symbol 146 Button
on (press) {
if (_global.stageSix) {
_global.enemyCounterControl = 115;
_global.backGroundControl = 6;
_global.stageName = "plantPro";
_root.gotoAndPlay("Progressive");
}
}
Symbol 147 Button
on (press) {
if (_global.stageSeven) {
_global.enemyCounterControl = 116;
_global.backGroundControl = 7;
_global.stageName = "spikePro";
_root.gotoAndPlay("Progressive");
}
}
Symbol 148 Button
on (press) {
if (_global.stageFive) {
_global.enemyCounterControl = 100;
_global.backGroundControl = 5;
_global.stageName = "spinnerPro";
_root.gotoAndPlay("Progressive");
}
}
Symbol 149 Button
on (press) {
if (_global.stageEight) {
_global.enemyCounterControl = 116;
_global.backGroundControl = 8;
_global.stageName = "spikeTwoPro";
_root.gotoAndPlay("Progressive");
}
}
Symbol 150 Button
on (press) {
if (_global.stageThirteen) {
_global.enemyCounterControl = 144;
_global.backGroundControl = 13;
_global.stageName = "ufoPro";
_root.gotoAndPlay("Progressive");
}
}
Symbol 151 Button
on (press) {
if (_global.stageTen) {
_global.enemyCounterControl = 117;
_global.backGroundControl = 10;
_global.stageName = "bombTwoPro";
_root.gotoAndPlay("Progressive");
}
}
Symbol 152 Button
on (press) {
if (_global.stageNine) {
_global.enemyCounterControl = 116;
_global.backGroundControl = 9;
_global.stageName = "robotPro";
_root.gotoAndPlay("Progressive");
}
}
Symbol 153 Button
on (press) {
if (_global.stageTwelve) {
_global.enemyCounterControl = 143;
_global.backGroundControl = 12;
_global.stageName = "puppetPro";
_root.gotoAndPlay("Progressive");
}
}
Symbol 154 Button
on (press) {
if (_global.stageEleven) {
_global.enemyCounterControl = 140;
_global.backGroundControl = 11;
_global.stageName = "ghostPro";
_root.gotoAndPlay("Progressive");
}
}
Symbol 155 Button
on (press) {
if (_global.stageFourteen) {
_global.enemyCounterControl = 165;
_global.backGroundControl = 14;
_global.stageName = "asteroidPro";
_root.gotoAndPlay("Progressive");
}
}
Symbol 156 Button
on (press) {
if (_global.stageSeventeen) {
_global.enemyCounterControl = 169;
_global.backGroundControl = 17;
_global.stageName = "fishPro";
_root.gotoAndPlay("Progressive");
}
}
Symbol 157 Button
on (press) {
if (_global.stageFifteen) {
_global.enemyCounterControl = 165;
_global.backGroundControl = 15;
_global.stageName = "alienPro";
_root.gotoAndPlay("Progressive");
}
}
Symbol 158 Button
on (press) {
if (_global.stageSixteen) {
_global.enemyCounterControl = 166;
_global.backGroundControl = 16;
_global.stageName = "sharkPro";
_root.gotoAndPlay("Progressive");
}
}
Symbol 159 Button
on (press) {
if (_global.stageEighteen) {
_global.enemyCounterControl = 173;
_global.backGroundControl = 18;
_global.stageName = "lavaPro";
_root.gotoAndPlay("Progressive");
}
}
Symbol 160 Button
on (press) {
if (_global.stageTwentyOne) {
_global.enemyCounterControl = 174;
_global.backGroundControl = 21;
_global.stageName = "tripPro";
_root.gotoAndPlay("Progressive");
}
}
Symbol 161 Button
on (press) {
if (_global.stageNineteen) {
_global.enemyCounterControl = 174;
_global.backGroundControl = 19;
_global.stageName = "crayonPro";
_root.gotoAndPlay("Progressive");
}
}
Symbol 162 Button
on (press) {
if (_global.stageTwenty) {
_global.enemyCounterControl = 174;
_global.backGroundControl = 20;
_global.stageName = "dinosaurPro";
_root.gotoAndPlay("Progressive");
}
}
Symbol 163 Button
on (press) {
_root.menuOpen = false;
_root.window.gotoAndStop(1);
}
Symbol 164 MovieClip Frame 4
stop();
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 4
onClipEvent (load) {
if (_global.stageTwo) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 4
onClipEvent (load) {
if (_global.stageThree) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 4
onClipEvent (load) {
if (_global.stageFour) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 4
onClipEvent (load) {
if (_global.stageFive) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 4
onClipEvent (load) {
if (_global.stageEight) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 4
onClipEvent (load) {
if (_global.stageNine) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 4
onClipEvent (load) {
if (_global.stageTen) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 4
onClipEvent (load) {
if (_global.stageEleven) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 4
onClipEvent (load) {
if (_global.stageFourteen) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 4
onClipEvent (load) {
if (_global.stageFifteen) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 4
onClipEvent (load) {
if (_global.stageSixteen) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 4
onClipEvent (load) {
if (_global.stageSeventeen) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 4
onClipEvent (load) {
if (_global.stageSix) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 4
onClipEvent (load) {
if (_global.stageSeven) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 4
onClipEvent (load) {
if (_global.stageTwelve) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 4
onClipEvent (load) {
if (_global.stageThirteen) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 4
onClipEvent (load) {
if (_global.stageTwenty) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 4
onClipEvent (load) {
if (_global.stageTwentyOne) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 4
onClipEvent (load) {
if (_global.stageEighteen) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 4
onClipEvent (load) {
if (_global.stageNineteen) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 166 Button
on (press) {
_global.endlessTwo = true;
_global.stageName = "walkerEnd";
_root.gotoAndPlay("Endless");
}
Symbol 167 Button
on (press) {
if (_global.endlessTwo) {
_global.endlessThree = true;
_global.stageName = "bombEnd";
_root.gotoAndPlay("Endless");
}
}
Symbol 168 Button
on (press) {
if (_global.endlessFour) {
_global.endlessFive = true;
_global.stageName = "spikeEnd";
_root.gotoAndPlay("Endless");
}
}
Symbol 169 Button
on (press) {
if (_global.endlessThree) {
_global.endlessFour = true;
_global.stageName = "spinnerEnd";
_root.gotoAndPlay("Endless");
}
}
Symbol 170 Button
on (press) {
if (_global.endlessFive) {
_global.endlessSix = true;
_global.stageName = "spikeTwoEnd";
_root.gotoAndPlay("Endless");
}
}
Symbol 171 Button
on (press) {
if (_global.endlessEight) {
_global.endlessNine = true;
_global.stageName = "ufoEnd";
_root.gotoAndPlay("Endless");
}
}
Symbol 172 Button
on (press) {
if (_global.endlessSix) {
_global.endlessSeven = true;
_global.stageName = "bombTwoEnd";
_root.gotoAndPlay("Endless");
}
}
Symbol 173 Button
on (press) {
if (_global.endlessSeven) {
_global.endlessEight = true;
_global.stageName = "ghostEnd";
_root.gotoAndPlay("Endless");
}
}
Symbol 174 Button
on (press) {
if (_global.endlessNine) {
_global.endlessTen = true;
_global.stageName = "sharkEnd";
_root.gotoAndPlay("Endless");
}
}
Symbol 175 Button
on (press) {
if (_global.endlessTen) {
_global.stageName = "crayonEnd";
_root.gotoAndPlay("Endless");
}
}
Symbol 176 MovieClip Frame 4
stop();
Instance of Symbol 97 MovieClip in Symbol 176 MovieClip Frame 4
onClipEvent (load) {
if (_global.endlessTwo) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 176 MovieClip Frame 4
onClipEvent (load) {
if (_global.endlessThree) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 176 MovieClip Frame 4
onClipEvent (load) {
if (_global.endlessFive) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 176 MovieClip Frame 4
onClipEvent (load) {
if (_global.endlessSix) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 176 MovieClip Frame 4
onClipEvent (load) {
if (_global.endlessSeven) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 176 MovieClip Frame 4
onClipEvent (load) {
if (_global.endlessNine) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 176 MovieClip Frame 4
onClipEvent (load) {
if (_global.endlessFour) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 176 MovieClip Frame 4
onClipEvent (load) {
if (_global.endlessEight) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 176 MovieClip Frame 4
onClipEvent (load) {
if (_global.endlessTen) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 178 Button
on (press) {
_global.survivalTwo = true;
_global.stageName = "walkerSur";
_root.gotoAndPlay("Survival");
}
Symbol 179 Button
on (press) {
if (_global.survivalTwo) {
_global.survivalThree = true;
_global.stageName = "bombSur";
_root.gotoAndPlay("Survival");
}
}
Symbol 180 Button
on (press) {
if (_global.survivalThree) {
_global.survivalFour = true;
_global.stageName = "spinnerSur";
_root.gotoAndPlay("Survival");
}
}
Symbol 181 Button
on (press) {
if (_global.survivalSix) {
_global.survivalSeven = true;
_global.stageName = "ufoSur";
_root.gotoAndPlay("Survival");
}
}
Symbol 182 Button
on (press) {
if (_global.survivalFour) {
_global.survivalFive = true;
_global.stageName = "bombTwoSur";
_root.gotoAndPlay("Survival");
}
}
Symbol 183 Button
on (press) {
if (_global.survivalFive) {
_global.survivalSix = true;
_global.stageName = "ghostSur";
_root.gotoAndPlay("Survival");
}
}
Symbol 184 Button
on (press) {
if (_global.survivalSeven) {
_global.survivalEight = true;
_global.stageName = "sharkSur";
_root.gotoAndPlay("Survival");
}
}
Symbol 185 MovieClip Frame 4
stop();
Instance of Symbol 97 MovieClip in Symbol 185 MovieClip Frame 4
onClipEvent (load) {
if (_global.survivalTwo) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 185 MovieClip Frame 4
onClipEvent (load) {
if (_global.survivalThree) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 185 MovieClip Frame 4
onClipEvent (load) {
if (_global.survivalFour) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 185 MovieClip Frame 4
onClipEvent (load) {
if (_global.survivalFive) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 185 MovieClip Frame 4
onClipEvent (load) {
if (_global.survivalSeven) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 185 MovieClip Frame 4
onClipEvent (load) {
if (_global.survivalSix) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 187 Button
on (press) {
_global.stageName = "laserEx";
_root.gotoAndPlay("Extreme");
}
Symbol 188 Button
on (press) {
if (_global.extremeTwo) {
_global.stageName = "plantEx";
_root.gotoAndPlay("Extreme");
}
}
Symbol 189 Button
on (press) {
if (_global.extremeThree) {
_global.stageName = "robotEx";
_root.gotoAndPlay("Extreme");
}
}
Symbol 190 Button
on (press) {
if (_global.extremeFour) {
_global.stageName = "puppetEx";
_root.gotoAndPlay("Extreme");
}
}
Symbol 191 Button
on (press) {
if (_global.extremeFive) {
_global.stageName = "alienEx";
_root.gotoAndPlay("Extreme");
}
}
Symbol 192 Button
on (press) {
if (_global.extremeSix) {
_global.stageName = "lavaEx";
_root.gotoAndPlay("Extreme");
}
}
Symbol 193 Button
on (press) {
if (_global.extremeEight) {
_global.stageName = "tripEx";
_root.gotoAndPlay("Extreme");
}
}
Symbol 194 Button
on (press) {
if (_global.extremeSeven) {
_global.stageName = "dinosaurEx";
_root.gotoAndPlay("Extreme");
}
}
Symbol 195 MovieClip Frame 4
stop();
Instance of Symbol 97 MovieClip in Symbol 195 MovieClip Frame 4
onClipEvent (load) {
if (_global.extremeThree) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 195 MovieClip Frame 4
onClipEvent (load) {
if (_global.extremeFive) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 195 MovieClip Frame 4
onClipEvent (load) {
if (_global.extremeTwo) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 195 MovieClip Frame 4
onClipEvent (load) {
if (_global.extremeFour) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 195 MovieClip Frame 4
onClipEvent (load) {
if (_global.extremeSeven) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 195 MovieClip Frame 4
onClipEvent (load) {
if (_global.extremeEight) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 97 MovieClip in Symbol 195 MovieClip Frame 4
onClipEvent (load) {
if (_global.extremeSix) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 198 Button
on (press) {
_root.gotoAndStop("Extras");
}
Symbol 199 MovieClip Frame 4
stop();
Symbol 200 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 2
stop();
Symbol 210 MovieClip Frame 3
stop();
Instance of Symbol 218 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_quality == "LOW") {
this.gotoAndStop(1);
}
if (_quality == "MEDIUM") {
this.gotoAndStop(2);
}
if (_quality == "HIGH") {
this.gotoAndStop(3);
}
}
Symbol 230 MovieClip Frame 1
stop();
Instance of Symbol 233 MovieClip "life" in Symbol 235 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_width > 400) {
_root.deathFunction();
}
}
Symbol 240 MovieClip Frame 1
stop();
Symbol 258 MovieClip Frame 1
stop();
Instance of Symbol 245 MovieClip "characterBase" in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 258 MovieClip Frame 25
gotoAndPlay (2);
Symbol 261 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 2
stop();
Symbol 266 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 1
stop();
Instance of Symbol 264 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (mouseDown) {
if (_root.character.survival) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (mouseUp) {
_visible = false;
}
Instance of Symbol 266 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.mouseActive) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 258 MovieClip "legs" in Symbol 271 MovieClip Frame 1
onClipEvent (load) {
goRight = true;
goLeft = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(68)) {
if (!goRight) {
_xscale = (-_xscale);
_x = _parent.body._x;
goRight = true;
goLeft = false;
}
}
if (Key.isDown(65)) {
if (!goLeft) {
_xscale = (-_xscale);
_x = _parent.body._x;
goLeft = true;
goRight = false;
}
}
}
Instance of Symbol 268 MovieClip "arm" in Symbol 271 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = _parent.rotation;
updateAfterEvent();
}
Instance of Symbol 270 MovieClip "line" in Symbol 271 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 245 MovieClip "hitSection" in Symbol 271 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 277 MovieClip in Symbol 278 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (!dropDown) {
if (hitTest(_root.character.legs.characterBase) && (_root.character.vel_y <= 0)) {
hit = "floor";
_root.conCirc.hitFunction(hit);
_root.character._y = ((_parent._y - _parent._height) - _root.character.line._height) + 1;
}
}
}
Instance of Symbol 277 MovieClip in Symbol 289 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (!_root.dropDown) {
if (hitTest(_root.character.legs.characterBase) && (_root.character.vel_y <= 0)) {
hit = "floor";
_root.conCirc.hitFunction(hit);
_root.character._y = ((_parent._y - _parent._height) - _root.character.line._height) + 1;
}
}
}
Symbol 297 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 1
stop();
Instance of Symbol 307 MovieClip in Symbol 308 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.character.body.hitTest(this)) {
_root.character._x = _parent._x + _parent._width;
hit = "left";
_root.conCirc.hitFunction(hit);
}
}
Symbol 346 MovieClip Frame 1
explosion = new Sound();
explosion.attachSound("explosion");
explosion.start();
Symbol 346 MovieClip Frame 9
stop();
Instance of Symbol 202 MovieClip in Symbol 346 MovieClip Frame 9
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_parent._parent.removeMovieClip();
}
Instance of Symbol 245 MovieClip in Symbol 347 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_parent.activated) {
if (hitTest(_root.hitPrecision) && (_root.mouseActive)) {
_parent.injured = true;
} else {
_parent.injured = false;
}
}
}
Instance of Symbol 339 MovieClip in Symbol 347 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.hitPoints--;
}
Instance of Symbol 245 MovieClip in Symbol 351 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_parent.activated) {
if (hitTest(_root.hitPrecision) && (_root.mouseActive)) {
_parent.injured = true;
} else {
_parent.injured = false;
}
}
}
Instance of Symbol 350 MovieClip in Symbol 351 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.hitPoints--;
}
Instance of Symbol 245 MovieClip in Symbol 357 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.hitPrecision) && (_root.mouseActive)) {
_parent.injured = true;
} else {
_parent.injured = false;
}
}
Instance of Symbol 356 MovieClip in Symbol 357 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.hitPoints--;
}
Instance of Symbol 245 MovieClip in Symbol 362 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_parent.activated) {
if (hitTest(_root.hitPrecision) && (_root.mouseActive)) {
_parent.injured = true;
} else {
_parent.injured = false;
}
}
}
Instance of Symbol 361 MovieClip in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.hitPoints--;
}
Instance of Symbol 347 MovieClip "brain" in Symbol 363 MovieClip Frame 1
onClipEvent (load) {
extreme = _parent.extreme;
injured = false;
if (extreme) {
hitPoints = 300;
} else {
hitPoints = 100;
}
activated = false;
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
_parent.deathCounter++;
this.gotoAndStop("death");
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
Instance of Symbol 351 MovieClip "glassHead" in Symbol 363 MovieClip Frame 1
onClipEvent (load) {
extreme = _parent.extreme;
injured = false;
if (extreme) {
hitPoints = 150;
} else {
hitPoints = 50;
}
activated = false;
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
_parent.deathCounter++;
this.gotoAndStop("death");
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
Instance of Symbol 357 MovieClip in Symbol 363 MovieClip Frame 1
onClipEvent (load) {
extreme = _parent.extreme;
injured = false;
if (extreme) {
hitPoints = 175;
} else {
hitPoints = 75;
}
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
_parent.deathCounter++;
this.gotoAndStop("death");
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
Instance of Symbol 357 MovieClip in Symbol 363 MovieClip Frame 1
onClipEvent (load) {
extreme = _parent.extreme;
injured = false;
if (extreme) {
hitPoints = 175;
} else {
hitPoints = 75;
}
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
_parent.deathCounter++;
this.gotoAndStop("death");
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
Instance of Symbol 362 MovieClip "earOne" in Symbol 363 MovieClip Frame 1
onClipEvent (load) {
extreme = _parent.extreme;
injured = false;
if (extreme) {
hitPoints = 175;
} else {
hitPoints = 75;
}
activated = false;
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
_parent.deathCounter++;
this.gotoAndStop("death");
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
Instance of Symbol 362 MovieClip "earTwo" in Symbol 363 MovieClip Frame 1
onClipEvent (load) {
extreme = _parent.extreme;
injured = false;
if (extreme) {
hitPoints = 175;
} else {
hitPoints = 75;
}
activated = false;
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
_parent.deathCounter++;
this.gotoAndStop("death");
hitPoints = -1;
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
Symbol 393 MovieClip Frame 1
stop();
Instance of Symbol 391 MovieClip in Symbol 393 MovieClip Frame 1
onClipEvent (load) {
timer = 45;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
this.gotoAndStop("idle");
}
}
Symbol 408 MovieClip Frame 1
stop();
Instance of Symbol 245 MovieClip in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.hitPrecision) && (_root.mouseActive)) {
_parent._parent.injured = true;
} else {
_parent._parent.injured = false;
}
}
Instance of Symbol 245 MovieClip in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 407 MovieClip in Symbol 408 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent.hitPoints > 0) {
_parent._parent.hitPoints--;
}
}
Instance of Symbol 408 MovieClip "fish" in Symbol 409 MovieClip Frame 35
onClipEvent (load) {
if (_parent.hitPoints == 0) {
_root.enemyCounter++;
_root.counterFunction();
_parent.hitPoints = -1;
_parent.gotoAndPlay("death");
}
}
Instance of Symbol 408 MovieClip "fish" in Symbol 409 MovieClip Frame 80
onClipEvent (load) {
if (_parent.hitPoints == 0) {
_root.enemyCounter++;
_root.counterFunction();
_parent.hitPoints = -1;
_parent.gotoAndPlay("death");
}
}
Instance of Symbol 408 MovieClip "fish" in Symbol 409 MovieClip Frame 110
onClipEvent (load) {
if (_parent.hitPoints == 0) {
_root.enemyCounter++;
_root.counterFunction();
_parent.hitPoints = -1;
_parent.gotoAndPlay("death");
}
}
Instance of Symbol 408 MovieClip "fish" in Symbol 409 MovieClip Frame 135
onClipEvent (load) {
if (_parent.hitPoints == 0) {
_root.enemyCounter++;
_root.counterFunction();
_parent.hitPoints = -1;
_parent.gotoAndPlay("death");
}
}
Instance of Symbol 408 MovieClip "fish" in Symbol 409 MovieClip Frame 160
onClipEvent (load) {
if (_parent.hitPoints == 0) {
_root.enemyCounter++;
_root.counterFunction();
_parent.hitPoints = -1;
_parent.gotoAndPlay("death");
}
}
Instance of Symbol 408 MovieClip "fish" in Symbol 409 MovieClip Frame 185
onClipEvent (load) {
if (_parent.hitPoints == 0) {
_root.enemyCounter++;
_root.counterFunction();
_parent.hitPoints = -1;
_parent.gotoAndPlay("death");
}
}
Instance of Symbol 408 MovieClip "fish" in Symbol 409 MovieClip Frame 210
onClipEvent (load) {
if (_parent.hitPoints == 0) {
_root.enemyCounter++;
_root.counterFunction();
_parent.hitPoints = -1;
_parent.gotoAndPlay("death");
}
}
Instance of Symbol 408 MovieClip "fish" in Symbol 409 MovieClip Frame 260
onClipEvent (load) {
if (_parent.hitPoints == 0) {
_root.enemyCounter++;
_root.counterFunction();
_parent.hitPoints = -1;
_parent.gotoAndPlay("death");
}
}
Instance of Symbol 408 MovieClip "fish" in Symbol 409 MovieClip Frame 310
onClipEvent (load) {
if (_parent.hitPoints == 0) {
_root.enemyCounter++;
_root.counterFunction();
_parent.hitPoints = -1;
_parent.gotoAndPlay("death");
}
}
Symbol 409 MovieClip Frame 320
gotoAndPlay (1);
Instance of Symbol 408 MovieClip "fish" in Symbol 409 MovieClip Frame 345
onClipEvent (load) {
if (_parent.extreme) {
_global.extremeSeven = true;
}
}
Symbol 409 MovieClip Frame 375
_root.backGround.play();
Symbol 418 MovieClip Frame 27
stop();
Symbol 418 MovieClip Frame 43
_root.nextFrame();
Symbol 418 MovieClip Frame 50
stop();
Symbol 418 MovieClip Frame 51
_root.blueFlash.play();
Instance of Symbol 297 MovieClip in Symbol 418 MovieClip Frame 51
onClipEvent (load) {
this.gotoAndStop("left");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 300 MovieClip in Symbol 418 MovieClip Frame 60
onClipEvent (load) {
this.gotoAndStop("right");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Symbol 418 MovieClip Frame 97
_root.nextFrame();
Symbol 418 MovieClip Frame 102
stop();
Symbol 418 MovieClip Frame 130
_root.nextFrame();
Symbol 418 MovieClip Frame 135
stop();
Symbol 418 MovieClip Frame 155
_root.nextFrame();
Symbol 418 MovieClip Frame 160
stop();
Instance of Symbol 300 MovieClip in Symbol 418 MovieClip Frame 161
onClipEvent (load) {
this.gotoAndStop("up");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Symbol 418 MovieClip Frame 177
_root.nextFrame();
Symbol 418 MovieClip Frame 196
stop();
Instance of Symbol 297 MovieClip in Symbol 418 MovieClip Frame 197
onClipEvent (load) {
this.gotoAndStop("left");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Symbol 418 MovieClip Frame 224
_root.nextFrame();
Symbol 418 MovieClip Frame 229
stop();
Instance of Symbol 297 MovieClip in Symbol 418 MovieClip Frame 230
onClipEvent (load) {
this.gotoAndStop("up");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Symbol 418 MovieClip Frame 256
_root.nextFrame();
Symbol 418 MovieClip Frame 261
stop();
Instance of Symbol 300 MovieClip in Symbol 418 MovieClip Frame 270
onClipEvent (load) {
this.gotoAndStop("down");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 300 MovieClip in Symbol 418 MovieClip Frame 270
onClipEvent (load) {
this.gotoAndStop("up");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 300 MovieClip in Symbol 418 MovieClip Frame 270
onClipEvent (load) {
this.gotoAndStop("up");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Symbol 418 MovieClip Frame 300
_root.nextFrame();
Instance of Symbol 363 MovieClip in Symbol 418 MovieClip Frame 320
onClipEvent (load) {
deathCounter = 0;
}
onClipEvent (enterFrame) {
if (deathCounter == 2) {
this.earOne.activated = true;
this.earTwo.activated = true;
}
if (deathCounter == 4) {
this.glassHead.activated = true;
}
if (deathCounter == 5) {
this.brain.activated = true;
}
if (deathCounter == 6) {
_root.enemyCounter++;
_root.counterFunction();
_root.backGround.play();
_root.rightArm.play();
_root.leftArm.play();
deathCounter = 7;
}
if (deathCounter == 7) {
_alpha = (_alpha - 5);
}
}
Symbol 418 MovieClip Frame 323
stop();
Instance of Symbol 297 MovieClip in Symbol 418 MovieClip Frame 340
onClipEvent (load) {
this.gotoAndStop("up");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 297 MovieClip in Symbol 418 MovieClip Frame 340
onClipEvent (load) {
this.gotoAndStop("up");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Symbol 418 MovieClip Frame 405
_root.nextFrame();
Symbol 418 MovieClip Frame 410
stop();
Symbol 418 MovieClip Frame 464
_root.nextFrame();
Symbol 418 MovieClip Frame 467
stop();
Instance of Symbol 300 MovieClip in Symbol 418 MovieClip Frame 470
onClipEvent (load) {
this.gotoAndStop("right");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Symbol 418 MovieClip Frame 477
_root.nextFrame();
Symbol 418 MovieClip Frame 481
_root.curtains.play();
Symbol 418 MovieClip Frame 515
stop();
Symbol 418 MovieClip Frame 525
_root.curtains.play();
Instance of Symbol 297 MovieClip in Symbol 418 MovieClip Frame 526
onClipEvent (load) {
this.gotoAndStop("up");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 297 MovieClip in Symbol 418 MovieClip Frame 526
onClipEvent (load) {
this.gotoAndStop("up");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Symbol 418 MovieClip Frame 580
_root.nextFrame();
Symbol 418 MovieClip Frame 585
stop();
Symbol 418 MovieClip Frame 610
_root.nextFrame();
Symbol 418 MovieClip Frame 615
stop();
Instance of Symbol 300 MovieClip in Symbol 418 MovieClip Frame 616
onClipEvent (load) {
this.gotoAndStop("up");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Symbol 418 MovieClip Frame 633
_root.nextFrame();
Symbol 418 MovieClip Frame 638
stop();
Instance of Symbol 297 MovieClip in Symbol 418 MovieClip Frame 639
onClipEvent (load) {
this.gotoAndStop("left");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 297 MovieClip in Symbol 418 MovieClip Frame 639
onClipEvent (load) {
this.gotoAndStop("right");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Symbol 418 MovieClip Frame 710
_root.nextFrame();
Symbol 418 MovieClip Frame 715
stop();
Instance of Symbol 297 MovieClip in Symbol 418 MovieClip Frame 716
onClipEvent (load) {
this.gotoAndStop("right");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 297 MovieClip in Symbol 418 MovieClip Frame 716
onClipEvent (load) {
this.gotoAndStop("left");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 393 MovieClip in Symbol 418 MovieClip Frame 720
onClipEvent (load) {
this.gotoAndStop("down");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 393 MovieClip in Symbol 418 MovieClip Frame 720
onClipEvent (load) {
this.gotoAndStop("down");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Instance of Symbol 393 MovieClip in Symbol 418 MovieClip Frame 720
onClipEvent (load) {
this.gotoAndStop("down");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Symbol 418 MovieClip Frame 755
_root.nextFrame();
Symbol 418 MovieClip Frame 760
stop();
Symbol 418 MovieClip Frame 761
_root.nextFrame();
Instance of Symbol 300 MovieClip in Symbol 418 MovieClip Frame 790
onClipEvent (load) {
this.gotoAndStop("right");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Symbol 418 MovieClip Frame 830
stop();
Instance of Symbol 409 MovieClip in Symbol 418 MovieClip Frame 830
onClipEvent (load) {
hitPoints = 200;
}
onClipEvent (enterFrame) {
if (hitPoints > 0) {
if (injured) {
this.fish.gotoAndStop("injured");
} else {
this.fish.gotoAndStop(1);
}
}
}
Symbol 418 MovieClip Frame 896
_root.nextFrame();
Symbol 418 MovieClip Frame 901
stop();
Instance of Symbol 300 MovieClip in Symbol 418 MovieClip Frame 902
onClipEvent (load) {
this.gotoAndStop("right");
timer = 30;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_alpha < 100) {
_alpha = (_alpha + 20);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
this.gotoAndStop("idle");
}
}
Symbol 418 MovieClip Frame 935
_root.nextFrame();
Symbol 418 MovieClip Frame 940
stop();
Symbol 418 MovieClip Frame 971
_root.nextFrame();
Symbol 418 MovieClip Frame 976
stop();
Symbol 418 MovieClip Frame 1000
_root.nextFrame();
Symbol 418 MovieClip Frame 1005
stop();
Instance of Symbol 307 MovieClip in Symbol 419 MovieClip Frame 1
onClipEvent (enterFrame) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.character.body.hitTest(this)) {
_root.character._x = (_parent._x - _parent._width) + 10;
hit = "right";
_root.conCirc.hitFunction(hit);
}
}
Symbol 424 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 2
_root.enemyDeath();
Instance of Symbol 202 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
i = 1;
while (i < 15) {
if (this.hitTest(_root["enemy" + i])) {
}
i++;
}
}
Symbol 434 MovieClip Frame 8
stop();
Symbol 436 MovieClip Frame 10
gotoAndStop (1);
Symbol 443 MovieClip Frame 1
stop();
Instance of Symbol 245 MovieClip in Symbol 443 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
if (hitTest(_root.hitPrecision) && (_root.mouseActive)) {
_parent.injured = true;
} else {
_parent.injured = false;
}
}
Instance of Symbol 442 MovieClip in Symbol 443 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.hitPoints--;
}
Instance of Symbol 245 MovieClip in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 445 MovieClip "parentBall" in Symbol 453 MovieClip Frame 1
onClipEvent (load) {
if (_name == "parentBall") {
_visible = false;
timer = 40;
} else {
yValue = 15;
xValue = (Math.random() * 20) + 2;
}
}
onClipEvent (enterFrame) {
if (_name == "parentBall") {
if (timer > 0) {
timer--;
} else {
this.duplicateMovieClip(_parent._name + _parent.i, _parent.i + 20);
_parent.i++;
timer = 15;
}
} else {
_y = (_y - yValue);
yValue = yValue - 1.5;
_x = (_x - xValue);
if (_y > 400) {
this.removeMovieClip();
}
if (_global.enemyCounterControl >= 70) {
this.removeMovieClip();
}
}
}
Instance of Symbol 245 MovieClip in Symbol 453 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.hitPrecision) && (_root.mouseActive)) {
_parent.injured = true;
} else {
_parent.injured = false;
}
}
Instance of Symbol 450 MovieClip in Symbol 453 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.hitPoints--;
}
Symbol 474 MovieClip Frame 1
stop();
Instance of Symbol 245 MovieClip in Symbol 474 MovieClip Frame 21
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.hitPrecision) && (_root.mouseActive)) {
_root.laserBoss.injured = true;
} else {
_root.laserBoss.injured = false;
}
}
Symbol 480 MovieClip Frame 20
stop();
Instance of Symbol 202 MovieClip in Symbol 480 MovieClip Frame 20
onClipEvent (load) {
_visible = false;
_root.backGround.play();
}
Symbol 481 MovieClip Frame 1
stop();
Instance of Symbol 474 MovieClip in Symbol 481 MovieClip Frame 1
onClipEvent (load) {
laserTimer = 60;
}
onClipEvent (enterFrame) {
if (laserTimer > 0) {
laserTimer--;
} else {
laserTimer = 60;
this.play();
}
}
Instance of Symbol 477 MovieClip in Symbol 481 MovieClip Frame 2
onClipEvent (load) {
counter = 0;
}
onClipEvent (enterFrame) {
counter++;
if (counter >= 4) {
_root.laserBoss.injured = false;
_root.laserBoss.hitPoints--;
_parent.gotoAndStop(1);
}
}
Symbol 483 MovieClip Frame 1
stop();
Instance of Symbol 483 MovieClip "missleTwo" in Symbol 484 MovieClip Frame 25
onClipEvent (load) {
extreme = _parent.extreme;
xPos = _x;
yPos = _y - _parent.innerLaser._y;
xSpeed = 30;
launch = false;
activated = false;
moveSpeed = _parent.innerLaser.moveSpeed;
moveUp = _parent.innerLaser.moveUp;
timer = 40;
}
onClipEvent (enterFrame) {
if (extreme) {
moveSpeed = _parent.innerLaser.moveSpeed;
moveUp = _parent.innerLaser.moveUp;
if (launch) {
_x = (_x - xSpeed);
if (_x < -800) {
launch = false;
_y = (_parent.innerLaser._y + yPos);
_x = xPos;
}
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
this.gotoAndStop(2);
}
}
if (!launch) {
_y = (_parent.innerLaser._y + yPos);
if (activated) {
this.gotoAndStop(1);
if (timer > 0) {
timer--;
} else {
launch = true;
timer = 40;
}
}
}
} else {
_visible = false;
}
}
Instance of Symbol 483 MovieClip "missleOne" in Symbol 484 MovieClip Frame 25
onClipEvent (load) {
extreme = _parent.extreme;
xPos = _x;
yPos = _y - _parent.innerLaser._y;
xSpeed = 30;
launch = false;
activated = false;
moveSpeed = _parent.innerLaser.moveSpeed;
moveUp = _parent.innerLaser.moveUp;
timer = 40;
}
onClipEvent (enterFrame) {
if (extreme) {
moveSpeed = _parent.innerLaser.moveSpeed;
moveUp = _parent.innerLaser.moveUp;
if (launch) {
_x = (_x - xSpeed);
if (_x < -800) {
launch = false;
_y = (_parent.innerLaser._y + yPos);
_x = xPos;
}
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
this.gotoAndStop(2);
}
}
if (!launch) {
_y = (_parent.innerLaser._y + yPos);
if (activated) {
this.gotoAndStop(1);
if (timer > 0) {
timer--;
} else {
launch = true;
timer = 40;
}
}
}
} else {
_visible = false;
}
}
Symbol 484 MovieClip Frame 26
stop();
Instance of Symbol 481 MovieClip "innerLaser" in Symbol 484 MovieClip Frame 26
onClipEvent (load) {
extreme = _parent.extreme;
moveUp = true;
moveSpeed = 10 - Math.ceil(_parent.hitPoints / 10);
injured = false;
}
onClipEvent (enterFrame) {
if (extreme) {
moveSpeed = 5 + (15 - Math.ceil(_parent.hitPoints / 10));
} else {
moveSpeed = 10 - Math.ceil(_parent.hitPoints / 10);
}
if (moveUp) {
_y = (_y - moveSpeed);
} else {
_y = (_y + moveSpeed);
}
if ((_y < -230) && (moveUp)) {
moveUp = false;
}
if ((_y > 280) && (!moveUp)) {
moveUp = true;
}
}
Symbol 484 MovieClip Frame 40
stop();
Symbol 484 MovieClip Frame 41
stop();
Symbol 486 MovieClip Frame 1
stop();
Instance of Symbol 245 MovieClip in Symbol 486 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.hitPrecision) && (_root.mouseActive)) {
_parent.hitPoints--;
}
}
Instance of Symbol 245 MovieClip in Symbol 486 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Symbol 496 MovieClip Frame 1
stop();
Instance of Symbol 245 MovieClip in Symbol 496 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.hitPrecision) && (_root.mouseActive)) {
_parent.injured = true;
} else {
_parent.injured = false;
}
}
Instance of Symbol 245 MovieClip in Symbol 496 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 495 MovieClip in Symbol 496 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.hitPoints--;
}
Symbol 501 MovieClip Frame 1
stop();
Instance of Symbol 245 MovieClip in Symbol 501 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.hitPrecision) && (_root.mouseActive)) {
_root.plantBoss.injured = true;
} else {
_root.plantBoss.injured = false;
}
}
Instance of Symbol 500 MovieClip in Symbol 501 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.plantBoss.hitPoints--;
}
Instance of Symbol 245 MovieClip in Symbol 507 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Symbol 509 MovieClip Frame 341
gotoAndPlay (70);
Symbol 509 MovieClip Frame 364
stop();
_root.backGround.play();
Instance of Symbol 307 MovieClip in Symbol 511 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.character.body.hitTest(this) or _root.character.legs.hitTest(this)) {
_root.character._x = _parent._x + _parent._width;
hit = "left";
_root.conCirc.hitFunction(hit);
}
}
Instance of Symbol 277 MovieClip in Symbol 511 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (!dropDown) {
if (hitTest(_root.character.legs.characterBase) && (_root.character.vel_y <= 0)) {
hit = "floor";
_root.character._x = _root.character._x + _parent.xSpeed;
_root.conCirc.hitFunction(hit);
_root.character._y = (_parent._y - _root.character.line._height) - 20;
}
}
}
Symbol 515 MovieClip Frame 15
stop();
Instance of Symbol 245 MovieClip in Symbol 515 MovieClip Frame 15
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Symbol 515 MovieClip Frame 35
stop();
Symbol 518 MovieClip Frame 50
stop();
Instance of Symbol 474 MovieClip "laser" in Symbol 518 MovieClip Frame 50
onClipEvent (load) {
extreme = _parent.extreme;
activated = false;
}
onClipEvent (enterFrame) {
if (activated) {
this.play();
} else {
this.gotoAndStop(1);
}
if (_currentframe == 45) {
this.gotoAndStop(1);
if (extreme) {
_parent.innerLeftArm.timer = 20;
} else {
_parent.innerLeftArm.timer = 35;
}
activated = false;
}
}
Instance of Symbol 517 MovieClip "innerLeftArm" in Symbol 518 MovieClip Frame 50
onClipEvent (load) {
extreme = _parent.extreme;
charX = _root.character._x;
charY = _root.character._y;
xSpeed = 0;
if (extreme) {
maxX = 35;
} else {
maxX = 15;
}
if (_parent._name == "leftArmTwo") {
timer = 60;
} else {
timer = 40;
}
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
if (_parent.deathCounter == 5) {
maxX = 42;
}
_parent._x = _parent._x + xSpeed;
xPos = _parent._x;
charX = _root.character._x;
if (xPos != charX) {
if (charX > xPos) {
if (xSpeed < maxX) {
if (extreme) {
xSpeed = xSpeed + 7;
} else {
xSpeed = xSpeed + 2.5;
}
}
} else if (xSpeed > (-maxX)) {
if (extreme) {
xSpeed = xSpeed - 7;
} else {
xSpeed = xSpeed - 2.5;
}
}
}
} else {
_parent.laser.activated = true;
}
}
Symbol 518 MovieClip Frame 65
stop();
Instance of Symbol 245 MovieClip in Symbol 521 MovieClip Frame 65
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 521 MovieClip Frame 135
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 521 MovieClip Frame 205
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 521 MovieClip Frame 270
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 521 MovieClip Frame 335
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Symbol 521 MovieClip Frame 410
gotoAndPlay (45);
Symbol 522 MovieClip Frame 1
stop();
Symbol 522 MovieClip Frame 16
stop();
Instance of Symbol 245 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Symbol 525 MovieClip Frame 1
stop();
Instance of Symbol 524 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
xSpeed = -15;
ySpeed = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
}
Instance of Symbol 524 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
xSpeed = -7.5;
ySpeed = -7.5;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
}
Instance of Symbol 524 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
xSpeed = 0;
ySpeed = -15;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
}
Instance of Symbol 524 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
xSpeed = 7.5;
ySpeed = -7.5;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
}
Instance of Symbol 524 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
xSpeed = 15;
ySpeed = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
}
Instance of Symbol 524 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
xSpeed = 7.5;
ySpeed = 7.5;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
}
Instance of Symbol 524 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
xSpeed = 0;
ySpeed = 15;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
}
Instance of Symbol 524 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
xSpeed = -7.5;
ySpeed = 7.5;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
}
Symbol 530 MovieClip Frame 1
stop();
Instance of Symbol 525 MovieClip "ghostShot" in Symbol 530 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
}
Instance of Symbol 245 MovieClip in Symbol 530 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.hitPrecision) && (_root.mouseActive)) {
_parent.injured = true;
} else {
_parent.injured = false;
}
}
Instance of Symbol 529 MovieClip in Symbol 530 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.hitPoints--;
}
Instance of Symbol 245 MovieClip in Symbol 540 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 544 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Symbol 554 MovieClip Frame 1
stop();
Instance of Symbol 245 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.hitPrecision) && (_root.mouseActive)) {
_root.curtains.puppetBoss.injured = true;
} else {
_root.curtains.puppetBoss.injured = false;
}
}
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.curtains.puppetBoss.hitPoints--;
}
Instance of Symbol 245 MovieClip in Symbol 556 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 554 MovieClip "heart" in Symbol 557 MovieClip Frame 1
onClipEvent (load) {
if (_root.curtains.puppetBoss.hitPoints <= 0) {
this.gotoAndStop("death");
}
}
onClipEvent (enterFrame) {
if (_root.curtains.puppetBoss.hitPoints <= 0) {
this.gotoAndStop("death");
}
if (_root.curtains.puppetBoss.hitPoints > 0) {
if (_root.curtains.puppetBoss.injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
}
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 65
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 85
onClipEvent (load) {
if (_parent.hitPoints == -1) {
_parent.gotoAndPlay("death");
}
}
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 100
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 185
onClipEvent (load) {
if (_parent.hitPoints == -1) {
_parent.gotoAndPlay("death");
}
}
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 200
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 230
onClipEvent (load) {
if (_parent.hitPoints == -1) {
_parent.gotoAndPlay("death");
}
}
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 235
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 265
onClipEvent (load) {
if (_parent.hitPoints == -1) {
_parent.gotoAndPlay("death");
}
}
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 270
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 300
onClipEvent (load) {
if (_parent.hitPoints == -1) {
_parent.gotoAndPlay("death");
}
}
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 305
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 335
onClipEvent (load) {
if (_parent.hitPoints == -1) {
_parent.gotoAndPlay("death");
}
}
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 400
onClipEvent (load) {
if (_parent.hitPoints == -1) {
_parent.gotoAndPlay("death");
}
}
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 420
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 450
onClipEvent (load) {
if (_parent.hitPoints == -1) {
_parent.gotoAndPlay("death");
}
}
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 455
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 485
onClipEvent (load) {
if (_parent.hitPoints == -1) {
_parent.gotoAndPlay("death");
}
}
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 505
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 590
onClipEvent (load) {
if (_parent.hitPoints == -1) {
_parent.gotoAndPlay("death");
}
}
Symbol 558 MovieClip Frame 609
gotoAndPlay (1);
Instance of Symbol 557 MovieClip in Symbol 558 MovieClip Frame 610
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 558 MovieClip Frame 647
_root.backGround.play();
stop();
Symbol 559 MovieClip Frame 1
stop();
Symbol 559 MovieClip Frame 50
stop();
Instance of Symbol 558 MovieClip "puppetBoss" in Symbol 559 MovieClip Frame 50
onClipEvent (load) {
injured = false;
hitPoints = 125;
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
}
Symbol 559 MovieClip Frame 81
stop();
Symbol 564 MovieClip Frame 1
stop();
Instance of Symbol 245 MovieClip in Symbol 564 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 564 MovieClip "beam" in Symbol 569 MovieClip Frame 1
onClipEvent (load) {
timer = Math.ceil(Math.random() * 30);
}
onClipEvent (enterFrame) {
if (_parent.extra) {
} else if (timer > 0) {
timer--;
} else {
this.play();
timer = 60;
}
}
Instance of Symbol 245 MovieClip in Symbol 569 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.hitPrecision) && (_root.mouseActive)) {
_parent.injured = true;
} else {
_parent.injured = false;
}
}
Instance of Symbol 568 MovieClip in Symbol 569 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.hitPoints--;
}
Instance of Symbol 245 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Symbol 579 MovieClip Frame 1
stop();
Instance of Symbol 245 MovieClip in Symbol 579 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.hitPrecision) && (_root.mouseActive)) {
_parent.injured = true;
} else {
_parent.injured = false;
}
}
Instance of Symbol 578 MovieClip in Symbol 579 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.hitPoints--;
}
Symbol 584 MovieClip Frame 1
stop();
Instance of Symbol 245 MovieClip in Symbol 584 MovieClip Frame 56
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 584 MovieClip Frame 56
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 584 MovieClip Frame 56
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 584 MovieClip Frame 56
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 584 MovieClip Frame 57
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 584 MovieClip Frame 57
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 584 MovieClip Frame 58
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Symbol 585 MovieClip Frame 76
stop();
Instance of Symbol 584 MovieClip in Symbol 585 MovieClip Frame 76
onClipEvent (load) {
timer = Math.ceil((Math.random() * 30) + 20);
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil((Math.random() * 100) + 80);
}
}
Instance of Symbol 584 MovieClip in Symbol 585 MovieClip Frame 76
onClipEvent (load) {
timer = Math.ceil((Math.random() * 100) + 50);
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil((Math.random() * 100) + 80);
}
}
Instance of Symbol 584 MovieClip in Symbol 585 MovieClip Frame 76
onClipEvent (load) {
timer = Math.ceil((Math.random() * 100) + 20);
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil((Math.random() * 100) + 120);
}
}
Instance of Symbol 584 MovieClip in Symbol 585 MovieClip Frame 76
onClipEvent (load) {
timer = Math.ceil((Math.random() * 100) + 100);
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil((Math.random() * 100) + 80);
}
}
Instance of Symbol 584 MovieClip in Symbol 585 MovieClip Frame 76
onClipEvent (load) {
timer = Math.ceil((Math.random() * 150) + 40);
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil((Math.random() * 100) + 160);
}
}
Instance of Symbol 584 MovieClip in Symbol 585 MovieClip Frame 76
onClipEvent (load) {
timer = Math.ceil((Math.random() * 120) + 40);
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil((Math.random() * 100) + 100);
}
}
Instance of Symbol 579 MovieClip "innerAlien" in Symbol 585 MovieClip Frame 76
onClipEvent (load) {
extreme = _parent.extreme;
if (extreme) {
hitPoints = 900;
deathCounter = 15;
} else {
hitPoints = 600;
}
_parent.startRotation = true;
}
onClipEvent (enterFrame) {
if (extreme) {
if (hitPoints == 0) {
_global.extremeSix = true;
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
_parent.play();
}
if (hitPoints == -1) {
deathCounter--;
_root.fade._alpha = _root.fade._alpha + 8;
if (deathCounter == 0) {
_root.gotoAndPlay("MenuTwo");
}
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
if ((hitPoints < 700) && (hitPoints > 500)) {
maxX = 12;
maxY = 12;
if (_parent.rotationSpeed < 1.5) {
_parent.rotationSpeed = _parent.rotationSpeed + 0.05;
}
}
if ((hitPoints <= 500) && (hitPoints > 300)) {
maxX = 14;
maxY = 14;
if (_parent.rotationSpeed < 2.5) {
_parent.rotationSpeed = _parent.rotationSpeed + 0.05;
}
}
if ((hitPoints <= 300) && (hitPoints > 150)) {
maxX = 16;
maxY = 16;
if (_parent.rotationSpeed < 3.5) {
_parent.rotationSpeed = _parent.rotationSpeed + 0.05;
}
}
if (hitPoints <= 150) {
maxX = 18;
maxY = 18;
if (_parent.rotationSpeed < 4) {
_parent.rotationSpeed = _parent.rotationSpeed + 0.05;
}
}
} else {
if (hitPoints == 0) {
this.gotoAndStop("death");
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
_parent.play();
}
if (hitPoints > 0) {
if (injured) {
this.gotoAndStop("injured");
} else {
this.gotoAndStop(1);
}
}
if ((hitPoints < 400) && (hitPoints > 100)) {
if (_parent.rotationSpeed < 1) {
_parent.rotationSpeed = _parent.rotationSpeed + 0.05;
}
}
if (hitPoints <= 100) {
if (_parent.rotationSpeed < 2) {
_parent.rotationSpeed = _parent.rotationSpeed + 0.05;
}
}
}
}
Symbol 585 MovieClip Frame 100
stop();
_root.backGround.play();
Symbol 588 MovieClip Frame 1
stop();
Instance of Symbol 245 MovieClip in Symbol 593 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.hitPrecision) && (_root.mouseActive)) {
_parent.injured = true;
} else {
_parent.injured = false;
}
}
Instance of Symbol 245 MovieClip in Symbol 593 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 593 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 592 MovieClip in Symbol 593 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.hitPoints--;
}
Instance of Symbol 346 MovieClip in Symbol 593 MovieClip Frame 3
onClipEvent (load) {
if (_parent.extra) {
_parent.reviveTimer = 20;
}
}
Instance of Symbol 245 MovieClip in Symbol 598 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 598 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.hitPrecision) && (_root.mouseActive)) {
_parent.injured = true;
} else {
_parent.injured = false;
}
}
Instance of Symbol 597 MovieClip in Symbol 598 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.hitPoints--;
}
Symbol 601 MovieClip Frame 1
stop();
Instance of Symbol 245 MovieClip in Symbol 601 MovieClip Frame 20
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 601 MovieClip in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
if (_root.crayons.endless) {
timerMax = 200;
addOn = 200;
timer = Math.ceil(Math.random() * timerMax) + 75;
} else {
timer = Math.ceil(Math.random() * 150) + 30;
}
}
onClipEvent (enterFrame) {
if (_root.crayons.endless) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * timerMax) + addOn;
timerMax = timerMax - 10;
if (addOn > 50) {
addOn = addOn - 10;
}
}
} else if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * 150) + 100;
}
}
Instance of Symbol 601 MovieClip in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
if (_root.crayons.endless) {
timerMax = 200;
addOn = 200;
timer = Math.ceil(Math.random() * timerMax) + 75;
} else {
timer = Math.ceil(Math.random() * 150) + 30;
}
}
onClipEvent (enterFrame) {
if (_root.crayons.endless) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * timerMax) + addOn;
timerMax = timerMax - 10;
if (addOn > 50) {
addOn = addOn - 10;
}
}
} else if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * 150) + 100;
}
}
Instance of Symbol 601 MovieClip in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
if (_root.crayons.endless) {
timerMax = 200;
addOn = 200;
timer = Math.ceil(Math.random() * timerMax) + 75;
} else {
timer = Math.ceil(Math.random() * 150) + 30;
}
}
onClipEvent (enterFrame) {
if (_root.crayons.endless) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * timerMax) + addOn;
timerMax = timerMax - 10;
if (addOn > 50) {
addOn = addOn - 10;
}
}
} else if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * 150) + 100;
}
}
Instance of Symbol 601 MovieClip in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
if (_root.crayons.endless) {
timerMax = 200;
addOn = 200;
timer = Math.ceil(Math.random() * timerMax) + 75;
} else {
timer = Math.ceil(Math.random() * 150) + 30;
}
}
onClipEvent (enterFrame) {
if (_root.crayons.endless) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * timerMax) + addOn;
timerMax = timerMax - 10;
if (addOn > 50) {
addOn = addOn - 10;
}
}
} else if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * 150) + 100;
}
}
Instance of Symbol 601 MovieClip in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
if (_root.crayons.endless) {
timerMax = 200;
addOn = 200;
timer = Math.ceil(Math.random() * timerMax) + 75;
} else {
timer = Math.ceil(Math.random() * 150) + 30;
}
}
onClipEvent (enterFrame) {
if (_root.crayons.endless) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * timerMax) + addOn;
timerMax = timerMax - 10;
if (addOn > 50) {
addOn = addOn - 10;
}
}
} else if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * 150) + 100;
}
}
Instance of Symbol 601 MovieClip in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
if (_root.crayons.endless) {
timerMax = 200;
addOn = 200;
timer = Math.ceil(Math.random() * timerMax) + 75;
} else {
timer = Math.ceil(Math.random() * 150) + 30;
}
}
onClipEvent (enterFrame) {
if (_root.crayons.endless) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * timerMax) + addOn;
timerMax = timerMax - 10;
if (addOn > 50) {
addOn = addOn - 10;
}
}
} else if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * 150) + 100;
}
}
Instance of Symbol 601 MovieClip in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
if (_root.crayons.endless) {
timerMax = 200;
addOn = 200;
timer = Math.ceil(Math.random() * timerMax) + 75;
} else {
timer = Math.ceil(Math.random() * 150) + 30;
}
}
onClipEvent (enterFrame) {
if (_root.crayons.endless) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * timerMax) + addOn;
timerMax = timerMax - 10;
if (addOn > 50) {
addOn = addOn - 10;
}
}
} else if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * 150) + 100;
}
}
Instance of Symbol 601 MovieClip in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
if (_root.crayons.endless) {
timerMax = 200;
addOn = 200;
timer = Math.ceil(Math.random() * timerMax) + 75;
} else {
timer = Math.ceil(Math.random() * 150) + 30;
}
}
onClipEvent (enterFrame) {
if (_root.crayons.endless) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * timerMax) + addOn;
timerMax = timerMax - 10;
if (addOn > 50) {
addOn = addOn - 10;
}
}
} else if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * 150) + 100;
}
}
Instance of Symbol 601 MovieClip in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
if (_root.crayons.endless) {
timerMax = 200;
addOn = 200;
timer = Math.ceil(Math.random() * timerMax) + 75;
} else {
timer = Math.ceil(Math.random() * 150) + 30;
}
}
onClipEvent (enterFrame) {
if (_root.crayons.endless) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * timerMax) + addOn;
timerMax = timerMax - 10;
if (addOn > 50) {
addOn = addOn - 10;
}
}
} else if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * 150) + 100;
}
}
Instance of Symbol 601 MovieClip in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
if (_root.crayons.endless) {
timerMax = 200;
addOn = 200;
timer = Math.ceil(Math.random() * timerMax) + 75;
} else {
timer = Math.ceil(Math.random() * 150) + 30;
}
}
onClipEvent (enterFrame) {
if (_root.crayons.endless) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * timerMax) + addOn;
timerMax = timerMax - 10;
if (addOn > 50) {
addOn = addOn - 10;
}
}
} else if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * 150) + 100;
}
}
Instance of Symbol 601 MovieClip in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
if (_root.crayons.endless) {
timerMax = 200;
addOn = 200;
timer = Math.ceil(Math.random() * timerMax) + 75;
} else {
timer = Math.ceil(Math.random() * 150) + 30;
}
}
onClipEvent (enterFrame) {
if (_root.crayons.endless) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * timerMax) + addOn;
timerMax = timerMax - 10;
if (addOn > 50) {
addOn = addOn - 10;
}
}
} else if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * 150) + 100;
}
}
Instance of Symbol 601 MovieClip in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
if (_root.crayons.endless) {
timerMax = 200;
addOn = 200;
timer = Math.ceil(Math.random() * timerMax) + 75;
} else {
timer = Math.ceil(Math.random() * 150) + 30;
}
}
onClipEvent (enterFrame) {
if (_root.crayons.endless) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * timerMax) + addOn;
timerMax = timerMax - 10;
if (addOn > 50) {
addOn = addOn - 10;
}
}
} else if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * 150) + 100;
}
}
Instance of Symbol 601 MovieClip in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
if (_root.crayons.endless) {
timerMax = 200;
addOn = 200;
timer = Math.ceil(Math.random() * timerMax) + 75;
} else {
timer = Math.ceil(Math.random() * 150) + 30;
}
}
onClipEvent (enterFrame) {
if (_root.crayons.endless) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * timerMax) + addOn;
timerMax = timerMax - 10;
if (addOn > 50) {
addOn = addOn - 10;
}
}
} else if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * 150) + 100;
}
}
Instance of Symbol 601 MovieClip in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
if (_root.crayons.endless) {
timerMax = 200;
addOn = 200;
timer = Math.ceil(Math.random() * timerMax) + 75;
} else {
timer = Math.ceil(Math.random() * 150) + 30;
}
}
onClipEvent (enterFrame) {
if (_root.crayons.endless) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * timerMax) + addOn;
timerMax = timerMax - 10;
if (addOn > 50) {
addOn = addOn - 10;
}
}
} else if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * 150) + 100;
}
}
Instance of Symbol 601 MovieClip in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
if (_root.crayons.endless) {
timerMax = 200;
addOn = 200;
timer = Math.ceil(Math.random() * timerMax) + 75;
} else {
timer = Math.ceil(Math.random() * 150) + 30;
}
}
onClipEvent (enterFrame) {
if (_root.crayons.endless) {
if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * timerMax) + addOn;
timerMax = timerMax - 10;
if (addOn > 50) {
addOn = addOn - 10;
}
}
} else if (timer > 0) {
timer--;
} else {
this.play();
timer = Math.ceil(Math.random() * 150) + 100;
}
}
Instance of Symbol 601 MovieClip in Symbol 603 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip in Symbol 603 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip in Symbol 603 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip in Symbol 603 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip in Symbol 603 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip in Symbol 603 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip in Symbol 603 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip in Symbol 603 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip in Symbol 603 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip in Symbol 603 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip in Symbol 603 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip in Symbol 603 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip in Symbol 603 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip in Symbol 603 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 601 MovieClip in Symbol 603 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 604 MovieClip Frame 31
stop();
Symbol 604 MovieClip Frame 55
stop();
Instance of Symbol 245 MovieClip in Symbol 606 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 606 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 606 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 606 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 608 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Symbol 615 MovieClip Frame 1
stop();
Instance of Symbol 245 MovieClip in Symbol 615 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.hitPrecision) && (_root.mouseActive)) {
_root.dinosaur.injured = true;
} else {
_root.dinosaur.injured = false;
}
}
Instance of Symbol 245 MovieClip in Symbol 615 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 615 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 614 MovieClip in Symbol 615 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.dinosaur.hitPoints > 0) {
_root.dinosaur.hitPoints--;
}
}
Instance of Symbol 245 MovieClip in Symbol 617 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 615 MovieClip "head" in Symbol 618 MovieClip Frame 110
onClipEvent (load) {
if (_parent.hitPoints == 0) {
_root.enemyCounter++;
_root.counterFunction();
_parent.hitPoints = -1;
_parent.gotoAndPlay("death");
}
}
Instance of Symbol 615 MovieClip "head" in Symbol 618 MovieClip Frame 175
onClipEvent (load) {
if (_parent.hitPoints == 0) {
_root.enemyCounter++;
_root.counterFunction();
_parent.hitPoints = -1;
_parent.gotoAndPlay("death");
}
}
Instance of Symbol 615 MovieClip "head" in Symbol 618 MovieClip Frame 325
onClipEvent (load) {
if (_parent.hitPoints == 0) {
_root.enemyCounter++;
_root.counterFunction();
_parent.hitPoints = -1;
_parent.gotoAndPlay("death");
}
}
Instance of Symbol 615 MovieClip "head" in Symbol 618 MovieClip Frame 385
onClipEvent (load) {
if (_parent.hitPoints == 0) {
_root.enemyCounter++;
_root.counterFunction();
_parent.hitPoints = -1;
_parent.gotoAndPlay("death");
}
}
Symbol 618 MovieClip Frame 400
gotoAndPlay (1);
Instance of Symbol 610 MovieClip in Symbol 618 MovieClip Frame 425
onClipEvent (load) {
if (_parent.extreme) {
_global.extremeEight = true;
}
}
Instance of Symbol 346 MovieClip in Symbol 618 MovieClip Frame 426
onClipEvent (enterFrame) {
_root.ballOne._alpha = _root.ballOne._alpha - 20;
_root.ballTwo._alpha = _root.ballTwo._alpha - 20;
}
Symbol 618 MovieClip Frame 445
stop();
_root.backGround.play();
Symbol 623 MovieClip Frame 1
stop();
Instance of Symbol 245 MovieClip in Symbol 623 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.hitPrecision) && (_root.mouseActive)) {
_parent.injured = true;
} else {
_parent.injured = false;
}
}
Instance of Symbol 622 MovieClip in Symbol 623 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.hitPoints--;
}
Symbol 630 MovieClip Frame 1
stop();
Instance of Symbol 629 MovieClip in Symbol 630 MovieClip Frame 2
onClipEvent (enterFrame) {
testColor = new Color(this);
colorTransform = new Object();
colorOne = Math.ceil(Math.random() * 255);
colorTwo = Math.ceil(Math.random() * 255);
colorThree = Math.ceil(Math.random() * 255);
colorTransform = {ra:100, rb:colorOne, ga:100, gb:colorTwo, ba:100, bb:colorThree, aa:40, ab:40};
testColor.setTransform(colorTransform);
}
Instance of Symbol 245 MovieClip in Symbol 630 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 245 MovieClip in Symbol 635 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.hitPrecision) && (_root.mouseActive)) {
_root.tripBoss.injured = true;
} else {
_root.tripBoss.injured = false;
}
}
Instance of Symbol 634 MovieClip in Symbol 635 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.tripBoss.hitPoints--;
}
Symbol 645 MovieClip Frame 1
stop();
Instance of Symbol 245 MovieClip in Symbol 645 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Symbol 646 MovieClip Frame 1
stop();
Symbol 646 MovieClip Frame 2
stop();
Instance of Symbol 645 MovieClip "tripLine" in Symbol 646 MovieClip Frame 2
onClipEvent (enterFrame) {
testColor = new Color(this);
colorTransform = new Object();
colorOne = Math.ceil(Math.random() * 255);
colorTwo = Math.ceil(Math.random() * 255);
colorThree = Math.ceil(Math.random() * 255);
colorTransform = {ra:100, rb:colorOne, ga:100, gb:colorTwo, ba:100, bb:colorThree, aa:90, ab:90};
testColor.setTransform(colorTransform);
}
Symbol 646 MovieClip Frame 4
stop();
Instance of Symbol 645 MovieClip "tripLineTwo" in Symbol 646 MovieClip Frame 4
onClipEvent (enterFrame) {
testColor = new Color(this);
colorTransform = new Object();
colorOne = Math.ceil(Math.random() * 255);
colorTwo = Math.ceil(Math.random() * 255);
colorThree = Math.ceil(Math.random() * 255);
colorTransform = {ra:100, rb:colorOne, ga:100, gb:colorTwo, ba:100, bb:colorThree, aa:90, ab:90};
testColor.setTransform(colorTransform);
}
Symbol 646 MovieClip Frame 45
stop();
_root.play();
Instance of Symbol 245 MovieClip in Symbol 660 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 558 MovieClip "puppetBoss" in Symbol 662 MovieClip Frame 1
onClipEvent (load) {
injured = false;
hitPoints = 250;
deathCounter = 15;
extreme = true;
}
onClipEvent (enterFrame) {
if (hitPoints == 0) {
_global.extremeFive = true;
_root.enemyCounter++;
_root.counterFunction();
hitPoints = -1;
}
if (hitPoints == -1) {
deathCounter--;
_root.fade._alpha = _root.fade._alpha + 8;
if (deathCounter == 0) {
_root.gotoAndPlay("MenuTwo");
}
}
}
Instance of Symbol 245 MovieClip in Symbol 664 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 664 MovieClip in Symbol 665 MovieClip Frame 150
onClipEvent (load) {
_parent._x = Math.random() * Stage.width;
}
Instance of Symbol 245 MovieClip in Symbol 667 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.character.hitSection) && (!_root.playerInjured)) {
_root.injuredFunction();
}
}
Instance of Symbol 564 MovieClip "beam" in Symbol 672 MovieClip Frame 1
onClipEvent (load) {
timer = Math.ceil(Math.random() * 30);
}
onClipEvent (enterFrame) {
if (_parent.extra) {
} else if (timer > 0) {
timer--;
} else {
this.play();
timer = 60;
}
}
Instance of Symbol 245 MovieClip "stopBlock" in Symbol 672 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 713 Button
on (press) {
if (_global.endless) {
_root.play();
} else {
_root.gotoAndStop("Unlocked");
}
}
Symbol 717 Button
on (press) {
_global.endless = true;
_global.survival = true;
_global.extreme = true;
_global.extras = true;
_root.play();
}