Frame 1
stop();
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
Frame 5
stop();
if (speedmode != true) {
sbutton.enabled = false;
sbutton._visible = false;
}
Frame 6
totalhits = 0;
survivor = 0;
totalscore = 0;
if (difficulty == "normal") {
totalpods = 5;
} else if (difficulty == "hard") {
totalpods = 3;
} else {
totalpods = 0;
}
gameover = false;
bomb = false;
stop();
_root.rot = 0;
Instance of Symbol 109 MovieClip in Frame 6
onClipEvent (enterFrame) {
_root.planetx = _x;
_root.planety = _y;
}
Instance of Symbol 111 MovieClip "planetcoll" in Frame 6
onClipEvent (load) {
_x = _root.planetx;
_y = _root.planety;
}
Instance of Symbol 38 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (spawncount >= maxspawn) {
maxspawn = random(100) + 300;
_x = (random(300) + 100);
_y = (random(300) + 100);
if (!this.hitTest(_root.planetcoll)) {
this._visible = true;
dead = 0;
} else {
this._visible = false;
}
spawncount = 0;
}
if ((this.hitTest(_root.ball) && (dead != 1)) or (key.isdown(40) && (_root.BombKey == true))) {
_root.ball.play();
dead = 1;
this._visible = false;
}
spawncount++;
}
onClipEvent (load) {
dead = 1;
maxspawn = random(100) + 300;
spawncount = 0;
this._visible = false;
}
Instance of Symbol 58 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (spawncount >= maxspawn) {
maxspawn = random(100) + 400;
_x = (random(300) + 100);
_y = (random(300) + 100);
if (!this.hitTest(_root.planetcoll)) {
this._visible = true;
dead = 0;
} else {
this._visible = false;
}
spawncount = 0;
}
if ((this.hitTest(_root.ball) && (dead != 1)) or (key.isdown(38) && (_root.HealthKey == true))) {
if (_root.totalhits < 5) {
_root.totalhits = 0;
} else if (_root.totalhits == 0) {
} else {
_root.totalhits = _root.totalhits - 5;
}
_root.haze.play();
dead = 1;
this._visible = false;
}
spawncount++;
}
onClipEvent (load) {
dead = 1;
maxspawn = random(100) + 400;
spawncount = 0;
this._visible = false;
}
Instance of Symbol 45 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (spawncount >= maxspawn) {
maxspawn = random(100) + 200;
_x = (random(300) + 100);
_y = (random(300) + 100);
if (!this.hitTest(_root.planetcoll)) {
this._visible = true;
dead = 0;
} else {
this._visible = false;
}
spawncount = 0;
}
if (this.hitTest(_root.ball) && (dead != 1)) {
_root.boostcount = 80;
_root.math.play();
dead = 1;
this._visible = false;
}
spawncount++;
}
onClipEvent (load) {
if (_root.boost == true) {
this.unloadMovie();
}
dead = 1;
maxspawn = random(100) + 200;
spawncount = 0;
this._visible = false;
}
Instance of Symbol 41 MovieClip in Frame 6
onClipEvent (enterFrame) {
if ((_root.totalpods < 1) && (_root.difficulty != "easy")) {
_root.gameover = true;
_root.nextFrame();
}
if (_root.totalpods < 1) {
this._visible = false;
}
}
Instance of Symbol 41 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.totalpods < 2) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 41 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.totalpods < 3) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 41 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.totalpods < 4) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 41 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.totalpods < 5) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 113 MovieClip in Frame 6
onClipEvent (load) {
if (_root.difficulty == "easy") {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 115 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.totalhits <= 10) {
this._alpha = _root.totalhits * 10;
}
}
onClipEvent (enterFrame) {
_x = _root.planetx;
_y = _root.planety;
}
Instance of Symbol 120 MovieClip "missile" in Frame 6
onClipEvent (load) {
turn = random(360);
dead = 0;
spin = random(3);
}
onClipEvent (enterFrame) {
this._rotation = turn;
if (death != true) {
if (_root.difficulty == "normal") {
turn = turn + 3;
} else if (_root.difficulty == "hard") {
turn = turn + spin;
}
}
if (this.hitTest(_root.planetcoll) && (dead != 1)) {
gotoAndPlay (12);
_root._root.exp.play();
_root.hitrot = this._rotation;
_root.totalhits++;
}
if (this.hitTest(_root.ball) && (dead != 1)) {
play();
_root.hitrot = this._rotation;
dead = 1;
}
if (_root.gameover == true) {
this.unloadMovie();
}
}
Instance of Symbol 122 MovieClip "exp" in Frame 6
onClipEvent (enterFrame) {
_x = _root.planetx;
_y = _root.planety;
this._rotation = _root.hitrot;
}
Instance of Symbol 128 MovieClip "math" in Frame 6
onClipEvent (load) {
nummissiles = 0;
missiletime = 24;
count = 0;
unloadcount = 0;
unloadnum = 0;
}
onClipEvent (enterFrame) {
if (count >= missiletime) {
_root.missile.duplicateMovieClip("missile" + nummissiles, nummissiles);
nummissiles++;
count = 0;
if (missiletime > 12) {
missiletime = missiletime - 0.5;
}
}
if (unloadcount >= 24) {
unloadnum++;
("missile" + unloadnum).unloadMovie;
unloadcount = 0;
}
if (_root.totalhits > 9) {
_root.gameover = true;
_root.nextFrame();
}
count++;
unloadcount++;
if (_root.boost == true) {
_root.boostcount = 5;
}
}
Instance of Symbol 134 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.boostcount < 1) {
this._visible = false;
} else {
this._visible = true;
}
_x = _root.planetx;
_y = _root.planety;
if (key.isdown(39) && (!key.isdown(37))) {
this._rotation = _root.rot - 5;
} else if (key.isdown(37) && (!key.isdown(39))) {
this._rotation = _root.rot + 5;
} else {
this._rotation = _root.rot;
}
}
Instance of Symbol 134 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.boostcount < 1) {
this._visible = false;
} else {
this._visible = true;
}
_x = _root.planetx;
_y = _root.planety;
if (key.isdown(39) && (!key.isdown(37))) {
this._rotation = _root.rot - 10;
} else if (key.isdown(37) && (!key.isdown(39))) {
this._rotation = _root.rot + 10;
} else {
this._rotation = _root.rot;
}
}
Instance of Symbol 134 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.boostcount < 1) {
this._visible = false;
} else {
this._visible = true;
}
_x = _root.planetx;
_y = _root.planety;
if (key.isdown(39) && (!key.isdown(37))) {
this._rotation = _root.rot - 15;
} else if (key.isdown(37) && (!key.isdown(39))) {
this._rotation = _root.rot + 15;
} else {
this._rotation = _root.rot;
}
}
Instance of Symbol 134 MovieClip "ball" in Frame 6
onClipEvent (enterFrame) {
if (((((((key.isdown(39) || (key.isdown(37))) || (key.isdown(38))) || (key.isdown(40))) && (!(key.isdown(39) && (key.isdown(37))))) && (!(key.isdown(38) && (key.isdown(40))))) && (_root.nowalk != true)) && (_root.jumping != true)) {
speed = 10;
if (_root.boostcount > 0) {
speed = 20;
_root.boostcount--;
}
_root.counter = 0;
} else {
speed = 0;
}
if (key.isdown(39) && (speed > 0)) {
_root.rot = _root.rot + speed;
this._rotation = _root.rot;
}
if (key.isdown(37) && (speed > 0)) {
_root.rot = _root.rot - speed;
this._rotation = _root.rot;
}
_x = _root.planetx;
_y = _root.planety;
}
Instance of Symbol 137 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (newpod != 1) {
this._rotation = random(360);
newpod = 1;
}
}
Instance of Symbol 43 MovieClip in Frame 6
onClipEvent (enterFrame) {
if ((spawncount >= maxspawn) && (_root.totalpods < 5)) {
maxspawn = random(100) + 300;
_x = (random(300) + 100);
_y = (random(300) + 100);
if (!this.hitTest(_root.planetcoll)) {
this._visible = true;
dead = 0;
} else {
this._visible = false;
}
spawncount = 0;
}
if (this.hitTest(_root.ball) && (dead != 1)) {
_root.totalpods++;
_root.math.play();
dead = 1;
this._visible = false;
}
spawncount++;
}
onClipEvent (load) {
if (_root.difficulty == "easy") {
this.unloadMovie();
}
dead = 1;
maxspawn = random(100) + 300;
spawncount = 0;
this._visible = false;
}
Frame 7
stop();
boost = false;
txt1._visible = false;
txt2._visible = false;
txt3._visible = false;
if (((totalscore >= 50000) && (difficulty == "easy")) && (SpeedMode != true)) {
SpeedMode = true;
txt1._visible = true;
}
if (((totalscore >= 50000) && (difficulty == "normal")) && (BombKey != true)) {
BombKey = true;
txt2._visible = true;
}
if (((totalscore >= 50000) && (difficulty == "hard")) && (HealthKey != true)) {
HealthKey = true;
txt3._visible = true;
}
Symbol 10 Button
on (release) {
_root.nextFrame();
}
Symbol 11 MovieClip Frame 1
stop();
Instance of Symbol 2 MovieClip in Symbol 11 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if ((_root.getBytesLoaded() / _root.getBytesTotal()) == 1) {
_root.loady.play();
}
}
Symbol 11 MovieClip Frame 2
stop();
Symbol 17 Button
on (release) {
gotoAndStop (5);
}
Symbol 22 Button
on (release) {
gotoAndStop (4);
}
Symbol 28 Button
on (release) {
nextFrame();
}
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 14
stop();
_root._root.totalpods--;
Symbol 72 Button
on (release) {
prevFrame();
}
Symbol 75 Button
on (release) {
gotoAndStop (2);
}
Symbol 82 Button
on (release) {
nextFrame();
difficulty = "easy";
}
Symbol 88 Button
on (release) {
nextFrame();
difficulty = "normal";
}
Symbol 94 Button
on (release) {
nextFrame();
difficulty = "hard";
}
Symbol 101 Button
on (release) {
nextFrame();
difficulty = "normal";
boost = true;
}
Symbol 120 MovieClip Frame 1
stop();
Instance of Symbol 60 MovieClip in Symbol 120 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root._root.difficulty == "easy") {
_y = (_y - 10);
} else if (_root._root.difficulty == "normal") {
_y = (_y - 12);
} else if (_root._root.boost == true) {
_y = (_y - 20);
} else {
_y = (_y - 15);
}
}
Symbol 120 MovieClip Frame 2
_root.totalscore = _root.totalscore + 100;
Instance of Symbol 119 MovieClip in Symbol 120 MovieClip Frame 2
onClipEvent (enterFrame) {
_y = (((-_root.hity) * 3) + 100);
}
Symbol 120 MovieClip Frame 7
stop();
Symbol 122 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 2
_root.bomb = true;
Symbol 132 MovieClip Frame 13
_root.bomb = false;
Symbol 134 MovieClip Frame 1
stop();
Instance of Symbol 130 MovieClip in Symbol 134 MovieClip Frame 1
onClipEvent (enterFrame) {
if (key.isdown(32) && (off != true)) {
jump = 15;
off = true;
}
_y = (_y - jump);
if ((jump > -15) && (off == true)) {
jump--;
} else {
jump = 0;
off = false;
}
if (key.isdown(39) && (off != true)) {
this._rotation = _root.rot * 2;
}
if (key.isdown(37) && (off != true)) {
this._rotation = _root.rot * 2;
}
_root.hity = _y;
}
Instance of Symbol 132 MovieClip in Symbol 134 MovieClip Frame 2
onClipEvent (enterFrame) {
_y = _root.hity;
}
Instance of Symbol 56 MovieClip in Symbol 137 MovieClip Frame 22
onClipEvent (enterFrame) {
if ((this.hitTest(_root._root.ball) && (_root._root.bomb != true)) && (_root.dead != true)) {
play();
_root.dead = true;
}
}
Instance of Symbol 56 MovieClip in Symbol 137 MovieClip Frame 60
onClipEvent (enterFrame) {
if ((this.hitTest(_root._root.ball) && (_root._root.bomb != true)) && (_root.dead != true)) {
play();
_root.dead = true;
}
}
Symbol 137 MovieClip Frame 61
newpod = 0;
if (_root.dead != true) {
_root.survivor++;
_root.totalscore = _root.totalscore + 1000;
}
_root.dead = false;
Symbol 145 MovieClip Frame 1
stop();
Symbol 154 Button
on (release) {
stopAllSounds();
gotoAndPlay (2);
}