Frame 1
function doSomething() {
}
function doSomething2() {
getURL ("http://www.godlygamer.com", _blank);
}
stop();
var remainingtime = 0;
var averagekbs = 0;
var averagekbcount = 0;
var averagetimer = 0;
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("This animation is copyright (C) Godly Gamer", doSomething);
Functioned2 = new ContextMenuItem("Visit Godly Gamer", doSomething2);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
_root.menu = MENU;
_root.preloader.onEnterFrame = function () {
if (_root.averagetimer == 0) {
_root.averagetimer = 0;
}
_root.averagetimer = _root.averagetimer + 1;
_root.kbloaded = Math.round(getBytesLoaded() / 1024);
_root.kbtotal = Math.round(getBytesTotal() / 1024);
_root.percent = Math.round((_root.kbloaded / _root.kbtotal) * 100);
_root.percentbar = Math.round((_root.kbloaded / _root.kbtotal) * 1000);
_root.preloader.loadBar1.gotoAndStop(_root.percentbar);
_root.preloader.loadBar2.gotoAndStop(_root.percentbar);
_root.percent = _root.percent + "%";
if (_root.averagetimer == 40) {
_root.averagetimer = 0;
_root.averagekbs = Math.round(_root.kbloaded - _root.averagekbcount);
_root.averagekbcount = _root.kbloaded;
}
_root.remainingtime = Math.round((_root.kbtotal - _root.kbloaded) / _root.averagekbs);
if (_root._framesloaded >= _root._totalframes) {
gotoAndPlay ("start");
}
};
Frame 2
stop();
Frame 3
stop();
clearInterval(_root.upgradelaserfunction);
clearInterval(_root.shipmovefunction);
clearInterval(_root.shipaimfunction);
clearInterval(_root.shipshootfunction);
clearInterval(_root.enemy1function);
clearInterval(_root.enemy2function);
clearInterval(_root.enemy3function);
clearInterval(_root.enemy4function);
_root.enemyspeed = 1.5;
_root.enemyspeedmin = 0.1;
Frame 4
function UpgradeLaser() {
if ((_root.enemieskilled > 50) && (_root.laserlevel == "level1")) {
_root.laserlevel = "level2";
_root.leveltext = "Level 2";
_root.leveldisplayshow.gotoAndPlay(2);
_root.currentlevel = _root.currentlevel + 1;
_root.enemyspeed = _root.enemyspeed + 0.1;
_root.enemyspeedmin = _root.enemyspeedmin + 0.1;
}
if ((_root.enemieskilled > 100) && (_root.laserlevel == "level2")) {
_root.laserlevel = "level3";
_root.leveltext = "Level 3";
_root.leveldisplayshow.gotoAndPlay(2);
_root.currentlevel = _root.currentlevel + 1;
_root.enemyspeed = _root.enemyspeed + 0.1;
_root.enemyspeedmin = _root.enemyspeedmin + 0.1;
}
if ((_root.enemieskilled > 150) && (_root.laserlevel == "level3")) {
_root.laserlevel = "level4";
_root.leveltext = "Level 4";
_root.leveldisplayshow.gotoAndPlay(2);
_root.currentlevel = _root.currentlevel + 1;
_root.enemyspeed = _root.enemyspeed + 0.1;
_root.enemyspeedmin = _root.enemyspeedmin + 0.1;
}
if ((_root.enemieskilled > 200) && (_root.laserlevel == "level4")) {
_root.laserlevel = "level5";
_root.leveltext = "Level 5";
_root.leveldisplayshow.gotoAndPlay(2);
_root.currentlevel = _root.currentlevel + 1;
_root.enemyspeed = _root.enemyspeed + 0.1;
_root.enemyspeedmin = _root.enemyspeedmin + 0.1;
}
if ((_root.enemieskilled > 250) && (_root.laserlevel == "level5")) {
_root.laserlevel = "level6";
_root.leveltext = "Level 6";
_root.leveldisplayshow.gotoAndPlay(2);
_root.currentlevel = _root.currentlevel + 1;
_root.enemyspeed = _root.enemyspeed + 0.1;
_root.enemyspeedmin = _root.enemyspeedmin + 0.1;
}
if ((_root.enemieskilled > 300) && (_root.laserlevel == "level6")) {
_root.laserlevel = "level7";
_root.leveltext = "Level 7";
_root.leveldisplayshow.gotoAndPlay(2);
_root.currentlevel = _root.currentlevel + 1;
_root.enemyspeed = _root.enemyspeed + 0.1;
_root.enemyspeedmin = _root.enemyspeedmin + 0.1;
}
if ((_root.enemieskilled > 350) && (_root.laserlevel == "level7")) {
_root.laserlevel = "level8";
_root.leveltext = "Level 8";
_root.leveldisplayshow.gotoAndPlay(2);
_root.currentlevel = _root.currentlevel + 1;
_root.enemyspeed = _root.enemyspeed + 0.1;
_root.enemyspeedmin = _root.enemyspeedmin + 0.1;
}
if ((_root.enemieskilled > 400) && (_root.laserlevel == "level8")) {
_root.laserlevel = "level9";
_root.leveltext = "Level 9";
_root.leveldisplayshow.gotoAndPlay(2);
_root.currentlevel = _root.currentlevel + 1;
_root.enemyspeed = _root.enemyspeed + 0.1;
_root.enemyspeedmin = _root.enemyspeedmin + 0.1;
}
if ((_root.enemieskilled > 450) && (_root.laserlevel == "level9")) {
_root.laserlevel = "level10";
_root.leveltext = "Level 10";
_root.leveldisplayshow.gotoAndPlay(2);
_root.currentlevel = _root.currentlevel + 1;
_root.enemyspeed = _root.enemyspeed + 0.1;
_root.enemyspeedmin = _root.enemyspeedmin + 0.1;
}
}
stop();
_root.currentlevel = 1;
_root.leveltext = "Level 1";
_root.enemieshit = 0;
_root.enemieskilled = 0;
_root.laserlevel = "level1";
clearInterval(_root.upgradelaserfunction);
_root.upgradelaserfunction = setInterval(UpgradeLaser, 100);
function MoveAround() {
if (_root.enemieshit == 15) {
_root.gotoAndStop("dead");
}
if (Key.isDown(39)) {
_root.ship._x = _root.ship._x + setspeed;
}
if (Key.isDown(37)) {
_root.ship._x = _root.ship._x - setspeed;
}
if (Key.isDown(38)) {
_root.ship._y = _root.ship._y - setspeed;
}
if (Key.isDown(40)) {
_root.ship._y = _root.ship._y + setspeed;
}
if (_root.ship._x > 560) {
_root.ship._x = -10;
}
if (_root.ship._x < -10) {
_root.ship._x = 560;
}
if (_root.ship._y > 410) {
_root.ship._y = -10;
}
if (_root.ship._y < -10) {
_root.ship._y = 410;
}
}
function AimToMouse() {
adjacent = _root._xmouse - _root.ship._x;
opposite = _root._ymouse - _root.ship._y;
angle = Math.atan2(opposite, adjacent) * 57.2957795130823;
_root.ship._rotation = angle;
}
function Shoot() {
if (Key.isDown(1)) {
newObject = "Laser" + depth;
_root.attachMovie("Laser", newObject, depth);
_root[newObject]._rotation = _root.angle;
_root[newObject]._x = _root.ship._x;
_root[newObject]._y = _root.ship._y;
_root[newObject].onEnterFrame = function () {
if (this.starting == undefined) {
this.constantspeed = 10;
this.starting = false;
this.adjacent = _root._xmouse - this._x;
this.opposite = _root._ymouse - this._y;
this.hypotenuse = Math.sqrt((this.opposite * this.opposite) + (this.adjacent * this.adjacent));
this.xspeed = (this.adjacent / this.hypotenuse) * this.constantspeed;
this.yspeed = (this.opposite / this.hypotenuse) * this.constantspeed;
this._rotation = _root.angle;
}
this.lastdistance = this._x + this._y;
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
this.currentdistance = this._x + this._y;
if (this.currentdistance == this.lastdistance) {
this.removeMovieClip();
}
if (this.hitTest(_root.enemy1)) {
_root.enemy1.nextFrame();
_root.enemy1.hitflash.play();
}
if (this.hitTest(_root.enemy2)) {
_root.enemy2.nextFrame();
_root.enemy2.hitflash.play();
}
if (this.hitTest(_root.enemy3)) {
_root.enemy3.nextFrame();
_root.enemy3.hitflash.play();
}
if (this.hitTest(_root.enemy4)) {
_root.enemy4.nextFrame();
_root.enemy4.hitflash.play();
}
if (this._x > 600) {
this.removeMovieClip();
}
if (this._x < -50) {
this.removeMovieClip();
}
if (this._y > 450) {
this.removeMovieClip();
}
if (this._y < -50) {
this.removeMovieClip();
}
};
depth = depth + 1;
}
}
setspeed = 4;
depth = 0;
clearInterval(_root.shipmovefunction);
_root.shipmovefunction = setInterval(MoveAround, 25);
clearInterval(_root.shipaimfunction);
_root.shipaimfunction = setInterval(AimToMouse, 25);
clearInterval(_root.shipshootfunction);
_root.shipshootfunction = setInterval(Shoot, 25);
function Enemy1() {
_root.enemy1.adjacent = _root.ship._x - _root.enemy1._x;
_root.enemy1.opposite = _root.ship._y - _root.enemy1._y;
_root.enemy1.angle = Math.atan2(_root.enemy1.opposite, _root.enemy1.adjacent) * 57.2957795130823;
_root.enemy1._rotation = _root.enemy1.angle;
_root.enemy1.adjacent = _root.ship._x - _root.enemy1._x;
_root.enemy1.opposite = _root.ship._y - _root.enemy1._y;
_root.enemy1.hypotenuse = Math.sqrt((_root.enemy1.opposite * _root.enemy1.opposite) + (_root.enemy1.adjacent * _root.enemy1.adjacent));
_root.enemy1.xspeed = (_root.enemy1.adjacent / _root.enemy1.hypotenuse) * _root.enemy1.constantspeed;
_root.enemy1.yspeed = (_root.enemy1.opposite / _root.enemy1.hypotenuse) * _root.enemy1.constantspeed;
_root.enemy1._x = _root.enemy1._x + _root.enemy1.xspeed;
_root.enemy1._y = _root.enemy1._y + _root.enemy1.yspeed;
if (_root.enemy1.dead == true) {
_root.enemy1.startposition = random(4) + 1;
if (_root.enemy1.startposition == 1) {
_root.enemy1.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy1.gotoAndStop(1);
_root.enemy1._x = -10;
_root.enemy1._y = Math.random() * 400;
}
if (_root.enemy1.startposition == 2) {
_root.enemy1.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy1.gotoAndStop(1);
_root.enemy1._x = 560;
_root.enemy1._y = Math.random() * 400;
}
if (_root.enemy1.startposition == 3) {
_root.enemy1.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy1.gotoAndStop(1);
_root.enemy1._x = Math.random() * 550;
_root.enemy1._y = -10;
}
if (_root.enemy1.startposition == 4) {
_root.enemy1.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy1.gotoAndStop(1);
_root.enemy1._x = Math.random() * 550;
_root.enemy1._y = 410;
}
}
}
function Enemy2() {
_root.enemy2.adjacent = _root.ship._x - _root.enemy2._x;
_root.enemy2.opposite = _root.ship._y - _root.enemy2._y;
_root.enemy2.angle = Math.atan2(_root.enemy2.opposite, _root.enemy2.adjacent) * 57.2957795130823;
_root.enemy2._rotation = _root.enemy2.angle;
_root.enemy2.adjacent = _root.ship._x - _root.enemy2._x;
_root.enemy2.opposite = _root.ship._y - _root.enemy2._y;
_root.enemy2.hypotenuse = Math.sqrt((_root.enemy2.opposite * _root.enemy2.opposite) + (_root.enemy2.adjacent * _root.enemy2.adjacent));
_root.enemy2.xspeed = (_root.enemy2.adjacent / _root.enemy2.hypotenuse) * _root.enemy2.constantspeed;
_root.enemy2.yspeed = (_root.enemy2.opposite / _root.enemy2.hypotenuse) * _root.enemy2.constantspeed;
_root.enemy2._x = _root.enemy2._x + _root.enemy2.xspeed;
_root.enemy2._y = _root.enemy2._y + _root.enemy2.yspeed;
if (_root.enemy2.dead == true) {
_root.enemy2.startposition = random(4) + 1;
if (_root.enemy2.startposition == 1) {
_root.enemy2.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy2.gotoAndStop(1);
_root.enemy2._x = -10;
_root.enemy2._y = Math.random() * 400;
}
if (_root.enemy2.startposition == 2) {
_root.enemy2.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy2.gotoAndStop(1);
_root.enemy2._x = 560;
_root.enemy2._y = Math.random() * 400;
}
if (_root.enemy2.startposition == 3) {
_root.enemy2.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy2.gotoAndStop(1);
_root.enemy2._x = Math.random() * 550;
_root.enemy2._y = -10;
}
if (_root.enemy2.startposition == 4) {
_root.enemy2.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy2.gotoAndStop(1);
_root.enemy2._x = Math.random() * 550;
_root.enemy2._y = 410;
}
}
}
function Enemy3() {
_root.enemy3.adjacent = _root.ship._x - _root.enemy3._x;
_root.enemy3.opposite = _root.ship._y - _root.enemy3._y;
_root.enemy3.angle = Math.atan2(_root.enemy3.opposite, _root.enemy3.adjacent) * 57.2957795130823;
_root.enemy3._rotation = _root.enemy3.angle;
_root.enemy3.adjacent = _root.ship._x - _root.enemy3._x;
_root.enemy3.opposite = _root.ship._y - _root.enemy3._y;
_root.enemy3.hypotenuse = Math.sqrt((_root.enemy3.opposite * _root.enemy3.opposite) + (_root.enemy3.adjacent * _root.enemy3.adjacent));
_root.enemy3.xspeed = (_root.enemy3.adjacent / _root.enemy3.hypotenuse) * _root.enemy3.constantspeed;
_root.enemy3.yspeed = (_root.enemy3.opposite / _root.enemy3.hypotenuse) * _root.enemy3.constantspeed;
_root.enemy3._x = _root.enemy3._x + _root.enemy3.xspeed;
_root.enemy3._y = _root.enemy3._y + _root.enemy3.yspeed;
if (_root.enemy3.dead == true) {
_root.enemy3.startposition = random(4) + 1;
if (_root.enemy3.startposition == 1) {
_root.enemy3.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy3.gotoAndStop(1);
_root.enemy3._x = -10;
_root.enemy3._y = Math.random() * 400;
}
if (_root.enemy3.startposition == 2) {
_root.enemy3.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy3.gotoAndStop(1);
_root.enemy3._x = 560;
_root.enemy3._y = Math.random() * 400;
}
if (_root.enemy3.startposition == 3) {
_root.enemy3.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy3.gotoAndStop(1);
_root.enemy3._x = Math.random() * 550;
_root.enemy3._y = -10;
}
if (_root.enemy3.startposition == 4) {
_root.enemy3.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy3.gotoAndStop(1);
_root.enemy3._x = Math.random() * 550;
_root.enemy3._y = 410;
}
}
}
function Enemy4() {
_root.enemy4.adjacent = _root.ship._x - _root.enemy4._x;
_root.enemy4.opposite = _root.ship._y - _root.enemy4._y;
_root.enemy4.angle = Math.atan2(_root.enemy4.opposite, _root.enemy4.adjacent) * 57.2957795130823;
_root.enemy4._rotation = _root.enemy4.angle;
_root.enemy4.adjacent = _root.ship._x - _root.enemy4._x;
_root.enemy4.opposite = _root.ship._y - _root.enemy4._y;
_root.enemy4.hypotenuse = Math.sqrt((_root.enemy4.opposite * _root.enemy4.opposite) + (_root.enemy4.adjacent * _root.enemy4.adjacent));
_root.enemy4.xspeed = (_root.enemy4.adjacent / _root.enemy4.hypotenuse) * _root.enemy4.constantspeed;
_root.enemy4.yspeed = (_root.enemy4.opposite / _root.enemy4.hypotenuse) * _root.enemy4.constantspeed;
_root.enemy4._x = _root.enemy4._x + _root.enemy4.xspeed;
_root.enemy4._y = _root.enemy4._y + _root.enemy4.yspeed;
if (_root.enemy4.dead == true) {
_root.enemy4.startposition = random(4) + 1;
if (_root.enemy4.startposition == 1) {
_root.enemy4.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy4.gotoAndStop(1);
_root.enemy4._x = -10;
_root.enemy4._y = Math.random() * 400;
}
if (_root.enemy4.startposition == 2) {
_root.enemy4.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy4.gotoAndStop(1);
_root.enemy4._x = 560;
_root.enemy4._y = Math.random() * 400;
}
if (_root.enemy4.startposition == 3) {
_root.enemy4.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy4.gotoAndStop(1);
_root.enemy4._x = Math.random() * 550;
_root.enemy4._y = -10;
}
if (_root.enemy4.startposition == 4) {
_root.enemy4.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy4.gotoAndStop(1);
_root.enemy4._x = Math.random() * 550;
_root.enemy4._y = 410;
}
}
}
_root.enemyspeed = 1.5;
_root.enemyspeedmin = 0.1;
clearInterval(_root.enemy1function);
_root.enemy1.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy1function = setInterval(Enemy1, 25);
clearInterval(_root.enemy2function);
_root.enemy2.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy2function = setInterval(Enemy2, 25);
clearInterval(_root.enemy3function);
setInterval(Enemy3, 25);
_root.enemy3.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy3function = setInterval(Enemy3, 25);
clearInterval(_root.enemy4function);
setInterval(Enemy4, 25);
_root.enemy4.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy4function = setInterval(Enemy4, 25);
Instance of Symbol 814 MovieClip "enemy1" in Frame 4
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.ship.base)) {
this.gotoAndStop(50);
_root.ship.hit.play();
_root.enemieshit = _root.enemieshit + 1;
_root.enemieskilled = _root.enemieskilled - 1;
}
}
Instance of Symbol 814 MovieClip "enemy2" in Frame 4
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.ship.base)) {
this.gotoAndStop(50);
_root.ship.hit.play();
_root.enemieshit = _root.enemieshit + 1;
_root.enemieskilled = _root.enemieskilled - 1;
}
}
Instance of Symbol 814 MovieClip "enemy3" in Frame 4
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.ship.base)) {
this.gotoAndStop(50);
_root.ship.hit.play();
_root.enemieshit = _root.enemieshit + 1;
_root.enemieskilled = _root.enemieskilled - 1;
}
}
Instance of Symbol 814 MovieClip "enemy4" in Frame 4
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.ship.base)) {
this.gotoAndStop(50);
_root.ship.hit.play();
_root.enemieshit = _root.enemieshit + 1;
_root.enemieskilled = _root.enemieskilled - 1;
}
}
Frame 5
stop();
_root.enemieshit = 0;
_root.enemieskilled = 0;
function MoveAround() {
if (Key.isDown(39)) {
_root.ship._x = _root.ship._x + setspeed;
}
if (Key.isDown(37)) {
_root.ship._x = _root.ship._x - setspeed;
}
if (Key.isDown(38)) {
_root.ship._y = _root.ship._y - setspeed;
}
if (Key.isDown(40)) {
_root.ship._y = _root.ship._y + setspeed;
}
if (_root.ship._x > 560) {
_root.ship._x = -10;
}
if (_root.ship._x < -10) {
_root.ship._x = 560;
}
if (_root.ship._y > 410) {
_root.ship._y = -10;
}
if (_root.ship._y < -10) {
_root.ship._y = 410;
}
}
function AimToMouse() {
adjacent = _root._xmouse - _root.ship._x;
opposite = _root._ymouse - _root.ship._y;
angle = Math.atan2(opposite, adjacent) * 57.2957795130823;
_root.ship._rotation = angle;
}
function Shoot() {
if (Key.isDown(1)) {
newObject = "Laser" + depth;
_root.attachMovie("Laser", newObject, depth);
_root[newObject]._x = _root.ship._x;
_root[newObject]._y = _root.ship._y;
_root[newObject].onEnterFrame = function () {
if (this.starting == undefined) {
this.constantspeed = 10;
this.starting = false;
this.adjacent = _root._xmouse - this._x;
this.opposite = _root._ymouse - this._y;
this.hypotenuse = Math.sqrt((this.opposite * this.opposite) + (this.adjacent * this.adjacent));
this.xspeed = (this.adjacent / this.hypotenuse) * this.constantspeed;
this.yspeed = (this.opposite / this.hypotenuse) * this.constantspeed;
this._rotation = _root.angle;
}
this.lastdistance = this._x + this._y;
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
this.currentdistance = this._x + this._y;
if (this.currentdistance == this.lastdistance) {
this.removeMovieClip();
}
if (this.hitTest(_root.enemy1)) {
_root.enemy1.nextFrame();
_root.enemy1.hitflash.play();
}
if (this.hitTest(_root.enemy2)) {
_root.enemy2.nextFrame();
_root.enemy2.hitflash.play();
}
if (this.hitTest(_root.enemy3)) {
_root.enemy3.nextFrame();
_root.enemy3.hitflash.play();
}
if (this.hitTest(_root.enemy4)) {
_root.enemy4.nextFrame();
_root.enemy4.hitflash.play();
}
if (this._x > 600) {
this.removeMovieClip();
}
if (this._x < -50) {
this.removeMovieClip();
}
if (this._y > 450) {
this.removeMovieClip();
}
if (this._y < -50) {
this.removeMovieClip();
}
};
depth = depth + 1;
}
}
setspeed = 4;
depth = 0;
clearInterval(_root.shipmovefunction);
_root.shipmovefunction = setInterval(MoveAround, 25);
clearInterval(_root.shipaimfunction);
_root.shipaimfunction = setInterval(AimToMouse, 25);
clearInterval(_root.shipshootfunction);
_root.shipshootfunction = setInterval(Shoot, 25);
function Enemy1() {
_root.enemy1.adjacent = _root.ship._x - _root.enemy1._x;
_root.enemy1.opposite = _root.ship._y - _root.enemy1._y;
_root.enemy1.angle = Math.atan2(_root.enemy1.opposite, _root.enemy1.adjacent) * 57.2957795130823;
_root.enemy1._rotation = _root.enemy1.angle;
_root.enemy1.adjacent = _root.ship._x - _root.enemy1._x;
_root.enemy1.opposite = _root.ship._y - _root.enemy1._y;
_root.enemy1.hypotenuse = Math.sqrt((_root.enemy1.opposite * _root.enemy1.opposite) + (_root.enemy1.adjacent * _root.enemy1.adjacent));
_root.enemy1.xspeed = (_root.enemy1.adjacent / _root.enemy1.hypotenuse) * _root.enemy1.constantspeed;
_root.enemy1.yspeed = (_root.enemy1.opposite / _root.enemy1.hypotenuse) * _root.enemy1.constantspeed;
_root.enemy1._x = _root.enemy1._x + _root.enemy1.xspeed;
_root.enemy1._y = _root.enemy1._y + _root.enemy1.yspeed;
if (_root.enemy1.dead == true) {
_root.enemy1.startposition = random(4) + 1;
if (_root.enemy1.startposition == 1) {
_root.enemy1.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy1.gotoAndStop(1);
_root.enemy1._x = -10;
_root.enemy1._y = Math.random() * 400;
}
if (_root.enemy1.startposition == 2) {
_root.enemy1.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy1.gotoAndStop(1);
_root.enemy1._x = 560;
_root.enemy1._y = Math.random() * 400;
}
if (_root.enemy1.startposition == 3) {
_root.enemy1.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy1.gotoAndStop(1);
_root.enemy1._x = Math.random() * 550;
_root.enemy1._y = -10;
}
if (_root.enemy1.startposition == 4) {
_root.enemy1.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy1.gotoAndStop(1);
_root.enemy1._x = Math.random() * 550;
_root.enemy1._y = 410;
}
}
}
function Enemy2() {
_root.enemy2.adjacent = _root.ship._x - _root.enemy2._x;
_root.enemy2.opposite = _root.ship._y - _root.enemy2._y;
_root.enemy2.angle = Math.atan2(_root.enemy2.opposite, _root.enemy2.adjacent) * 57.2957795130823;
_root.enemy2._rotation = _root.enemy2.angle;
_root.enemy2.adjacent = _root.ship._x - _root.enemy2._x;
_root.enemy2.opposite = _root.ship._y - _root.enemy2._y;
_root.enemy2.hypotenuse = Math.sqrt((_root.enemy2.opposite * _root.enemy2.opposite) + (_root.enemy2.adjacent * _root.enemy2.adjacent));
_root.enemy2.xspeed = (_root.enemy2.adjacent / _root.enemy2.hypotenuse) * _root.enemy2.constantspeed;
_root.enemy2.yspeed = (_root.enemy2.opposite / _root.enemy2.hypotenuse) * _root.enemy2.constantspeed;
_root.enemy2._x = _root.enemy2._x + _root.enemy2.xspeed;
_root.enemy2._y = _root.enemy2._y + _root.enemy2.yspeed;
if (_root.enemy2.dead == true) {
_root.enemy2.startposition = random(4) + 1;
if (_root.enemy2.startposition == 1) {
_root.enemy2.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy2.gotoAndStop(1);
_root.enemy2._x = -10;
_root.enemy2._y = Math.random() * 400;
}
if (_root.enemy2.startposition == 2) {
_root.enemy2.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy2.gotoAndStop(1);
_root.enemy2._x = 560;
_root.enemy2._y = Math.random() * 400;
}
if (_root.enemy2.startposition == 3) {
_root.enemy2.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy2.gotoAndStop(1);
_root.enemy2._x = Math.random() * 550;
_root.enemy2._y = -10;
}
if (_root.enemy2.startposition == 4) {
_root.enemy2.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy2.gotoAndStop(1);
_root.enemy2._x = Math.random() * 550;
_root.enemy2._y = 410;
}
}
}
function Enemy3() {
_root.enemy3.adjacent = _root.ship._x - _root.enemy3._x;
_root.enemy3.opposite = _root.ship._y - _root.enemy3._y;
_root.enemy3.angle = Math.atan2(_root.enemy3.opposite, _root.enemy3.adjacent) * 57.2957795130823;
_root.enemy3._rotation = _root.enemy3.angle;
_root.enemy3.adjacent = _root.ship._x - _root.enemy3._x;
_root.enemy3.opposite = _root.ship._y - _root.enemy3._y;
_root.enemy3.hypotenuse = Math.sqrt((_root.enemy3.opposite * _root.enemy3.opposite) + (_root.enemy3.adjacent * _root.enemy3.adjacent));
_root.enemy3.xspeed = (_root.enemy3.adjacent / _root.enemy3.hypotenuse) * _root.enemy3.constantspeed;
_root.enemy3.yspeed = (_root.enemy3.opposite / _root.enemy3.hypotenuse) * _root.enemy3.constantspeed;
_root.enemy3._x = _root.enemy3._x + _root.enemy3.xspeed;
_root.enemy3._y = _root.enemy3._y + _root.enemy3.yspeed;
if (_root.enemy3.dead == true) {
_root.enemy3.startposition = random(4) + 1;
if (_root.enemy3.startposition == 1) {
_root.enemy3.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy3.gotoAndStop(1);
_root.enemy3._x = -10;
_root.enemy3._y = Math.random() * 400;
}
if (_root.enemy3.startposition == 2) {
_root.enemy3.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy3.gotoAndStop(1);
_root.enemy3._x = 560;
_root.enemy3._y = Math.random() * 400;
}
if (_root.enemy3.startposition == 3) {
_root.enemy3.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy3.gotoAndStop(1);
_root.enemy3._x = Math.random() * 550;
_root.enemy3._y = -10;
}
if (_root.enemy3.startposition == 4) {
_root.enemy3.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy3.gotoAndStop(1);
_root.enemy3._x = Math.random() * 550;
_root.enemy3._y = 410;
}
}
}
function Enemy4() {
_root.enemy4.adjacent = _root.ship._x - _root.enemy4._x;
_root.enemy4.opposite = _root.ship._y - _root.enemy4._y;
_root.enemy4.angle = Math.atan2(_root.enemy4.opposite, _root.enemy4.adjacent) * 57.2957795130823;
_root.enemy4._rotation = _root.enemy4.angle;
_root.enemy4.adjacent = _root.ship._x - _root.enemy4._x;
_root.enemy4.opposite = _root.ship._y - _root.enemy4._y;
_root.enemy4.hypotenuse = Math.sqrt((_root.enemy4.opposite * _root.enemy4.opposite) + (_root.enemy4.adjacent * _root.enemy4.adjacent));
_root.enemy4.xspeed = (_root.enemy4.adjacent / _root.enemy4.hypotenuse) * _root.enemy4.constantspeed;
_root.enemy4.yspeed = (_root.enemy4.opposite / _root.enemy4.hypotenuse) * _root.enemy4.constantspeed;
_root.enemy4._x = _root.enemy4._x + _root.enemy4.xspeed;
_root.enemy4._y = _root.enemy4._y + _root.enemy4.yspeed;
if (_root.enemy4.dead == true) {
_root.enemy4.startposition = random(4) + 1;
if (_root.enemy4.startposition == 1) {
_root.enemy4.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy4.gotoAndStop(1);
_root.enemy4._x = -10;
_root.enemy4._y = Math.random() * 400;
}
if (_root.enemy4.startposition == 2) {
_root.enemy4.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy4.gotoAndStop(1);
_root.enemy4._x = 560;
_root.enemy4._y = Math.random() * 400;
}
if (_root.enemy4.startposition == 3) {
_root.enemy4.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy4.gotoAndStop(1);
_root.enemy4._x = Math.random() * 550;
_root.enemy4._y = -10;
}
if (_root.enemy4.startposition == 4) {
_root.enemy4.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy4.gotoAndStop(1);
_root.enemy4._x = Math.random() * 550;
_root.enemy4._y = 410;
}
}
}
_root.enemyspeed = 1.5;
_root.enemyspeedmin = 0.1;
clearInterval(_root.enemy1function);
_root.enemy1.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy1function = setInterval(Enemy1, 25);
clearInterval(_root.enemy2function);
_root.enemy2.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy2function = setInterval(Enemy2, 25);
clearInterval(_root.enemy3function);
setInterval(Enemy3, 25);
_root.enemy3.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy3function = setInterval(Enemy3, 25);
clearInterval(_root.enemy4function);
setInterval(Enemy4, 25);
_root.enemy4.constantspeed = (Math.random() * _root.enemyspeed) + _root.enemyspeedmin;
_root.enemy4function = setInterval(Enemy4, 25);
Frame 6
stop();
clearInterval(_root.upgradelaserfunction);
clearInterval(_root.shipmovefunction);
clearInterval(_root.shipaimfunction);
clearInterval(_root.shipshootfunction);
clearInterval(_root.enemy1function);
clearInterval(_root.enemy2function);
clearInterval(_root.enemy3function);
clearInterval(_root.enemy4function);
Symbol 3 MovieClip Frame 20
stop();
Symbol 4 MovieClip Frame 15
stop();
Symbol 5 MovieClip Frame 40
gotoAndPlay ("restart");
Symbol 6 MovieClip Frame 17
gotoAndPlay ("restart");
Symbol 20 MovieClip Frame 10
stop();
Symbol 21 MovieClip Frame 10
stop();
Symbol 34 MovieClip Frame 20
gotoAndPlay ("restart");
Symbol 35 MovieClip [Laser] Frame 1
gotoAndStop(_root.laserlevel);
Symbol 35 MovieClip [Laser] Frame 11
gotoAndStop(random(4) + 7);
Symbol 58 Button
on (release) {
getURL ("http://www.godlygamer.com", _new);
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 635 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 637 MovieClip in Symbol 638 MovieClip Frame 1
onClipEvent (load) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 70) {
this._x = random(230) - 115;
this._y = -70;
this.speed = random(3) + 2;
}
}
Instance of Symbol 643 MovieClip in Symbol 644 MovieClip Frame 1
onClipEvent (load) {
this._x = random(550) - 275;
this._y = (-1 * random(60)) - 100;
this.sizevar = random(50) + 51;
this._xscale = this.sizevar;
this._yscale = this.sizevar;
this.speed = random(3) + 1;
}
onClipEvent (enterFrame) {
this._x = this._x + this.speed;
if (this._x > 350) {
this._x = -375;
this._y = (-1 * random(60)) - 100;
this.sizevar = random(50) + 51;
this._xscale = this.sizevar;
this._yscale = this.sizevar;
this.speed = random(3) + 1;
}
}
Instance of Symbol 643 MovieClip in Symbol 644 MovieClip Frame 1
onClipEvent (load) {
this._x = random(550) - 275;
this._y = (-1 * random(60)) - 100;
this.sizevar = random(50) + 51;
this._xscale = this.sizevar;
this._yscale = this.sizevar;
this.speed = random(3) + 1;
}
onClipEvent (enterFrame) {
this._x = this._x + this.speed;
if (this._x > 350) {
this._x = -375;
this._y = (-1 * random(60)) - 100;
this.sizevar = random(50) + 51;
this._xscale = this.sizevar;
this._yscale = this.sizevar;
this.speed = random(3) + 1;
}
}
Instance of Symbol 643 MovieClip in Symbol 644 MovieClip Frame 1
onClipEvent (load) {
this._x = random(550) - 275;
this._y = (-1 * random(60)) - 100;
this.sizevar = random(50) + 51;
this._xscale = this.sizevar;
this._yscale = this.sizevar;
this.speed = random(3) + 1;
}
onClipEvent (enterFrame) {
this._x = this._x + this.speed;
if (this._x > 350) {
this._x = -375;
this._y = (-1 * random(60)) - 100;
this.sizevar = random(50) + 51;
this._xscale = this.sizevar;
this._yscale = this.sizevar;
this.speed = random(3) + 1;
}
}
Instance of Symbol 643 MovieClip in Symbol 644 MovieClip Frame 1
onClipEvent (load) {
this._x = random(550) - 275;
this._y = (-1 * random(60)) - 100;
this.sizevar = random(50) + 51;
this._xscale = this.sizevar;
this._yscale = this.sizevar;
this.speed = random(3) + 1;
}
onClipEvent (enterFrame) {
this._x = this._x + this.speed;
if (this._x > 350) {
this._x = -375;
this._y = (-1 * random(60)) - 100;
this.sizevar = random(50) + 51;
this._xscale = this.sizevar;
this._yscale = this.sizevar;
this.speed = random(3) + 1;
}
}
Instance of Symbol 643 MovieClip in Symbol 644 MovieClip Frame 1
onClipEvent (load) {
this._x = random(550) - 275;
this._y = (-1 * random(60)) - 100;
this.sizevar = random(50) + 51;
this._xscale = this.sizevar;
this._yscale = this.sizevar;
this.speed = random(3) + 1;
}
onClipEvent (enterFrame) {
this._x = this._x + this.speed;
if (this._x > 350) {
this._x = -375;
this._y = (-1 * random(60)) - 100;
this.sizevar = random(50) + 51;
this._xscale = this.sizevar;
this._yscale = this.sizevar;
this.speed = random(3) + 1;
}
}
Instance of Symbol 643 MovieClip in Symbol 644 MovieClip Frame 1
onClipEvent (load) {
this._x = random(550) - 275;
this._y = (-1 * random(60)) - 100;
this.sizevar = random(50) + 51;
this._xscale = this.sizevar;
this._yscale = this.sizevar;
this.speed = random(3) + 1;
}
onClipEvent (enterFrame) {
this._x = this._x + this.speed;
if (this._x > 350) {
this._x = -375;
this._y = (-1 * random(60)) - 100;
this.sizevar = random(50) + 51;
this._xscale = this.sizevar;
this._yscale = this.sizevar;
this.speed = random(3) + 1;
}
}
Instance of Symbol 643 MovieClip in Symbol 644 MovieClip Frame 1
onClipEvent (load) {
this._x = random(550) - 275;
this._y = (-1 * random(60)) - 100;
this.sizevar = random(50) + 51;
this._xscale = this.sizevar;
this._yscale = this.sizevar;
this.speed = random(3) + 1;
}
onClipEvent (enterFrame) {
this._x = this._x + this.speed;
if (this._x > 350) {
this._x = -375;
this._y = (-1 * random(60)) - 100;
this.sizevar = random(50) + 51;
this._xscale = this.sizevar;
this._yscale = this.sizevar;
this.speed = random(3) + 1;
}
}
Instance of Symbol 643 MovieClip in Symbol 644 MovieClip Frame 1
onClipEvent (load) {
this._x = random(550) - 275;
this._y = (-1 * random(60)) - 100;
this.sizevar = random(50) + 51;
this._xscale = this.sizevar;
this._yscale = this.sizevar;
this.speed = random(3) + 1;
}
onClipEvent (enterFrame) {
this._x = this._x + this.speed;
if (this._x > 350) {
this._x = -375;
this._y = (-1 * random(60)) - 100;
this.sizevar = random(50) + 51;
this._xscale = this.sizevar;
this._yscale = this.sizevar;
this.speed = random(3) + 1;
}
}
Symbol 659 MovieClip Frame 1
stop();
Symbol 717 MovieClip Frame 20
stop();
Symbol 733 MovieClip Frame 400
_root.play();
Symbol 738 Button
on (release) {
_root.enemyspeed = 1.5;
_root.enemyspeedmin = 0.1;
gotoAndStop ("playgame");
}
Symbol 749 MovieClip Frame 1
stop();
Symbol 754 MovieClip Frame 1
stop();
Symbol 813 MovieClip Frame 20
stop();
_parent.dead = true;
Symbol 814 MovieClip Frame 1
stop();
dead = false;
Symbol 814 MovieClip Frame 50
stop();
_root.enemieskilled = _root.enemieskilled + 1;
Symbol 821 Button
on (release) {
_root.laserlevel = "level5";
gotoAndStop ("freestyle");
}
Symbol 822 Button
on (release) {
_root.laserlevel = "level4";
gotoAndStop ("freestyle");
}
Symbol 823 Button
on (release) {
_root.laserlevel = "level3";
gotoAndStop ("freestyle");
}
Symbol 824 Button
on (release) {
_root.laserlevel = "level2";
gotoAndStop ("freestyle");
}
Symbol 825 Button
on (release) {
_root.laserlevel = "level1";
gotoAndStop ("freestyle");
}
Symbol 826 Button
on (release) {
_root.laserlevel = "level9";
gotoAndStop ("freestyle");
}
Symbol 827 Button
on (release) {
_root.laserlevel = "level8";
gotoAndStop ("freestyle");
}
Symbol 828 Button
on (release) {
_root.laserlevel = "level7";
gotoAndStop ("freestyle");
}
Symbol 829 Button
on (release) {
_root.laserlevel = "level6";
gotoAndStop ("freestyle");
}
Symbol 830 Button
on (release) {
_root.laserlevel = "level10";
gotoAndStop ("freestyle");
}
Symbol 832 Button
on (release) {
getURL ("http://www.godlygamer.com/", _new);
}
Symbol 834 Button
on (release) {
play();
}
Symbol 837 Button
on (release) {
play();
}
Symbol 838 MovieClip Frame 1
stop();
Symbol 838 MovieClip Frame 2
stop();
Symbol 841 MovieClip Frame 1
stop();
Symbol 843 Button
on (release) {
_root.gotoAndStop("mainmenu");
}
Symbol 855 Button
on (release) {
_root.gotoAndStop("mainmenu");
}