Frame 1
stop();
Instance of Symbol 3 MovieClip "bar" in Frame 1
onClipEvent (enterFrame) {
b_loaded = _root.getBytesLoaded();
b_total = _root.getBytesTotal();
percent = (b_loaded / b_total) * 100;
this._xscale = percent;
_root.display = Math.round(percent) + "%";
if (percent >= 100) {
_root.play();
}
}
Frame 2
fscommand ("allowscale", "false");
stop();
Frame 3
level = 0;
petrol = 500;
_root.ship.percentage = 100;
shields = 100;
_root.ship._x = 425;
_root.ship._y = 325;
stop();
Instance of Symbol 110 MovieClip "ship" in Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
dx = dx - 0.1;
rot = rot - 3;
_root.ship.FireRight.gotoAndPlay("FireOn");
}
if (Key.isDown(39)) {
dx = dx + 0.1;
rot = rot + 3;
_root.ship.FireLeft.gotoAndPlay("FireOn");
}
if (Key.isDown(38)) {
dy = dy - 0.3;
_root.ship.FireBottom.gotoAndPlay("FireOn");
}
if (_root.transporter.hitTest(_x, _y + 22, 1)) {
if (dy > 1.8) {
this.play();
} else if (Math.abs(dx) > 0.9) {
play();
} else {
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 0;
_root.nextFrame();
}
} else if (_root.enemy.hitTest(_x - 18, _y, 1)) {
this.play();
} else if (_root.enemy.hitTest(_x + 18, _y, 1)) {
this.play();
} else if (_root.enemy.hitTest(_x, _y - 22, 1)) {
this.play();
} else if (_root.enemy.hitTest(_x, _y + 24, 1)) {
this.play();
} else if (_root.ground.hitTest(_x, _y + 22, 1)) {
if (dy > 2) {
this.play();
} else if (Math.abs(dx) > 1.3) {
this.play();
} else {
if (((dy >= 0.4) && (dy <= 1.9)) || ((dx >= 0.1) && (dx <= 1.2))) {
_root.shields = _root.shields - 4;
trace("shield bottom");
}
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 0;
}
} else if (_root.ground.hitTest(_x, _y - 24, 1)) {
if (dy > 1.1) {
this.play();
} else if (Math.abs(dx) > 1.7) {
this.play();
} else {
if (((dy >= 0.1) && (dy <= 1)) || ((dx >= 0.1) && (dx <= 1.6))) {
_root.shields = _root.shields - 4;
trace("shield top");
}
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 1.25;
dx = 0;
}
} else if (_root.ground.hitTest(_x + 16, _y, 1)) {
if (dy > 2.8) {
this.play();
} else if (Math.abs(dx) > 2.8) {
this.play();
} else {
if (((dy >= 0.1) && (dy <= 2.7)) || ((dx >= 0.1) && (dx <= 2.7))) {
_root.shields = _root.shields - 4;
trace("shield right");
}
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = -1.25;
}
} else if (_root.ground.hitTest(_x - 16, _y, 1)) {
if (dy > 2.8) {
this.play();
} else if (Math.abs(dx) > 2.8) {
this.play();
} else {
if (((dy >= 0.1) && (dy <= 2.7)) || ((dx >= 0.1) && (dx <= 2.7))) {
_root.shields = _root.shields - 4;
trace("shield left");
}
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 1.25;
}
} else {
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = dy + 0.07;
_rotation = (5 * dx);
}
}
Frame 4
level = 1;
_root.ship.spaceship.gotoAndStop(1);
petrol = 500;
crashcount = 0;
_root.ship.percentage = 100;
shields = 100;
_root.ship._x = 93;
_root.ship._y = 106;
lowpower = false;
tryagain = false;
levelcomp = 0;
stop();
Instance of Symbol 132 MovieClip "lowpow" in Frame 4
onClipEvent (enterFrame) {
if (_root.lowpower == true) {
trace("low power");
play();
} else {
trace("enough power");
gotoAndStop (2);
}
}
Instance of Symbol 143 MovieClip "fueldial" in Frame 4
onClipEvent (enterFrame) {
if (_root.ship.percentage < 100) {
this.n100.gotoAndStop("off");
}
if (_root.ship.percentage < 95) {
this.n95.gotoAndStop("off");
}
if (_root.ship.percentage < 90) {
this.n90.gotoAndStop("off");
}
if (_root.ship.percentage < 85) {
this.n85.gotoAndStop("off");
}
if (_root.ship.percentage < 80) {
this.n80.gotoAndStop("off");
}
if (_root.ship.percentage < 75) {
this.n75.gotoAndStop("off");
}
if (_root.ship.percentage < 70) {
this.n70.gotoAndStop("off");
}
if (_root.ship.percentage < 65) {
this.n65.gotoAndStop("off");
}
if (_root.ship.percentage < 60) {
this.n60.gotoAndStop("off");
}
if (_root.ship.percentage < 55) {
this.n55.gotoAndStop("off");
}
if (_root.ship.percentage < 50) {
this.n50.gotoAndStop("off");
}
if (_root.ship.percentage < 45) {
this.n45.gotoAndStop("off");
}
if (_root.ship.percentage < 40) {
this.n40.gotoAndStop("off");
}
if (_root.ship.percentage < 35) {
this.n35.gotoAndStop("off");
}
if (_root.ship.percentage < 30) {
this.n30.gotoAndStop("off");
}
if (_root.ship.percentage < 25) {
this.n25.gotoAndStop("off");
}
if (_root.ship.percentage < 20) {
this.n20.gotoAndStop("off");
}
if (_root.ship.percentage < 15) {
this.n15.gotoAndStop("off");
}
if (_root.ship.percentage < 10) {
this.n10.gotoAndStop("off");
}
if (_root.ship.percentage < 5) {
this.n5.gotoAndStop("off");
_root.lowpower = true;
}
if (_root.ship.percentage >= 100) {
this.n100.gotoAndStop("on");
}
if (_root.ship.percentage > 95) {
this.n95.gotoAndStop("on");
this.n90.gotoAndStop("on");
this.n85.gotoAndStop("on");
this.n80.gotoAndStop("on");
this.n75.gotoAndStop("on");
this.n70.gotoAndStop("on");
this.n65.gotoAndStop("on");
this.n60.gotoAndStop("on");
this.n55.gotoAndStop("on");
this.n50.gotoAndStop("on");
this.n45.gotoAndStop("on");
this.n40.gotoAndStop("on");
this.n35.gotoAndStop("on");
this.n30.gotoAndStop("on");
this.n25.gotoAndStop("on");
this.n20.gotoAndStop("on");
this.n15.gotoAndStop("on");
this.n10.gotoAndStop("on");
this.n5.gotoAndStop("on");
_root.lowpower = false;
}
}
Instance of Symbol 146 MovieClip "shielddial" in Frame 4
onClipEvent (enterFrame) {
if (_root.shields < 100) {
this.n100.gotoAndStop("off");
}
if (_root.shields < 95) {
this.n95.gotoAndStop("off");
}
if (_root.shields < 90) {
this.n90.gotoAndStop("off");
}
if (_root.shields < 85) {
this.n85.gotoAndStop("off");
}
if (_root.shields < 80) {
this.n80.gotoAndStop("off");
}
if (_root.shields < 75) {
this.n75.gotoAndStop("off");
}
if (_root.shields < 70) {
this.n70.gotoAndStop("off");
}
if (_root.shields < 65) {
this.n65.gotoAndStop("off");
}
if (_root.shields < 60) {
this.n60.gotoAndStop("off");
}
if (_root.shields < 55) {
this.n55.gotoAndStop("off");
}
if (_root.shields < 50) {
this.n50.gotoAndStop("off");
}
if (_root.shields < 45) {
this.n45.gotoAndStop("off");
}
if (_root.shields < 40) {
this.n40.gotoAndStop("off");
}
if (_root.shields < 35) {
this.n35.gotoAndStop("off");
}
if (_root.shields < 30) {
this.n30.gotoAndStop("off");
}
if (_root.shields < 25) {
this.n25.gotoAndStop("off");
}
if (_root.shields < 20) {
this.n20.gotoAndStop("off");
}
if (_root.shields < 15) {
this.n15.gotoAndStop("off");
}
if (_root.shields < 10) {
this.n10.gotoAndStop("off");
}
if (_root.shields < 5) {
this.n5.gotoAndStop("off");
_root.lowpower = true;
}
if (_root.shields <= 0) {
trace("shield empty");
_root.ship.Play();
}
if (_root.shields >= 100) {
this.n100.gotoAndStop("on");
}
if (_root.shields > 95) {
this.n95.gotoAndStop("on");
this.n90.gotoAndStop("on");
this.n85.gotoAndStop("on");
this.n80.gotoAndStop("on");
this.n75.gotoAndStop("on");
this.n70.gotoAndStop("on");
this.n65.gotoAndStop("on");
this.n60.gotoAndStop("on");
this.n55.gotoAndStop("on");
this.n50.gotoAndStop("on");
this.n45.gotoAndStop("on");
this.n40.gotoAndStop("on");
this.n35.gotoAndStop("on");
this.n30.gotoAndStop("on");
this.n25.gotoAndStop("on");
this.n20.gotoAndStop("on");
this.n15.gotoAndStop("on");
this.n10.gotoAndStop("on");
this.n5.gotoAndStop("on");
_root.lowpower = false;
}
}
Instance of Symbol 163 MovieClip "ship" in Frame 4
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.petrol > 0) {
dx = dx - 0.1;
rot = rot - 3;
_root.ship.FireRight.gotoAndPlay("FireOn");
_root.petrol = _root.petrol - 0.5;
dim = _root.petrol / 500;
percentage = 100 * dim;
}
}
if (Key.isDown(39)) {
if (_root.petrol > 0) {
dx = dx + 0.1;
rot = rot + 3;
_root.ship.FireLeft.gotoAndPlay("FireOn");
_root.petrol = _root.petrol - 0.5;
dim = _root.petrol / 500;
percentage = 100 * dim;
}
}
if (Key.isDown(38)) {
if (_root.petrol > 0) {
dy = dy - 0.3;
_root.ship.FireBottom.gotoAndPlay("FireOn");
_root.petrol = _root.petrol - 1;
dim = _root.petrol / 500;
percentage = 100 * dim;
}
}
if (_root.transporter.hitTest(_x, _y + 22, 1)) {
if (dy > 1.8) {
this.play();
} else if (Math.abs(dx) > 0.9) {
play();
} else {
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 0;
_root.transporter.play();
if (_root.petrol <= 0) {
_root.blank.play();
}
}
} else if (_root.enemy.hitTest(_x - 18, _y, 1)) {
this.play();
} else if (_root.enemy.hitTest(_x + 18, _y, 1)) {
this.play();
} else if (_root.enemy.hitTest(_x, _y - 22, 1)) {
this.play();
} else if (_root.enemy.hitTest(_x, _y + 24, 1)) {
this.play();
} else if (_root.ground.hitTest(_x, _y + 22, 1)) {
if (dy > 2) {
this.play();
} else if (Math.abs(dx) > 1.3) {
this.play();
} else {
if (((dy >= 0.6) && (dy <= 1.9)) || ((dx >= 0.4) && (dx <= 1.2))) {
_root.shields = _root.shields - 4;
_root.bang.play();
trace("shield bottom");
}
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 0;
if (_root.petrol <= 0) {
_root.blank.play();
}
}
} else if (_root.ground.hitTest(_x, _y - 24, 1)) {
if (dy > 1.3) {
this.play();
} else if (Math.abs(dx) > 1.7) {
this.play();
} else {
if (((dy >= 0.1) && (dy <= 1.2)) || ((dx >= 0.1) && (dx <= 1.6))) {
_root.shields = _root.shields - 4;
_root.bang.play();
trace("shield top");
}
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 1.25;
dx = 0;
if (_root.petrol <= 0) {
_root.blank.play();
}
}
} else if (_root.ground.hitTest(_x + 16, _y, 1)) {
if (dy > 2.8) {
this.play();
} else if (Math.abs(dx) > 2.8) {
this.play();
} else {
if (((dy >= 0.1) && (dy <= 2.7)) || ((dx >= 0.1) && (dx <= 2.7))) {
_root.shields = _root.shields - 4;
_root.bang.play();
trace("shield right");
}
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = -1.25;
if (_root.petrol <= 0) {
_root.blank.play();
}
}
} else if (_root.ground.hitTest(_x - 16, _y, 1)) {
if (dy > 2.8) {
this.play();
} else if (Math.abs(dx) > 2.8) {
this.play();
} else {
if (((dy >= 0.1) && (dy <= 2.7)) || ((dx >= 0.1) && (dx <= 2.7))) {
_root.shields = _root.shields - 4;
_root.bang.play();
trace("shield left");
}
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 1.25;
if (_root.petrol <= 0) {
_root.blank.play();
}
}
} else {
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = dy + 0.07;
if (_root.ship._y > 400) {
play();
}
_rotation = (5 * dx);
}
}
Instance of Symbol 166 MovieClip "fuel1" in Frame 4
onClipEvent (enterFrame) {
_root.fuel1;
if (hitTest(_root.ship)) {
_root.petrol = 500;
_root.ship.percentage = 100;
this.play();
}
}
Instance of Symbol 168 MovieClip "shield1" in Frame 4
onClipEvent (enterFrame) {
_root.shield1;
if (hitTest(_root.ship)) {
_root.shields = 100;
this.play();
}
}
Instance of Symbol 171 MovieClip "key1" in Frame 4
onClipEvent (enterFrame) {
_root.key1;
if (hitTest(_root.ship)) {
_root.ground.gotoAndPlay("key1");
this.play();
}
}
Frame 5
if (levelcomp != 1) {
prevFrame();
} else {
play();
}
level = 2;
_root.ship.spaceship.gotoAndStop(1);
_root.ship._x = 391;
_root.ship._y = 365;
dy = 0.5;
dx = 0;
stop();
Instance of Symbol 166 MovieClip "fuel2" in Frame 5
onClipEvent (enterFrame) {
_root.fuel2;
if (hitTest(_root.ship)) {
_root.petrol = 500;
_root.ship.percentage = 100;
this.play();
}
}
Instance of Symbol 168 MovieClip "shield2" in Frame 5
onClipEvent (enterFrame) {
_root.shield2;
if (hitTest(_root.ship)) {
_root.shields = 100;
this.play();
}
}
Instance of Symbol 171 MovieClip "key2" in Frame 5
onClipEvent (enterFrame) {
_root.key2;
if (hitTest(_root.ship)) {
_root.ground.gotoAndPlay("key1");
this.play();
}
}
Instance of Symbol 171 MovieClip "key3" in Frame 5
onClipEvent (enterFrame) {
_root.key3;
if (hitTest(_root.ship)) {
_root.ground.gotoAndPlay("key2");
this.play();
}
}
Frame 6
if (levelcomp != 2) {
prevFrame();
} else {
play();
}
level = 3;
_root.ship.spaceship.gotoAndStop(1);
_root.ship._x = 59;
_root.ship._y = 365;
dy = 0.5;
dx = 0;
stop();
Instance of Symbol 166 MovieClip "fuel3" in Frame 6
onClipEvent (enterFrame) {
_root.fuel3;
if (hitTest(_root.ship)) {
_root.petrol = 500;
_root.ship.percentage = 100;
this.play();
}
}
Instance of Symbol 168 MovieClip "shield4" in Frame 6
onClipEvent (enterFrame) {
_root.shield4;
if (hitTest(_root.ship)) {
_root.shields = 100;
this.play();
}
}
Instance of Symbol 168 MovieClip "shield3" in Frame 6
onClipEvent (enterFrame) {
_root.shield3;
if (hitTest(_root.ship)) {
_root.shields = 100;
this.play();
}
}
Instance of Symbol 171 MovieClip "key4" in Frame 6
onClipEvent (enterFrame) {
_root.key4;
if (hitTest(_root.ship)) {
_root.ground.gotoAndPlay("key1");
this.play();
}
}
Frame 7
if (levelcomp != 3) {
prevFrame();
} else {
play();
}
level = 4;
_root.ship.spaceship.gotoAndStop(1);
_root.ship._x = 390;
_root.ship._y = 365;
dy = 0.5;
dx = 0;
stop();
Instance of Symbol 166 MovieClip "fuel4" in Frame 7
onClipEvent (enterFrame) {
_root.fuel4;
if (hitTest(_root.ship)) {
_root.petrol = 500;
_root.ship.percentage = 100;
this.play();
}
}
Instance of Symbol 168 MovieClip "shield6" in Frame 7
onClipEvent (enterFrame) {
_root.shield6;
if (hitTest(_root.ship)) {
_root.shields = 100;
this.play();
}
}
Instance of Symbol 168 MovieClip "shield5" in Frame 7
onClipEvent (enterFrame) {
_root.shield5;
if (hitTest(_root.ship)) {
_root.shields = 100;
this.play();
}
}
Instance of Symbol 171 MovieClip "key5" in Frame 7
onClipEvent (enterFrame) {
_root.key5;
if (hitTest(_root.ship)) {
_root.ground.gotoAndPlay("key1");
this.play();
}
}
Frame 8
if (levelcomp != 4) {
prevFrame();
} else {
play();
}
level = 5;
_root.ship.spaceship.gotoAndStop(1);
_root.ship._x = 360;
_root.ship._y = 225;
dy = 0.5;
dx = 0;
stop();
Instance of Symbol 166 MovieClip "fuel6" in Frame 8
onClipEvent (enterFrame) {
_root.fuel6;
if (hitTest(_root.ship)) {
_root.petrol = 500;
_root.ship.percentage = 100;
this.play();
}
}
Instance of Symbol 166 MovieClip "fuel5" in Frame 8
onClipEvent (enterFrame) {
_root.fuel5;
if (hitTest(_root.ship)) {
_root.petrol = 500;
_root.ship.percentage = 100;
this.play();
}
}
Instance of Symbol 168 MovieClip "shield7" in Frame 8
onClipEvent (enterFrame) {
_root.shield7;
if (hitTest(_root.ship)) {
_root.shields = 100;
this.play();
}
}
Instance of Symbol 171 MovieClip "key8" in Frame 8
onClipEvent (enterFrame) {
_root.key8;
if (hitTest(_root.ship)) {
_root.ground.gotoAndPlay("key2");
this.play();
}
}
Instance of Symbol 171 MovieClip "key6" in Frame 8
onClipEvent (enterFrame) {
_root.key6;
if (hitTest(_root.ship)) {
_root.ground.gotoAndPlay("key1");
this.play();
}
}
Instance of Symbol 171 MovieClip "key7" in Frame 8
onClipEvent (enterFrame) {
_root.key7;
if (hitTest(_root.ship)) {
_root.ground.gotoAndPlay("key3");
this.play();
}
}
Frame 9
if (levelcomp != 5) {
prevFrame();
} else {
play();
}
level = 6;
if (_root.tryagain == true) {
trace("try again");
_root.ship.spaceship.gotoAndStop(1);
petrol = 500;
crashcount = 0;
_root.ship.percentage = 100;
shields = 100;
_root.ship._x = 50;
_root.ship._y = 105.5;
dy = 0.5;
dx = 0;
} else {
_root.ship.spaceship.gotoAndStop(1);
_root.ship._x = 50;
_root.ship._y = 105.5;
dy = 0.5;
dx = 0;
}
stop();
Instance of Symbol 166 MovieClip "fuel1" in Frame 9
onClipEvent (enterFrame) {
_root.fuel1;
if (hitTest(_root.ship)) {
_root.petrol = 500;
_root.ship.percentage = 100;
this.play();
}
}
Instance of Symbol 171 MovieClip "key9" in Frame 9
onClipEvent (enterFrame) {
_root.key9;
if (hitTest(_root.ship)) {
_root.ground.gotoAndPlay("key1");
this.play();
}
}
Frame 10
if (levelcomp != 6) {
prevFrame();
} else {
play();
}
level = 7;
_root.ship.spaceship.gotoAndStop(1);
_root.ship._x = 70;
_root.ship._y = 90;
dy = 0.5;
dx = 0;
stop();
Instance of Symbol 292 MovieClip "life1" in Frame 10
onClipEvent (enterFrame) {
_root.life1;
if (hitTest(_root.ship)) {
this.play();
}
}
Instance of Symbol 166 MovieClip "fuel7" in Frame 10
onClipEvent (enterFrame) {
_root.fuel7;
if (hitTest(_root.ship)) {
_root.petrol = 500;
_root.ship.percentage = 100;
this.play();
}
}
Instance of Symbol 168 MovieClip "shield8" in Frame 10
onClipEvent (enterFrame) {
_root.shield8;
if (hitTest(_root.ship)) {
_root.shields = 100;
this.play();
}
}
Instance of Symbol 171 MovieClip "key11" in Frame 10
onClipEvent (enterFrame) {
_root.key11;
if (hitTest(_root.ship)) {
_root.ground.gotoAndPlay("key2");
this.play();
}
}
Instance of Symbol 171 MovieClip "key10" in Frame 10
onClipEvent (enterFrame) {
_root.key10;
if (hitTest(_root.ship)) {
_root.ground.gotoAndPlay("key1");
this.play();
}
}
Frame 11
if (levelcomp != 7) {
prevFrame();
} else {
play();
}
level = 8;
_root.ship.spaceship.gotoAndStop(1);
_root.ship._x = 391;
_root.ship._y = 365;
dy = 0.5;
dx = 0;
stop();
Instance of Symbol 166 MovieClip "fuel9" in Frame 11
onClipEvent (enterFrame) {
_root.fuel9;
if (hitTest(_root.ship)) {
_root.petrol = 500;
_root.ship.percentage = 100;
this.play();
}
}
Instance of Symbol 166 MovieClip "fuel8" in Frame 11
onClipEvent (enterFrame) {
_root.fuel8;
if (hitTest(_root.ship)) {
_root.petrol = 500;
_root.ship.percentage = 100;
this.play();
}
}
Instance of Symbol 168 MovieClip "shield9" in Frame 11
onClipEvent (enterFrame) {
_root.shield9;
if (hitTest(_root.ship)) {
_root.shields = 100;
this.play();
}
}
Instance of Symbol 171 MovieClip "key13" in Frame 11
onClipEvent (enterFrame) {
_root.key13;
if (hitTest(_root.ship)) {
_root.ground.gotoAndPlay("key2");
this.play();
}
}
Instance of Symbol 171 MovieClip "key12" in Frame 11
onClipEvent (enterFrame) {
_root.key12;
if (hitTest(_root.ship)) {
_root.ground.gotoAndPlay("key1");
this.play();
}
}
Frame 12
if (levelcomp != 8) {
prevFrame();
} else {
play();
}
level = 9;
_root.ship.spaceship.gotoAndStop(1);
_root.ship._x = 390;
_root.ship._y = 88;
dy = 0.5;
dx = 0;
stop();
Instance of Symbol 292 MovieClip "life2" in Frame 12
onClipEvent (enterFrame) {
_root.life2;
if (hitTest(_root.ship)) {
this.play();
}
}
Instance of Symbol 166 MovieClip "fuel10" in Frame 12
onClipEvent (enterFrame) {
_root.fuel4;
if (hitTest(_root.ship)) {
_root.petrol = 500;
_root.ship.percentage = 100;
this.play();
}
}
Instance of Symbol 168 MovieClip "shield10" in Frame 12
onClipEvent (enterFrame) {
_root.shield10;
if (hitTest(_root.ship)) {
_root.shields = 100;
this.play();
}
}
Instance of Symbol 171 MovieClip "key5" in Frame 12
onClipEvent (enterFrame) {
_root.key14;
if (hitTest(_root.ship)) {
_root.ground.gotoAndPlay("key1");
this.play();
}
}
Instance of Symbol 309 MovieClip "ground" in Frame 12
/* no clip actions */
Frame 13
if (levelcomp != 9) {
prevFrame();
} else {
play();
}
level = 10;
_root.ship.spaceship.gotoAndStop(1);
_root.ship._x = 390;
_root.ship._y = 225;
dy = 0.5;
dx = 0;
stop();
Instance of Symbol 292 MovieClip "life3" in Frame 13
onClipEvent (enterFrame) {
_root.life3;
if (hitTest(_root.ship)) {
this.play();
}
}
Instance of Symbol 166 MovieClip "fuel12" in Frame 13
onClipEvent (enterFrame) {
_root.fuel12;
if (hitTest(_root.ship)) {
_root.petrol = 500;
_root.ship.percentage = 100;
this.play();
}
}
Instance of Symbol 168 MovieClip "shield11" in Frame 13
onClipEvent (enterFrame) {
_root.shield11;
if (hitTest(_root.ship)) {
_root.shields = 100;
this.play();
}
}
Instance of Symbol 166 MovieClip "fuel11" in Frame 13
onClipEvent (enterFrame) {
_root.fuel11;
if (hitTest(_root.ship)) {
_root.petrol = 500;
_root.ship.percentage = 100;
this.play();
}
}
Instance of Symbol 171 MovieClip "key16" in Frame 13
onClipEvent (enterFrame) {
_root.key16;
if (hitTest(_root.ship)) {
_root.ground.gotoAndPlay("key1");
this.play();
_root.enemy.gotoAndStop(2);
}
}
Instance of Symbol 171 MovieClip "key6" in Frame 13
onClipEvent (enterFrame) {
_root.key15;
if (hitTest(_root.ship)) {
_root.ground.gotoAndPlay("key2");
this.play();
_root.enemy.gotoAndStop(3);
}
}
Instance of Symbol 171 MovieClip "key17" in Frame 13
onClipEvent (enterFrame) {
_root.key17;
if (hitTest(_root.ship)) {
_root.ground.gotoAndPlay("key3");
this.play();
}
}
Frame 14
if (levelcomp != 10) {
prevFrame();
} else {
play();
}
stop();
Frame 15
stopAllSounds();
_root.ship._x = 540;
_root.ship._y = 460;
petrol = 500;
crashcount = 0;
_root.ship.percentage = 100;
shields = 100;
stop();
Symbol 50 Button
on (release) {
gotoAndPlay (3);
}
Symbol 54 Button
on (release) {
gotoAndPlay (4);
}
Symbol 71 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 1
if (_root.level == 0) {
trace("level0");
_x = 425;
_y = 325;
dy = 1;
dx = 0;
} else if (_root.level == 1) {
trace("level1");
_x = 50;
_y = 106;
dy = 1;
dx = 0;
} else if (_root.level == 2) {
trace("level2");
_x = 391;
_y = 365;
dy = 1;
dx = 0;
} else if (_root.level == 3) {
trace("level3");
_x = 59;
_y = 365;
dy = 1;
dx = 0;
} else if (_root.level == 4) {
trace("level4");
_x = 390;
_y = 365;
dy = 1;
dx = 0;
} else if (_root.level == 5) {
trace("level5");
_x = 360;
_y = 225;
dy = 1;
dx = 0;
} else if (_root.level == 6) {
trace("level6");
_x = 50;
_y = 106;
dy = 1;
dx = 0;
} else if (_root.level == 7) {
trace("level7");
_x = 75;
_y = 75;
dy = 1;
dx = 0;
} else if (_root.level == 8) {
trace("level8");
_x = 391;
_y = 365;
dy = 1;
dx = 0;
} else if (_root.level == 9) {
trace("level9");
_x = 390;
_y = 88;
dy = 1;
dx = 0;
} else if (_root.level == 10) {
trace("level10");
_x = 390;
_y = 225;
dy = 1;
dx = 0;
}
stop();
Symbol 110 MovieClip Frame 23
_root.shields = 100;
_root.petrol = 500;
_root.ship.percentage = 100;
_root.ship.dim = _root.petrol / 500;
_root.ship.percentage = 100 * dim;
_root.ship._rotation = 0;
gotoAndPlay (1);
Symbol 119 Button
on (release) {
gotoAndPlay (2);
}
Symbol 132 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 61
gotoAndPlay (2);
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 40
_root.crashcount = _root.crashcount + 1;
if (_root.crashcount == 1) {
_root.crashone._visible = 0;
}
if (_root.crashcount == 2) {
_root.crashtwo._visible = 0;
}
if (_root.crashcount == 3) {
_root.crashthre._visible = 0;
_root.gotoAndPlay("end");
}
_root.petrol = 500;
_root.ship.percentage = 100;
_root.ship.dim = _root.petrol / 500;
_root.ship.percentage = 100 * dim;
if (_root.level == 1) {
trace("level1");
_root.ship._x = 50;
_root.ship._y = 106;
dy = 0.5;
dx = 0;
} else if (_root.level == 2) {
trace("level2");
_root.ship._x = 391;
_root.ship._y = 365;
dy = 0.5;
dx = 0;
} else if (_root.level == 3) {
trace("level3");
_root.ship._x = 59;
_root.ship._y = 365;
dy = 0.5;
dx = 0;
} else if (_root.level == 4) {
trace("level4");
_root.ship._x = 390;
_root.ship._y = 365;
dy = 0.5;
dx = 0;
} else if (_root.level == 5) {
trace("level5");
_root.ship._x = 360;
_root.ship._y = 225;
dy = 0.5;
dx = 0;
} else if (_root.level == 6) {
trace("level6");
_root.ship._x = 50;
_root.ship._y = 106;
dy = 0.5;
dx = 0;
} else if (_root.level == 7) {
trace("level7");
_root.ship._x = 75;
_root.ship._y = 75;
dy = 0.5;
dx = 0;
} else if (_root.level == 8) {
trace("level8");
_root.ship._x = 391;
_root.ship._y = 365;
dy = 0.5;
dx = 0;
} else if (_root.level == 9) {
trace("level9");
_root.ship._x = 390;
_root.ship._y = 88;
dy = 0.5;
dx = 0;
} else if (_root.level == 10) {
trace("level10");
_root.ship._x = 390;
_root.ship._y = 225;
dy = 0.5;
dx = 0;
}
gotoAndPlay (1);
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 2
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 2
stop();
Symbol 145 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 2
stop();
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 12
gotoAndPlay (1);
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 35
stop();
Symbol 163 MovieClip Frame 1
if (_root.level == 0) {
trace("level0");
_x = 425;
_y = 325;
dy = 1;
dx = 0;
} else if (_root.level == 1) {
trace("level1");
_x = 93;
_y = 106;
dy = 0.5;
dx = 0;
} else if (_root.level == 2) {
trace("level2");
_x = 391;
_y = 365;
dy = 0.5;
dx = 0;
} else if (_root.level == 3) {
trace("level3");
_x = 59;
_y = 365;
dy = 0.5;
dx = 0;
} else if (_root.level == 4) {
trace("level4");
_x = 390;
_y = 365;
dy = 0.5;
dx = 0;
} else if (_root.level == 5) {
trace("level5");
_x = 360;
_y = 225;
dy = 0.5;
dx = 0;
} else if (_root.level == 6) {
trace("level6");
_x = 50;
_y = 106;
dy = 0.5;
dx = 0;
} else if (_root.level == 7) {
trace("level7");
_x = 75;
_y = 75;
dy = 0.5;
dx = 0;
} else if (_root.level == 8) {
trace("level8");
_x = 391;
_y = 365;
dy = 0.5;
dx = 0;
} else if (_root.level == 9) {
trace("level9");
_x = 390;
_y = 88;
dy = 0.5;
dx = 0;
} else if (_root.level == 10) {
trace("level10");
_x = 390;
_y = 225;
dy = 0.5;
dx = 0;
}
stop();
Symbol 163 MovieClip Frame 26
_root.crashcount = _root.crashcount + 1;
if (_root.crashcount == 1) {
_root.crashone._visible = 0;
}
if (_root.crashcount == 2) {
_root.crashtwo._visible = 0;
}
if (_root.crashcount == 3) {
_root.crashthre._visible = 0;
_root.gotoAndStop("end");
}
_root.shields = 100;
_root.petrol = 500;
_root.ship.percentage = 100;
_root.ship.dim = _root.petrol / 500;
_root.ship.percentage = 100 * dim;
_root.ship._rotation = 0;
gotoAndPlay (1);
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 7
stop();
Symbol 168 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 8
stop();
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 8
stop();
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 7
stop();
Symbol 182 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 2
_root.ship.spaceship.play();
Symbol 182 MovieClip Frame 30
_root.levelcomp = _root.levelcomp + 1;
_root.nextFrame();
Symbol 218 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 2
Symbol 218 MovieClip Frame 8
stop();
Symbol 218 MovieClip Frame 16
stop();
Symbol 231 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 7
stop();
Symbol 250 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 8
stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 8
stop();
Symbol 254 MovieClip Frame 15
stop();
Symbol 254 MovieClip Frame 22
stop();
Symbol 276 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 7
stop();
Symbol 292 MovieClip Frame 1
stop();
Symbol 292 MovieClip Frame 6
if (_root.crashcount > 0) {
_root.crashcount = _root.crashcount - 1;
if (_root.crashcount == 0) {
_root.crashone._visible = 100;
} else if (_root.crashcount == 1) {
_root.crashtwo._visible = 100;
}
}
stop();
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 2
Symbol 293 MovieClip Frame 8
stop();
Symbol 293 MovieClip Frame 16
stop();
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 7
stop();
Symbol 300 MovieClip Frame 14
stop();
Symbol 309 MovieClip Frame 1
stop();
Symbol 309 MovieClip Frame 8
stop();
Symbol 310 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 8
stop();
Symbol 310 MovieClip Frame 15
stop();
Symbol 310 MovieClip Frame 22
stop();
Symbol 320 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 2
stop();
Symbol 320 MovieClip Frame 3
stop();
Symbol 396 Button
on (release) {
if (level >= 6) {
_root.tryagain = true;
_root.levelcomp = 5;
gotoAndPlay (9);
} else {
gotoAndPlay (4);
}
}
Symbol 400 Button
on (release) {
gotoAndPlay (2);
}