Frame 1
function preloadSite() {
var _local4 = _root.getBytesLoaded();
var _local3 = _root.getBytesTotal();
var _local2 = Math.round((_local4 / _local3) * 100);
loadingBar._xscale = _local2;
percentClip.percentDisplay.text = _local2 + "%";
percentClip._x = loadingBar._x + loadingBar._width;
bytesDisplay.text = ((_local4 + " of ") + _local3) + " bytes";
stop();
if (_local2 == 100) {
clearInterval(loadingCall);
gotoAndPlay ("main");
}
}
stop();
loadingBar._xscale = 1;
var loadingCall = setInterval(preloadSite, 1);
var con = new ContextMenu();
con.hideBuiltInItems();
_root.menu = con;
Frame 7
musac2 = new Sound(this);
musac2.attachSound("musac2");
musac2.stop();
musac2.start(0, 99);
stop();
Frame 8
stop();
Frame 9
function fadeMovieClip(startAt, endAt) {
var _local1 = new mx.transitions.Tween(fader, "_alpha", mx.transitions.easing.None.easeNone, startAt, endAt, 1, true);
}
fader._alpha = 0;
fader.SceneDesc._visible = false;
fader.SceneTitle._visible = false;
ambient = new Sound();
ambient.attachSound("ambient");
ambient.start(0, 99);
stop();
Frame 10
var levelKills = 0;
var shipSpeed = 7;
var BulletsAllowed = 2;
var BulletType = "Bullet";
var invincible = true;
Ship.attachMovie("Recovery", "Recovery1", 5);
musac = new Sound();
musac.attachSound("musac");
musac.start(0, 9999999);
laser = new Sound();
laser.attachSound("laser");
enemyFire = new Sound();
enemyFire.attachSound("laser2");
hit = new Sound();
hit.attachSound("hit");
_root.createEmptyMovieClip("explosionMC", 1);
explosion = new Sound(explosionMC);
explosion.attachSound("explosion");
explosion.setVolume(60);
crash = new Sound();
crash.attachSound("crash");
var score = 0;
var shotsFired = 0;
var shotsHit = 0;
var enemiesKilled = 0;
var enemiesEscaped = 0;
var bulletCount = 0;
var shot = false;
var lives = 3;
var nrEnemies = 3;
i = 1;
while (i < nrEnemies) {
_root.Enemy.duplicateMovieClip("Enemy" + i, _root.getNextHighestDepth());
i++;
}
var i = 0;
this.onEnterFrame = function () {
if (Key.isDown(39)) {
if (Key.isDown(38)) {
Ship._x = Ship._x + shipSpeed;
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._x = Ship._x + shipSpeed;
Ship._y = Ship._y + shipSpeed;
} else {
Ship._x = Ship._x + shipSpeed;
}
} else if (Key.isDown(37)) {
if (Key.isDown(38)) {
Ship._x = Ship._x - shipSpeed;
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._x = Ship._x - shipSpeed;
Ship._y = Ship._y + shipSpeed;
} else {
Ship._x = Ship._x - shipSpeed;
}
} else if (Key.isDown(38)) {
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._y = Ship._y + shipSpeed;
}
if (Ship._y >= 385) {
Ship._y = 384;
} else if (Ship._y <= 65) {
Ship._y = 66;
}
if (Ship._x <= 35) {
Ship._x = 36;
} else if (Ship._x >= 545) {
Ship._x = 544;
}
if (Key.isDown(32)) {
if ((shot == false) && (bulletCount <= BulletsAllowed)) {
laser.stop("laser");
laser.start();
i++;
_root.attachMovie(BulletType, "Bullet" + i, _root.getNextHighestDepth());
_root["Bullet" + i]._x = Ship._x + 3;
_root["Bullet" + i]._y = Ship._y;
shot = true;
bulletCount = bulletCount + 1;
shotsFired = shotsFired + 1;
}
}
if (!Key.isDown(32)) {
shot = false;
}
CurrentScore.text = "Score: " + score;
CurrentLives.text = "" + lives;
LevelTracker.text = "Marauders Destroyed: " + levelKills;
if (levelKills >= 10) {
musac.stop();
invincible = true;
gotoAndPlay ("lvlTwoIntro");
}
if (lives <= 0) {
gotoAndPlay ("GameOver");
}
};
stop();
Instance of Symbol 382 MovieClip "Ship" in Frame 10
onClipEvent (load) {
function reset() {
this._x = 100;
this._y = 200;
explosion1.removeMovieClip();
this.attachMovie("Recovery", "Recovery1", 5);
}
reset();
}
onClipEvent (enterFrame) {
i = 0;
while (i < _root.nrEnemies) {
if (this.hitTest(_root["Enemy" + i])) {
if (_root.invincible == false) {
this.attachMovie("ShipExp", "explosion1", 5);
_root.invincible = true;
_root.lives = _root.lives - 1;
_root.crash.start();
if (_root.lives <= 0) {
_root.gotoAndPlay("GameOver");
}
_root.enemiesKilled = _root.enemiesKilled + 1;
_root.levelKills = _root.levelKills + 1;
k = 0;
while (k < _root.nrEnemies) {
_root["Enemy" + k].reset();
k++;
}
}
}
i++;
}
}
Instance of Symbol 283 MovieClip [Enemy] "Enemy0" in Frame 10
onClipEvent (load) {
function reset() {
this.life = 11;
var _local2 = 12;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 6) + 1;
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
_root.enemiesEscaped = _root.enemiesEscaped + 1;
reset();
}
if (timer >= 12) {
var dir = Math.ceil(Math.random() * 2);
timer = 0;
}
if (dir == 1) {
this._y = this._y - 3;
} else if (dir == 2) {
this._y = this._y + 3;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Frame 11
musac.stop();
musac2.stop();
ambient.start(0, 99);
fader._alpha = 0;
fader.SceneDesc._visible = false;
fader.SceneTitle._visible = false;
stop();
Frame 12
musac.start(0, 9999999);
levelKills = 0;
var BulletNo = 1;
var enemyShot = 0;
var enemyShotMax = 2;
invincible = true;
Ship.attachMovie("Recovery", "Recovery1", 5);
var nrEnemies = 3;
i = 1;
while (i < nrEnemies) {
_root.Enemy.duplicateMovieClip("Enemy" + i, _root.getNextHighestDepth());
i++;
}
var i = 0;
this.onEnterFrame = function () {
if (Key.isDown(39)) {
if (Key.isDown(38)) {
Ship._x = Ship._x + shipSpeed;
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._x = Ship._x + shipSpeed;
Ship._y = Ship._y + shipSpeed;
} else {
Ship._x = Ship._x + shipSpeed;
}
} else if (Key.isDown(37)) {
if (Key.isDown(38)) {
Ship._x = Ship._x - shipSpeed;
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._x = Ship._x - shipSpeed;
Ship._y = Ship._y + shipSpeed;
} else {
Ship._x = Ship._x - shipSpeed;
}
} else if (Key.isDown(38)) {
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._y = Ship._y + shipSpeed;
}
if (Ship._y >= 385) {
Ship._y = 384;
} else if (Ship._y <= 65) {
Ship._y = 66;
}
if (Ship._x <= 35) {
Ship._x = 36;
} else if (Ship._x >= 545) {
Ship._x = 544;
}
if (Key.isDown(32)) {
if ((shot == false) && (bulletCount <= BulletsAllowed)) {
laser.stop("laser");
laser.start();
i++;
_root.attachMovie(BulletType, "Bullet" + i, _root.getNextHighestDepth());
_root["Bullet" + i]._x = Ship._x + 3;
_root["Bullet" + i]._y = Ship._y;
shot = true;
bulletCount = bulletCount + 1;
shotsFired = shotsFired + 1;
}
}
if (!Key.isDown(32)) {
shot = false;
}
CurrentScore.text = "Score: " + score;
CurrentLives.text = "" + lives;
LevelTracker.text = "Marauders Destroyed: " + levelKills;
if (levelKills >= 25) {
musac.stop("musac");
gotoAndPlay ("lvlThreeIntro");
invincible = true;
}
if (lives <= 0) {
gotoAndPlay ("GameOver");
}
};
stop();
Instance of Symbol 382 MovieClip "Ship" in Frame 12
onClipEvent (load) {
function reset() {
this._x = 100;
this._y = 200;
explosion1.removeMovieClip();
this.attachMovie("Recovery", "Recovery1", 5);
}
reset();
}
onClipEvent (enterFrame) {
i = 0;
while (i < _root.nrEnemies) {
if (this.hitTest(_root["Enemy" + i])) {
if (_root.invincible == false) {
this.attachMovie("ShipExp", "explosion1", 5);
_root.invincible = true;
_root.lives = _root.lives - 1;
_root.crash.start();
if (_root.lives <= 0) {
_root.gotoAndPlay("GameOver");
}
_root.enemiesKilled = _root.enemiesKilled + 1;
_root.levelKills = _root.levelKills + 1;
k = 0;
while (k < _root.nrEnemies) {
_root["Enemy" + k].reset();
k++;
}
}
}
i++;
}
}
Instance of Symbol 283 MovieClip [Enemy] "Enemy0" in Frame 12
onClipEvent (load) {
function reset() {
this.life = 11;
var _local2 = 12;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 3) + 1;
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
_root.enemiesEscaped = _root.enemiesEscaped + 1;
reset();
}
if (timer >= 12) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (((attack == 1) && (_root.enemyShot < _root.enemyShotMax)) && (timer == 0)) {
_root.attachMovie("enemyBullet", "enemyBullet" + _root.BulletNo, _root.getNextHighestDepth());
_root["enemyBullet" + _root.BulletNo]._x = this._x - 45;
_root["enemyBullet" + _root.BulletNo]._y = this._y;
_root.enemyShot = _root.enemyShot + 1;
_root.BulletNo = _root.BulletNo + 1;
_root.enemyFire.start();
}
if (dir == 1) {
this._y = this._y - 3;
} else if (dir == 2) {
this._y = this._y + 3;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Instance of Symbol 283 MovieClip [Enemy] "Enemy1" in Frame 12
onClipEvent (load) {
function reset() {
this.life = 11;
var _local2 = 12;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 3) + 1;
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
_root.enemiesEscaped = _root.enemiesEscaped + 1;
reset();
}
if (timer >= 12) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (((attack == 1) && (_root.enemyShot < _root.enemyShotMax)) && (timer == 0)) {
_root.attachMovie("enemyBullet", "enemyBullet" + _root.BulletNo, _root.getNextHighestDepth());
_root["enemyBullet" + _root.BulletNo]._x = this._x - 45;
_root["enemyBullet" + _root.BulletNo]._y = this._y;
_root.enemyShot = _root.enemyShot + 1;
_root.BulletNo = _root.BulletNo + 1;
_root.enemyFire.start();
}
if (dir == 1) {
this._y = this._y - 3;
} else if (dir == 2) {
this._y = this._y + 3;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Frame 13
musac.stop();
musac2.stop();
ambient.start(0, 99);
fader._alpha = 0;
fader.SceneDesc._visible = false;
fader.SceneTitle._visible = false;
var CurrentLevel = "lvlThreeIntro";
stop();
Frame 14
musac.start(0, 9999999);
levelKills = 0;
var MarKills = 0;
var IronKills = 0;
invincible = true;
Ship.attachMovie("Recovery", "Recovery1", 5);
var IronKilled = false;
var MarKilled = false;
var MarKilled1 = false;
BulletNo = 1;
enemyShot = 0;
enemyShotMax = 3;
var nrEnemies = 3;
i = 1;
while (i < nrEnemies) {
_root.Enemy.duplicateMovieClip("Enemy" + i, _root.getNextHighestDepth());
i++;
}
var i = 0;
this.onEnterFrame = function () {
if (Key.isDown(39)) {
if (Key.isDown(38)) {
Ship._x = Ship._x + shipSpeed;
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._x = Ship._x + shipSpeed;
Ship._y = Ship._y + shipSpeed;
} else {
Ship._x = Ship._x + shipSpeed;
}
} else if (Key.isDown(37)) {
if (Key.isDown(38)) {
Ship._x = Ship._x - shipSpeed;
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._x = Ship._x - shipSpeed;
Ship._y = Ship._y + shipSpeed;
} else {
Ship._x = Ship._x - shipSpeed;
}
} else if (Key.isDown(38)) {
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._y = Ship._y + shipSpeed;
}
if (Ship._y >= 385) {
Ship._y = 384;
} else if (Ship._y <= 65) {
Ship._y = 66;
}
if (Ship._x <= 35) {
Ship._x = 36;
} else if (Ship._x >= 545) {
Ship._x = 544;
}
if (Key.isDown(32)) {
if ((shot == false) && (bulletCount <= BulletsAllowed)) {
laser.stop("laser");
laser.start();
i++;
_root.attachMovie(BulletType, "Bullet" + i, _root.getNextHighestDepth());
_root["Bullet" + i]._x = Ship._x + 3;
_root["Bullet" + i]._y = Ship._y;
shot = true;
bulletCount = bulletCount + 1;
shotsFired = shotsFired + 1;
}
}
if (!Key.isDown(32)) {
shot = false;
}
CurrentScore.text = "Score: " + score;
CurrentLives.text = "" + lives;
if ((MarKills >= 25) && (IronKills >= 10)) {
musac.stop("musac");
gotoAndPlay ("lvlFourIntro");
invincible = true;
}
LevelTracker.text = "Marauders Destroyed: " + MarKills;
LevelTracker2.text = "Iron Titans Destroyed: " + IronKills;
if (lives <= 0) {
gotoAndPlay ("GameOver");
}
};
stop();
Instance of Symbol 382 MovieClip "Ship" in Frame 14
onClipEvent (load) {
function reset() {
this._x = 100;
this._y = 200;
explosion1.removeMovieClip();
this.attachMovie("Recovery", "Recovery1", 5);
}
reset();
}
onClipEvent (enterFrame) {
i = 0;
while (i < _root.nrEnemies) {
if (this.hitTest(_root["Enemy" + i])) {
if (_root.invincible == false) {
this.attachMovie("ShipExp", "explosion1", 5);
_root.invincible = true;
_root.lives = _root.lives - 1;
_root.crash.start();
if (_root.lives <= 0) {
_root.gotoAndPlay("GameOver");
}
_root.enemiesKilled = _root.enemiesKilled + 1;
_root.levelKills = _root.levelKills + 1;
k = 0;
while (k < _root.nrEnemies) {
_root["Enemy" + k].reset();
k++;
}
}
}
i++;
}
}
Instance of Symbol 285 MovieClip [Enemy2] "Enemy2" in Frame 14
onClipEvent (load) {
function reset() {
if (_root.IronKilled == true) {
_root.IronKills = _root.IronKills + 1;
_root.score = _root.score + 10;
}
this.life = 22;
var _local3 = 12;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 2) + 1;
_root.IronKilled = true;
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
_root.enemiesEscaped = _root.enemiesEscaped + 1;
_root.IronKilled = false;
reset();
}
if (timer >= 12) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (((attack == 1) && (_root.enemyShot < _root.enemyShotMax)) && (timer == 0)) {
_root.attachMovie("enemyBullet2", "enemyBullet2" + _root.BulletNo, _root.getNextHighestDepth());
_root["enemyBullet2" + _root.BulletNo]._x = this._x - 45;
_root["enemyBullet2" + _root.BulletNo]._y = this._y;
_root.enemyShot = _root.enemyShot + 1;
_root.BulletNo = _root.BulletNo + 1;
_root.enemyFire.start();
}
if (dir == 1) {
this._y = this._y - 3;
} else if (dir == 2) {
this._y = this._y + 3;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Instance of Symbol 283 MovieClip [Enemy] "Enemy0" in Frame 14
onClipEvent (load) {
function reset() {
if (_root.MarKilled1 == true) {
_root.MarKills = _root.MarKills + 1;
}
this.life = 11;
var _local3 = 12;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 3) + 1;
_root.MarKilled1 = true;
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
_root.enemiesEscaped = _root.enemiesEscaped + 1;
_root.MarKilled1 = false;
reset();
}
if (timer >= 12) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (((attack == 1) && (_root.enemyShot < _root.enemyShotMax)) && (timer == 0)) {
_root.attachMovie("enemyBullet", "enemyBullet" + _root.BulletNo, _root.getNextHighestDepth());
_root["enemyBullet" + _root.BulletNo]._x = this._x - 45;
_root["enemyBullet" + _root.BulletNo]._y = this._y;
_root.enemyShot = _root.enemyShot + 1;
_root.BulletNo = _root.BulletNo + 1;
_root.enemyFire.start();
}
if (dir == 1) {
this._y = this._y - 3;
} else if (dir == 2) {
this._y = this._y + 3;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Instance of Symbol 283 MovieClip [Enemy] "Enemy1" in Frame 14
onClipEvent (load) {
function reset() {
if (_root.MarKilled == true) {
_root.MarKills = _root.MarKills + 1;
}
this.life = 11;
var _local3 = 12;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 3) + 1;
_root.MarKilled = true;
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
_root.enemiesEscaped = _root.enemiesEscaped + 1;
_root.MarKilled = false;
reset();
}
if (timer >= 12) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (((attack == 1) && (_root.enemyShot < _root.enemyShotMax)) && (timer == 0)) {
_root.attachMovie("enemyBullet", "enemyBullet" + _root.BulletNo, _root.getNextHighestDepth());
_root["enemyBullet" + _root.BulletNo]._x = this._x - 45;
_root["enemyBullet" + _root.BulletNo]._y = this._y;
_root.enemyShot = _root.enemyShot + 1;
_root.BulletNo = _root.BulletNo + 1;
_root.enemyFire.start();
}
if (dir == 1) {
this._y = this._y - 3;
} else if (dir == 2) {
this._y = this._y + 3;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Frame 15
musac.stop();
musac2.stop();
ambient.start(0, 99);
fader._alpha = 0;
fader.SceneDesc._visible = false;
fader.SceneTitle._visible = false;
var CurrentLevel = "lvlFourIntro";
stop();
Frame 16
musac2.start(0, 9999999);
levelKills = 0;
var EnemyInst = true;
var ShootingAble = true;
invincible = true;
Ship.attachMovie("Recovery", "Recovery1", 5);
BulletNo = 1;
enemyShot = 0;
enemyShotMax = 6;
var nrEnemies = 3;
i = 1;
while (i < nrEnemies) {
_root.Enemy.duplicateMovieClip("Enemy" + i, _root.getNextHighestDepth());
i++;
}
var i = 0;
this.onEnterFrame = function () {
if (Key.isDown(39)) {
if (Key.isDown(38)) {
Ship._x = Ship._x + shipSpeed;
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._x = Ship._x + shipSpeed;
Ship._y = Ship._y + shipSpeed;
} else {
Ship._x = Ship._x + shipSpeed;
}
} else if (Key.isDown(37)) {
if (Key.isDown(38)) {
Ship._x = Ship._x - shipSpeed;
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._x = Ship._x - shipSpeed;
Ship._y = Ship._y + shipSpeed;
} else {
Ship._x = Ship._x - shipSpeed;
}
} else if (Key.isDown(38)) {
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._y = Ship._y + shipSpeed;
}
if (Ship._y >= 385) {
Ship._y = 384;
} else if (Ship._y <= 65) {
Ship._y = 66;
}
if (Ship._x <= 35) {
Ship._x = 36;
} else if (Ship._x >= 545) {
Ship._x = 544;
}
if (Key.isDown(32)) {
if ((shot == false) && (bulletCount <= BulletsAllowed)) {
laser.stop("laser");
laser.start();
i++;
_root.attachMovie(BulletType, "Bullet" + i, _root.getNextHighestDepth());
_root["Bullet" + i]._x = Ship._x + 3;
_root["Bullet" + i]._y = Ship._y;
shot = true;
bulletCount = bulletCount + 1;
shotsFired = shotsFired + 1;
}
}
if (!Key.isDown(32)) {
shot = false;
}
CurrentScore.text = "Score: " + score;
CurrentLives.text = "" + lives;
if (lives <= 0) {
gotoAndPlay ("GameOver");
}
};
stop();
Instance of Symbol 382 MovieClip "Ship" in Frame 16
onClipEvent (load) {
function reset() {
this._x = 100;
this._y = 200;
explosion1.removeMovieClip();
this.attachMovie("Recovery", "Recovery1", 5);
}
reset();
}
onClipEvent (enterFrame) {
i = 0;
while (i < _root.nrEnemies) {
if (this.hitTest(_root["Enemy" + i])) {
if (_root.invincible == false) {
this.attachMovie("ShipExp", "explosion1", 5);
_root.invincible = true;
_root.lives = _root.lives - 1;
_root.crash.start();
if (_root.lives <= 0) {
_root.gotoAndPlay("GameOver");
}
_root.enemiesKilled = _root.enemiesKilled + 1;
_root.levelKills = _root.levelKills + 1;
k = 0;
while (k < _root.nrEnemies) {
_root["Enemy" + k].reset();
k++;
}
}
}
i++;
}
}
Instance of Symbol 93 MovieClip "Enemy0" in Frame 16
onClipEvent (load) {
function reset() {
if (_root.EnemyInst == false) {
musac2.stop("musac2");
this.attachMovie("Boss1Defeat", "Boss1Defeat1", 5);
_root.ShootingAble = false;
_root.score = _root.score + 300;
} else {
this.life = 631;
var _local3 = 6;
this._y = (Math.random() * 265) + 65;
this._x = 600;
_root.EnemyInst = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - 4;
if (this._x < 460) {
this._x = 461;
}
if (this._y < 165) {
this._y = 166;
}
if (this._y > 275) {
this._y = 276;
}
if (timer >= 12) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if ((((attack <= 7) && (_root.enemyShot < _root.enemyShotMax)) && (_root.ShootingAble == true)) && ((timer == 0) || (timer == 1))) {
_root.attachMovie("enemyBullet2", "enemyBullet2" + _root.BulletNo, _root.getNextHighestDepth());
_root["enemyBullet2" + _root.BulletNo]._x = this._x - 85;
var yPos = (Math.ceil(Math.random() * 4) + 1);
if (yPos == 1) {
_root["enemyBullet2" + _root.BulletNo]._y = this._y;
} else if (yPos == 2) {
_root["enemyBullet2" + _root.BulletNo]._y = this._y + 65;
} else if (yPos == 3) {
_root["enemyBullet2" + _root.BulletNo]._y = this._y - 65;
} else if (yPos == 4) {
_root["enemyBullet2" + _root.BulletNo]._y = this._y - 105;
} else if (yPos == 5) {
_root["enemyBullet2" + _root.BulletNo]._y = this._y + 105;
}
_root.enemyShot = _root.enemyShot + 1;
_root.BulletNo = _root.BulletNo + 1;
_root.enemyFire.start();
}
if (dir == 1) {
this._y = this._y - 5;
} else if (dir == 2) {
this._y = this._y + 5;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
if (this.life < EneLife) {
_root.score = _root.score + 5;
}
var EneLife = this.life;
}
Frame 17
musac.stop();
musac2.stop();
ambient.start(0, 99);
fader._alpha = 0;
fader.SceneDesc._visible = false;
fader.SceneTitle._visible = false;
var CurrentLevel = "lvlFiveIntro";
stop();
Frame 18
musac.start(0, 9999999);
levelKills = 0;
invincible = true;
Ship.attachMovie("Recovery", "Recovery1", 5);
var IronKilled = false;
var MarKilled = false;
var MarKilled1 = false;
BulletNo = 1;
enemyShot = 0;
enemyShotMax = 3;
var nrEnemies = 3;
i = 1;
while (i < nrEnemies) {
_root.Enemy.duplicateMovieClip("Enemy" + i, _root.getNextHighestDepth());
i++;
}
var i = 0;
this.onEnterFrame = function () {
if (Key.isDown(39)) {
if (Key.isDown(38)) {
Ship._x = Ship._x + shipSpeed;
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._x = Ship._x + shipSpeed;
Ship._y = Ship._y + shipSpeed;
} else {
Ship._x = Ship._x + shipSpeed;
}
} else if (Key.isDown(37)) {
if (Key.isDown(38)) {
Ship._x = Ship._x - shipSpeed;
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._x = Ship._x - shipSpeed;
Ship._y = Ship._y + shipSpeed;
} else {
Ship._x = Ship._x - shipSpeed;
}
} else if (Key.isDown(38)) {
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._y = Ship._y + shipSpeed;
}
if (Ship._y >= 385) {
Ship._y = 384;
} else if (Ship._y <= 65) {
Ship._y = 66;
}
if (Ship._x <= 35) {
Ship._x = 36;
} else if (Ship._x >= 545) {
Ship._x = 544;
}
if (Key.isDown(32)) {
if ((shot == false) && (bulletCount <= BulletsAllowed)) {
laser.stop("laser");
laser.start();
i++;
_root.attachMovie(BulletType, "Bullet" + i, _root.getNextHighestDepth());
_root["Bullet" + i]._x = Ship._x + 3;
_root["Bullet" + i]._y = Ship._y;
shot = true;
bulletCount = bulletCount + 1;
shotsFired = shotsFired + 1;
}
}
if (!Key.isDown(32)) {
shot = false;
}
CurrentScore.text = "Score: " + score;
CurrentLives.text = "" + lives;
if (levelKills >= 25) {
musac.stop("musac");
gotoAndPlay ("lvlSixIntro");
invincible = true;
}
LevelTracker2.text = "Iron Titans Destroyed: " + levelKills;
if (lives <= 0) {
gotoAndPlay ("GameOver");
}
};
stop();
Instance of Symbol 382 MovieClip "Ship" in Frame 18
onClipEvent (load) {
function reset() {
this._x = 100;
this._y = 200;
explosion1.removeMovieClip();
this.attachMovie("Recovery", "Recovery1", 5);
}
reset();
}
onClipEvent (enterFrame) {
i = 0;
while (i < _root.nrEnemies) {
if (this.hitTest(_root["Enemy" + i])) {
if (_root.invincible == false) {
this.attachMovie("ShipExp", "explosion1", 5);
_root.invincible = true;
_root.lives = _root.lives - 1;
_root.crash.start();
if (_root.lives <= 0) {
_root.gotoAndPlay("GameOver");
}
_root.enemiesKilled = _root.enemiesKilled + 1;
_root.levelKills = _root.levelKills + 1;
k = 0;
while (k < _root.nrEnemies) {
_root["Enemy" + k].reset();
k++;
}
}
}
i++;
}
}
Instance of Symbol 285 MovieClip [Enemy2] "Enemy2" in Frame 18
onClipEvent (load) {
function reset() {
if (_root.IronKilled == true) {
_root.IronKills = _root.IronKills + 1;
_root.score = _root.score + 10;
}
this.life = 22;
var _local3 = 12;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 2) + 1;
_root.IronKilled = true;
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
_root.enemiesEscaped = _root.enemiesEscaped + 1;
_root.IronKilled = false;
reset();
}
if (timer >= 12) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (((attack == 1) && (_root.enemyShot < _root.enemyShotMax)) && (timer == 0)) {
_root.attachMovie("enemyBullet2", "enemyBullet2" + _root.BulletNo, _root.getNextHighestDepth());
_root["enemyBullet2" + _root.BulletNo]._x = this._x - 45;
_root["enemyBullet2" + _root.BulletNo]._y = this._y;
_root.enemyShot = _root.enemyShot + 1;
_root.BulletNo = _root.BulletNo + 1;
_root.enemyFire.start();
}
if (dir == 1) {
this._y = this._y - 3;
} else if (dir == 2) {
this._y = this._y + 3;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Instance of Symbol 285 MovieClip [Enemy2] "Enemy0" in Frame 18
onClipEvent (load) {
function reset() {
if (_root.IronKilled == true) {
_root.IronKills = _root.IronKills + 1;
_root.score = _root.score + 10;
}
this.life = 22;
var _local3 = 12;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 2) + 1;
_root.IronKilled = true;
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
_root.enemiesEscaped = _root.enemiesEscaped + 1;
_root.IronKilled = false;
reset();
}
if (timer >= 12) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (((attack == 1) && (_root.enemyShot < _root.enemyShotMax)) && (timer == 0)) {
_root.attachMovie("enemyBullet2", "enemyBullet2" + _root.BulletNo, _root.getNextHighestDepth());
_root["enemyBullet2" + _root.BulletNo]._x = this._x - 45;
_root["enemyBullet2" + _root.BulletNo]._y = this._y;
_root.enemyShot = _root.enemyShot + 1;
_root.BulletNo = _root.BulletNo + 1;
_root.enemyFire.start();
}
if (dir == 1) {
this._y = this._y - 3;
} else if (dir == 2) {
this._y = this._y + 3;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Instance of Symbol 285 MovieClip [Enemy2] "Enemy1" in Frame 18
onClipEvent (load) {
function reset() {
if (_root.IronKilled == true) {
_root.IronKills = _root.IronKills + 1;
_root.score = _root.score + 10;
}
this.life = 22;
var _local3 = 12;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 2) + 1;
_root.IronKilled = true;
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
_root.enemiesEscaped = _root.enemiesEscaped + 1;
_root.IronKilled = false;
reset();
}
if (timer >= 12) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (((attack == 1) && (_root.enemyShot < _root.enemyShotMax)) && (timer == 0)) {
_root.attachMovie("enemyBullet2", "enemyBullet2" + _root.BulletNo, _root.getNextHighestDepth());
_root["enemyBullet2" + _root.BulletNo]._x = this._x - 45;
_root["enemyBullet2" + _root.BulletNo]._y = this._y;
_root.enemyShot = _root.enemyShot + 1;
_root.BulletNo = _root.BulletNo + 1;
_root.enemyFire.start();
}
if (dir == 1) {
this._y = this._y - 3;
} else if (dir == 2) {
this._y = this._y + 3;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Frame 19
musac.stop();
musac2.stop();
ambient.start(0, 99);
fader._alpha = 0;
fader.SceneDesc._visible = false;
fader.SceneTitle._visible = false;
var CurrentLevel = "lvlSixIntro";
stop();
Frame 20
musac.start(0, 9999999);
var levelEnd = -6;
invincible = true;
Ship.attachMovie("Recovery", "Recovery1", 5);
var nrEnemies = 5;
i = 1;
while (i < nrEnemies) {
_root.Enemy.duplicateMovieClip("Enemy" + i, _root.getNextHighestDepth());
i++;
}
var i = 0;
this.onEnterFrame = function () {
if (Key.isDown(39)) {
if (Key.isDown(38)) {
Ship._x = Ship._x + shipSpeed;
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._x = Ship._x + shipSpeed;
Ship._y = Ship._y + shipSpeed;
} else {
Ship._x = Ship._x + shipSpeed;
}
} else if (Key.isDown(37)) {
if (Key.isDown(38)) {
Ship._x = Ship._x - shipSpeed;
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._x = Ship._x - shipSpeed;
Ship._y = Ship._y + shipSpeed;
} else {
Ship._x = Ship._x - shipSpeed;
}
} else if (Key.isDown(38)) {
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._y = Ship._y + shipSpeed;
}
if (Ship._y >= 385) {
Ship._y = 384;
} else if (Ship._y <= 65) {
Ship._y = 66;
}
if (Ship._x <= 35) {
Ship._x = 36;
} else if (Ship._x >= 545) {
Ship._x = 544;
}
if (Key.isDown(32)) {
if ((shot == false) && (bulletCount <= BulletsAllowed)) {
laser.stop("laser");
laser.start();
i++;
_root.attachMovie(BulletType, "Bullet" + i, _root.getNextHighestDepth());
_root["Bullet" + i]._x = Ship._x + 3;
_root["Bullet" + i]._y = Ship._y;
shot = true;
bulletCount = bulletCount + 1;
shotsFired = shotsFired + 1;
}
}
if (!Key.isDown(32)) {
shot = false;
}
CurrentScore.text = "Score: " + score;
CurrentLives.text = "" + lives;
if (levelEnd >= 107) {
musac.stop("musac");
gotoAndPlay ("lvlSevenIntro");
invincible = true;
}
LevelTracker2.text = "Asteriods left: " + (107 - levelEnd);
if (lives <= 0) {
gotoAndPlay ("GameOver");
}
};
stop();
Instance of Symbol 382 MovieClip "Ship" in Frame 20
onClipEvent (load) {
function reset() {
this._x = 100;
this._y = 200;
explosion1.removeMovieClip();
this.attachMovie("Recovery", "Recovery1", 5);
}
reset();
}
onClipEvent (enterFrame) {
i = 0;
while (i < _root.nrEnemies) {
if (this.hitTest(_root["Enemy" + i])) {
if (_root.invincible == false) {
this.attachMovie("ShipExp", "explosion1", 5);
_root.invincible = true;
_root.lives = _root.lives - 1;
_root.crash.start();
if (_root.lives <= 0) {
_root.gotoAndPlay("GameOver");
}
_root.enemiesKilled = _root.enemiesKilled + 1;
_root.levelKills = _root.levelKills + 1;
k = 0;
while (k < _root.nrEnemies) {
_root["Enemy" + k].reset();
k++;
}
}
}
i++;
}
}
Instance of Symbol 87 MovieClip "Enemy0" in Frame 20
onClipEvent (load) {
function reset() {
this.life = 21;
var _local3 = 36;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 6) + 3;
_root.levelEnd = _root.levelEnd + 1;
}
reset();
_root.levelEnd = _root.levelEnd + 1;
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
reset();
}
if (timer >= 36) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (dir == 1) {
this._y = this._y - 1;
} else if (dir == 2) {
this._y = this._y + 1;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Instance of Symbol 87 MovieClip "Enemy4" in Frame 20
onClipEvent (load) {
function reset() {
this.life = 21;
var _local3 = 36;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 3) + 3;
_root.levelEnd = _root.levelEnd + 1;
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
reset();
}
if (timer >= 36) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (dir == 1) {
this._y = this._y - 1;
} else if (dir == 2) {
this._y = this._y + 1;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Instance of Symbol 88 MovieClip "Enemy2" in Frame 20
onClipEvent (load) {
function reset() {
this.life = 21;
var _local3 = 36;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 4) + 3;
_root.levelEnd = _root.levelEnd + 1;
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
reset();
}
if (timer >= 36) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (dir == 1) {
this._y = this._y - 1;
} else if (dir == 2) {
this._y = this._y + 1;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Instance of Symbol 89 MovieClip "Enemy1" in Frame 20
onClipEvent (load) {
function reset() {
this.life = 21;
var _local3 = 36;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 5) + 3;
_root.levelEnd = _root.levelEnd + 1;
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
reset();
}
if (timer >= 36) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (dir == 1) {
this._y = this._y - 1;
} else if (dir == 2) {
this._y = this._y + 1;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Instance of Symbol 87 MovieClip "Enemy3" in Frame 20
onClipEvent (load) {
function reset() {
this.life = 21;
var _local3 = 36;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 2) + 3;
_root.levelEnd = _root.levelEnd + 1;
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
reset();
}
if (timer >= 36) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (dir == 1) {
this._y = this._y - 1;
} else if (dir == 2) {
this._y = this._y + 1;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Frame 21
musac.stop();
musac2.stop();
ambient.start(0, 99);
fader._alpha = 0;
fader.SceneDesc._visible = false;
fader.SceneTitle._visible = false;
var CurrentLevel = "lvlSevenIntro";
stop();
Frame 22
musac.start(0, 9999999);
levelKills = 0;
var MarKills = -3;
var IronKills = 0;
invincible = true;
Ship.attachMovie("Recovery", "Recovery1", 5);
var IronKilled = false;
var MarKilled = false;
var MarKilled1 = false;
BulletNo = 1;
enemyShot = 0;
enemyShotMax = 3;
var nrEnemies = 6;
i = 1;
while (i < nrEnemies) {
_root.Enemy.duplicateMovieClip("Enemy" + i, _root.getNextHighestDepth());
i++;
}
var i = 0;
this.onEnterFrame = function () {
if (Key.isDown(39)) {
if (Key.isDown(38)) {
Ship._x = Ship._x + shipSpeed;
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._x = Ship._x + shipSpeed;
Ship._y = Ship._y + shipSpeed;
} else {
Ship._x = Ship._x + shipSpeed;
}
} else if (Key.isDown(37)) {
if (Key.isDown(38)) {
Ship._x = Ship._x - shipSpeed;
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._x = Ship._x - shipSpeed;
Ship._y = Ship._y + shipSpeed;
} else {
Ship._x = Ship._x - shipSpeed;
}
} else if (Key.isDown(38)) {
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._y = Ship._y + shipSpeed;
}
if (Ship._y >= 385) {
Ship._y = 384;
} else if (Ship._y <= 65) {
Ship._y = 66;
}
if (Ship._x <= 35) {
Ship._x = 36;
} else if (Ship._x >= 545) {
Ship._x = 544;
}
if (Key.isDown(32)) {
if ((shot == false) && (bulletCount <= BulletsAllowed)) {
laser.stop("laser");
laser.start();
i++;
_root.attachMovie(BulletType, "Bullet" + i, _root.getNextHighestDepth());
_root["Bullet" + i]._x = Ship._x + 3;
_root["Bullet" + i]._y = Ship._y;
shot = true;
bulletCount = bulletCount + 1;
shotsFired = shotsFired + 1;
}
}
if (!Key.isDown(32)) {
shot = false;
}
CurrentScore.text = "Score: " + score;
CurrentLives.text = "" + lives;
if (MarKills >= 125) {
musac.stop("musac");
gotoAndPlay ("lvlEightIntro");
invincible = true;
}
LevelTracker.text = "Marauders Destroyed: " + MarKills;
if (lives <= 0) {
gotoAndPlay ("GameOver");
}
};
stop();
Instance of Symbol 382 MovieClip "Ship" in Frame 22
onClipEvent (load) {
function reset() {
this._x = 100;
this._y = 200;
explosion1.removeMovieClip();
this.attachMovie("Recovery", "Recovery1", 5);
}
reset();
}
onClipEvent (enterFrame) {
i = 0;
while (i < _root.nrEnemies) {
if (this.hitTest(_root["Enemy" + i])) {
if (_root.invincible == false) {
this.attachMovie("ShipExp", "explosion1", 5);
_root.invincible = true;
_root.lives = _root.lives - 1;
_root.crash.start();
if (_root.lives <= 0) {
_root.gotoAndPlay("GameOver");
}
_root.enemiesKilled = _root.enemiesKilled + 1;
_root.levelKills = _root.levelKills + 1;
k = 0;
while (k < _root.nrEnemies) {
_root["Enemy" + k].reset();
k++;
}
}
}
i++;
}
}
Instance of Symbol 283 MovieClip [Enemy] "Enemy0" in Frame 22
onClipEvent (load) {
function reset() {
if (_root.MarKilled1 == true) {
_root.MarKills = _root.MarKills + 1;
}
this.life = 11;
var _local3 = 12;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 3) + 1;
_root.MarKilled1 = true;
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
_root.enemiesEscaped = _root.enemiesEscaped + 1;
_root.MarKilled1 = false;
reset();
}
if (timer >= 12) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (((attack == 1) && (_root.enemyShot < _root.enemyShotMax)) && (timer == 0)) {
_root.attachMovie("enemyBullet", "enemyBullet" + _root.BulletNo, _root.getNextHighestDepth());
_root["enemyBullet" + _root.BulletNo]._x = this._x - 45;
_root["enemyBullet" + _root.BulletNo]._y = this._y;
_root.enemyShot = _root.enemyShot + 1;
_root.BulletNo = _root.BulletNo + 1;
_root.enemyFire.start();
}
if (dir == 1) {
this._y = this._y - 3;
} else if (dir == 2) {
this._y = this._y + 3;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Instance of Symbol 283 MovieClip [Enemy] "Enemy1" in Frame 22
onClipEvent (load) {
function reset() {
if (_root.MarKilled == true) {
_root.MarKills = _root.MarKills + 1;
}
this.life = 11;
var _local3 = 12;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 3) + 1;
_root.MarKilled = true;
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
_root.enemiesEscaped = _root.enemiesEscaped + 1;
_root.MarKilled = false;
reset();
}
if (timer >= 12) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (((attack == 1) && (_root.enemyShot < _root.enemyShotMax)) && (timer == 0)) {
_root.attachMovie("enemyBullet", "enemyBullet" + _root.BulletNo, _root.getNextHighestDepth());
_root["enemyBullet" + _root.BulletNo]._x = this._x - 45;
_root["enemyBullet" + _root.BulletNo]._y = this._y;
_root.enemyShot = _root.enemyShot + 1;
_root.BulletNo = _root.BulletNo + 1;
_root.enemyFire.start();
}
if (dir == 1) {
this._y = this._y - 3;
} else if (dir == 2) {
this._y = this._y + 3;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Instance of Symbol 287 MovieClip [Enemy3] "Enemy2" in Frame 22
onClipEvent (load) {
function reset() {
if (_root.IronKilled == true) {
_root.IronKills = _root.IronKills + 1;
_root.score = _root.score + 10;
}
this.life = 60;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 12) + 4;
_root.IronKilled = true;
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
_root.enemiesEscaped = _root.enemiesEscaped + 1;
_root.IronKilled = false;
reset();
}
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Instance of Symbol 283 MovieClip [Enemy] "Enemy3" in Frame 22
onClipEvent (load) {
function reset() {
if (_root.MarKilled1 == true) {
_root.MarKills = _root.MarKills + 1;
}
this.life = 11;
var _local3 = 12;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 3) + 1;
_root.MarKilled1 = true;
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
_root.enemiesEscaped = _root.enemiesEscaped + 1;
_root.MarKilled1 = false;
reset();
}
if (timer >= 12) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (((attack == 1) && (_root.enemyShot < _root.enemyShotMax)) && (timer == 0)) {
_root.attachMovie("enemyBullet", "enemyBullet" + _root.BulletNo, _root.getNextHighestDepth());
_root["enemyBullet" + _root.BulletNo]._x = this._x - 45;
_root["enemyBullet" + _root.BulletNo]._y = this._y;
_root.enemyShot = _root.enemyShot + 1;
_root.BulletNo = _root.BulletNo + 1;
_root.enemyFire.start();
}
if (dir == 1) {
this._y = this._y - 3;
} else if (dir == 2) {
this._y = this._y + 3;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Instance of Symbol 283 MovieClip [Enemy] "Enemy4" in Frame 22
onClipEvent (load) {
function reset() {
if (_root.MarKilled1 == true) {
_root.MarKills = _root.MarKills + 1;
}
this.life = 11;
var _local3 = 12;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 3) + 1;
_root.MarKilled1 = true;
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
_root.enemiesEscaped = _root.enemiesEscaped + 1;
_root.MarKilled1 = false;
reset();
}
if (timer >= 12) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (((attack == 1) && (_root.enemyShot < _root.enemyShotMax)) && (timer == 0)) {
_root.attachMovie("enemyBullet", "enemyBullet" + _root.BulletNo, _root.getNextHighestDepth());
_root["enemyBullet" + _root.BulletNo]._x = this._x - 45;
_root["enemyBullet" + _root.BulletNo]._y = this._y;
_root.enemyShot = _root.enemyShot + 1;
_root.BulletNo = _root.BulletNo + 1;
_root.enemyFire.start();
}
if (dir == 1) {
this._y = this._y - 3;
} else if (dir == 2) {
this._y = this._y + 3;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Instance of Symbol 283 MovieClip [Enemy] "Enemy5" in Frame 22
onClipEvent (load) {
function reset() {
if (_root.MarKilled1 == true) {
_root.MarKills = _root.MarKills + 1;
}
this.life = 11;
var _local3 = 12;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 3) + 1;
_root.MarKilled1 = true;
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
_root.enemiesEscaped = _root.enemiesEscaped + 1;
_root.MarKilled1 = false;
reset();
}
if (timer >= 12) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (((attack == 1) && (_root.enemyShot < _root.enemyShotMax)) && (timer == 0)) {
_root.attachMovie("enemyBullet", "enemyBullet" + _root.BulletNo, _root.getNextHighestDepth());
_root["enemyBullet" + _root.BulletNo]._x = this._x - 45;
_root["enemyBullet" + _root.BulletNo]._y = this._y;
_root.enemyShot = _root.enemyShot + 1;
_root.BulletNo = _root.BulletNo + 1;
_root.enemyFire.start();
}
if (dir == 1) {
this._y = this._y - 3;
} else if (dir == 2) {
this._y = this._y + 3;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Frame 23
musac.stop();
musac2.stop();
ambient.start(0, 99);
fader._alpha = 0;
fader.SceneDesc._visible = false;
fader.SceneTitle._visible = false;
var CurrentLevel = "lvlEightIntro";
stop();
Frame 24
musac2.start(0, 9999999);
levelKills = 0;
var EnemyInst = true;
var ShootingAble = true;
invincible = true;
Ship.attachMovie("Recovery", "Recovery1", 5);
BulletNo = 1;
enemyShot = 0;
enemyShotMax = 10;
var nrEnemies = 6;
i = 1;
while (i < nrEnemies) {
_root.Enemy.duplicateMovieClip("Enemy" + i, _root.getNextHighestDepth());
i++;
}
var i = 0;
this.onEnterFrame = function () {
if (Key.isDown(39)) {
if (Key.isDown(38)) {
Ship._x = Ship._x + shipSpeed;
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._x = Ship._x + shipSpeed;
Ship._y = Ship._y + shipSpeed;
} else {
Ship._x = Ship._x + shipSpeed;
}
} else if (Key.isDown(37)) {
if (Key.isDown(38)) {
Ship._x = Ship._x - shipSpeed;
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._x = Ship._x - shipSpeed;
Ship._y = Ship._y + shipSpeed;
} else {
Ship._x = Ship._x - shipSpeed;
}
} else if (Key.isDown(38)) {
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._y = Ship._y + shipSpeed;
}
if (Ship._y >= 385) {
Ship._y = 384;
} else if (Ship._y <= 65) {
Ship._y = 66;
}
if (Ship._x <= 35) {
Ship._x = 36;
} else if (Ship._x >= 545) {
Ship._x = 544;
}
if (Key.isDown(32)) {
if ((shot == false) && (bulletCount <= BulletsAllowed)) {
laser.stop("laser");
laser.start();
i++;
_root.attachMovie(BulletType, "Bullet" + i, _root.getNextHighestDepth());
_root["Bullet" + i]._x = Ship._x + 3;
_root["Bullet" + i]._y = Ship._y;
shot = true;
bulletCount = bulletCount + 1;
shotsFired = shotsFired + 1;
}
}
if (!Key.isDown(32)) {
shot = false;
}
CurrentScore.text = "Score: " + score;
CurrentLives.text = "" + lives;
if (lives <= 0) {
gotoAndPlay ("GameOver");
}
};
stop();
Instance of Symbol 382 MovieClip "Ship" in Frame 24
onClipEvent (load) {
function reset() {
this._x = 100;
this._y = 200;
explosion1.removeMovieClip();
this.attachMovie("Recovery", "Recovery1", 5);
}
reset();
}
onClipEvent (enterFrame) {
i = 0;
while (i < _root.nrEnemies) {
if (this.hitTest(_root["Enemy" + i])) {
if (_root.invincible == false) {
this.attachMovie("ShipExp", "explosion1", 5);
_root.invincible = true;
_root.lives = _root.lives - 1;
_root.crash.start();
if (_root.lives <= 0) {
_root.gotoAndPlay("GameOver");
}
_root.enemiesKilled = _root.enemiesKilled + 1;
_root.levelKills = _root.levelKills + 1;
k = 0;
while (k < _root.nrEnemies) {
_root["Enemy" + k].reset();
k++;
}
}
}
i++;
}
}
Instance of Symbol 179 MovieClip [Boss2] "Enemy0" in Frame 24
onClipEvent (load) {
function reset() {
if (_root.EnemyInst == false) {
this.attachMovie("Boss2Defeat", "Boss1Defeat2", 5);
_root.ShootingAble = false;
_root.invincible = true;
_root.musac2.stop("musac2");
} else {
this.life = 1250;
this._y = 245;
this._x = 600;
_root.EnemyInst = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - 4;
if (this._x < 460) {
this._x = 461;
}
if (this._y < 165) {
this._y = 166;
}
if (this._y > 275) {
this._y = 276;
}
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
if (this.life < EneLife) {
_root.score = _root.score + 5;
}
var EneLife = this.life;
}
Instance of Symbol 283 MovieClip [Enemy] "Enemy1" in Frame 24
onClipEvent (load) {
function reset() {
if (_root.ShootingAble == true) {
this.life = 11;
var _local3 = 12;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 3) + 1;
}
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
_root.enemiesEscaped = _root.enemiesEscaped + 1;
reset();
}
if (timer >= 12) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (((attack == 1) && (_root.enemyShot < _root.enemyShotMax)) && (timer == 0)) {
_root.attachMovie("enemyBullet", "enemyBullet" + _root.BulletNo, _root.getNextHighestDepth());
_root["enemyBullet" + _root.BulletNo]._x = this._x - 45;
_root["enemyBullet" + _root.BulletNo]._y = this._y;
_root.enemyShot = _root.enemyShot + 1;
_root.BulletNo = _root.BulletNo + 1;
_root.enemyFire.start();
}
if (dir == 1) {
this._y = this._y - 3;
} else if (dir == 2) {
this._y = this._y + 3;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Instance of Symbol 283 MovieClip [Enemy] "Enemy2" in Frame 24
onClipEvent (load) {
function reset() {
if (_root.ShootingAble == true) {
this.life = 11;
var _local3 = 12;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 3) + 1;
}
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
_root.enemiesEscaped = _root.enemiesEscaped + 1;
reset();
}
if (timer >= 12) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (((attack == 1) && (_root.enemyShot < _root.enemyShotMax)) && (timer == 0)) {
_root.attachMovie("enemyBullet", "enemyBullet" + _root.BulletNo, _root.getNextHighestDepth());
_root["enemyBullet" + _root.BulletNo]._x = this._x - 45;
_root["enemyBullet" + _root.BulletNo]._y = this._y;
_root.enemyShot = _root.enemyShot + 1;
_root.BulletNo = _root.BulletNo + 1;
_root.enemyFire.start();
}
if (dir == 1) {
this._y = this._y - 3;
} else if (dir == 2) {
this._y = this._y + 3;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Instance of Symbol 285 MovieClip [Enemy2] "Enemy3" in Frame 24
onClipEvent (load) {
function reset() {
if (_root.ShootingAble == true) {
this.life = 22;
var _local3 = 12;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 2) + 1;
}
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
_root.enemiesEscaped = _root.enemiesEscaped + 1;
reset();
}
if (timer >= 12) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if (((attack == 1) && (_root.enemyShot < _root.enemyShotMax)) && (timer == 0)) {
_root.attachMovie("enemyBullet2", "enemyBullet2" + _root.BulletNo, _root.getNextHighestDepth());
_root["enemyBullet2" + _root.BulletNo]._x = this._x - 45;
_root["enemyBullet2" + _root.BulletNo]._y = this._y;
_root.enemyShot = _root.enemyShot + 1;
_root.BulletNo = _root.BulletNo + 1;
_root.enemyFire.start();
}
if (dir == 1) {
this._y = this._y - 3;
} else if (dir == 2) {
this._y = this._y + 3;
}
timer++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Instance of Symbol 287 MovieClip [Enemy3] "Enemy5" in Frame 24
onClipEvent (load) {
function reset() {
if (_root.ShootingAble == true) {
this.life = 60;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 12) + 4;
}
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
_root.enemiesEscaped = _root.enemiesEscaped + 1;
_root.IronKilled = false;
reset();
}
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Instance of Symbol 287 MovieClip [Enemy3] "Enemy4" in Frame 24
onClipEvent (load) {
function reset() {
if (_root.ShootingAble == true) {
this.life = 60;
this._y = (Math.random() * 265) + 65;
this._x = 600;
mySpeed = Math.ceil(Math.random() * 12) + 4;
}
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - mySpeed;
if (this._x < -10) {
_root.enemiesEscaped = _root.enemiesEscaped + 1;
_root.IronKilled = false;
reset();
}
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
}
Frame 25
musac.stop();
musac2.stop();
ambient.start(0, 99);
fader._alpha = 0;
fader.SceneDesc._visible = false;
fader.SceneTitle._visible = false;
var CurrentLevel = "lvlNineIntro";
stop();
Frame 26
musac2.start(0, 9999999);
levelKills = 0;
var EnemyInst = true;
var ShootingAble = true;
invincible = true;
Ship.attachMovie("Recovery", "Recovery1", 5);
BulletNo = 1;
enemyShot = 0;
enemyShotMax = 6;
var nrEnemies = 3;
i = 1;
while (i < nrEnemies) {
_root.Enemy.duplicateMovieClip("Enemy" + i, _root.getNextHighestDepth());
i++;
}
var i = 0;
this.onEnterFrame = function () {
if (Key.isDown(39)) {
if (Key.isDown(38)) {
Ship._x = Ship._x + shipSpeed;
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._x = Ship._x + shipSpeed;
Ship._y = Ship._y + shipSpeed;
} else {
Ship._x = Ship._x + shipSpeed;
}
} else if (Key.isDown(37)) {
if (Key.isDown(38)) {
Ship._x = Ship._x - shipSpeed;
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._x = Ship._x - shipSpeed;
Ship._y = Ship._y + shipSpeed;
} else {
Ship._x = Ship._x - shipSpeed;
}
} else if (Key.isDown(38)) {
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._y = Ship._y + shipSpeed;
}
if (Ship._y >= 385) {
Ship._y = 384;
} else if (Ship._y <= 65) {
Ship._y = 66;
}
if (Ship._x <= 35) {
Ship._x = 36;
} else if (Ship._x >= 545) {
Ship._x = 544;
}
if (Key.isDown(32)) {
if ((shot == false) && (bulletCount <= BulletsAllowed)) {
laser.stop("laser");
laser.start();
i++;
_root.attachMovie(BulletType, "Bullet" + i, _root.getNextHighestDepth());
_root["Bullet" + i]._x = Ship._x + 3;
_root["Bullet" + i]._y = Ship._y;
shot = true;
bulletCount = bulletCount + 1;
shotsFired = shotsFired + 1;
}
}
if (!Key.isDown(32)) {
shot = false;
}
CurrentScore.text = "Score: " + score;
CurrentLives.text = "" + lives;
if (lives <= 0) {
gotoAndPlay ("GameOver");
}
};
stop();
Instance of Symbol 382 MovieClip "Ship" in Frame 26
onClipEvent (load) {
function reset() {
this._x = 100;
this._y = 200;
explosion1.removeMovieClip();
this.attachMovie("Recovery", "Recovery1", 5);
}
reset();
}
onClipEvent (enterFrame) {
i = 0;
while (i < _root.nrEnemies) {
if (this.hitTest(_root["Enemy" + i])) {
if (_root.invincible == false) {
this.attachMovie("ShipExp", "explosion1", 5);
_root.invincible = true;
_root.lives = _root.lives - 1;
_root.crash.start();
if (_root.lives <= 0) {
_root.gotoAndPlay("GameOver");
}
_root.enemiesKilled = _root.enemiesKilled + 1;
_root.levelKills = _root.levelKills + 1;
k = 0;
while (k < _root.nrEnemies) {
_root["Enemy" + k].reset();
k++;
}
}
}
i++;
}
}
Instance of Symbol 194 MovieClip "Enemy0" in Frame 26
onClipEvent (load) {
function reset() {
if (_root.EnemyInst == false) {
_root.invincible = true;
this.attachMovie("Boss3Defeat", "Boss3Defeat3", 5);
_root.ShootingAble = false;
_root.musac2.stop("musac2");
} else {
this.life = 1750;
var _local4 = 6;
var _local3 = 108;
this._y = (Math.random() * 265) + 65;
this._x = 600;
_root.EnemyInst = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - 4;
if (this._x < 460) {
this._x = 461;
}
if (this._y < 165) {
this._y = 166;
}
if (this._y > 275) {
this._y = 276;
}
if (timer >= 12) {
var dir = Math.ceil(Math.random() * 2);
var attack = Math.ceil(Math.random() * 8);
timer = 0;
}
if ((timer2 >= 69) && (_root.ShootingAble == true)) {
if ((timer2 % 2) != 0) {
_root.attachMovie("enemyBullet4", "enemyBullet3" + _root.BulletNo, _root.getNextHighestDepth());
_root["enemyBullet3" + _root.BulletNo]._x = this._x - 35;
_root["enemyBullet3" + _root.BulletNo]._y = this._y + 90;
_root.enemyFire.start();
} else {
_root.attachMovie("enemyBullet4", "enemyBullet4" + _root.BulletNo, _root.getNextHighestDepth());
_root["enemyBullet4" + _root.BulletNo]._x = this._x - 35;
_root["enemyBullet4" + _root.BulletNo]._y = this._y - 90;
}
_root.BulletNo = _root.BulletNo + 1;
if (timer2 >= 250) {
timer2 = 0;
}
}
if (((timer2 <= 45) && (timer2 >= 24)) && (_root.ShootingAble == true)) {
_root.attachMovie("enemyBullet2", "enemyBullet2" + _root.BulletNo, _root.getNextHighestDepth());
_root.attachMovie("enemyBullet2", "enemyBullet1" + _root.BulletNo, _root.getNextHighestDepth());
_root["enemyBullet2" + _root.BulletNo]._x = this._x - 75;
_root["enemyBullet2" + _root.BulletNo]._y = this._y - 15;
_root["enemyBullet1" + _root.BulletNo]._x = this._x - 75;
_root["enemyBullet1" + _root.BulletNo]._y = this._y + 15;
_root.enemyFire.start();
_root.BulletNo = _root.BulletNo + 1;
}
if (dir == 1) {
this._y = this._y - 5;
} else if (dir == 2) {
this._y = this._y + 5;
}
timer++;
timer2++;
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
if (this.life < EneLife) {
_root.score = _root.score + 5;
}
var EneLife = this.life;
}
Frame 27
musac.stop();
musac2.stop();
ambient.start(0, 99);
fader._alpha = 0;
fader.SceneDesc._visible = false;
fader.SceneTitle._visible = false;
var CurrentLevel = "lvlTenIntro";
stop();
Frame 28
musac2.start(0, 9999999);
var ShootingAllowed = true;
levelKills = 0;
var EnemyInst = true;
var ShootingAble = true;
invincible = true;
Ship.attachMovie("Recovery", "Recovery1", 5);
BulletNo = 1;
enemyShot = 0;
enemyShotMax = 6;
var nrEnemies = 3;
i = 1;
while (i < nrEnemies) {
_root.Enemy.duplicateMovieClip("Enemy" + i, _root.getNextHighestDepth());
i++;
}
var i = 0;
this.onEnterFrame = function () {
if (Key.isDown(39)) {
if (Key.isDown(38)) {
Ship._x = Ship._x + shipSpeed;
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._x = Ship._x + shipSpeed;
Ship._y = Ship._y + shipSpeed;
} else {
Ship._x = Ship._x + shipSpeed;
}
} else if (Key.isDown(37)) {
if (Key.isDown(38)) {
Ship._x = Ship._x - shipSpeed;
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._x = Ship._x - shipSpeed;
Ship._y = Ship._y + shipSpeed;
} else {
Ship._x = Ship._x - shipSpeed;
}
} else if (Key.isDown(38)) {
Ship._y = Ship._y - shipSpeed;
} else if (Key.isDown(40)) {
Ship._y = Ship._y + shipSpeed;
}
if (Ship._y >= 385) {
Ship._y = 384;
} else if (Ship._y <= 65) {
Ship._y = 66;
}
if (Ship._x <= 35) {
Ship._x = 36;
} else if (Ship._x >= 545) {
Ship._x = 544;
}
if (Key.isDown(32) && (ShootingAllowed == true)) {
laser.stop("laser");
laser.start();
i++;
_root.attachMovie(BulletType, "Bullet" + i, _root.getNextHighestDepth());
_root["Bullet" + i]._x = Ship._x + 3;
_root["Bullet" + i]._y = Ship._y;
shot = true;
bulletCount = bulletCount + 1;
shotsFired = shotsFired + 1;
i = i + 1;
}
};
CurrentScore.text = "Score: " + score;
CurrentLives.text = "" + lives;
invincible = true;
if (lives <= 0) {
gotoAndPlay ("GameOver");
}
stop();
Instance of Symbol 382 MovieClip "Ship" in Frame 28
onClipEvent (load) {
function reset() {
this._x = 100;
this._y = 200;
explosion1.removeMovieClip();
this.attachMovie("Recovery", "Recovery1", 5);
}
reset();
}
Instance of Symbol 288 MovieClip "Enemy0" in Frame 28
onClipEvent (load) {
function reset() {
if (_root.EnemyInst == false) {
this.planet.attachMovie("PlanetXDefeat", "XDefeat", 5);
_root.ShootingAble = false;
_root.invincible = true;
_root.musac2.stop("musac2");
_root.ShootingAllowed = false;
} else {
this.life = 1350;
this._y = 245;
this._x = 600;
_root.EnemyInst = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x - 4;
if (this._x < 460) {
this._x = 461;
}
if (this._y < 165) {
this._y = 166;
}
if (this._y > 275) {
this._y = 276;
}
if (this._y >= 385) {
this._y = 384;
} else if (this._y <= 65) {
this._y = 66;
}
if (this.life < EneLife) {
_root.score = _root.score + 5;
}
var EneLife = this.life;
}
Frame 29
musac.stop();
musac2.stop();
ambient.start(0, 99);
stop();
Frame 30
delete onEnterFrame;
delete ship;
FinalFired.text = shotsFired;
FinalHit.text = shotsHit;
if (shotsFired == 0) {
FinalHitPerc.text = "0%";
} else {
FinalHitPerc.text = Math.round((shotsHit / shotsFired) * 100) + "%";
}
FinalEncountered.text = enemiesKilled + enemiesEscaped;
FinalDestroyed.text = enemiesKilled;
FinalEscaped.text = enemiesEscaped;
FinalKill.text = Math.round((enemiesKilled / (enemiesEscaped + enemiesKilled)) * 100) + "%";
FinalScore.text = score;
stop();
Frame 31
UpgradeDescribe.text = "";
error = new Sound(this);
error.attachSound("Error");
Upgraded = new Sound(this);
Upgraded.attachSound("Upgrade");
currentScore.text = score;
stop();
Instance of Symbol 382 MovieClip in Frame 31
on (rollOver) {
_root.UpgradeDescribe.text = "Buy another backup ship, lives + 1. Cost: 350 pts";
}
on (rollOut) {
_root.UpgradeDescribe.text = "";
}
on (release) {
if (_root.score >= 350) {
_root.score = _root.score - 350;
_root.currentScore.text = _root.score;
_root.lives = _root.lives + 1;
_root.Upgraded.start();
_root.UpgradeDescribe.text = "Extra Ship (Life) Purchased";
} else {
_root.error.start();
_root.UpgradeDescribe.text = "Insufficient Funds";
}
}
Instance of Symbol 91 MovieClip in Frame 31
on (rollOver) {
_root.UpgradeDescribe.text = "Upgrade your engines to make your ship move faster. Cost: 600 pts.";
}
on (rollOut) {
_root.UpgradeDescribe.text = "";
}
on (release) {
if (_root.shipSpeed < 12) {
if (_root.score >= 600) {
_root.Upgraded.start();
_root.score = _root.score - 600;
_root.currentScore.text = _root.score;
_root.shipSpeed = _root.shipSpeed + 1;
_root.UpgradeDescribe.text = "Engines Upgraded";
} else {
_root.error.start();
_root.UpgradeDescribe.text = "Insufficient Funds";
}
} else {
_root.error.start();
_root.UpgradeDescribe.text = "Engine Speed at Maximum Capacty";
}
}
Instance of Symbol 551 MovieClip in Frame 31
on (rollOver) {
_root.UpgradeDescribe.text = "Upgrade your bullets to do more damage. Cost: 850 pts.";
}
on (rollOut) {
_root.UpgradeDescribe.text = "";
}
on (release) {
if (_root.BulletType != "Bullet6") {
if (_root.score >= 850) {
if (_root.BulletType == "Bullet") {
_root.Upgraded.start();
_root.score = _root.score - 850;
_root.BulletType = "Bullet2";
_root.UpgradeDescribe.text = "Weapons Upgraded";
} else if (_root.BulletType == "Bullet2") {
_root.Upgraded.start();
_root.score = _root.score - 850;
_root.BulletType = "Bullet3";
_root.UpgradeDescribe.text = "Weapons Upgraded";
} else if (_root.BulletType == "Bullet3") {
_root.Upgraded.start();
_root.score = _root.score - 850;
_root.BulletType = "Bullet4";
_root.UpgradeDescribe.text = "Weapons Upgraded";
} else if (_root.BulletType == "Bullet4") {
_root.Upgraded.start();
_root.score = _root.score - 850;
_root.BulletType = "Bullet5";
_root.UpgradeDescribe.text = "Weapons Upgraded";
} else if (_root.BulletType == "Bullet5") {
_root.Upgraded.start();
_root.score = _root.score - 850;
_root.BulletType = "Bullet6";
_root.UpgradeDescribe.text = "Weapons Upgraded";
}
_root.currentScore.text = _root.score;
} else {
_root.error.start();
_root.UpgradeDescribe.text = "Insufficient Funds";
}
} else {
_root.error.start();
_root.UpgradeDescribe.text = "Weapons at Maximum Damage";
}
}
Instance of Symbol 556 MovieClip in Frame 31
on (rollOver) {
_root.UpgradeDescribe.text = "Upgrade your Rate of fire by 1. Cost: 750 pts.";
}
on (rollOut) {
_root.UpgradeDescribe.text = "";
}
on (release) {
if (_root.BulletsAllowed < 7) {
if (_root.score >= 750) {
_root.Upgraded.start();
_root.score = _root.score - 750;
_root.currentScore.text = _root.score;
_root.BulletsAllowed = _root.BulletsAllowed + 1;
_root.UpgradeDescribe.text = "Rate of Fire Upgraded";
} else {
_root.error.start();
_root.UpgradeDescribe.text = "Insufficient Funds";
}
} else {
_root.error.start();
_root.UpgradeDescribe.text = "Rate of Fire at Maximum Capacty";
}
}
Symbol 559 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 560 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 561 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 562 MovieClip [__Packages.mx.transitions.easing.None] Frame 0
class mx.transitions.easing.None
{
function None () {
}
static function easeNone(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeIn(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeInOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static var version = "1.1.0.52";
}
Symbol 29 MovieClip [Bullet] Frame 1
this.onEnterFrame = function () {
this._x = this._x + 9;
if (this._x >= 550) {
_root.bulletCount = _root.bulletCount - 1;
this.removeMovieClip();
}
i = 0;
while (i < _root.nrEnemies) {
if (this.hitTest(_root["Enemy" + i])) {
_root.bulletCount = _root.bulletCount - 1;
_root.shotsHit = _root.shotsHit + 1;
_root["Enemy" + i].life = _root["Enemy" + i].life - 5;
_root.hit.start();
if (_root["Enemy" + i].life <= 0) {
_root.hit.stop("hit");
_root.explosion.stop("explosion");
_root.explosion.start();
_root.score = _root.score + 20;
_root.levelKills = _root.levelKills + 1;
_root.enemiesKilled = _root.enemiesKilled + 1;
_root["Enemy" + i].reset();
}
this.removeMovieClip();
}
i++;
}
};
Symbol 31 MovieClip [Bullet2] Frame 1
this.onEnterFrame = function () {
this._x = this._x + 9;
if (this._x >= 550) {
_root.bulletCount = _root.bulletCount - 1;
this.removeMovieClip();
}
i = 0;
while (i < _root.nrEnemies) {
if (this.hitTest(_root["Enemy" + i])) {
_root.bulletCount = _root.bulletCount - 1;
_root.shotsHit = _root.shotsHit + 1;
_root["Enemy" + i].life = _root["Enemy" + i].life - 8;
_root.hit.start();
if (_root["Enemy" + i].life <= 0) {
_root.hit.stop("hit");
_root.explosion.stop("explosion");
_root.explosion.start();
_root.score = _root.score + 20;
_root.levelKills = _root.levelKills + 1;
_root.enemiesKilled = _root.enemiesKilled + 1;
_root["Enemy" + i].reset();
}
this.removeMovieClip();
}
i++;
}
};
Symbol 33 MovieClip [Bullet3] Frame 1
this.onEnterFrame = function () {
this._x = this._x + 9;
if (this._x >= 550) {
_root.bulletCount = _root.bulletCount - 1;
this.removeMovieClip();
}
i = 0;
while (i < _root.nrEnemies) {
if (this.hitTest(_root["Enemy" + i])) {
_root.bulletCount = _root.bulletCount - 1;
_root.shotsHit = _root.shotsHit + 1;
_root["Enemy" + i].life = _root["Enemy" + i].life - 11;
_root.hit.start();
if (_root["Enemy" + i].life <= 0) {
_root.hit.stop("hit");
_root.explosion.stop("explosion");
_root.explosion.start();
_root.score = _root.score + 20;
_root.levelKills = _root.levelKills + 1;
_root.enemiesKilled = _root.enemiesKilled + 1;
_root["Enemy" + i].reset();
}
this.removeMovieClip();
}
i++;
}
};
Symbol 35 MovieClip [Bullet4] Frame 1
this.onEnterFrame = function () {
this._x = this._x + 9;
if (this._x >= 550) {
_root.bulletCount = _root.bulletCount - 1;
this.removeMovieClip();
}
i = 0;
while (i < _root.nrEnemies) {
if (this.hitTest(_root["Enemy" + i])) {
_root.bulletCount = _root.bulletCount - 1;
_root.shotsHit = _root.shotsHit + 1;
_root["Enemy" + i].life = _root["Enemy" + i].life - 13;
_root.hit.start();
if (_root["Enemy" + i].life <= 0) {
_root.hit.stop("hit");
_root.explosion.stop("explosion");
_root.explosion.start();
_root.score = _root.score + 20;
_root.levelKills = _root.levelKills + 1;
_root.enemiesKilled = _root.enemiesKilled + 1;
_root["Enemy" + i].reset();
}
this.removeMovieClip();
}
i++;
}
};
Symbol 37 MovieClip [Bullet5] Frame 1
this.onEnterFrame = function () {
this._x = this._x + 9;
if (this._x >= 550) {
_root.bulletCount = _root.bulletCount - 1;
this.removeMovieClip();
}
i = 0;
while (i < _root.nrEnemies) {
if (this.hitTest(_root["Enemy" + i])) {
_root.bulletCount = _root.bulletCount - 1;
_root.shotsHit = _root.shotsHit + 1;
_root["Enemy" + i].life = _root["Enemy" + i].life - 15;
_root.hit.start();
if (_root["Enemy" + i].life <= 0) {
_root.hit.stop("hit");
_root.explosion.stop("explosion");
_root.explosion.start();
_root.score = _root.score + 20;
_root.levelKills = _root.levelKills + 1;
_root.enemiesKilled = _root.enemiesKilled + 1;
_root["Enemy" + i].reset();
}
this.removeMovieClip();
}
i++;
}
};
Symbol 41 MovieClip [Bullet6] Frame 1
this.onEnterFrame = function () {
this._x = this._x + 9;
if (this._x >= 550) {
_root.bulletCount = _root.bulletCount - 1;
this.removeMovieClip();
}
i = 0;
while (i < _root.nrEnemies) {
if (this.hitTest(_root["Enemy" + i])) {
_root.bulletCount = _root.bulletCount - 1;
_root.shotsHit = _root.shotsHit + 1;
_root["Enemy" + i].life = _root["Enemy" + i].life - 18;
_root.hit.start();
if (_root["Enemy" + i].life <= 0) {
_root.hit.stop("hit");
_root.explosion.stop("explosion");
_root.explosion.start();
_root.score = _root.score + 20;
_root.levelKills = _root.levelKills + 1;
_root.enemiesKilled = _root.enemiesKilled + 1;
_root["Enemy" + i].reset();
}
this.removeMovieClip();
}
i++;
}
};
Symbol 72 MovieClip Frame 1
var whereToGo = "";
stop();
Symbol 72 MovieClip Frame 20
SceneDesc._visible = false;
Symbol 72 MovieClip Frame 30
SceneDesc._visible = true;
Symbol 72 MovieClip Frame 50
SceneDesc._visible = false;
Symbol 72 MovieClip Frame 61
SceneDesc._visible = true;
Symbol 72 MovieClip Frame 80
SceneDesc._visible = false;
Symbol 72 MovieClip Frame 90
SceneDesc._visible = true;
Symbol 72 MovieClip Frame 110
_root.gotoAndPlay(whereToGo);
Symbol 175 MovieClip [Boss1Defeat] Frame 1
BossTick = new Sound(this);
BossTick.attachSound("BossTick");
BossTick.start();
bossBeat1 = new Sound(this);
bossBeat1.attachSound("BoosBeat1");
bossBeat2 = new Sound(this);
bossBeat2.attachSound("BossBeat2");
Symbol 175 MovieClip [Boss1Defeat] Frame 2
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 5
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 8
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 11
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 14
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 17
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 20
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 23
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 26
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 29
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 32
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 35
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 38
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 41
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 44
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 47
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 50
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 53
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 56
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 59
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 62
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 65
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 68
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 71
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 74
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 77
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 80
BossTick.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 88
bossBeat1.start();
explosion.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 106
explosion.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 110
boosBeat2.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 114
explosion.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 128
explosion.start();
Symbol 175 MovieClip [Boss1Defeat] Frame 145
_root.gotoAndPlay("lvlFiveIntro");
Symbol 192 MovieClip [Boss2Defeat] Frame 1
BossTick = new Sound(this);
BossTick.attachSound("BossTick");
BossTick.start();
bossBeat1 = new Sound(this);
bossBeat1.attachSound("BoosBeat1");
bossBeat2 = new Sound(this);
bossBeat2.attachSound("BossBeat2");
Symbol 192 MovieClip [Boss2Defeat] Frame 2
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 5
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 8
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 11
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 14
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 17
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 20
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 23
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 26
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 29
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 32
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 35
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 38
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 41
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 44
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 47
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 50
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 53
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 56
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 59
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 62
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 65
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 68
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 71
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 74
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 77
BossTick.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 92
bossBeat1.start();
explosion.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 110
explosion.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 114
boosBeat2.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 118
explosion.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 132
explosion.start();
Symbol 192 MovieClip [Boss2Defeat] Frame 149
_root.gotoAndPlay("lvlNineIntro");
Symbol 279 MovieClip [Boss3Defeat] Frame 1
BossTick = new Sound(this);
BossTick.attachSound("BossTick");
BossTick.start();
bossBeat1 = new Sound(this);
bossBeat1.attachSound("BoosBeat1");
bossBeat2 = new Sound(this);
bossBeat2.attachSound("BossBeat2");
Symbol 279 MovieClip [Boss3Defeat] Frame 2
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 5
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 8
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 11
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 14
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 17
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 20
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 23
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 26
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 29
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 32
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 35
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 38
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 41
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 44
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 47
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 50
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 53
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 56
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 59
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 62
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 65
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 68
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 71
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 74
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 77
BossTick.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 92
bossBeat1.start();
explosion.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 110
explosion.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 114
boosBeat2.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 118
explosion.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 132
explosion.start();
Symbol 279 MovieClip [Boss3Defeat] Frame 149
_root.gotoAndPlay("lvlTenIntro");
Symbol 290 MovieClip [enemyBullet] Frame 1
this.onEnterFrame = function () {
this._x = this._x - 9;
if (this._x <= 20) {
_root.enemyShot = _root.enemyShot - 1;
this.removeMovieClip();
}
if (this.hitTest(_root.Ship)) {
if (_root.invincible == false) {
_root.invincible = true;
_root.crash.start();
_root.Ship.attachMovie("ShipExp", "explosion1", 5);
_root.enemyShot = _root.enemyShot - 1;
_root.lives = _root.lives - 1;
this.removeMovieClip();
}
}
};
Symbol 292 MovieClip [enemyBullet2] Frame 1
this.onEnterFrame = function () {
this._x = this._x - 9;
if (this._x <= 20) {
_root.enemyShot = _root.enemyShot - 1;
this.removeMovieClip();
}
if (this.hitTest(_root.Ship)) {
if (_root.invincible == false) {
_root.invincible = true;
_root.crash.start();
_root.Ship.attachMovie("ShipExp", "explosion1", 5);
_root.enemyShot = _root.enemyShot - 1;
_root.lives = _root.lives - 1;
this.removeMovieClip();
}
}
};
Symbol 294 MovieClip [enemyBullet3] Frame 1
this.onEnterFrame = function () {
this._x = this._x - 9;
if (this._x <= 20) {
_root.enemyShot = _root.enemyShot - 1;
this.removeMovieClip();
}
if (this.hitTest(_root.Ship)) {
if (_root.invincible == false) {
_root.invincible = true;
_root.crash.start();
_root.Ship.attachMovie("ShipExp", "explosion1", 5);
_root.enemyShot = _root.enemyShot - 1;
_root.lives = _root.lives - 1;
this.removeMovieClip();
}
}
};
Symbol 295 MovieClip [enemyBullet4] Frame 1
this.onEnterFrame = function () {
this._x = this._x - 9;
if (this._x <= 20) {
_root.enemyShot = _root.enemyShot - 1;
this.removeMovieClip();
}
if (this.hitTest(_root.Ship)) {
if (_root.invincible == false) {
_root.invincible = true;
_root.crash.start();
_root.Ship.attachMovie("ShipExp", "explosion1", 5);
_root.enemyShot = _root.enemyShot - 1;
_root.lives = _root.lives - 1;
this.removeMovieClip();
}
}
};
Symbol 366 MovieClip [PlanetXDefeat] Frame 1
BossTick = new Sound(this);
BossTick.attachSound("BossTick");
BossTick.start();
bossBeat1 = new Sound(this);
bossBeat1.attachSound("BoosBeat1");
bossBeat2 = new Sound(this);
bossBeat2.attachSound("BossBeat2");
Symbol 366 MovieClip [PlanetXDefeat] Frame 2
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 5
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 8
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 11
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 14
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 17
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 20
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 23
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 26
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 29
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 32
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 35
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 38
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 41
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 44
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 47
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 50
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 53
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 56
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 59
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 62
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 65
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 68
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 88
BossTick.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 92
bossBeat1.start();
explosion.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 110
explosion.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 114
boosBeat2.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 118
explosion.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 132
explosion.start();
Symbol 366 MovieClip [PlanetXDefeat] Frame 149
_root.gotoAndPlay("Complete");
Symbol 373 MovieClip [Recovery] Frame 19
_root.invincible = false;
_root.Ship.Recovery1.removeMovieClip();
Symbol 379 MovieClip [ShipExp] Frame 13
_root.Ship.reset();
Symbol 402 MovieClip Frame 1
stop();
Symbol 412 Button
on (release) {
musac2.stop("musac2");
gotoAndPlay ("lvlOneIntro");
}
Symbol 419 Button
on (release) {
gotoAndPlay ("instruct");
}
Symbol 424 Button
on (release) {
gotoAndPlay ("main");
}
Symbol 435 MovieClip Frame 640
stop();
Symbol 437 Button
on (release) {
ambient.stop("ambient");
fadeMovieClip(0, 100);
fader.SceneDesc._visible = true;
fader.SceneTitle._visible = true;
fader.SceneTitle.text = "Prepare for Level One";
fader.SceneDesc.text = "Get Ready";
fader.whereToGo = "lvlOne";
fader.play();
}
Symbol 444 MovieClip Frame 640
stop();
Symbol 445 Button
on (release) {
ambient.stop("ambient");
fadeMovieClip(0, 100);
fader.SceneDesc._visible = true;
fader.SceneTitle._visible = true;
fader.SceneTitle.text = "Prepare for Level Two";
fader.SceneDesc.text = "Get Ready";
fader.whereToGo = "lvlTwo";
fader.play();
}
Symbol 452 Button
on (release) {
gotoAndPlay ("upgrade");
}
Symbol 454 MovieClip Frame 800
stop();
Symbol 455 Button
on (release) {
ambient.stop("ambient");
fadeMovieClip(0, 100);
fader.SceneDesc._visible = true;
fader.SceneTitle._visible = true;
fader.SceneTitle.text = "Prepare for Level Three";
fader.SceneDesc.text = "Get Ready";
fader.whereToGo = "lvlThree";
fader.play();
}
Symbol 461 Button
on (release) {
gotoAndPlay ("upgrade");
}
Symbol 463 MovieClip Frame 865
stop();
Symbol 464 Button
on (release) {
ambient.stop("ambient");
fadeMovieClip(0, 100);
fader.SceneDesc._visible = true;
fader.SceneTitle._visible = true;
fader.SceneTitle.text = "Prepare for Level Four";
fader.SceneDesc.text = "Get Ready";
fader.whereToGo = "lvlFour";
fader.play();
}
Symbol 468 Button
on (release) {
gotoAndPlay ("upgrade");
}
Symbol 470 MovieClip Frame 800
stop();
Symbol 471 Button
on (release) {
ambient.stop("ambient");
fadeMovieClip(0, 100);
fader.SceneDesc._visible = true;
fader.SceneTitle._visible = true;
fader.SceneTitle.text = "Prepare for Level Five";
fader.SceneDesc.text = "Get Ready";
fader.whereToGo = "lvlFive";
fader.play();
}
Symbol 476 Button
on (release) {
gotoAndPlay ("upgrade");
}
Symbol 478 MovieClip Frame 800
stop();
Symbol 479 Button
on (release) {
ambient.stop("ambient");
fadeMovieClip(0, 100);
fader.SceneDesc._visible = true;
fader.SceneTitle._visible = true;
fader.SceneTitle.text = "Prepare for Level Six";
fader.SceneDesc.text = "Get Ready";
fader.whereToGo = "lvlSix";
fader.play();
}
Symbol 484 Button
on (release) {
gotoAndPlay ("upgrade");
}
Symbol 485 Button
on (release) {
ambient.stop("ambient");
fadeMovieClip(0, 100);
fader.SceneDesc._visible = true;
fader.SceneTitle._visible = true;
fader.SceneTitle.text = "Prepare for Level Seven";
fader.SceneDesc.text = "Get Ready";
fader.whereToGo = "lvlSeven";
fader.play();
}
Symbol 487 MovieClip Frame 800
stop();
Symbol 492 Button
on (release) {
gotoAndPlay ("upgrade");
}
Symbol 493 Button
on (release) {
ambient.stop("ambient");
fadeMovieClip(0, 100);
fader.SceneDesc._visible = true;
fader.SceneTitle._visible = true;
fader.SceneTitle.text = "Prepare for Level Eight";
fader.SceneDesc.text = "Don't get to close... The depot has an invisble shield that can destroy you";
fader.whereToGo = "lvlEight";
fader.play();
}
Symbol 495 MovieClip Frame 800
stop();
Symbol 499 Button
on (release) {
gotoAndPlay ("upgrade");
}
Symbol 500 Button
on (release) {
ambient.stop("ambient");
fadeMovieClip(0, 100);
fader.SceneDesc._visible = true;
fader.SceneTitle._visible = true;
fader.SceneTitle.text = "Prepare for Level Nine";
fader.SceneDesc.text = "Get Ready";
fader.whereToGo = "lvlNine";
fader.play();
}
Symbol 502 MovieClip Frame 800
stop();
Symbol 506 Button
on (release) {
gotoAndPlay ("upgrade");
}
Symbol 507 Button
on (release) {
ambient.stop("ambient");
fadeMovieClip(0, 100);
fader.SceneDesc._visible = true;
fader.SceneTitle._visible = true;
fader.SceneTitle.text = "Prepare for the Final Level";
fader.SceneDesc.text = "Rapid Fire Enabled";
fader.whereToGo = "lvlTen";
fader.play();
}
Symbol 509 MovieClip Frame 800
stop();
Symbol 520 Button
on (release) {
ambient.stop("ambient");
gotoAndPlay ("main");
}
Symbol 541 Button
on (release) {
ambient.stop("ambient");
gotoAndPlay ("main");
}
Symbol 554 Button
on (release) {
_root.gotoAndPlay(_root.CurrentLevel);
}