Frame 1
Stage.showMenu = false;
qualityToggle = 0;
qualityList = ["BEST", "MEDIUM", "LOW"];
Frame 2
stop();
Frame 4
function updateEnemyControl() {
if (getTimer() > enemyTimer) {
if (waveNum < waveCount) {
var myList = waveList[waveNum];
var nextEnemy = myList[0];
var nextTime = myList[1];
var nextX = myList[2];
var newName = ("attacker_" + (waveNum + 50));
spawn.duplicateMovieClip(newName, waveNum + 50);
var newObject = eval (newName);
newObject.gotoAndPlay(nextEnemy);
newObject._x = nextX;
newObject.weaponType = myList[3];
newObject.threatRadius = myList[4];
var fatalPause = myList[5];
if (fatalPause > 0) {
fatalDelay = getTimer() + fatalPause;
}
targetList.push(newName);
enemyTimer = getTimer() + nextTime;
waveNum++;
}
}
}
function spawnMeatPew() {
if (getTimer() > fireDelay) {
fireDelay = getTimer() + 75;
var temp = "";
var empty = "";
i = 0;
while (i <= 7) {
temp = fireControl[i];
if (temp == "") {
empty = i;
i = 8;
}
i++;
}
if (empty != "") {
pew_master.duplicateMovieClip("pew_" + empty, empty);
eval ("pew_" + empty)._x = meatwad._x;
eval ("pew_" + empty)._y = meatwad._y;
eval ("pew_" + empty).threatRadius = 1;
fireControl[empty] = "pew_" + empty;
var tempRand = (Math.round(Math.random() * 9) + 5);
eval ("pew_" + empty).gotoAndPlay(tempRand);
}
}
}
function updateFireControl() {
i = 0;
while (i <= 7) {
var fireString = fireControl[i];
if (fireString != "") {
var fireObject = eval (fireString);
var fire_y = (fireObject._y - 15);
if (fire_y <= 0) {
removeMovieClip(fireString);
fireControl[i] = "";
} else {
fireObject._y = fire_y;
targetCount = targetList.length;
j = 0;
while (j < targetCount) {
var hitTemp = targetList[j];
var hitObject = eval (hitTemp);
if (fireObject.hitTest(hitObject)) {
if (hitObject.hitpoints > 0) {
removeMovieClip(fireString);
fireControl[i] = "";
hitObject.hitDetect();
}
}
j++;
}
}
}
i++;
}
}
function forgetMe(naught) {
var targetLength = targetList.length;
var temp = "";
i = 0;
while (i < targetLength) {
temp = targetList[i];
if (temp == naught) {
targetList.splice(i, 1);
}
i++;
}
}
function FatalForgetMe(naught) {
eval (naught).removeMovieClip();
var fatalLength = fatalList.length;
var temp = "";
i = 0;
while (i < fatalLength) {
temp = fatalList[i];
if (temp == naught) {
fatalList.splice(i, 1);
}
i++;
}
}
function updateDangerousControl() {
if (meatwad._currentframe <= 4) {
var bottleneck = 0;
var fatalLength = fatalList.length;
var temp = "";
var tempObject = "";
i = 0;
while (i < fatalLength) {
temp = fatalList[i];
if (hitTestDistance(eval (temp), meatwad)) {
bottleneck = 1;
FatalForgetMe(temp);
i = fatalLength;
}
i++;
}
if (bottleneck == 0) {
var targetLength = targetList.length;
i = 0;
while (i < targetLength) {
temp = targetList[i];
tempObject = eval (temp);
if (meatwad.hitTest(tempObject)) {
bottleneck = 1;
tempObject.hitDetect();
i = targetLength;
}
i++;
}
}
if (bottleneck == 1) {
meatwad.gotoAndPlay("dying");
}
}
}
function clearAll() {
var fatalLength = fatalList.length;
var temp = "";
i = 0;
while (i < fatalLength) {
temp = fatalList[i];
eval (temp).removeMovieClip();
i++;
}
var targetLength = targetList.length;
i = 0;
while (i < targetLength) {
temp = targetList[i];
eval (temp).removeMovieClip();
i++;
}
var targetLength = fireControl.length;
i = 0;
while (i < targetLength) {
temp = fireControl[i];
eval (temp).removeMovieClip();
i++;
}
fireControl = new Array();
i = 0;
while (i <= 7) {
fireControl[i] = "";
i++;
}
fireDelay = getTimer();
enemyDelay = getTimer();
enemyList = new Array();
fatalList = new Array();
}
function makeNewGame() {
if (konamicode == 1) {
credits = 30;
} else {
credits = 3;
}
gameOver = 0;
fireControl = new Array();
i = 0;
while (i <= 7) {
fireControl[i] = "";
i++;
}
fireDelay = getTimer();
enemyDelay = getTimer();
enemyList = new Array();
fatalList = new Array();
}
function spawnTrackingFatalSlowPew(origX, origY) {
fatalNum++;
if (fatalNum > 35) {
fatalNum = 1;
}
var xDiff = (origX - meatwad._x);
var yDiff = (origY - meatwad._y);
angle = twoDiffsToAngle(xDiff, yDiff);
var tempString = ("fatal_10" + fatalNum);
slow_master.duplicateMovieClip(tempString, 10 + fatalNum);
var tempObject = eval (tempString);
tempObject._x = origX;
tempObject._y = origY;
tempObject.xspeed = (shotspeed / 5) * Math.sin(angle);
tempObject.yspeed = (shotspeed / 5) * Math.cos(angle);
tempObject.threatRadius = 15;
fatalList.push(tempString);
}
function spawnTrackingFatalPew(origX, origY) {
fatalNum++;
if (fatalNum > 35) {
fatalNum = 1;
}
var xDiff = (origX - meatwad._x);
var yDiff = (origY - meatwad._y);
angle = twoDiffsToAngle(xDiff, yDiff);
var tempString = ("fatal_10" + fatalNum);
fatal_master.duplicateMovieClip(tempString, 10 + fatalNum);
var tempObject = eval (tempString);
tempObject._x = origX;
tempObject._y = origY;
tempObject.xspeed = shotspeed * Math.sin(angle);
tempObject.yspeed = shotspeed * Math.cos(angle);
tempObject.threatRadius = 5;
fatalList.push(tempString);
}
function spawnDirectedFatalPew(origX, origY, addAngle) {
fatalNum++;
if (fatalNum > 35) {
fatalNum = 1;
}
var xDiff = (origX - meatwad._x);
var yDiff = (origY - meatwad._y);
angle = twoDiffsToAngle(xDiff, yDiff);
var tempString = ("fatal_10" + fatalNum);
fatal_master.duplicateMovieClip(tempString, 10 + fatalNum);
var tempObject = eval (tempString);
tempObject._x = origX;
tempObject._y = origY;
tempObject.xspeed = shotspeed * Math.sin(angle + addAngle);
tempObject.yspeed = shotspeed * Math.cos(angle + addAngle);
tempObject.threatRadius = 5;
fatalList.push(tempString);
}
function spawnTrackingFatalTriPew(origX, origY) {
fatalNum++;
if (fatalNum > 35) {
fatalNum = 1;
}
var xDiff = (origX - meatwad._x);
var yDiff = (origY - meatwad._y);
angle = twoDiffsToAngle(xDiff, yDiff);
var tempString = ("fatal_10" + fatalNum);
fatal_master.duplicateMovieClip(tempString, 10 + fatalNum);
var tempObject = eval (tempString);
tempObject._x = origX;
tempObject._y = origY;
tempObject.xspeed = shotspeed * Math.sin(angle);
tempObject.yspeed = shotspeed * Math.cos(angle);
tempObject.threatRadius = 5;
fatalList.push(tempString);
fatalNum++;
var tempString = ("fatal_10" + fatalNum);
fatal_master.duplicateMovieClip(tempString, 10 + fatalNum);
var tempObject = eval (tempString);
tempObject._x = origX;
tempObject._y = origY;
tempObject.xspeed = shotspeed * Math.sin(angle + 0.1);
tempObject.yspeed = shotspeed * Math.cos(angle + 0.1);
tempObject.threatRadius = 5;
fatalList.push(tempString);
fatalNum++;
var tempString = ("fatal_10" + fatalNum);
fatal_master.duplicateMovieClip(tempString, 10 + fatalNum);
var tempObject = eval (tempString);
tempObject._x = origX;
tempObject._y = origY;
tempObject.xspeed = shotspeed * Math.sin(angle - 0.1);
tempObject.yspeed = shotspeed * Math.cos(angle - 0.1);
tempObject.threatRadius = 5;
fatalList.push(tempString);
}
function spawnTrackingGorgoEyePews() {
fatalNum++;
if (fatalNum > 35) {
fatalNum = 1;
}
var origX = (gorgo._x + gorgo.enemy._x);
var origY = (gorgo._y + gorgo.enemy._y);
var xDiff = (origX - meatwad._x);
var yDiff = (origY - meatwad._y);
angle = twoDiffsToAngle(xDiff, yDiff);
var tempString = ("fatal_10" + fatalNum);
fatal_master.duplicateMovieClip(tempString, 10 + fatalNum);
var tempObject = eval (tempString);
tempObject._x = (origX + 35.6) + 3.5;
tempObject._y = origY - 16.5;
tempObject.xspeed = shotspeed * Math.sin(angle);
tempObject.yspeed = shotspeed * Math.cos(angle);
tempObject.threatRadius = 5;
fatalList.push(tempString);
fatalNum++;
var tempString = ("fatal_10" + fatalNum);
fatal_master.duplicateMovieClip(tempString, 10 + fatalNum);
var tempObject = eval (tempString);
tempObject._x = (origX - 34.3) + 3.5;
tempObject._y = origY - 16.5;
tempObject.xspeed = shotspeed * Math.sin(angle);
tempObject.yspeed = shotspeed * Math.cos(angle);
tempObject.threatRadius = 5;
fatalList.push(tempString);
}
function spawnTrackingGorgoMouthPewk(pewNumber) {
var spread = 0.3;
fatalNum++;
if (fatalNum > 35) {
fatalNum = 1;
}
var origX = (gorgo._x + gorgo.enemy._x);
var origY = ((gorgo._y + gorgo.enemy._y) + 30);
var xDiff = (origX - meatwad._x);
var yDiff = (origY - meatwad._y);
angle = twoDiffsToAngle(xDiff, yDiff);
if (pewNumber == 3) {
var tempString = ("fatal_10" + fatalNum);
slow_master.duplicateMovieClip(tempString, 10 + fatalNum);
var tempObject = eval (tempString);
tempObject._x = origX;
tempObject._y = origY;
tempObject.xspeed = shotspeed * Math.sin(angle);
tempObject.yspeed = shotspeed * Math.cos(angle);
tempObject.threatRadius = 15;
fatalList.push(tempString);
fatalNum++;
} else {
spread = 0.2;
}
var tempString = ("fatal_10" + fatalNum);
slow_master.duplicateMovieClip(tempString, 10 + fatalNum);
var tempObject = eval (tempString);
tempObject._x = origX;
tempObject._y = origY;
tempObject.xspeed = shotspeed * Math.sin(angle + spread);
tempObject.yspeed = shotspeed * Math.cos(angle + spread);
tempObject.threatRadius = 15;
fatalList.push(tempString);
fatalNum++;
var tempString = ("fatal_10" + fatalNum);
slow_master.duplicateMovieClip(tempString, 10 + fatalNum);
var tempObject = eval (tempString);
tempObject._x = origX;
tempObject._y = origY;
tempObject.xspeed = shotspeed * Math.sin(angle - spread);
tempObject.yspeed = shotspeed * Math.cos(angle - spread);
tempObject.threatRadius = 15;
fatalList.push(tempString);
}
function spawnStaticGorgoPew(origX, origY) {
fatalNum++;
if (fatalNum > 35) {
fatalNum = 1;
}
angle = Math.PI;
var tempString = ("fatal_10" + fatalNum);
fatal_master.duplicateMovieClip(tempString, 10 + fatalNum);
var tempObject = eval (tempString);
tempObject._x = origX;
tempObject._y = origY;
tempObject.xspeed = shotspeed * Math.sin(angle);
tempObject.yspeed = shotspeed * Math.cos(angle);
tempObject.threatRadius = 5;
fatalList.push(tempString);
fatalNum++;
var tempString = ("fatal_10" + fatalNum);
fatal_master.duplicateMovieClip(tempString, 10 + fatalNum);
var tempObject = eval (tempString);
tempObject._x = origX;
tempObject._y = origY;
tempObject.xspeed = shotspeed * Math.sin(angle + 0.3);
tempObject.yspeed = shotspeed * Math.cos(angle + 0.3);
tempObject.threatRadius = 5;
fatalList.push(tempString);
fatalNum++;
var tempString = ("fatal_10" + fatalNum);
fatal_master.duplicateMovieClip(tempString, 10 + fatalNum);
var tempObject = eval (tempString);
tempObject._x = origX;
tempObject._y = origY;
tempObject.xspeed = shotspeed * Math.sin(angle - 0.3);
tempObject.yspeed = shotspeed * Math.cos(angle - 0.3);
tempObject.threatRadius = 5;
fatalList.push(tempString);
}
function spawnCurvedGorgoWave(waveGap) {
var pointList = [[-6, -105], [-8, -99], [9, -98], [8, -106]];
fatalNum++;
if (fatalNum > 35) {
fatalNum = 1;
}
var origX = (gorgo._x + gorgo.enemy._x);
var origY = (gorgo._y + gorgo.enemy._y);
var xDiff = (origX - meatwad._x);
var yDiff = (origY - meatwad._y);
angle = twoDiffsToAngle(xDiff, yDiff);
var pointCounter = 0;
var angleAdjust = -0.3;
var x = 0;
while (x <= 4) {
if (x != waveGap) {
var tempString = ("fatal_10" + fatalNum);
fatal_master.duplicateMovieClip(tempString, 10 + fatalNum);
var tempObject = eval (tempString);
tempObject._x = origX + pointList[pointCounter][0];
tempObject._y = origY + pointList[pointCounter][1];
tempObject.xspeed = shotspeed * Math.sin(angle + angleAdjust);
tempObject.yspeed = shotspeed * Math.cos(angle + angleAdjust);
tempObject.threatRadius = 5;
fatalList.push(tempString);
fatalNum++;
pointCounter++;
}
angleAdjust = angleAdjust + 0.15;
x++;
}
}
function updateFatalList() {
if (getTimer() > fatalDelay) {
if (targetList.length > 0) {
var randomTarget = random(targetList.length);
var patsy = targetList[randomTarget];
var patsyObject = eval (patsy);
switch (patsyObject.weaponType) {
case 1 :
spawnTrackingFatalPew(patsyObject.enemy._x + patsyObject._x, patsyObject.enemy._y - 50);
break;
case 2 :
if (patsy == "bstein.body") {
spawnTrackingFatalTriPew(patsyObject._x + 200, patsyObject._y + 220);
} else {
spawnTrackingFatalPew(patsyObject._x + 200, patsyObject._y + 220);
}
break;
case 3 :
spawnTrackingFatalTriPew(patsyObject.enemy._x + patsyObject._x, patsyObject.enemy._y - 50);
break;
case 4 :
spawnTrackingFatalSlowPew(patsyObject.enemy._x + patsyObject._x, patsyObject.enemy._y - 50);
break;
case 5 :
gorgo.attackCounter++;
if (gorgo.attackCounter < 3) {
if (difficulty == "easy") {
variableFatalDelay = 200;
} else {
variableFatalDelay = 100;
}
} else {
gorgo.attackCounter = 0;
variableFatalDelay = 600;
}
gorgo.pixel.mouth.gotoAndPlay("open");
spawnStaticGorgoPew(gorgo._x, gorgo._y + 30);
break;
case 6 :
if (gorgo.attackFlavor == "") {
var rand = Math.random();
if (rand > 0.5) {
gorgo.attackFlavor = "eyes";
} else {
gorgo.attackFlavor = "mouth";
}
}
if (gorgo.attackFlavor == "eyes") {
spawnTrackingGorgoEyePews();
gorgo.attackCounter++;
if (difficulty == "easy") {
if (gorgo.attackCounter < 4) {
variableFatalDelay = 60;
} else {
variableFatalDelay = 1000;
gorgo.attackCounter = 0;
gorgo.attackFlavor = "";
}
} else if (gorgo.attackCounter < 8) {
variableFatalDelay = 20;
} else {
variableFatalDelay = 1000;
gorgo.attackCounter = 0;
gorgo.attackFlavor = "";
}
}
if (gorgo.attackFlavor == "mouth") {
gorgo.enemy.body.mouth.gotoAndPlay("open");
gorgo.attackCounter++;
if ((gorgo.attackCounter % 2) == 0) {
spawnTrackingGorgoMouthPewk(2);
} else {
spawnTrackingGorgoMouthPewk(3);
}
if (gorgo.attackCounter < 4) {
if (difficulty == "easy") {
variableFatalDelay = 1000;
} else {
variableFatalDelay = 600;
}
} else {
if (difficulty == "easy") {
variableFatalDelay = 1200;
} else {
variableFatalDelay = 1000;
}
gorgo.attackCounter = 0;
gorgo.attackFlavor = "";
}
}
break;
case 7 :
spawnTrackingGorgoEyePews();
gorgo.attackCounter++;
if (difficulty == "easy") {
if (gorgo.attackCounter < 4) {
variableFatalDelay = 60;
} else {
variableFatalDelay = 1000;
gorgo.attackCounter = 0;
gorgo.attackFlavor = "";
}
} else if (gorgo.attackCounter < 8) {
variableFatalDelay = 20;
} else {
variableFatalDelay = 1000;
gorgo.attackCounter = 0;
}
gorgo.curve = 2;
break;
case 8 :
if (gorgo.attackCounter == 0) {
gorgo.curve = Math.round(Math.random() * 2) + 1;
}
gorgo.attackCounter++;
if (difficulty == "easy") {
if (gorgo.attackCounter < 4) {
variableFatalDelay = 200;
} else {
gorgo.attackCounter = 0;
variableFatalDelay = 2000;
}
} else if (gorgo.attackCounter < 4) {
variableFatalDelay = 75;
} else {
gorgo.attackCounter = 0;
variableFatalDelay = 1200;
}
spawnCurvedGorgoWave(gorgo.curve);
break;
case 801 :
var rand = Math.round(Math.random() * 3);
var randAngle = ((Math.random() * 0.6) - 0.3);
var randomX = 0;
var randomY = 0;
switch (rand) {
case 0 :
randomX = -6;
randomY = -105;
break;
case 1 :
randomX = -8;
randomY = -99;
break;
case 2 :
randomX = 9;
randomY = -98;
break;
case 3 :
randomX = 8;
randomY = -106;
}
spawnDirectedFatalPew((gorgo._x + gorgo.enemy._x) + randomX, (gorgo._y + gorgo.enemy._y) + randomY, randAngle);
variableFatalDelay = 50;
}
if ((difficulty == "easy") && (patsyObject.weaponType == 4)) {
trace("Easy slow shot");
fatalDelay = (getTimer() + variableFatalDelay) + 100;
} else {
fatalDelay = getTimer() + variableFatalDelay;
}
} else {
fatalDelay = (getTimer() + random(200)) + 200;
}
}
}
function switchMusic(linkageName, onetime) {
musicMaster.stop(currentSong);
currentSong = linkageName;
musicMaster.attachSound(linkageName);
if (onetime == 1) {
musicMaster.start();
} else {
musicMaster.start(0, 99);
}
}
function stopMusic() {
musicMaster.stop(currentSong);
currentSong = "";
}
function playEffect(linkageName) {
noiseMaster.attachSound(linkageName);
noiseMaster.start();
}
musicMaster = 0;
musicMaster = new Sound();
noiseMaster = 0;
noiseMaster = new Sound();
currentSong = "";
function hitTestDistance(shotObject, targetObject) {
var rad1 = targetObject.threatRadius;
var rad2 = shotObject.threatRadius;
var hitDistance = (rad1 + rad2);
var distance = twoObjectsToDistance(shotObject, targetObject);
if (distance < hitDistance) {
return(true);
}
return(false);
}
function twoPointsToAngle(point1x, point1y, point2x, point2y) {
var xDiff = (point1x - point2x);
var yDiff = (point1y - point2y);
return(twoDiffsToAngle(xDiff, yDiff));
}
function twoDiffsToAngle(xDiff, yDiff) {
var angle = 0;
if (Math.abs(yDiff) < 0.0001) {
angle = (Math.PI/2);
} else {
angle = Math.abs(Math.atan(xDiff / yDiff));
}
if (yDiff < 0) {
angle = Math.PI - angle;
}
if (xDiff < 0) {
angle = angle * -1;
}
return(angle);
}
function twoObjectsToDistance(objecta, objectb) {
return(twoPointsToDistance(objecta._x, objecta._y, objectb._x, objectb._y));
}
function twoPointsToDistance(point1x, point1y, point2x, point2y) {
var xDiff = (point1x - point2x);
var yDiff = (point1y - point2y);
return(twoDiffsToDistance(xDiff, yDiff));
}
function twoDiffsToDistance(xDiff, yDiff) {
distance = Math.sqrt(Math.pow(xDiff, 2) + Math.pow(yDiff, 2));
return(distance);
}
function updateKeys() {
if (meatwad._currentframe <= 4) {
if (Key.isDown(39)) {
var temp = (meatwad._x + 5);
if (temp < 380) {
meatwad._x = temp;
}
}
if (Key.isDown(37)) {
var temp = (meatwad._x - 5);
if (temp > 20) {
meatwad._x = temp;
}
}
if (Key.isDown(38)) {
var temp = (meatwad._y - 5);
if (temp > 50) {
meatwad._y = temp;
}
}
if (Key.isDown(40)) {
var temp = (meatwad._y + 5);
if (temp < 630) {
meatwad._y = temp;
}
}
if (Key.isDown(32)) {
if (fireIsAllowed == 1) {
spawnMeatPew();
}
}
}
}
function updateEverything() {
updateKeys();
updateFireControl();
updateFatalControl();
updateEnemyControl();
updateFatalList();
updateDangerousControl();
}
konamicode = 0;
difficulty = "easy";
shotspeed = 6;
Frame 6
stop();
Frame 7
starfield_l.gotoAndPlay(largeStar);
starfield_s.gotoAndPlay(smallStar);
targetList = new Array();
enemyTimer = getTimer();
currentWave = "wave1";
currentLoop = "wave1loop";
variableFatalDelay = 1000;
waveList = new Array();
waveList[0] = new Array("pattern_1", 500, 200, 1, 1, 30);
waveList[1] = new Array("pattern_1", 500, 200, 1, 1, 30);
waveList[2] = new Array("pattern_1", 500, 200, 1, 1, 30);
waveList[3] = new Array("pattern_1", 500, 200, 1, 1, 30);
waveList[4] = new Array("pattern_1", 2500, 200, 1, 1, 30);
waveList[5] = new Array("pattern_2", 500, 200, 1, 1, 30);
waveList[6] = new Array("pattern_2", 500, 200, 1, 1, 30);
waveList[7] = new Array("pattern_2", 500, 200, 1, 1, 30);
waveList[8] = new Array("pattern_2", 500, 200, 1, 1, 30);
waveList[9] = new Array("pattern_2", 2500, 200, 1, 1, 30);
waveList[10] = new Array("pattern_1", 200, 200, 1, 1, 30);
waveList[11] = new Array("pattern_1", 200, 200, 1, 1, 30);
waveList[12] = new Array("pattern_1", 2500, 200, 1, 1, 30);
waveList[13] = new Array("pattern_2", 200, 200, 1, 1, 30);
waveList[14] = new Array("pattern_2", 200, 200, 1, 1, 30);
waveList[15] = new Array("pattern_2", 2500, 200, 1, 1, 30);
waveList[16] = new Array("pattern_1", 200, 200, 1, 1, 30);
waveList[17] = new Array("pattern_2", 200, 200, 1, 1, 30);
waveList[18] = new Array("pattern_1", 200, 200, 1, 1, 30);
waveList[19] = new Array("pattern_2", 1, 200, 1, 1, 30);
waveNum = 0;
waveCount = waveList.length;
Frame 9
fireIsAllowed = 1;
updateEverything();
if (gameOver == 1) {
gotoAndPlay (3);
} else if (waveCount > waveNum) {
gotoAndPlay(currentLoop);
} else if ((targetList.length > 0) || (fatalList.length > 0)) {
gotoAndPlay(currentLoop);
}
Frame 10
targetList = new Array();
enemyTimer = getTimer();
currentWave = "wave1b";
currentLoop = "wave1bloop";
variableFatalDelay = 1000;
waveList = new Array();
waveList[0] = new Array("pattern_3", 200, 200, 1, 1, 30);
waveList[1] = new Array("pattern_3", 200, 200, 1, 1, 30);
waveList[2] = new Array("pattern_3", 200, 200, 1, 1, 30);
waveList[3] = new Array("pattern_3", 200, 200, 1, 1, 30);
waveList[4] = new Array("pattern_3", 2500, 200, 1, 1, 30);
waveList[5] = new Array("pattern_4", 200, 200, 1, 1, 30);
waveList[6] = new Array("pattern_4", 200, 200, 1, 1, 30);
waveList[7] = new Array("pattern_4", 200, 200, 1, 1, 30);
waveList[8] = new Array("pattern_4", 200, 200, 1, 1, 30);
waveList[9] = new Array("pattern_4", 2500, 200, 1, 1, 30);
waveList[10] = new Array("pattern_3", 500, 200, 1, 1, 30);
waveList[11] = new Array("pattern_4", 500, 200, 1, 1, 30);
waveList[12] = new Array("pattern_3", 500, 200, 1, 1, 30);
waveList[13] = new Array("pattern_4", 500, 200, 1, 1, 30);
waveList[14] = new Array("pattern_3", 500, 200, 1, 1, 30);
waveList[15] = new Array("pattern_4", 500, 200, 1, 1, 30);
waveList[16] = new Array("pattern_3", 500, 200, 1, 1, 30);
waveList[17] = new Array("pattern_4", 500, 200, 1, 1, 30);
waveList[18] = new Array("pattern_3", 500, 200, 1, 1, 30);
waveList[19] = new Array("pattern_4", 1, 200, 1, 1, 30);
waveNum = 0;
waveCount = waveList.length;
Frame 12
updateEverything();
if (gameOver == 1) {
gotoAndPlay (3);
} else if (waveCount > waveNum) {
gotoAndPlay(currentLoop);
} else if ((targetList.length > 0) || (fatalList.length > 0)) {
gotoAndPlay(currentLoop);
}
Frame 13
targetList = new Array();
enemyTimer = getTimer();
currentWave = "wave1c";
currentLoop = "wave1cloop";
variableFatalDelay = 1000;
waveList = new Array();
waveList[0] = new Array("pattern_5", 1, 100, 4, 25, 600);
waveList[1] = new Array("pattern_5", 1, 300, 4, 25, 600);
waveNum = 0;
waveCount = waveList.length;
Frame 15
fireIsAllowed = 1;
updateEverything();
if (gameOver == 1) {
gotoAndPlay (3);
} else if (waveCount > waveNum) {
gotoAndPlay(currentLoop);
} else if ((targetList.length > 0) || (fatalList.length > 0)) {
gotoAndPlay(currentLoop);
}
Frame 16
currentLoop = "bstein intro loop";
bossDead = 0;
stopMusic();
Frame 18
fireIsAllowed = 0;
updateEverything();
if (gameOver == 1) {
gotoAndPlay (3);
} else {
gotoAndPlay(currentLoop);
}
Frame 21
fireIsAllowed = 1;
updateEverything();
if (bstein._currentframe <= 3) {
if (bstein.body.hitpoints <= 0) {
bstein.gotoAndPlay("lose");
}
}
if (gameOver == 1) {
gotoAndPlay (3);
} else if (bossDead == 0) {
gotoAndPlay(currentLoop);
}
Frame 22
currentLoop = "bstein_dead_loop";
bossDead = 0;
fireIsAllowed = 0;
Frame 24
updateEverything();
if (gameOver == 1) {
gotoAndPlay (3);
} else if (bossDead != 1) {
gotoAndPlay(currentLoop);
}
Frame 25
switchMusic("normMusic", 0);
targetList = new Array();
enemyTimer = getTimer();
currentWave = "wave2";
currentLoop = "wave2loop";
variableFatalDelay = 1000;
waveList = new Array();
waveList[0] = new Array("pattern_8", 500, 200, 1, 1, 30);
waveList[1] = new Array("pattern_8", 500, 200, 1, 1, 30);
waveList[2] = new Array("pattern_8", 500, 200, 1, 1, 30);
waveList[3] = new Array("pattern_8", 2500, 200, 1, 1, 30);
waveList[4] = new Array("pattern_9", 500, 200, 1, 1, 30);
waveList[5] = new Array("pattern_9", 500, 200, 1, 1, 30);
waveList[6] = new Array("pattern_9", 500, 200, 1, 1, 30);
waveList[7] = new Array("pattern_9", 2500, 200, 1, 1, 30);
waveList[8] = new Array("pattern_8", 1, 200, 1, 1, 30);
waveList[9] = new Array("pattern_9", 500, 200, 1, 1, 30);
waveList[10] = new Array("pattern_8", 1, 200, 1, 1, 30);
waveList[11] = new Array("pattern_9", 500, 200, 1, 1, 30);
waveList[12] = new Array("pattern_8", 1, 200, 1, 1, 30);
waveList[13] = new Array("pattern_9", 1, 200, 1, 1, 30);
waveNum = 0;
waveCount = waveList.length;
Frame 27
fireIsAllowed = 1;
updateEverything();
if (gameOver == 1) {
gotoAndPlay (3);
} else if (waveCount > waveNum) {
gotoAndPlay(currentLoop);
} else if ((targetList.length > 0) || (fatalList.length > 0)) {
gotoAndPlay(currentLoop);
}
Frame 28
targetList = new Array();
enemyTimer = getTimer();
currentWave = "wave2b";
currentLoop = "wave2bloop";
variableFatalDelay = 600;
waveList = new Array();
waveList[0] = new Array("pattern_1", 1, 180, 1, 1, 30);
waveList[1] = new Array("pattern_1", 1, 190, 1, 1, 30);
waveList[2] = new Array("pattern_1", 2500, 200, 1, 1, 30);
waveList[3] = new Array("pattern_2", 1, 220, 1, 1, 30);
waveList[4] = new Array("pattern_2", 1, 210, 1, 1, 30);
waveList[5] = new Array("pattern_2", 2500, 200, 1, 1, 30);
waveList[6] = new Array("pattern_3", 1, 160, 1, 1, 30);
waveList[7] = new Array("pattern_3", 1, 180, 1, 1, 30);
waveList[8] = new Array("pattern_3", 2500, 200, 1, 1, 30);
waveList[9] = new Array("pattern_4", 1, 240, 1, 1, 30);
waveList[10] = new Array("pattern_4", 1, 220, 1, 1, 30);
waveList[11] = new Array("pattern_4", 1, 200, 1, 1, 30);
waveNum = 0;
waveCount = waveList.length;
Frame 30
fireIsAllowed = 1;
updateEverything();
if (gameOver == 1) {
gotoAndPlay (3);
} else if (waveCount > waveNum) {
gotoAndPlay(currentLoop);
} else if ((targetList.length > 0) || (fatalList.length > 0)) {
gotoAndPlay(currentLoop);
}
Frame 31
targetList = new Array();
enemyTimer = getTimer();
currentWave = "wave2c";
currentLoop = "wave2cloop";
variableFatalDelay = 1000;
waveList = new Array();
waveList[0] = new Array("pattern_5", 1, 200, 4, 25, 300);
waveList[1] = new Array("pattern_8", 400, 200, 1, 1, 300);
waveList[2] = new Array("pattern_8", 400, 200, 1, 1, 300);
waveList[3] = new Array("pattern_8", 400, 200, 1, 1, 300);
waveList[4] = new Array("pattern_8", 400, 200, 1, 1, 300);
waveList[5] = new Array("pattern_8", 400, 200, 1, 1, 300);
waveList[6] = new Array("pattern_9", 400, 200, 1, 1, 300);
waveList[7] = new Array("pattern_9", 400, 200, 1, 1, 300);
waveList[8] = new Array("pattern_9", 400, 200, 1, 1, 300);
waveList[9] = new Array("pattern_9", 400, 200, 1, 1, 300);
waveList[10] = new Array("pattern_9", 400, 200, 1, 1, 300);
waveList[11] = new Array("pattern_8", 400, 200, 1, 1, 300);
waveList[12] = new Array("pattern_8", 400, 200, 1, 1, 300);
waveList[13] = new Array("pattern_9", 400, 200, 1, 1, 300);
waveList[14] = new Array("pattern_9", 400, 200, 1, 1, 300);
waveList[15] = new Array("pattern_8", 400, 200, 1, 1, 300);
waveList[16] = new Array("pattern_9", 400, 200, 1, 1, 300);
waveList[17] = new Array("pattern_8", 400, 200, 1, 1, 300);
waveList[18] = new Array("pattern_9", 1, 200, 1, 1, 300);
waveNum = 0;
waveCount = waveList.length;
Frame 33
fireIsAllowed = 1;
updateEverything();
if (gameOver == 1) {
gotoAndPlay (3);
} else if (waveCount > waveNum) {
gotoAndPlay(currentLoop);
} else if ((targetList.length > 0) || (fatalList.length > 0)) {
gotoAndPlay(currentLoop);
}
Frame 34
bossDead = 0;
fireIsAllowed = 0;
stopMusic();
Frame 36
updateEverything();
if (gameOver == 1) {
gotoAndPlay (3);
} else if (bossDead < 2) {
gotoAndPlay(currentLoop);
}
Frame 37
currentLoop = "pluto_dead_loop";
bossDead = 0;
fireIsAllowed = 0;
Frame 39
updateEverything();
if (gameOver == 1) {
gotoAndPlay (3);
} else if (bossDead != 1) {
gotoAndPlay(currentLoop);
}
Frame 40
switchMusic("normMusic", 0);
targetList = new Array();
enemyTimer = getTimer();
currentWave = "wave3";
currentLoop = "wave3loop";
variableFatalDelay = 1000;
waveList = new Array();
waveList[0] = new Array("pattern_6", 1, 200, 4, 30, 20000);
waveList[1] = new Array("pattern_7", 1200, 200, 4, 30, 30);
waveList[2] = new Array("pattern_1", 750, 200, 1, 1, 30);
waveList[3] = new Array("pattern_2", 750, 200, 1, 1, 30);
waveList[4] = new Array("pattern_1", 750, 200, 1, 1, 30);
waveList[5] = new Array("pattern_2", 750, 200, 1, 1, 30);
waveList[6] = new Array("pattern_1", 750, 200, 1, 1, 30);
waveList[7] = new Array("pattern_2", 750, 200, 1, 1, 30);
waveList[8] = new Array("pattern_1", 750, 200, 1, 1, 30);
waveList[9] = new Array("pattern_2", 750, 200, 1, 1, 30);
waveList[10] = new Array("pattern_1", 750, 200, 1, 1, 30);
waveList[11] = new Array("pattern_2", 1, 200, 1, 1, 30);
waveNum = 0;
waveCount = waveList.length;
Frame 42
fireIsAllowed = 1;
updateEverything();
if (gameOver == 1) {
gotoAndPlay (3);
} else if (waveCount > waveNum) {
gotoAndPlay(currentLoop);
} else if ((targetList.length > 0) || (fatalList.length > 0)) {
gotoAndPlay(currentLoop);
}
Frame 43
targetList = new Array();
enemyTimer = getTimer();
currentWave = "wave3b";
currentLoop = "wave3bloop";
variableFatalDelay = 600;
waveList = new Array();
waveList[0] = new Array("pattern_5", 1, 100, 4, 25, 20000);
waveList[1] = new Array("pattern_5", 1, 300, 4, 25, 20000);
waveList[2] = new Array("pattern_5", 1, 200, 4, 25, 20000);
waveList[3] = new Array("pattern_6", 1, 200, 4, 25, 20000);
waveList[4] = new Array("pattern_7", 1, 200, 4, 25, 30);
waveNum = 0;
waveCount = waveList.length;
Frame 45
fireIsAllowed = 1;
updateEverything();
if (gameOver == 1) {
gotoAndPlay (3);
} else if (waveCount > waveNum) {
gotoAndPlay(currentLoop);
} else if ((targetList.length > 0) || (fatalList.length > 0)) {
gotoAndPlay(currentLoop);
}
Frame 46
targetList = new Array();
enemyTimer = getTimer();
currentWave = "wave3c";
currentLoop = "wave3cloop";
variableFatalDelay = 900;
waveList = new Array();
waveList[0] = new Array("pattern_1", 600, 200, 1, 1, 350);
waveList[1] = new Array("pattern_2", 600, 200, 1, 1, 350);
waveList[2] = new Array("pattern_3", 600, 200, 1, 1, 350);
waveList[3] = new Array("pattern_4", 600, 200, 1, 1, 350);
waveList[4] = new Array("pattern_8", 600, 200, 1, 1, 350);
waveList[5] = new Array("pattern_9", 600, 200, 1, 1, 350);
waveList[6] = new Array("pattern_5", 600, 200, 4, 25, 350);
waveList[7] = new Array("pattern_1", 600, 200, 1, 1, 30);
waveList[8] = new Array("pattern_2", 600, 200, 1, 1, 30);
waveList[9] = new Array("pattern_3", 600, 200, 1, 1, 30);
waveList[10] = new Array("pattern_4", 600, 200, 1, 1, 30);
waveList[11] = new Array("pattern_8", 600, 200, 1, 1, 30);
waveList[12] = new Array("pattern_9", 600, 200, 1, 1, 30);
waveList[13] = new Array("pattern_6", 600, 200, 4, 25, 30);
waveList[14] = new Array("pattern_1", 600, 200, 1, 1, 30);
waveList[15] = new Array("pattern_2", 600, 200, 1, 1, 30);
waveList[16] = new Array("pattern_3", 600, 200, 1, 1, 30);
waveList[17] = new Array("pattern_4", 600, 200, 1, 1, 30);
waveList[18] = new Array("pattern_8", 600, 200, 1, 1, 30);
waveList[19] = new Array("pattern_9", 600, 200, 1, 1, 30);
waveList[20] = new Array("pattern_7", 600, 200, 4, 25, 30);
waveList[21] = new Array("pattern_1", 600, 200, 1, 1, 30);
waveList[22] = new Array("pattern_2", 600, 200, 1, 1, 30);
waveList[23] = new Array("pattern_3", 600, 200, 1, 1, 30);
waveList[24] = new Array("pattern_4", 600, 200, 1, 1, 30);
waveList[25] = new Array("pattern_8", 600, 200, 1, 1, 30);
waveList[26] = new Array("pattern_9", 1, 200, 1, 1, 30);
waveNum = 0;
waveCount = waveList.length;
Frame 48
fireIsAllowed = 1;
updateEverything();
if (gameOver == 1) {
gotoAndPlay (3);
} else if (waveCount > waveNum) {
gotoAndPlay(currentLoop);
} else if ((targetList.length > 0) || (fatalList.length > 0)) {
gotoAndPlay(currentLoop);
}
Frame 49
stopMusic();
bossDead = 0;
fireIsAllowed = 0;
Frame 51
updateEverything();
if (gameOver == 1) {
gotoAndPlay (3);
} else if (bossDead < 2) {
gotoAndPlay(currentLoop);
}
Frame 52
currentLoop = "gorgo_dead_loop";
bossDead = 0;
fireIsAllowed = 0;
Frame 54
updateEverything();
if (gameOver == 1) {
gotoAndPlay (3);
} else if (bossDead != 1) {
gotoAndPlay(currentLoop);
}
Frame 55
clearAll();
stopMusic();
Frame 57
Frame 63
starfield_l.stop();
starfield_s.stop();
Frame 114
err.gotoAndPlay("walk");
ignignokt.gotoAndPlay("walk");
Frame 149
err.gotoAndPlay("stand");
ignignokt.gotoAndPlay("stand");
Frame 212
ignignokt.gotoAndPlay("pee");
Frame 332
err.gotoAndPlay("joy");
Frame 440
stop();
Frame 442
gotoAndPlay (3);
Frame 504
meatwad.gotoAndPlay("rolling");
Frame 582
meatwad.gotoAndPlay("action");
Frame 887
shake.gotoAndPlay("waddle");
Frame 1179
shake.gotoAndPlay("boom");
Frame 1297
shake.gotoAndPlay("eyedrop");
Frame 1484
switchMusic("normMusic", 0);
Frame 1585
makeNewGame();
largeStar = starfield_l._currentframe;
smallStar = starfield_s._currentframe;
gotoAndPlay (7);
Symbol 6 MovieClip Frame 2
var temp_loaded = _root.getBytesLoaded();
temp_total = Math.round(_root.getBytesTotal() * 1);
var myPerc = (temp_loaded / temp_total);
if (myPerc >= 1) {
_parent.gotoAndPlay("loadingloop");
}
Symbol 6 MovieClip Frame 4
temp_total = Math.round(_root.getBytesTotal() * 1);
displayString = "0%";
Symbol 6 MovieClip Frame 5
var temp_loaded = _root.getBytesLoaded();
var myPerc = (temp_loaded / temp_total);
if (myPerc > 1) {
myPerc = 1;
}
var myPercRound = Math.round(myPerc * 100);
Uptherm._height = logoBase._height * myPerc;
Uptherm._width = 150;
if (myPerc >= 1) {
_parent.gotoAndPlay("loadingloop");
}
Symbol 6 MovieClip Frame 6
gotoAndPlay (5);
Symbol 16 MovieClip Frame 2
stop();
Symbol 26 MovieClip Frame 2
stop();
Symbol 26 MovieClip Frame 4
stop();
Symbol 26 MovieClip Frame 6
stop();
Symbol 26 MovieClip Frame 8
stop();
Symbol 26 MovieClip Frame 10
stop();
Symbol 28 Button
on (release) {
code.clearCode();
gotoAndPlay (448);
}
on (rollOver) {
siding.gotoAndPlay("click");
}
on (rollOut, dragOut) {
siding.gotoAndPlay("main");
}
Symbol 30 Button
on (release) {
switchMusic("normMusic", 0);
code.clearCode();
gotoAndPlay (1584);
}
on (rollOver) {
siding.gotoAndPlay("skip");
}
on (rollOut, dragOut) {
siding.gotoAndPlay("main");
}
Symbol 32 Button
on (release) {
qualityToggle++;
if (qualityToggle > 2) {
qualityToggle = 0;
}
_quality = qualityList[qualityToggle];
}
on (rollOver) {
siding.gotoAndPlay("gsp");
}
on (rollOut, dragOut) {
siding.gotoAndPlay("main");
}
Symbol 49 MovieClip Frame 1
function codeDetect() {
if (previousCounter == codeCounter) {
if (Key.isDown(codeSequence[codeCounter])) {
codeCounter++;
myString = "frame_" + codeCounter;
gotoAndPlay(myString);
if (codeCounter >= codeSequence.length) {
_parent.konamicode = 1;
clearCode();
}
}
}
}
function advanceCodeDetect() {
if (previousCounter != codeCounter) {
previousCounter = codeCounter;
}
}
function clearCode() {
Key.removeListener(codeKeyDownListener);
Key.removeListener(codeKeyUpListener);
gotoAndPlay (34);
}
codeKeyUpListener = new Object();
codeKeyUpListener.onKeyUp = advanceCodeDetect;
Key.addListener(codeKeyUpListener);
codeKeyDownListener = new Object();
codeKeyDownListener.onKeyDown = codeDetect;
Key.addListener(codeKeyDownListener);
codeSequence = new Array();
codeSequence = [38, 38, 40, 40, 37, 39, 37, 39, 66, 65, 83, 84, 65, 82, 84];
codeCounter = 0;
previousCounter = 0;
myString = "";
Symbol 49 MovieClip Frame 3
stop();
Symbol 49 MovieClip Frame 5
stop();
Symbol 49 MovieClip Frame 7
stop();
Symbol 49 MovieClip Frame 9
stop();
Symbol 49 MovieClip Frame 11
stop();
Symbol 49 MovieClip Frame 13
stop();
Symbol 49 MovieClip Frame 15
stop();
Symbol 49 MovieClip Frame 17
stop();
Symbol 49 MovieClip Frame 19
stop();
Symbol 49 MovieClip Frame 21
stop();
Symbol 49 MovieClip Frame 23
stop();
Symbol 49 MovieClip Frame 25
stop();
Symbol 49 MovieClip Frame 27
stop();
Symbol 49 MovieClip Frame 29
stop();
Symbol 49 MovieClip Frame 31
stop();
Symbol 49 MovieClip Frame 33
stop();
Symbol 49 MovieClip Frame 44
stop();
Symbol 53 MovieClip Frame 2
stop();
Symbol 53 MovieClip Frame 4
stop();
Symbol 55 Button
on (release) {
if (difficulty == "easy") {
easyhard.gotoAndPlay("hard");
shotspeed = 10;
difficulty = "hard";
} else {
easyhard.gotoAndPlay("easy");
shotspeed = 6;
difficulty = "easy";
}
}
Symbol 60 MovieClip Frame 240
gotoAndPlay (1);
Symbol 63 MovieClip Frame 120
gotoAndPlay (1);
Symbol 76 MovieClip Frame 12
gotoAndPlay (1);
Symbol 77 MovieClip Frame 2
threatRadius = 27;
Symbol 77 MovieClip Frame 4
stop();
Symbol 77 MovieClip Frame 37
_parent.credits--;
if (_parent.credits > 0) {
_parent.clearAll();
_parent.gotoAndPlay(_parent.currentWave);
this._x = 200;
this._y = 550;
} else {
this._x = 200;
this._y = 325;
gotoAndPlay (58);
}
Symbol 77 MovieClip Frame 55
gotoAndPlay (3);
Symbol 77 MovieClip Frame 58
_parent.stopMusic();
Symbol 77 MovieClip Frame 252
trace("firing");
_parent.gameOver = 1;
_parent.clearAll();
_parent.stopMusic();
stop();
Symbol 77 MovieClip Frame 256
stop();
Symbol 79 MovieClip Frame 2
this._x = this._x - xspeed;
this._y = this._y - yspeed;
if (((this._x < -10) || (this._x > 410)) || (this._y > 660)) {
_parent.FatalForgetMe(this._name);
} else {
gotoAndPlay (1);
}
Symbol 80 MovieClip Frame 2
this._x = this._x - xspeed;
this._y = this._y - yspeed;
if (((this._x < -10) || (this._x > 410)) || (this._y > 660)) {
_parent.FatalForgetMe(this._name);
} else {
gotoAndPlay (1);
}
Symbol 82 MovieClip Frame 1
function updatePos() {
this._y = this._y - 20;
}
Symbol 82 MovieClip Frame 2
stop();
Symbol 82 MovieClip Frame 16
gotoAndPlay (5);
Symbol 91 MovieClip Frame 8
stop();
Symbol 99 MovieClip Frame 2
stop();
Symbol 99 MovieClip Frame 4
_root.forgetMe(_parent._name);
Symbol 99 MovieClip Frame 12
stop();
Symbol 99 MovieClip Frame 16
stop();
Symbol 99 MovieClip Frame 33
gotoAndPlay (20);
Symbol 99 MovieClip Frame 54
gotoAndPlay (34);
Symbol 107 MovieClip Frame 2
stop();
Symbol 107 MovieClip Frame 4
_root.forgetMe(_parent._name);
Symbol 107 MovieClip Frame 13
stop();
Symbol 107 MovieClip Frame 15
stop();
Symbol 107 MovieClip Frame 32
gotoAndPlay (20);
Symbol 107 MovieClip Frame 37
stop();
Symbol 108 MovieClip Frame 1
function hitDetect() {
hitpoints--;
if (hitpoints == 0) {
enemy.gotoAndPlay("explode");
} else {
_parent.playEffect("impact");
}
}
Symbol 108 MovieClip Frame 4
stop();
Symbol 108 MovieClip Frame 5
hitpoints = 1;
Symbol 108 MovieClip Frame 130
_root.forgetMe(this._name);
this.removeMovieClip();
Symbol 108 MovieClip Frame 131
hitpoints = 1;
Symbol 108 MovieClip Frame 256
_root.forgetMe(this._name);
this.removeMovieClip();
Symbol 108 MovieClip Frame 257
hitpoints = 1;
Symbol 108 MovieClip Frame 382
_root.forgetMe(this._name);
this.removeMovieClip();
Symbol 108 MovieClip Frame 383
hitpoints = 1;
Symbol 108 MovieClip Frame 507
_root.forgetMe(this._name);
this.removeMovieClip();
Symbol 108 MovieClip Frame 508
hitpoints = 30;
Symbol 108 MovieClip Frame 541
stop();
Symbol 108 MovieClip Frame 542
hitpoints = 30;
Symbol 108 MovieClip Frame 556
stop();
Symbol 108 MovieClip Frame 557
hitpoints = 30;
Symbol 108 MovieClip Frame 571
stop();
Symbol 108 MovieClip Frame 575
hitpoints = 1;
Symbol 108 MovieClip Frame 694
_root.forgetMe(this._name);
this.removeMovieClip();
Symbol 108 MovieClip Frame 695
hitpoints = 1;
Symbol 108 MovieClip Frame 814
_root.forgetMe(this._name);
this.removeMovieClip();
Symbol 108 MovieClip Frame 820
hitpoints = 1;
Symbol 108 MovieClip Frame 985
_root.forgetMe(this._name);
this.removeMovieClip();
Symbol 108 MovieClip Frame 986
hitpoints = 1;
Symbol 108 MovieClip Frame 1119
_root.forgetMe(this._name);
this.removeMovieClip();
Symbol 125 MovieClip Frame 1
function typeItOut() {
var tempTimer = getTimer();
if (tempTimer > charTimer) {
var tempString = bufferString.charAt(charNum);
enemyName.text = enemyName.text + tempString;
charNum++;
charTimer = getTimer() + 200;
typeNoise();
if (charNum >= charLimit) {
gotoAndPlay (213);
_parent._parent.switchMusic("bossMusic", 0);
}
}
}
function typeNoise() {
typeSound.attachSound("keypress");
typeSound.start();
}
bufferString = "balloonenstein";
charNum = 0;
charLimit = bufferString.length;
charTimer = 0;
typeSound = new Sound();
Symbol 125 MovieClip Frame 211
typeItOut();
Symbol 125 MovieClip Frame 212
gotoAndPlay (210);
Symbol 125 MovieClip Frame 262
_parent.gotoAndPlay("entry");
Symbol 127 MovieClip Frame 1
function hitDetect() {
hitpoints--;
if (hitpoints == 0) {
gotoAndPlay (11);
} else {
_parent._parent.playEffect("impact");
gotoAndPlay (3);
}
}
Symbol 127 MovieClip Frame 2
stop();
Symbol 127 MovieClip Frame 10
gotoAndPlay (1);
Symbol 127 MovieClip Frame 22
_root.variableFatalDelay = _root.variableFatalDelay + 100;
_root.forgetMe("bstein." + this._name);
stop();
Symbol 127 MovieClip Frame 24
stop();
Symbol 129 MovieClip Frame 1
function hitDetect() {
hitpoints--;
if (hitpoints == 0) {
gotoAndPlay (11);
} else {
_parent._parent.playEffect("impact");
gotoAndPlay (3);
}
}
Symbol 129 MovieClip Frame 2
stop();
Symbol 129 MovieClip Frame 10
gotoAndPlay (1);
Symbol 129 MovieClip Frame 22
_root.variableFatalDelay = _root.variableFatalDelay + 100;
_root.forgetMe("bstein." + this._name);
stop();
Symbol 129 MovieClip Frame 24
stop();
Symbol 134 MovieClip Frame 1
function hitDetect() {
hitpoints--;
if (hitpoints == -1) {
} else {
_parent._parent.playEffect("impact");
gotoAndPlay (3);
}
}
Symbol 134 MovieClip Frame 2
stop();
Symbol 134 MovieClip Frame 10
gotoAndPlay (1);
Symbol 136 MovieClip Frame 1
function hitDetect() {
hitpoints--;
if (hitpoints == 0) {
gotoAndPlay (11);
} else {
_parent._parent.playEffect("impact");
gotoAndPlay (3);
}
}
Symbol 136 MovieClip Frame 2
stop();
Symbol 136 MovieClip Frame 9
gotoAndPlay (1);
Symbol 136 MovieClip Frame 22
_root.variableFatalDelay = _root.variableFatalDelay + 100;
_root.forgetMe("bstein." + this._name);
stop();
Symbol 136 MovieClip Frame 24
stop();
Symbol 138 MovieClip Frame 1
function hitDetect() {
hitpoints--;
if (hitpoints == 0) {
gotoAndPlay (11);
} else {
_parent._parent.playEffect("impact");
gotoAndPlay (3);
}
}
Symbol 138 MovieClip Frame 2
stop();
Symbol 138 MovieClip Frame 10
gotoAndPlay (1);
Symbol 138 MovieClip Frame 22
_root.variableFatalDelay = _root.variableFatalDelay + 100;
_root.forgetMe("bstein." + this._name);
stop();
Symbol 138 MovieClip Frame 24
stop();
Symbol 139 MovieClip Frame 1
_root.currentLoop = "bstein intro loop";
_root.currentWave = "bstein intro loop";
Symbol 139 MovieClip Frame 3
stop();
Symbol 139 MovieClip Frame 110
_root.currentLoop = "bstein fight loop";
stop();
Symbol 141 MovieClip Frame 1
_root.currentLoop = "bstein fight loop";
_root.currentWave = "bstein fight loop";
_root.targetList = new Array("bstein.body", "bstein.closeleg", "bstein.closearm", "bstein.backleg", "bstein.backarm");
backarm.hitpoints = 30;
backleg.hitpoints = 30;
body.hitpoints = 100;
closearm.hitpoints = 30;
closeleg.hitpoints = 30;
backarm.gotoAndPlay("base");
backleg.gotoAndPlay("base");
closearm.gotoAndPlay("base");
closeleg.gotoAndPlay("base");
backarm.weaponType = 2;
backleg.weaponType = 2;
body.weaponType = 2;
closearm.weaponType = 2;
closeleg.weaponType = 2;
_root.variableFatalDelay = 600;
Symbol 141 MovieClip Frame 3
gotoAndPlay (2);
Symbol 141 MovieClip Frame 4
_parent.targetList = new Array();
Symbol 141 MovieClip Frame 86
_parent.bossDead = 1;
stop();
Symbol 141 MovieClip Frame 88
stop();
Symbol 144 MovieClip Frame 2
_parent.switchMusic("boss_dead_sunsetriders", 1);
Symbol 144 MovieClip Frame 258
_parent.bossDead = 1;
stop();
Symbol 152 MovieClip Frame 1
function typeItOut() {
var tempTimer = getTimer();
if (tempTimer > charTimer) {
var tempString = bufferString.charAt(charNum);
enemyName.text = enemyName.text + tempString;
charNum++;
charTimer = getTimer() + 200;
typeNoise();
if (charNum >= charLimit) {
gotoAndPlay (213);
_parent._parent.switchMusic("bossMusic", 0);
}
}
}
function typeNoise() {
typeSound.attachSound("keypress");
typeSound.start();
}
bufferString = "oglethorp&emory";
charNum = 0;
charLimit = bufferString.length;
charTimer = 0;
typeSound = new Sound();
Symbol 152 MovieClip Frame 211
typeItOut();
Symbol 152 MovieClip Frame 212
gotoAndPlay (210);
Symbol 152 MovieClip Frame 262
_parent.gotoAndPlay("entry");
Symbol 167 MovieClip Frame 1
function hitDetect() {
hitpoints--;
if (hitpoints == 0) {
_root.variableFatalDelay = _root.variableFatalDelay + 100;
_parent.defeat = _parent.defeat + 1;
_root.forgetMe("plutonians." + this._name);
gotoAndPlay (11);
} else {
_parent._parent.playEffect("impact");
gotoAndPlay (3);
}
}
Symbol 167 MovieClip Frame 2
stop();
Symbol 167 MovieClip Frame 9
if (hitpoints > 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (11);
}
Symbol 167 MovieClip Frame 11
Symbol 167 MovieClip Frame 82
_parent._parent.bossDead++;
stop();
Symbol 170 MovieClip Frame 1
function hitDetect() {
hitpoints--;
if (hitpoints == 0) {
_root.variableFatalDelay = _root.variableFatalDelay + 100;
_parent.defeat = _parent.defeat + 2;
_root.forgetMe("plutonians." + this._name);
gotoAndPlay (11);
} else {
_parent._parent.playEffect("impact");
gotoAndPlay (3);
}
}
Symbol 170 MovieClip Frame 2
stop();
Symbol 170 MovieClip Frame 9
if (hitpoints > 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (11);
}
Symbol 170 MovieClip Frame 11
Symbol 170 MovieClip Frame 77
_parent._parent.bossDead++;
stop();
Symbol 174 MovieClip Frame 1
function nextAnim() {
if (_parent.bossDead < 2) {
gotoAndPlay (630);
} else {
stop();
}
}
function chooseAnotherAnim() {
if (_parent.bossDead < 2) {
if (defeat == 0) {
var tempRand = Math.round(Math.random() * 3);
switch (tempRand) {
case 0 :
gotoAndPlay (327);
break;
case 1 :
gotoAndPlay (423);
break;
case 2 :
gotoAndPlay (135);
break;
case 3 :
gotoAndPlay (231);
}
}
if (defeat == 1) {
gotoAndPlay (231);
}
if (defeat == 2) {
gotoAndPlay (327);
}
} else {
stop();
}
}
_root.currentLoop = "plutonian fight loop";
_root.currentWave = "plutonian fight loop";
defeat = 0;
Symbol 174 MovieClip Frame 4
stop();
Symbol 174 MovieClip Frame 134
_root.targetList = new Array("plutonians.emory", "plutonians.oglethorp");
emory.hitpoints = 75;
oglethorp.hitpoints = 75;
emory.weaponType = -1;
oglethorp.weaponType = -1;
defeat = 0;
_root.variableFatalDelay = 600;
_parent.fireIsAllowed = 1;
Symbol 174 MovieClip Frame 230
nextAnim();
Symbol 174 MovieClip Frame 326
nextAnim();
Symbol 174 MovieClip Frame 422
nextAnim();
Symbol 174 MovieClip Frame 622
nextAnim();
Symbol 174 MovieClip Frame 701
chooseAnotherAnim();
Symbol 174 MovieClip Frame 702
stop();
Symbol 186 MovieClip Frame 1
function typeItOut() {
var tempTimer = getTimer();
if (tempTimer > charTimer) {
var tempString = bufferString.charAt(charNum);
enemyName.text = enemyName.text + tempString;
charNum++;
charTimer = getTimer() + 200;
typeNoise();
if (charNum >= charLimit) {
gotoAndPlay (244);
_parent._parent.switchMusic("bossMusic", 0);
}
}
}
function typeNoise() {
typeSound.attachSound("keypress");
typeSound.start();
}
bufferString = "gorgotron";
charNum = 0;
charLimit = bufferString.length;
charTimer = 0;
typeSound = new Sound();
Symbol 186 MovieClip Frame 242
typeItOut();
Symbol 186 MovieClip Frame 243
gotoAndPlay (241);
Symbol 186 MovieClip Frame 293
_parent.gotoAndPlay("entry");
Symbol 190 MovieClip Frame 2
stop();
Symbol 190 MovieClip Frame 8
gotoAndPlay (1);
Symbol 191 MovieClip Frame 1
function hitDetect() {
hitpoints--;
if (hitpoints == 0) {
_parent.pixelExplode();
} else {
_parent._parent.playEffect("impact");
gotoAndPlay (3);
}
}
Symbol 191 MovieClip Frame 2
stop();
Symbol 191 MovieClip Frame 8
gotoAndPlay (1);
Symbol 191 MovieClip Frame 12
_parent.gotoAndPlay("pixel_explode");
Symbol 200 MovieClip Frame 2
function hitDetect() {
hitpoints--;
if (hitpoints == 0) {
gotoAndPlay (3);
_parent.body.gotoAndPlay("explode_jaw");
_parent._parent.skullRupture();
} else {
_parent._parent._parent.playEffect("impact");
_parent.body.gotoAndPlay("ouch_jaw");
}
}
stop();
Symbol 200 MovieClip Frame 4
stop();
Symbol 202 MovieClip Frame 2
function hitDetect() {
hitpoints--;
if (hitpoints == 0) {
gotoAndPlay (3);
_parent.body.gotoAndPlay("explode_skull");
} else {
_parent._parent._parent.playEffect("impact");
_parent.body.gotoAndPlay("ouch_skull");
}
}
stop();
Symbol 202 MovieClip Frame 4
stop();
Symbol 204 MovieClip Frame 2
function hitDetect() {
hitpoints--;
if (hitpoints == 0) {
gotoAndPlay (3);
_parent.body.gotoAndPlay("explode_brain");
} else {
_parent._parent._parent.playEffect("impact");
_parent.body.gotoAndPlay("ouch_brain");
}
if (hitpoints == 40) {
_parent._parent._parent.playEffect("bellow");
_parent.body.blood.gotoAndPlay("show");
}
}
stop();
Symbol 204 MovieClip Frame 4
stop();
Symbol 206 MovieClip Frame 2
stop();
Symbol 206 MovieClip Frame 4
stop();
Symbol 210 MovieClip Frame 1
var randomRot = Math.round(Math.random() * 360);
this._rotation = randomRot;
Symbol 210 MovieClip Frame 14
stop();
Symbol 213 MovieClip Frame 1
function hitDetect() {
hitpoints--;
if (hitpoints == 0) {
_root.variableFatalDelay = _root.variableFatalDelay + 100;
_root.forgetMe("gorgo.enemy." + this._name);
gotoAndPlay (12);
} else {
_parent._parent._parent.playEffect("impact");
gotoAndPlay (3);
}
}
Symbol 213 MovieClip Frame 2
stop();
Symbol 213 MovieClip Frame 10
stop();
Symbol 213 MovieClip Frame 39
_parent._parent.legDetonate(2);
stop();
Symbol 213 MovieClip Frame 41
stop();
Symbol 217 MovieClip Frame 1
function hitDetect() {
hitpoints--;
if (hitpoints == 0) {
_root.variableFatalDelay = _root.variableFatalDelay + 100;
_root.forgetMe("gorgo.enemy." + this._name);
gotoAndPlay (13);
} else {
_parent._parent._parent.playEffect("impact");
gotoAndPlay (3);
}
}
Symbol 217 MovieClip Frame 2
stop();
Symbol 217 MovieClip Frame 10
gotoAndPlay (1);
Symbol 217 MovieClip Frame 38
_parent._parent.legDetonate(1);
stop();
Symbol 217 MovieClip Frame 40
stop();
Symbol 222 MovieClip Frame 2
stop();
Symbol 222 MovieClip Frame 9
gotoAndPlay (1);
Symbol 222 MovieClip Frame 11
stop();
Symbol 233 MovieClip Frame 2
stop();
Symbol 233 MovieClip Frame 29
gotoAndPlay (3);
Symbol 235 MovieClip Frame 2
stop();
Symbol 235 MovieClip Frame 10
gotoAndPlay (1);
Symbol 235 MovieClip Frame 14
_parent._parent.skullFracture();
Symbol 235 MovieClip Frame 40
_parent._parent.prepSkull();
Symbol 235 MovieClip Frame 42
stop();
Symbol 235 MovieClip Frame 51
gotoAndPlay (41);
Symbol 235 MovieClip Frame 52
_parent.left_leg.gotoAndPlay("hide");
_parent.right_leg.gotoAndPlay("hide");
Symbol 235 MovieClip Frame 81
_parent._parent.brainPrep();
Symbol 235 MovieClip Frame 83
stop();
Symbol 235 MovieClip Frame 92
gotoAndPlay (82);
Symbol 235 MovieClip Frame 93
_parent._parent.stopGorgo();
Symbol 235 MovieClip Frame 191
_parent._parent.bossDead();
stop();
Symbol 236 MovieClip Frame 2
stop();
Symbol 237 MovieClip Frame 1
_root.currentLoop = "gorgo fight loop";
_root.currentWave = "gorgo fight loop";
Symbol 237 MovieClip Frame 4
stop();
Symbol 237 MovieClip Frame 36
function pixelExplode() {
_root.fireIsAllowed = 0;
_root.targetList = new Array();
pixel.weaponType = -1;
gotoAndPlay (38);
}
_root.targetList = new Array("gorgo.pixel");
pixel.hitpoints = 40;
pixel.weaponType = 5;
attackCounter = 0;
_parent.fireIsAllowed = 1;
_root.variableFatalDelay = 600;
Symbol 237 MovieClip Frame 37
stop();
Symbol 237 MovieClip Frame 97
function nextAnim() {
var tempRand = Math.round(Math.random() * 5);
switch (tempRand) {
case 4 :
gotoAndPlay (105);
return;
case 5 :
gotoAndPlay (183);
return;
default :
gotoAndPlay (150);
}
}
function faceSetup() {
_root.targetList = new Array("gorgo.enemy.right_leg", "gorgo.enemy.left_leg", "gorgo.enemy.jaw");
enemy.right_leg.hitpoints = 40;
enemy.left_leg.hitpoints = 40;
enemy.jaw.hitpoints = 80;
enemy.right_leg.weaponType = 6;
enemy.left_leg.weaponType = 6;
enemy.jaw.weaponType = 6;
attackCounter = 0;
attackFlavor = "";
legCounter = 0;
}
function pixelExplode() {
_root.fireIsAllowed = 0;
_root.targetList = new Array();
pixel.weaponType = -1;
gotoAndPlay (38);
}
function legDetonate(value) {
legCounter = legCounter + value;
enemy.batch.gotoAndPlay("hide");
}
function skullFracture() {
_root.targetList = new Array();
switch (legCounter) {
case 0 :
enemy.left_leg.gotoAndPlay("explode");
enemy.right_leg.gotoAndPlay("explode");
return;
case 1 :
enemy.right_leg.gotoAndPlay("explode");
return;
case 2 :
enemy.left_leg.gotoAndPlay("explode");
return;
case 3 :
return;
}
}
function prepSkull() {
_root.targetList = new Array("gorgo.enemy.skull");
enemy.skull.hitpoints = 60;
enemy.skull.weaponType = 7;
attackCounter = 0;
attackFlavor = "";
}
function brainPrep() {
_root.targetList = new Array("gorgo.enemy.brain");
enemy.brain.hitpoints = 100;
enemy.brain.weaponType = 8;
attackCounter = 0;
attackFlavor = "";
}
function stopGorgo() {
_root.targetList = new Array();
enemy.brain.weaponType = -1;
}
function bossDead() {
_parent.bossDead = 2;
}
_parent.fireIsAllowed = 1;
faceSetup();
_root.variableFatalDelay = 600;
_parent.playEffect("bellow");
Symbol 237 MovieClip Frame 104
nextAnim();
Symbol 237 MovieClip Frame 149
nextAnim();
Symbol 237 MovieClip Frame 182
nextAnim();
Symbol 237 MovieClip Frame 237
nextAnim();
Symbol 250 MovieClip Frame 10
gotoAndPlay (1);
Symbol 251 MovieClip Frame 10
stop();
Symbol 267 MovieClip Frame 1
trace("What?!?");
Symbol 267 MovieClip Frame 951
_parent.gotoAndPlay("backToBeginning");
stop();
Symbol 285 MovieClip Frame 2
stop();
Symbol 285 MovieClip Frame 12
gotoAndPlay (3);
Symbol 285 MovieClip Frame 14
stop();
Symbol 285 MovieClip Frame 16
stop();
Symbol 285 MovieClip Frame 18
stop();
Symbol 285 MovieClip Frame 20
stop();
Symbol 285 MovieClip Frame 22
stop();
Symbol 285 MovieClip Frame 24
stop();
Symbol 285 MovieClip Frame 26
stop();
Symbol 285 MovieClip Frame 57
stop();
Symbol 289 MovieClip Frame 14
gotoAndPlay (89);
Symbol 289 MovieClip Frame 29
gotoAndPlay (89);
Symbol 289 MovieClip Frame 44
gotoAndPlay (89);
Symbol 289 MovieClip Frame 58
gotoAndPlay (89);
Symbol 289 MovieClip Frame 73
gotoAndPlay (89);
Symbol 289 MovieClip Frame 88
gotoAndPlay (89);
Symbol 289 MovieClip Frame 90
stop();
Symbol 290 MovieClip Frame 1
a.gotoAndPlay("a");
Symbol 290 MovieClip Frame 2
b.gotoAndPlay("b");
Symbol 290 MovieClip Frame 5
c.gotoAndPlay("c");
Symbol 290 MovieClip Frame 6
d.gotoAndPlay("d");
Symbol 290 MovieClip Frame 8
e.gotoAndPlay("e");
Symbol 290 MovieClip Frame 9
f.gotoAndPlay("f");
Symbol 290 MovieClip Frame 12
g.gotoAndPlay("a");
Symbol 290 MovieClip Frame 15
h.gotoAndPlay("f");
Symbol 290 MovieClip Frame 17
i.gotoAndPlay("e");
Symbol 290 MovieClip Frame 20
j.gotoAndPlay("d");
Symbol 290 MovieClip Frame 22
k.gotoAndPlay("e");
Symbol 290 MovieClip Frame 27
l.gotoAndPlay("b");
Symbol 290 MovieClip Frame 44
stop();
Symbol 292 MovieClip Frame 8
gotoAndPlay (1);