Frame 2
loadedbytes = getBytesLoaded();
totalbytes = getBytesTotal();
loadedkbytes = Math.ceil(loadedbytes / 1000);
totalkbytes = Math.ceil(totalbytes / 1000);
txt_load = (loadedbytes + " bytes loaded out of ") + totalbytes;
if ((loadedbytes >= totalbytes) and (loadedbytes > 0)) {
txt_load = "click the cow to begin";
txt_please = "";
gotoAndPlay (5);
}
Frame 3
gotoAndPlay(_currentframe - 1);
Frame 5
if (ready == true) {
gotoAndPlay (11);
}
Frame 6
gotoAndPlay (5);
Frame 11
Frame 12
CLASS_world = function () {
var _local1 = this;
_local1.objectStack = new Array();
_local1.time = 0;
_local1.playerStack = new Array();
_local1.score = 0;
_local1.level = 0;
_local1.levelStack = null;
_local1.objectList = null;
_local1.z_score = 0;
_local1.a_score = 0;
_local1.mode = null;
};
CLASS_world.prototype.buildData = function () {
var _local1 = this;
level1 = new Object();
level1.name = "Mission 1";
level1.description = "Greetings Zaphod and Aztec,<br>the ceremony tonight requires four earth chickens.<br>Please capture them and have them beamed to me as soon as possible,<br>the Supreme Elder of Planet X<br> ps. press the big red button to begin";
level1.password = "1234";
level1.backdrop = 1;
level1.objects = new Array(0, 0, 0, 0, 0, 0);
level1.target = 1;
level1.time = 1900;
level2 = new Object();
level2.name = "Mission 2";
level2.description = "Zaphod, Aztec<br>we need to fully understand why the earth men sacrifice so many of their cows to the god of the golden arches. <br>Capture us three earth cows and you shall be heros on PLanet X<br> Hail Gorax!";
level2.password = "3789";
level2.backdrop = 2;
level2.objects = new Array(1, 1, 1, 1);
level2.target = 3;
level2.time = 1900;
level3 = new Object();
level3.name = "Mission 3";
level3.description = "We need to study the earth men<br>Capture one of the simple farm folk and his chicken and have them beamed aboard<br>Try not to mutate him too badly on the way up this time";
level3.password = "2254";
level3.backdrop = 1;
level3.objects = new Array(2, 0);
level3.target = 2;
level3.time = 1900;
level4 = new Object();
level4.name = "Mission 4";
level4.description = "We said don't mutate him!!<br>What you did to the last one had attracted the attention of the damn MIB's!<br>Capture another earth man and avoid the MIB's";
level4.password = "7776";
level4.backdrop = 3;
level4.objects = new Array(2, 3);
level4.target = 1;
level4.time = 1900;
level5 = new Object();
level5.name = "Mission 5";
level5.description = "We need a break from all these experiments<br>Collect 4 earth chickens and 1 cow for our post-experiment banquet!";
level5.password = "1119";
level5.backdrop = 2;
level5.objects = new Array(0, 0, 0, 0, 1);
level5.target = 5;
level5.time = 1900;
level6 = new Object();
level6.name = "Mission 6";
level6.description = "One of our best spies is waiting to be beamed back up to the ship<br>He is at the earth mans secret base he is dsiguised as an earth chicken<br>Remember avoid all MIB's";
level6.password = "4443";
level6.backdrop = 1;
level6.objects = new Array(0, 3, 3);
level6.target = 1;
level6.time = 1900;
level7 = new Object();
level7.name = "Mission 7";
level7.description = "The ship is about to take off<br>You don't have much time to get 1 more chicken, one cow and one of those wierd guys with buck teeth<br>Glory will be ours back on Planet X<br>Hail Gorax!";
level7.password = "9994";
level7.backdrop = 3;
level7.objects = new Array(0, 1, 2, 1, 1);
level7.target = 1;
level7.time = 1900;
_local1.customGame = new Object();
_local1.customGame.zaphod = null;
_local1.customGame.aztec = null;
_local1.customGame.backdrop = 0;
_local1.customGame.cow = 0;
_local1.customGame.chicken = 0;
_local1.customGame.hick = 0;
_local1.customGame.mib = 0;
_local1.customGame.time = 1900;
_local1.customGame.objectStack = new Array();
_local1.levelStack = new Array(level1, level2, level3, level4, level5, level6, level7, _local1.customGame);
var chicken = new Object();
chicken.speed = 3;
chicken.sprite = 1;
chicken.value = 1;
chicken.sound1 = "chk_1";
chicken.sound2 = "chk_2";
var _local3 = new Object();
_local3.speed = 2;
_local3.sprite = 2;
_local3.value = 1;
_local3.sound1 = "moo_1";
_local3.sound2 = "moo_2";
var hick = new Object();
hick.speed = 2;
hick.sprite = 3;
hick.value = 1;
hick.sound1 = "hotDamn";
hick.sound2 = "hotDamn";
var _local2 = new Object();
_local2.speed = 2;
_local2.sprite = 4;
_local2.value = -1;
_local2.sound1 = "";
_local2.sound2 = "";
_local1.objectList = new Array(chicken, _local3, hick, _local2);
};
CLASS_world.prototype.checkCustomGame = function () {
var _local3 = this;
var _local2 = false;
var chickens = true;
var _local1 = true;
var mibs = true;
var hicks = true;
if (_local3.customGame.chicken == 0) {
chickens = false;
}
if (_local3.customGame.cow == 0) {
_local1 = false;
}
if (_local3.customGame.mib == 0) {
mibs = false;
}
if (_local3.customGame.hick == 0) {
hicks = false;
}
if ((((chickens != true) && (_local1 != true)) && (mibs != true)) && (hicks != true)) {
_local2 = true;
}
return(_local2);
};
CLASS_world.prototype.buildCustomGame = function () {
var _local1 = this;
trace("building customgame!");
_local1.customGame.objectStack = new Array();
var _local2 = 0;
var c = _local1.customGame.chicken;
_local2 = 0;
while (_local2 < c) {
var _local3 = 0;
_local1.customGame.objectStack.push(_local3);
_local2++;
}
_local2 = 0;
var c = _local1.customGame.cow;
_local2 = 0;
while (_local2 < c) {
var _local3 = 1;
_local1.customGame.objectStack.push(_local3);
_local2++;
}
_local2 = 0;
var c = _local1.customGame.hick;
_local2 = 0;
while (_local2 < c) {
var _local3 = 2;
_local1.customGame.objectStack.push(_local3);
_local2++;
}
_local2 = 0;
var c = _local1.customGame.mib;
_local2 = 0;
while (_local2 < c) {
var _local3 = 3;
_local1.customGame.objectStack.push(_local3);
_local2++;
}
_local1.levelStack[7].objects = _local1.customGame.objectStack;
_local1.level = 7;
_local1.objectCount = _local1.levelStack[7].objects.length;
_local1.timer = 1900;
};
CLASS_world.prototype.beginGame = function () {
gotoAndPlay (60);
};
CLASS_world.prototype.buildMusic = function () {
this.bgm = new Sound();
this.bgm.attachSound("country_1");
};
CLASS_world.prototype.playMusic = function () {
this.bgm.start(0, 999);
};
CLASS_world.prototype.stopMusic = function () {
this.bgm.stop();
};
CLASS_world.prototype.buildObjects = function () {
var _local1 = this;
var _local2 = 0;
var numberOfObjects = _local1.levelStack[_local1.level].objects.length;
trace((("number of Objects on level " + _local1.level) + "=") + numberOfObjects);
_local2 = 0;
while (_local2 < numberOfObjects) {
trace(_local1.levelStack[_local1.level].name);
var _local3 = _local1.levelStack[_local1.level].objects[_local2];
trace("**** type=" + _local3);
var newObject = new CLASS_object(_local3, _local2);
_local1.objectStack.push(newObject);
_local2++;
}
Mc_backdrop.gotoAndStop(_local1.levelStack[_local1.level].backdrop);
_local1.beam = new Sound();
_local1.beam.attachSound("phaser");
_local1.boing = new Sound();
_local1.boing.attachSound("boing");
};
CLASS_world.prototype.getReady = function () {
Mc_getReady._visible = true;
Mc_getready.gotoAndPlay(2);
};
CLASS_world.prototype.stepObjects = function () {
var _local3 = this;
var _local2 = _local3.objectStack.length;
var _local1 = 0;
_local1 = 0;
while (_local1 < _local2) {
_local3.objectStack[_local1].step();
_local1++;
}
};
CLASS_world.prototype.checkScore = function () {
var _local1 = this;
if (_local1.score <= 0) {
_local1.score = 0;
_root.gameOver = false;
_local1.level++;
_local1.killObjects();
_root.missionScreen = true;
gotoAndPlay (23);
}
};
CLASS_world.prototype.killObjects = function () {
var _local1 = this;
alien1.sprite.removeMovieClip();
alien2.sprite.removeMovieClip();
alien1.shadow.removeMovieClip();
alien2.shadow.removeMovieClip();
Mc_status.removeMovieClip();
alien1 = null;
alien2 = null;
var _local2 = _local1.objectStack.length;
trace((("number of Objects to delete this on level " + _local1.level) + "=") + _local2);
r1 = 0;
while (r1 < _local2) {
_local1.objectStack[r1].sprite.removeMovieClip();
_local1.objectStack[r1] = null;
r1++;
}
};
CLASS_world.prototype.gameOver = function () {
var _local1 = _root;
var _local2 = this;
trace("****** game over ********");
timer = 0;
_local2.bgm.stop();
Mc_status.removeMovieClip();
if (_local2.mode == "vs") {
trace((("Alien 1 score=" + _local1.alien1.score) + " alien 2 score=") + _local1.alien2.score);
if (alien1.score == alien2.score) {
trace("world draw");
_local1.winner = "draw";
} else if (alien1.score > alien2.score) {
trace("world zaphod");
_local1.winner = "zaphod";
} else if (alien1.score < alien2.score) {
trace("world aztec");
_local1.winner = "aztec";
}
} else if (mode == "story") {
_local1.gameOver = true;
_local2.level = 0;
}
gotoAndPlay (23);
};
CLASS_world.prototype.displayLeveltext = function () {
var _local1 = this;
Mc_hud.heading = (_local1.levelStack[_local1.level].name + " access code: ") + _local1.levelStack[_local1.level].password;
Mc_hud.body = _local1.levelStack[_local1.level].description;
};
CLASS_world.prototype.setTime = function () {
var _local1 = this;
_local1.time = _local1.levelStack[_local1.level].time;
};
CLASS_world.prototype.checkForObjects = function (x, y) {
var _local2 = this;
var _local3 = new Array();
var xLeft = (x - 34);
var xRight = (x + 34);
var amountOfObjects = _local2.objectStack.length;
var _local1 = 0;
_local1 = 0;
while (_local1 < amountOfObjects) {
if (((_local2.objectStack[_local1].sprite._x >= xLeft) && (_local2.objectStack[_local1].sprite._x <= xRight)) && (_local2.objectStack[_local1].mode != "dead")) {
_local3.push(_local2.objectStack[_local1]);
}
_local1++;
}
return(_local3);
};
Frame 13
CLASS_object = function (type, id) {
var _local1 = this;
var _local2 = type;
_local1.type = _local2;
_local1.sprite = Mc_cow.duplicateMovieClip("Object" + Math.random(), 10 + id);
_local1.sprite.parent = _local1;
_local1.sprite.gotoAndStop(world.objectList[_local2].sprite);
_local1.sfx_1 = new Sound();
_local1.sfx_1.attachSound(world.objectList[_local2].sound1);
_local1.sfx_2 = new Sound();
_local1.sfx_2.attachSound(world.objectList[_local2].sound2);
_local1.sprite._y = 310 + (id * 5);
_local1.sprite._x = Math.random() * 350;
_local1.timer = 0;
_local1.speed = world.objectList[_local2].speed;
_local1.mode = "roam";
_local1.dir = -1;
_local1.owner = null;
};
CLASS_object.prototype.step = function () {
var _local1 = this;
if (_local1.mode == "roam") {
if (_local1.dir == 1) {
_local1.sprite._x = _local1.sprite._x + _local1.speed;
} else if (_local1.dir == -1) {
_local1.sprite._x = _local1.sprite._x - _local1.speed;
}
} else if (_local1.mode == "caught") {
_local1.sprite._y = _local1.sprite._y - 6;
}
if (_local1.sprite._x > 580) {
_local1.sprite._x = -30;
}
if (_local1.sprite._x < -30) {
_local1.sprite._x = 580;
}
if ((_local1.sprite._y < -100) && (_local1.mode != "dead")) {
if (world.mode == "story") {
_local1.mode = "dead";
if (world.objectList[_local1.type].value == -1) {
trace("game over!!");
world.killObjects();
world.gameOver();
} else {
world.score = world.score - world.objectList[_local1.type].value;
world.checkScore();
}
} else if (world.mode == "vs") {
_local1.mode = "dead";
_local1.owner.score = _local1.owner.score + world.objectList[_local1.type].value;
world.objectCount--;
}
}
var _local2 = int(Math.random() * 200);
if (((_local2 == 10) && (_local1.dir == 1)) && (_local1.mode == "roam")) {
_local1.sprite.Mc_sprite.gotoAndPlay("walk_backward");
_local1.dir = -1;
} else if (((_local2 == 10) && (_local1.dir == -1)) && (_local1.mode == "roam")) {
_local1.sprite.Mc_sprite.gotoAndPlay("walk_forward");
_local1.dir = 1;
}
};
Frame 14
CLASS_alien = function (id, playerNum, control) {
var _local1 = this;
var _local2 = id;
_local1.id = _local2;
_local1.score = 0;
_local1.control = control;
trace("this alien is controlled by a " + _local1.control);
if (_local2 == 1) {
_local1.sprite = Mc_zaphod;
_local1.shadow = Mc_shadow_z;
} else if (_local2 == 5) {
_local1.sprite = Mc_aztec;
_local1.shadow = Mc_shadow_a;
}
_local1.sprite.Mc_beam._visible = false;
_local1.sprite.parent = _local1;
_local1.sprite._y = 275 + _local1.id;
_local1.sprite._x = (Math.random() * 350) + 200;
_local1.timer = 50;
_local1.mode = "roam";
_local1.dir = 1;
_local1.tick = 0;
};
CLASS_alien.prototype.step = function () {
var _local1 = this;
if (_local1.mode == "roam") {
_local1.shadow._y = _local1.sprite._y + 73;
if (_local1.dir == 1) {
_local1.sprite._x = _local1.sprite._x + 5;
_local1.shadow._x = _local1.sprite._x + 3;
} else if (_local1.dir == -1) {
_local1.sprite._x = _local1.sprite._x - 5;
_local1.shadow._x = _local1.sprite._x - 3;
}
} else if (_local1.mode == "set") {
_local1.dir = 2;
_local1.sprite.gotoAndStop(3);
_local1.timer--;
_local1.sprite.timer = _local1.timer;
} else if (_local1.mode == "fire") {
_local1.sprite.Mc_beam._visible = true;
_local1.sprite.Mc_beam._alpha = 24;
world.beam.start(0, 1);
var _local3 = world.checkForObjects(_local1.sprite._x, _local1.sprite._y);
if (_local3[0] == undefined) {
} else {
var c = _local3.length;
var _local2 = 0;
_local2 = 0;
while (_local2 < c) {
trace("--->" + _local3);
trace("changing object mode");
var ranSfx = (Math.round(Math.random() * 1) + 1);
_local3[_local2].owner = _local1;
if (ranSfx == 1) {
_local3[_local2].sfx_1.start(0, 0);
} else if (ranSfx == 2) {
_local3[_local2].sfx_2.start(0, 0);
}
if (_local3[_local2].dir == 1) {
_local3[_local2].sprite.Mc_sprite.gotoAndPlay("shock_front");
} else if (_local3[_local2].dir == -1) {
_local3[_local2].sprite.Mc_sprite.gotoAndPlay("shock_back");
}
_local3[_local2].mode = "caught";
_local2++;
}
}
_local1.mode = "flying";
_local1.sprite.timer = "";
} else if (_local1.mode == "flying") {
_local1.sprite._y = _local1.sprite._y - 6;
_local1.shadow._width--;
_local1.shadow._height--;
} else if (_local1.mode == "appear") {
_local1.sprite._width = _local1.sprite._width + 6.7;
_local1.sprite._height = _local1.sprite._height + 38.7;
_local1.sprite.timer = "";
_local1.tick++;
if (_local1.tick == 10) {
_local1.tick = 0;
_local1.mode = "roam";
_local1.shadow._visible = true;
}
}
if (_local1.timer <= 0) {
_local1.mode = "fire";
_local1.timer = 50;
}
if (_local1.sprite._x > 580) {
_local1.sprite._x = -30;
}
if (_local1.sprite._x < -30) {
_local1.sprite._x = 580;
}
if (_local1.sprite._y < -250) {
_local1.sprite.Mc_beam._visible = false;
_local1.sprite.gotoAndStop(1);
_local1.dir = 1;
_local1.sprite._width = 0;
_local1.sprite._height = 0;
_local1.sprite._y = 275 + _local1.id;
_local1.shadow._visible = false;
_local1.shadow._width = 50;
_local1.shadow._height = 17;
_local1.mode = "appear";
world.boing.start(0, 0);
_local1.timer = 50;
_local1.sprite.timer = 0;
}
var event = int(Math.random() * 100);
if ((event == 10) && (_local1.dir == 1)) {
_local1.sprite.gotoAndStop(2);
_local1.dir = -1;
} else if ((event == 10) && (_local1.dir == -1)) {
_local1.sprite.gotoAndStop(1);
_local1.dir = 1;
}
};
Frame 15
CLASS_bot = function (object) {
this.iq = 100;
this.player = object;
};
CLASS_bot.prototype.step = function () {
var _local2 = this;
var _local1 = Math.round(Math.random() * _local2.iq);
if ((_local1 == 20) && (_local2.player.mode == "roam")) {
_local2.player.mode = "set";
}
};
Frame 16
_root._quality = "low";
world = new CLASS_world();
world.buildData();
gotoAndPlay (39);
Instance of Symbol 115 MovieClip "Mc_aztec" in Frame 17
onClipEvent (enterFrame) {
if (_root.world.mode == "vs") {
if (Key.isDown(77)) {
if (this.parent.control == "human") {
if (this.parent.mode == "roam") {
this.parent.mode = "set";
}
}
}
}
}
on (press) {
if (_root.world.mode == "story") {
if (this.parent.mode == "roam") {
this.parent.mode = "set";
}
}
}
Instance of Symbol 138 MovieClip "Mc_zaphod" in Frame 17
onClipEvent (enterFrame) {
if (_root.world.mode == "vs") {
if (Key.isDown(90)) {
if (this.parent.control == "human") {
if (this.parent.mode == "roam") {
this.parent.mode = "set";
}
}
}
}
}
on (press) {
if (_root.world.mode == "story") {
if (this.parent.mode == "roam") {
this.parent.mode = "set";
}
}
}
Frame 18
_quality = "low";
alien1 = new CLASS_alien(1, 0, world.customGame.zaphod);
alien2 = new CLASS_alien(5, 1, world.customGame.aztec);
if (world.customGame.zaphod == "bot") {
trace(" zaphod is a bot!!");
bot1 = new CLASS_bot(alien1);
}
if (world.customGame.aztec == "bot") {
trace(" aztec is a bot!!");
bot2 = new CLASS_bot(alien2);
}
world.buildMusic();
duplicateMovieClip (mc_stat, "mc_status", 1000);
MC_status._x = 450;
Mc_status._y = 50;
if (world.mode == "story") {
Mc_status.gotoAndStop(1);
} else {
Mc_status.gotoAndStop(2);
}
world.setTime();
if (world.mode == "story") {
world.score = world.levelStack[world.level].target;
} else if (world.mode == "vs") {
world.level = 7;
alien1.score = 0;
alien2.score = 0;
}
world.buildObjects();
world.getReady();
stop();
Frame 20
alien1.step();
alien2.step();
if (world.customGame.zaphod == "bot") {
bot1.step();
}
if (world.customGame.aztec == "bot") {
bot2.step();
}
world.stepObjects();
Mc_status.Mc_timeBar._width = world.time / 10;
if (world.mode == "story") {
Mc_Status.score_1 = world.score;
} else if (world.mode == "vs") {
Mc_status.score_1 = alien1.score;
Mc_status.score_2 = alien2.score;
if (world.objectCount < 1) {
world.gameOver();
}
}
world.time--;
if (world.time <= 0) {
world.gameOver();
}
gotoAndPlay (19);
Frame 23
if (Mc_message._y < 225) {
Mc_message._y = Mc_message._y + 5;
if (world.mode == "vs") {
if (_root.winner == "draw") {
Mc_message.gotoAndStop(2);
Mc_message.sprite.gotoAndStop(1);
} else if (_root.winner == "zaphod") {
mc_message.gotoAndStop(2);
Mc_message.sprite.gotoAndStop(3);
} else if (_root.winner == "aztec") {
mc_message.gotoAndStop(2);
Mc_message.sprite.gotoAndStop(2);
}
} else if (world.mode == "story") {
timer2 = 0;
if (_root.gameOver == true) {
Mc_message.gotoAndStop(1);
Mc_message.sprite.gotoAndStop(2);
}
}
gotoAndPlay (22);
} else if (timer2 > 75) {
if (world.mode == "story") {
if (_root.missionScreen == true) {
trace("go to mission screen ^^^^^^^^^^^^^^^^");
_root.missionScreen = false;
_root.gameOver = false;
gotoAndPlay (24);
} else if (_root.gameOver == true) {
trace("go to game over ^^^^^^^^^^^^^^^^");
timer = 0;
_root.gameOver = false;
gotoAndPlay (29);
}
} else if (world.mode == "vs") {
gotoAndPlay (35);
}
} else {
timer2++;
gotoAndPlay (22);
}
Frame 24
trace("entering mission Screen!");
world.killObjects();
Frame 25
if (world.level == 7) {
trace("well done!");
gotoAndStop (90);
}
world.displayLeveltext();
world.stopMusic();
stop();
Frame 29
Frame 30
timer++;
if (timer > 200) {
timer = 0;
gotoAndPlay (39);
} else {
gotoAndPlay (29);
}
Frame 35
if (_root.winner == "zaphod") {
Mc_text.gotoAndStop(3);
Mc_trophy.gotoAndStop(1);
} else if (_root.winner == "aztec") {
Mc_text.gotoAndStop(2);
Mc_trophy.gotoAndStop(2);
} else if (_root.winner == "draw") {
Mc_text.gotoAndStop(1);
Mc_trophy.gotoAndStop(3);
}
world.killObjects();
timer = 0;
Frame 37
timer++;
if (timer > 50) {
timer = 0;
gotoAndStop (70);
} else {
gotoAndPlay (36);
}
Frame 39
world.killObjects();
titleMusic = new Sound();
titleMusic.attachSound("snd_titleMusic");
titleMusic.start(0, 999);
Frame 40
_root._quality = "high";
stop();
Frame 60
timer = 0;
_root._quality = "low";
var beamSound = new Sound();
beamSound.attachSound("warp");
beamSound.start();
Instance of Symbol 252 MovieClip in Frame 60
onClipEvent (enterFrame) {
this._x = this._x - 4;
this._y = this._y - 4;
this._width = this._width - 2;
this._height = this._height - 4;
this._rotation = this._rotation - 10;
}
Instance of Symbol 253 MovieClip in Frame 60
onClipEvent (enterFrame) {
this._x = this._x - 4;
this._y = this._y + 4;
this._width = this._width + 2;
this._height = this._height + 4;
this._rotation = this._rotation + 10;
}
Frame 62
timer++;
if (timer > 50) {
timer = 0;
beamSound.stop();
gotoAndPlay (18);
} else {
gotoAndPlay (61);
}
Frame 70
Mc_errorPop._visible = false;
snd_error = new Sound();
snd_error.attachSound("error");
snd_errror.start(0, 0);
Mc_chickenOff.gotoAndStop(2);
Mc_chicken1.gotoAndStop(1);
Mc_chicken2.gotoAndStop(1);
Mc_chicken3.gotoAndStop(1);
Mc_chicken4.gotoAndStop(1);
Mc_chicken5.gotoAndStop(1);
Mc_chicken6.gotoAndStop(1);
world.customGame.chicken = 0;
Mc_cowOff.gotoAndStop(2);
Mc_cow1.gotoAndStop(1);
Mc_cow2.gotoAndStop(1);
Mc_cow3.gotoAndStop(1);
Mc_cow4.gotoAndStop(1);
Mc_cow5.gotoAndStop(1);
Mc_cow6.gotoAndStop(1);
world.customGame.cow = 0;
Mc_mibOff.gotoAndStop(2);
Mc_mib1.gotoAndStop(1);
Mc_mib2.gotoAndStop(1);
Mc_mib3.gotoAndStop(1);
Mc_mib4.gotoAndStop(1);
Mc_mib5.gotoAndStop(1);
Mc_mib6.gotoAndStop(1);
world.customGame.mib = 0;
Mc_hickOff.gotoAndStop(2);
Mc_hick1.gotoAndStop(1);
Mc_hick2.gotoAndStop(1);
Mc_hick3.gotoAndStop(1);
Mc_hick4.gotoAndStop(1);
Mc_hick5.gotoAndStop(1);
Mc_hick6.gotoAndStop(1);
world.customGame.hick = 0;
Mc_z_human.gotoAndStop(2);
Mc_Z_bot.gotoAndStop(1);
world.customGame.zaphod = "human";
Mc_a_human.gotoAndStop(2);
Mc_a_bot.gotoAndStop(1);
world.customGame.aztec = "human";
stop();
Frame 80
stop();
Instance of Symbol 356 MovieClip "Mc_ufo" in Frame 90
onClipEvent (enterFrame) {
if (this._x > _xmouse) {
this._x--;
} else {
this._x++;
}
if (this._y > _ymouse) {
this._y--;
} else {
this._y++;
}
}
Frame 91
gotoAndPlay (90);
Symbol 22 MovieClip Frame 1
play();
Symbol 22 MovieClip Frame 215
gotoAndPlay (1);
Symbol 22 MovieClip Frame 335
_root.ready = true;
Symbol 27 Button
on (release) {
mc_cow_pre.gotoAndPlay(216);
}
Symbol 32 MovieClip Frame 1
stop();
Symbol 32 MovieClip Frame 173
_parent.play();
this._visible = false;
_parent.world.playMusic();
stop();
Symbol 45 MovieClip Frame 21
gotoAndPlay ("walk_backward");
Symbol 45 MovieClip Frame 44
gotoAndPlay ("walk_forward");
Symbol 45 MovieClip Frame 46
gotoAndPlay ("still");
Symbol 45 MovieClip Frame 48
stop();
Symbol 45 MovieClip Frame 50
stop();
Symbol 56 MovieClip Frame 24
gotoAndPlay ("walk_backward");
Symbol 56 MovieClip Frame 48
gotoAndPlay ("walk_forward");
Symbol 56 MovieClip Frame 50
gotoAndPlay ("still");
Symbol 56 MovieClip Frame 61
gotoAndPlay(_currentframe - 1);
Symbol 56 MovieClip Frame 74
gotoAndPlay(_currentframe - 1);
Symbol 56 MovieClip Frame 76
gotoAndPlay ("still_front");
Symbol 56 MovieClip Frame 78
gotoAndPlay ("still_back");
Symbol 73 MovieClip Frame 21
gotoAndPlay ("walk_backward");
Symbol 73 MovieClip Frame 42
gotoAndPlay ("walk_forward");
Symbol 73 MovieClip Frame 54
stop();
Symbol 73 MovieClip Frame 65
stop();
Symbol 92 MovieClip Frame 21
gotoAndPlay ("walk_backward");
Symbol 92 MovieClip Frame 43
gotoAndPlay ("walk_forward");
Symbol 92 MovieClip Frame 61
stop();
Symbol 92 MovieClip Frame 76
stop();
Symbol 93 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 4
stop();
Symbol 114 MovieClip Frame 35
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 35
stop();
Symbol 138 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 2
stop();
Symbol 172 Button
on (release) {
world.beginGame();
}
Symbol 179 Button
on (release) {
gotoAndPlay (39);
}
Instance of Symbol 185 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 4;
}
Instance of Symbol 185 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
}
Instance of Symbol 187 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 10;
}
Instance of Symbol 185 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Symbol 195 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 1
stop();
Symbol 209 Button
on (release) {
gotoAndStop (80);
}
Symbol 214 Button
on (release) {
gotoAndStop (50);
}
Symbol 218 Button
on (release) {
world.mode = "vs";
titleMusic.stop();
gotoAndPlay (70);
}
Symbol 222 Button
on (release) {
world.mode = "story";
titleMusic.stop();
gotoAndPlay (25);
}
Symbol 225 Button
on (release) {
getURL ("http://www.errorware.co.uk", "_new");
}
Instance of Symbol 187 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 187 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 187 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 1;
}
Instance of Symbol 187 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 185 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 185 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Symbol 234 MovieClip Frame 1
Instance of Symbol 231 MovieClip in Symbol 234 MovieClip Frame 1
/* no clip actions */
Symbol 235 Button
on (press) {
trace("ok!");
var numOfLevels = _root.world.levelStack.length;
var r1 = 0;
levelCode = String(codeText);
r1 = 0;
while (r1 < numOfLevels) {
currentLevel = _root.world.levelStack[r1];
if (levelCode == currentLevel.password) {
_root.world.level = r1;
}
r1++;
}
gotoAndStop (40);
}
Symbol 236 Button
on (press) {
codetext = "";
}
Symbol 237 Button
on (press) {
codetext = codetext + "9";
}
Symbol 238 Button
on (press) {
codetext = codetext + "8";
}
Symbol 239 Button
on (press) {
codetext = codetext + "7";
}
Symbol 240 Button
on (press) {
codetext = codetext + "0";
}
Symbol 241 Button
on (press) {
codetext = codetext + "6";
}
Symbol 242 Button
on (press) {
codetext = codetext + "5";
}
Symbol 243 Button
on (press) {
codetext = codetext + "4";
}
Symbol 244 Button
on (press) {
codetext = codetext + "3";
}
Symbol 245 Button
on (press) {
codetext = codetext + "2";
}
Symbol 246 Button
on (press) {
codetext = codetext + "1";
}
Symbol 249 Button
on (press) {
gotoAndStop (40);
}
Instance of Symbol 187 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = this._width + Math.round(Math.random() * 2);
this._width = this._width - Math.round(Math.random() * 2);
this._height = this._height + Math.round(Math.random() * 2);
this._height = this._height - Math.round(Math.random() * 2);
this._rotation = this._rotation - 1;
}
Instance of Symbol 187 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = this._width + Math.round(Math.random() * 2);
this._width = this._width - Math.round(Math.random() * 2);
this._height = this._height + Math.round(Math.random() * 2);
this._height = this._height - Math.round(Math.random() * 2);
this._rotation = this._rotation + 1;
}
Instance of Symbol 187 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = this._width + Math.round(Math.random() * 2);
this._width = this._width - Math.round(Math.random() * 2);
this._height = this._height + Math.round(Math.random() * 2);
this._height = this._height - Math.round(Math.random() * 2);
this._rotation = this._rotation - 2;
}
Instance of Symbol 185 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = this._width + Math.round(Math.random() * 2);
this._width = this._width - Math.round(Math.random() * 2);
this._height = this._height + Math.round(Math.random() * 2);
this._height = this._height - Math.round(Math.random() * 2);
this._rotation = this._rotation + 2;
}
Symbol 254 Button
on (release) {
_root.Mc_errorPop._visible = false;
}
Symbol 258 Button
on (press) {
snd_error.start(0, 0);
gotoAndStop (39);
}
Symbol 259 Button
on (press) {
var errorCheck = world.checkCustomGame();
if (errorCheck == true) {
snd_error.start(0, 0);
} else {
world.customGame.backdrop = Mc_bgThumb._currentframe;
world.buildCustomGame();
world.beginGame();
}
}
Symbol 260 Button
on (press) {
snd_error.start(0, 0);
Mc_cowOff.gotoAndStop(2);
Mc_cow1.gotoAndStop(1);
Mc_cow2.gotoAndStop(1);
Mc_cow3.gotoAndStop(1);
Mc_cow4.gotoAndStop(1);
Mc_cow5.gotoAndStop(1);
Mc_cow6.gotoAndStop(1);
world.customGame.cow = 0;
}
Symbol 261 Button
on (press) {
snd_error.start(0, 0);
Mc_cowOff.gotoAndStop(1);
Mc_cow1.gotoAndStop(1);
Mc_cow2.gotoAndStop(1);
Mc_cow3.gotoAndStop(1);
Mc_cow4.gotoAndStop(1);
Mc_cow5.gotoAndStop(1);
Mc_cow6.gotoAndStop(2);
world.customGame.cow = 6;
}
Symbol 262 Button
on (press) {
snd_error.start(0, 0);
Mc_cowOff.gotoAndStop(1);
Mc_cow1.gotoAndStop(1);
Mc_cow2.gotoAndStop(1);
Mc_cow3.gotoAndStop(1);
Mc_cow4.gotoAndStop(1);
Mc_cow5.gotoAndStop(2);
Mc_cow6.gotoAndStop(1);
world.customGame.cow = 5;
}
Symbol 263 Button
on (press) {
snd_error.start(0, 0);
Mc_cowOff.gotoAndStop(1);
Mc_cow1.gotoAndStop(1);
Mc_cow2.gotoAndStop(1);
Mc_cow3.gotoAndStop(1);
Mc_cow4.gotoAndStop(2);
Mc_cow5.gotoAndStop(1);
Mc_cow6.gotoAndStop(1);
world.customGame.cow = 4;
}
Symbol 264 Button
on (press) {
snd_error.start(0, 0);
Mc_cowOff.gotoAndStop(1);
Mc_cow1.gotoAndStop(1);
Mc_cow2.gotoAndStop(1);
Mc_cow3.gotoAndStop(2);
Mc_cow4.gotoAndStop(1);
Mc_cow5.gotoAndStop(1);
Mc_cow6.gotoAndStop(1);
world.customGame.cow = 3;
}
Symbol 265 Button
on (press) {
snd_error.start(0, 0);
Mc_cowOff.gotoAndStop(1);
Mc_cow1.gotoAndStop(1);
Mc_cow2.gotoAndStop(2);
Mc_cow3.gotoAndStop(1);
Mc_cow4.gotoAndStop(1);
Mc_cow5.gotoAndStop(1);
Mc_cow6.gotoAndStop(1);
world.customGame.cow = 2;
}
Symbol 266 Button
on (press) {
snd_error.start(0, 0);
Mc_cowOff.gotoAndStop(1);
Mc_cow1.gotoAndStop(2);
Mc_cow2.gotoAndStop(1);
Mc_cow3.gotoAndStop(1);
Mc_cow4.gotoAndStop(1);
Mc_cow5.gotoAndStop(1);
Mc_cow6.gotoAndStop(1);
world.customGame.cow = 1;
}
Symbol 267 Button
on (press) {
var errorCheck = world.checkCustomGame();
if (errorCheck == true) {
snd_error.start(0, 0);
MC_errorPop._visible = true;
} else {
world.customGame.backdrop = Mc_bgThumb._currentframe;
world.buildCustomGame();
world.beginGame();
}
}
Symbol 268 Button
on (press) {
snd_error.start(0, 0);
Mc_z_human.gotoAndStop(2);
Mc_Z_bot.gotoAndStop(1);
world.customGame.zaphod = "human";
}
Symbol 269 Button
on (press) {
snd_error.start(0, 0);
Mc_z_human.gotoAndStop(1);
Mc_Z_bot.gotoAndStop(2);
world.customGame.zaphod = "bot";
}
Symbol 270 Button
on (press) {
snd_error.start(0, 0);
Mc_a_human.gotoAndStop(1);
Mc_a_bot.gotoAndStop(2);
world.customGame.aztec = "bot";
}
Symbol 271 Button
on (press) {
snd_error.start(0, 0);
Mc_a_human.gotoAndStop(2);
Mc_a_bot.gotoAndStop(1);
world.customGame.aztec = "human";
}
Symbol 272 Button
on (press) {
snd_error.start(0, 0);
if (Mc_bgThumb._currentframe < 3) {
var newFrame = (Mc_bgThumb._currentframe + 1);
Mc_bgThumb.gotoAndStop(newFrame);
}
}
Symbol 273 Button
on (press) {
snd_error.start(0, 0);
if (Mc_bgThumb._currentframe > 1) {
var newFrame = (Mc_bgThumb._currentframe - 1);
Mc_bgThumb.gotoAndStop(newFrame);
}
}
Symbol 278 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 1
stop();
Symbol 284 Button
on (press) {
snd_error.start(0, 0);
Mc_hickOff.gotoAndStop(2);
Mc_hick1.gotoAndStop(1);
Mc_hick2.gotoAndStop(1);
Mc_hick3.gotoAndStop(1);
Mc_hick4.gotoAndStop(1);
Mc_hick5.gotoAndStop(1);
Mc_hick6.gotoAndStop(1);
world.customGame.hick = 0;
}
Symbol 285 Button
on (press) {
snd_error.start(0, 0);
Mc_hickOff.gotoAndStop(1);
Mc_hick1.gotoAndStop(1);
Mc_hick2.gotoAndStop(1);
Mc_hick3.gotoAndStop(1);
Mc_hick4.gotoAndStop(1);
Mc_hick5.gotoAndStop(1);
Mc_hick6.gotoAndStop(2);
world.customGame.hick = 6;
}
Symbol 286 Button
on (press) {
snd_error.start(0, 0);
Mc_hickOff.gotoAndStop(1);
Mc_hick1.gotoAndStop(1);
Mc_hick2.gotoAndStop(1);
Mc_hick3.gotoAndStop(1);
Mc_hick4.gotoAndStop(1);
Mc_hick5.gotoAndStop(2);
Mc_hick6.gotoAndStop(1);
world.customGame.hick = 5;
}
Symbol 287 Button
on (press) {
snd_error.start(0, 0);
Mc_hickOff.gotoAndStop(1);
Mc_hick1.gotoAndStop(1);
Mc_hick2.gotoAndStop(1);
Mc_hick3.gotoAndStop(1);
Mc_hick4.gotoAndStop(2);
Mc_hick5.gotoAndStop(1);
Mc_hick6.gotoAndStop(1);
world.customGame.hick = 4;
}
Symbol 288 Button
on (press) {
snd_error.start(0, 0);
Mc_hickOff.gotoAndStop(1);
Mc_hick1.gotoAndStop(1);
Mc_hick2.gotoAndStop(1);
Mc_hick3.gotoAndStop(2);
Mc_hick4.gotoAndStop(1);
Mc_hick5.gotoAndStop(1);
Mc_hick6.gotoAndStop(1);
world.customGame.hick = 3;
}
Symbol 289 Button
on (press) {
snd_error.start(0, 0);
Mc_hickOff.gotoAndStop(1);
Mc_hick1.gotoAndStop(1);
Mc_hick2.gotoAndStop(2);
Mc_hick3.gotoAndStop(1);
Mc_hick4.gotoAndStop(1);
Mc_hick5.gotoAndStop(1);
Mc_hick6.gotoAndStop(1);
world.customGame.hick = 2;
}
Symbol 290 Button
on (press) {
snd_error.start(0, 0);
Mc_hickOff.gotoAndStop(1);
Mc_hick1.gotoAndStop(2);
Mc_hick2.gotoAndStop(1);
Mc_hick3.gotoAndStop(1);
Mc_hick4.gotoAndStop(1);
Mc_hick5.gotoAndStop(1);
Mc_hick6.gotoAndStop(1);
world.customGame.hick = 1;
}
Symbol 291 Button
on (press) {
snd_error.start(0, 0);
Mc_mibOff.gotoAndStop(2);
Mc_mib1.gotoAndStop(1);
Mc_mib2.gotoAndStop(1);
Mc_mib3.gotoAndStop(1);
Mc_mib4.gotoAndStop(1);
Mc_mib5.gotoAndStop(1);
Mc_mib6.gotoAndStop(1);
world.customGame.mib = 0;
}
Symbol 292 Button
on (press) {
snd_error.start(0, 0);
Mc_mibOff.gotoAndStop(1);
Mc_mib1.gotoAndStop(1);
Mc_mib2.gotoAndStop(1);
Mc_mib3.gotoAndStop(1);
Mc_mib4.gotoAndStop(1);
Mc_mib5.gotoAndStop(1);
Mc_mib6.gotoAndStop(2);
world.customGame.mib = 6;
}
Symbol 293 Button
on (press) {
snd_error.start(0, 0);
Mc_mibOff.gotoAndStop(1);
Mc_mib1.gotoAndStop(1);
Mc_mib2.gotoAndStop(1);
Mc_mib3.gotoAndStop(1);
Mc_mib4.gotoAndStop(1);
Mc_mib5.gotoAndStop(2);
Mc_mib6.gotoAndStop(1);
world.customGame.mib = 5;
}
Symbol 294 Button
on (press) {
snd_error.start(0, 0);
Mc_mibOff.gotoAndStop(1);
Mc_mib1.gotoAndStop(1);
Mc_mib2.gotoAndStop(1);
Mc_mib3.gotoAndStop(1);
Mc_mib4.gotoAndStop(2);
Mc_mib5.gotoAndStop(1);
Mc_mib6.gotoAndStop(1);
world.customGame.mib = 4;
}
Symbol 295 Button
on (press) {
snd_error.start(0, 0);
Mc_mibOff.gotoAndStop(1);
Mc_mib1.gotoAndStop(1);
Mc_mib2.gotoAndStop(1);
Mc_mib3.gotoAndStop(2);
Mc_mib4.gotoAndStop(1);
Mc_mib5.gotoAndStop(1);
Mc_mib6.gotoAndStop(1);
world.customGame.mib = 3;
}
Symbol 296 Button
on (press) {
snd_error.start(0, 0);
Mc_mibOff.gotoAndStop(1);
Mc_mib1.gotoAndStop(1);
Mc_mib2.gotoAndStop(2);
Mc_mib3.gotoAndStop(1);
Mc_mib4.gotoAndStop(1);
Mc_mib5.gotoAndStop(1);
Mc_mib6.gotoAndStop(1);
world.customGame.mib = 2;
}
Symbol 297 Button
on (press) {
snd_error.start(0, 0);
Mc_mibOff.gotoAndStop(1);
Mc_mib1.gotoAndStop(2);
Mc_mib2.gotoAndStop(1);
Mc_mib3.gotoAndStop(1);
Mc_mib4.gotoAndStop(1);
Mc_mib5.gotoAndStop(1);
Mc_mib6.gotoAndStop(1);
world.customGame.mib = 1;
}
Symbol 298 Button
on (press) {
snd_error.start(0, 0);
Mc_chickenOff.gotoAndStop(2);
Mc_chicken1.gotoAndStop(1);
Mc_chicken2.gotoAndStop(1);
Mc_chicken3.gotoAndStop(1);
Mc_chicken4.gotoAndStop(1);
Mc_chicken5.gotoAndStop(1);
Mc_chicken6.gotoAndStop(1);
world.customGame.chicken = 0;
}
Symbol 299 Button
on (press) {
snd_error.start(0, 0);
Mc_chickenOff.gotoAndStop(1);
Mc_chicken1.gotoAndStop(1);
Mc_chicken2.gotoAndStop(1);
Mc_chicken3.gotoAndStop(1);
Mc_chicken4.gotoAndStop(1);
Mc_chicken5.gotoAndStop(1);
Mc_chicken6.gotoAndStop(2);
world.customGame.chicken = 6;
}
Symbol 300 Button
on (press) {
snd_error.start(0, 0);
Mc_chickenOff.gotoAndStop(1);
Mc_chicken1.gotoAndStop(1);
Mc_chicken2.gotoAndStop(1);
Mc_chicken3.gotoAndStop(1);
Mc_chicken4.gotoAndStop(1);
Mc_chicken5.gotoAndStop(2);
Mc_chicken6.gotoAndStop(1);
world.customGame.chicken = 5;
}
Symbol 301 Button
on (press) {
snd_error.start(0, 0);
Mc_chickenOff.gotoAndStop(1);
Mc_chicken1.gotoAndStop(1);
Mc_chicken2.gotoAndStop(1);
Mc_chicken3.gotoAndStop(1);
Mc_chicken4.gotoAndStop(2);
Mc_chicken5.gotoAndStop(1);
Mc_chicken6.gotoAndStop(1);
world.customGame.chicken = 4;
}
Symbol 302 Button
on (press) {
snd_error.start(0, 0);
Mc_chickenOff.gotoAndStop(1);
Mc_chicken1.gotoAndStop(1);
Mc_chicken2.gotoAndStop(1);
Mc_chicken3.gotoAndStop(2);
Mc_chicken4.gotoAndStop(1);
Mc_chicken5.gotoAndStop(1);
Mc_chicken6.gotoAndStop(1);
world.customGame.chicken = 3;
}
Symbol 303 Button
on (press) {
snd_error.start(0, 0);
Mc_chickenOff.gotoAndStop(1);
Mc_chicken1.gotoAndStop(1);
Mc_chicken2.gotoAndStop(2);
Mc_chicken3.gotoAndStop(1);
Mc_chicken4.gotoAndStop(1);
Mc_chicken5.gotoAndStop(1);
Mc_chicken6.gotoAndStop(1);
world.customGame.chicken = 2;
}
Symbol 304 Button
on (press) {
snd_error.start(0, 0);
Mc_chickenOff.gotoAndStop(1);
Mc_chicken1.gotoAndStop(2);
Mc_chicken2.gotoAndStop(1);
Mc_chicken3.gotoAndStop(1);
Mc_chicken4.gotoAndStop(1);
Mc_chicken5.gotoAndStop(1);
Mc_chicken6.gotoAndStop(1);
world.customGame.chicken = 1;
}
Symbol 309 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 1
stop();
Symbol 319 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 1
stop();
Symbol 329 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 1
stop();
Symbol 339 MovieClip Frame 1
stop();
Symbol 342 Button
on (release) {
gotoAndStop (40);
}
Symbol 343 Button
on (release) {
gotoAndStop (81);
}
Symbol 348 Button
on (release) {
gotoAndStop (80);
}
Symbol 349 Button
on (release) {
gotoAndStop (40);
}
Symbol 350 Button
on (release) {
gotoAndPlay (39);
}