Frame 1 (98 B)
_focusrect = false;
fscommand ("showmenu", "false");
ifFrameLoaded (3) {
gotoAndPlay (3);
}
Frame 2 (17 B)
gotoAndPlay (1);
Frame 3 (8 B)
stop();
Instance of Symbol 23 MovieClip "LoadCircle" in Frame 3 (962 B)
onClipEvent (load) {
Set("/:TestMode", false);
Set("/:Total", int(_root.getBytesTotal() / 1024));
Time1 = int(getTimer() / 1000);
Kbps1 = 0;
}
onClipEvent (enterFrame) {
Set("/:Loaded", int(_root.getBytesLoaded() / 1024));
Set("/:Percent", int(/:Loaded / (/:Total / 100)));
if (99 < /:Percent) {
Set("/:Percent", 99);
}
if ((_root.getBytesLoaded() >= _root.getBytesTotal()) and (!/:TestMode)) {
_root.gotoAndPlay(_root._currentframe + 1);
} else {
_parent.LoadCircle.gotoAndStop(/:Percent);
Set("/:SecondsLeft", int((/:Total - /:Loaded) / /:Speed));
Time2 = int(getTimer() / 1000);
if ((Time2 - Time1) >= 3) {
Time1 = Time2;
Set("/:Speed", ((_root.getBytesLoaded() - Kbps) / 1024) / 3);
Set("/:Speed", String(/:Speed));
if (/:Speed.indexOf(".") >= 0) {
Set("/:Speed", /:Speed.split("."));
Set("/:Speed", (/:Speed[0] add ".") add (substring(/:Speed[1], 1, 2)));
}
Kbps = _root.getBytesLoaded();
}
}
}
Instance of Symbol 71 MovieClip "Scroller" in Frame 3 (1 KiB) ●
onClipEvent (load) {
numChars = 11;
speed = 6;
spacing = 60;
depth = 100;
screenWidth = 640;
text = "*FREE DEMO VERSION-NOT TO USE ON COMMERCIAL WEBSITES!* -GET GAMES FOR YOUR WEBSITE AT: WWW.X-PRESSIVE.COM, THE TOP SOURCE FOR PROFESSIONAL ONLINE GAMES. CLICK HERE TO SEE MORE GAMES..!";
c = 1;
while (numChars >= c) {
text = " " + text;
c++;
}
c = 0;
while (c < numChars) {
duplicateMovieClip ("AnimChar", "AnimChar" + c, depth);
setProperty("AnimChar" + c, _x , AnimChar._x + (c * spacing));
setProperty("AnimChar" + c, _y , AnimChar._y);
eval (("AnimChar" + c) + ".Char").myChar = text.substr(c, 1);
depth++;
c++;
}
currChar = 0;
AnimChar._visible = 0;
startX = _x;
}
onClipEvent (enterFrame) {
_x = (_x - speed);
if (((startX - spacing) - speed) >= _x) {
_x = (startX - speed);
currChar++;
if (text.length < currChar) {
currChar = 0;
}
c = 0;
while (c < numChars) {
eval (("AnimChar" + c) + ".Char").myChar = text.substr(currChar + c, 1);
c++;
}
}
}
Frame 5 (8 B)
stop();
Instance of Symbol 102 MovieClip "ScoreInfo" in Frame 5 (277 B)
onClipEvent (load) {
if (0 < _parent.score1) {
if (_parent.hiScore < _parent.score1) {
_parent.hiScore = _parent.score1;
}
text1 = "LAST SCORE: " + _parent.score1;
text2 = "HIGHSCORE: " + _parent.hiScore;
this.gotoAndPlay(2);
} else {
_visible = 0;
}
}
Frame 6 (294 B)
Diff1.gotoAndStop(1);
Diff2.gotoAndStop(1);
Diff3.gotoAndStop(1);
if ((difficulty < 1) or (difficulty == 2)) {
difficulty = 2;
bombs = 2;
Diff2.gotoAndStop(2);
} else if (difficulty == 1) {
Diff1.gotoAndStop(2);
} else if (difficulty == 3) {
Diff3.gotoAndStop(2);
}
stop();
Frame 7 (8 B)
stop();
Frame 8 (8 B)
stop();
Frame 9 (3.48 KiB) ●
function initComets() {
i = 1;
while (stage >= i) {
if (3 >= i) {
createComet(Math.random() * 640, Math.random() * 480, 1);
_root.cometsToHit = _root.cometsToHit + 8;
} else {
cometSpeed[1] = cometSpeed[1] + 1;
cometSpeed[2] = cometSpeed[2] + 1;
cometSpeed[3] = cometSpeed[3] + 1;
cometSpeed[4] = cometSpeed[4] + 1;
}
i++;
}
}
function createComet(x, y, type) {
duplicateMovieClip ("Comet", "Comet_" + depth, depth);
setProperty("Comet_" + depth, _x , x);
setProperty("Comet_" + depth, _y , y);
eval ("Comet_" + depth).type = type;
depth++;
}
function particles(x, y, scale) {
i = 1;
while (5 >= i) {
duplicateMovieClip ("Particle", "Particle" + depth, depth);
setProperty("Particle" + depth, _x , x);
setProperty("Particle" + depth, _y , y);
setProperty("Particle" + depth, _rotation , int(Math.random() * 360) - 180);
setProperty("Particle" + depth, _xscale , scale / 2);
setProperty("Particle" + depth, _yscale , scale / 2);
depth++;
i++;
}
}
function cometExplosion(x, y, scale, givePowerUp) {
Sounds.gotoAndPlay("CometExplosion");
duplicateMovieClip ("Explosion", "Explosion" + depth, depth);
setProperty("Explosion" + depth, _x , x);
setProperty("Explosion" + depth, _y , y);
depth++;
i = 1;
while (5 >= i) {
duplicateMovieClip ("Particle", "Particle" + depth, depth);
setProperty("Particle" + depth, _x , x);
setProperty("Particle" + depth, _y , y);
setProperty("Particle" + depth, _rotation , int(Math.random() * 360) - 180);
setProperty("Particle" + depth, _xscale , scale);
setProperty("Particle" + depth, _yscale , scale);
depth++;
i++;
}
duplicateMovieClip ("Shockwave", "Shockwave" + depth, depth);
setProperty("Shockwave" + depth, _x , x);
setProperty("Shockwave" + depth, _y , y);
setProperty("Shockwave" + depth, _xscale , scale);
setProperty("Shockwave" + depth, _yscale , scale);
depth++;
if (givePowerUp and (!PowerUp.active)) {
PowerUp._x = x;
PowerUp._y = y;
PowerUp.activate();
}
}
function nextStage() {
stage++;
ScreenText.myText = "NEXT STAGE!";
ScreenText.gotoAndPlay(2);
initComets();
if (!arcadeMode) {
shield1 = 100;
Display1.ShieldBar.gotoAndStop(100);
fuel1 = 100;
Display1.FuelBar.gotoAndStop(100);
}
}
Movieclip.prototype.hitCheck = function () {
this.hitObject = "";
for (z in _parent) {
if (((typeof(_parent[z]) == "movieclip") and (_parent[z]._name ne this._name)) and (_parent[z]._name ne _parent._name)) {
if (this.hitTest(_parent[z])) {
this.hitObject = z;
return(undefined);
}
}
}
};
Movieclip.prototype.objectCheck = function (objName) {
this.hitObject = "";
for (z in _parent) {
if (((typeof(_parent[z]) == "movieclip") and (-1 < _parent[z]._name.indexOf(objName))) and (_parent[z]._name ne _parent._name)) {
if (this.hitTest(_parent[z])) {
this.hitObject = z;
return(undefined);
}
}
}
};
stage = difficulty;
cometsToHit = 0;
Background = 3;
rotationSpeed = 10;
acceleration = 0.4;
shotType1 = 1;
shotType1Speed = 10;
powerLev1 = 1;
shield1 = 100;
fuel1 = 100;
bombs1 = bombs;
score1 = 0;
shotsInScreen1 = 0;
maxShotsInScreen = 3;
depth = 100;
cometSize = new Array(0, 125, 85, 65, 40);
cometPoints = new Array(0, 50, 75, 100, 150);
cometSpeed = new Array(0, 2, 4, 6, 8);
Background = int(Math.random() * 4) + 1;
BG.gotoAndStop(Background);
if ((Background == 1) or (Background == 3)) {
Shadow._visible = 0;
}
initComets();
stop();
Instance of Symbol 172 MovieClip "Player" in Frame 9 (2.05 KiB) ●
onClipEvent (load) {
function fire() {
if ((_root.shotType1 == 1) and (_root.shotsInScreen1 < _root.maxShotsInScreen)) {
num = 1;
while (eval ("_root.Shot1_" + num)) {
num++;
}
duplicateMovieClip ("_root.Shot1", "Shot1_" + num, _root.depth);
setProperty("_root.Shot1_" + num, _x , _x);
setProperty("_root.Shot1_" + num, _y , _y);
setProperty("_root.Shot1_" + num, _rotation , _rotation);
_root.depth++;
_root.Sounds.gotoAndPlay("Shot1");
}
}
function reverse() {
if (xvelocity) {
xvelocity = -xvelocity;
} else {
xvelocity = xvelocity * -1;
}
if (yvelocity) {
yvelocity = -yvelocity;
} else {
yvelocity = yvelocity * -1;
}
}
_rotation = (int(Math.random() * 360) - 180);
yvelocity = yvelocity + ((_root.acceleration * 3) * Math.cos(((((-_rotation) + 180) / 360) * 2) * Math.PI));
xvelocity = xvelocity + ((_root.acceleration * 3) * Math.sin(((((-_rotation) + 180) / 360) * 2) * Math.PI));
leftBorder = -_width;
rightBorder = 640 + _width;
top = -_height;
bottom = 480 + _height;
}
onClipEvent (keyUp) {
left = false;
right = false;
up = false;
down = false;
}
onClipEvent (enterFrame) {
if (left) {
_rotation = (_rotation - _root.rotationSpeed);
} else if (right) {
_rotation = (_rotation + _root.rotationSpeed);
} else if (up) {
yvelocity = yvelocity + (_root.acceleration * Math.cos(((((-_rotation) + 180) / 360) * 2) * Math.PI));
xvelocity = xvelocity + (_root.acceleration * Math.sin(((((-_rotation) + 180) / 360) * 2) * Math.PI));
} else if (down) {
yvelocity = yvelocity - (_root.acceleration * Math.cos(((((-_rotation) + 180) / 360) * 2) * Math.PI));
xvelocity = xvelocity - (_root.acceleration * Math.sin(((((-_rotation) + 180) / 360) * 2) * Math.PI));
}
_x = (_x + xvelocity);
_y = (_y + yvelocity);
_parent.Shadow._x = _x + 30;
_parent.Shadow._y = _y + 30;
_parent.Shadow._rotation = _rotation;
if (_x < leftBorder) {
_x = rightBorder;
} else if (rightBorder < _x) {
_x = leftBorder;
}
if (_y < top) {
_y = bottom;
} else if (bottom < _y) {
_y = top;
}
}
Instance of Symbol 181 MovieClip "Comet" in Frame 9 (2.52 KiB) ●
onClipEvent (load) {
if (_name ne "Comet") {
dontTest = 30;
testShot = 1;
if (!_root.arcadeMode) {
energy = 100;
} else {
energy = 10;
EnergyBar._visible = 0;
}
Comet._rotation = int(Math.random() * 360) - 180;
_xscale = _root.cometSize[type];
_yscale = _root.cometSize[type];
speed = int(Math.random() * _root.cometSpeed[type]) + 1;
yvelocity = speed * Math.cos(((((-Comet._rotation) + 180) / 360) * 2) * Math.PI);
xvelocity = speed * Math.sin(((((-Comet._rotation) + 180) / 360) * 2) * Math.PI);
EnergyBar.gotoAndStop(energy);
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_name ne "Comet") {
_x = (_x + xvelocity);
_y = (_y + yvelocity);
if (_x < (-_width)) {
_x = (640 + _width);
} else if ((640 + _width) < _x) {
_x = (-_width);
}
if (_y < (-_height)) {
_y = (480 + _height);
} else if ((480 + _height) < _y) {
_y = (-_height);
}
dontTest--;
if ((dontTest < 0) and Comet.hitTest(_root.Player.HitShape)) {
dontTest = 30;
_root.cometExplosion(_x, _y, _xscale, 0);
_parent.Player.reverse();
if (xvelocity) {
xvelocity = -xvelocity;
} else {
xvelocity = xvelocity * -1;
}
if (yvelocity) {
yvelocity = -yvelocity;
} else {
yvelocity = yvelocity * -1;
}
_root.shield1 = _root.shield1 - 10;
if (_root.shield1 < 0) {
_root.shield1 = 1;
_root.ScreenText.myText = "GAME OVER!";
_root.ScreenText.gotoAndPlay(2);
_root.GameOver.gotoAndPlay(2);
}
_root.Display1.ShieldBar.gotoAndStop(_root.shield1);
}
if (_root.Bomb.active or Comet.hitTest(eval ("_root.Shot1_" + testShot))) {
Comet.gotoAndPlay(2);
_root.particles(_x, _y, _xscale);
_root.Sounds.gotoAndPlay("PartialHit");
_root.score1 = _root.score1 + 10;
if (_root.Bomb.active) {
if (_root.arcadeMode) {
energy = energy - 2;
} else {
energy = energy - 10;
}
} else {
energy = energy - (_root.powerLev1 * 10);
}
EnergyBar.gotoAndStop(energy);
eval ("_root.Shot1_" + testShot).removeMe();
if (0 >= energy) {
if (type < 4) {
_root.createComet(_x - 20, _y - 20, type + 1);
_root.createComet(_x + 20, _y + 20, type + 1);
} else {
_root.cometsToHit--;
if (_root.cometsToHit < 1) {
_root.nextStage();
}
}
_root.cometExplosion(_x, _y, _xscale, _root.arcadeMode);
_root.score1 = _root.score1 + _root.cometPoints[type];
removeMovieClip(this);
}
}
testShot++;
if (_root.maxShotsInScreen < testShot) {
testShot = 1;
}
}
}
Instance of Symbol 187 MovieClip "Shot1" in Frame 9 (605 B)
onClipEvent (load) {
function removeMe() {
_root.shotsInScreen1--;
removeMovieClip(this);
}
if (_name ne "Shot1") {
_root.shotsInScreen1++;
yvelocity = _root.shotType1Speed * Math.cos(((((-_rotation) + 180) / 360) * 2) * Math.PI);
xvelocity = _root.shotType1Speed * Math.sin(((((-_rotation) + 180) / 360) * 2) * Math.PI);
this.gotoAndStop(_root.powerLev1);
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_name ne "Shot1") {
_x = (_x + xvelocity);
_y = (_y + yvelocity);
if ((((_x < 0) or (640 < _x)) or (_y < 0)) or (480 < _y)) {
removeMe();
}
}
}
Instance of Symbol 229 MovieClip "Explosion" in Frame 9 (71 B)
onClipEvent (load) {
if (_name eq "Explosion") {
_visible = 0;
}
}
Instance of Symbol 239 MovieClip "Particle" in Frame 9 (70 B)
onClipEvent (load) {
if (_name eq "Particle") {
_visible = 0;
}
}
Instance of Symbol 279 MovieClip "PowerUp" in Frame 9 (1.53 KiB) ●
onClipEvent (load) {
function activate() {
this.active = 1;
Item._rotation = int(Math.random() * 360) - 180;
speed = int(Math.random() * _root.cometSpeed[1]) + 1;
yvelocity = Speed * Math.cos(((((-Item._rotation) + 180) / 360) * 2) * Math.PI);
xvelocity = Speed * Math.sin(((((-Item._rotation) + 180) / 360) * 2) * Math.PI);
_root.Sounds.gotoAndPlay("PowerUp");
this.gotoAndStop(int(Math.random() * 3) + 2);
}
function collected() {
if ((item eq "Shot") and (_root.powerLev1 < 4)) {
_root.powerLev1++;
_root.ScreenText.myText = "SHOT UPGRADE!";
_root.ScreenText.gotoAndPlay(2);
} else if (item eq "Shield") {
_root.shield1 = _root.shield1 + 20;
if (100 < _root.shield1) {
_root.shield1 = 100;
}
_root.Display1.ShieldBar.gotoAndStop(_root.shield1);
_root.ScreenText.myText = "SHIELD UPGRADE!";
_root.ScreenText.gotoAndPlay(2);
} else if (item eq "Fuel") {
_root.fuel1 = _root.fuel1 + 10;
if (100 < _root.fuel1) {
_root.fuel1 = 100;
}
_root.Display1.FuelBar.gotoAndStop(_root.fuel1);
_root.ScreenText.myText = "FUEL COLLECTED!";
_root.ScreenText.gotoAndPlay(2);
}
this.active = 0;
_root.Sounds.gotoAndStop("HitPowerUp");
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (active) {
_x = (_x + xvelocity);
_y = (_y + yvelocity);
if (_x < (-_width)) {
_x = (640 + _width);
} else if ((640 + _width) < _x) {
_x = (-_width);
}
if (_y < (-_height)) {
_y = (480 + _height);
} else if ((480 + _height) < _y) {
_y = (-_height);
}
}
}
Instance of Symbol 282 MovieClip "Shockwave" in Frame 9 (71 B)
onClipEvent (load) {
if (_name eq "Shockwave") {
_visible = 0;
}
}
Instance of Symbol 290 MovieClip "ScreenText" in Frame 9 (47 B)
onClipEvent (load) {
this.swapDepths(20000);
}
Instance of Symbol 301 MovieClip "Display1" in Frame 9 (47 B)
onClipEvent (load) {
this.swapDepths(20001);
}
Instance of Symbol 321 MovieClip "CleanUp" in Frame 9 (199 B)
onClipEvent (load) {
function go() {
for (z in _parent) {
if (typeof(_parent[z]) == "movieclip") {
removeMovieClip(_parent[z]);
}
}
_parent.gotoAndPlay(_root._currentframe + 1);
}
}
Frame 10 (17 B)
gotoAndPlay (4);
Symbol 12 MovieClip Frame 1 (8 B)
stop();
Symbol 15 MovieClip Frame 1 (8 B)
stop();
Symbol 18 MovieClip Frame 1 (8 B)
stop();
Symbol 21 MovieClip Frame 1 (8 B)
stop();
Symbol 23 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 12 MovieClip "TL" in Symbol 23 MovieClip Frame 1 (40 B)
onClipEvent (load) {
gotoAndPlay (2);
}
Instance of Symbol 12 MovieClip "TL" in Symbol 23 MovieClip Frame 25 (40 B)
onClipEvent (load) {
gotoAndPlay (2);
}
Instance of Symbol 15 MovieClip "BL" in Symbol 23 MovieClip Frame 25 (40 B)
onClipEvent (load) {
gotoAndPlay (3);
}
Instance of Symbol 15 MovieClip "BL" in Symbol 23 MovieClip Frame 50 (40 B)
onClipEvent (load) {
gotoAndPlay (3);
}
Instance of Symbol 18 MovieClip "BR" in Symbol 23 MovieClip Frame 50 (40 B)
onClipEvent (load) {
gotoAndPlay (4);
}
Instance of Symbol 18 MovieClip "BR" in Symbol 23 MovieClip Frame 75 (40 B)
onClipEvent (load) {
gotoAndPlay (4);
}
Instance of Symbol 21 MovieClip "TR" in Symbol 23 MovieClip Frame 75 (40 B)
onClipEvent (load) {
gotoAndPlay (5);
}
Instance of Symbol 21 MovieClip "TR" in Symbol 23 MovieClip Frame 100 (40 B)
onClipEvent (load) {
gotoAndPlay (5);
}
Symbol 30 Button (32 B)
on (press) {
gotoAndStop (2);
}
Symbol 47 Button (32 B)
on (press) {
gotoAndStop (1);
}
Symbol 48 MovieClip Frame 1 (8 B)
stop();
Symbol 49 Button (64 B)
on (press) {
getURL ("http://www.x-pressive.com/", "_blank");
}
Symbol 64 Button (64 B)
on (press) {
getURL ("http://www.x-pressive.com/", "_blank");
}
Symbol 69 MovieClip Frame 1 (8 B)
stop();
Symbol 70 MovieClip Frame 1 (8 B)
stop();
Symbol 76 MovieClip Frame 1 (252 B)
if (int(Math.random() * 25) == 5) {
_rotation = (-180 + int(Math.random() * 360));
value = int(Math.random() * 3) + 1;
if (value == 3) {
gotoAndPlay (3);
} else if (value == 2) {
gotoAndPlay (96);
} else {
gotoAndPlay (146);
}
}
Symbol 76 MovieClip Frame 2 (17 B)
gotoAndPlay (1);
Symbol 76 MovieClip Frame 95 (17 B)
gotoAndPlay (1);
Symbol 77 MovieClip Frame 1 (97 B)
i = 1;
while (i < 30) {
duplicateMovieClip (Star, "Star" + i, 100 + i);
i++;
}
stop();
Symbol 88 Button (34 B)
on (release) {
gotoAndStop (6);
}
Symbol 90 Button (34 B)
on (release) {
gotoAndStop (7);
}
Symbol 92 Button (34 B)
on (release) {
gotoAndStop (8);
}
Symbol 94 Button (54 B)
on (release) {
getURL ("Javascript: self.close()");
}
Symbol 102 MovieClip Frame 1 (8 B)
stop();
Symbol 102 MovieClip Frame 2 (8 B)
play();
Symbol 102 MovieClip Frame 45 (17 B)
gotoAndPlay (2);
Symbol 104 Button (69 B)
on (release) {
stopAllSounds();
arcadeMode = 0;
gotoAndPlay (9);
}
Symbol 106 Button (69 B)
on (release) {
stopAllSounds();
arcadeMode = 1;
gotoAndPlay (9);
}
Symbol 110 Button (114 B)
on (release) {
difficulty = 1;
bombs = 3;
Diff1.gotoAndStop(2);
Diff2.gotoAndStop(1);
Diff3.gotoAndStop(1);
}
Symbol 111 Button (114 B)
on (release) {
difficulty = 3;
bombs = 1;
Diff1.gotoAndStop(1);
Diff2.gotoAndStop(1);
Diff3.gotoAndStop(2);
}
Symbol 112 Button (114 B)
on (release) {
difficulty = 2;
bombs = 2;
Diff1.gotoAndStop(1);
Diff2.gotoAndStop(2);
Diff3.gotoAndStop(1);
}
Symbol 115 MovieClip Frame 1 (8 B)
stop();
Symbol 118 MovieClip Frame 1 (8 B)
stop();
Symbol 121 MovieClip Frame 1 (8 B)
stop();
Symbol 125 Button (34 B)
on (release) {
gotoAndStop (5);
}
Symbol 147 Button (64 B)
on (press) {
getURL ("http://www.x-pressive.com/", "_blank");
}
Symbol 156 MovieClip Frame 1 (8 B)
stop();
Symbol 159 MovieClip Frame 1 (8 B)
stop();
Symbol 162 MovieClip Frame 1 (8 B)
stop();
Symbol 163 MovieClip Frame 1 (19 B)
loop = 0;
stop();
Symbol 163 MovieClip Frame 2 (320 B)
_x = _root.Player._x;
_y = _root.Player._y;
active = 1;
Light1._rotation = int(Math.random() * 360) - 180;
Light2._rotation = int(Math.random() * 360) - 180;
Light3._rotation = int(Math.random() * 360) - 180;
Light4._rotation = int(Math.random() * 360) - 180;
Light5._rotation = int(Math.random() * 360) - 180;
Symbol 163 MovieClip Frame 3 (353 B)
Light1._rotation = int(Math.random() * 360) - 180;
Light2._rotation = int(Math.random() * 360) - 180;
Light3._rotation = int(Math.random() * 360) - 180;
Light4._rotation = int(Math.random() * 360) - 180;
Light5._rotation = int(Math.random() * 360) - 180;
loop++;
if (9 < loop) {
gotoAndStop (1);
active = 0;
} else {
gotoAndPlay (2);
}
Symbol 168 MovieClip Frame 1 (8 B)
stop();
Symbol 168 MovieClip Frame 11 (17 B)
gotoAndStop (1);
Symbol 168 MovieClip Frame 21 (17 B)
gotoAndStop (1);
Symbol 168 MovieClip Frame 31 (17 B)
gotoAndStop (1);
Symbol 168 MovieClip Frame 41 (17 B)
gotoAndStop (1);
Symbol 169 Button (941 B)
on (keyPress "<Right>") {
left = false;
right = true;
up = false;
down = false;
}
on (keyPress "<Left>") {
left = true;
right = false;
up = false;
down = false;
}
on (keyPress "<Up>") {
if (0.5 < _root.fuel1) {
_root.fuel1 = _root.fuel1 - 0.5;
_root.Display1.FuelBar.gotoAndStop(int(_root.fuel1));
left = false;
right = false;
up = true;
down = false;
Burst.gotoAndPlay("Rear");
_root.Sounds.gotoAndPlay("BurstR");
}
}
on (keyPress "<Down>") {
if (0.5 < _root.fuel1) {
_root.fuel1 = _root.fuel1 - 0.5;
_root.Display1.FuelBar.gotoAndStop(int(_root.fuel1));
left = false;
right = false;
up = false;
down = true;
Burst.gotoAndPlay("Front");
_root.Sounds.gotoAndPlay("BurstF");
}
}
on (keyPress "x") {
fire();
}
on (keyPress "<Space>") {
if (_root.bombs1) {
_root.bombs1--;
_root.Bomb.gotoAndPlay(2);
_root.Display1.Bombs.gotoAndStop(_root.bombs1 + 1);
}
}
Symbol 171 MovieClip Frame 1 (8 B)
stop();
Symbol 172 MovieClip Frame 1 (8 B)
stop();
Symbol 175 MovieClip Frame 1 (8 B)
stop();
Symbol 180 MovieClip Frame 1 (8 B)
stop();
Symbol 181 MovieClip Frame 1 (8 B)
stop();
Symbol 187 MovieClip Frame 1 (8 B)
stop();
Symbol 194 MovieClip Frame 1 (8 B)
stop();
Symbol 194 MovieClip Frame 6 (8 B)
stop();
Symbol 194 MovieClip Frame 11 (8 B)
stop();
Symbol 194 MovieClip Frame 16 (8 B)
stop();
Symbol 194 MovieClip Frame 21 (8 B)
stop();
Symbol 194 MovieClip Frame 26 (8 B)
stop();
Symbol 194 MovieClip Frame 31 (8 B)
stop();
Symbol 194 MovieClip Frame 36 (8 B)
stop();
Symbol 194 MovieClip Frame 41 (8 B)
stop();
Symbol 229 MovieClip Frame 1 (41 B)
if (_name eq "Explosion") {
stop();
}
Symbol 229 MovieClip Frame 18 (56 B)
if (_name ne "Explosion") {
removeMovieClip(this);
}
Symbol 238 MovieClip Frame 1 (8 B)
stop();
Symbol 239 MovieClip Frame 1 (98 B)
if (_name eq "Particle") {
stop();
} else {
Type.gotoAndStop(int(Math.random() * 4) + 1);
}
Symbol 239 MovieClip Frame 40 (23 B)
removeMovieClip(this);
Symbol 279 MovieClip Frame 1 (8 B)
stop();
Symbol 279 MovieClip Frame 2 (15 B)
item = "Fuel";
Instance of Symbol 272 MovieClip "Item" in Symbol 279 MovieClip Frame 2 (89 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.Player)) {
_parent.collected();
}
}
Symbol 279 MovieClip Frame 3 (15 B)
item = "Shot";
Symbol 279 MovieClip Frame 4 (17 B)
item = "Shield";
Symbol 282 MovieClip Frame 1 (41 B)
if (_name eq "Shockwave") {
stop();
}
Symbol 282 MovieClip Frame 9 (23 B)
removeMovieClip(this);
Symbol 290 MovieClip Frame 1 (8 B)
stop();
Symbol 290 MovieClip Frame 2 (25 B)
Message.myText = myText;
Symbol 295 MovieClip Frame 1 (8 B)
stop();
Symbol 295 MovieClip Frame 30 (222 B)
if (_name eq "ShieldBar") {
_root.DangerText.myText = "SHIELDS LOW!!";
_root.DangerText.gotoAndPlay(2);
} else if (_name eq "FuelBar") {
_root.DangerText.myText = "FUEL LOW!!";
_root.DangerText.gotoAndPlay(2);
}
Symbol 296 MovieClip Frame 1 (8 B)
stop();
Symbol 296 MovieClip Frame 30 (222 B)
if (_name eq "ShieldBar") {
_root.DangerText.myText = "SHIELDS LOW!!";
_root.DangerText.gotoAndPlay(2);
} else if (_name eq "FuelBar") {
_root.DangerText.myText = "FUEL LOW!!";
_root.DangerText.gotoAndPlay(2);
}
Symbol 300 MovieClip Frame 1 (8 B)
stop();
Symbol 301 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 295 MovieClip "ShieldBar" in Symbol 301 MovieClip Frame 1 (56 B)
onClipEvent (load) {
this.gotoAndStop(_root.shield1);
}
Instance of Symbol 296 MovieClip "FuelBar" in Symbol 301 MovieClip Frame 1 (54 B)
onClipEvent (load) {
this.gotoAndStop(_root.fuel1);
}
Instance of Symbol 300 MovieClip "Bombs" in Symbol 301 MovieClip Frame 1 (59 B)
onClipEvent (load) {
this.gotoAndStop(_root.bombs1 + 1);
}
Symbol 302 MovieClip Frame 1 (8 B)
stop();
Symbol 302 MovieClip Frame 2 (112 B)
x = _root.Player._x;
y = _root.Player._y;
_root.Player.gotoAndStop(2);
_root.Shadow._visible = 0;
loop = 0;
Symbol 302 MovieClip Frame 3 (160 B)
x = x + (int(Math.random() * 50) - 25);
y = y + (int(Math.random() * 50) - 25);
scale = int(Math.random() * 100) + 25;
_root.cometExplosion(x, y, scale, 0);
Symbol 302 MovieClip Frame 7 (80 B)
loop++;
if (18 < loop) {
gotoAndPlay (8);
} else {
gotoAndPlay (3);
}
Symbol 302 MovieClip Frame 100 (49 B)
stopAllSounds();
_parent.CleanUp.go();
stop();
Symbol 303 Button (110 B)
on (keyPress "q") {
ScreenText.myText = "GAME OVER!";
ScreenText.gotoAndPlay(2);
GameOver.gotoAndPlay(2);
}
Symbol 316 MovieClip Frame 1 (8 B)
stop();
Symbol 316 MovieClip Frame 2 (25 B)
Message.myText = myText;
Symbol 316 MovieClip Frame 30 (25 B)
Message.myText = myText;
Symbol 316 MovieClip Frame 60 (25 B)
Message.myText = myText;
Symbol 320 MovieClip Frame 91 (8 B)
stop();
Symbol 321 MovieClip Frame 1 (8 B)
stop();