Frame 1
stop();
Instance of Symbol 7 MovieClip "preloader" in Frame 1
onClipEvent (enterFrame) {
_root.sloaded = _root.getBytesLoaded();
_root.total = _root.getBytesTotal();
_root.percentloaded = int((_root.sloaded / _root.total) * 100) + "%";
if (_root.sloaded >= _root.total) {
_root.gotoAndPlay("playdd");
}
this._xscale = (_root.sloaded / _root.total) * 100;
}
Frame 2
stop();
function __com_mochibot__(swfid, mc, lv) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = ((((((((((("http://" + mbc) + "/my/core.swf?mv=5&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("81011130", this, 10301);
Frame 138
function doSomething() {
}
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("No Cheating.", doSomething);
Functioned1 = new ContextMenuItem("Im Serious!", doSomething);
Functioned2 = new ContextMenuItem("I should beat all you Cheaters up!", doSomething);
Functioned3 = new ContextMenuItem("Now Play the game right! :P", doSomething);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned1);
MENU.customItems.push(Functioned2);
MENU.customItems.push(Functioned3);
_root.menu = MENU;
Frame 182
function doSomething() {
}
stop();
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("No Cheating.", doSomething);
Functioned1 = new ContextMenuItem("Im Serious!", doSomething);
Functioned2 = new ContextMenuItem("I should beat all you Cheaters up!", doSomething);
Functioned3 = new ContextMenuItem("Now Play the game right! :P", doSomething);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned1);
MENU.customItems.push(Functioned2);
MENU.customItems.push(Functioned3);
_root.menu = MENU;
Frame 183
stop();
speed = 0;
rotation = 0;
Aspeed = 7.5;
distance = Rocket._x - Alien._x;
time = 0;
powtime = 0;
score = 0;
Frame 184
_root.music.gotoAndPlay("music1");
function A1DroidOut() {
Chance = Math.ceil(Math.random() * 20);
if (Chance >= 26) {
_root.A1DOut = "true";
_root.Ast1D.play();
_root.Ast1Dx = Math.random() * 10;
_root.Ast1Dy = Math.random() * 5;
if (_root.Ast1D._x <= -10) {
_root.Ast1D._x = 550;
_root.Ast1Dx = Math.random() * 10;
_root.Ast1Dy = Math.random() * 5;
}
if (_root.Ast1D._x >= 560) {
_root.Ast1D._x = 0;
_root.Ast1Dx = Math.random() * 10;
_root.Ast1Dy = Math.random() * 5;
}
if (_root.Ast1D._y <= -10) {
_root.Ast1D._y = 400;
_root.Ast1Dx = Math.random() * 10;
_root.Ast1Dy = Math.random() * 5;
}
if (_root.Ast1D._y >= 410) {
_root.Ast1D._y = 0;
_root.Ast1Dx = Math.random() * 10;
_root.Ast1Dy = Math.random() * 5;
}
_root.Ast1._x = -50;
_root.Ast1._y = Math.random() * 400;
}
}
function A1DroidIn() {
_root.A1DOut = "false";
_root.Ast1x = Math.random() * 10;
_root.Ast1y = Math.random() * 5;
if (_root.Ast1._x <= -10) {
_root.Ast1._x = 550;
_root.Ast1x = Math.random() * 10;
_root.Ast1y = Math.random() * 5;
}
if (_root.Ast1._x >= 560) {
_root.Ast1._x = 0;
_root.Ast1x = Math.random() * 10;
_root.Ast1y = Math.random() * 5;
}
if (_root.Ast1._y <= -10) {
_root.Ast1._y = 400;
_root.Ast1x = Math.random() * 10;
_root.Ast1y = Math.random() * 5;
}
if (_root.Ast1._y >= 410) {
_root.Ast1._y = 0;
_root.Ast1x = Math.random() * 10;
_root.Ast1y = Math.random() * 5;
}
_root.Ast1D._x = -50;
_root.Ast1D._y = Math.random() * 400;
}
function A1speed() {
if (_root.A1DOut == "false") {
_root.Ast1x = Math.random() * 10;
_root.Ast1y = Math.random() * 5;
} else {
_root.Ast1x = 0;
_root.Ast1y = 0;
}
}
function A1Dspeed() {
if (_root.A1DOut == "true") {
_root.Ast1Dx = Math.random() * 10;
_root.Ast1Dy = Math.random() * 5;
} else {
_root.Ast1Dx = 0;
_root.Ast1Dy = 0;
}
}
function A3DroidOut() {
Chance = Math.ceil(Math.random() * 20);
if (Chance >= 26) {
_root.A3DOut = "true";
_root.Ast3D.play();
_root.Ast3Dx = Math.random() * 10;
_root.Ast3Dy = Math.random() * 5;
if (_root.Ast3D._x <= -10) {
_root.Ast3D._x = 550;
_root.Ast3Dx = Math.random() * 10;
_root.Ast3Dy = Math.random() * 5;
}
if (_root.Ast3D._x >= 560) {
_root.Ast3D._x = 0;
_root.Ast3Dx = Math.random() * 10;
_root.Ast3Dy = Math.random() * 5;
}
if (_root.Ast3D._y <= -10) {
_root.Ast3D._y = 400;
_root.Ast3Dx = Math.random() * 10;
_root.Ast3Dy = Math.random() * 5;
}
if (_root.Ast3D._y >= 410) {
_root.Ast3D._y = 0;
_root.Ast3Dx = Math.random() * 10;
_root.Ast3Dy = Math.random() * 5;
}
_root.Ast3._x = -50;
_root.Ast3._y = Math.random() * 400;
}
}
function A3DroidIn() {
_root.A3DOut = "false";
_root.Ast3x = Math.random() * 10;
_root.Ast3y = Math.random() * 5;
if (_root.Ast3._x <= -10) {
_root.Ast3._x = 550;
_root.Ast3x = Math.random() * 10;
_root.Ast3y = Math.random() * 5;
}
if (_root.Ast3._x >= 560) {
_root.Ast3._x = 0;
_root.Ast3x = Math.random() * 10;
_root.Ast3y = Math.random() * 5;
}
if (_root.Ast3._y <= -10) {
_root.Ast3._y = 400;
_root.Ast3x = Math.random() * 10;
_root.Ast3y = Math.random() * 5;
}
if (_root.Ast3._y >= 410) {
_root.Ast3._y = 0;
_root.Ast3x = Math.random() * 10;
_root.Ast3y = Math.random() * 5;
}
_root.Ast3D._x = -50;
_root.Ast3D._y = Math.random() * 400;
}
function A3speed() {
if (_root.A3DOut == "false") {
_root.Ast3x = Math.random() * 10;
_root.Ast3y = Math.random() * 5;
} else {
_root.Ast3x = 0;
_root.Ast3y = 0;
}
}
function A3Dspeed() {
if (_root.A3DOut == "true") {
_root.Ast3Dx = Math.random() * 10;
_root.Ast3Dy = Math.random() * 5;
} else {
_root.Ast3Dx = 0;
_root.Ast3Dy = 0;
}
}
function A2DroidOut() {
Chance = Math.ceil(Math.random() * 20);
if (Chance >= 26) {
_root.A2DOut = "true";
_root.Ast2D.play();
_root.Ast2Dx = Math.random() * 10;
_root.Ast2Dy = Math.random() * 5;
if (_root.Ast2D._x <= -10) {
_root.Ast2D._x = 5500;
_root.Ast2Dx = Math.random() * 10;
_root.Ast2Dy = Math.random() * 5;
}
if (_root.Ast2D._x >= 560) {
_root.Ast2D._x = 0;
_root.Ast2Dx = Math.random() * 10;
_root.Ast2Dy = Math.random() * 5;
}
if (_root.Ast2D._y <= -10) {
_root.Ast2D._y = 400;
_root.Ast2Dx = Math.random() * 10;
_root.Ast2Dy = Math.random() * 5;
}
if (_root.Ast2D._y >= 410) {
_root.Ast2D._y = 0;
_root.Ast2Dx = Math.random() * 10;
_root.Ast2Dy = Math.random() * 5;
}
_root.Ast2._x = -50;
_root.Ast2._y = Math.random() * 400;
}
}
function A2DroidIn() {
_root.A2DOut = "false";
_root.Ast2x = Math.random() * 10;
_root.Ast2y = Math.random() * 5;
if (_root.Ast2._x <= -10) {
_root.Ast2._x = 550;
_root.Ast2x = Math.random() * 10;
_root.Ast2y = Math.random() * 5;
}
if (_root.Ast2._x >= 560) {
_root.Ast2._x = 0;
_root.Ast2x = Math.random() * 10;
_root.Ast2y = Math.random() * 5;
}
if (_root.Ast2._y <= -10) {
_root.Ast2._y = 400;
_root.Ast2x = Math.random() * 10;
_root.Ast2y = Math.random() * 5;
}
if (_root.Ast2._y >= 410) {
_root.Ast2._y = 0;
_root.Ast2x = Math.random() * 10;
_root.Ast2y = Math.random() * 5;
}
_root.Ast2D._x = -50;
_root.Ast2D._y = Math.random() * 400;
}
function A2speed() {
if (_root.A2DOut == "false") {
_root.Ast2x = Math.random() * 10;
_root.Ast2y = Math.random() * 5;
} else {
_root.Ast2x = 0;
_root.Ast2y = 0;
}
}
function A2Dspeed() {
if (_root.A2DOut == "true") {
_root.Ast2Dx = Math.random() * 10;
_root.Ast2Dy = Math.random() * 5;
} else {
_root.Ast2Dx = 0;
_root.Ast2Dy = 0;
}
}
function TimerChoose() {
PowerupC = Math.ceil(Math.random() * 10);
if (_root.ShipS == "false") {
if (PowerupC >= 8) {
_root.powtime = Math.ceil(Math.random() * 10);
_root.WhichPU();
}
}
}
function TimeUp() {
if (_root.ShipS == "false") {
if ((_root.powtime >= 10) && (_root.PowUp == "false")) {
_root.PowUp = "true";
_root.powtime = 0;
_root.hund._x = Math.random() * 550;
_root.hund._y = Math.random() * 400;
}
}
}
function LevelIn() {
if ((_root.time == 90) && (_root.levup._y < 0)) {
_root.levup._x = Math.random() * 550;
_root.levup._y = Math.random() * 400;
}
}
function TimeOut() {
if ((_root.powouttime >= 10) && (_root.PowUp == "true")) {
_root.PowUp = "false";
_root.powouttime = 0;
_root.hund._x = 40;
_root.hund._y = -60;
_root.five._x = 120;
_root.five._y = -60;
_root.slow._x = 80;
_root.slow._y = -60;
_root.shield._x = 0;
_root.shield._y = -60;
}
}
function WhichPU() {
_root.Powerup = Math.ceil(Math.random() * 25);
if (Powerup <= 18) {
_root.PowUp = "true";
_root.hund._x = Math.random() * 550;
_root.hund._y = Math.random() * 400;
} else if (((((Powerup == 19) or (Powerup == 20)) or (Powerup == 21)) or (Powerup == 22)) or (Powerup == 23)) {
_root.PowUp = "true";
_root.five._x = Math.random() * 550;
_root.five._y = Math.random() * 400;
} else if ((Powerup == 24) or (Powerup == 25)) {
_root.PowUp = "true";
_root.slow._x = Math.random() * 550;
_root.slow._y = Math.random() * 400;
} else if (Powerup == 26) {
_root.PowUp = "true";
_root.shield._x = Math.random() * 550;
_root.shield._y = Math.random() * 400;
}
}
function Knockback() {
if (_root.Alien._x <= _root.Rocket._x) {
_root.Alien._x = _root.Alien._x - 20;
} else if (_root.Alien._x >= _root.Rocket._x) {
_root.Alien._x = _root.Alien._x + 20;
}
if (_root.Alien._y <= _root.Rocket._y) {
_root.Alien._y = _root.Alien._y - 20;
} else if (_root.Alien._y >= _root.Rocket._y) {
_root.Alien._y = _root.Alien._y + 20;
}
}
stop();
Next1 = "false";
Next2 = "false";
MPlay = "true";
LevelPow = "false";
blowup = "false";
speed = 0;
rotation = 0;
Aspeed = 7.5;
distance = Rocket._x - Alien._x;
time = 0;
powtime = 0;
powouttime = 0;
score = 0;
Ast1x = 5;
Ast1y = 3;
Ast1Dx = 0;
Ast1Dy = 0;
A1exp = "false";
A1DOut = "false";
Ast3x = 1;
Ast3y = 9;
Ast3Dx = 0;
Ast3Dy = 0;
A3exp = "false";
A3DOut = "false";
Ast2x = 3;
Ast2y = 3;
Ast2Dx = 0;
Ast2Dy = 0;
A2exp = "false";
A2DOut = "false";
DAst1Timer1 = 0;
DAst1Timer2 = 0;
DAst2Timer1 = 0;
DAst2Timer2 = 0;
DAst3Timer1 = 0;
DAst3Timer2 = 0;
Instance of Symbol 63 MovieClip in Frame 184
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
if (_root.MPlay == "true") {
_root.MPlay = "false";
_root.music.gotoAndStop("music1stop");
} else if (_root.MPlay == "false") {
_root.MPlay = "true";
_root.music.gotoAndPlay("music1");
}
}
}
Instance of Symbol 98 MovieClip "Timer" in Frame 184
/* no clip actions */
Instance of Symbol 82 MovieClip "Rocket" in Frame 184
onClipEvent (enterFrame) {
if (Key.isDown(78)) {
_root.Next1 = "true";
_root.LevelPow = "false";
_root.gotoAndStop("game3");
}
if (_root.blowup == "false") {
if (Key.isDown(38) || (Key.isDown(87))) {
_root.Rocket.Flames.play();
_root.speed = _root.speed + 0.5;
_root.Key = true;
} else {
_root.Rocket.Flames.gotoAndStop(1);
_root.Key = false;
}
}
if (_root.blowup == "false") {
if (_root.Key == false) {
if (Key.isDown(40) || (Key.isDown(83))) {
if (_root.speed <= -1) {
} else {
_root.speed = _root.speed - 0.5;
}
}
}
}
if (Math.abs(_root.speed) > 10) {
_root.speed = 10;
}
if (_root.blowup == "false") {
if (Key.isDown(37) || (Key.isDown(65))) {
_rotation = (_rotation - 7.5);
}
}
if (_root.blowup == "false") {
if (Key.isDown(39) || (Key.isDown(68))) {
_rotation = (_rotation + 7.5);
}
}
_root.speed = _root.speed * 0.989;
x = Math.sin(_rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(_rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
}
if (this._x <= -10) {
this._x = 550;
}
if (this._x >= 560) {
this._x = 0;
}
if (this._y <= -10) {
this._y = 400;
}
if (this._y >= 410) {
this._y = 0;
}
if (_root.Ast1D.AE1.DHT.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Ast1D.AE1.DHT.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Ast1D.AE1.DHT.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
}
if (_root.Ast1D.AE1.DHT.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
}
if (_root.Ast2D.AE2.DHT.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Ast2D.AE2.DHT.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Ast2D.AE2.DHT.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
}
if (_root.Ast2D.AE2.DHT.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
}
if (_root.Ast3D.AE3.DHT.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Ast3D.AE3.DHT.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Ast3D.AE3.DHT.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
}
if (_root.Ast3D.AE3.DHT.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
}
if (_root.Ast4D.AE4.DHT.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Ast4D.AE4.DHT.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Ast4D.AE4.DHT.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
}
if (_root.Ast4D.AE4.DHT.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
}
}
Instance of Symbol 106 MovieClip "hund" in Frame 184
onClipEvent (enterFrame) {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
play();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
play();
}
}
Instance of Symbol 108 MovieClip "five" in Frame 184
onClipEvent (enterFrame) {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
play();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
play();
}
}
Instance of Symbol 110 MovieClip "slow" in Frame 184
onClipEvent (enterFrame) {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
play();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
play();
}
}
Instance of Symbol 112 MovieClip "shield" in Frame 184
onClipEvent (enterFrame) {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
play();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
play();
}
}
Instance of Symbol 116 MovieClip "levup" in Frame 184
onClipEvent (enterFrame) {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
play();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
play();
}
}
Instance of Symbol 61 MovieClip "Alien" in Frame 184
onClipEvent (enterFrame) {
x = Math.sin(_rotation * (Math.PI/180)) * _root.Aspeed;
y = (Math.cos(_rotation * (Math.PI/180)) * _root.Aspeed) * -1;
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
}
if (this._x <= -30) {
this._x = 570;
}
if (this._x >= 580) {
this._x = -20;
}
if (this._y <= -30) {
this._y = 420;
}
if (this._y >= 430) {
this._y = -20;
}
if ((_root.distance < 25) || (_root.distance > -25)) {
delta_x = _x - _root.Rocket._x;
delta_y = _y - _root.Rocket._y;
this._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
if (_root.ShipS == "true") {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.Knockback();
_root.ShipS = "false";
_root.StunEnemy = "true";
_root.Aspeed = 0;
_root.Alien.nextFrame();
_root.StunTime = 3.6;
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.Knockback();
_root.ShipS = "false";
_root.StunEnemy = "true";
_root.Aspeed = 0;
_root.Alien.nextFrame();
_root.StunTime = 3.6;
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.Knockback();
_root.ShipS = "false";
_root.StunEnemy = "true";
_root.Aspeed = 0;
_root.Alien.nextFrame();
_root.StunTime = 3.6;
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.Knockback();
_root.ShipS = "false";
_root.StunEnemy = "true";
_root.Aspeed = 0;
_root.Alien.nextFrame();
_root.StunTime = 3.6;
}
} else if (_root.Alien.HT.hitTest(_root.Rocket)) {
_root.Rocket.nextFrame();
}
}
Instance of Symbol 119 MovieClip "Ast3" in Frame 184
onClipEvent (enterFrame) {
this._x = this._x + _root.Ast3x;
this._y = this._y + _root.Ast3y;
this._rotation = this._rotation + 10;
if (_root.A3DOut == "true") {
} else {
if (this._x <= -10) {
this._x = 550;
_root.A3speed();
_root.A3DroidOut();
}
if (this._x >= 560) {
this._x = 0;
_root.A3speed();
_root.A3DroidOut();
}
if (this._y <= -10) {
this._y = 400;
_root.A3speed();
_root.A3DroidOut();
}
if (this._y >= 410) {
this._y = 0;
_root.A3speed();
_root.A3DroidOut();
}
}
if (_root.ShipS == "true") {
if (_root.Rocket.Shield.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
} else {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
}
}
}
Instance of Symbol 137 MovieClip "Ast1D" in Frame 184
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.A1exp == "false") {
this._x = this._x - _root.Ast1Dx;
this._y = this._y - _root.Ast1Dy;
this._rotation = this._rotation + 10;
}
if (_root.A1DOut == "false") {
} else {
if (_root.Ast1D._x <= -10) {
_root.Ast1D._x = 550;
_root.A1Dspeed();
}
if (_root.Ast1D._x >= 560) {
_root.Ast1D._x = 0;
_root.A1Dspeed();
}
if (_root.Ast1D._y <= -10) {
_root.Ast1D._y = 400;
_root.A1Dspeed();
}
if (_root.Ast1D._y >= 410) {
_root.Ast1D._y = 0;
_root.A1Dspeed();
}
}
if (_root.ShipS == "true") {
if (_root.Rocket.Shield.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
} else {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
}
}
}
Instance of Symbol 119 MovieClip "Ast1" in Frame 184
onClipEvent (enterFrame) {
this._x = this._x - _root.Ast1x;
this._y = this._y - _root.Ast1y;
this._rotation = this._rotation + 10;
if (_root.A1DOut == "true") {
} else {
if (this._x <= -10) {
this._x = 550;
_root.A1speed();
_root.A1DroidOut();
}
if (this._x >= 560) {
this._x = 0;
_root.A1speed();
_root.A1DroidOut();
}
if (this._y <= -10) {
this._y = 400;
_root.A1speed();
_root.A1DroidOut();
}
if (this._y >= 410) {
this._y = 0;
_root.A1speed();
_root.A1DroidOut();
}
}
if (_root.ShipS == "true") {
if (_root.Rocket.Shield.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
} else {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
}
}
}
Instance of Symbol 138 MovieClip "Ast3D" in Frame 184
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.A3exp == "false") {
this._x = this._x + _root.Ast3Dx;
this._y = this._y + _root.Ast3Dy;
this._rotation = this._rotation + 10;
}
if (_root.A3DOut == "false") {
} else {
if (_root.Ast3D._x <= -10) {
_root.Ast3D._x = 550;
_root.A3Dspeed();
}
if (_root.Ast3D._x >= 560) {
_root.Ast3D._x = 0;
_root.A3Dspeed();
}
if (_root.Ast3D._y <= -10) {
_root.Ast3D._y = 400;
_root.A3Dspeed();
}
if (_root.Ast3D._y >= 410) {
_root.Ast3D._y = 0;
_root.A3Dspeed();
}
}
if (_root.ShipS == "true") {
if (_root.Rocket.Shield.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
} else {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
}
}
}
Instance of Symbol 119 MovieClip "Ast2" in Frame 184
onClipEvent (enterFrame) {
this._x = this._x - _root.Ast2x;
this._y = this._y + _root.Ast2y;
this._rotation = this._rotation + 10;
if (_root.A2DOut == "true") {
} else {
if (this._x <= -10) {
this._x = 550;
_root.A2speed();
_root.A2DroidOut();
}
if (this._x >= 560) {
this._x = 0;
_root.A2speed();
_root.A2DroidOut();
}
if (this._y <= -10) {
this._y = 400;
_root.A2speed();
_root.A2DroidOut();
}
if (this._y >= 410) {
this._y = 0;
_root.A2speed();
_root.A2DroidOut();
}
}
if (_root.ShipS == "true") {
if (_root.Rocket.Shield.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
} else {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
}
}
}
Instance of Symbol 139 MovieClip "Ast2D" in Frame 184
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.A2exp == "false") {
this._x = this._x + _root.Ast2Dx;
this._y = this._y - _root.Ast2Dy;
this._rotation = this._rotation + 10;
}
if (_root.A2DOut == "false") {
} else {
if (_root.Ast2D._x <= -10) {
_root.Ast2D._x = 550;
_root.A2Dspeed();
}
if (_root.Ast2D._x >= 560) {
_root.Ast2D._x = 0;
_root.A2Dspeed();
}
if (_root.Ast2D._y <= -10) {
_root.Ast2D._y = 400;
_root.A2Dspeed();
}
if (_root.Ast2D._y >= 410) {
_root.Ast2D._y = 0;
_root.A2Dspeed();
}
}
if (_root.ShipS == "true") {
if (_root.Rocket.Shield.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
} else {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
}
}
}
Frame 185
stop();
_root.backgrounds.gotoAndStop("bg2");
speed = 0;
rotation = 0;
Aspeed = 0;
distance = Rocket._x - Alien._x;
LevelPow = "false";
blowup = "false";
time = 90;
powtime = 0;
powouttime = 0;
score = score;
Ast1x = 0;
Ast1y = 0;
Ast3x = 0;
Ast3y = 0;
Ast4x = 0;
Ast4y = 0;
Ast5x = 0;
Ast5y = 0;
Instance of Symbol 190 MovieClip "Alien" in Frame 185
onClipEvent (enterFrame) {
x = Math.sin(_rotation * (Math.PI/180)) * _root.Aspeed;
y = (Math.cos(_rotation * (Math.PI/180)) * _root.Aspeed) * -1;
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
}
if (this._x <= -30) {
this._x = 570;
}
if (this._x >= 580) {
this._x = -20;
}
if (this._y <= -30) {
this._y = 420;
}
if (this._y >= 430) {
this._y = -20;
}
if ((_root.distance < 25) || (_root.distance > -25)) {
delta_x = _x - _root.Rocket._x;
delta_y = _y - _root.Rocket._y;
this._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
if (_root.ShipS == "true") {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.Knockback();
_root.ShipS = "false";
_root.StunEnemy = "true";
_root.Aspeed = 0;
_root.Alien.nextFrame();
_root.StunTime = 3.6;
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.Knockback();
_root.ShipS = "false";
_root.StunEnemy = "true";
_root.Aspeed = 0;
_root.Alien.nextFrame();
_root.StunTime = 3.6;
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.Knockback();
_root.ShipS = "false";
_root.StunEnemy = "true";
_root.Aspeed = 0;
_root.Alien.nextFrame();
_root.StunTime = 3.6;
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.Knockback();
_root.ShipS = "false";
_root.StunEnemy = "true";
_root.Aspeed = 0;
_root.Alien.nextFrame();
_root.StunTime = 3.6;
}
} else if (_root.Alien.HT.hitTest(_root.Rocket)) {
_root.Rocket.nextFrame();
}
}
Frame 186
_root.music.gotoAndPlay("music2");
function A1DroidOut() {
Chance = Math.ceil(Math.random() * 20);
if (Chance == 21) {
_root.A1DOut = "true";
_root.Ast1D.play();
_root.Ast1Dx = Math.random() * 10;
_root.Ast1Dy = Math.random() * 5;
if (_root.Ast1D._x <= -10) {
_root.Ast1D._x = 550;
_root.Ast1Dx = Math.random() * 10;
_root.Ast1Dy = Math.random() * 5;
}
if (_root.Ast1D._x >= 560) {
_root.Ast1D._x = 0;
_root.Ast1Dx = Math.random() * 10;
_root.Ast1Dy = Math.random() * 5;
}
if (_root.Ast1D._y <= -10) {
_root.Ast1D._y = 400;
_root.Ast1Dx = Math.random() * 10;
_root.Ast1Dy = Math.random() * 5;
}
if (_root.Ast1D._y >= 410) {
_root.Ast1D._y = 0;
_root.Ast1Dx = Math.random() * 10;
_root.Ast1Dy = Math.random() * 5;
}
_root.Ast1._x = -50;
_root.Ast1._y = Math.random() * 400;
}
}
function A1DroidIn() {
_root.A1DOut = "false";
_root.Ast1x = Math.random() * 10;
_root.Ast1y = Math.random() * 5;
if (_root.Ast1._x <= -10) {
_root.Ast1._x = 550;
_root.Ast1x = Math.random() * 10;
_root.Ast1y = Math.random() * 5;
}
if (_root.Ast1._x >= 560) {
_root.Ast1._x = 0;
_root.Ast1x = Math.random() * 10;
_root.Ast1y = Math.random() * 5;
}
if (_root.Ast1._y <= -10) {
_root.Ast1._y = 400;
_root.Ast1x = Math.random() * 10;
_root.Ast1y = Math.random() * 5;
}
if (_root.Ast1._y >= 410) {
_root.Ast1._y = 0;
_root.Ast1x = Math.random() * 10;
_root.Ast1y = Math.random() * 5;
}
_root.Ast1D._x = -50;
_root.Ast1D._y = Math.random() * 400;
}
function A1speed() {
if (_root.A1DOut == "false") {
_root.Ast1x = Math.random() * 10;
_root.Ast1y = Math.random() * 5;
} else {
_root.Ast1x = 0;
_root.Ast1y = 0;
}
}
function A1Dspeed() {
if (_root.A1DOut == "true") {
_root.Ast1Dx = Math.random() * 10;
_root.Ast1Dy = Math.random() * 5;
} else {
_root.Ast1Dx = 0;
_root.Ast1Dy = 0;
}
}
function A3DroidOut() {
Chance = Math.ceil(Math.random() * 20);
if (Chance == 21) {
_root.A3DOut = "true";
_root.Ast3D.play();
_root.Ast3Dx = Math.random() * 10;
_root.Ast3Dy = Math.random() * 5;
if (_root.Ast3D._x <= -10) {
_root.Ast3D._x = 550;
_root.Ast3Dx = Math.random() * 10;
_root.Ast3Dy = Math.random() * 5;
}
if (_root.Ast3D._x >= 560) {
_root.Ast3D._x = 0;
_root.Ast3Dx = Math.random() * 10;
_root.Ast3Dy = Math.random() * 5;
}
if (_root.Ast3D._y <= -10) {
_root.Ast3D._y = 400;
_root.Ast3Dx = Math.random() * 10;
_root.Ast3Dy = Math.random() * 5;
}
if (_root.Ast3D._y >= 410) {
_root.Ast3D._y = 0;
_root.Ast3Dx = Math.random() * 10;
_root.Ast3Dy = Math.random() * 5;
}
_root.Ast3._x = -50;
_root.Ast3._y = Math.random() * 400;
}
}
function A3DroidIn() {
_root.A3DOut = "false";
_root.Ast3x = Math.random() * 10;
_root.Ast3y = Math.random() * 5;
if (_root.Ast3._x <= -10) {
_root.Ast3._x = 550;
_root.Ast3x = Math.random() * 10;
_root.Ast3y = Math.random() * 5;
}
if (_root.Ast3._x >= 560) {
_root.Ast3._x = 0;
_root.Ast3x = Math.random() * 10;
_root.Ast3y = Math.random() * 5;
}
if (_root.Ast3._y <= -10) {
_root.Ast3._y = 400;
_root.Ast3x = Math.random() * 10;
_root.Ast3y = Math.random() * 5;
}
if (_root.Ast3._y >= 410) {
_root.Ast3._y = 0;
_root.Ast3x = Math.random() * 10;
_root.Ast3y = Math.random() * 5;
}
_root.Ast3D._x = -50;
_root.Ast3D._y = Math.random() * 400;
}
function A3speed() {
if (_root.A3DOut == "false") {
_root.Ast3x = Math.random() * 10;
_root.Ast3y = Math.random() * 5;
} else {
_root.Ast3x = 0;
_root.Ast3y = 0;
}
}
function A3Dspeed() {
if (_root.A3DOut == "true") {
_root.Ast3Dx = Math.random() * 10;
_root.Ast3Dy = Math.random() * 5;
} else {
_root.Ast3Dx = 0;
_root.Ast3Dy = 0;
}
}
function A2DroidOut() {
Chance = Math.ceil(Math.random() * 20);
if (Chance == 21) {
_root.A2DOut = "true";
_root.Ast2D.play();
_root.Ast2Dx = Math.random() * 10;
_root.Ast2Dy = Math.random() * 5;
if (_root.Ast2D._x <= -10) {
_root.Ast2D._x = 5500;
_root.Ast2Dx = Math.random() * 10;
_root.Ast2Dy = Math.random() * 5;
}
if (_root.Ast2D._x >= 560) {
_root.Ast2D._x = 0;
_root.Ast2Dx = Math.random() * 10;
_root.Ast2Dy = Math.random() * 5;
}
if (_root.Ast2D._y <= -10) {
_root.Ast2D._y = 400;
_root.Ast2Dx = Math.random() * 10;
_root.Ast2Dy = Math.random() * 5;
}
if (_root.Ast2D._y >= 410) {
_root.Ast2D._y = 0;
_root.Ast2Dx = Math.random() * 10;
_root.Ast2Dy = Math.random() * 5;
}
_root.Ast2._x = -50;
_root.Ast2._y = Math.random() * 400;
}
}
function A2DroidIn() {
_root.A2DOut = "false";
_root.Ast2x = Math.random() * 10;
_root.Ast2y = Math.random() * 5;
if (_root.Ast2._x <= -10) {
_root.Ast2._x = 550;
_root.Ast2x = Math.random() * 10;
_root.Ast2y = Math.random() * 5;
}
if (_root.Ast2._x >= 560) {
_root.Ast2._x = 0;
_root.Ast2x = Math.random() * 10;
_root.Ast2y = Math.random() * 5;
}
if (_root.Ast2._y <= -10) {
_root.Ast2._y = 400;
_root.Ast2x = Math.random() * 10;
_root.Ast2y = Math.random() * 5;
}
if (_root.Ast2._y >= 410) {
_root.Ast2._y = 0;
_root.Ast2x = Math.random() * 10;
_root.Ast2y = Math.random() * 5;
}
_root.Ast2D._x = -50;
_root.Ast2D._y = Math.random() * 400;
}
function A2speed() {
if (_root.A2DOut == "false") {
_root.Ast2x = Math.random() * 10;
_root.Ast2y = Math.random() * 5;
} else {
_root.Ast2x = 0;
_root.Ast2y = 0;
}
}
function A2Dspeed() {
if (_root.A2DOut == "true") {
_root.Ast2Dx = Math.random() * 10;
_root.Ast2Dy = Math.random() * 5;
} else {
_root.Ast2Dx = 0;
_root.Ast2Dy = 0;
}
}
function TimerChoose() {
PowerupC = Math.ceil(Math.random() * 10);
if (_root.ShipS == "false") {
if (PowerupC >= 8) {
_root.powtime = 0;
_root.WhichPU();
}
}
}
function TimeUp() {
if (_root.ShipS == "false") {
if ((_root.powtime >= 10) && (_root.PowUp == "false")) {
_root.PowUp = "true";
_root.powtime = 0;
_root.hund._x = Math.random() * 550;
_root.hund._y = Math.random() * 400;
}
}
}
function LevelIn2() {
if ((_root.time >= 180) && (_root.levup2._y < 0)) {
_root.levup2._x = Math.random() * 550;
_root.levup2._y = Math.random() * 400;
}
}
function TimeOut() {
if ((_root.powouttime >= 10) && (_root.PowUp == "true")) {
_root.PowUp = "false";
_root.powouttime = 0;
_root.hund._x = 40;
_root.hund._y = -60;
_root.five._x = 120;
_root.five._y = -60;
_root.slow._x = 80;
_root.slow._y = -60;
_root.shield._x = 0;
_root.shield._y = -60;
}
}
function WhichPU() {
_root.Powerup = Math.ceil(Math.random() * 25);
if (Powerup <= 18) {
_root.PowUp = "true";
_root.hund._x = Math.random() * 550;
_root.hund._y = Math.random() * 400;
} else if (((((Powerup == 19) or (Powerup == 20)) or (Powerup == 21)) or (Powerup == 22)) or (Powerup == 23)) {
_root.PowUp = "true";
_root.five._x = Math.random() * 550;
_root.five._y = Math.random() * 400;
} else if ((Powerup == 24) or (Powerup == 25)) {
_root.PowUp = "true";
_root.slow._x = Math.random() * 550;
_root.slow._y = Math.random() * 400;
} else if (Powerup == 26) {
_root.PowUp = "true";
_root.shield._x = Math.random() * 550;
_root.shield._y = Math.random() * 400;
}
}
function Knockback() {
if (_root.Alien._x <= _root.Rocket._x) {
_root.Alien._x = _root.Alien._x - 20;
} else if (_root.Alien._x >= _root.Rocket._x) {
_root.Alien._x = _root.Alien._x + 20;
}
if (_root.Alien._y <= _root.Rocket._y) {
_root.Alien._y = _root.Alien._y - 20;
} else if (_root.Alien._y >= _root.Rocket._y) {
_root.Alien._y = _root.Alien._y + 20;
}
}
function All() {
_root.FindDistance();
_root.ShootTongue();
}
function FindDistance() {
_root.xdistance = Rocket._x - Alien._x;
_root.ydistance = Rocket._y - Alien._y;
}
function ShootTongue() {
if (_root.shooting == "false") {
if ((_root.xdistance <= 60) && (_root.xdistance >= -60)) {
if ((_root.ydistance <= 60) && (_root.ydistance >= -60)) {
_root.shooting = "true";
_root.Alien.Tongue.play();
}
}
}
}
stop();
Next2 = "false";
_root.backgrounds.gotoAndStop("bg2");
shooting = "false";
LevelPow = "false";
blowup = "false";
StunEnemy = "false";
speed = 0;
rotation = 0;
Aspeed = 6;
distance = Rocket._x - Alien._x;
xdistance = Rocket._x - Alien._x;
ydistance = Rocket._y - Alien._y;
time = 90;
powtime = 0;
powouttime = 0;
score = score;
Ast1x = 5;
Ast1y = 3;
Ast1Dx = 0;
Ast1Dy = 0;
A1exp = "false";
A1DOut = "false";
Ast3x = 1;
Ast3y = 9;
Ast3Dx = 0;
Ast3Dy = 0;
A3exp = "false";
A3DOut = "false";
Ast2x = 3;
Ast2y = 3;
Ast2Dx = 0;
Ast2Dy = 0;
A2exp = "false";
A2DOut = "false";
DAst1Timer1 = 0;
DAst1Timer2 = 0;
DAst2Timer1 = 0;
DAst2Timer2 = 0;
DAst3Timer1 = 0;
DAst3Timer2 = 0;
Instance of Symbol 63 MovieClip in Frame 186
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
if (_root.MPlay == "true") {
_root.MPlay = "false";
_root.music.gotoAndStop("music2stop");
} else if (_root.MPlay == "false") {
_root.MPlay = "true";
_root.music.gotoAndPlay("music2");
}
}
}
Instance of Symbol 202 MovieClip "levup2" in Frame 186
onClipEvent (enterFrame) {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
play();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
play();
}
}
Instance of Symbol 82 MovieClip "Rocket" in Frame 186
onClipEvent (enterFrame) {
if (Key.isDown(78)) {
_root.Next2 = "true";
_root.LevelPow = "false";
_root.gotoAndStop("game4");
}
if (_root.blowup == "false") {
if (Key.isDown(38) || (Key.isDown(87))) {
_root.Rocket.Flames.play();
_root.speed = _root.speed + 0.5;
_root.Key = true;
} else {
_root.Rocket.Flames.gotoAndStop(1);
_root.Key = false;
}
}
if (_root.blowup == "false") {
if (_root.Key == false) {
if (Key.isDown(40) || (Key.isDown(83))) {
if (_root.speed <= -1) {
} else {
_root.speed = _root.speed - 0.5;
}
}
}
}
if (Math.abs(_root.speed) > 10) {
_root.speed = 10;
}
if (_root.blowup == "false") {
if (Key.isDown(37) || (Key.isDown(65))) {
_rotation = (_rotation - 7.5);
}
}
if (_root.blowup == "false") {
if (Key.isDown(39) || (Key.isDown(68))) {
_rotation = (_rotation + 7.5);
}
}
_root.speed = _root.speed * 0.989;
x = Math.sin(_rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(_rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
}
if (this._x <= -10) {
this._x = 550;
}
if (this._x >= 560) {
this._x = 0;
}
if (this._y <= -10) {
this._y = 400;
}
if (this._y >= 410) {
this._y = 0;
}
if (_root.ShipS == "true") {
if (_root.Alien.Tongue.TonHT.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.Knockback();
_root.ShipS = "false";
_root.StunEnemy = "true";
_root.Aspeed = 0;
_root.Alien.nextFrame();
_root.StunTime = 3.6;
}
if (_root.Alien.Tongue.TonHT.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.Knockback();
_root.ShipS = "false";
_root.StunEnemy = "true";
_root.Aspeed = 0;
_root.Alien.nextFrame();
_root.StunTime = 3.6;
}
if (_root.Alien.Tongue.TonHT.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.Knockback();
_root.ShipS = "false";
_root.StunEnemy = "true";
_root.Aspeed = 0;
_root.Alien.nextFrame();
_root.StunTime = 3.6;
}
if (_root.Alien.Tongue.TonHT.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.Knockback();
_root.ShipS = "false";
_root.StunEnemy = "true";
_root.Aspeed = 0;
_root.Alien.nextFrame();
_root.StunTime = 3.6;
}
} else {
if (_root.Alien.Tongue.TonHT.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Alien.Tongue.TonHT.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Alien.Tongue.TonHT.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
}
if (_root.Alien.Tongue.TonHT.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
}
}
}
Instance of Symbol 106 MovieClip "hund" in Frame 186
onClipEvent (enterFrame) {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
play();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
play();
}
}
Instance of Symbol 108 MovieClip "five" in Frame 186
onClipEvent (enterFrame) {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
play();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
play();
}
}
Instance of Symbol 110 MovieClip "slow" in Frame 186
onClipEvent (enterFrame) {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
play();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
play();
}
}
Instance of Symbol 112 MovieClip "shield" in Frame 186
onClipEvent (enterFrame) {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
play();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
play();
}
}
Instance of Symbol 190 MovieClip "Alien" in Frame 186
onClipEvent (enterFrame) {
x = Math.sin(_rotation * (Math.PI/180)) * _root.Aspeed;
y = (Math.cos(_rotation * (Math.PI/180)) * _root.Aspeed) * -1;
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
}
if (this._x <= -30) {
this._x = 570;
}
if (this._x >= 580) {
this._x = -20;
}
if (this._y <= -30) {
this._y = 420;
}
if (this._y >= 430) {
this._y = -20;
}
if ((_root.distance < 25) || (_root.distance > -25)) {
delta_x = _x - _root.Rocket._x;
delta_y = _y - _root.Rocket._y;
this._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
if (_root.ShipS == "true") {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.Knockback();
_root.ShipS = "false";
_root.StunEnemy = "true";
_root.Aspeed = 0;
_root.Alien.nextFrame();
_root.StunTime = 3.6;
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.Knockback();
_root.ShipS = "false";
_root.StunEnemy = "true";
_root.Aspeed = 0;
_root.Alien.nextFrame();
_root.StunTime = 3.6;
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.Knockback();
_root.ShipS = "false";
_root.StunEnemy = "true";
_root.Aspeed = 0;
_root.Alien.nextFrame();
_root.StunTime = 3.6;
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.Knockback();
_root.ShipS = "false";
_root.StunEnemy = "true";
_root.Aspeed = 0;
_root.Alien.nextFrame();
_root.StunTime = 3.6;
}
} else if (_root.Alien.HT.hitTest(_root.Rocket)) {
_root.Rocket.nextFrame();
}
}
Instance of Symbol 119 MovieClip "Ast3" in Frame 186
onClipEvent (enterFrame) {
this._x = this._x + _root.Ast3x;
this._y = this._y + _root.Ast3y;
this._rotation = this._rotation + 10;
if (_root.A3DOut == "true") {
} else {
if (this._x <= -10) {
this._x = 550;
_root.A3speed();
_root.A3DroidOut();
}
if (this._x >= 560) {
this._x = 0;
_root.A3speed();
_root.A3DroidOut();
}
if (this._y <= -10) {
this._y = 400;
_root.A3speed();
_root.A3DroidOut();
}
if (this._y >= 410) {
this._y = 0;
_root.A3speed();
_root.A3DroidOut();
}
}
if (_root.ShipS == "true") {
if (_root.Rocket.Shield.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
} else {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
}
}
}
Instance of Symbol 119 MovieClip "Ast1" in Frame 186
onClipEvent (enterFrame) {
this._x = this._x - _root.Ast1x;
this._y = this._y - _root.Ast1y;
this._rotation = this._rotation + 10;
if (_root.A1DOut == "true") {
} else {
if (this._x <= -10) {
this._x = 550;
_root.A1speed();
_root.A1DroidOut();
}
if (this._x >= 560) {
this._x = 0;
_root.A1speed();
_root.A1DroidOut();
}
if (this._y <= -10) {
this._y = 400;
_root.A1speed();
_root.A1DroidOut();
}
if (this._y >= 410) {
this._y = 0;
_root.A1speed();
_root.A1DroidOut();
}
}
if (_root.ShipS == "true") {
if (_root.Rocket.Shield.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
} else {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
}
}
}
Instance of Symbol 119 MovieClip "Ast2" in Frame 186
onClipEvent (enterFrame) {
this._x = this._x - _root.Ast2x;
this._y = this._y + _root.Ast2y;
this._rotation = this._rotation + 10;
if (_root.A2DOut == "true") {
} else {
if (this._x <= -10) {
this._x = 550;
_root.A2speed();
_root.A2DroidOut();
}
if (this._x >= 560) {
this._x = 0;
_root.A2speed();
_root.A2DroidOut();
}
if (this._y <= -10) {
this._y = 400;
_root.A2speed();
_root.A2DroidOut();
}
if (this._y >= 410) {
this._y = 0;
_root.A2speed();
_root.A2DroidOut();
}
}
if (_root.ShipS == "true") {
if (_root.Rocket.Shield.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.Rocket.Shield.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
this._x = -100;
this._y = 650;
_root.ShipS = "false";
_root.PowUp = "false";
}
} else {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
}
}
}
Frame 187
stop();
_root.backgrounds.gotoAndStop("bg3");
speed = 0;
rotation = 0;
Aspeed = 0;
distance = Rocket._x - Alien._x;
LevelPow = "false";
blowup = "false";
time = 180;
powtime = 0;
powouttime = 0;
score = score;
Ast1x = 0;
Ast1y = 0;
Ast3x = 0;
Ast3y = 0;
Ast4x = 0;
Ast4y = 0;
Ast5x = 0;
Ast5y = 0;
Instance of Symbol 221 MovieClip "Ret" in Frame 187
/* no clip actions */
Frame 188
_root.music.gotoAndPlay("music3");
function TimerChoose() {
PowerupC = Math.ceil(Math.random() * 10);
if (_root.ShipS == "false") {
if (PowerupC >= 8) {
_root.powtime = 0;
_root.WhichPU();
}
}
}
function TimeUp() {
if (_root.ShipS == "false") {
if ((_root.powtime >= 10) && (_root.PowUp == "false")) {
_root.PowUp = "true";
_root.powtime = 0;
_root.hund._x = Math.random() * 550;
_root.hund._y = Math.random() * 400;
}
}
}
function TimeOut() {
if ((_root.powouttime >= 10) && (_root.PowUp == "true")) {
_root.PowUp = "false";
_root.powouttime = 0;
_root.hund._x = 40;
_root.hund._y = -60;
_root.five._x = 120;
_root.five._y = -60;
_root.slow._x = 80;
_root.slow._y = -60;
_root.shield._x = 0;
_root.shield._y = -60;
}
}
function WhichPU() {
_root.Powerup = Math.ceil(Math.random() * 25);
if (Powerup <= 18) {
_root.PowUp = "true";
_root.hund._x = Math.random() * 550;
_root.hund._y = Math.random() * 400;
_root.Lv3r100one();
} else if (((((((Powerup == 19) or (Powerup == 20)) or (Powerup == 21)) or (Powerup == 22)) or (Powerup == 23)) or (Powerup == 24)) or (Powerup == 25)) {
_root.PowUp = "true";
_root.five._x = Math.random() * 550;
_root.five._y = Math.random() * 400;
_root.Lv3r500one();
} else if ((Powerup == 26) or (Powerup == 27)) {
_root.PowUp = "true";
_root.shield._x = Math.random() * 550;
_root.shield._y = Math.random() * 400;
_root.Lv3rShieldone();
}
}
function ShipKnockback() {
_root.speed = -10;
}
function All() {
_root.Ashoot();
_root.MovePS1();
_root.MovePS2();
_root.MovePS3();
_root.MovePS4();
_root.MovePS5();
}
function Ashoot() {
if (_root.time >= 190) {
if (_root.shooting == "false") {
if (_root.PS1 == "false") {
_root.shooting = "true";
_root.PS1spd = 8;
_root.PS1mc.gotoAndPlay("plasmamove");
} else if (_root.PS2 == "false") {
_root.shooting = "true";
_root.PS2spd = 8;
_root.PS2mc.gotoAndPlay("plasmamove2");
} else if (_root.PS3 == "false") {
_root.shooting = "true";
_root.PS3spd = 8;
_root.PS3mc.gotoAndPlay("plasmamove3");
} else if (_root.PS4 == "false") {
_root.shooting = "true";
_root.PS4spd = 8;
_root.PS4mc.gotoAndPlay("plasmamove4");
} else if (_root.PS5 == "false") {
_root.shooting = "true";
_root.PS5spd = 8;
_root.PS5mc.gotoAndPlay("plasmamove5");
}
}
}
}
function MovePS1() {
if (_rotation > 180) {
_root.PS1mc._y = _root.PS1mc._y + (_root.PS1spd * Math.cos((Math.PI/180) * _root.PS1mc._rotation));
_root.PS1mc._x = _root.PS1mc._x - (_root.PS1spd * Math.sin((Math.PI/180) * _root.PS1mc._rotation));
} else {
_root.PS1mc._y = _root.PS1mc._y - (_root.PS1spd * Math.cos((Math.PI/180) * _root.PS1mc._rotation));
_root.PS1mc._x = _root.PS1mc._x + (_root.PS1spd * Math.sin((Math.PI/180) * _root.PS1mc._rotation));
}
}
function MovePS2() {
if (_rotation > 180) {
_root.PS2mc._y = _root.PS2mc._y + (_root.PS2spd * Math.cos((Math.PI/180) * _root.PS2mc._rotation));
_root.PS2mc._x = _root.PS2mc._x - (_root.PS2spd * Math.sin((Math.PI/180) * _root.PS2mc._rotation));
} else {
_root.PS2mc._y = _root.PS2mc._y - (_root.PS2spd * Math.cos((Math.PI/180) * _root.PS2mc._rotation));
_root.PS2mc._x = _root.PS2mc._x + (_root.PS2spd * Math.sin((Math.PI/180) * _root.PS2mc._rotation));
}
}
function MovePS3() {
if (_rotation > 180) {
_root.PS3mc._y = _root.PS3mc._y + (_root.PS3spd * Math.cos((Math.PI/180) * _root.PS3mc._rotation));
_root.PS3mc._x = _root.PS3mc._x - (_root.PS3spd * Math.sin((Math.PI/180) * _root.PS3mc._rotation));
} else {
_root.PS3mc._y = _root.PS3mc._y - (_root.PS3spd * Math.cos((Math.PI/180) * _root.PS3mc._rotation));
_root.PS3mc._x = _root.PS3mc._x + (_root.PS3spd * Math.sin((Math.PI/180) * _root.PS3mc._rotation));
}
}
function MovePS4() {
if (_rotation > 180) {
_root.PS4mc._y = _root.PS4mc._y + (_root.PS4spd * Math.cos((Math.PI/180) * _root.PS4mc._rotation));
_root.PS4mc._x = _root.PS4mc._x - (_root.PS4spd * Math.sin((Math.PI/180) * _root.PS4mc._rotation));
} else {
_root.PS4mc._y = _root.PS4mc._y - (_root.PS4spd * Math.cos((Math.PI/180) * _root.PS4mc._rotation));
_root.PS4mc._x = _root.PS4mc._x + (_root.PS4spd * Math.sin((Math.PI/180) * _root.PS4mc._rotation));
}
}
function MovePS5() {
if (_rotation > 180) {
_root.PS5mc._y = _root.PS5mc._y + (_root.PS5spd * Math.cos((Math.PI/180) * _root.PS5mc._rotation));
_root.PS5mc._x = _root.PS5mc._x - (_root.PS5spd * Math.sin((Math.PI/180) * _root.PS5mc._rotation));
} else {
_root.PS5mc._y = _root.PS5mc._y - (_root.PS5spd * Math.cos((Math.PI/180) * _root.PS5mc._rotation));
_root.PS5mc._x = _root.PS5mc._x + (_root.PS5spd * Math.sin((Math.PI/180) * _root.PS5mc._rotation));
}
}
function Lv3r100one() {
if ((215 <= _root.hund._x) <= 335) {
if ((140 <= _root.hund._y) <= 260) {
_root.hund._x = Math.random() * 550;
_root.hund._y = Math.random() * 400;
_root.Lv3r100two();
}
}
}
function Lv3r100two() {
if ((215 <= _root.hund._x) <= 335) {
if ((140 <= _root.hund._y) <= 260) {
_root.hund._x = Math.random() * 550;
_root.hund._y = Math.random() * 400;
}
}
}
function Lv3r500one() {
if ((215 <= _root.five._x) <= 335) {
if ((140 <= _root.five._y) <= 260) {
_root.five._x = Math.random() * 550;
_root.five._y = Math.random() * 400;
_root.Lv3r500two();
}
}
}
function Lv3r500two() {
if ((215 <= _root.five._x) <= 335) {
if ((140 <= _root.five._y) <= 260) {
_root.five._x = Math.random() * 550;
_root.five._y = Math.random() * 400;
}
}
}
function Lv3rShieldone() {
if ((215 <= _root.shield._x) <= 335) {
if ((140 <= _root.shield._y) <= 260) {
_root.shield._x = Math.random() * 550;
_root.shield._y = Math.random() * 400;
}
}
}
function Lv3rShieldtwo() {
if ((215 <= _root.shield._x) <= 335) {
if ((140 <= _root.shield._y) <= 260) {
_root.shield._x = Math.random() * 550;
_root.shield._y = Math.random() * 400;
}
}
}
function BlackHole() {
if (((((((_root.time == 210) || (_root.time == 240)) || (_root.time == 270)) || (_root.time == 300)) || (_root.time == 330)) || (_root.time == 360)) || (_root.time == 390)) {
_root.BHLoc = Math.ceil(Math.random() * 4);
if (_root.BHLoc == 1) {
_root.BH._x = 55;
_root.BH._y = 55;
_root.BH.play();
} else if (_root.BHLoc == 2) {
_root.BH._x = 485;
_root.BH._y = 55;
_root.BH.play();
} else if (_root.BHLoc == 3) {
_root.BH._x = 55;
_root.BH._y = 335;
_root.BH.play();
} else if (_root.BHLoc == 4) {
_root.BH._x = 485;
_root.BH._y = 335;
_root.BH.play();
}
}
}
stop();
_root.backgrounds.gotoAndStop("bg3");
BHLoc = 0;
PS1spd = 0;
PS2spd = 0;
PS3spd = 0;
PS4spd = 0;
PS5spd = 0;
PS1 = "false";
PS2 = "false";
PS3 = "false";
PS4 = "false";
PS5 = "false";
shooting = "false";
LevelPow = "false";
BHstatus = "false";
blowup = "false";
speed = 0;
rotation = 0;
Aspeed = 0;
repeat = 0;
distance = Rocket._x - Alien._x;
time = 180;
powtime = 0;
powouttime = 0;
score = score;
Ast1x = 5;
Ast1y = 3;
Ast3x = 1;
Ast3y = 9;
Ast4x = 2;
Ast4y = 4;
Ast5x = 3;
Ast5y = 3;
onEnterFrame = function () {
if (_root.BHstatus == "true") {
var _local7 = (_root.Rocket._x - _root.BH._x) * (_root.Rocket._x - _root.BH._x);
var _local6 = (_root.Rocket._y - _root.BH._y) * (_root.Rocket._y - _root.BH._y);
var _local10 = _local7 + _local6;
var _local4 = Math.sqrt(_local10);
if (_local4 >= 20) {
var _local13 = _root.Rocket._x - _root.BH._x;
var _local9 = _root.Rocket._y - _root.BH._y;
var _local12 = Math.atan2(_local13, _local9);
var _local2 = 700 / _local4;
var _local8 = Math.sin(_local12);
var _local3 = _local8 * _local2;
var _local11 = (_local2 * _local2) - (_local3 * _local3);
var _local5 = Math.sqrt(_local11);
_root.Rocket._x = _root.Rocket._x - _local3;
if (_root.Rocket._y >= _root.BH._y) {
_root.Rocket._y = _root.Rocket._y - _local5;
}
if (_root.Rocket._y < _root.BH._y) {
_root.Rocket._y = _root.Rocket._y + _local5;
}
}
}
};
Instance of Symbol 63 MovieClip in Frame 188
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
if (_root.MPlay == "true") {
_root.MPlay = "false";
_root.music.gotoAndStop("music3stop");
} else if (_root.MPlay == "false") {
_root.MPlay = "true";
_root.music.gotoAndPlay("music3");
}
}
}
Instance of Symbol 82 MovieClip "Rocket" in Frame 188
onClipEvent (enterFrame) {
if (_root.blowup == "false") {
if (Key.isDown(38) || (Key.isDown(87))) {
_root.Rocket.Flames.play();
_root.speed = _root.speed + 0.5;
_root.Key = true;
} else {
_root.Rocket.Flames.gotoAndStop(1);
_root.Key = false;
}
}
if (_root.blowup == "false") {
if (_root.Key == false) {
if (Key.isDown(40) || (Key.isDown(83))) {
if (_root.speed <= -1) {
} else {
_root.speed = _root.speed - 0.5;
}
}
}
}
if (Math.abs(_root.speed) > 10) {
_root.speed = 10;
}
if (_root.blowup == "false") {
if (Key.isDown(37) || (Key.isDown(65))) {
_rotation = (_rotation - 7.5);
}
}
if (_root.blowup == "false") {
if (Key.isDown(39) || (Key.isDown(68))) {
_rotation = (_rotation + 7.5);
}
}
_root.speed = _root.speed * 0.989;
x = Math.sin(_rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(_rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
}
if (this._x <= -10) {
this._x = 550;
}
if (this._x >= 560) {
this._x = 0;
}
if (this._y <= -10) {
this._y = 400;
}
if (this._y >= 410) {
this._y = 0;
}
if (_root.ShipS == "true") {
if (_root.PS1mc.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipS = "false";
_root.PowUp = "false";
_root.PS1mc.gotoAndPlay(102);
}
if (_root.PS1mc.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipS = "false";
_root.PowUp = "false";
_root.PS1mc.gotoAndPlay(102);
}
if (_root.PS1mc.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipS = "false";
_root.PowUp = "false";
_root.PS1mc.gotoAndPlay(102);
}
if (_root.PS1mc.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipS = "false";
_root.PowUp = "false";
_root.PS1mc.gotoAndPlay(102);
}
} else {
if (_root.PS1mc.PlasHT.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
_root.PS1mc.gotoAndPlay(102);
}
if (_root.PS1mc.PlasHT.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
_root.PS1mc.gotoAndPlay(102);
}
if (_root.PS1mc.PlasHT.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
_root.PS1mc.gotoAndPlay(102);
}
if (_root.PS1mc.PlasHT.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
_root.PS1mc.gotoAndPlay(102);
}
}
if (_root.ShipS == "true") {
if (_root.PS2mc.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipS = "false";
_root.PowUp = "false";
_root.PS2mc.gotoAndPlay(102);
}
if (_root.PS2mc.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipS = "false";
_root.PowUp = "false";
_root.PS2mc.gotoAndPlay(102);
}
if (_root.PS2mc.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipS = "false";
_root.PowUp = "false";
_root.PS2mc.gotoAndPlay(102);
}
if (_root.PS2mc.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipS = "false";
_root.PowUp = "false";
_root.PS2mc.gotoAndPlay(102);
}
} else {
if (_root.PS2mc.PlasHT.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
_root.PS2mc.gotoAndPlay(102);
}
if (_root.PS2mc.PlasHT.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
_root.PS2mc.gotoAndPlay(102);
}
if (_root.PS2mc.PlasHT.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
_root.PS2mc.gotoAndPlay(102);
}
if (_root.PS2mc.PlasHT.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
_root.PS2mc.gotoAndPlay(102);
}
}
if (_root.ShipS == "true") {
if (_root.PS3mc.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipS = "false";
_root.PowUp = "false";
_root.PS3mc.gotoAndPlay(102);
}
if (_root.PS3mc.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipS = "false";
_root.PowUp = "false";
_root.PS3mc.gotoAndPlay(102);
}
if (_root.PS3mc.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipS = "false";
_root.PowUp = "false";
_root.PS3mc.gotoAndPlay(102);
}
if (_root.PS3mc.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipS = "false";
_root.PowUp = "false";
_root.PS3mc.gotoAndPlay(102);
}
} else {
if (_root.PS3mc.PlasHT.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
_root.PS3mc.gotoAndPlay(102);
}
if (_root.PS3mc.PlasHT.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
_root.PS3mc.gotoAndPlay(102);
}
if (_root.PS3mc.PlasHT.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
_root.PS3mc.gotoAndPlay(102);
}
if (_root.PS3mc.PlasHT.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
_root.PS3mc.gotoAndPlay(102);
}
}
if (_root.ShipS == "true") {
if (_root.PS4mc.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipS = "false";
_root.PowUp = "false";
_root.PS4mc.gotoAndPlay(102);
}
if (_root.PS4mc.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipS = "false";
_root.PowUp = "false";
_root.PS4mc.gotoAndPlay(102);
}
if (_root.PS4mc.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipS = "false";
_root.PowUp = "false";
_root.PS4mc.gotoAndPlay(102);
}
if (_root.PS4mc.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipS = "false";
_root.PowUp = "false";
_root.PS4mc.gotoAndPlay(102);
}
} else {
if (_root.PS4mc.PlasHT.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
_root.PS4mc.gotoAndPlay(102);
}
if (_root.PS4mc.PlasHT.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
_root.PS4mc.gotoAndPlay(102);
}
if (_root.PS4mc.PlasHT.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
_root.PS4mc.gotoAndPlay(102);
}
if (_root.PS4mc.PlasHT.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
_root.PS4mc.gotoAndPlay(102);
}
}
if (_root.ShipS == "true") {
if (_root.PS5mc.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipS = "false";
_root.PowUp = "false";
_root.PS5mc.gotoAndPlay(102);
}
if (_root.PS5mc.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipS = "false";
_root.PowUp = "false";
_root.PS5mc.gotoAndPlay(102);
}
if (_root.PS5mc.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipS = "false";
_root.PowUp = "false";
_root.PS5mc.gotoAndPlay(102);
}
if (_root.PS5mc.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipS = "false";
_root.PowUp = "false";
_root.PS5mc.gotoAndPlay(102);
}
} else {
if (_root.PS5mc.PlasHT.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
_root.PS5mc.gotoAndPlay(102);
}
if (_root.PS5mc.PlasHT.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
_root.PS5mc.gotoAndPlay(102);
}
if (_root.PS5mc.PlasHT.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
_root.PS5mc.gotoAndPlay(102);
}
if (_root.PS5mc.PlasHT.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
_root.PS5mc.gotoAndPlay(102);
}
}
if (_root.ShipS == "true") {
if (_root.FP.FHT.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipKnockback();
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.FP.FHT.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipKnockback();
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.FP.FHT.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipKnockback();
_root.ShipS = "false";
_root.PowUp = "false";
}
if (_root.FP.FHT.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.ShipKnockback();
_root.ShipS = "false";
_root.PowUp = "false";
}
} else {
if (_root.FP.FHT.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.FP.FHT.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.FP.FHT.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
}
if (_root.FP.FHT.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
}
}
}
Instance of Symbol 106 MovieClip "hund" in Frame 188
onClipEvent (enterFrame) {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
play();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
play();
}
}
Instance of Symbol 108 MovieClip "five" in Frame 188
onClipEvent (enterFrame) {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
play();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
play();
}
}
Instance of Symbol 110 MovieClip "slow" in Frame 188
onClipEvent (enterFrame) {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
play();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
play();
}
}
Instance of Symbol 112 MovieClip "shield" in Frame 188
onClipEvent (enterFrame) {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
play();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
play();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
play();
}
}
Instance of Symbol 243 MovieClip "PS1mc" in Frame 188
onClipEvent (enterFrame) {
if (this._x <= -10) {
this._x = 550;
}
if (this._x >= 560) {
this._x = 0;
}
if (this._y <= -10) {
this._y = 400;
}
if (this._y >= 410) {
this._y = 0;
}
}
Instance of Symbol 244 MovieClip "PS2mc" in Frame 188
onClipEvent (enterFrame) {
if (this._x <= -10) {
this._x = 550;
}
if (this._x >= 560) {
this._x = 0;
}
if (this._y <= -10) {
this._y = 400;
}
if (this._y >= 410) {
this._y = 0;
}
}
Instance of Symbol 245 MovieClip "PS3mc" in Frame 188
onClipEvent (enterFrame) {
if (this._x <= -10) {
this._x = 550;
}
if (this._x >= 560) {
this._x = 0;
}
if (this._y <= -10) {
this._y = 400;
}
if (this._y >= 410) {
this._y = 0;
}
}
Instance of Symbol 246 MovieClip "PS4mc" in Frame 188
onClipEvent (enterFrame) {
if (this._x <= -10) {
this._x = 550;
}
if (this._x >= 560) {
this._x = 0;
}
if (this._y <= -10) {
this._y = 400;
}
if (this._y >= 410) {
this._y = 0;
}
}
Instance of Symbol 213 MovieClip "Alien" in Frame 188
onClipEvent (enterFrame) {
x = Math.sin(_rotation * (Math.PI/180)) * _root.Aspeed;
y = (Math.cos(_rotation * (Math.PI/180)) * _root.Aspeed) * -1;
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
}
if ((_root.distance < 25) || (_root.distance > -25)) {
delta_x = _x - _root.Rocket._x;
delta_y = _y - _root.Rocket._y;
this._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
}
}
Instance of Symbol 219 MovieClip "FP" in Frame 188
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 221 MovieClip "Ret" in Frame 188
onClipEvent (enterFrame) {
x = Math.sin(_rotation * (Math.PI/180)) * _root.Aspeed;
y = (Math.cos(_rotation * (Math.PI/180)) * _root.Aspeed) * -1;
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
}
if ((_root.distance < 25) || (_root.distance > -25)) {
delta_x = _x - _root.Rocket._x;
delta_y = _y - _root.Rocket._y;
this._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Instance of Symbol 247 MovieClip "PS5mc" in Frame 188
onClipEvent (enterFrame) {
if (this._x <= -10) {
this._x = 550;
}
if (this._x >= 560) {
this._x = 0;
}
if (this._y <= -10) {
this._y = 400;
}
if (this._y >= 410) {
this._y = 0;
}
}
Frame 189
stop();
Fscore = Number(time) * Number(score);
playernombre = "Enter Name";
stopAllSounds();
Frame 190
stop();
Frame 191
stop();
stopAllSounds();
Frame 192
stop();
Symbol 13 MovieClip Frame 1
stop();
Symbol 13 MovieClip Frame 2
stop();
Symbol 16 Button
on (release) {
gotoAndPlay ("intro");
}
Symbol 19 Button
on (release) {
getURL ("http://www.rubbertaco.com", "_blank");
}
Symbol 27 Button
on (release) {
gotoAndPlay ("game2");
PowUp = "false";
}
Symbol 28 Button
on (release) {
gotoAndPlay ("instructions");
}
Symbol 30 Button
on (release) {
gotoAndPlay ("credits");
}
Symbol 31 Button
on (release) {
gotoAndPlay ("game");
PowUp = "false";
}
Symbol 32 Button
on (release) {
gotoAndPlay ("game2");
PowUp = "false";
}
Symbol 33 Button
on (release) {
gotoAndPlay ("game2");
_root.PowUp = "false";
_root.ShipS = "false";
MPlay = "true";
LevelPow = "false";
blowup = "false";
speed = 0;
rotation = 0;
Aspeed = 7.5;
distance = Rocket._x - Alien._x;
time = 0;
powtime = 0;
powouttime = 0;
score = 0;
Ast1x = 5;
Ast1y = 3;
Ast1Dx = 0;
Ast1Dy = 0;
A1exp = "false";
A1DOut = "false";
Ast3x = 1;
Ast3y = 9;
Ast3Dx = 0;
Ast3Dy = 0;
A3exp = "false";
A3DOut = "false";
Ast4x = 2;
Ast4y = 4;
Ast4Dx = 0;
Ast4Dy = 0;
A4exp = "false";
A4DOut = "false";
Ast2x = 3;
Ast2y = 3;
Ast2Dx = 0;
Ast2Dy = 0;
A2exp = "false";
A2DOut = "false";
DAst1Timer1 = 0;
DAst1Timer2 = 0;
DAst2Timer1 = 0;
DAst2Timer2 = 0;
DAst3Timer1 = 0;
DAst3Timer2 = 0;
DAst4Timer1 = 0;
DAst4Timer2 = 0;
}
Symbol 34 Button
on (release) {
gotoAndPlay ("instructions");
}
Symbol 35 Button
on (release) {
getURL ("http://www.rubbertaco.com/games/GraagFinal/highscores", "_blank");
}
Symbol 36 Button
on (release) {
gotoAndPlay ("credits");
}
Symbol 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 2
stop();
Symbol 43 MovieClip Frame 3
stop();
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 2
stop();
Symbol 61 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 1
if (Key.isDown(32)) {
_root.stopAllSounds();
}
Symbol 66 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 13
gotoAndPlay ("engine");
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 2
_root.PowUp = "true";
Instance of Symbol 70 MovieClip in Symbol 74 MovieClip Frame 2
/* no clip actions */
Symbol 74 MovieClip Frame 79
gotoAndPlay ("fade");
Symbol 74 MovieClip Frame 81
gotoAndPlay ("fade");
Symbol 74 MovieClip Frame 86
gotoAndStop ("shieldoff");
_root.PowUp = "false";
Symbol 79 MovieClip Frame 42
stop();
Symbol 81 MovieClip Frame 55
_root.gotoAndStop("gameover");
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 2
stop();
_root.music.gotoAndStop("music1stop");
_root.blowup = "true";
_root.speed = 0;
_root.Aspeed = 0;
_root.powtime = 0;
_root.Ast1x = 0;
_root.Ast1y = 0;
_root.Ast3x = 0;
_root.Ast3y = 0;
_root.Ast4x = 0;
_root.Ast4y = 0;
_root.Ast2x = 0;
_root.Ast2y = 0;
Ast1x = 0;
Ast1y = 0;
Ast1Dx = 0;
Ast1Dy = 0;
_root.Ast1D.stop();
A1exp = "false";
A1DOut = "false";
Ast3x = 0;
Ast3y = 0;
Ast3Dx = 0;
Ast3Dy = 0;
_root.Ast1D.stop();
A3exp = "false";
A3DOut = "false";
Ast4x = 0;
Ast4y = 0;
Ast4Dx = 0;
Ast4Dy = 0;
_root.Ast1D.stop();
A4exp = "false";
A4DOut = "false";
Ast2x = 0;
Ast2y = 0;
Ast2Dx = 0;
Ast2Dy = 0;
_root.Ast1D.stop();
A2exp = "false";
A2DOut = "false";
DAst1Timer1 = 0;
DAst1Timer2 = 0;
DAst2Timer1 = 0;
DAst2Timer2 = 0;
DAst3Timer1 = 0;
DAst3Timer2 = 0;
DAst4Timer1 = 0;
DAst4Timer2 = 0;
_root.Timer.gotoAndStop(2);
_root.Timer2.gotoAndStop(2);
_root.Timer3.gotoAndStop(2);
_root.stopAllSounds();
Symbol 96 MovieClip Frame 48
_root.gotoAndPlay("game2");
Symbol 98 MovieClip Frame 4
_root.score = _root.score + 1;
Symbol 98 MovieClip Frame 8
_root.score = _root.score + 1;
Symbol 98 MovieClip Frame 12
_root.score = _root.score + 1;
if (_root.StunEnemy == "true") {
if (_root.StunTime > 0) {
_root.StunTime = _root.StunTime - 0.6;
} else if (_root.StunTime <= 0) {
_root.StunEnemy = "false";
_root.Alien.gotoAndStop(1);
_root.Aspeed = 7.5;
_root.PowUp = "false";
}
}
Symbol 98 MovieClip Frame 16
_root.score = _root.score + 1;
Symbol 98 MovieClip Frame 20
if (_root.LevelPow == "false") {
_root.time = _root.time + 1;
}
if ((_root.time >= 90) && (_root.LevelPow == "false")) {
_root.LevelPow = "true";
_root.powouttime = 10;
_root.PowUp == "true";
_root.TimeOut();
_root.PowUp == "true";
_root.LevelIn();
}
if (_root.LevelPow == "false") {
if (_root.PowUp == "false") {
_root.powtime = _root.powtime + 1;
_root.TimeUp();
}
}
if (_root.LevelPow == "false") {
if (_root.PowUp == "true") {
_root.powouttime = _root.powouttime + 1;
_root.TimeOut();
}
}
_root.score = _root.score + 1;
if (_root.LevelPow == "false") {
if (_root.PowUp == "false") {
_root.TimerChoose();
}
}
if (_root.SlowEnemy == "true") {
if (_root.SlowTime > 0) {
_root.SlowTime = _root.SlowTime - 1;
} else if (_root.SlowTime <= 0) {
_root.SlowEnemy = "false";
_root.Aspeed = 7.5;
_root.PowUp = "false";
}
}
gotoAndPlay (1);
Symbol 106 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 5
gotoAndStop ("100");
_root.powtime = 0;
_root.powouttime = 0;
if (_root.blowup == "false") {
_root.score = _root.score + 100;
}
_root.hund._x = 40;
_root.hund._y = -60;
_root.PowUp = "false";
Symbol 108 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 5
gotoAndStop ("500");
_root.powtime = 0;
_root.powouttime = 0;
if (_root.blowup == "false") {
_root.score = _root.score + 500;
}
_root.five._x = 120;
_root.five._y = -60;
_root.PowUp = "false";
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 5
gotoAndStop ("slow");
_root.powtime = 0;
_root.powouttime = 0;
if (_root.blowup == "false") {
_root.SlowEnemy = "true";
_root.Aspeed = 3;
_root.SlowTime = 10;
}
_root.slow._x = 120;
_root.slow._y = -60;
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 5
gotoAndStop ("shield");
_root.powtime = 0;
_root.powouttime = 0;
if (_root.blowup == "false") {
_root.ShipS = "true";
_root.Rocket.Shield.gotoAndPlay("shield");
}
_root.shield._x = 0;
_root.shield._y = -60;
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 5
gotoAndStop ("level");
_root.levup._x = 160;
_root.levup._y = -60;
if (_root.blowup == "false") {
_root.LevelPow = "false";
_root.gotoAndStop("intro2");
}
Instance of Symbol 134 MovieClip in Symbol 136 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
}
}
Symbol 137 MovieClip Frame 10
if (_root.DAst1Timer1 < 3) {
_root.DAst1Timer1 = _root.DAst1Timer1 + 1;
gotoAndPlay ("blue");
} else {
gotoAndPlay ("red");
}
Symbol 137 MovieClip Frame 15
if (_root.DAst1Timer2 < 2) {
_root.DAst1Timer2 = _root.DAst1Timer2 + 1;
gotoAndPlay ("red");
} else {
gotoAndPlay ("aexplosion");
}
Symbol 137 MovieClip Frame 17
_root.A1exp = "true";
Symbol 137 MovieClip Frame 58
gotoAndStop ("blue");
_root.A1exp = "false";
_root.A1DroidIn();
A1DOut = "false";
_root.DAst1Timer1 = 0;
_root.DAst1Timer2 = 0;
Symbol 138 MovieClip Frame 10
if (_root.DAst3Timer1 < 3) {
_root.DAst3Timer1 = _root.DAst3Timer1 + 1;
gotoAndPlay ("blue");
} else {
gotoAndPlay ("red");
}
Symbol 138 MovieClip Frame 15
if (_root.DAst3Timer2 < 2) {
_root.DAst3Timer2 = _root.DAst3Timer2 + 1;
gotoAndPlay ("red");
} else {
gotoAndPlay ("aexplosion");
}
Symbol 138 MovieClip Frame 17
_root.A3exp = "true";
Symbol 138 MovieClip Frame 58
gotoAndStop ("blue");
_root.A3exp = "false";
_root.A3DroidIn();
A3DOut = "false";
_root.DAst3Timer1 = 0;
_root.DAst3Timer2 = 0;
Symbol 139 MovieClip Frame 10
if (_root.DAst2Timer1 < 3) {
_root.DAst2Timer1 = _root.DAst2Timer1 + 1;
gotoAndPlay ("blue");
} else {
gotoAndPlay ("red");
}
Symbol 139 MovieClip Frame 15
if (_root.DAst2Timer2 < 2) {
_root.DAst2Timer2 = _root.DAst2Timer2 + 1;
gotoAndPlay ("red");
} else {
gotoAndPlay ("aexplosion");
}
Symbol 139 MovieClip Frame 17
_root.A2exp = "true";
Symbol 139 MovieClip Frame 58
gotoAndStop ("blue");
_root.A2exp = "false";
_root.A2DroidIn();
A2DOut = "false";
_root.DAst2Timer1 = 0;
_root.DAst2Timer2 = 0;
Symbol 144 MovieClip Frame 3640
gotoAndPlay ("music1");
Symbol 144 MovieClip Frame 3641
stop();
Symbol 144 MovieClip Frame 6788
gotoAndPlay ("music2");
Symbol 144 MovieClip Frame 6789
stop();
Symbol 144 MovieClip Frame 10135
gotoAndPlay ("music3");
Symbol 144 MovieClip Frame 10136
stop();
Symbol 152 MovieClip Frame 1
stop();
Instance of Symbol 146 MovieClip "TonHT" in Symbol 152 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.ShipS == "true") {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.Knockback();
_root.ShipS = "false";
_root.StunEnemy = "true";
_root.Aspeed = 0;
_root.Alien.nextFrame();
_root.StunTime = 3.6;
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.Knockback();
_root.ShipS = "false";
_root.StunEnemy = "true";
_root.Aspeed = 0;
_root.Alien.nextFrame();
_root.StunTime = 3.6;
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.Knockback();
_root.ShipS = "false";
_root.StunEnemy = "true";
_root.Aspeed = 0;
_root.Alien.nextFrame();
_root.StunTime = 3.6;
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.Shield.gotoAndPlay(83);
_root.Knockback();
_root.ShipS = "false";
_root.StunEnemy = "true";
_root.Aspeed = 0;
_root.Alien.nextFrame();
_root.StunTime = 3.6;
}
} else {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Rocket.nextFrame();
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Rocket.nextFrame();
}
}
}
Symbol 152 MovieClip Frame 11
gotoAndStop ("TonIdle");
_root.shooting = "false";
Symbol 190 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 2
_root.shooting = "false";
Symbol 200 MovieClip Frame 33
_root.score = _root.score + 5000;
Symbol 200 MovieClip Frame 70
_root.SL2.gotoAndPlay("countdown22");
Symbol 201 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 49
_root.nextFrame();
_root.music.gotoAndPlay("music2");
Symbol 202 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 5
gotoAndStop ("level");
_root.levup2._x = 160;
_root.levup2._y = -60;
_root.LevelPow = "false";
_root.gotoAndStop("intro3");
Symbol 204 MovieClip Frame 1
_root.All();
Symbol 204 MovieClip Frame 2
_root.All();
Symbol 204 MovieClip Frame 3
_root.All();
Symbol 204 MovieClip Frame 4
_root.score = _root.score + 2;
_root.All();
Symbol 204 MovieClip Frame 5
_root.All();
Symbol 204 MovieClip Frame 6
_root.All();
Symbol 204 MovieClip Frame 7
_root.All();
Symbol 204 MovieClip Frame 8
_root.score = _root.score + 2;
_root.All();
Symbol 204 MovieClip Frame 9
_root.All();
Symbol 204 MovieClip Frame 10
_root.All();
Symbol 204 MovieClip Frame 11
_root.All();
Symbol 204 MovieClip Frame 12
_root.score = _root.score + 2;
if (_root.StunEnemy == "true") {
if (_root.StunTime > 0) {
_root.StunTime = _root.StunTime - 0.6;
} else if (_root.StunTime <= 0) {
_root.StunEnemy = "false";
_root.Alien.gotoAndStop(1);
_root.Aspeed = 6;
_root.PowUp = "false";
}
}
_root.All();
Symbol 204 MovieClip Frame 13
_root.All();
Symbol 204 MovieClip Frame 14
_root.All();
Symbol 204 MovieClip Frame 15
_root.All();
Symbol 204 MovieClip Frame 16
_root.score = _root.score + 2;
_root.All();
Symbol 204 MovieClip Frame 17
_root.All();
Symbol 204 MovieClip Frame 18
_root.All();
Symbol 204 MovieClip Frame 19
_root.All();
Symbol 204 MovieClip Frame 20
_root.All();
if (_root.LevelPow == "false") {
_root.time = _root.time + 1;
}
if (_root.time == 90) {
_root.LevelPow = "true";
_root.powouttime = 10;
_root.PowUp == "true";
_root.TimeOut();
_root.PowUp == "true";
_root.LevelIn2();
}
if (_root.ShipS == "false") {
if (_root.PowUp == "false") {
_root.powtime = _root.powtime + 1;
_root.TimeUp();
}
}
if (_root.ShipS == "false") {
if (_root.PowUp == "true") {
_root.powouttime = _root.powouttime + 1;
_root.TimeOut();
}
}
_root.score = _root.score + 2;
if (_root.LevelPow == "false") {
if (_root.PowUp == "false") {
_root.TimerChoose();
}
}
if (_root.SlowEnemy == "true") {
if (_root.SlowTime > 0) {
_root.SlowTime = _root.SlowTime - 1;
} else if (_root.SlowTime <= 0) {
_root.SlowEnemy = "false";
_root.Aspeed = 6;
_root.PowUp = "false";
}
}
gotoAndPlay (1);
Symbol 229 MovieClip Frame 33
_root.score = _root.score + 10000;
Symbol 229 MovieClip Frame 70
_root.SL3.gotoAndPlay("countdown3");
Symbol 230 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 49
_root.nextFrame();
Symbol 234 MovieClip Frame 1
stop();
BlackHrep = 0;
Symbol 234 MovieClip Frame 6
_root.BHstatus = "true";
Symbol 234 MovieClip Frame 40
if (BlackHrep < 5) {
BlackHrep = BlackHrep + 1;
gotoAndPlay ("Spin");
} else {
gotoAndPlay ("Cont");
_root.BHstatus = "false";
BlackHrep = 0;
}
Symbol 234 MovieClip Frame 45
_root.BH._x = -50;
_root.BH._y = -50;
gotoAndStop ("Stop");
Symbol 236 MovieClip Frame 1
_root.All();
Symbol 236 MovieClip Frame 2
_root.All();
Symbol 236 MovieClip Frame 3
_root.All();
Symbol 236 MovieClip Frame 4
_root.score = _root.score + 3;
_root.All();
Symbol 236 MovieClip Frame 5
_root.All();
Symbol 236 MovieClip Frame 6
_root.All();
Symbol 236 MovieClip Frame 7
_root.All();
Symbol 236 MovieClip Frame 8
_root.score = _root.score + 3;
_root.All();
Symbol 236 MovieClip Frame 9
_root.All();
Symbol 236 MovieClip Frame 10
_root.All();
Symbol 236 MovieClip Frame 11
_root.All();
Symbol 236 MovieClip Frame 12
_root.score = _root.score + 3;
_root.All();
Symbol 236 MovieClip Frame 13
_root.All();
Symbol 236 MovieClip Frame 14
_root.All();
Symbol 236 MovieClip Frame 15
_root.All();
Symbol 236 MovieClip Frame 16
_root.score = _root.score + 3;
_root.All();
Symbol 236 MovieClip Frame 17
_root.All();
Symbol 236 MovieClip Frame 18
_root.All();
Symbol 236 MovieClip Frame 19
_root.All();
Symbol 236 MovieClip Frame 20
_root.All();
_root.BlackHole();
if (_root.LevelPow == "false") {
_root.time = _root.time + 1;
}
if (_root.time >= 400) {
_root.LevelPow = "true";
_root.powouttime = 10;
_root.PowUp == "true";
_root.TimeOut();
_root.PowUp == "true";
_root.LevelIn();
}
if (_root.ShipS == "false") {
if (_root.PowUp == "false") {
_root.powtime = _root.powtime + 1;
_root.TimeUp();
}
}
if (_root.ShipS == "false") {
if (_root.PowUp == "true") {
_root.powouttime = _root.powouttime + 1;
_root.TimeOut();
}
}
_root.score = _root.score + 3;
if (_root.ShipS == "false") {
if (_root.PowUp == "false") {
_root.TimerChoose();
}
}
gotoAndPlay (1);
Symbol 243 MovieClip Frame 1
stop();
_root.PS1 = "false";
Instance of Symbol 238 MovieClip "PlasHT" in Symbol 243 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Hit = "true";
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Hit = "true";
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Hit = "true";
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Hit = "true";
}
}
Symbol 243 MovieClip Frame 2
_root.PS1 = "true";
this._rotation = _root.Ret._rotation;
this._x = _root.Ret._x;
this._y = _root.Ret._y;
Symbol 243 MovieClip Frame 8
_root.shooting = "false";
Symbol 243 MovieClip Frame 102
gotoAndStop ("plasmaidle");
PS1spd = 0;
_x = _root.Alien._x;
_y = _root.Alien._y;
_rotation = _root.Alien._rotation;
Symbol 244 MovieClip Frame 1
stop();
_root.PS2 = "false";
Instance of Symbol 238 MovieClip "PlasHT" in Symbol 244 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Hit = "true";
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Hit = "true";
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Hit = "true";
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Hit = "true";
}
}
Symbol 244 MovieClip Frame 2
_root.PS2 = "true";
this._rotation = _root.Ret._rotation;
this._x = _root.Ret._x;
this._y = _root.Ret._y;
Symbol 244 MovieClip Frame 8
_root.shooting = "false";
Symbol 244 MovieClip Frame 102
gotoAndStop ("plasmaidle2");
PS2spd = 0;
_x = _root.Alien._x;
_y = _root.Alien._y;
_rotation = _root.Alien._rotation;
Symbol 245 MovieClip Frame 1
stop();
_root.PS3 = "false";
Instance of Symbol 238 MovieClip "PlasHT" in Symbol 245 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Hit = "true";
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Hit = "true";
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Hit = "true";
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Hit = "true";
}
}
Symbol 245 MovieClip Frame 2
_root.PS3 = "true";
this._rotation = _root.Ret._rotation;
this._x = _root.Ret._x;
this._y = _root.Ret._y;
Symbol 245 MovieClip Frame 8
_root.shooting = "false";
Symbol 245 MovieClip Frame 102
gotoAndStop ("plasmaidle3");
PS3spd = 0;
_x = _root.Alien._x;
_y = _root.Alien._y;
_rotation = _root.Alien._rotation;
Symbol 246 MovieClip Frame 1
stop();
_root.PS4 = "false";
Instance of Symbol 238 MovieClip "PlasHT" in Symbol 246 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Hit = "true";
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Hit = "true";
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Hit = "true";
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Hit = "true";
}
}
Symbol 246 MovieClip Frame 2
_root.PS4 = "true";
this._rotation = _root.Ret._rotation;
this._x = _root.Ret._x;
this._y = _root.Ret._y;
Symbol 246 MovieClip Frame 8
_root.shooting = "false";
Symbol 246 MovieClip Frame 102
gotoAndStop ("plasmaidle4");
PS4spd = 0;
_x = _root.Alien._x;
_y = _root.Alien._y;
_rotation = _root.Alien._rotation;
Symbol 247 MovieClip Frame 1
stop();
_root.PS5 = "false";
Instance of Symbol 238 MovieClip "PlasHT" in Symbol 247 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Rocket.hitTest(getBounds(_root).xMax, _y, true)) {
_root.Hit = "true";
}
if (_root.Rocket.hitTest(getBounds(_root).xMin, _y, true)) {
_root.Hit = "true";
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMax, true)) {
_root.Hit = "true";
}
if (_root.Rocket.hitTest(_x, getBounds(_root).yMin, true)) {
_root.Hit = "true";
}
}
Symbol 247 MovieClip Frame 2
_root.PS5 = "true";
this._rotation = _root.Ret._rotation;
this._x = _root.Ret._x;
this._y = _root.Ret._y;
Symbol 247 MovieClip Frame 8
_root.shooting = "false";
Symbol 247 MovieClip Frame 102
gotoAndStop ("plasmaidle5");
PS5spd = 0;
_x = _root.Alien._x;
_y = _root.Alien._y;
_rotation = _root.Alien._rotation;
Symbol 271 Button
on (release) {
gotoAndPlay ("menu2");
}
Symbol 273 Button
on (release) {
if ((_root.Next1 == "false") && (_root.Next2 == "false")) {
if (((_root.playernombre == "Enter Name") || (_root.playernombre == "YOU MUST ENTER A NAME")) || (_root.playernombre == "")) {
_root.playernombre = "YOU MUST ENTER A NAME";
} else {
lo = new LoadVars();
so = new LoadVars();
so.score = _root.Fscore;
so.hsname = _root.playernombre;
so.gamename = "GraagFinal";
lo.onLoad = function (success) {
if (success && (this.stat == "ok")) {
getURL (("http://www.rubbertaco.com/games/" + so.gamename) + "/highscores", "_blank");
} else {
getURL (("http://www.rubbertaco.com/games/" + so.gamename) + "/highscores", "_blank");
}
};
so.sendAndLoad("http://www.rubbertaco.com/highscores/hsa.php", lo, "post");
gotoAndStop ("menu2");
}
}
}
Symbol 287 Button
on (release) {
gotoAndPlay ("menu2");
}
Symbol 288 Button
on (release) {
getURL ("http://www.rubbertaco.com", "_blank");
}
Symbol 296 Button
on (release) {
gotoAndPlay ("menu2");
}
Symbol 298 Button
on (release) {
gotoAndStop ("second");
}
Symbol 303 MovieClip Frame 10
gotoAndPlay ("blue");
gotoAndPlay ("blue");
gotoAndPlay ("blue");
Symbol 303 MovieClip Frame 15
gotoAndPlay ("red");
gotoAndPlay ("red");
gotoAndPlay ("red");