Frame 1
function reset() {
_root.b = 0;
_root.i = 0;
_root.d = 0;
_root.c = 4;
_root.p = 0;
_root.time = 0;
_root.score = 0;
_root.level = 1;
_root.lives = 2;
_root.gametimeenabled = false;
_root.timeenabled = false;
_root.pup = false;
_root.powupout = false;
_root.pfade = false;
_root.fade = false;
_root.hitready = true;
_root.ship.dead = false;
_root.levelout = false;
_root.alien.speed = 0;
_root.ship.rspeed = 0;
_root.ship.speed = 0;
_root.countdown._alpha = 100;
while (i <= 3) {
_root["d" + i] = false;
_root["asteroid" + i]._y = 365;
_root["asteroid" + i]._x = 17;
_root["asteroid" + i]._alpha = 0;
_root["asteroid" + _root.i].asteroidx = 0;
_root["asteroid" + _root.i].asteroidy = 0;
i++;
}
}
function levelreset() {
_root.b = 0;
_root.i = 0;
_root.d = 0;
_root.c = 4;
_root.p = 0;
_root.gametimeenabled = false;
_root.timeenabled = false;
_root.pup = false;
_root.powupout = false;
_root.pfade = false;
_root.fade = false;
_root.hitready = true;
_root.ship.dead = false;
_root.levelout = false;
_root.alien.speed = 0;
_root.ship.rspeed = 0;
_root.ship.speed = 0;
_root.countdown._alpha = 100;
while (i <= 3) {
_root["d" + i] = false;
_root["asteroid" + i]._y = 365;
_root["asteroid" + i]._x = 17;
_root["asteroid" + i]._alpha = 0;
_root["asteroid" + _root.i].asteroidx = 0;
_root["asteroid" + _root.i].asteroidy = 0;
i++;
}
}
var b = 0;
var i = 0;
var c = 4;
var d = 0;
var p = 0;
var difficulty = 1;
var time = 0;
var score = 0;
var level = 1;
var lives = 2;
var gametimeenabled = false;
var timeenabled = false;
var fade = false;
var pfade = false;
var d1 = false;
var d2 = false;
var d3 = false;
var hitready = true;
var powupout = false;
var pup = false;
var levelout = false;
function firstframetimer() {
if (_root.gametimeenabled) {
_root.score = _root.score + (_root.level * _root.difficulty);
}
}
function secondframetimer() {
if (_root.gametimeenabled) {
_root.score = _root.score + (_root.level * _root.difficulty);
}
}
function thirdframetimer() {
if (_root.gametimeenabled) {
_root.score = _root.score + (_root.level * _root.difficulty);
}
}
function lastframetimer() {
_root.timer();
_root.gametimer();
}
function gametimer() {
if (_root.gametimeenabled) {
_root.randompow();
if (!_root.levelout) {
_root.time = _root.time + 1;
_root.levcheck();
_root.score = _root.score + (_root.level * _root.difficulty);
}
}
}
function beginLevel() {
_root.initPowerups();
_root.initAsteroid();
_root.startAsteroid();
if (_root.level == 1) {
_root.lvl1.start(0, 999);
_root.ship.mplaying = true;
_root.alien.speed = 7.2;
} else if (_root.level == 2) {
_root.lvl2.start(0, 999);
_root.ship.mplaying = true;
_root.alien.speed = 5;
} else {
_root.lvl3.start(0, 999);
_root.ship.mplaying = true;
}
_root.ship.speed = 0;
_root.ship.rspeed = 7.5;
}
function nextlevel() {
if (_root.level < 3) {
var _local2 = _root.level + 1;
_root.level = _local2;
_root.gotoAndStop(["level" + _local2]);
_root.lvl1.stop();
_root.lvl2.stop();
_root.lvl3.stop();
_root.countdown.fade.countnumber = ["Level " + _local2];
_root.levelreset();
_root.timeenabled = true;
}
}
function levcheck() {
if (_root.level < 3) {
if (_root.time >= (((_root.level * 2) - 1) * 30)) {
_root.initPowerups();
_root.levelout = true;
_root.p6._x = Math.random() * 550;
_root.p6._y = Math.random() * 400;
_root.powupout = true;
_root.pup = true;
}
}
}
function shipSpeedUp() {
if (!_root.ship.dead) {
_root.ship.engineprop.play();
_root.ship.speed = _root.ship.speed + 0.5;
_root.ship.key = true;
}
}
function shipSpeedDown() {
if (!_root.ship.dead) {
_root.ship.key = true;
if (_root.ship.speed <= -2) {
} else {
_root.ship.speed = _root.ship.speed - 0.5;
}
}
}
function ShootTongue() {
if (!_root.alien.shooting) {
_root.alien.shooting = true;
_root.alien.Tongue.play();
}
}
function shootPlasma() {
if (_root.gametimeenabled) {
if (!_root.alien.shooting) {
var _local2 = 1;
if (!_root["ps" + _local2].out) {
_root["ps" + _local2]._y = _root.alien._x;
_root["ps" + _local2]._x = _root.alien._x;
_root["ps" + _local2].speed = 6 + _root.difficulty;
_root["ps" + _local2].play();
} else {
_local2++;
if (!_root["ps" + _local2].out) {
_root["ps" + _local2]._y = _root.alien._x;
_root["ps" + _local2]._x = _root.alien._x;
_root["ps" + _local2].speed = 6 + _root.difficulty;
_root["ps" + _local2].play();
} else {
_local2++;
if (!_root["ps" + _local2].out) {
_root["ps" + _local2]._y = _root.alien._x;
_root["ps" + _local2]._x = _root.alien._x;
_root["ps" + _local2].speed = 6 + _root.difficulty;
_root["ps" + _local2].play();
} else {
_local2++;
if (!_root["ps" + _local2].out) {
_root["ps" + _local2]._y = _root.alien._x;
_root["ps" + _local2]._x = _root.alien._x;
_root["ps" + _local2].speed = 6 + _root.difficulty;
_root["ps" + _local2].play();
} else {
_local2++;
if (!_root["ps" + _local2].out) {
_root["ps" + _local2]._y = _root.alien._x;
_root["ps" + _local2]._x = _root.alien._x;
_root["ps" + _local2].speed = 6 + _root.difficulty;
_root["ps" + _local2].play();
}
}
}
}
}
}
}
}
function initAsteroid() {
var _local2 = 1;
while (_local2 <= 3) {
_root["asteroid" + _local2]._y = -50;
_root["asteroid" + _local2]._x = (Math.random() * 200) + 200;
_root["asteroid" + _local2]._alpha = 100;
_local2++;
}
}
function startAsteroid() {
_root.i = 1;
_root.asteroidChange();
if (_root.difficulty > 2) {
_root.i = 2;
_root.asteroidChange();
if (_root.difficulty > 3) {
_root.i = 3;
_root.asteroidChange();
}
}
}
function asteroidChange() {
var _local2 = Math.random() * 20;
if (_local2 <= (1 * _root.difficulty)) {
if (!_root["d" + _root.i]) {
_root["asteroid" + _root.i].gotoAndStop(2);
_root["d" + _root.i] = true;
}
} else if (!_root["d" + _root.i]) {
_root["asteroid" + _root.i].gotoAndStop(1);
}
_root["asteroid" + _root.i].negativer = Math.ceil(Math.random() * 2);
if (_root["asteroid" + _root.i].negativer == 1) {
_root["asteroid" + _root.i].rotation = Math.random() * 15;
} else {
_root["asteroid" + _root.i].rotation = (-Math.random()) * 15;
}
_root["asteroid" + _root.i].asteroidx = (Math.random() * 5) + 3;
_root["asteroid" + _root.i].asteroidy = (Math.random() * 5) + 3;
}
function singleAsteroid() {
var _local2 = _root.b;
_root["asteroid" + _local2]._y = -10;
_root["asteroid" + _local2]._x = (Math.random() * 200) + 200;
_root["asteroid" + _local2]._alpha = 100;
_root.i = _local2;
_root.asteroidChange();
}
onEnterFrame = function () {
if (_root.blackhole.blackhole == true) {
var _local7 = (_root.ship._x - _root.blackhole._x) * (_root.ship._x - _root.blackhole._x);
var _local6 = (_root.ship._y - _root.blackhole._y) * (_root.ship._y - _root.blackhole._y);
var _local10 = _local7 + _local6;
var _local4 = Math.sqrt(_local10);
if (_local4 >= 20) {
var _local13 = _root.ship._x - _root.blackhole._x;
var _local9 = _root.ship._y - _root.blackhole._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.ship._x = _root.ship._x - _local3;
if (_root.ship._y >= _root.blackhole._y) {
_root.ship._y = _root.ship._y - _local5;
}
if (_root.ship._y < _root.blackhole._y) {
_root.ship._y = _root.ship._y + _local5;
}
}
}
};
function initPowerups() {
var _local2 = 1;
while (_local2 <= 6) {
_root["p" + _local2]._y = -60;
_root["p" + _local2]._x = 0;
_root["p" + _local2]._alpha = 100;
_local2++;
}
}
function randompow() {
if (!_root.powupout) {
var _local3 = Math.random() * 5;
var _local2 = Math.random() * 12;
if ((_root.level == 1) || (_root.level == 2)) {
if (_local3 < (1 * difficulty)) {
if (_local2 <= 6) {
_root.p1._x = Math.random() * 550;
_root.p1._y = Math.random() * 400;
_root.powupout = true;
_root.pup = true;
}
if ((_local2 > 6) && (_local2 <= 9)) {
_root.p2._x = Math.random() * 550;
_root.p2._y = Math.random() * 400;
_root.powupout = true;
_root.pup = true;
}
if ((_local2 > 9) && (_local2 <= 10)) {
if (_root.level < 3) {
_root.p3._x = Math.random() * 550;
_root.p3._y = Math.random() * 400;
_root.powupout = true;
_root.pup = true;
} else {
_root.p2._x = Math.random() * 550;
_root.p2._y = Math.random() * 400;
_root.powupout = true;
_root.pup = true;
}
}
if ((_local2 > 10) && (_local2 <= 11)) {
if (!_root.ship.shield) {
_root.p4._x = Math.random() * 550;
_root.p4._y = Math.random() * 400;
_root.powupout = true;
_root.pup = true;
}
}
if ((_local2 > 11) && (_local2 <= 12)) {
_root.p5._x = Math.random() * 550;
_root.p5._y = Math.random() * 400;
_root.powupout = true;
_root.pup = true;
}
}
}
}
}
function shieldpow() {
if (!_root.ship.dead) {
if (_root.pup) {
_root.b = 4;
_root.pup = false;
_root.pfade = true;
powsound.start(0, 1);
_root.powfade();
_root.ship.shield = true;
_root.ship.shieldmc.gotoAndPlay("powerup");
}
}
}
function slowpow() {
if (!_root.ship.dead) {
if (_root.pup) {
_root.b = 3;
_root.pup = false;
_root.pfade = true;
powsound.start(0, 1);
_root.powfade();
_root.slow();
}
}
}
function hundpow() {
if (!_root.ship.dead) {
if (_root.pup) {
_root.b = 1;
if (_root.difficulty < 3) {
_root.score = _root.score + 100;
} else {
_root.score = _root.score + (100 * _root.difficulty);
}
_root.pup = false;
_root.pfade = true;
powsound.start(0, 1);
_root.powfade();
}
}
}
function fivepow() {
if (!_root.ship.dead) {
if (_root.pup) {
_root.b = 2;
if (_root.difficulty < 3) {
_root.score = _root.score + 500;
} else {
_root.score = _root.score + (500 * _root.difficulty);
}
_root.pup = false;
_root.pfade = true;
powsound.start(0, 1);
_root.powfade();
}
}
}
function lifepow() {
if (!_root.ship.dead) {
if (_root.pup) {
_root.b = 5;
if (_root.difficulty < 3) {
_root.lives = _root.lives + 1;
} else {
_root.lives = _root.lives + ((1 * _root.difficulty) - 1);
}
_root.pup = false;
_root.pfade = true;
powsound.start(0, 1);
_root.powfade();
}
}
}
function levelpow() {
if (!_root.ship.dead) {
if (_root.pup) {
_root.b = 6;
_root.pup = false;
_root.pfade = true;
powsound.start(0, 1);
_root.powfade();
}
}
}
function powfade() {
if (_root.pfade) {
if (_root["p" + _root.b]._alpha > 0) {
_root["p" + _root.b]._alpha = _root["p" + _root.b]._alpha - 10;
} else {
_root.pfade = false;
_root.powupout = false;
_root.resetPow();
if (_root.b == 6) {
_root.nextlevel();
}
_root.b = 0;
}
}
}
function resetPow() {
_root["p" + _root.b]._x = 0;
_root["p" + _root.b]._y = -60;
_root["p" + _root.b]._alpha = 100;
}
function shieldHit() {
_root.ship.shieldmc.gotoAndPlay("powerdown");
_root.ship.shield = false;
_root.hitready = false;
}
function objectHit() {
if (_root.hitready) {
_root.lifeCheck();
}
}
function lifeCheck() {
if (_root.lives > 1) {
_root.hitready = false;
shipexplosion.start(0, 1);
_root.ship.gotoAndStop("invinc");
_root.lives = _root.lives - 1;
} else {
_root.thetimer.gotoAndStop("timestop");
_root.ship.dead = true;
_root.ship.gotoAndStop("shipdead");
}
}
function RTUpopup() {
getURL ("http://www.rubbertaco.com");
}
newContext = new ContextMenu();
newContext.builtInItems.zoom = false;
newContext.builtInItems.quality = true;
newContext.builtInItems.print = false;
newContext.builtInItems.save = false;
newContext.builtInItems.loop = false;
newContext.builtInItems.rewind = false;
newContext.builtInItems.forward_back = false;
newContext.builtInItems.play = false;
option1 = new ContextMenuItem("Visit RTU", RTUpopup);
newContext.customItems.push(option1);
_root.menu = newContext;
function __com_mochibot__(swfid, mc, lv, trk) {
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=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
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__("d9adf9d5", this, 10301, true);
stop();
Instance of Symbol 23 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("gameLoaded");
}
this._xscale = (_root.sloaded / _root.total) * 100;
}
Frame 2
stop();
cdbeep = new Sound();
cdbeep.attachSound("cdbeep");
powsound = new Sound();
powsound.attachSound("powsound");
plasshot = new Sound();
plasshot.attachSound("plasshot");
shieldup = new Sound();
shieldup.attachSound("shieldup");
shielddown = new Sound();
shielddown.attachSound("shielddown");
shieldpulse = new Sound();
shieldpulse.attachSound("shieldpulse");
shipexplosion = new Sound();
shipexplosion.attachSound("shipexplosion");
dooropen = new Sound();
dooropen.attachSound("dooropen");
doorclose = new Sound();
doorclose.attachSound("doorclose");
lvl1 = new Sound();
lvl1.attachSound("lvl1");
lvl2 = new Sound();
lvl2.attachSound("lvl2");
lvl3 = new Sound();
lvl3.attachSound("lvl3");
endingmusic = new Sound();
endingmusic.attachSound("endingmusic");
pointadd = new Sound();
pointadd.attachSound("pointadd");
Frame 3
_root.dooropen.start(0, 1);
Frame 85
_root.doorclose.start(0, 1);
Frame 141
_root.dooropen.start(0, 1);
Frame 185
stop();
Instance of Symbol 52 MovieClip "Diff" in Frame 185
onClipEvent (load) {
this.gotoAndStop(_root.difficulty);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.difficulty);
}
Frame 186
stop();
Frame 187
stop();
Frame 188
stop();
Frame 189
stop();
Instance of Symbol 130 MovieClip "ship" in Frame 189
onClipEvent (load) {
var speed = undefined;
var rspeed = undefined;
var key = false;
var dead = false;
var shield = false;
var mplaying = false;
var kpress = false;
}
onClipEvent (enterFrame) {
if (!_root.ship.dead) {
if (Key.isDown(32)) {
if (_root.gametimeenabled) {
if (kpress == false) {
if (!mplaying) {
_root.lvl1.start(0, 999);
mplaying = true;
kpress = true;
} else {
_root.lvl1.stop();
mplaying = false;
kpress = true;
}
}
}
} else {
kpress = false;
}
if (Key.isDown(38) || (Key.isDown(87))) {
_root.shipSpeedUp();
} else {
_root.ship.engineprop.gotoAndStop("idle");
key = false;
}
if (Key.isDown(40) || (Key.isDown(83))) {
_root.shipSpeedDown();
} else {
key = false;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (!dead) {
_rotation = (_rotation + rspeed);
}
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (!dead) {
_rotation = (_rotation - rspeed);
}
}
if (Math.abs(speed) > 10) {
speed = 10;
}
speed = speed * 0.989;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
}
if (_x <= -15) {
_x = 564;
}
if (_x >= 565) {
_x = -14;
}
if (_y <= -15) {
_y = 414;
}
if (_y >= 415) {
_y = -14;
}
}
}
Instance of Symbol 152 MovieClip "asteroid1" in Frame 189
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (!_root.ship.dead) {
this._x = this._x + asteroidx;
this._y = this._y + asteroidy;
this._rotation = this._rotation + rotation;
if (this._x <= -15) {
this._x = 564;
_root.i = 1;
_root.asteroidChange();
}
if (this._x >= 565) {
this._x = -14;
_root.i = 1;
_root.asteroidChange();
}
if (this._y <= -15) {
this._y = 414;
_root.i = 1;
_root.asteroidChange();
}
if (this._y >= 415) {
this._y = -5;
_root.i = 1;
_root.asteroidChange();
}
}
if (_root.ship.shield) {
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.shieldHit();
}
} else {
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.objectHit();
}
}
}
Instance of Symbol 154 MovieClip "asteroid2" in Frame 189
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (!_root.ship.dead) {
this._x = this._x - asteroidx;
this._y = this._y + asteroidy;
this._rotation = this._rotation + rotation;
if (_root.difficulty >= 2) {
if (this._x <= -15) {
this._x = 564;
_root.i = 2;
_root.asteroidChange();
}
if (this._x >= 565) {
this._x = -14;
_root.i = 2;
_root.asteroidChange();
}
if (this._y <= -15) {
this._y = 414;
_root.i = 2;
_root.asteroidChange();
}
if (this._y >= 415) {
this._y = -5;
_root.i = 2;
_root.asteroidChange();
}
}
}
if (_root.ship.shield) {
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.shieldHit();
}
} else {
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.objectHit();
}
}
}
Instance of Symbol 156 MovieClip "asteroid3" in Frame 189
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (!_root.ship.dead) {
this._x = this._x - asteroidx;
this._y = this._y - asteroidy;
this._rotation = this._rotation + rotation;
if (_root.difficulty == 3) {
if (this._x <= -15) {
this._x = 564;
_root.i = 3;
_root.asteroidChange();
}
if (this._x >= 565) {
this._x = -14;
_root.i = 3;
_root.asteroidChange();
}
if (this._y <= -15) {
this._y = 414;
_root.i = 3;
_root.asteroidChange();
}
if (this._y >= 415) {
this._y = -5;
_root.i = 3;
_root.asteroidChange();
}
}
}
if (_root.ship.shield) {
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.shieldHit();
}
} else {
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.objectHit();
}
}
}
Instance of Symbol 163 MovieClip "alien" in Frame 189
onClipEvent (load) {
var speed = 0;
var distance = (_root.ship._x - _root.alien._x);
}
onClipEvent (enterFrame) {
if (!_root.ship.dead) {
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
}
if ((distance < 25) || (distance > -25)) {
delta_x = _x - _root.ship._x;
delta_y = _y - _root.ship._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
}
}
if (_root.ship.shield) {
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.shieldHit();
}
} else {
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.objectHit();
}
}
}
Instance of Symbol 164 MovieClip "p1" in Frame 189
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.b == 1) {
_root.powfade();
}
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.hundpow();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.hundpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.hundpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.hundpow();
}
}
Instance of Symbol 165 MovieClip "p2" in Frame 189
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.b == 2) {
_root.powfade();
}
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.fivepow();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.fivepow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.fivepow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.fivepow();
}
}
Instance of Symbol 166 MovieClip "p3" in Frame 189
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.b == 3) {
_root.powfade();
}
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.slowpow();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.slowpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.slowpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.slowpow();
}
}
Instance of Symbol 167 MovieClip "p4" in Frame 189
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.b == 4) {
_root.powfade();
}
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.shieldpow();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.shieldpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.shieldpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.shieldpow();
}
}
Instance of Symbol 168 MovieClip "p6" in Frame 189
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.b == 6) {
_root.powfade();
}
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.levelpow();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.levelpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.levelpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.levelpow();
}
}
Instance of Symbol 169 MovieClip "p5" in Frame 189
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.b == 5) {
_root.powfade();
}
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.lifepow();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.lifepow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.lifepow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.lifepow();
}
}
Instance of Symbol 183 MovieClip "countdown" in Frame 189
onClipEvent (enterFrame) {
_root.fadeout();
}
Frame 190
stop();
Frame 191
stop();
Frame 192
stop();
xdistance = 0;
ydistance = 0;
Instance of Symbol 154 MovieClip "asteroid2" in Frame 192
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (!_root.ship.dead) {
this._x = this._x - asteroidx;
this._y = this._y + asteroidy;
this._rotation = this._rotation + rotation;
if (_root.difficulty >= 2) {
if (this._x <= -15) {
this._x = 564;
_root.i = 2;
_root.asteroidChange();
}
if (this._x >= 565) {
this._x = -14;
_root.i = 2;
_root.asteroidChange();
}
if (this._y <= -15) {
this._y = 414;
_root.i = 2;
_root.asteroidChange();
}
if (this._y >= 415) {
this._y = -5;
_root.i = 2;
_root.asteroidChange();
}
}
}
if (_root.ship.shield) {
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.shieldHit();
}
} else {
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.objectHit();
}
}
}
Instance of Symbol 156 MovieClip "asteroid3" in Frame 192
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (!_root.ship.dead) {
this._x = this._x - asteroidx;
this._y = this._y - asteroidy;
this._rotation = this._rotation + rotation;
if (_root.difficulty == 3) {
if (this._x <= -15) {
this._x = 564;
_root.i = 3;
_root.asteroidChange();
}
if (this._x >= 565) {
this._x = -14;
_root.i = 3;
_root.asteroidChange();
}
if (this._y <= -15) {
this._y = 414;
_root.i = 3;
_root.asteroidChange();
}
if (this._y >= 415) {
this._y = -5;
_root.i = 3;
_root.asteroidChange();
}
}
}
if (_root.ship.shield) {
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.shieldHit();
}
} else {
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.objectHit();
}
}
}
Instance of Symbol 152 MovieClip "asteroid1" in Frame 192
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (!_root.ship.dead) {
this._x = this._x + asteroidx;
this._y = this._y + asteroidy;
this._rotation = this._rotation + rotation;
if (this._x <= -15) {
this._x = 564;
_root.i = 1;
_root.asteroidChange();
}
if (this._x >= 565) {
this._x = -14;
_root.i = 1;
_root.asteroidChange();
}
if (this._y <= -15) {
this._y = 414;
_root.i = 1;
_root.asteroidChange();
}
if (this._y >= 415) {
this._y = -5;
_root.i = 1;
_root.asteroidChange();
}
}
if (_root.ship.shield) {
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.shieldHit();
}
} else {
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.objectHit();
}
}
}
Instance of Symbol 130 MovieClip "ship" in Frame 192
onClipEvent (load) {
var speed = undefined;
var rspeed = undefined;
var key = false;
var dead = false;
var shield = false;
var mplaying = false;
var kpress = false;
}
onClipEvent (enterFrame) {
if (!_root.ship.dead) {
if (Key.isDown(32)) {
if (_root.gametimeenabled) {
if (kpress == false) {
if (!mplaying) {
_root.lvl2.start(0, 999);
mplaying = true;
kpress = true;
} else {
_root.lvl2.stop();
mplaying = false;
kpress = true;
}
}
}
} else {
kpress = false;
}
if (Key.isDown(38) || (Key.isDown(87))) {
_root.shipSpeedUp();
} else {
_root.ship.engineprop.gotoAndStop("idle");
key = false;
}
if (Key.isDown(40) || (Key.isDown(83))) {
_root.shipSpeedDown();
} else {
key = false;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (!dead) {
_rotation = (_rotation + rspeed);
}
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (!dead) {
_rotation = (_rotation - rspeed);
}
}
if (Math.abs(speed) > 10) {
speed = 10;
}
speed = speed * 0.989;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
}
if (_x <= -15) {
_x = 564;
}
if (_x >= 565) {
_x = -14;
}
if (_y <= -15) {
_y = 414;
}
if (_y >= 415) {
_y = -14;
}
}
}
Instance of Symbol 164 MovieClip "p1" in Frame 192
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.b == 1) {
_root.powfade();
}
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.hundpow();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.hundpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.hundpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.hundpow();
}
}
Instance of Symbol 165 MovieClip "p2" in Frame 192
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.b == 2) {
_root.powfade();
}
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.fivepow();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.fivepow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.fivepow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.fivepow();
}
}
Instance of Symbol 166 MovieClip "p3" in Frame 192
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.b == 3) {
_root.powfade();
}
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.slowpow();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.slowpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.slowpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.slowpow();
}
}
Instance of Symbol 167 MovieClip "p4" in Frame 192
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.b == 4) {
_root.powfade();
}
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.shieldpow();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.shieldpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.shieldpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.shieldpow();
}
}
Instance of Symbol 168 MovieClip "p6" in Frame 192
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.b == 6) {
_root.powfade();
}
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.levelpow();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.levelpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.levelpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.levelpow();
}
}
Instance of Symbol 239 MovieClip "alien" in Frame 192
onClipEvent (load) {
var speed = 0;
var distance = (_root.ship._x - _root.alien._x);
var xdistance = (_root.ship._x - _x);
var ydistance = (_root.ship._y - _y);
var shooting = false;
}
onClipEvent (enterFrame) {
xdistance = _root.ship._x - _x;
ydistance = _root.ship._y - _y;
if ((xdistance <= 50) && (xdistance >= -50)) {
if ((ydistance <= 50) && (ydistance >= -50)) {
_root.ShootTongue();
}
}
if (!_root.ship.dead) {
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
}
if ((distance < 25) || (distance > -25)) {
delta_x = _x - _root.ship._x;
delta_y = _y - _root.ship._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
}
}
if (_root.ship.shield) {
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.shieldHit();
}
} else {
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.objectHit();
}
}
}
Instance of Symbol 169 MovieClip "p5" in Frame 192
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.b == 5) {
_root.powfade();
}
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.lifepow();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.lifepow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.lifepow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.lifepow();
}
}
Instance of Symbol 183 MovieClip "countdown" in Frame 192
onClipEvent (enterFrame) {
_root.fadeout();
}
Frame 193
stop();
Frame 194
stop();
Frame 195
stop();
Instance of Symbol 164 MovieClip "p1" in Frame 195
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
xdistance = _root.alien._x - _x;
ydistance = _root.alien._y - _y;
if ((xdistance <= 50) && (xdistance >= -50)) {
if ((ydistance <= 50) && (ydistance >= -50)) {
_root.b = 1;
_root.pfade = false;
_root.powupout = false;
_root.resetPow();
_root.b = 0;
}
}
if (_root.b == 1) {
_root.powfade();
}
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.hundpow();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.hundpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.hundpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.hundpow();
}
}
Instance of Symbol 165 MovieClip "p2" in Frame 195
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
xdistance = _root.alien._x - _x;
ydistance = _root.alien._y - _y;
if ((xdistance <= 50) && (xdistance >= -50)) {
if ((ydistance <= 50) && (ydistance >= -50)) {
_root.b = 2;
_root.pfade = false;
_root.powupout = false;
_root.resetPow();
_root.b = 0;
}
}
if (_root.b == 2) {
_root.powfade();
}
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.fivepow();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.fivepow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.fivepow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.fivepow();
}
}
Instance of Symbol 166 MovieClip "p3" in Frame 195
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
xdistance = _root.alien._x - _x;
ydistance = _root.alien._y - _y;
if ((xdistance <= 50) && (xdistance >= -50)) {
if ((ydistance <= 50) && (ydistance >= -50)) {
_root.b = 3;
_root.pfade = false;
_root.powupout = false;
_root.resetPow();
_root.b = 0;
}
}
if (_root.b == 3) {
_root.powfade();
}
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.slowpow();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.slowpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.slowpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.slowpow();
}
}
Instance of Symbol 167 MovieClip "p4" in Frame 195
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
xdistance = _root.alien._x - _x;
ydistance = _root.alien._y - _y;
if ((xdistance <= 50) && (xdistance >= -50)) {
if ((ydistance <= 50) && (ydistance >= -50)) {
_root.b = 4;
_root.pfade = false;
_root.powupout = false;
_root.resetPow();
_root.b = 0;
}
}
if (_root.b == 4) {
_root.powfade();
}
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.shieldpow();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.shieldpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.shieldpow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.shieldpow();
}
}
Instance of Symbol 169 MovieClip "p5" in Frame 195
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
xdistance = _root.alien._x - _x;
ydistance = _root.alien._y - _y;
if ((xdistance <= 50) && (xdistance >= -50)) {
if ((ydistance <= 50) && (ydistance >= -50)) {
_root.b = 5;
_root.pfade = false;
_root.powupout = false;
_root.resetPow();
_root.b = 0;
}
}
if (_root.b == 5) {
_root.powfade();
}
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.lifepow();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.lifepow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.lifepow();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.lifepow();
}
}
Instance of Symbol 258 MovieClip "ps1" in Frame 195
onClipEvent (load) {
var n = 1;
_root["ps" + n]._x = _root.alien._x;
_root["ps" + n]._y = _root.alien._x;
_root["ps" + n].speed = 0;
var out = false;
}
onClipEvent (enterFrame) {
if (_root["ps" + n]._rotation > 180) {
_root["ps" + n]._y = _root["ps" + n]._y + (_root["ps" + n].speed * Math.cos((Math.PI/180) * _root["ps" + n]._rotation));
_root["ps" + n]._x = _root["ps" + n]._x - (_root["ps" + n].speed * Math.sin((Math.PI/180) * _root["ps" + n]._rotation));
} else {
_root["ps" + n]._y = _root["ps" + n]._y - (_root["ps" + n].speed * Math.cos((Math.PI/180) * _root["ps" + n]._rotation));
_root["ps" + n]._x = _root["ps" + n]._x + (_root["ps" + n].speed * Math.sin((Math.PI/180) * _root["ps" + n]._rotation));
}
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 259 MovieClip "ps2" in Frame 195
onClipEvent (load) {
var n = 2;
_root["ps" + n]._x = _root.alien._x;
_root["ps" + n]._y = _root.alien._x;
_root["ps" + n].speed = 0;
var out = false;
}
onClipEvent (enterFrame) {
if (_root["ps" + n]._rotation > 180) {
_root["ps" + n]._y = _root["ps" + n]._y + (_root["ps" + n].speed * Math.cos((Math.PI/180) * _root["ps" + n]._rotation));
_root["ps" + n]._x = _root["ps" + n]._x - (_root["ps" + n].speed * Math.sin((Math.PI/180) * _root["ps" + n]._rotation));
} else {
_root["ps" + n]._y = _root["ps" + n]._y - (_root["ps" + n].speed * Math.cos((Math.PI/180) * _root["ps" + n]._rotation));
_root["ps" + n]._x = _root["ps" + n]._x + (_root["ps" + n].speed * Math.sin((Math.PI/180) * _root["ps" + n]._rotation));
}
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 260 MovieClip "ps3" in Frame 195
onClipEvent (load) {
var n = 3;
_root["ps" + n]._x = _root.alien._x;
_root["ps" + n]._y = _root.alien._x;
_root["ps" + n].speed = 0;
var out = false;
}
onClipEvent (enterFrame) {
if (_root["ps" + n]._rotation > 180) {
_root["ps" + n]._y = _root["ps" + n]._y + (_root["ps" + n].speed * Math.cos((Math.PI/180) * _root["ps" + n]._rotation));
_root["ps" + n]._x = _root["ps" + n]._x - (_root["ps" + n].speed * Math.sin((Math.PI/180) * _root["ps" + n]._rotation));
} else {
_root["ps" + n]._y = _root["ps" + n]._y - (_root["ps" + n].speed * Math.cos((Math.PI/180) * _root["ps" + n]._rotation));
_root["ps" + n]._x = _root["ps" + n]._x + (_root["ps" + n].speed * Math.sin((Math.PI/180) * _root["ps" + n]._rotation));
}
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 261 MovieClip "ps4" in Frame 195
onClipEvent (load) {
var n = 4;
_root["ps" + n]._x = _root.alien._x;
_root["ps" + n]._y = _root.alien._x;
_root["ps" + n].speed = 0;
var out = false;
}
onClipEvent (enterFrame) {
if (_root["ps" + n]._rotation > 180) {
_root["ps" + n]._y = _root["ps" + n]._y + (_root["ps" + n].speed * Math.cos((Math.PI/180) * _root["ps" + n]._rotation));
_root["ps" + n]._x = _root["ps" + n]._x - (_root["ps" + n].speed * Math.sin((Math.PI/180) * _root["ps" + n]._rotation));
} else {
_root["ps" + n]._y = _root["ps" + n]._y - (_root["ps" + n].speed * Math.cos((Math.PI/180) * _root["ps" + n]._rotation));
_root["ps" + n]._x = _root["ps" + n]._x + (_root["ps" + n].speed * Math.sin((Math.PI/180) * _root["ps" + n]._rotation));
}
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 262 MovieClip "ps5" in Frame 195
onClipEvent (load) {
var n = 5;
_root["ps" + n]._x = _root.alien._x;
_root["ps" + n]._y = _root.alien._x;
_root["ps" + n].speed = 0;
var out = false;
}
onClipEvent (enterFrame) {
if (_root["ps" + n]._rotation > 180) {
_root["ps" + n]._y = _root["ps" + n]._y + (_root["ps" + n].speed * Math.cos((Math.PI/180) * _root["ps" + n]._rotation));
_root["ps" + n]._x = _root["ps" + n]._x - (_root["ps" + n].speed * Math.sin((Math.PI/180) * _root["ps" + n]._rotation));
} else {
_root["ps" + n]._y = _root["ps" + n]._y - (_root["ps" + n].speed * Math.cos((Math.PI/180) * _root["ps" + n]._rotation));
_root["ps" + n]._x = _root["ps" + n]._x + (_root["ps" + n].speed * Math.sin((Math.PI/180) * _root["ps" + n]._rotation));
}
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 264 MovieClip "blackhole" in Frame 195
onClipEvent (load) {
blackhole = false;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 130 MovieClip "ship" in Frame 195
onClipEvent (load) {
var speed = undefined;
var rspeed = undefined;
var key = false;
var dead = false;
var shield = false;
var mplaying = false;
var kpress = false;
}
onClipEvent (enterFrame) {
if (!_root.ship.dead) {
if (Key.isDown(32)) {
if (_root.gametimeenabled) {
if (kpress == false) {
if (!mplaying) {
_root.lvl3.start(0, 999);
mplaying = true;
kpress = true;
} else {
_root.lvl3.stop();
mplaying = false;
kpress = true;
}
}
}
} else {
kpress = false;
}
if (Key.isDown(38) || (Key.isDown(87))) {
_root.shipSpeedUp();
} else {
_root.ship.engineprop.gotoAndStop("idle");
key = false;
}
if (Key.isDown(40) || (Key.isDown(83))) {
_root.shipSpeedDown();
} else {
key = false;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (!dead) {
_rotation = (_rotation + rspeed);
}
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (!dead) {
_rotation = (_rotation - rspeed);
}
}
if (Math.abs(speed) > 10) {
speed = 10;
}
speed = speed * 0.989;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
}
if (_x <= -15) {
_x = 564;
}
if (_x >= 565) {
_x = -14;
}
if (_y <= -15) {
_y = 414;
}
if (_y >= 415) {
_y = -14;
}
}
if (_root.ship.shield) {
if (_root.floatingplasmas.hitTest(getBounds(_root).xMax, _y, true)) {
_root.shieldHit();
}
if (_root.floatingplasmas.hitTest(getBounds(_root).xMin, _y, true)) {
_root.shieldHit();
}
if (_root.floatingplasmas.hitTest(_x, getBounds(_root).yMax, true)) {
_root.shieldHit();
}
if (_root.floatingplasmas.hitTest(_x, getBounds(_root).yMin, true)) {
_root.shieldHit();
}
} else {
if (_root.floatingplasmas.hitTest(getBounds(_root).xMax, _y, true)) {
_root.objectHit();
}
if (_root.floatingplasmas.hitTest(getBounds(_root).xMin, _y, true)) {
_root.objectHit();
}
if (_root.floatingplasmas.hitTest(_x, getBounds(_root).yMax, true)) {
_root.objectHit();
}
if (_root.floatingplasmas.hitTest(_x, getBounds(_root).yMin, true)) {
_root.objectHit();
}
}
e = 1;
while (e < 5) {
if (_root.ship.shield) {
if (_root["ps" + e].hT.hitTest(getBounds(_root).xMax, _y, true)) {
_root.shieldHit();
}
if (_root["ps" + e].hT.hitTest(getBounds(_root).xMin, _y, true)) {
_root.shieldHit();
}
if (_root["ps" + e].hT.hitTest(_x, getBounds(_root).yMax, true)) {
_root.shieldHit();
}
if (_root["ps" + e].hT.hitTest(_x, getBounds(_root).yMin, true)) {
_root.shieldHit();
}
} else {
if (_root["ps" + e].hT.hitTest(getBounds(_root).xMax, _y, true)) {
_root.objectHit();
}
if (_root["ps" + e].hT.hitTest(getBounds(_root).xMin, _y, true)) {
_root.objectHit();
}
if (_root["ps" + e].hT.hitTest(_x, getBounds(_root).yMax, true)) {
_root.objectHit();
}
if (_root["ps" + e].hT.hitTest(_x, getBounds(_root).yMin, true)) {
_root.objectHit();
}
}
e++;
}
}
Instance of Symbol 268 MovieClip "alien" in Frame 195
onClipEvent (load) {
var shooting = false;
var speed = 0;
var distance = (_root.ship._x - _root.alien._x);
var xdistance = (_root.ship._x - _x);
var ydistance = (_root.ship._y - _y);
}
onClipEvent (enterFrame) {
_root.shootPlasma();
if (!_root.ship.dead) {
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.land.hitTest(_x + x, _y + y, true)) {
}
if ((distance < 25) || (distance > -25)) {
delta_x = _x - _root.ship._x;
delta_y = _y - _root.ship._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
}
}
if (_root.ship.shield) {
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.shieldHit();
}
} else {
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.objectHit();
}
}
}
Instance of Symbol 274 MovieClip "floatingplasmas" in Frame 195
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 183 MovieClip "countdown" in Frame 195
onClipEvent (enterFrame) {
_root.fadeout();
}
Frame 196
stop();
stopAllSounds();
_root.Fscore = Number(_root.time) * Number(_root.score);
playernombre = "Enter Name";
Symbol 27 Button
on (release) {
gotoAndPlay ("intro");
}
Symbol 30 Button
on (release) {
getURL ("http://www.rubbertaco.com", "_blank");
}
Symbol 35 Button
on (release) {
getURL ("http://www.ugotgames.com", "_blank");
}
Symbol 44 Button
on (release) {
_root.gotoAndStop("level1");
}
Symbol 45 Button
on (release) {
_root.gotoAndPlay("instructions");
}
Symbol 46 Button
on (release) {
getURL ("http://www.rubbertaco.com/games/GraagRevamped/highscores", "_blank");
}
Symbol 47 Button
on (release) {
gotoAndPlay ("credits");
}
Symbol 52 MovieClip Frame 1
stop();
_root.difficulty = 1;
Symbol 52 MovieClip Frame 2
stop();
_root.difficulty = 2;
Symbol 52 MovieClip Frame 3
stop();
_root.difficulty = 3;
Symbol 55 Button
on (release) {
if (_root.difficulty == 1) {
_root.difficulty = 3;
} else if (_root.difficulty == 2) {
_root.difficulty = 1;
} else if (_root.difficulty == 3) {
_root.difficulty = 2;
}
}
Symbol 56 Button
on (release) {
if (_root.difficulty == 1) {
_root.difficulty = 2;
} else if (_root.difficulty == 2) {
_root.difficulty = 3;
} else if (_root.difficulty == 3) {
_root.difficulty = 1;
}
}
Symbol 58 Button
on (release) {
getURL ("http://www.ugotgames.com", "_blank");
}
Symbol 62 Button
on (release) {
_root.gotoAndStop("instructions2");
}
Symbol 63 Button
on (release) {
gotoAndPlay ("mainMenu");
}
Symbol 107 Button
on (release) {
gotoAndPlay ("mainMenu");
}
Symbol 109 Button
on (release) {
getURL ("http://www.rubbertaco.com", "_blank");
}
Symbol 113 Button
on (release) {
getURL ("http://www.ugotgames.com", "_blank");
}
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 13
gotoAndPlay ("engine");
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 2
_root.shieldup.start(0, 1);
Symbol 121 MovieClip Frame 33
_root.shieldpulse.start(0, 1);
Symbol 121 MovieClip Frame 62
gotoAndPlay ("shield");
Symbol 121 MovieClip Frame 63
_root.shielddown.start(0, 1);
Symbol 121 MovieClip Frame 68
gotoAndStop ("down");
_root.ship.gotoAndStop("invinc");
Symbol 125 MovieClip Frame 42
stop();
Symbol 126 MovieClip Frame 1
_root.shipexplosion.start(0, 1);
Symbol 126 MovieClip Frame 55
_root.gotoAndStop("gameOver");
Symbol 129 MovieClip Frame 1
Symbol 129 MovieClip Frame 31
_root.hitready = true;
_root.ship.gotoAndPlay("ship");
Symbol 130 MovieClip Frame 1
stop();
_root.hitReady = true;
Symbol 130 MovieClip Frame 2
stop();
Symbol 130 MovieClip Frame 3
stop();
Instance of Symbol 148 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship)) {
_root.objectHit();
}
}
Symbol 151 MovieClip Frame 1
if (dtimer == undefined) {
dtimer = 0;
}
Symbol 151 MovieClip Frame 10
if (dtimer < 3) {
dtimer = dtimer + 1;
gotoAndPlay ("blue");
} else {
gotoAndPlay ("red");
}
Symbol 151 MovieClip Frame 11
if (dtimer2 == undefined) {
dtimer2 = 0;
}
Symbol 151 MovieClip Frame 15
if (dtimer2 < 2) {
dtimer2 = dtimer2 + 1;
gotoAndPlay ("red");
} else {
gotoAndPlay ("aexplosion");
}
Symbol 151 MovieClip Frame 17
_root.asteroid1.rotation = 0;
_root.asteroid1.asteroidx = 0;
_root.asteroid1.asteroidy = 0;
Symbol 151 MovieClip Frame 58
dtimer = undefined;
dtimer2 = undefined;
_root.d1 = false;
_root.b = 1;
_root.singleAsteroid();
Symbol 152 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 2
stop();
Symbol 153 MovieClip Frame 1
if (dtimer == undefined) {
dtimer = 0;
}
Symbol 153 MovieClip Frame 10
if (dtimer < 3) {
dtimer = dtimer + 1;
gotoAndPlay ("blue");
} else {
gotoAndPlay ("red");
}
Symbol 153 MovieClip Frame 11
if (dtimer2 == undefined) {
dtimer2 = 0;
}
Symbol 153 MovieClip Frame 15
if (dtimer2 < 2) {
dtimer2 = dtimer2 + 1;
gotoAndPlay ("red");
} else {
gotoAndPlay ("aexplosion");
}
Symbol 153 MovieClip Frame 17
_root.asteroid2.rotation = 0;
_root.asteroid2.asteroidx = 0;
_root.asteroid2.asteroidy = 0;
Symbol 153 MovieClip Frame 58
dtimer = undefined;
dtimer2 = undefined;
_root.d2 = false;
_root.b = 2;
_root.singleAsteroid();
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 2
stop();
Symbol 155 MovieClip Frame 1
if (dtimer == undefined) {
dtimer = 0;
}
Symbol 155 MovieClip Frame 10
if (dtimer < 3) {
dtimer = dtimer + 1;
gotoAndPlay ("blue");
} else {
gotoAndPlay ("red");
}
Symbol 155 MovieClip Frame 11
if (dtimer2 == undefined) {
dtimer2 = 0;
}
Symbol 155 MovieClip Frame 15
if (dtimer2 < 2) {
dtimer2 = dtimer2 + 1;
gotoAndPlay ("red");
} else {
gotoAndPlay ("aexplosion");
}
Symbol 155 MovieClip Frame 17
_root.asteroid3.rotation = 0;
_root.asteroid3.asteroidx = 0;
_root.asteroid3.asteroidy = 0;
Symbol 155 MovieClip Frame 58
dtimer = undefined;
dtimer2 = undefined;
_root.d3 = false;
_root.b = 3;
_root.singleAsteroid();
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 2
stop();
Symbol 163 MovieClip Frame 1
stop();
Instance of Symbol 161 MovieClip in Symbol 163 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ship.dead) {
stop();
}
}
Symbol 164 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 1
_root.cdbeep.start(0, 1);
Symbol 182 MovieClip Frame 10
_root.cdbeep.start(0, 1);
Symbol 182 MovieClip Frame 20
_root.cdbeep.start(0, 1);
Symbol 182 MovieClip Frame 31
_root.cdbeep.start(0, 1);
Symbol 182 MovieClip Frame 51
stop();
_alpha = 0;
_root.gotoAndStop(["level" + _root.level]);
_root.gametimeenabled = true;
_root.beginLevel();
Symbol 184 MovieClip Frame 5
_root.firstframetimer();
Symbol 184 MovieClip Frame 10
_root.secondframetimer();
Symbol 184 MovieClip Frame 15
_root.thirdframetimer();
Symbol 184 MovieClip Frame 20
_root.lastframetimer();
Symbol 192 MovieClip Frame 33
_root.score = _root.score + 5000;
Symbol 192 MovieClip Frame 70
play();
Symbol 193 MovieClip Frame 1
_root.cdbeep.start(0, 1);
Symbol 193 MovieClip Frame 10
_root.cdbeep.start(0, 1);
Symbol 193 MovieClip Frame 20
_root.cdbeep.start(0, 1);
Symbol 193 MovieClip Frame 31
_root.cdbeep.start(0, 1);
Symbol 193 MovieClip Frame 51
play();
Symbol 201 MovieClip Frame 1
stop();
Instance of Symbol 195 MovieClip "TonHT" in Symbol 201 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.ship.shield) {
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.shieldHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.shieldHit();
}
} else {
if (_root.ship.hitTest(getBounds(_root).xMax, _y, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(getBounds(_root).xMin, _y, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMax, true)) {
_root.objectHit();
}
if (_root.ship.hitTest(_x, getBounds(_root).yMin, true)) {
_root.objectHit();
}
}
}
Symbol 201 MovieClip Frame 11
gotoAndStop ("TonIdle");
_root.alien.shooting = false;
Symbol 239 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 33
_root.score = _root.score + 10000;
Symbol 248 MovieClip Frame 70
play();
Symbol 258 MovieClip Frame 1
stop();
var n = 1;
Symbol 258 MovieClip Frame 2
_root.plasshot.start(0, 1);
_root["ps" + n].out = true;
_root.alien.shooting = true;
_root["ps" + n]._rotation = _root.alien._rotation;
_root["ps" + n]._x = _root.alien._x;
_root["ps" + n]._y = _root.alien._y;
Symbol 258 MovieClip Frame 8
_root.alien.shooting = false;
Symbol 258 MovieClip Frame 102
gotoAndStop ("plasmaidle");
_root["ps" + n].out = false;
_root["ps" + n].speed = 0;
_root["ps" + n]._x = _root.alien._x;
_root["ps" + n]._y = _root.alien._y;
_root["ps" + n]._rotation = _root.alien._rotation;
Symbol 259 MovieClip Frame 1
stop();
var n = 2;
Symbol 259 MovieClip Frame 2
_root.plasshot.start(0, 1);
_root["ps" + n].out = true;
_root.alien.shooting = true;
_root["ps" + n]._rotation = _root.alien._rotation;
_root["ps" + n]._x = _root.alien._x;
_root["ps" + n]._y = _root.alien._y;
Symbol 259 MovieClip Frame 8
_root.alien.shooting = false;
Symbol 259 MovieClip Frame 102
gotoAndStop ("plasmaidle");
_root["ps" + n].out = false;
_root["ps" + n].speed = 0;
_root["ps" + n]._x = _root.alien._x;
_root["ps" + n]._y = _root.alien._y;
_root["ps" + n]._rotation = _root.alien._rotation;
Symbol 260 MovieClip Frame 1
stop();
var n = 3;
Symbol 260 MovieClip Frame 2
_root.plasshot.start(0, 1);
_root["ps" + n].out = true;
_root.alien.shooting = true;
_root["ps" + n]._rotation = _root.alien._rotation;
_root["ps" + n]._x = _root.alien._x;
_root["ps" + n]._y = _root.alien._y;
Symbol 260 MovieClip Frame 8
_root.alien.shooting = false;
Symbol 260 MovieClip Frame 102
gotoAndStop ("plasmaidle");
_root["ps" + n].out = false;
_root["ps" + n].speed = 0;
_root["ps" + n]._x = _root.alien._x;
_root["ps" + n]._y = _root.alien._y;
_root["ps" + n]._rotation = _root.alien._rotation;
Symbol 261 MovieClip Frame 1
stop();
var n = 4;
Symbol 261 MovieClip Frame 2
_root.plasshot.start(0, 1);
_root["ps" + n].out = true;
_root.alien.shooting = true;
_root["ps" + n]._rotation = _root.alien._rotation;
_root["ps" + n]._x = _root.alien._x;
_root["ps" + n]._y = _root.alien._y;
Symbol 261 MovieClip Frame 8
_root.alien.shooting = false;
Symbol 261 MovieClip Frame 102
gotoAndStop ("plasmaidle");
_root["ps" + n].out = false;
_root["ps" + n].speed = 0;
_root["ps" + n]._x = _root.alien._x;
_root["ps" + n]._y = _root.alien._y;
_root["ps" + n]._rotation = _root.alien._rotation;
Symbol 262 MovieClip Frame 1
stop();
var n = 5;
Symbol 262 MovieClip Frame 2
_root.plasshot.start(0, 1);
_root["ps" + n].out = true;
_root.alien.shooting = true;
_root["ps" + n]._rotation = _root.alien._rotation;
_root["ps" + n]._x = _root.alien._x;
_root["ps" + n]._y = _root.alien._y;
Symbol 262 MovieClip Frame 8
_root.alien.shooting = false;
Symbol 262 MovieClip Frame 102
gotoAndStop ("plasmaidle");
_root["ps" + n].out = false;
_root["ps" + n].speed = 0;
_root["ps" + n]._x = _root.alien._x;
_root["ps" + n]._y = _root.alien._y;
_root["ps" + n]._rotation = _root.alien._rotation;
Symbol 264 MovieClip Frame 1
stop();
BlackHrep = 0;
Symbol 264 MovieClip Frame 6
_root.blackhole.blackhole = true;
Symbol 264 MovieClip Frame 40
if (BlackHrep < 3) {
BlackHrep = BlackHrep + 1;
gotoAndPlay ("Spin");
} else {
gotoAndPlay ("Cont");
_root.blackhole.blackhole = false;
BlackHrep = 0;
}
Symbol 264 MovieClip Frame 45
gotoAndStop ("Stop");
Symbol 288 Button
on (release) {
gotoAndPlay ("mainMenu");
_root.reset();
}
Symbol 289 Button
on (release) {
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();
score = _root.Fscore;
hsname = _root.playernombre;
gamename = "GraagRevamped";
getURL ("http://www.rubbertaco.com/highscores/hsa.php", "_blank", "POST");
gotoAndStop ("mainMenu");
}
}
Symbol 291 Button
on (release) {
getURL ("http://www.ugotgames.com", "_blank");
}