Frame 1
function doSomething() {
getURL ("http://www.funnylishus.com/index.php?custom=angelcakes&subcust=start", _blank);
}
function doSomething2() {
getURL ("http://www.funnylishus.com", _blank);
}
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Angelcakes Players Guide", doSomething);
Functioned2 = new ContextMenuItem("Visit Funnylishus.com", doSomething2);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
_root.menu = MENU;
stop();
MochiAd.showPreloaderAd({id:"3412aef60ad18637", res:"640x460"});
funnyrange = 1;
Key.removeListener(_root.keyListener);
Frame 3
shep1 = new Sound();
shep1.attachSound("shep1.wav");
shep2 = new Sound();
shep2.attachSound("shep2.wav");
shep3 = new Sound();
shep3.attachSound("shep3.wav");
shep4 = new Sound();
shep4.attachSound("shep4.wav");
cows = new Sound();
cows.attachSound("cows.wav");
cow1 = new Sound();
cow1.attachSound("cow1.wav");
cow2 = new Sound();
cow2.attachSound("cow2.wav");
cow3 = new Sound();
cow3.attachSound("cow3.wav");
cow4 = new Sound();
cow4.attachSound("cow4.wav");
evilpig = new Sound();
evilpig.attachSound("evilpig.wav");
bitznpieces = new Sound();
bitznpieces.attachSound("bitznpieces");
crunchyboss = new Sound();
crunchyboss.attachSound("crunchyboss");
bs1 = new Sound();
bs1.attachSound("bs1.wav");
bs2 = new Sound();
bs2.attachSound("bs2.wav");
bs3 = new Sound();
bs3.attachSound("bs3.wav");
bs4 = new Sound();
bs4.attachSound("bs4.wav");
bs5 = new Sound();
bs5.attachSound("bs5.wav");
burnow3 = new Sound();
burnow3.attachSound("burnow3.wav");
burnow4 = new Sound();
burnow4.attachSound("burnow4.wav");
supaman = new Sound();
supaman.attachSound("supaman.wav");
supaman2 = new Sound();
supaman2.attachSound("supaman2.wav");
wormsh1 = new Sound();
wormsh1.attachSound("wormsh1.wav");
wormsh2 = new Sound();
wormsh2.attachSound("wormsh2.wav");
wormsh3 = new Sound();
wormsh3.attachSound("wormsh3.wav");
el1 = new Sound();
el1.attachSound("el1.wav");
el2 = new Sound();
el2.attachSound("el2.wav");
el3 = new Sound();
el3.attachSound("el3.wav");
el4 = new Sound();
el4.attachSound("el4.wav");
p1 = new Sound();
p1.attachSound("p1.wav");
p2 = new Sound();
p2.attachSound("p2.wav");
p3 = new Sound();
p3.attachSound("p3.wav");
p4 = new Sound();
p4.attachSound("p4.wav");
p5 = new Sound();
p5.attachSound("p5.wav");
v4 = new Sound();
v4.attachSound("v4.wav");
wep7 = new Sound();
wep7.attachSound("wep7.wav");
weapon2 = new Sound();
weapon2.attachSound("weapon 2.wav");
weapon3 = new Sound();
weapon3.attachSound("weapon 3.wav");
weapon32 = new Sound();
weapon32.attachSound("weapon 32.wav");
weapon33 = new Sound();
weapon33.attachSound("weapon 33.wav");
weapon4 = new Sound();
weapon4.attachSound("weapon 4.wav");
weapon5 = new Sound();
weapon5.attachSound("weapon 5.wav");
weapon6 = new Sound();
weapon6.attachSound("weapon 6.wav");
shieldhit = new Sound();
shieldhit.attachSound("shieldhit.wav");
explosion1 = new Sound();
explosion1.attachSound("explosion1.wav");
explosion2 = new Sound();
explosion2.attachSound("explosion2.wav");
explosion3 = new Sound();
explosion3.attachSound("explosion3.wav");
weapon7 = new Sound();
weapon7.attachSound("weapon 7.wav");
alienweapon3 = new Sound();
alienweapon3.attachSound("alien weapon 3.wav");
click = new Sound();
click.attachSound("click.wav");
bad_buy = new Sound();
bad_buy.attachSound("no.wav");
pickup = new Sound();
pickup.attachSound("supsuperpckup.wav");
missile = new Sound();
missile.attachSound("missile.wav");
enemy_weapon_hit = new Sound();
enemy_weapon_hit.attachSound("enemy weapon hit.wav");
enemy_weapon_hit = new Sound();
enemy_weapon_hit.attachSound("enemy weapon hit.wav");
ac1 = new Sound();
ac1.attachSound("ac1");
ac2 = new Sound();
ac2.attachSound("ac2");
ac3 = new Sound();
ac3.attachSound("ac3");
ac4 = new Sound();
ac4.attachSound("ac4");
ac5 = new Sound();
ac5.attachSound("ac5");
ac6 = new Sound();
ac6.attachSound("ac6");
ac7 = new Sound();
ac7.attachSound("ac7");
ac8 = new Sound();
ac8.attachSound("ac8");
ac9 = new Sound();
ac9.attachSound("ac9");
ac10 = new Sound();
ac10.attachSound("ac10");
ac11 = new Sound();
ac11.attachSound("ac11");
ac12 = new Sound();
ac12.attachSound("ac12");
ac13 = new Sound();
ac13.attachSound("ac13");
ac14 = new Sound();
ac14.attachSound("ac14");
ac15 = new Sound();
ac15.attachSound("ac15");
ac16 = new Sound();
ac16.attachSound("ac16");
bigexplo = new Sound();
bigexplo.attachSound("ourexplo.wav");
SeCure.doit();
maxhalos = graphics.halo._totalframes;
maxeyes = graphics.eyes._totalframes;
maxfeatures = graphics.features._totalframes;
maxheads = graphics.head._totalframes;
maxbodys = graphics._totalframes;
maxwings = graphics.wings._totalframes;
gametypes = new Array("level_easy", "level_medium", "level_hard", "survival_easy", "survival_medium", "survival_hard", "insanity_easy", "insanity_medium", "insanity_hard");
maxgametypes = 9;
gametypepos = 0;
var ScoreInput = function (mc, name, callback) {
this.mc = mc;
this.callback = callback;
mc.addEventListener("unload", this);
this.setup(name);
};
ScoreInput.prototype.setup = function (name) {
var _local2 = this.mc.name_tf;
_local2.text = name;
var self = this;
_local2.onSetFocus = function () {
Key.addListener(self);
};
_local2.onKillFocus = function () {
Key.removeListener(self);
};
this.mc.btn_submit.onRelease = function () {
self.submit();
};
Selection.setFocus(_local2);
};
ScoreInput.prototype.onKeyDown = function () {
if (Key.getCode() === 13) {
this.submit();
}
};
ScoreInput.prototype.submit = function () {
Key.removeListener(this);
this.callback(this.mc.name_tf.text);
};
ScoreInput.prototype.unload = function (evt) {
Key.removeListener(this);
};
var TextScoreTable = function (mc, max_scores) {
this.mc = mc;
this.max_scores = max_scores || 10;
this.reset("");
};
TextScoreTable.prototype.reset = function (statusText) {
this.mc.ranks_text = "";
this.mc.names_text = "";
this.mc.scores_text = "";
this.mc.dates_text = "";
this.mc.status_text = statusText;
};
TextScoreTable.prototype.gotScores = function (scores, playerIndex) {
this.reset("");
if (playerIndex === undefined) {
playerIndex = -1;
}
var _local8 = Math.min(this.max_scores, scores.length);
if (_local8 == 0) {
this.mc.status_text = "No high scores yet!";
}
var _local2 = 0;
while (_local2 < _local8) {
var _local4 = scores[_local2];
var _local3 = (_local2 + 1) + ".";
if (_local2 === playerIndex) {
_local3 = "*" + _local3;
}
var _local5 = _local4[0];
var _local7 = commafy(_local4[1]);
var _local6 = msecToDateString(_local4[2]);
this.mc.ranks_text = this.mc.ranks_text + (_local3 + newline);
this.mc.names_text = this.mc.names_text + (_local5 + newline);
this.mc.scores_text = this.mc.scores_text + (_local7 + newline);
this.mc.dates_text = this.mc.dates_text + (_local6 + newline);
_local2++;
}
};
var commafy = function (n) {
var _local1 = parseInt(n, 10) + "";
var _local2 = [];
while (_local1.length > 3) {
_local2.unshift(_local1.slice(_local1.length - 3, _local1.length));
_local1 = _local1.slice(0, _local1.length - 3);
}
_local2.unshift(_local1);
return(_local2.join(","));
};
var msecToDateString = function (msec) {
var _local1 = new Date(msec);
return([_local1.getFullYear(), 1 + _local1.getMonth(), _local1.getDate()].join("-"));
};
Frame 99
stop();
Frame 119
stopAllSounds();
Frame 232
if (_root.sting_finished != 1) {
prevFrame();
play();
}
Frame 233
function set_music(selector) {
if (_root.report_music == 1) {
_root.report_music = 0;
_root.music_report.removeMovieClip();
_root.attachMovie("music_report", "music_report", _root.getNextHighestDepth());
_root.music_report._x = 320;
_root.music_report._y = 250;
}
_root.current_music_selection = selector;
if (_root.current_music != "Music - Off") {
_root.music_controller.tobequeueup = _root.current_music_selection;
_root.music_controller.queueup = _root.current_music_selection;
} else {
_root.music_controller.tobequeueup = -2;
_root.music_controller.queueup = -2;
}
}
function set_quality() {
_root.quality_report.removeMovieClip();
_root.attachMovie("quality_report", "quality_report", _root.getNextHighestDepth());
_root.quality_report._x = 320;
_root.quality_report._y = 230;
if (_root.memory.data.quality_pos == 1) {
_quality = "HIGH";
}
if (_root.memory.data.quality_pos == 2) {
_quality = "MEDIUM";
}
if (_root.memory.data.quality_pos == 3) {
_quality = "LOW";
}
if (_root.memory.data.quality_pos == 4) {
_quality = "LOW";
}
}
function set_background() {
_root.background_report.removeMovieClip();
_root.attachMovie("background_report", "background_report", _root.getNextHighestDepth());
_root.background_report._x = 320;
_root.background_report._y = 270;
if (_root.memory.data.bgsettings_pos == 1) {
_root.bg.bgcontainer.frontbg._visible = true;
_root.bg.bgcontainer.backbg._visible = true;
_root.fg._visible = true;
_root.bg.bgcontainer.backbg.play();
} else if (_root.memory.data.bgsettings_pos == 2) {
_root.bg.bgcontainer.frontbg._visible = false;
_root.fg._visible = false;
_root.bg.bgcontainer.backbg._visible = true;
_root.bg.bgcontainer.backbg.play();
} else if (_root.memory.data.bgsettings_pos == 3) {
_root.bg.bgcontainer.frontbg._visible = false;
_root.fg._visible = false;
_root.bg.bgcontainer.backbg._visible = true;
_root.bg.bgcontainer.backbg.stop();
} else if (_root.memory.data.bgsettings_pos == 4) {
_root.bg.bgcontainer.frontbg._visible = false;
_root.bg.bgcontainer.backbg._visible = false;
_root.fg._visible = false;
}
}
function boss_come_report(string) {
_root.attachMovie("boss_report", "boss_report", _root.getNextHighestDepth());
_root.boss_report.string = string;
_root.boss_report._x = 320;
_root.boss_report._y = 270;
}
Key.removeListener(_root.keyListener);
_root.funnyrange = 1;
_root.section = 0;
_root.alien_anim = 10;
_root.shield_weapon_useage = 0.3;
_root.shield_weapon_damage = 3;
_quality = "HIGH";
set_music(_root.section);
Frame 235
_root.playmode = "menu";
Frame 238
prevFrame();
play();
Frame 239
stop();
Frame 240
if (_root.controls == "keyboard") {
_root.control_phrase = "Controls - Keyboard 1";
} else if (_root.controls == "keyboard2") {
_root.control_phrase = "Controls - Keyboard 2";
} else {
_root.control_phrase = "Controls - Mouse";
}
Key.removeListener(keyListener);
Frame 241
ship.graphics.halo.gotoAndStop(_root.memory.data.current_halo);
current_halo = _root.memory.data.current_halo;
ship.graphics.eyes.gotoAndStop(_root.memory.data.current_eyes);
current_eyes = _root.memory.data.current_eyes;
ship.graphics.features.gotoAndStop(_root.memory.data.current_features);
current_features = _root.memory.data.current_features;
ship.graphics.head.gotoAndStop(_root.memory.data.current_head);
current_head = _root.memory.data.current_head;
ship.graphics.gotoAndStop(_root.memory.data.current_body);
current_body = _root.memory.data.current_body;
ship.graphics.wings.gotoAndStop(_root.memory.data.current_wings);
current_wings = _root.memory.data.current_wings;
Frame 243
set_music(-2);
Frame 245
if (((_root.sting_finished == 0) or (_root.music_controller.deck2.getVolume() > 0)) or (_root.music_controller.deck1.getVolume() > 0)) {
prevFrame();
play();
} else {
_root.music_controller.deck1.stop();
_root.music_controller.deck2.stop();
if (targ == "game") {
gotoAndPlay (247);
} else {
gotoAndPlay (1079);
}
}
Frame 248
_quality = "MEDIUM";
_root.total_rocks = 0;
_root.max_x = 640;
_root.max_y = 410;
_root.level = 0;
_root.level_counter = 0;
_root.left = 0;
_root.right = 0;
_root.up = 0;
_root.down = 0;
_root.space = 0;
_root.fire = 0;
_root.special_fire = 0;
_root.score = 0;
_root.cash = 0;
_root.ship_type = 1;
_root.pure_level_path_percentage = 70;
_root.section = 0;
_root.level = 1;
_root.level_counter = 0;
_root.boss_initiated = 0;
_root.land_ship = 0;
_root.space = 0;
_root.left = 0;
_root.right = 0;
_root.up = 0;
_root.down = 0;
if ((_root.playmode == "level") or (_root.playmode == "god")) {
_root.section = 1;
} else {
_root.section = random(2) + 1;
}
_root.max_sections = 3;
_root.section_backdrop = new Array();
_root.section_backdrop[1] = 1;
_root.section_backdrop[2] = 2;
_root.section_backdrop[3] = 3;
music_controller.music = 0;
music_controller.fadeing = 5;
starttime = getTimer();
set_quality();
set_background();
_root.report_music = 1;
set_music(_root.section);
_root.clear_screen = 0;
_root.nuking = 0;
Frame 250
if (ship.shield <= 0) {
gotoAndPlay ("ded");
}
thistime = getTimer();
difference = thistime - starttime;
starttime = thistime;
difference = 1000 / difference;
d8 = d7;
d7 = d6;
d6 = d5;
d5 = d4;
d4 = d3;
d3 = d2;
d2 = d1;
d1 = difference;
framerate = int((((((((d1 + d2) + d3) + d4) + d5) + d6) + d7) + d8) / 8);
Frame 251
prevFrame();
play();
Frame 253
_root.land_ship = 1;
Frame 300
stop();
Frame 398
gotoAndPlay (1058);
Frame 399
_root.music_controller.queueup = -2;
Frame 527
if ((_root.chingwar == 1) or (_root.playmode == "god")) {
prevFrame();
play();
}
Frame 528
stop();
Frame 529
prevFrame();
play();
Frame 530
_root.set_music(-2);
Frame 537
_root.set_music(-2);
Frame 578
gotoAndPlay (688);
Frame 579
if (_root.ship.shield <= 0) {
gotoAndPlay ("ded");
}
_root.set_music(6);
Frame 594
if (playmode == "god") {
pimpmenu._visible = false;
}
_root.section = _root.section + 1;
if (_root.section > _root.max_sections) {
section = 1;
}
_root.fg._visible = false;
_root.bg._visible = false;
Frame 633
_quality = "MEDIUM";
_root.bg.bgcontainer.frontbg._visible = false;
_root.bg.bgcontainer.backbg._visible = false;
_root.fg._visible = false;
pimpmenu.play();
stop();
Frame 634
prevFrame();
Frame 635
if (_root.playmode != "god") {
_root.density = _root.density - 2;
}
Frame 636
Key.removeListener(_root.keyListener);
setting_controls_root.oldbg = -9000;
set_quality();
set_background();
set_music();
_root.fg._visible = true;
_root.bg._visible = true;
_root.lighton = 0;
_root.boss_initiated = 0;
_root.boss_up = 0;
_root.type_cowboss = 0;
_root.type_boss = 0;
_root.type_worm = 0;
Frame 653
_root.level_counter = 0;
_root.finish_section = 0;
_root.chilling = 0;
setting_controls_root.oldbg = -9000;
if ((_root.playmode == "god") and (_root.godpanel._currentframe != 9)) {
_root.godpanel.play();
}
_root.set_music(_root.section);
gotoAndPlay ("midgame");
Frame 654
_root.music_controller.tobequeueup = -2;
_root.music_controller.queueup = -2;
Frame 687
if (_root.sting_finished == 1) {
gotoAndPlay (233);
} else {
prevFrame();
play();
}
Frame 688
ship.shield = 10;
_root.set_music(7);
Frame 746
stop();
Frame 1007
_root.set_music(-2);
Frame 1057
if (targ == "menu") {
gotoAndPlay (233);
} else {
gotoAndPlay (1078);
}
Frame 1078
stop();
gametype = _root.gametypes[gametypepos];
score_commafy = commafy(score);
score_input._visible = true;
score_table._visible = false;
var table = new TextScoreTable(score_table);
var mc = this;
var callback = function (name) {
var _local2 = "3412aef60ad18637_" + _root.gametypes[gametypepos];
mc.score_input._visible = false;
mc.score_table._visible = true;
MochiAd.sendHighScore({id:_local2, name:name, score:mc.score}, table, "gotScores");
};
var input = new ScoreInput(score_input, "Your Name", callback);
_root.set_music(4);
_quality = "HIGH";
Frame 1079
gametype = gametypes[gametypepos];
var table = new TextScoreTable(score_table);
var boardid = ("3412aef60ad18637_" + _root.gametypes[gametypepos]);
table.reset("Fetching high scores...");
var hasNetwork = MochiAd.fetchHighScores({id:boardid}, table, "gotScores");
if (!hasNetwork) {
table.reset("Local sandbox does not allow network, try playing online.");
}
_root.set_music(4);
_quality = "HIGH";
Frame 1080
stop();
Frame 1081
_root.music_controller.queueup = -2;
play();
Frame 1097
if ((_root.music_controller.deck2.getVolume() > 0) or (_root.music_controller.deck1.getVolume() > 0)) {
prevFrame();
play();
} else {
_root.music_controller.deck1.stop();
_root.music_controller.deck2.stop();
gotoAndPlay (233);
}
Frame 1098
gametype = _root.gametypes[gametypepos];
Frame 1101
prevFrame();
play();
Symbol 6 MovieClip [zzzanim] Frame 40
this.removeMovieClip();
Symbol 10 MovieClip [mb_spot] Frame 1
this._x = this._x + basic_xs;
yish = Math.sin((this._x + 210) / 330) * curve;
this._y = spot_height + yish;
if (this._x < -200) {
this.removeMovieClip();
}
Symbol 10 MovieClip [mb_spot] Frame 2
prevFrame();
play();
Symbol 15 MovieClip [Symbol 275] Frame 1
this._x = _root.twinklex;
this._y = _root.twinkley;
scale = random(80) + 20;
this._xscale = scale;
this._yscale = scale;
gotoAndPlay(random(5) + 1);
Symbol 15 MovieClip [Symbol 275] Frame 12
this.removeMovieClip();
Symbol 24 Button
on (release, keyPress "n") {
if (exception == 1) {
_root.bar.fridge.gotoAndPlay(7);
}
this.removeMovieClip();
}
Symbol 27 Button
on (release, keyPress "y") {
if (_root.memory.data.unlock_tokens >= unlock_cost) {
_root.memory.data.unlock_tokens = _root.memory.data.unlock_tokens - unlock_cost;
_root.memory.flush();
gotoAndPlay ("ok");
} else {
if (exception == 1) {
_root.fridge.gotoAndPlay(7);
}
gotoAndPlay ("skinflint");
}
}
Symbol 30 MovieClip [Unlock menu] Frame 1
cost_string = ("for " + unlock_cost) + " keys?";
stop();
Symbol 30 MovieClip [Unlock menu] Frame 2
if (unlock_item == 1) {
_root.fridge.health.gotoAndStop(2);
_root.ship.shield = _root.ship.shield + 100;
if (_root.ship.shield > _root.ship.max_shield) {
_root.ship.shield = _root.ship.max_shield;
}
_root.shield_weapon_charge = _root.shield_weapon_charge + 100;
if (_root.shield_weapon_charge > _root.shield_weapon_charge_max) {
_root.shield_weapon_charge = _root.shield_weapon_charge_max;
}
}
if (unlock_item == 2) {
unlock_no = 0;
n = _root.maxhalos;
while (n > 1) {
if (_root.memory.data["halolocked" + n] == 1) {
unlock_no = n;
}
n--;
}
_root.memory.data["halolocked" + unlock_no] = 0;
_root.memory.data.current_halo = unlock_no;
_root.current_halo = _root.memory.data.current_halo;
_root.memory.data.flush();
_root.ship.graphics.halo.gotoAndStop(_root.memory.data.current_halo);
_root.freehalos = _root.freehalos + 1;
}
if (unlock_item == 3) {
unlock_no = 0;
n = _root.maxeyes;
while (n > 1) {
if (_root.memory.data["eyeslocked" + n] == 1) {
unlock_no = n;
}
n--;
}
_root.memory.data["eyeslocked" + unlock_no] = 0;
_root.memory.data.current_eyes = unlock_no;
_root.current_eyes = _root.memory.data.current_eyes;
_root.memory.data.flush();
_root.ship.graphics.eyes.gotoAndStop(_root.memory.data.current_eyes);
_root.freeeyes = _root.freeeyes + 1;
}
if (unlock_item == 4) {
unlock_no = 0;
n = _root.maxfeatures;
while (n > 1) {
if (_root.memory.data["featureslocked" + n] == 1) {
unlock_no = n;
}
n--;
}
_root.memory.data["featureslocked" + unlock_no] = 0;
_root.memory.data.current_features = unlock_no;
_root.current_features = _root.memory.data.current_features;
_root.memory.data.flush();
_root.ship.graphics.features.gotoAndStop(_root.memory.data.current_features);
_root.freefeatures = _root.freefeatures + 1;
}
if (unlock_item == 5) {
unlock_no = 0;
n = _root.maxheads;
while (n > 1) {
if (_root.memory.data["headlocked" + n] == 1) {
unlock_no = n;
}
n--;
}
_root.memory.data["headlocked" + unlock_no] = 0;
_root.memory.data.current_head = unlock_no;
_root.current_head = _root.memory.data.current_head;
_root.memory.data.flush();
_root.ship.graphics.head.gotoAndStop(_root.memory.data.current_head);
_root.freeheads = _root.freeheads + 1;
}
if (unlock_item == 6) {
unlock_no = 0;
n = _root.maxbodys;
while (n > 1) {
if (_root.memory.data["bodylocked" + n] == 1) {
unlock_no = n;
}
n--;
}
_root.memory.data["bodylocked" + unlock_no] = 0;
_root.memory.data.current_body = unlock_no;
_root.current_body = _root.memory.data.current_body;
_root.memory.data.flush();
_root.ship.graphics.gotoAndStop(_root.memory.data.current_body);
_root.ship.graphics.halo.gotoAndStop(_root.memory.data.current_halo);
_root.ship.graphics.eyes.gotoAndStop(_root.memory.data.current_eyes);
_root.ship.graphics.features.gotoAndStop(_root.memory.data.current_features);
_root.ship.graphics.head.gotoAndStop(_root.memory.data.current_head);
_root.ship.graphics.wings.gotoAndStop(_root.memory.data.current_wings);
_root.current_body = _root.memory.data.current_body;
_root.freebodys = _root.freebodys + 1;
}
if (unlock_item == 7) {
unlock_no = 0;
n = _root.maxwings;
while (n > 1) {
if (_root.memory.data["wingslocked" + n] == 1) {
unlock_no = n;
}
n--;
}
_root.memory.data["wingslocked" + unlock_no] = 0;
_root.memory.data.current_wings = unlock_no;
_root.current_wings = _root.memory.data.current_wings;
_root.memory.data.flush();
_root.ship.graphics.wings.gotoAndStop(_root.memory.data.current_wings);
_root.freewings = _root.freewings + 1;
}
if (unlock_item == 8) {
_root.memory.data.survivallocked = 0;
_root.memory.data.flush();
}
if (unlock_item == 9) {
_root.memory.data.insanitylocked = 0;
_root.memory.data.flush();
}
if (unlock_item == 10) {
_root.memory.data.godlocked = 0;
_root.memory.data.flush();
}
if (unlock_item == 11) {
}
if (unlock_item == 12) {
_root.memory.data.levellocked = 0;
_root.memory.data.flush();
}
if (unlock_item == 13) {
_root.shield_weapon_charge = _root.shield_weapon_charge + 10;
if (_root.shield_weapon_charge > _root.shield_weapon_charge_max) {
_root.shield_weapon_charge = _root.shield_weapon_charge_max;
}
}
if (unlock_item == 14) {
_root.shield_weapon_charge = _root.shield_weapon_charge + 25;
if (_root.shield_weapon_charge > _root.shield_weapon_charge_max) {
_root.shield_weapon_charge = _root.shield_weapon_charge_max;
}
}
if (unlock_item == 15) {
_root.ship.shield = _root.ship.shield + 10;
if (_root.ship.shield > _root.ship.max_shield) {
_root.ship.shield = _root.ship.max_shield;
}
}
if (unlock_item == 16) {
_root.ship.shield = _root.ship.shield + 25;
if (_root.ship.shield > _root.ship.max_shield) {
_root.ship.shield = _root.ship.max_shield;
}
}
if (exception == 1) {
_root.bar.fridge.gotoAndPlay(10);
}
Symbol 30 MovieClip [Unlock menu] Frame 49
this.removeMovieClip();
Symbol 30 MovieClip [Unlock menu] Frame 50
if (exception == 1) {
_root.bar.fridge.gotoAndPlay(10);
}
Symbol 30 MovieClip [Unlock menu] Frame 100
this.removeMovieClip();
Symbol 34 MovieClip [background_report] Frame 25
this.removeMovieClip();
Symbol 37 MovieClip [music_report] Frame 25
this.removeMovieClip();
Symbol 41 MovieClip [boss_report] Frame 91
this.removeMovieClip();
Symbol 44 MovieClip [quality_report] Frame 25
this.removeMovieClip();
Symbol 53 MovieClip Frame 1
gotoAndStop(random(_totalframes) + 1);
Symbol 54 MovieClip [goodangelspeech] Frame 2
if (random(150) != 1) {
prevFrame();
play();
}
Symbol 54 MovieClip [goodangelspeech] Frame 147
this.removeMovieClip();
Symbol 84 MovieClip Frame 1
oax = new Array();
oay = new Array();
n = 1;
while (n < 12) {
oax[n] = this["a" + n]._x;
oay[n] = this["a" + n]._y;
n++;
}
Symbol 84 MovieClip Frame 2
n = 1;
while (n < 12) {
this["a" + n]._x = (oax[n] + random((_root.funnyrange * 2) + 1)) - _root.funnyrange;
this["a" + n]._y = (oay[n] + random((_root.funnyrange * 2) + 1)) - _root.funnyrange;
n++;
}
Symbol 84 MovieClip Frame 3
prevFrame();
play();
Symbol 89 Button
on (release) {
getURL ("http://www.funnylishus.com", "_blank");
}
on (rollOver) {
_root.funnyrange = 3;
}
on (rollOut) {
_root.funnyrange = 1;
}
Symbol 101 Button
on (release) {
_root.play();
}
Symbol 102 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
_root.PercentLoaded = PercentLoaded;
if (PercentLoaded != 100) {
gob.gotoAndStop(int(PercentLoaded));
} else {
_root.gotoAndStop(2);
gotoAndStop (3);
}
Symbol 102 MovieClip Frame 2
prevFrame();
play();
Symbol 106 MovieClip Frame 2
rotspeed = griffin.peter.PercentLoaded;
if (rotspeed != 100) {
rotspeed = rotspeed * rotspeed;
rotspeed = rotspeed / 100;
this._rotation = this._rotation + rotspeed;
griffin.bobjee._rotation = -(rotspeed / 10);
griffin.bobjee2._rotation = -(rotspeed / 5);
} else {
this.rotation = 0;
}
Symbol 106 MovieClip Frame 3
prevFrame();
play();
Symbol 1754 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function showPreloaderAd(options) {
var _local29 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812};
options = _parseOptions(options, _local29);
var _local15 = options.clip;
var _local25 = 11000;
var _local28 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
return(undefined);
}
_local15.stop();
var mc = _local15._mochiad;
mc.onUnload = function () {
this._parent.play();
};
var _local16 = _getRes(options);
var _local5 = _local16[0];
var _local14 = _local16[1];
mc._x = _local5 * 0.5;
mc._y = _local14 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local5 * -0.5;
chk._y = _local14 * -0.5;
var _local8 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local8._x = 10;
_local8._y = _local14 - 20;
var _local24 = options.color;
delete options.color;
var _local21 = options.background;
delete options.background;
var _local26 = options.outline;
delete options.outline;
var _local6 = _local8.createEmptyMovieClip("_outline", 1);
_local6.beginFill(_local21);
_local6.moveTo(0, 0);
_local6.lineTo(_local5 - 20, 0);
_local6.lineTo(_local5 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
_local6.endFill();
var _local4 = _local8.createEmptyMovieClip("_inside", 2);
_local4.beginFill(_local24);
_local4.moveTo(0, 0);
_local4.lineTo(_local5 - 20, 0);
_local4.lineTo(_local5 - 20, 10);
_local4.lineTo(0, 10);
_local4.lineTo(0, 0);
_local4.endFill();
_local4._xscale = 0;
var _local7 = _local8.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local26, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local5 - 20, 0);
_local7.lineTo(_local5 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local25;
chk.ad_timeout = _local28;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local12 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local10 = (100 * _local8) / _local4;
var _local11 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(_local10 || 0, _local11));
_local2 = Math.max(this.last_pcnt, _local2);
this.last_pcnt = _local2;
_local9._xscale = _local2;
if (!chk.showing) {
var _local7 = _local12.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local5 > chk.ad_timeout) {
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showTimedAd(options) {
var _local15 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd"};
options = _parseOptions(options, _local15);
var _local6 = options.clip;
var _local12 = 11000;
var _local14 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
return(undefined);
}
_local6.stop();
var mc = _local6._mochiad;
mc.onUnload = function () {
this._parent.play();
};
var _local7 = _getRes(options);
var _local16 = _local7[0];
var _local13 = _local7[1];
mc._x = _local16 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local12;
chk.ad_timeout = _local14;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function _loadCommunicator(options) {
var _local25 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = _parseOptions(options, _local25);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = "1.4";
var _local18 = options.clip;
var _local20 = "_mochiad_com_" + options.id;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local18[_local20]) {
return(_local18[_local20].lc);
}
var _local21 = options.com_server + options.id;
_allowDomains(_local21);
delete options.id;
delete options.com_server;
var _local24 = options.depth;
delete options.depth;
var _local17 = _local18.createEmptyMovieClip(_local20, _local24);
var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1);
for (var _local15 in options) {
_local11[_local15] = options[_local15];
}
var _local6 = new LocalConnection();
var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local17;
_local6.name = _local16;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local16);
_local17.lc = _local6;
_local11.lc = _local16;
_local6._id = 0;
_local6._queue = [];
_local6.rpcResult = function (cb) {
cb = parseInt(cb);
var _local4 = this._callbacks[cb];
if (!_local4) {
return(undefined);
}
delete this._callbacks[cb];
var _local5 = [];
var _local3 = 2;
while (_local3 < _local4.length) {
_local5.push(_local4[_local3]);
_local3++;
}
_local3 = 1;
while (_local3 < arguments.length) {
_local5.push(arguments[_local3]);
_local3++;
}
var _local6 = _local4[1];
var _local7 = _local4[0];
if (_local7 && (typeof(_local6) == "string")) {
_local6 = _local7[_local6];
}
if (_local6) {
_local6.apply(_local7, _local5);
}
};
_local6._didConnect = function (endpoint) {
this._endpoint = endpoint;
var _local4 = this._queue;
delete this._queue;
var _local5 = this.doSend;
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2];
_local5.apply(this, _local3);
_local2++;
}
};
_local6.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var _local4 = [];
var _local3 = 0;
while (_local3 < arguments.length) {
_local4.push(arguments[_local3]);
_local3++;
}
this._queue.push(_local4);
return(undefined);
}
this._id = this._id + 1;
var _local5 = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[_local5] = [cbobj, cbfn];
var _local7 = new LocalConnection();
var _local9 = _local7.send(this._endpoint, "rpc", _local5, args);
};
_local6._callbacks = {};
_local6._callbacks[0] = [_local6, "_didConnect"];
_local11.st = getTimer();
_local11.loadMovie(_local21 + ".swf", "POST");
return(_local6);
}
static function fetchHighScores(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["fetchHighScores", options];
_local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}
static function sendHighScore(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["sendHighScore", options];
_local1.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = "1.4";
var _local7 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local7._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local7._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
if (_local7._url.indexOf("http") != 0) {
options.no_page = true;
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local9;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local4);
}
}
Symbol 1755 MovieClip [__Packages.SeCure] Frame 0
class SeCure
{
function SeCure () {
}
static function doit(options) {
var _local2 = new Array();
var _local5 = 0;
var _local4 = "";
_local2.push("http://www.armegalo.com");
_local2.push("http://armegalo.com");
_local2.push("http://www.funnylishus.com");
_local2.push("http://funnylishus.com");
_local2.push("file:///C|/MAIN/Flash/Angelcakes/");
_local2.push("file:///C:/MAIN/Flash/Angelcakes/");
_local2.push("C:\\AIN\\lash\\ngelcakes");
_local2.push("file://C:\\AIN\\lash\\ngelcakes");
var _local3 = true;
_root.memory = SharedObject.getLocal("angelcakes46");
if (_root.memory.data.written != true) {
_root.memory.data.written = true;
_root.memory.data.hadbonuskeys = false;
_root.memory.data.hadbonuskeys2 = false;
_root.memory.data.hadbonuskeys3 = false;
_root.memory.data.levellocked = 0;
_root.memory.data.levelcost = 1;
_root.memory.data.survivallocked = 1;
_root.memory.data.survivalcost = 1;
_root.memory.data.insanitylocked = 1;
_root.memory.data.insanitycost = 5;
_root.memory.data.godlocked = 1;
_root.memory.data.godcost = 30;
_root.memory.data.unlock_tokens = 3;
_root.memory.data.current_halo = 1;
_root.memory.data.current_eyes = 1;
_root.memory.data.current_features = 1;
_root.memory.data.current_head = 1;
_root.memory.data.current_body = 1;
_root.memory.data.current_wings = 1;
_root.memory.data.halolocked6 = 1;
_root.memory.data.halolocked7 = 1;
_root.memory.data.halolocked8 = 1;
_root.memory.data.halolocked9 = 1;
_root.memory.data.halolocked10 = 1;
_root.memory.data.halolocked11 = 1;
_root.memory.data.halolocked12 = 1;
_root.memory.data.halolocked13 = 1;
_root.memory.data.halolocked14 = 1;
_root.memory.data.halolocked15 = 1;
_root.memory.data.halolocked16 = 1;
_root.memory.data.halolocked17 = 1;
_root.memory.data.eyeslocked9 = 1;
_root.memory.data.eyeslocked10 = 1;
_root.memory.data.eyeslocked11 = 1;
_root.memory.data.eyeslocked12 = 1;
_root.memory.data.eyeslocked13 = 1;
_root.memory.data.eyeslocked14 = 1;
_root.memory.data.eyeslocked15 = 1;
_root.memory.data.eyeslocked16 = 1;
_root.memory.data.eyeslocked17 = 0;
_root.memory.data.wingslocked3 = 1;
_root.memory.data.wingslocked4 = 1;
_root.memory.data.featureslocked9 = 1;
_root.memory.data.featureslocked10 = 1;
_root.memory.data.featureslocked11 = 1;
_root.memory.data.featureslocked14 = 1;
_root.memory.data.featureslocked15 = 1;
_root.memory.data.featureslocked16 = 1;
_root.memory.data.headlocked7 = 1;
_root.memory.data.headlocked8 = 1;
_root.memory.data.headlocked9 = 1;
_root.memory.data.headlocked10 = 1;
_root.memory.data.headlocked11 = 1;
_root.memory.data.headlocked12 = 1;
_root.memory.data.headlocked13 = 1;
_root.memory.data.bodylocked5 = 1;
_root.memory.data.bodylocked6 = 1;
_root.memory.data.bodylocked7 = 1;
_root.memory.data.music_pos = 2;
_root.memory.data.quality_pos = 3;
_root.memory.data.bgsettings_pos = 1;
_root.memory.data.difficulty_pos = 2;
_root.memory.data.controls = "keyboard";
_root.memory.data.glitterball = "on";
_root.memory.flush();
}
_root.difficultys = new Array();
_root.max_difficultys = 3;
_root.difficultys[1] = "Difficulty - Easy";
_root.difficultys[2] = "Difficulty - Medium";
_root.difficultys[3] = "Difficulty - Hard";
_root.current_difficulty = _root.difficultys[_root.memory.data.difficulty_pos];
_root.musics = new Array();
_root.max_musics = 3;
_root.musics[1] = "Music - Off";
_root.musics[2] = "Music - Heavy";
_root.musics[3] = "Music - Lite";
_root.current_music = _root.musics[_root.memory.data.music_pos];
_root.qualitys = new Array();
_root.max_qualitys = 4;
_root.qualitys[1] = "Quality - High";
_root.qualitys[2] = "Quality - Medium";
_root.qualitys[3] = "Quality - Low";
_root.qualitys[4] = "Quality - Uber Low";
_root.current_quality = _root.qualitys[_root.memory.data.quality_pos];
_root.bgsettings = new Array();
_root.max_bgsettings = 3;
_root.bgsettings[1] = "Background - Parallax";
_root.bgsettings[2] = "Background - Single";
_root.bgsettings[3] = "Background - Static";
_root.bgsettings[4] = "Background - None";
_root.current_bgsettings = _root.bgsettings[_root.memory.data.bgsettings_pos];
_root.music_playing = 0;
_root.music_mode = "menu";
_root.oldmusic_mode = "menu";
_root.controls = _root.memory.data.controls;
if (_local3 == true) {
_root.permission = true;
} else {
_root.permission = false;
_root.memory.data.levellocked = 1;
_root.memory.data.levelcost = 9999999 /* 0x98967F */;
_root.memory.data.survivallocked = 1;
_root.memory.data.survivalcost = 9999999 /* 0x98967F */;
_root.memory.data.insanitylocked = 1;
_root.memory.data.insanitycost = 9999999 /* 0x98967F */;
_root.memory.data.godlocked = 1;
_root.memory.data.godcost = 9999999 /* 0x98967F */;
_root.memory.data.unlock_tokens = 0;
}
}
}
Symbol 193 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 1
this._rotation = random(360);
Symbol 200 MovieClip Frame 3
if (random(200) != 1) {
prevFrame();
play();
}
Symbol 230 MovieClip Frame 1
_parent._parent.floatx = -4;
_parent._parent.floaty = -6;
_parent._parent.floatxs = 0;
_parent._parent.floatys = 2;
_parent._parent.floataccel = 0.3;
Symbol 230 MovieClip Frame 2
_parent._parent.floatx = -5;
_parent._parent.floaty = -5;
_parent._parent.floatxs = 2.5;
_parent._parent.floatys = 0;
_parent._parent.floataccel = 0.5;
Symbol 230 MovieClip Frame 3
_parent._parent.floatx = 2;
_parent._parent.floaty = -10;
_parent._parent.floatxs = 0;
_parent._parent.floatys = 0;
_parent._parent.floataccel = 0.8;
Symbol 230 MovieClip Frame 4
_parent._parent.floatx = -5;
_parent._parent.floaty = -5;
_parent._parent.floatxs = 3;
_parent._parent.floatys = 0;
_parent._parent.floataccel = 0.3;
Symbol 230 MovieClip Frame 5
_parent._parent.floatx = 0;
_parent._parent.floaty = 0;
_parent._parent.floatxs = 0;
_parent._parent.floatys = 0;
_parent._parent.floataccel = 0;
Symbol 267 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 1
_root.detect_type = 1;
stop();
_root.halo_available = true;
_root.eyes_available = true;
_root.features_available = true;
_root.head_available = true;
_root.body_available = true;
_root.wings_available = true;
Symbol 326 MovieClip Frame 2
_root.detect_type = 1;
stop();
_root.halo_available = true;
_root.eyes_available = true;
_root.features_available = true;
_root.head_available = true;
_root.body_available = true;
_root.wings_available = true;
Symbol 326 MovieClip Frame 3
_root.detect_type = 1;
stop();
_root.halo_available = true;
_root.eyes_available = true;
_root.features_available = true;
_root.head_available = true;
_root.body_available = true;
_root.wings_available = true;
Symbol 326 MovieClip Frame 4
_root.detect_type = 1;
stop();
_root.halo_available = true;
_root.eyes_available = true;
_root.features_available = true;
_root.head_available = true;
_root.body_available = true;
_root.wings_available = true;
Symbol 326 MovieClip Frame 5
_root.detect_type = 8;
stop();
_root.halo_available = true;
_root.eyes_available = true;
_root.features_available = true;
_root.head_available = true;
_root.body_available = true;
_root.wings_available = true;
Symbol 326 MovieClip Frame 6
_root.detect_type = 7;
_parent.floatx = -3;
_parent.floaty = -3;
_parent.floatxs = 1.5;
_parent.floatys = 0;
_parent.floataccel = 0.3;
stop();
_root.halo_available = true;
_root.eyes_available = true;
_root.features_available = true;
_root.head_available = false;
_root.body_available = true;
_root.wings_available = false;
Symbol 326 MovieClip Frame 7
_root.detect_type = 10;
_root.halo_available = false;
_root.eyes_available = false;
_root.features_available = false;
_root.head_available = false;
_root.body_available = true;
_root.wings_available = true;
Symbol 330 Button
on (release) {
stopAllSounds();
gotoAndPlay ("sting");
}
Symbol 332 MovieClip Frame 1
xs = -(random(5) + 2);
xx = random(640);
_y = random(460);
_x = 640;
scale = random(100) + 50;
_xscale = scale;
_yscale = scale;
Symbol 332 MovieClip Frame 2
_x = (_x + ((xx - _x) / 2));
Symbol 332 MovieClip Frame 3
if ((_x < (xx - 4)) or (_x > (xx + 4))) {
prevFrame();
play();
} else {
nextFrame();
play();
}
Symbol 332 MovieClip Frame 4
_x = (_x + xs);
if (_x < (-this._width)) {
_x = 640;
xs = -(random(5) + 2);
_y = random(460);
}
Symbol 332 MovieClip Frame 5
prevFrame();
play();
Symbol 371 MovieClip Frame 1
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 2
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 3
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 4
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 5
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 6
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 7
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 8
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 9
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 10
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 11
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 12
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 13
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 14
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 15
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 16
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 17
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 18
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 19
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 20
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 21
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 22
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 23
gotoAndPlay(random(20) + 1);
Symbol 371 MovieClip Frame 24
gotoAndPlay(random(20) + 1);
Symbol 375 MovieClip Frame 1
x = this._x;
y = this._y;
Symbol 375 MovieClip Frame 2
this._x = (x + random(10)) - 5;
this._y = (y + random(10)) - 5;
if (_parent.mose == 1) {
this._xscale = random(5) + 97.5;
this._yscale = random(5) + 97.5;
} else {
this._xscale = random(20) + 90;
this._yscale = random(20) + 90;
}
a = random(4);
if (a == 0) {
gotoAndPlay (4);
} else if (a == 1) {
gotoAndPlay (6);
} else if (a == 2) {
gotoAndPlay (8);
}
Symbol 375 MovieClip Frame 3
this._xscale = this._xscale - (this._xscale / 100);
this._yscale = this._yscale - (this._yscale / 100);
if (random(_parent.qwik) == 1) {
gotoAndPlay (2);
}
Symbol 375 MovieClip Frame 4
prevFrame();
play();
Symbol 375 MovieClip Frame 5
this._xscale = this._xscale - (this._xscale / 100);
this._yscale = this._yscale + (this._yscale / 100);
if (random(_parent.qwik) == 1) {
gotoAndPlay (2);
}
Symbol 375 MovieClip Frame 6
prevFrame();
play();
Symbol 375 MovieClip Frame 7
this._xscale = this._xscale + (this._xscale / 100);
this._yscale = this._yscale + (this._yscale / 100);
if (random(_parent.qwik) == 1) {
gotoAndPlay (2);
}
Symbol 375 MovieClip Frame 8
prevFrame();
play();
Symbol 375 MovieClip Frame 9
this._xscale = this._xscale + (this._xscale / 100);
this._yscale = this._yscale - (this._yscale / 100);
if (random(_parent.qwik) == 1) {
gotoAndPlay (2);
}
Symbol 375 MovieClip Frame 10
prevFrame();
play();
Symbol 378 Button
on (release) {
getURL ("http://www.armegalo.com", "_blank");
}
Symbol 379 MovieClip Frame 2
if (random(5) == 1) {
mose = 0;
qwik = 2;
} else {
mose = 1;
qwik = 10;
}
Symbol 379 MovieClip Frame 3
prevFrame();
play();
Symbol 414 MovieClip Frame 1
oax = new Array();
oay = new Array();
n = 1;
while (n < 12) {
oax[n] = this["a" + n]._x;
oay[n] = this["a" + n]._y;
n++;
}
fr = _root.funnyrange * 100;
Symbol 414 MovieClip Frame 2
n = 1;
while (n < 12) {
if ((random(_root.funnyness) == 1) or (trig == n)) {
this["a" + n]._x = oax[n] + ((random((fr * 2) + 1) - fr) / 100);
this["a" + n]._y = oay[n] + ((random((fr * 2) + 1) - fr) / 100);
if (random(4) == 1) {
trig = n - 1;
}
if (random(4) == 1) {
trig = n + 1;
}
} else {
this["a" + n]._x = oax[n] + ((oax[n] - this["a" + n]._x) / 2);
this["a" + n]._y = oay[n] + ((oay[n] - this["a" + n]._y) / 2);
}
n++;
}
Symbol 414 MovieClip Frame 3
prevFrame();
play();
Symbol 419 MovieClip Frame 1
stop();
Symbol 426 MovieClip Frame 1
gotoAndStop(random(_totalframes) + 1);
Symbol 428 MovieClip Frame 10
stop();
Symbol 430 MovieClip Frame 1
_root.funnyrange = 2;
_root.funnyness = 2;
_root.sting_finished = 0;
_quality = "MEDIUM";
Symbol 430 MovieClip Frame 41
stop();
_root.sting_finished = 1;
Symbol 431 MovieClip Frame 1
musics = new Array("chill", "manic2loop", "manic2loop", "manic2loop", "cows", "crunchyboss", "party", "bless");
musics2 = new Array("chill", "bitznpieces", "bitznpieces", "bitznpieces", "cows", "boss", "party", "bless");
using = "none";
fadespeed1 = 0;
fadespeed2 = 0;
if (tobequeueup > -1) {
queueup = tobequeueup;
} else {
queueup = -1;
}
Symbol 431 MovieClip Frame 2
if (queueup != -1) {
if (queueup == -2) {
if (deck1.getVolume() > 0) {
fadespeed1 = -5;
}
if (deck2.getVolume() > 0) {
fadespeed2 = -5;
}
} else if ((using == "none") or (using == "deck2")) {
if (using != "none") {
fadespeed2 = -5;
}
deck1.stop();
using = "deck1";
deck1 = new Sound(d1);
if (_root.current_music == "Music - Heavy") {
deck1.attachSound(musics[queueup]);
} else {
deck1.attachSound(musics2[queueup]);
}
deck1.start(0, 99999999999);
deck1.setVolume(0);
fadespeed1 = 5;
} else if (using == "deck1") {
deck2.stop();
using = "deck2";
deck2 = new Sound(d2);
if (_root.current_music == "Music - Heavy") {
deck2.attachSound(musics[queueup]);
} else {
deck2.attachSound(musics2[queueup]);
}
deck2.start(0, 99999999999);
deck2.setVolume(0);
fadespeed2 = 5;
fadespeed1 = -5;
}
queueup = -1;
}
if (fadespeed1 != 0) {
if (fadespeed1 < -99) {
deck1.stop();
_root.deck1stopped = 1;
fadespeed1 = 0;
}
vol = deck1.getVolume();
vol = vol + fadespeed1;
if (vol > 99) {
vol = 100;
fadespeed1 = 0;
}
if (vol < 0) {
vol = 0;
fadespeed1 = 0;
deck1.stop();
_root.deck1stopped = 1;
}
deck1.setVolume(vol);
}
if (fadespeed2 != 0) {
if (fadespeed2 < -99) {
deck2.stop();
_root.deck2stopped = 1;
fadespeed2 = 0;
}
vol = deck2.getVolume();
vol = vol + fadespeed2;
if (vol > 99) {
vol = 100;
fadespeed2 = 0;
}
if (vol < 0) {
vol = 0;
fadespeed2 = 0;
deck2.stop();
_root.deck2stopped = 1;
}
deck2.setVolume(vol);
}
Symbol 431 MovieClip Frame 3
prevFrame();
play();
Symbol 436 MovieClip Frame 1
Key.removeListener(_root.keyListener);
_root.phrasepos = 0;
_root.phrase = "armegalorocks";
_root.keyListener = new Object();
_root.keyListener.onKeyDown = function () {
letter = _root.phrase.substr(_root.phrasepos, 1);
compareme = ord(letter);
typed = Key.getAscii();
if (typed == compareme) {
_root.phrasepos = _root.phrasepos + 1;
if (_root.phrasepos >= _root.phrase.length) {
if (_root.memory.data.hadbonuskeys2 != true) {
_root.memory.data.hadbonuskeys2 = true;
_root.memory.data.unlock_tokens = _root.memory.data.unlock_tokens + 7;
_root.memory.flush();
}
}
} else {
_root.phrasepos = 0;
}
};
Key.addListener(_root.keyListener);
Symbol 442 Button
on (release) {
_root.unlocker.removeMovieClip();
gotoAndStop ("instructions");
}
Symbol 445 Button
on (release) {
_root.unlocker.removeMovieClip();
gotoAndStop ("settings");
}
Symbol 449 Button
on (release) {
_root.unlocker.removeMovieClip();
getURL ("http://www.funnylishus.com", "_blank");
}
Symbol 452 Button
on (release) {
_root.unlocker.removeMovieClip();
targ = "high";
gotoAndPlay ("leaving");
music_controller.queueup = -2;
}
Symbol 455 Button
on (release) {
_root.unlocker.removeMovieClip();
gotoAndStop ("dressup");
_root.comefrom = "mainmenu";
}
Symbol 458 Button
on (release) {
if (_root.memory.data.godlocked != 1) {
_root.playmode = "god";
_root.current_difficulty = "Difficulty - Hard";
_root.unlocker.removeMovieClip();
targ = "game";
gotoAndPlay ("leaving");
} else {
_root.unlocker.removeMovieClip();
_root.attachMovie("Unlock menu", "unlocker", _root.getNextHighestDepth());
_root.unlocker.unlock_name = "Unlock GOD mode";
_root.unlocker.unlock_cost = _root.memory.data.godcost;
_root.unlocker.unlock_item = 10;
_root.unlocker._x = 320;
_root.unlocker._y = 230;
}
}
Symbol 461 Button
on (release) {
if (_root.memory.data.insanitylocked != 1) {
_root.playmode = "insanity";
_root.unlocker.removeMovieClip();
targ = "game";
gotoAndStop ("leavingmenu");
} else {
_root.unlocker.removeMovieClip();
_root.attachMovie("Unlock menu", "unlocker", _root.getNextHighestDepth());
_root.unlocker.unlock_name = "Unlock Insanity";
_root.unlocker.unlock_cost = _root.memory.data.insanitycost;
_root.unlocker.unlock_item = 9;
_root.unlocker._x = 320;
_root.unlocker._y = 230;
}
}
Symbol 464 Button
on (release) {
if (_root.memory.data.survivallocked != 1) {
_root.playmode = "survival";
_root.unlocker.removeMovieClip();
targ = "game";
gotoAndStop ("leavingmenu");
} else {
_root.unlocker.removeMovieClip();
_root.attachMovie("Unlock menu", "unlocker", _root.getNextHighestDepth());
_root.unlocker.unlock_name = "Unlock Survival";
_root.unlocker.unlock_cost = _root.memory.data.survivalcost;
_root.unlocker.unlock_item = 8;
_root.unlocker._x = 320;
_root.unlocker._y = 230;
}
}
Symbol 467 Button
on (release) {
if (_root.memory.data.levellocked != 1) {
_root.playmode = "level";
_root.unlocker.removeMovieClip();
targ = "game";
gotoAndStop ("leavingmenu");
} else {
_root.unlocker.removeMovieClip();
_root.attachMovie("Unlock menu", "unlocker", _root.getNextHighestDepth());
_root.unlocker.unlock_name = "Unlock Level";
_root.unlocker.unlock_cost = _root.memory.data.levelcost;
_root.unlocker.unlock_item = 12;
_root.unlocker._x = 320;
_root.unlocker._y = 230;
}
}
Symbol 472 MovieClip Frame 1
if (_root.memory.data.levellocked == 0) {
this._visible = false;
} else {
this._visible = true;
}
Symbol 472 MovieClip Frame 2
prevFrame();
play();
Symbol 473 MovieClip Frame 1
if (_root.memory.data.survivallocked == 0) {
this._visible = false;
} else {
this._visible = true;
}
Symbol 473 MovieClip Frame 2
prevFrame();
play();
Symbol 474 MovieClip Frame 1
if (_root.memory.data.insanitylocked == 0) {
this._visible = false;
} else {
this._visible = true;
}
Symbol 474 MovieClip Frame 2
prevFrame();
play();
Symbol 475 MovieClip Frame 1
if (_root.memory.data.godlocked == 0) {
this._visible = false;
} else {
this._visible = true;
}
Symbol 475 MovieClip Frame 2
prevFrame();
play();
Symbol 478 MovieClip Frame 1
_root.unlock_tokens = _root.memory.data.unlock_tokens;
Symbol 478 MovieClip Frame 2
prevFrame();
play();
Symbol 485 Button
on (release) {
getURL ("http://www.funnylishus.com/index.php?custom=angelcakes&subcust=start", "_blank");
}
Symbol 495 MovieClip Frame 1
gotoAndStop(random(_totalframes) + 1);
Symbol 496 MovieClip Frame 1
stop();
Symbol 496 MovieClip Frame 67
_parent.mespeek = 0;
Symbol 502 MovieClip Frame 2
a = _parent._parent._parent._parent._parent.xs;
_rotation = (-(a * 3));
prevFrame();
play();
Symbol 507 MovieClip Frame 1
stop();
Symbol 514 MovieClip Frame 1
stop();
Symbol 515 MovieClip Frame 1
if (_root.memory.data.quality_pos == 4) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
Symbol 516 MovieClip Frame 1
stop();
Symbol 529 MovieClip Frame 1
this._rotation = random(360);
this._xscale = random(40) + 160;
this._yscale = random(40) + 160;
Symbol 529 MovieClip Frame 14
stop();
Symbol 530 MovieClip Frame 1
_parent.gotoAndPlay(1);
stop();
Symbol 532 Button
on (release) {
bubble.gotoAndStop(1);
flum.gotoAndPlay(2);
}
Symbol 533 MovieClip Frame 1
xs = 0;
ys = 0;
_x = random(560);
_y = random(380);
xt = _x - 1;
yt = _y + 1;
mespeek = 0;
Symbol 533 MovieClip Frame 2
count = count + 1;
ship_speed = (random(100) / 100) + 1;
if ((random(50) == 1) and (mespeek == 0)) {
if (_root._currentframe != 10) {
a = random(3);
if (a == 0) {
xt = random(590);
yt = random(153);
} else if (a == 1) {
xt = random(50) + 500;
yt = random(265) + 136;
} else if (a == 2) {
xt = random(132);
yt = random(162) + 262;
}
} else {
a = random(2);
if (a == 0) {
xt = random(198);
yt = random(400);
} else if (a == 1) {
xt = random(150) + 440;
yt = random(400);
}
}
}
if ((((_x > (xt - 4)) and (_x < (xt + 4))) and (_y > (yt - 4))) and (_y < (yt + 4))) {
if (_x > xt) {
xs = xs - (ship_speed / 3);
} else {
xs = xs + (ship_speed / 3);
}
if (_y > yt) {
ys = ys - (ship_speed / 3);
} else {
ys = ys + (ship_speed / 3);
}
xs = xs * 0.8;
ys = ys * 0.8;
} else {
if (_x > xt) {
xs = xs - ship_speed;
} else {
xs = xs + ship_speed;
}
if (_y > yt) {
ys = ys - ship_speed;
} else {
ys = ys + ship_speed;
}
}
xs = xs * 0.89;
ys = ys * 0.89;
_x = (_x + xs);
_y = (_y + ys);
if (xs < -9) {
flum.dude.qual.cow.gotoAndStop(1);
} else if ((xs > -9) and (xs < -4.5)) {
flum.dude.qual.cow.gotoAndStop(2);
} else if ((xs > -4.5) and (xs < 4.5)) {
flum.dude.qual.cow.gotoAndStop(3);
if (((((random(50) == 1) and (_x < 400)) and (xt < 400)) and (_y > 100)) and (yt > 100)) {
mespeek = 1;
bubble.play();
}
} else if ((xs > 4.5) and (xs < 9)) {
flum.dude.qual.cow.gotoAndStop(4);
} else if (xs > 9) {
flum.dude.qual.cow.gotoAndStop(5);
}
flum.dude._rotation = xs;
Symbol 533 MovieClip Frame 3
prevFrame();
play();
Symbol 549 MovieClip Frame 1
Key.removeListener(_root.keyListener);
_root.phrasepos = 0;
_root.phrase = "djnutzdog";
_root.keyListener = new Object();
_root.keyListener.onKeyDown = function () {
letter = _root.phrase.substr(_root.phrasepos, 1);
compareme = ord(letter);
typed = Key.getAscii();
if (typed == compareme) {
_root.phrasepos = _root.phrasepos + 1;
if (_root.phrasepos >= _root.phrase.length) {
if (_root.memory.data.hadbonuskeys != true) {
trace("bonus");
_root.memory.data.hadbonuskeys = true;
_root.memory.data.unlock_tokens = _root.memory.data.unlock_tokens + 21;
_root.memory.flush();
}
}
} else {
_root.phrasepos = 0;
}
};
Key.addListener(_root.keyListener);
Symbol 555 Button
on (release) {
getURL ("http://www.myspace.com/gothopera", "_blank");
}
Symbol 558 Button
on (release) {
getURL ("http://www.myspace.com/djnutzdog", "_blank");
}
Symbol 561 Button
on (release) {
getURL ("http://www.myspace.com/armegalo", "_blank");
}
Symbol 571 MovieClip Frame 1
stop();
Symbol 574 Button
on (release) {
if (com._currentframe == com._totalframes) {
gotoAndStop ("mainmenu");
} else {
com.nextFrame();
}
Key.removeListener(_root.keyListener);
}
Symbol 575 Button
on (release) {
if (com._currentframe == 1) {
gotoAndStop ("mainmenu");
} else {
com.prevFrame();
}
Key.removeListener(_root.keyListener);
}
Symbol 576 MovieClip Frame 1
Key.removeListener(_root.keyListener);
_root.phrasepos = 0;
_root.phrase = "ultracheat";
_root.keyListener = new Object();
_root.keyListener.onKeyDown = function () {
letter = _root.phrase.substr(_root.phrasepos, 1);
compareme = ord(letter);
typed = Key.getAscii();
if (typed == compareme) {
_root.phrasepos = _root.phrasepos + 1;
if (_root.phrasepos >= _root.phrase.length) {
_root.memory.data.unlock_tokens = _root.memory.data.unlock_tokens + 1000;
_root.memory.flush();
if (_root.chingwar != 1) {
_root.chingwar = 1;
_root.boss_come_report("ULTRACHEAT ACTIVE!!!");
} else {
_root.chingwar = 0;
_root.boss_come_report("ULTRACHEAT DEACTIVEATED!!!");
}
}
} else {
_root.phrasepos = 0;
}
};
Key.addListener(_root.keyListener);
Symbol 577 Button
on (release) {
gotoAndStop ("mainmenu");
}
Symbol 582 Button
on (release, keyPress "q") {
_root.memory.data.quality_pos = _root.memory.data.quality_pos + 1;
if (_root.memory.data.quality_pos > _root.max_qualitys) {
_root.memory.data.quality_pos = 1;
}
_root.current_quality = _root.qualitys[_root.memory.data.quality_pos];
_root.memory.flush();
_root.set_quality();
}
Symbol 584 Button
on (release, keyPress "m") {
_root.report_music = 1;
_root.memory.data.music_pos = _root.memory.data.music_pos + 1;
if (_root.memory.data.music_pos > _root.max_musics) {
_root.memory.data.music_pos = 1;
}
_root.current_music = _root.musics[_root.memory.data.music_pos];
if (_root.current_music != "Music - Off") {
if (_root.boss_up != 1) {
_root.set_music(_root.section);
} else {
_root.set_music(5);
}
} else {
_root.set_music(-2);
}
_root.memory.flush();
}
Symbol 586 Button
on (release, keyPress "b") {
_root.memory.data.bgsettings_pos = _root.memory.data.bgsettings_pos + 1;
if (_root.memory.data.bgsettings_pos > _root.max_bgsettings) {
_root.memory.data.bgsettings_pos = 1;
}
_root.current_bgsettings = _root.bgsettings[_root.memory.data.bgsettings_pos];
_root.memory.flush();
_root.set_background();
}
Symbol 590 Button
on (release) {
if (_root.controls == "keyboard") {
_root.memory.data.controls = "keyboard2";
_root.memory.flush();
_root.controls = _root.memory.data.controls;
_root.control_phrase = "Controls - Keyboard 2";
} else if (_root.controls == "keyboard2") {
_root.memory.data.controls = "mouse";
_root.memory.flush();
_root.controls = _root.memory.data.controls;
_root.control_phrase = "Controls - Mouse";
} else {
_root.memory.data.controls = "keyboard";
_root.memory.flush();
_root.controls = _root.memory.data.controls;
_root.control_phrase = "Controls - Keyboard 1";
}
}
Symbol 593 MovieClip Frame 1
graphics.halo.gotoAndStop(_root.memory.data.current_halo);
current_halo = _root.memory.data.current_halo;
graphics.eyes.gotoAndStop(_root.memory.data.current_eyes);
current_eyes = _root.memory.data.current_eyes;
graphics.features.gotoAndStop(_root.memory.data.current_features);
current_features = _root.memory.data.current_features;
graphics.head.gotoAndStop(_root.memory.data.current_head);
current_head = _root.memory.data.current_head;
graphics.gotoAndStop(_root.memory.data.current_body);
current_body = _root.memory.data.current_body;
graphics.wings.gotoAndStop(_root.memory.data.current_wings);
current_wings = _root.memory.data.current_wings;
Symbol 593 MovieClip Frame 2
if ((((((_root.memory.data.current_halo != 1) or (_root.memory.data.current_eyes != 1)) or (_root.memory.data.current_features != 1)) or (_root.memory.data.current_head != 1)) or (_root.memory.data.current_body != 1)) or (_root.memory.data.current_wings != 1)) {
prevFrame();
play();
}
Symbol 594 Button
on (release) {
if (_root.comefrom == "mainmenu") {
_root.unlocker.removeMovieClip();
gotoAndStop ("mainmenu");
} else {
_root.unlocker.removeMovieClip();
gotoAndStop ("leavingmenu");
}
}
Symbol 598 Button
on (release) {
do {
_root.memory.data.current_halo = _root.memory.data.current_halo + 1;
if (_root.memory.data.current_halo > _root.maxhalos) {
_root.memory.data.current_halo = 1;
}
} while (_root.memory.data["halolocked" + _root.memory.data.current_halo] == 1);
_root.memory.flush();
_root.ship.graphics.halo.gotoAndStop(_root.memory.data.current_halo);
_root.current_halo = _root.memory.data.current_halo;
}
Symbol 599 Button
on (release) {
do {
_root.memory.data.current_halo = _root.memory.data.current_halo - 1;
if (_root.memory.data.current_halo < 1) {
_root.memory.data.current_halo = _root.maxhalos;
}
} while (_root.memory.data["halolocked" + _root.memory.data.current_halo] == 1);
_root.memory.flush();
_root.ship.graphics.halo.gotoAndStop(_root.memory.data.current_halo);
_root.current_halo = _root.memory.data.current_halo;
}
Symbol 605 Button
on (release) {
if (_root.freehalos < _root.maxhalos) {
_root.unlocker.removeMovieClip();
_root.attachMovie("Unlock menu", "unlocker", _root.getNextHighestDepth());
_root.unlocker.unlock_name = "Unlock Next Halo";
_root.unlocker.unlock_cost = 1;
_root.unlocker.unlock_item = 2;
_root.unlocker._x = 320;
_root.unlocker._y = 230;
}
}
Symbol 608 MovieClip Frame 1
if (_root.freehalos >= _root.maxhalos) {
gotoAndStop (3);
}
Symbol 608 MovieClip Frame 2
prevFrame();
play();
Symbol 612 MovieClip Frame 2
if (_root.halo_available == true) {
prevFrame();
play();
}
Symbol 612 MovieClip Frame 4
if (_root.halo_available == false) {
prevFrame();
play();
}
Symbol 614 Button
on (release) {
do {
_root.memory.data.current_eyes = _root.memory.data.current_eyes + 1;
if (_root.memory.data.current_eyes > _root.maxeyes) {
_root.memory.data.current_eyes = 1;
}
} while (_root.memory.data["eyeslocked" + _root.memory.data.current_eyes] == 1);
_root.memory.flush();
_root.ship.graphics.eyes.gotoAndStop(_root.memory.data.current_eyes);
_root.current_eyes = _root.memory.data.current_eyes;
}
Symbol 615 Button
on (release) {
do {
_root.memory.data.current_eyes = _root.memory.data.current_eyes - 1;
if (_root.memory.data.current_eyes < 1) {
_root.memory.data.current_eyes = _root.maxeyes;
}
} while (_root.memory.data["eyeslocked" + _root.memory.data.current_eyes] == 1);
_root.memory.flush();
_root.ship.graphics.eyes.gotoAndStop(_root.memory.data.current_eyes);
_root.current_eyes = _root.memory.data.current_eyes;
}
Symbol 618 Button
on (release) {
if (_root.freeeyes < _root.maxeyes) {
_root.unlocker.removeMovieClip();
_root.attachMovie("Unlock menu", "unlocker", _root.getNextHighestDepth());
_root.unlocker.unlock_name = "Unlock Next Eyes";
_root.unlocker.unlock_cost = 1;
_root.unlocker.unlock_item = 3;
_root.unlocker._x = 320;
_root.unlocker._y = 230;
}
}
Symbol 619 MovieClip Frame 1
if (_root.freeeyes >= _root.maxeyes) {
gotoAndStop (3);
}
Symbol 619 MovieClip Frame 2
prevFrame();
play();
Symbol 623 MovieClip Frame 2
if (_root.eyes_available == true) {
prevFrame();
play();
}
Symbol 623 MovieClip Frame 4
if (_root.eyes_available == false) {
prevFrame();
play();
}
Symbol 625 Button
on (release) {
do {
_root.memory.data.current_features = _root.memory.data.current_features + 1;
if (_root.memory.data.current_features > _root.maxfeatures) {
_root.memory.data.current_features = 1;
}
} while (_root.memory.data["featureslocked" + _root.memory.data.current_features] == 1);
_root.memory.flush();
_root.ship.graphics.features.gotoAndStop(_root.memory.data.current_features);
_root.current_features = _root.memory.data.current_features;
}
Symbol 626 Button
on (release) {
do {
_root.memory.data.current_features = _root.memory.data.current_features - 1;
if (_root.memory.data.current_features < 1) {
_root.memory.data.current_features = _root.maxfeatures;
}
} while (_root.memory.data["featureslocked" + _root.memory.data.current_features] == 1);
_root.memory.flush();
_root.ship.graphics.features.gotoAndStop(_root.memory.data.current_features);
_root.current_features = _root.memory.data.current_features;
}
Symbol 629 Button
on (release) {
if (_root.freefeatures < _root.maxfeatures) {
_root.unlocker.removeMovieClip();
_root.attachMovie("Unlock menu", "unlocker", _root.getNextHighestDepth());
_root.unlocker.unlock_name = "Unlock Next Features";
_root.unlocker.unlock_cost = 1;
_root.unlocker.unlock_item = 4;
_root.unlocker._x = 320;
_root.unlocker._y = 230;
}
}
Symbol 630 MovieClip Frame 1
if (_root.freefeatures >= _root.maxfeatures) {
gotoAndStop (3);
}
Symbol 630 MovieClip Frame 2
prevFrame();
play();
Symbol 634 MovieClip Frame 2
if (_root.features_available == true) {
prevFrame();
play();
}
Symbol 634 MovieClip Frame 4
if (_root.features_available == false) {
prevFrame();
play();
}
Symbol 636 Button
on (release) {
do {
_root.memory.data.current_head = _root.memory.data.current_head + 1;
if (_root.memory.data.current_head > _root.maxheads) {
_root.memory.data.current_head = 1;
}
} while (_root.memory.data["headlocked" + _root.memory.data.current_head] == 1);
_root.memory.flush();
_root.ship.graphics.head.gotoAndStop(_root.memory.data.current_head);
_root.current_head = _root.memory.data.current_head;
}
Symbol 637 Button
on (release) {
do {
_root.memory.data.current_head = _root.memory.data.current_head - 1;
if (_root.memory.data.current_head < 1) {
_root.memory.data.current_head = _root.maxheads;
}
} while (_root.memory.data["headlocked" + _root.memory.data.current_head] == 1);
_root.memory.flush();
_root.ship.graphics.head.gotoAndStop(_root.memory.data.current_head);
_root.current_head = _root.memory.data.current_head;
}
Symbol 640 Button
on (release) {
if (_root.freeheads < _root.maxheads) {
_root.unlocker.removeMovieClip();
_root.attachMovie("Unlock menu", "unlocker", _root.getNextHighestDepth());
_root.unlocker.unlock_name = "Unlock Next Head";
_root.unlocker.unlock_cost = 1;
_root.unlocker.unlock_item = 5;
_root.unlocker._x = 320;
_root.unlocker._y = 230;
}
}
Symbol 641 MovieClip Frame 1
if (_root.freeheads >= _root.maxheads) {
gotoAndStop (3);
}
Symbol 641 MovieClip Frame 2
prevFrame();
play();
Symbol 645 MovieClip Frame 2
if (_root.head_available == true) {
prevFrame();
play();
}
Symbol 645 MovieClip Frame 4
if (_root.head_available == false) {
prevFrame();
play();
}
Symbol 647 Button
on (release) {
do {
_root.memory.data.current_body = _root.memory.data.current_body + 1;
if (_root.memory.data.current_body > _root.maxbodys) {
_root.memory.data.current_body = 1;
}
} while (_root.memory.data["bodylocked" + _root.memory.data.current_body] == 1);
_root.ship.graphics.gotoAndStop(_root.memory.data.current_body);
_root.ship.graphics.halo.gotoAndStop(_root.memory.data.current_halo);
_root.ship.graphics.eyes.gotoAndStop(_root.memory.data.current_eyes);
_root.ship.graphics.features.gotoAndStop(_root.memory.data.current_features);
_root.ship.graphics.head.gotoAndStop(_root.memory.data.current_head);
_root.ship.graphics.wings.gotoAndStop(_root.memory.data.current_wings);
_root.current_body = _root.memory.data.current_body;
_root.memory.flush();
}
Symbol 648 Button
on (release) {
do {
_root.memory.data.current_body = _root.memory.data.current_body - 1;
if (_root.memory.data.current_body < 1) {
_root.memory.data.current_body = _root.maxbodys;
}
} while (_root.memory.data["bodylocked" + _root.memory.data.current_body] == 1);
_root.ship.graphics.gotoAndStop(_root.memory.data.current_body);
_root.ship.graphics.halo.gotoAndStop(_root.memory.data.current_halo);
_root.ship.graphics.eyes.gotoAndStop(_root.memory.data.current_eyes);
_root.ship.graphics.features.gotoAndStop(_root.memory.data.current_features);
_root.ship.graphics.head.gotoAndStop(_root.memory.data.current_head);
_root.ship.graphics.wings.gotoAndStop(_root.memory.data.current_wings);
_root.current_body = _root.memory.data.current_body;
_root.current_halo = _root.memory.data.current_halo;
_root.memory.flush();
}
Symbol 651 Button
on (release) {
if (_root.freebodys < _root.maxbodys) {
_root.unlocker.removeMovieClip();
_root.attachMovie("Unlock menu", "unlocker", _root.getNextHighestDepth());
_root.unlocker.unlock_name = "Unlock Next Body";
_root.unlocker.unlock_cost = 1;
_root.unlocker.unlock_item = 6;
_root.unlocker._x = 320;
_root.unlocker._y = 230;
}
}
Symbol 652 MovieClip Frame 1
if (_root.freebodys >= _root.maxbodys) {
gotoAndStop (3);
}
Symbol 652 MovieClip Frame 2
prevFrame();
play();
Symbol 656 MovieClip Frame 2
if (_root.body_available == true) {
prevFrame();
play();
}
Symbol 656 MovieClip Frame 4
if (_root.body_available == false) {
prevFrame();
play();
}
Symbol 658 Button
on (release) {
do {
_root.memory.data.current_wings = _root.memory.data.current_wings + 1;
if (_root.memory.data.current_wings > _root.maxwings) {
_root.memory.data.current_wings = 1;
}
} while (_root.memory.data["wingslocked" + _root.memory.data.current_wings] == 1);
_root.memory.flush();
_root.ship.graphics.wings.gotoAndStop(_root.memory.data.current_wings);
_root.current_wings = _root.memory.data.current_wings;
}
Symbol 659 Button
on (release) {
do {
_root.memory.data.current_wings = _root.memory.data.current_wings - 1;
if (_root.memory.data.current_wings < 1) {
_root.memory.data.current_wings = _root.maxwings;
}
} while (_root.memory.data["wingslocked" + _root.memory.data.current_wings] == 1);
_root.memory.flush();
_root.ship.graphics.wings.gotoAndStop(_root.memory.data.current_wings);
_root.current_wings = _root.memory.data.current_wings;
}
Symbol 662 Button
on (release) {
if (_root.freewings < _root.maxwings) {
_root.unlocker.removeMovieClip();
_root.attachMovie("Unlock menu", "unlocker", _root.getNextHighestDepth());
_root.unlocker.unlock_name = "Unlock Next Wings";
_root.unlocker.unlock_cost = 1;
_root.unlocker.unlock_item = 7;
_root.unlocker._x = 320;
_root.unlocker._y = 230;
}
}
Symbol 663 MovieClip Frame 1
if (_root.freewings >= _root.maxwings) {
gotoAndStop (3);
}
Symbol 663 MovieClip Frame 2
prevFrame();
play();
Symbol 667 MovieClip Frame 2
if (_root.wings_available == true) {
prevFrame();
play();
}
Symbol 667 MovieClip Frame 4
if (_root.wings_available == false) {
prevFrame();
play();
}
Symbol 668 MovieClip Frame 1
Key.removeListener(_root.keyListener);
_root.phrasepos = 0;
_root.phrase = "funnylishus";
_root.phrasepos2 = 0;
_root.phrase2 = "superpimp";
_root.keyListener = new Object();
_root.keyListener.onKeyDown = function () {
letter = _root.phrase.substr(_root.phrasepos, 1);
compareme = ord(letter);
typed = Key.getAscii();
if (typed == compareme) {
_root.phrasepos = _root.phrasepos + 1;
if (_root.phrasepos >= _root.phrase.length) {
if (_root.memory.data.hadbonuskeys3 != true) {
_root.memory.data.hadbonuskeys3 = true;
_root.memory.data.unlock_tokens = _root.memory.data.unlock_tokens + 7;
_root.memory.flush();
}
}
} else {
_root.phrasepos = 0;
}
letter = _root.phrase2.substr(_root.phrasepos2, 1);
compareme = ord(letter);
if (typed == compareme) {
_root.phrasepos2 = _root.phrasepos2 + 1;
if (_root.phrasepos2 >= _root.phrase2.length) {
_root.memory.data.unlock_tokens = _root.memory.data.unlock_tokens + 30;
_root.memory.flush();
}
} else {
_root.phrasepos2 = 0;
}
};
Key.addListener(_root.keyListener);
Symbol 669 MovieClip Frame 1
_root.current_halo = _root.memory.data.current_halo;
_root.current_eyes = _root.memory.data.current_eyes;
_root.current_features = _root.memory.data.current_features;
_root.current_head = _root.memory.data.current_head;
_root.current_body = _root.memory.data.current_body;
_root.current_wings = _root.memory.data.current_wings;
_root.freehalos = _root.maxhalos;
n = 1;
while (n <= _root.maxhalos) {
if (_root.memory.data["halolocked" + n] == 1) {
_root.freehalos = _root.freehalos - 1;
}
n++;
}
_root.freeeyes = _root.maxeyes;
n = 1;
while (n <= _root.maxeyes) {
if (_root.memory.data["eyeslocked" + n] == 1) {
_root.freeeyes = _root.freeeyes - 1;
}
n++;
}
_root.freefeatures = _root.maxfeatures;
n = 1;
while (n <= _root.maxfeatures) {
if (_root.memory.data["featureslocked" + n] == 1) {
_root.freefeatures = _root.freefeatures - 1;
}
n++;
}
_root.freeheads = _root.maxheads;
n = 1;
while (n <= _root.maxheads) {
if (_root.memory.data["headlocked" + n] == 1) {
_root.freeheads = _root.freeheads - 1;
}
n++;
}
_root.freebodys = _root.maxbodys;
n = 1;
while (n <= _root.maxbodys) {
if (_root.memory.data["bodylocked" + n] == 1) {
_root.freebodys = _root.freebodys - 1;
}
n++;
}
_root.freewings = _root.maxwings;
n = 1;
while (n <= _root.maxwings) {
if (_root.memory.data["wingslocked" + n] == 1) {
_root.freewings = _root.freewings - 1;
}
n++;
}
Symbol 677 Button
on (release) {
_root.current_difficulty = "Difficulty - Easy";
_root.targ = "game";
_root.music_controller.queueup = -2;
_root.gotoAndPlay("Leaving");
}
Symbol 680 Button
on (release) {
_root.current_difficulty = "Difficulty - Medium";
_targ = "game";
music_controller.queueup = -2;
gotoAndPlay ("Leaving");
}
Symbol 683 Button
on (release) {
_root.current_difficulty = "Difficulty - Hard";
targ = "game";
music_controller.queueup = -2;
gotoAndPlay ("Leaving");
}
Symbol 686 Button
on (release) {
_root.unlocker.removeMovieClip();
gotoAndStop ("dressup");
_root.comefrom = "leavingmenu";
}
Symbol 689 Button
on (release) {
gotoAndStop ("mainmenu");
}
Symbol 695 MovieClip Frame 1
_parent.gotoAndStop(_root.section_backdrop[_root.section]);
Symbol 719 MovieClip Frame 1
stop();
Symbol 719 MovieClip Frame 2
if (random(2) == 1) {
_root.supaman.start();
} else {
_root.supaman2.start();
}
Symbol 719 MovieClip Frame 8
gotoAndStop (1);
Symbol 719 MovieClip Frame 11
gotoAndStop (1);
Symbol 719 MovieClip Frame 29
_parent.hit_points = _parent.ohp;
_parent._x = _parent.ox + _root.callboxlikely;
_parent.gotoAndPlay(2);
gotoAndStop (1);
Symbol 719 MovieClip Frame 30
stop();
Symbol 720 MovieClip Frame 1
ox = 810;
hit_points = 10;
ohp = hit_points;
score_worth = 500;
Symbol 720 MovieClip Frame 3
if ((_root.saucer_fodder > 1) and (_root.clear_screen < 1)) {
} else {
prevFrame();
play();
}
Symbol 720 MovieClip Frame 4
_x = (_x + _root.level_scroll_speed);
if (_x < -10) {
gotoAndPlay (2);
_x = (ox + random(_root.callboxlikely));
}
if (hit_points > 0.99) {
hit = 0;
i = 1;
while (i <= _root.armoury.max_bullets) {
if (this.hitTest(_root.armoury["bullet" + i])) {
dib = _root.armoury["bullet" + i].bulltype;
zim = _root.armoury.weapon_liveon[dib];
wep_strength = _root.armoury.weapon_strength[dib];
hit = hit + wep_strength;
if (zim == 0) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
}
i++;
}
if (this.hitTest(_root.ship.detect)) {
wep_strength = 2;
if (_root.shield_weapon > 0) {
hit = hit + _root.shield_weapon_damage;
} else {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = _root.ship.alien_hit + hit_points;
}
}
if (this.hitTest(_root.trailer.guardian)) {
hit = hit + _root.trailer_damage[_root.trailer_type];
}
if (hit > 0) {
hit_points = hit_points - (hit / 5);
box.gotoAndPlay(9);
}
if ((hit_points < 1) or (_root.nuking == 1)) {
hit_points = 0;
hit = 0;
_root.score = _root.score + score_worth;
box.gotoAndPlay(12);
smee = random(3);
if (smee == 0) {
_root.explosion1.start();
} else if (smee == 1) {
_root.explosion2.start();
} else if (smee == 2) {
_root.explosion3.start();
}
gotoAndPlay (6);
} else if (_root.clear_screen != 0) {
gotoAndPlay (2);
_x = (ox + random(_root.callboxlikely));
}
}
Symbol 720 MovieClip Frame 5
prevFrame();
play();
Symbol 802 MovieClip Frame 1
gotoAndPlay(random(_totalframes) + 2);
Symbol 802 MovieClip Frame 21
gotoAndPlay (2);
Symbol 803 MovieClip Frame 1
_root.maxcakes = 12;
stop();
Symbol 824 MovieClip Frame 1
gotoAndStop(_parent._parent.item);
Symbol 824 MovieClip Frame 2
_root.weapon_got_2 = 1;
_root.weapon_type = 2;
Symbol 824 MovieClip Frame 3
_root.weapon_got_3 = 1;
_root.weapon_type = 3;
Symbol 824 MovieClip Frame 4
_root.weapon_got_4 = 1;
_root.weapon_type = 4;
Symbol 824 MovieClip Frame 5
_root.weapon_got_5 = 1;
_root.weapon_type = 5;
Symbol 824 MovieClip Frame 6
_root.weapon_got_6 = 1;
_root.weapon_type = 6;
Symbol 824 MovieClip Frame 7
_root.weapon_got_7 = 1;
_root.weapon_type = 7;
Symbol 824 MovieClip Frame 8
_root.weapon_got_8 = 1;
_root.weapon_type = 8;
Symbol 824 MovieClip Frame 9
_root.weapon_got_2 = 1;
_root.weapon_got_3 = 1;
_root.weapon_got_4 = 1;
_root.weapon_got_5 = 1;
_root.weapon_got_6 = 1;
_root.weapon_got_7 = 1;
_root.weapon_got_8 = 1;
_root.ship.max_shield = 100;
_root.ship.shield = ship.max_shield;
_root.ship.accel = 6;
_root.ship.friction = 0.85;
Symbol 824 MovieClip Frame 10
_root.ship.max_shield = _root.ship.max_shield + 5;
Symbol 824 MovieClip Frame 11
if (_root.ship.accel == 3) {
_root.ship.accel = 3.5;
_root.ship.friction = 0.77;
} else if (_root.ship.accel == 3.5) {
_root.ship.accel = 4;
_root.ship.friction = 0.79;
} else if (_root.ship.accel == 4) {
_root.ship.accel = 4.5;
_root.ship.friction = 0.81;
} else if (_root.ship.accel == 4.5) {
_root.ship.accel = 5;
_root.ship.friction = 0.83;
} else if (_root.ship.accel == 5) {
_root.ship.accel = 5.5;
_root.ship.friction = 0.84;
} else {
_root.ship.accel = 6.01;
_root.ship.friction = 0.85;
}
Symbol 824 MovieClip Frame 12
_root.trailer_type = _root.trailer_type + 1;
if (_root.trailer_type == 1) {
_root.trailer.guardian.gotoAndStop(1);
}
if (_root.trailer_type == 2) {
_root.trailer.guardian.gotoAndStop(2);
}
if (_root.trailer_type == 3) {
_root.trailer.guardian.gotoAndStop(3);
}
if (_root.trailer_type == 4) {
_root.trailer.guardian.gotoAndStop(4);
}
Symbol 824 MovieClip Frame 13
_root.shield_weapon_charge = _root.shield_weapon_charge + _root.shield_weapon_charge_inc;
if (_root.shield_weapon_charge > _root.shield_weapon_charge_max) {
_root.shield_weapon_charge = _root.shield_weapon_charge_max;
}
Symbol 824 MovieClip Frame 14
_root.shield_weapon_charge_max = _root.shield_weapon_charge_max + 10;
_root.shield_weapon_charge = _root.shield_weapon_charge + _root.shield_weapon_charge_inc;
if (_root.shield_weapon_charge > _root.shield_weapon_charge_max) {
_root.shield_weapon_charge = _root.shield_weapon_charge_max;
}
Symbol 824 MovieClip Frame 15
_root.ship.shield = _root.ship.shield + 20;
if (_root.ship.shield > _root.ship.max_shield) {
_root.ship.shield = _root.ship.max_shield;
}
Symbol 824 MovieClip Frame 16
_root.memory.data.unlock_tokens = _root.memory.data.unlock_tokens + 1;
_root.memory.flush();
_root.unlock_tokens = _root.memory.data.unlock_tokens;
Symbol 825 MovieClip Frame 1
stop();
Symbol 825 MovieClip Frame 46
_parent.gotoAndPlay(1);
Symbol 826 MovieClip Frame 1
x = _root.max_x + 600;
y = 0;
this._x = x;
this._y = y;
xs = -1.5;
_root.rock_on = 0;
Symbol 826 MovieClip Frame 3
if (_root.upgrade_start == 1) {
x = _root.upgrade_start_x;
y = _root.upgrade_start_y;
_root.upgrade_start = 0;
_root.rock_on = 1;
upgrade.cake.gotoAndStop(random(_root.maxcakes) + 1);
if (random(6) == 1) {
if (random(3) == 1) {
item = 13;
upgrade.cake.gotoAndStop(6);
} else if (random(_root.unlock_likely) == 1) {
item = 16;
upgrade.cake.gotoAndStop(14);
} else {
item = 15;
upgrade.cake.gotoAndStop(13);
}
} else if (_root.upgrade_queue_pos >= _root.upgrade_queue_max) {
item = 13;
upgrade.cake.gotoAndStop(6);
} else {
_root.upgrade_queue_pos = _root.upgrade_queue_pos + 1;
if ((_root.upgrade_queue[_root.upgrade_queue_pos] > 1) and (_root.upgrade_queue[_root.upgrade_queue_pos] < 8)) {
_root.weapupinterval = _root.weapupinterval + _root.wepupup;
_root.weapuptimer = 0;
if (_root.weapon_got_2 == 0) {
item = 2;
upgrade.cake.gotoAndStop(1);
} else if (_root.weapon_got_3 == 0) {
upgrade.cake.gotoAndStop(2);
item = 3;
} else if (_root.weapon_got_4 == 0) {
upgrade.cake.gotoAndStop(3);
item = 4;
} else if (_root.weapon_got_5 == 0) {
upgrade.cake.gotoAndStop(4);
item = 5;
} else if (_root.weapon_got_6 == 0) {
upgrade.cake.gotoAndStop(5);
item = 6;
} else if (_root.weapon_got_7 == 0) {
upgrade.cake.gotoAndStop(11);
item = 7;
} else {
item = 13;
upgrade.cake.gotoAndStop(6);
}
} else if (_root.upgrade_queue[_root.upgrade_queue_pos] == 10) {
if (_root.ship.max_shield < _root.top_shield) {
item = 10;
upgrade.cake.gotoAndStop(7);
} else {
item = 13;
upgrade.cake.gotoAndStop(6);
}
} else if (_root.upgrade_queue[_root.upgrade_queue_pos] == 14) {
if (_root.shield_weapon_charge_max < _root.shield_weapon_charge_top) {
item = 14;
upgrade.cake.gotoAndStop(8);
} else {
item = 13;
upgrade.cake.gotoAndStop(6);
}
} else if (_root.upgrade_queue[_root.upgrade_queue_pos] == 11) {
if (_root.ship.accel <= _root.top_accel) {
item = 11;
upgrade.cake.gotoAndStop(9);
} else {
item = 13;
upgrade.cake.gotoAndStop(6);
}
} else if (_root.upgrade_queue[_root.upgrade_queue_pos] == 12) {
if (_root.trailer_type < _root.max_trailer_types) {
item = 12;
upgrade.cake.gotoAndStop(10);
} else {
item = 13;
upgrade.cake.gotoAndStop(6);
}
} else if (_root.upgrade_queue[_root.upgrade_queue_pos] == 16) {
item = 16;
upgrade.cake.gotoAndStop(14);
}
if (item == 13) {
if (random(2) == 1) {
item = 15;
upgrade.cake.gotoAndStop(13);
}
}
}
} else {
prevFrame();
play();
}
Symbol 826 MovieClip Frame 4
if (_root.upgrade_freq <= _root.upgrade_freq_max) {
_root.upgrade_freq = _root.upgrade_freq + _root.upgrade_freq_inc;
}
Symbol 826 MovieClip Frame 5
x = x + xs;
if (x < -40) {
gotoAndPlay (1);
}
if (this.hitTest(_root.ship.detect)) {
_root.pickup.start();
upgrade.gotoAndPlay("reportndo");
gotoAndPlay (7);
}
this._x = x;
this._y = y;
Symbol 826 MovieClip Frame 6
prevFrame();
play();
Symbol 826 MovieClip Frame 7
stop();
Symbol 826 MovieClip Frame 9
gotoAndPlay (1);
Symbol 827 MovieClip Frame 1
stop();
Symbol 830 MovieClip Frame 1
x = _root.max_x + 40;
y = random(_root.max_y - 80) + 40;
graphic.gotoAndStop(powerup_type);
this._x = x;
this._y = y;
powerup_on = 0;
xs = -8;
Symbol 830 MovieClip Frame 2
if (powerup_on == 0) {
if ((_root.chilling == 0) and (random(_root.powerup_frequency) == 1)) {
powerup_on = 1;
}
} else {
x = x + xs;
if (x < -40) {
gotoAndPlay (44);
}
if (this.hitTest(_root.ship.detect)) {
_root.pickup.start();
_root.ship.shield = _root.ship.shield + 5;
if (_root.ship.shield > _root.ship.max_shield) {
_root.ship.shield = _root.ship.max_shield;
}
gotoAndPlay (4);
}
}
this._x = x;
this._y = y;
Symbol 830 MovieClip Frame 3
prevFrame();
play();
Symbol 835 MovieClip Frame 2
if ((_root.controls == "keyboard") or (_root.controls == "keyboard2")) {
prevFrame();
play();
}
Symbol 835 MovieClip Frame 4
if (_root.controls == "mouse") {
prevFrame();
play();
}
Symbol 836 Button
on (release) {
if (_root.controls == "mouse") {
_root.fire = 0;
}
}
on (press) {
if ((_root.controls == "mouse") and (_root.game_paused != 1)) {
_root.fire = 1;
}
}
Symbol 837 MovieClip Frame 1
startDrag (this, true);
Symbol 837 MovieClip Frame 3
prevFrame();
play();
Symbol 846 MovieClip Frame 1
gotoAndPlay(random(10));
Symbol 846 MovieClip Frame 11
if (random(5) < 3) {
gotoAndPlay (10);
} else {
_parent.gotoAndPlay(1);
gotoAndPlay (2);
}
Symbol 847 MovieClip Frame 1
rot = random(360);
scal = 100;
rotsp = random(10) - 5;
setProperty("l1", _xscale , scal);
setProperty("l1", _yscale , scal);
setProperty("l1", _rotation , rot);
Symbol 847 MovieClip Frame 2
rot = Number(rot) + Number(rotsp);
setProperty("l1", _xscale , scal);
setProperty("l1", _yscale , scal);
setProperty("l1", _rotation , rot);
Symbol 847 MovieClip Frame 3
gotoAndPlay (2);
Symbol 854 MovieClip Frame 1
gotoAndPlay(random(10));
Symbol 854 MovieClip Frame 10
if (random(6) < 4) {
gotoAndPlay (9);
} else {
gotoAndPlay (2);
_parent.gotoAndPlay(1);
}
Symbol 855 MovieClip Frame 1
rot = random(360);
scal = 100;
rotsp = random(10) - 5;
setProperty("l2", _xscale , scal);
setProperty("l2", _yscale , scal);
setProperty("l2", _rotation , rot);
Symbol 855 MovieClip Frame 2
rot = Number(rot) + Number(rotsp);
setProperty("l2", _xscale , scal);
setProperty("l2", _yscale , scal);
setProperty("l2", _rotation , rot);
Symbol 855 MovieClip Frame 3
gotoAndPlay (2);
Symbol 865 MovieClip Frame 1
gotoAndPlay(random(40));
Symbol 865 MovieClip Frame 40
gotoAndPlay (2);
Symbol 867 MovieClip Frame 1
rot = random(360);
scal = Number(random(100)) + 50;
rotsp = random(10) - 5;
setProperty("sparkie", _xscale , scal);
setProperty("sparkie", _yscale , scal);
setProperty("sparkie", _rotation , rot);
Symbol 867 MovieClip Frame 2
rot = Number(rot) + Number(rotsp);
setProperty("sparkie", _xscale , scal);
setProperty("sparkie", _yscale , scal);
setProperty("sparkie", _rotation , rot);
Symbol 867 MovieClip Frame 3
gotoAndPlay (2);
Symbol 872 MovieClip Frame 1
_root.current_kill_zone = _root.detect_type;
_root.ship.detect.gotoAndStop(_root.current_kill_zone);
_root.shield_weapon = 0;
Symbol 872 MovieClip Frame 2
if (_root.shield_weapon == 0) {
prevFrame();
play();
}
Symbol 872 MovieClip Frame 3
_root.current_kill_zone = 2;
Symbol 872 MovieClip Frame 4
_root.current_kill_zone = 3;
Symbol 872 MovieClip Frame 5
_root.current_kill_zone = 4;
Symbol 872 MovieClip Frame 6
_root.current_kill_zone = 5;
_root.angelkill = 3;
Symbol 872 MovieClip Frame 7
_root.current_kill_zone = 6;
Symbol 872 MovieClip Frame 9
if (_parent.just_bin_shieldin > 11) {
prevFrame();
play();
}
Symbol 872 MovieClip Frame 10
_root.current_kill_zone = 5;
Symbol 872 MovieClip Frame 11
_root.current_kill_zone = 4;
Symbol 872 MovieClip Frame 12
_root.current_kill_zone = 3;
Symbol 872 MovieClip Frame 13
_root.current_kill_zone = 2;
Symbol 882 MovieClip Frame 1
stop();
Symbol 886 MovieClip Frame 1
accel2 = 3;
friction = 0.85;
_root.game_paused = 0;
friction2 = 0.1;
xx = this._x;
yy = this._y;
xs = 0;
ys = 0;
xt = xx;
yt = yy;
tolerance_radius = 20;
graphics.halo.gotoAndStop(_root.memory.data.current_halo);
graphics.eyes.gotoAndStop(_root.memory.data.current_eyes);
graphics.features.gotoAndStop(_root.memory.data.current_features);
graphics.head.gotoAndStop(_root.memory.data.current_head);
graphics.gotoAndStop(_root.memory.data.current_body);
graphics.wings.gotoAndStop(_root.memory.data.current_wings);
meimmune = 0;
Symbol 886 MovieClip Frame 2
if (_root.controls == "mouse") {
xt = _root._xmouse;
yt = _root._ymouse;
if (_root.chilling == 1) {
xt = 70;
yt = 70;
}
if (xx < xt) {
xs = xs + accel2;
}
if (xx > xt) {
xs = xs - accel2;
}
if (yy < yt) {
ys = ys + accel2;
}
if (yy > yt) {
ys = ys - accel2;
}
a = xx - xt;
b = yy - yt;
h = Math.sqrt((a * a) + (b * b));
if (h < tolerance_radius) {
xs = xs * friction2;
ys = ys * friction2;
} else {
xs = xs * friction;
ys = ys * friction;
}
shieldkey = 83;
} else if (_root.controls == "keyboard") {
mestopped = 1;
if (Key.isDown(37) == 1) {
xs = xs - accel2;
mestopped = 0;
}
if (Key.isDown(39) == 1) {
xs = xs + accel2;
mestopped = 0;
}
if (Key.isDown(38) == 1) {
ys = ys - accel2;
mestopped = 0;
}
if (Key.isDown(40) == 1) {
ys = ys + accel2;
mestopped = 0;
}
if (mestopped == 1) {
xs = xs * 0.3;
ys = ys * 0.3;
}
xs = xs * friction;
ys = ys * friction;
if (Key.isDown(65)) {
_root.fire = 1;
} else {
_root.fire = 0;
}
shieldkey = 83;
} else {
mestopped = 1;
if (Key.isDown(65) == 1) {
xs = xs - accel2;
mestopped = 0;
}
if (Key.isDown(68) == 1) {
xs = xs + accel2;
mestopped = 0;
}
if (Key.isDown(87) == 1) {
ys = ys - accel2;
mestopped = 0;
}
if (Key.isDown(83) == 1) {
ys = ys + accel2;
mestopped = 0;
}
if (mestopped == 1) {
xs = xs * 0.3;
ys = ys * 0.3;
}
xs = xs * friction;
ys = ys * friction;
if (Key.isDown(75)) {
_root.fire = 1;
} else {
_root.fire = 0;
}
shieldkey = 76;
}
if (Key.isDown(80) == 1) {
_root.fire = 0;
gotoAndPlay (7);
}
xx = xx + xs;
yy = yy + ys;
if (xx < 40) {
xx = 40;
xs = -(xs / 2);
}
if (xx > (_root.max_x - 20)) {
xx = _root.max_x - 20;
xs = -(xs / 2);
}
if (yy > (_root.max_y - 20)) {
yy = _root.max_y - 20;
ys = -(ys / 2);
}
if (yy < 20) {
yy = 20;
ys = -(ys / 2);
}
if (floatx > 0) {
floatxs = floatxs - floataccel;
}
if (floatx < 0) {
floatxs = floatxs + floataccel;
}
if (floaty > 0) {
floatys = floatys - floataccel;
}
if (floaty < 0) {
floatys = floatys + floataccel;
}
floatx = floatx + floatxs;
floaty = floaty + floatys;
this._x = xx + floatx;
this._y = yy + floaty;
hit = 0;
hit = hit + alien_hit;
alien_hit = 0;
if (Key.isDown(shieldkey) and (_root.shield_weapon_charge > 0)) {
_root.shield_weapon = 1;
just_bin_shieldin = 12;
_root.shield_weapon_charge = _root.shield_weapon_charge - _root.shield_weapon_charge_dec;
} else if (just_bin_shieldin > 0) {
just_bin_shieldin = just_bin_shieldin - 1;
} else {
_root.shield_weapon = 0;
}
if (hit > 0) {
if (hit > _root.maxalienhit) {
hit = _root._root.maxalienhit;
}
if (_root.drunk > 0) {
hit = hit / (1 + (_root.drunk / 4000));
}
shield = shield - hit;
_root.bgoffset = _root.bgoffset + hit;
gotoAndPlay (4);
}
detect.gotoAndStop(_root.current_kill_zone);
if (shield <= 0) {
_root.shield_weapon = 0;
_root.fire = 0;
gotoAndPlay (20);
}
graphics._rotation = (xs + floatxs) + dxs;
Symbol 886 MovieClip Frame 3
prevFrame();
play();
Symbol 886 MovieClip Frame 4
_root.shieldhit.start();
Symbol 886 MovieClip Frame 6
gotoAndPlay (2);
Symbol 886 MovieClip Frame 7
_root.game_paused = 1;
Symbol 886 MovieClip Frame 13
if (floatx > 0) {
floatxs = floatxs - floataccel;
}
if (floatx < 0) {
floatxs = floatxs + floataccel;
}
if (floaty > 0) {
floatys = floatys - floataccel;
}
if (floaty < 0) {
floatys = floatys + floataccel;
}
floatx = floatx + floatxs;
floaty = floaty + floatys;
this._x = xx + floatx;
this._y = yy + floaty;
if (Key.isDown(80) == 1) {
gotoAndPlay (15);
}
Symbol 886 MovieClip Frame 14
prevFrame();
play();
Symbol 886 MovieClip Frame 19
_root.game_paused = 0;
gotoAndPlay (2);
Symbol 886 MovieClip Frame 33
stop();
Symbol 903 MovieClip Frame 5
stop();
Symbol 904 MovieClip Frame 2
x = this._x;
y = this._y;
Symbol 904 MovieClip Frame 3
this._x = _root.ship._x;
this._y = _root.ship._y;
if (_root.ship.shield <= 0) {
gotoAndPlay (5);
}
if ((_root.game_paused == 1) or (_root.trailer_type == 0)) {
guardian.gotoAndStop(5);
} else {
guardian.gotoAndStop(_root.trailer_type);
}
Symbol 904 MovieClip Frame 4
prevFrame();
play();
Symbol 904 MovieClip Frame 15
stop();
Symbol 909 MovieClip Frame 1
_root.ntimer = getTimer();
_root.frtotal = _root.frtotal + (_root.ntimer - _root.otimer);
_root.otimer = _root.ntimer;
_root.frcount = _root.frcount + 1;
_root.fr = 1000 / (_root.frtotal / _root.frcount);
_root.intfr = int(_root.fr);
if (_root.clear_screen > 0) {
_root.clear_screen = _root.clear_screen + 1;
if (_root.clear_screen == 3) {
_root.clear_screen = 0;
}
}
if ((_root.bgoffset > 0.01) and (_root.memory.data.bgsettings_pos != 3)) {
if (_root.bgoffset > 30) {
_root.bgoffset = 30;
}
blibbleblobx = int((random(_root.bgoffset * 40) - (_root.bgoffset * 20)) / 10);
blibblebloby = int(random(_root.bgoffset * 10) / 10);
_root.bg.bgcontainer.backbg._y = _root.obacky + blibblebloby;
_root.bg.bgcontainer.frontbg._y = _root.ofronty + (blibblebloby * 2);
_root.bg.bgcontainer.backbg._x = _root.obackx + blibbleblobx;
_root.bg.bgcontainer.frontbg._x = _root.ofrontx + (blibbleblobx * 2);
_root.fg._x = _root.ofgx + (blibbleblobx * 4);
_root.fg._y = _root.ofgy + (blibblebloby * 4);
_root.bgoffset = _root.bgoffset * 0.8;
} else {
_root.bgoffset = 0;
}
if (_root.drunk > 0) {
_root.drunk = _root.drunk - 1;
}
if ((_root.chilling != 1) and (_root.game_paused != 1)) {
_root.level_counter = _root.level_counter + 1;
_root.dens_inccount = _root.dens_inccount + 1;
if (_root.dens_inccount > _root.dens_inctime) {
_root.density = _root.density + 1;
_root.dens_inccount = 0;
_root.dens_inctime = _root.dens_inctime + _root.dens_incinc;
}
_root.weapuptimer = _root.weapuptimer + 1;
_root.pathtimer = _root.pathtimer + 1;
if (_root.pathtimer > _root.pathupinterval) {
_root.pathmax = _root.pathmax + 1;
_root.pathtimer = 0;
if (_root.pathmax > _root.pathtop) {
_root.pathmax = _root.pathtop;
}
}
if ((_root.level_counter % _root.keyinterval) == 0) {
_root.upgrade_queue_max = _root.upgrade_queue_max + 1;
_root.upgrade_queue[_root.upgrade_queue_max] = 16;
}
if ((_root.level_counter % _root.oltf_dec_timer) == 0) {
if (_root.overall_likely_to_fire > _root.overall_likely_to_fire_min) {
_root.overall_likely_to_fire = _root.overall_likely_to_fire - 1;
}
}
if (((_root.finish_section == 1) and (_root.ship.shield > 0)) and (_root.game_complete != 1)) {
if (_root.stored_formover >= _root.formations) {
_root.gotoAndPlay("waiting_room");
_root.level_counter = 0;
_root.chilling = 1;
}
}
if (((_root.level_counter >= _root.section_end) and (_root.playmode == "level")) and (_root.boss_initiated != 1)) {
if (_root.section == 1) {
_root.type_cowboss = 1;
_root.prob_cowboss = 10;
_root.boss_initiated = 1;
_root.boss_come_report("BOSS IMMINENT - COW MUMMA");
} else if (_root.section == 2) {
_root.type_worm = 1;
_root.prob_worm = 10;
_root.boss_initiated = 1;
_root.boss_come_report("BOSS IMMINENT - GREATER ARMORED PHLUNGH");
} else if (_root.section == 3) {
_root.type_boss = 1;
_root.prob_boss = 10;
_root.boss_initiated = 1;
_root.boss_come_report("BOSS IMMINENT - SUPER CYBORG PHLUNGHBUBBLA");
}
}
if ((_root.weapuptimer % _root.weapupinterval) == 0) {
_root.upgrade_queue_max = _root.upgrade_queue_max + 1;
_root.upgrade_queue[_root.upgrade_queue_max] = 2;
}
if ((_root.level_counter % _root.shieldcapupinterval) == 0) {
_root.upgrade_queue_max = _root.upgrade_queue_max + 1;
_root.upgrade_queue[_root.upgrade_queue_max] = 10;
}
if ((_root.level_counter % _root.shieldweapcapupinterval) == 0) {
_root.upgrade_queue_max = _root.upgrade_queue_max + 1;
_root.upgrade_queue[_root.upgrade_queue_max] = 14;
}
if ((_root.level_counter % _root.sentinalupinterval) == 0) {
_root.upgrade_queue_max = _root.upgrade_queue_max + 1;
_root.upgrade_queue[_root.upgrade_queue_max] = 12;
}
if ((_root.level_counter % _root.accelupinterval) == 0) {
_root.upgrade_queue_max = _root.upgrade_queue_max + 1;
_root.upgrade_queue[_root.upgrade_queue_max] = 11;
}
}
_root.stored_formover = _root.formations_over;
_root.formations_over = 0;
percy = int((_root.ship.shield / _root.top_shield) * 100);
if (percy < 1) {
percy = 1;
}
if (percy < 10) {
}
_root.panel.shield_display.gotoAndStop(percy);
percy = int((_root.ship.max_shield / _root.top_shield) * 100);
if (percy < 1) {
percy = 1;
}
_root.panel.shield_display2.gotoAndStop(percy);
percy = int((_root.shield_weapon_charge / _root.shield_weapon_charge_top) * 100);
if (percy < 1) {
percy = 1;
}
_root.panel.shield_weapon_display.gotoAndStop(percy);
percy = int((_root.shield_weapon_charge_max / _root.shield_weapon_charge_top) * 100);
if (percy < 1) {
percy = 1;
}
_root.panel.shield_weapon_display2.gotoAndStop(percy);
Symbol 909 MovieClip Frame 2
prevFrame();
play();
Symbol 911 MovieClip Frame 1
if (_root.drunk == 0) {
_root.howdrunk = "You are perfectly sober";
} else if ((_root.drunk > 0) and (_root.drunk < 1000)) {
_root.howdrunk = "You are slightly tipsy";
} else if (_root.drunk < 2000) {
_root.howdrunk = "You are a little drunk";
} else if (_root.drunk < 3000) {
_root.howdrunk = "You are drunk";
} else if (_root.drunk < 4000) {
_root.howdrunk = "You are very drunk";
} else if (_root.drunk > 3999) {
_root.howdrunk = "You are too drunk!!!";
} else {
_root.howdrunk = "You're wierd";
}
Symbol 914 MovieClip Frame 1
_root.game_complete = 0;
_root.frcount = 0;
_root.frtotal = 0;
_root.fr = 20;
_root.otimer = getTimer();
_root.clear_screen = 0;
_root.boss_up = 0;
_root.cowboss_up = 0;
_root.wormboss_up = 0;
_root.mainboss_up = 0;
_root.callboxon = 0;
_root.finish_section = 0;
_root.chilling = 0;
_root.bgoffset = 0;
_root.obacky = _root.bg.bgcontainer.backbg._y;
_root.ofronty = _root.bg.bgcontainer.frontbg._y;
_root.obackx = _root.bg.bgcontainer.backbg._x;
_root.ofrontx = _root.bg.bgcontainer.frontbg._x;
_root.ofgx = _root.fg._x;
_root.ofgy = _root.fg._y;
_root.left = 0;
_root.right = 0;
_root.up = 0;
_root.down = 0;
_root.space = 0;
_root.fire = 0;
_root.saucer_collecting = 0;
_root.saucer_fodder = 0;
_root.upgrade_queue = new Array();
_root.upgrade_queue_pos = 0;
_root.upgrade_queue_max = 0;
_root.trailer_damage = new Array();
_root.max_trailer_types = 4;
_root.trailer_damage[1] = 1;
_root.trailer_damage[2] = 2;
_root.trailer_damage[3] = 2.5;
_root.trailer_damage[4] = 3;
if (_root.playmode == "level") {
if (_root.current_difficulty == "Difficulty - Easy") {
_root.callboxlikely = 1000;
_root.gametypepos = 0;
_root.maxalienhit = 18;
_root.formations = 3;
_root.density = 2;
_root.form_inctime = 1300;
_root.dens_inctime = 600;
_root.dens_incinc = 90;
_root.form_incinc = 259;
_root.fire_accuracy = 500;
_root.alien_weapon_speed = 12;
_root.jet_speed = 9;
_root.jet_missile_speed = 0.8;
_root.max_jet_missile_timer = 30;
_root.overall_likely_to_fire = 100;
_root.pyramid_percentage_follow = 5;
_root.cow_percentage_follow = 5;
_root.cowboss_percentage_follow = 30;
_root.pathupinterval = 700;
_root.unlock_likely = 5;
_root.keyinterval = 3000;
_root.ship.max_shield = 35;
_root.cow_speed = 0.5;
_root.cow_friction = 0.83;
_root.weapon_got_1 = 1;
_root.weapon_got_2 = 1;
_root.weapon_got_3 = 0;
_root.weapon_got_4 = 0;
_root.weapon_got_5 = 0;
_root.weapon_got_6 = 0;
_root.weapon_got_7 = 0;
_root.weapon_got_8 = 0;
_root.weapon_type = 2;
_root.weapuptimer = -400;
_root.weapupinterval = 600;
_root.wepupup = 600;
_root.saucergomad = 35;
_root.saucerfastfriction = 0.8;
} else if (_root.current_difficulty == "Difficulty - Medium") {
_root.callboxlikely = 700;
_root.gametypepos = 1;
_root.maxalienhit = 35;
_root.formations = 3;
_root.density = 3;
_root.form_inctime = 1250;
_root.dens_inctime = 600;
_root.dens_incinc = 80;
_root.form_incinc = 200;
_root.fire_accuracy = 300;
_root.alien_weapon_speed = 11;
_root.jet_speed = 11;
_root.jet_missile_speed = 0.9;
_root.max_jet_missile_timer = 40;
_root.overall_likely_to_fire = 85;
_root.pyramid_percentage_follow = 10;
_root.cow_percentage_follow = 10;
_root.cowboss_percentage_follow = 50;
_root.pathupinterval = 600;
_root.unlock_likely = 4;
_root.keyinterval = 2001;
_root.ship.max_shield = 30;
_root.cow_speed = 0.65;
_root.cow_friction = 0.89;
_root.weapon_got_1 = 1;
_root.weapon_got_2 = 0;
_root.weapon_got_3 = 0;
_root.weapon_got_4 = 0;
_root.weapon_got_5 = 0;
_root.weapon_got_6 = 0;
_root.weapon_got_7 = 0;
_root.weapon_got_8 = 0;
_root.weapon_type = 1;
_root.weapuptimer = 200;
_root.weapupinterval = 500;
_root.wepupup = 325;
_root.saucergomad = 42;
_root.saucerfastfriction = 0.85;
} else if (_root.current_difficulty == "Difficulty - Hard") {
_root.callboxlikely = 200;
_root.gametypepos = 2;
_root.maxalienhit = 75;
_root.formations = 4;
_root.density = 4;
_root.form_inctime = 1200;
_root.dens_inctime = 550;
_root.dens_incinc = 75;
_root.form_incinc = 180;
_root.fire_accuracy = 250;
_root.alien_weapon_speed = 11;
_root.jet_speed = 11;
_root.jet_missile_speed = 0.9;
_root.max_jet_missile_timer = 50;
_root.overall_likely_to_fire = 77;
_root.pyramid_percentage_follow = 20;
_root.cow_percentage_follow = 20;
_root.cowboss_percentage_follow = 70;
_root.pathupinterval = 500;
_root.unlock_likely = 3;
_root.keyinterval = 1700;
_root.ship.max_shield = 30;
_root.cow_speed = 0.7;
_root.cow_friction = 0.89;
_root.weapon_got_1 = 1;
_root.weapon_got_2 = 0;
_root.weapon_got_3 = 0;
_root.weapon_got_4 = 0;
_root.weapon_got_5 = 0;
_root.weapon_got_6 = 0;
_root.weapon_got_7 = 0;
_root.weapon_got_8 = 0;
_root.weapon_type = 1;
_root.weapuptimer = 200;
_root.weapupinterval = 500;
_root.wepupup = 350;
_root.saucergomad = 55;
_root.saucerfastfriction = 0.85;
}
_root.section_end = 4000;
_root.bosscomein = 3000;
_root.worm_up = 0;
_root.pathtimer = 0;
_root.pathmax = 3;
_root.pathtop = 17;
_root.shieldcapupinterval = 800;
_root.shieldweapcapupinterval = 1700;
_root.sentinalupinterval = 1500;
_root.accelupinterval = 1200;
_root.ship_type = 6;
_root.top_shield = 70;
_root.ship.accel = 3;
_root.top_accel = 6;
_root.ship.shield = _root.ship.max_shield;
_root.ship.friction = 0.75;
_root.trailer_type = 0;
_root.shield_weapon_charge = 0;
_root.shield_weapon_charge_inc = 20;
_root.shield_weapon_charge_dec = 1;
_root.shield_weapon_charge_max = 40;
_root.shield_weapon_charge_top = 100;
_root.form_inccount = 0;
_root.dens_inccount = 0;
_root.break_count = 0;
_root.break_maxtime = 20;
_root.break_every = 1000;
_root.break_from = 10;
_root.break_on = 0;
_root.level_ground = 400;
_root.level_scroll_speed = -2.5;
_root.powerup_frequency = 300;
_root.rock_frequency = 100;
_root.upgrade_freq = 2;
_root.upgrade_freq_max = 25;
_root.upgrade_freq_inc = 0.25;
_root.type_human = 0;
_root.type_turret = 0;
_root.type_cow = 1;
_root.type_sheep = 1;
_root.type_jet = 0;
_root.type_saucer = 0;
_root.type_pyramid = 0;
_root.type_worm = 0;
_root.type_boss = 0;
_root.type_cowboss = 0;
_root.prob_human = 150;
_root.prob_turret = 200;
_root.prob_cow = 70;
_root.prob_sheep = 130;
_root.prob_helicopter = 200;
_root.prob_jet = 200;
_root.prob_saucer = 200;
_root.prob_worm = 0;
_root.prob_pyramid = 600;
_root.prob_boss = 700;
_root.prob_cowboss = 2;
_root.linear_speed = 5;
_root.jet_missile_friction = 0.93;
_root.overall_likely_to_fire_min = 20;
_root.oltf_dec_timer = 1000;
_root.pyramid_speed = 0.7;
_root.pyramid_change = 200;
_root.pyramid_friction = 0.5;
_root.pyramid_length = 300;
_root.pyramid_start = 3;
_root.pyramid_boundry = _root.max_x / 2;
_root.cow_change = 50;
_root.cow_length = 300;
_root.cow_start = 0;
_root.cow_boundry = _root.max_x / 2;
_root.saucer_start = 0;
_root.saucer_length = 450;
gotoAndPlay ("level");
} else if (_root.playmode == "survival") {
if (_root.current_difficulty == "Difficulty - Easy") {
_root.callboxlikely = 1000;
_root.gametypepos = 3;
_root.maxalienhit = 25;
_root.formations = 3;
_root.density = 2;
_root.form_inctime = 1300;
_root.dens_inctime = 600;
_root.dens_incinc = 120;
_root.form_incinc = 259;
_root.fire_accuracy = 450;
_root.alien_weapon_speed = 13;
_root.jet_speed = 8;
_root.jet_missile_speed = 0.8;
_root.max_jet_missile_timer = 30;
_root.overall_likely_to_fire = 100;
_root.pyramid_percentage_follow = 5;
_root.cow_percentage_follow = 5;
_root.cowboss_percentage_follow = 50;
_root.pathupinterval = 700;
_root.unlock_likely = 5;
_root.keyinterval = 3000;
_root.ship.max_shield = 35;
_root.cow_speed = 0;
_root.cow_friction = 0.89;
_root.weapon_got_1 = 1;
_root.weapon_got_2 = 1;
_root.weapon_got_3 = 0;
_root.weapon_got_4 = 0;
_root.weapon_got_5 = 0;
_root.weapon_got_6 = 0;
_root.weapon_got_7 = 0;
_root.weapon_got_8 = 0;
_root.weapon_type = 2;
_root.saucergomad = 35;
_root.saucerfastfriction = 0.8;
} else if (_root.current_difficulty == "Difficulty - Medium") {
_root.callboxlikely = 600;
_root.gametypepos = 4;
_root.maxalienhit = 35;
_root.formations = 3;
_root.density = 3;
_root.form_inctime = 1250;
_root.dens_inctime = 600;
_root.dens_incinc = 100;
_root.form_incinc = 220;
_root.fire_accuracy = 350;
_root.alien_weapon_speed = 12;
_root.jet_speed = 9;
_root.jet_missile_speed = 0.85;
_root.max_jet_missile_timer = 40;
_root.overall_likely_to_fire = 80;
_root.pyramid_percentage_follow = 10;
_root.cow_percentage_follow = 10;
_root.cowboss_percentage_follow = 50;
_root.pathupinterval = 600;
_root.unlock_likely = 4;
_root.keyinterval = 2501;
_root.ship.max_shield = 30;
_root.cow_speed = 0.3;
_root.cow_friction = 0.89;
_root.weapon_got_1 = 1;
_root.weapon_got_2 = 0;
_root.weapon_got_3 = 0;
_root.weapon_got_4 = 0;
_root.weapon_got_5 = 0;
_root.weapon_got_6 = 0;
_root.weapon_got_7 = 0;
_root.weapon_got_8 = 0;
_root.weapon_type = 1;
_root.saucergomad = 42;
_root.saucerfastfriction = 0.85;
} else if (_root.current_difficulty == "Difficulty - Hard") {
_root.callboxlikely = 200;
_root.gametypepos = 5;
_root.maxalienhit = 60;
_root.formations = 4;
_root.density = 3;
_root.form_inctime = 1200;
_root.dens_inctime = 550;
_root.dens_incinc = 90;
_root.form_incinc = 190;
_root.fire_accuracy = 300;
_root.alien_weapon_speed = 11;
_root.jet_speed = 10;
_root.jet_missile_speed = 0.9;
_root.max_jet_missile_timer = 60;
_root.overall_likely_to_fire = 75;
_root.pyramid_percentage_follow = 20;
_root.cow_percentage_follow = 20;
_root.cowboss_percentage_follow = 50;
_root.pathupinterval = 500;
_root.unlock_likely = 3;
_root.keyinterval = 2000;
_root.ship.max_shield = 30;
_root.cow_speed = 0.5;
_root.cow_friction = 0.9;
_root.weapon_got_1 = 1;
_root.weapon_got_2 = 0;
_root.weapon_got_3 = 0;
_root.weapon_got_4 = 0;
_root.weapon_got_5 = 0;
_root.weapon_got_6 = 0;
_root.weapon_got_7 = 0;
_root.weapon_got_8 = 0;
_root.weapon_type = 1;
_root.saucergomad = 55;
_root.saucerfastfriction = 0.85;
}
_root.section_end = 5000;
_root.worm_up = 0;
_root.pathtimer = 0;
_root.pathmax = 3;
_root.pathtop = 17;
_root.weapuptimer = 100;
_root.weapupinterval = 500;
_root.wepupup = 400;
_root.shieldcapupinterval = 800;
_root.shieldweapcapupinterval = 1700;
_root.sentinalupinterval = 1500;
_root.accelupinterval = 1200;
_root.ship_type = 6;
_root.top_shield = 70;
_root.ship.accel = 3;
_root.top_accel = 6;
_root.ship.shield = _root.ship.max_shield;
_root.ship.friction = 0.75;
_root.trailer_type = 0;
_root.shield_weapon_charge = 0;
_root.shield_weapon_charge_inc = 20;
_root.shield_weapon_charge_dec = 1;
_root.shield_weapon_charge_max = 40;
_root.shield_weapon_charge_top = 100;
_root.form_inccount = 0;
_root.dens_inccount = 0;
_root.break_count = 0;
_root.break_maxtime = 20;
_root.break_every = 1000;
_root.break_from = 10;
_root.break_on = 0;
_root.level_ground = 400;
_root.level_scroll_speed = -2.5;
_root.powerup_frequency = 300;
_root.rock_frequency = 100;
_root.upgrade_freq = 2;
_root.upgrade_freq_max = 25;
_root.upgrade_freq_inc = 0.25;
_root.type_human = 0;
_root.type_turret = 0;
_root.type_cow = 1;
_root.type_sheep = 1;
_root.type_jet = 0;
_root.type_saucer = 0;
_root.type_pyramid = 0;
_root.type_worm = 0;
_root.type_boss = 0;
_root.type_cowboss = 0;
_root.prob_human = 150;
_root.prob_turret = 200;
_root.prob_cow = 70;
_root.prob_sheep = 130;
_root.prob_helicopter = 200;
_root.prob_jet = 200;
_root.prob_saucer = 200;
_root.prob_worm = 1600;
_root.prob_pyramid = 600;
_root.prob_boss = 2100;
_root.prob_cowboss = 1400;
_root.linear_speed = 5;
_root.jet_missile_friction = 0.93;
_root.overall_likely_to_fire_min = 20;
_root.oltf_dec_timer = 1000;
_root.pyramid_speed = 0.7;
_root.pyramid_change = 200;
_root.pyramid_friction = 0.5;
_root.pyramid_length = 300;
_root.pyramid_start = 3;
_root.pyramid_boundry = _root.max_x / 2;
_root.cow_change = 50;
_root.cow_length = 300;
_root.cow_start = 0;
_root.cow_boundry = _root.max_x / 2;
_root.saucer_start = 0;
_root.saucer_length = 450;
gotoAndPlay ("survival");
} else if (_root.playmode == "insanity") {
if (_root.current_difficulty == "Difficulty - Easy") {
_root.callboxlikely = 200;
_root.gametypepos = 6;
_root.maxalienhit = 25;
_root.formations = 8;
_root.density = 8;
_root.form_inctime = 1300;
_root.dens_inctime = 600;
_root.dens_incinc = 90;
_root.form_incinc = 229;
_root.fire_accuracy = 600;
_root.alien_weapon_speed = 16;
_root.jet_speed = 9;
_root.jet_missile_speed = 0.8;
_root.max_jet_missile_timer = 30;
_root.overall_likely_to_fire = 100;
_root.pyramid_percentage_follow = 2;
_root.cow_percentage_follow = 2;
_root.cowboss_percentage_follow = 70;
_root.pathupinterval = 600;
_root.unlock_likely = 3;
_root.keyinterval = 1500;
_root.cow_speed = 0.5;
_root.cow_friction = 0.83;
} else if (_root.current_difficulty == "Difficulty - Medium") {
_root.callboxlikely = 100;
_root.gametypepos = 7;
_root.maxalienhit = 35;
_root.formations = 8;
_root.density = 9;
_root.form_inctime = 1250;
_root.dens_inctime = 600;
_root.dens_incinc = 80;
_root.form_incinc = 200;
_root.fire_accuracy = 500;
_root.alien_weapon_speed = 14;
_root.jet_speed = 10;
_root.jet_missile_speed = 0.9;
_root.max_jet_missile_timer = 40;
_root.overall_likely_to_fire = 85;
_root.pyramid_percentage_follow = 5;
_root.cow_percentage_follow = 5;
_root.cowboss_percentage_follow = 80;
_root.pathupinterval = 500;
_root.unlock_likely = 2;
_root.keyinterval = 1000;
_root.cow_speed = 0.7;
_root.cow_friction = 0.86;
} else if (_root.current_difficulty == "Difficulty - Hard") {
_root.callboxlikely = 50;
_root.gametypepos = 8;
_root.maxalienhit = 60;
_root.formations = 9;
_root.density = 9;
_root.form_inctime = 1100;
_root.dens_inctime = 500;
_root.dens_incinc = 60;
_root.form_incinc = 150;
_root.fire_accuracy = 400;
_root.alien_weapon_speed = 12;
_root.jet_speed = 11;
_root.jet_missile_speed = 0.9;
_root.max_jet_missile_timer = 60;
_root.overall_likely_to_fire = 70;
_root.pyramid_percentage_follow = 10;
_root.cow_percentage_follow = 10;
_root.cowboss_percentage_follow = 70;
_root.pathupinterval = 300;
_root.unlock_likely = 2;
_root.keyinterval = 500;
_root.cow_speed = 0.8;
_root.cow_friction = 0.89;
}
_root.saucergomad = 70;
_root.saucerfastfriction = 0.85;
_root.section_end = 6000000000;
_root.worm_up = 0;
_root.pathtimer = 0;
_root.pathmax = 17;
_root.pathtop = 17;
_root.weapuptimer = 100;
_root.weapupinterval = 500;
_root.wepupup = 400;
_root.shieldcapupinterval = 900;
_root.shieldweapcapupinterval = 1700;
_root.sentinalupinterval = 1500;
_root.accelupinterval = 1200;
_root.weapon_got_2 = 1;
_root.weapon_got_3 = 1;
_root.weapon_got_4 = 1;
_root.weapon_got_5 = 1;
_root.weapon_got_6 = 1;
_root.weapon_got_7 = 0;
_root.weapon_type = 6;
_root.ship_type = 6;
_root.top_shield = 70;
_root.ship.accel = 3;
_root.top_accel = 6;
_root.ship.max_shield = 25;
_root.ship.shield = _root.ship.max_shield;
_root.ship.friction = 0.75;
_root.trailer_type = 4;
_root.shield_weapon_charge = 0;
_root.shield_weapon_charge_inc = 20;
_root.shield_weapon_charge_dec = 1;
_root.shield_weapon_charge_max = 40;
_root.shield_weapon_charge_top = 150;
_root.form_inccount = 0;
_root.dens_inccount = 0;
_root.break_count = 0;
_root.break_maxtime = 2;
_root.break_every = 1000;
_root.break_from = 10;
_root.break_on = 0;
_root.level_ground = 400;
_root.level_scroll_speed = -2.5;
_root.powerup_frequency = 300;
_root.rock_frequency = 100;
_root.upgrade_freq = 2;
_root.upgrade_freq_max = 25;
_root.upgrade_freq_inc = 0.25;
_root.type_human = 0;
_root.type_turret = 0;
_root.type_cow = 0;
_root.type_sheep = 0;
_root.type_jet = 0;
_root.type_saucer = 0;
_root.type_pyramid = 0;
_root.type_worm = 0;
_root.type_boss = 0;
_root.type_cowboss = 0;
_root.prob_human = 15;
_root.prob_turret = 20;
_root.prob_cow = 7;
_root.prob_sheep = 13;
_root.prob_helicopter = 20;
_root.prob_jet = 20;
_root.prob_saucer = 20;
_root.prob_worm = 1600;
_root.prob_pyramid = 60;
_root.prob_boss = 2100;
_root.prob_cowboss = 1400;
_root.linear_speed = 5;
_root.jet_missile_friction = 0.93;
_root.overall_likely_to_fire_min = 20;
_root.oltf_dec_timer = 1000;
_root.pyramid_speed = 0.7;
_root.pyramid_change = 200;
_root.pyramid_friction = 0.5;
_root.pyramid_length = 300;
_root.pyramid_start = 3;
_root.pyramid_boundry = _root.max_x / 2;
_root.cow_change = 50;
_root.cow_length = 300;
_root.cow_start = 3;
_root.cow_boundry = _root.max_x / 2;
_root.saucer_start = 3;
_root.saucer_length = 450;
_root.top_shield = 120;
_root.ship.max_shield = _root.top_shield;
_root.ship.shield = _root.ship.max_shield;
_root.ship.accel = _root.top_accel;
_root.shield_weapon_charge_max = _root.shield_weapon_charge_top;
_root.shield_weapon_charge = _root.shield_weapon_charge_top;
gotoAndPlay ("insanity");
} else if (_root.playmode == "god") {
_root.saucergomad = 50;
_root.saucerfastfriction = 0.9;
_root.callboxlikely = 200;
_root.gametypepos = 0;
_root.maxalienhit = 75;
_root.formations = 6;
_root.density = 6;
_root.form_inctime = 200000000000;
_root.dens_inctime = 200000000000;
_root.dens_incinc = 90000000000;
_root.form_incinc = 90000000000;
_root.fire_accuracy = 10;
_root.alien_weapon_speed = 11;
_root.jet_speed = 10;
_root.jet_missile_speed = 0.8;
_root.max_jet_missile_timer = 50;
_root.overall_likely_to_fire = 40;
_root.pyramid_percentage_follow = 35;
_root.cow_percentage_follow = 35;
_root.unlock_likely = 2;
_root.keyinterval = 500;
_root.section_end = 4000;
_root.bosscomein = 3000;
_root.pathupinterval = 200;
_root.worm_up = 0;
_root.pathtimer = 0;
_root.pathmax = 3;
_root.pathtop = 17;
_root.weapuptimer = 100;
_root.weapupinterval = 500;
_root.wepupup = 400;
_root.shieldcapupinterval = 900;
_root.shieldweapcapupinterval = 1700;
_root.sentinalupinterval = 1500;
_root.accelupinterval = 1200;
_root.weapon_got_2 = 1;
_root.weapon_got_3 = 1;
_root.weapon_got_4 = 1;
_root.weapon_got_5 = 1;
_root.weapon_got_6 = 1;
_root.weapon_got_7 = 1;
_root.ship_type = 6;
_root.weapon_type = 6;
_root.top_shield = 70;
_root.ship.accel = 3;
_root.top_accel = 6;
_root.ship.max_shield = 25;
_root.ship.shield = _root.ship.max_shield;
_root.ship.friction = 0.75;
_root.trailer_type = 0;
_root.shield_weapon_charge = 0;
_root.shield_weapon_charge_inc = 20;
_root.shield_weapon_charge_dec = 1;
_root.shield_weapon_charge_max = 40;
_root.shield_weapon_charge_top = 100;
_root.form_inccount = 0;
_root.dens_inccount = 0;
_root.break_count = 0;
_root.break_maxtime = 20;
_root.break_every = 1000;
_root.break_from = 10;
_root.break_on = 0;
_root.level_ground = 400;
_root.level_scroll_speed = -2.5;
_root.powerup_frequency = 300;
_root.rock_frequency = 100;
_root.upgrade_freq = 2;
_root.upgrade_freq_max = 25;
_root.upgrade_freq_inc = 0.25;
_root.type_human = 1;
_root.type_turret = 0;
_root.type_cow = 0;
_root.type_sheep = 0;
_root.type_jet = 0;
_root.type_saucer = 0;
_root.type_pyramid = 0;
_root.type_worm = 0;
_root.type_boss = 0;
_root.type_cowboss = 0;
_root.prob_human = 150;
_root.prob_turret = 200;
_root.prob_cow = 70;
_root.prob_sheep = 130;
_root.prob_helicopter = 200;
_root.prob_jet = 200;
_root.prob_saucer = 200;
_root.prob_worm = 1000;
_root.prob_pyramid = 400;
_root.prob_boss = 1000;
_root.prob_cowboss = 1000;
_root.linear_speed = 5;
_root.jet_missile_friction = 0.93;
_root.overall_likely_to_fire_min = 20;
_root.oltf_dec_timer = 1000;
_root.pyramid_speed = 0.7;
_root.pyramid_change = 200;
_root.pyramid_friction = 0.5;
_root.pyramid_length = 300;
_root.pyramid_start = 3;
_root.pyramid_boundry = _root.max_x / 2;
_root.cow_speed = 0.8;
_root.cow_change = 50;
_root.cow_friction = 0.89;
_root.cow_length = 300;
_root.cow_start = 4;
_root.cow_boundry = _root.max_x / 2;
_root.saucer_start = 4;
_root.saucer_length = 300;
_root.shield_weapon_charge_top = 2000000000000;
_root.top_shield = 2000000000000;
_root.ship.max_shield = _root.top_shield;
_root.ship.shield = _root.ship.max_shield;
_root.ship.accel = _root.top_accel;
_root.shield_weapon_charge_max = _root.shield_weapon_charge_top;
_root.shield_weapon_charge = _root.shield_weapon_charge_top;
gotoAndPlay ("god");
}
_root.section_end = 4500;
if (_root.chingwar == 1) {
_root.weapon_type = 6;
_root.trailer_type = 4;
_root.weapon_got_1 = 1;
_root.weapon_got_2 = 1;
_root.weapon_got_3 = 1;
_root.weapon_got_4 = 1;
_root.weapon_got_5 = 1;
_root.weapon_got_6 = 1;
_root.weapon_got_7 = 1;
_root.top_shield = 70000000000000;
_root.shield_weapon_charge_top = 70000000000000;
_root.ship.max_shield = _root.top_shield;
_root.ship.shield = _root.ship.max_shield;
_root.ship.accel = _root.top_accel;
_root.shield_weapon_charge_max = _root.shield_weapon_charge_top;
_root.shield_weapon_charge = _root.shield_weapon_charge_top;
}
Symbol 914 MovieClip Frame 4
prevFrame();
play();
Symbol 914 MovieClip Frame 6
if (_root.level_counter > 700) {
_root.type_turret = 1;
} else {
prevFrame();
play();
}
Symbol 914 MovieClip Frame 8
if (_root.formations > 3) {
_root.type_human = 1;
} else {
prevFrame();
play();
}
Symbol 914 MovieClip Frame 10
if ((_root.weapon_got_2 == 1) and (_root.level_counter > 2000)) {
_root.type_jet = 1;
} else {
prevFrame();
play();
}
Symbol 914 MovieClip Frame 12
if (((_root.weapon_got_3 == 1) and (_root.section == 2)) and (_root.level_counter > 1500)) {
_root.type_pyramid = 1;
_root.cow_start = 2;
} else {
prevFrame();
play();
}
Symbol 914 MovieClip Frame 14
if (((_root.weapon_got_4 == 1) and (_root.section == 2)) and (_root.level_counter > 500)) {
_root.type_saucer = 1;
_root.cow_start = 3;
} else {
prevFrame();
play();
}
Symbol 914 MovieClip Frame 16
if (((_root.weapon_got_6 == 1) and (_root.trailer_type > 1)) and (_root.ship.max_shield > 60)) {
_root.cow_start = 4;
_root.saucer_start = 3;
if (_root.current_difficulty == "Difficulty - Easy") {
_root.cow_speed = 0.7;
_root.cow_friction = 0.87;
}
} else {
prevFrame();
play();
}
Symbol 914 MovieClip Frame 18
if (_root.section == 3) {
if (_root.current_difficulty == "Difficulty - Easy") {
_root.cow_percentage_follow = 20;
} else if (_root.current_difficulty == "Difficulty - Medium") {
_root.cow_percentage_follow = 30;
} else {
_root.cow_percentage_follow = 35;
}
} else {
prevFrame();
play();
}
Symbol 914 MovieClip Frame 20
if ((_root.level_counter > _root.bosscomein) and (_root.section > 2)) {
_root.type_boss = 1;
} else {
prevFrame();
play();
}
Symbol 914 MovieClip Frame 22
prevFrame();
play();
Symbol 914 MovieClip Frame 42
if (_root.level_counter > 700) {
_root.type_turret = 1;
} else {
prevFrame();
play();
}
Symbol 914 MovieClip Frame 44
if (_root.formations > 3) {
_root.type_human = 1;
} else {
prevFrame();
play();
}
Symbol 914 MovieClip Frame 46
if ((_root.weapon_got_2 == 1) and (_root.level_counter > 2000)) {
_root.type_jet = 1;
} else {
prevFrame();
play();
}
Symbol 914 MovieClip Frame 48
if ((_root.weapon_got_3 == 1) and (_root.level_counter > 3000)) {
_root.type_pyramid = 1;
_root.cow_start = 2;
if (_root.trailer_type > 0) {
_root.cow_start = 3;
}
} else {
prevFrame();
play();
}
Symbol 914 MovieClip Frame 50
if ((_root.weapon_got_4 == 1) and (_root.level_counter > 4000)) {
_root.type_saucer = 1;
_root.type_cowboss = 1;
} else {
prevFrame();
play();
}
Symbol 914 MovieClip Frame 52
if ((_root.weapon_got_5 == 1) and (_root.level_counter > 5000)) {
_root.type_worm = 1;
_root.cow_start = 4;
} else {
prevFrame();
play();
}
Symbol 914 MovieClip Frame 54
if ((_root.weapon_got_6 == 1) and (_root.level_counter > 7000)) {
_root.type_boss = 1;
} else {
prevFrame();
play();
}
Symbol 914 MovieClip Frame 56
prevFrame();
play();
Symbol 914 MovieClip Frame 139
_root.type_human = 1;
_root.type_turret = 1;
_root.type_cow = 1;
_root.type_sheep = 1;
_root.type_jet = 1;
_root.type_saucer = 1;
_root.type_pyramid = 1;
_root.type_worm = 1;
_root.type_boss = 1;
_root.type_cowboss = 1;
stop();
Symbol 914 MovieClip Frame 204
stop();
Symbol 921 MovieClip Frame 1
if (_root.controls == "keyboard") {
stop();
} else if (_root.controls == "mouse") {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
Symbol 930 MovieClip Frame 1
gotoAndPlay(random(10));
Symbol 930 MovieClip Frame 11
if (Number(random(5)) < 3) {
gotoAndPlay (10);
} else {
tellTarget ("../") {
gotoAndPlay (1);
};
gotoAndPlay (2);
}
Symbol 931 MovieClip Frame 1
rot = random(360);
scal = 100;
rotsp = random(10) - 5;
setProperty("l1", _xscale , scal);
setProperty("l1", _yscale , scal);
setProperty("l1", _rotation , rot);
Symbol 931 MovieClip Frame 2
rot = Number(rot) + Number(rotsp);
setProperty("l1", _xscale , scal);
setProperty("l1", _yscale , scal);
setProperty("l1", _rotation , rot);
Symbol 931 MovieClip Frame 3
gotoAndPlay (2);
Symbol 932 MovieClip Frame 1
gotoAndPlay(random(10));
Symbol 932 MovieClip Frame 10
if (Number(random(6)) < 4) {
gotoAndPlay (9);
} else {
gotoAndPlay (2);
tellTarget ("../") {
gotoAndPlay (1);
};
}
Symbol 933 MovieClip Frame 1
rot = random(360);
scal = 100;
rotsp = random(10) - 5;
setProperty("l2", _xscale , scal);
setProperty("l2", _yscale , scal);
setProperty("l2", _rotation , rot);
Symbol 933 MovieClip Frame 2
rot = Number(rot) + Number(rotsp);
setProperty("l2", _xscale , scal);
setProperty("l2", _yscale , scal);
setProperty("l2", _rotation , rot);
Symbol 933 MovieClip Frame 3
gotoAndPlay (2);
Symbol 935 MovieClip Frame 10
stop();
Symbol 937 MovieClip Frame 1
stop();
Symbol 937 MovieClip Frame 22
stop();
Symbol 938 MovieClip Frame 1
xs = random(5) - 2;
ys = 0;
xt = this._x;
yt = this._y - (random(9) - 4);
accel = 1;
Symbol 938 MovieClip Frame 2
if (this._x > xt) {
xs = xs - accel;
}
if (this._x < xt) {
xs = xs + accel;
}
if (this._y > yt) {
ys = ys - accel;
}
if (this._y < yt) {
ys = ys + accel;
}
this._x = this._x + xs;
this._y = this._y + ys;
hit = 0;
i = 1;
while (i <= _root.armoury.max_bullets) {
if (this.hitTest(_root.armoury["bullet" + i])) {
dib = _root.armoury["bullet" + i].bulltype;
zim = _root.armoury.weapon_liveon[dib];
wep_strength = _root.armoury.weapon_strength[dib];
hit = hit + wep_strength;
if (zim == 0) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
}
i++;
}
if (this.hitTest(_root.ship.detect)) {
hit = hit + _root.shield_weapon_damage;
}
if (this.hitTest(_root.trailer.guardian)) {
hit = hit + _root.trailer_damage[_root.trailer_type];
}
if (((hit > 0) or (_root.nuking == 1)) or (_root.clear_screen != 0)) {
dude.gotoAndPlay(2);
_parent.angelsdead = _parent.angelsdead + 1;
stop();
}
Symbol 938 MovieClip Frame 3
prevFrame();
play();
Symbol 939 MovieClip Frame 1
if ((((_root.current_difficulty != "Difficulty - Easy") and (_root.current_difficulty != "Difficulty - Medium")) or (_root.playmode != "level")) or (_root.section != 1)) {
stop();
}
Symbol 939 MovieClip Frame 2
angelsdead = 0;
Symbol 939 MovieClip Frame 3
if (angelsdead > 1) {
gotoAndPlay (5);
}
Symbol 939 MovieClip Frame 4
prevFrame();
play();
Symbol 939 MovieClip Frame 17
stop();
Symbol 950 MovieClip Frame 1
_parent._parent.headcolour = random(5) + 1;
gotoAndStop(_parent._parent.headcolour);
Symbol 966 MovieClip Frame 1
gotoAndPlay(random(8) + 2);
Symbol 966 MovieClip Frame 9
gotoAndPlay (2);
Symbol 967 MovieClip Frame 1
gotoAndPlay(random(17) + 1);
Symbol 967 MovieClip Frame 20
_parent.gotoAndPlay(1);
Symbol 968 MovieClip Frame 1
this._xscale = random(40) + 20;
this._yscale = random(70) + 30;
ys = -(0.5 + (random(10) / 10));
xs = (random(30) - 15) / 10;
this._x = (random(50) - 25) / 10;
this._y = -4;
ox = _parent._parent._parent._parent._x;
Symbol 968 MovieClip Frame 2
this._y = this._y + ys;
ys = ys * 1.1;
this._x = this._x + ((ox - (_parent._parent._parent._parent._x + 2)) / 2);
ox = _parent._parent._parent._parent._x;
Symbol 968 MovieClip Frame 3
prevFrame();
play();
Symbol 969 MovieClip Frame 1
stop();
Symbol 969 MovieClip Frame 2
gotoAndPlay(random(90) + 3);
_parent._parent._parent.burning = 1;
Symbol 969 MovieClip Frame 114
_parent._parent._parent.burning = 2;
_parent._parent._parent.stop();
Symbol 969 MovieClip Frame 115
_parent._parent._parent.walking = 0;
_parent.gotoAndPlay(43);
Symbol 998 MovieClip Frame 1
gotoAndStop(random(this._totalframes) + 1);
Symbol 999 MovieClip Frame 5
if (random(80) != 1) {
gotoAndPlay (1);
}
Symbol 1020 MovieClip Frame 9
stop();
Symbol 1026 MovieClip Frame 1
stop();
Symbol 1027 MovieClip Frame 1
_parent._parent.walking = 0;
Symbol 1027 MovieClip Frame 28
_parent._parent.walking = 1;
_parent._parent.walking_direction = random(3) - 1;
Symbol 1027 MovieClip Frame 32
if (_parent._parent.burning == 2) {
gotoAndPlay (43);
} else if ((_parent._parent.walking_direction == 1) or (_parent._parent.walking_direction == -1)) {
} else {
gotoAndPlay (30);
}
Symbol 1027 MovieClip Frame 37
if (_parent._parent.burning == 2) {
gotoAndPlay (43);
} else if ((_parent._parent.walking_direction == 1) or (_parent._parent.walking_direction == -1)) {
gotoAndPlay (30);
} else {
gotoAndPlay (33);
}
Symbol 1027 MovieClip Frame 42
_parent._parent._parent.ships_finished = _parent._parent._parent.ships_finished + 1;
_parent._parent.stop();
_root.saucer_fodder = _root.saucer_fodder - 1;
stop();
Symbol 1027 MovieClip Frame 43
_parent._parent.walking_direction = 0;
_parent._parent.walking = 0;
Symbol 1027 MovieClip Frame 52
_parent._parent._parent.ships_finished = _parent._parent._parent.ships_finished + 1;
_root.saucer_fodder = _root.saucer_fodder - 1;
stop();
Symbol 1027 MovieClip Frame 57
stop();
Symbol 1058 MovieClip Frame 1
gotoAndPlay(random(9) + 1);
Symbol 1058 MovieClip Frame 11
gotoAndPlay (2);
Symbol 1059 MovieClip Frame 1
stop();
Symbol 1071 MovieClip Frame 1
gotoAndPlay(random(4) + 2);
Symbol 1071 MovieClip Frame 6
gotoAndPlay (2);
Symbol 1072 MovieClip Frame 1
if (_root.memory.data.quality_pos == 4) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
Symbol 1073 MovieClip Frame 1
stop();
Symbol 1082 MovieClip Frame 1
stop();
Symbol 1087 MovieClip Frame 1
if (_root.memory.data.quality_pos == 4) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
Symbol 1091 MovieClip Frame 1
stop();
Symbol 1091 MovieClip Frame 10
stop();
Symbol 1092 MovieClip Frame 1
stop();
Symbol 1099 MovieClip Frame 1
stop();
Symbol 1099 MovieClip Frame 3
gotoAndStop (1);
Symbol 1102 MovieClip Frame 1
if (_root.current_difficulty == "Difficulty - Easy") {
hp = 170;
} else if (_root.current_difficulty == "Difficulty - Medium") {
hp = 250;
} else {
hp = 320;
}
Symbol 1102 MovieClip Frame 2
hit = 0;
i = 1;
while (i <= _root.armoury.max_bullets) {
if (dt.hitTest(_root.armoury["bullet" + i])) {
dib = _root.armoury["bullet" + i].bulltype;
zim = _root.armoury.weapon_liveon[dib];
wep_strength = _root.armoury.weapon_strength[dib];
hit = hit + wep_strength;
me.gotoAndPlay(2);
if (zim == 0) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
}
i++;
}
if (dt.hitTest(_root.trailer.guardian.ball)) {
hit = hit + _root.trailer_damage[_root.trailer_type];
me.gotoAndPlay(2);
}
if (dt.hitTest(_root.ship.detect)) {
if (_root.shield_weapon == 1) {
hit = hit + _root.shield_weapon_damage;
me.gotoAndPlay(2);
} else if (hp >= _root.ship.shield) {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = _root.ship.shield;
} else {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = hp;
}
}
hp = hp - hit;
if (hp < hit) {
me.gotoAndStop(4);
_root.wormsh3.start();
_parent._parent.headfuked = 1;
_parent._parent._parent._parent.bitzdead = _parent._parent._parent._parent.bitzdead + 1;
stop();
}
Symbol 1102 MovieClip Frame 3
prevFrame();
play();
Symbol 1111 MovieClip Frame 19
if (random(10) == 1) {
gotoAndPlay (2);
}
Symbol 1116 MovieClip Frame 1
stop();
Symbol 1116 MovieClip Frame 3
gotoAndStop (1);
Symbol 1117 MovieClip Frame 1
if (_root.current_difficulty == "Difficulty - Easy") {
hp = 70;
} else if (_root.current_difficulty == "Difficulty - Medium") {
hp = 90;
} else {
hp = 120;
}
Symbol 1117 MovieClip Frame 2
hit = 0;
if (_parent._parent._parent._parent.bitzdead == 5) {
i = 1;
while (i <= _root.armoury.max_bullets) {
if (this.hitTest(_root.armoury["bullet" + i])) {
dib = _root.armoury["bullet" + i].bulltype;
zim = _root.armoury.weapon_liveon[dib];
wep_strength = _root.armoury.weapon_strength[dib];
hit = hit + wep_strength;
me.gotoAndPlay(2);
if (zim == 0) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
}
i++;
}
if (this.hitTest(_root.trailer.guardian.ball)) {
hit = hit + _root.trailer_damage[_root.trailer_type];
me.gotoAndPlay(2);
}
}
if (this.hitTest(_root.ship.detect)) {
if (_root.shield_weapon == 1) {
hit = hit + _root.shield_weapon_damage;
me.gotoAndPlay(2);
} else if (hp >= _root.ship.shield) {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = _root.ship.shield;
} else {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = hp;
}
}
hp = hp - hit;
if (hp < hit) {
me.gotoAndStop(4);
_root.wormsh3.start();
this._name = "fuked";
_parent._parent._parent._parent.bitzdead = _parent._parent._parent._parent.bitzdead + 1;
stop();
}
Symbol 1117 MovieClip Frame 3
prevFrame();
play();
Symbol 1128 MovieClip Frame 1
stop();
Symbol 1128 MovieClip Frame 3
gotoAndStop (1);
Symbol 1129 MovieClip Frame 1
if (_root.current_difficulty == "Difficulty - Easy") {
hp = 150;
} else if (_root.current_difficulty == "Difficulty - Medium") {
hp = 200;
} else {
hp = 250;
}
Symbol 1129 MovieClip Frame 2
hit = 0;
i = 1;
while (i <= _root.armoury.max_bullets) {
if (this.hitTest(_root.armoury["bullet" + i])) {
dib = _root.armoury["bullet" + i].bulltype;
zim = _root.armoury.weapon_liveon[dib];
wep_strength = _root.armoury.weapon_strength[dib];
hit = hit + wep_strength;
me.gotoAndPlay(2);
if (zim == 0) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
}
i++;
}
if (this.hitTest(_root.trailer.guardian.ball)) {
hit = hit + _root.trailer_damage[_root.trailer_type];
me.gotoAndPlay(2);
}
if (this.hitTest(_root.ship.detect)) {
if (_root.shield_weapon == 1) {
hit = hit + _root.shield_weapon_damage;
me.gotoAndPlay(2);
} else if (hp >= _root.ship.shield) {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = _root.ship.shield;
} else {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = hp;
}
}
hp = hp - hit;
if (hp < hit) {
_root.wormsh3.start();
me.gotoAndStop(4);
_parent._parent.afuked = 1;
_parent._parent._parent._parent.bitzdead = _parent._parent._parent._parent.bitzdead + 1;
stop();
}
Symbol 1129 MovieClip Frame 3
prevFrame();
play();
Symbol 1136 MovieClip Frame 1
stop();
Symbol 1136 MovieClip Frame 3
gotoAndStop (1);
Symbol 1137 MovieClip Frame 1
if (_root.current_difficulty == "Difficulty - Easy") {
hp = 120;
} else if (_root.current_difficulty == "Difficulty - Medium") {
hp = 170;
} else {
hp = 210;
}
Symbol 1137 MovieClip Frame 2
hit = 0;
i = 1;
while (i <= _root.armoury.max_bullets) {
if (this.hitTest(_root.armoury["bullet" + i])) {
dib = _root.armoury["bullet" + i].bulltype;
zim = _root.armoury.weapon_liveon[dib];
wep_strength = _root.armoury.weapon_strength[dib];
hit = hit + wep_strength;
me.gotoAndPlay(2);
if (zim == 0) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
}
i++;
}
if (this.hitTest(_root.trailer.guardian.ball)) {
hit = hit + _root.trailer_damage[_root.trailer_type];
me.gotoAndPlay(2);
}
if (this.hitTest(_root.ship.detect)) {
if (_root.shield_weapon == 1) {
hit = hit + _root.shield_weapon_damage;
me.gotoAndPlay(2);
} else if (hp >= _root.ship.shield) {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = _root.ship.shield;
} else {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = hp;
}
}
hp = hp - hit;
if (hp < hit) {
_root.wormsh3.start();
me.gotoAndStop(4);
_parent._parent._parent.bfuked = 1;
_parent._parent._parent._parent._parent.bitzdead = _parent._parent._parent._parent._parent.bitzdead + 1;
stop();
}
Symbol 1137 MovieClip Frame 3
prevFrame();
play();
Symbol 1144 MovieClip Frame 1
stop();
Symbol 1144 MovieClip Frame 3
gotoAndStop (1);
Symbol 1145 MovieClip Frame 1
if (_root.current_difficulty == "Difficulty - Easy") {
hp = 110;
} else if (_root.current_difficulty == "Difficulty - Medium") {
hp = 160;
} else {
hp = 190;
}
Symbol 1145 MovieClip Frame 2
hit = 0;
i = 1;
while (i <= _root.armoury.max_bullets) {
if (this.hitTest(_root.armoury["bullet" + i])) {
dib = _root.armoury["bullet" + i].bulltype;
zim = _root.armoury.weapon_liveon[dib];
wep_strength = _root.armoury.weapon_strength[dib];
hit = hit + wep_strength;
me.gotoAndPlay(2);
if (zim == 0) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
}
i++;
}
if (this.hitTest(_root.trailer.guardian.ball)) {
hit = hit + _root.trailer_damage[_root.trailer_type];
me.gotoAndPlay(2);
}
if (this.hitTest(_root.ship.detect)) {
if (_root.shield_weapon == 1) {
hit = hit + _root.shield_weapon_damage;
me.gotoAndPlay(2);
} else if (hp >= _root.ship.shield) {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = _root.ship.shield;
} else {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = hp;
}
}
hp = hp - hit;
if (hp < hit) {
_root.wormsh3.start();
me.gotoAndStop(4);
_parent._parent._parent._parent.cfuked = 1;
_parent._parent._parent._parent._parent._parent.bitzdead = _parent._parent._parent._parent._parent._parent.bitzdead + 1;
stop();
}
Symbol 1145 MovieClip Frame 3
prevFrame();
play();
Symbol 1152 MovieClip Frame 1
stop();
Symbol 1152 MovieClip Frame 3
gotoAndStop (1);
Symbol 1153 MovieClip Frame 1
if (_root.current_difficulty == "Difficulty - Easy") {
hp = 80;
} else if (_root.current_difficulty == "Difficulty - Medium") {
hp = 130;
} else {
hp = 170;
}
Symbol 1153 MovieClip Frame 2
hit = 0;
i = 1;
while (i <= _root.armoury.max_bullets) {
if (me.hitTest(_root.armoury["bullet" + i])) {
dib = _root.armoury["bullet" + i].bulltype;
zim = _root.armoury.weapon_liveon[dib];
wep_strength = _root.armoury.weapon_strength[dib];
hit = hit + wep_strength;
me.gotoAndPlay(2);
if (zim == 0) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
}
i++;
}
if (me.hitTest(_root.trailer.guardian.ball)) {
hit = hit + _root.trailer_damage[_root.trailer_type];
me.gotoAndPlay(2);
}
if (me.hitTest(_root.ship.detect)) {
if (_root.shield_weapon == 1) {
hit = hit + _root.shield_weapon_damage;
me.gotoAndPlay(2);
} else if (hp >= _root.ship.shield) {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = _root.ship.shield;
} else {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = hp;
}
}
hp = hp - hit;
if (hp < hit) {
_root.wormsh3.start();
me.gotoAndStop(4);
_parent._parent._parent._parent.dfuked = 1;
_parent._parent._parent._parent._parent._parent.bitzdead = _parent._parent._parent._parent._parent._parent.bitzdead + 1;
stop();
}
Symbol 1153 MovieClip Frame 3
prevFrame();
play();
Symbol 1157 MovieClip Frame 1
rotsp = 0;
rot = 0;
accel = 0.6;
centre = 0;
friction = 0.99;
centre = 0;
actual_centre = -20;
fukrot = -10;
fukrottarget = random(80) - 50;
Symbol 1157 MovieClip Frame 2
centre = _parent._parent.xs + actual_centre;
ys = _parent._parent.ys;
if (random(7) == 1) {
if (random(4) == 1) {
fukrottarget = 20 + random(10);
edd.i.me.gotoAndPlay(5);
if (random(2) == 1) {
_root.wormsh1.start();
} else {
_root.wormsh2.start();
}
_parent._parent.xs = _parent._parent.xs - 20;
} else {
fukrottarget = -(50 + random(20));
}
}
if (fukrottarget < 0) {
fukrot = fukrot - ((fukrot - fukrottarget) / 10);
} else {
fukrot = fukrot - ((fukrot - fukrottarget) / 2);
}
if (rot > centre) {
rotsp = rotsp - accel;
}
if (rot < centre) {
rotsp = rotsp + accel;
}
rotsp = rotsp * friction;
rot = rot + rotsp;
if (((((headfuked == 1) and (afuked == 1)) and (bfuked == 1)) and (cfuked == 1)) and (dfuked == 1)) {
_parent._parent.likely_to_fire = 10;
}
if (headfuked != 1) {
this._rotation = fukrot;
} else {
this._rotation = rot;
}
if (afuked != 1) {
a._rotation = fukrot;
} else {
a._rotation = rot;
}
if (bfuked != 1) {
a.b._rotation = fukrot;
} else {
a.b._rotation = rot;
}
if (cfuked != 1) {
a.b.c._rotation = fukrot;
} else {
a.b.c._rotation = rot;
}
if (dfuked != 1) {
a.b.c.d._rotation = fukrot;
} else {
a.b.c.d._rotation = rot;
}
Symbol 1157 MovieClip Frame 3
prevFrame();
play();
Symbol 1164 MovieClip Frame 15
stop();
Symbol 1164 MovieClip Frame 23
gotoAndStop (15);
Symbol 1165 MovieClip Frame 1
stop();
Symbol 1179 MovieClip Frame 1
stop();
Symbol 1180 MovieClip Frame 1
if (_root.memory.data.quality_pos == 4) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
Symbol 1183 MovieClip Frame 1
if (_root.current_difficulty == "Difficulty - Easy") {
hp = 50;
} else if (_root.current_difficulty == "Difficulty - Medium") {
hp = 100;
} else if (_root.current_difficulty == "Difficulty - Hard") {
hp = 200;
}
Symbol 1183 MovieClip Frame 2
if (_parent._parent._parent._parent.bitzdead < 4) {
i = 1;
while (i <= _root.armoury.max_bullets) {
if (detect.hitTest(_root.armoury["bullet" + i])) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
i++;
}
} else {
hit = 0;
i = 1;
while (i <= _root.armoury.max_bullets) {
if (detect.hitTest(_root.armoury["bullet" + i])) {
dib = _root.armoury["bullet" + i].bulltype;
wep_strength = _root.armoury.weapon_strength[dib];
hit = hit + wep_strength;
me.blob.gotoAndPlay(2);
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
i++;
}
if (detect.hitTest(_root.trailer.guardian.ball)) {
hit = hit + _root.trailer_damage[_root.trailer_type];
me.blob.gotoAndPlay(2);
}
if (detect.hitTest(_root.ship.detect)) {
if (_root.shield_weapon == 1) {
hit = hit + _root.shield_weapon_damage;
me.blob.gotoAndPlay(2);
} else if (hp >= _root.ship.shield) {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = _root.ship.shield;
} else {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = hp;
}
}
hp = hp - hit;
if (hp < 0) {
_root.wormsh3.start();
_parent._parent._parent._parent.piece4dead = 1;
_parent._parent._parent._parent.bitzdead = _parent._parent._parent._parent.bitzdead + 1;
stop();
}
}
Symbol 1183 MovieClip Frame 3
prevFrame();
play();
Symbol 1194 MovieClip Frame 1
stop();
Symbol 1194 MovieClip Frame 3
gotoAndStop (1);
Symbol 1195 MovieClip Frame 1
hp = 150;
Symbol 1195 MovieClip Frame 2
hit = 0;
i = 1;
while (i <= _root.armoury.max_bullets) {
if (me.hitTest(_root.armoury["bullet" + i])) {
dib = _root.armoury["bullet" + i].bulltype;
zim = _root.armoury.weapon_liveon[dib];
wep_strength = _root.armoury.weapon_strength[dib];
hit = hit + wep_strength;
me.gotoAndPlay(2);
if (zim == 0) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
}
i++;
}
if (this.hitTest(_root.trailer.guardian.ball)) {
hit = hit + _root.trailer_damage[_root.trailer_type];
me.gotoAndPlay(2);
}
if (me.hitTest(_root.ship.detect)) {
if (_root.shield_weapon == 1) {
hit = hit + _root.shield_weapon_damage;
me.gotoAndPlay(2);
} else if (hp >= _root.ship.shield) {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = _root.ship.shield;
} else {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = hp;
}
}
if (laser.hitTest(_root.ship._x, _root.ship._y, true)) {
if (_root.shield_weapon != 1) {
_root.ship.alien_hit = _root.ship.alien_hit + 4;
}
}
hp = hp - hit;
if (hp < hit) {
me.gotoAndStop(4);
_root.wormsh3.start();
_parent._parent._parent._parent.piece1dead = 1;
_parent._parent._parent._parent.bitzdead = _parent._parent._parent._parent.bitzdead + 1;
laser.gotoAndStop(2);
stop();
}
Symbol 1195 MovieClip Frame 3
prevFrame();
play();
Symbol 1201 MovieClip Frame 1
stop();
Symbol 1201 MovieClip Frame 3
gotoAndStop (1);
Symbol 1202 MovieClip Frame 1
hp = 100;
Symbol 1202 MovieClip Frame 2
hit = 0;
i = 1;
while (i <= _root.armoury.max_bullets) {
if (this.hitTest(_root.armoury["bullet" + i])) {
dib = _root.armoury["bullet" + i].bulltype;
zim = _root.armoury.weapon_liveon[dib];
wep_strength = _root.armoury.weapon_strength[dib];
hit = hit + wep_strength;
me.gotoAndPlay(2);
if (zim == 0) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
}
i++;
}
if (this.hitTest(_root.trailer.guardian.ball)) {
hit = hit + _root.trailer_damage[_root.trailer_type];
me.gotoAndPlay(2);
}
if (this.hitTest(_root.ship.detect)) {
if (_root.shield_weapon == 1) {
hit = hit + _root.shield_weapon_damage;
me.gotoAndPlay(2);
} else if (hp >= _root.ship.shield) {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = _root.ship.shield;
} else {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = hp;
}
}
hp = hp - hit;
if (hp < hit) {
me.gotoAndStop(4);
_root.wormsh3.start();
_parent._parent._parent._parent.piece2dead = 1;
_parent._parent._parent._parent.bitzdead = _parent._parent._parent._parent.bitzdead + 1;
stop();
}
Symbol 1202 MovieClip Frame 3
prevFrame();
play();
Symbol 1208 MovieClip Frame 1
stop();
Symbol 1208 MovieClip Frame 3
gotoAndStop (1);
Symbol 1209 MovieClip Frame 1
hp = 150;
Symbol 1209 MovieClip Frame 2
hit = 0;
i = 1;
while (i <= _root.armoury.max_bullets) {
if (this.hitTest(_root.armoury["bullet" + i])) {
dib = _root.armoury["bullet" + i].bulltype;
zim = _root.armoury.weapon_liveon[dib];
wep_strength = _root.armoury.weapon_strength[dib];
hit = hit + wep_strength;
me.gotoAndPlay(2);
if (zim == 0) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
}
i++;
}
if (this.hitTest(_root.trailer.guardian.ball)) {
hit = hit + _root.trailer_damage[_root.trailer_type];
me.gotoAndPlay(2);
}
if (this.hitTest(_root.ship.detect)) {
if (_root.shield_weapon == 1) {
hit = hit + _root.shield_weapon_damage;
me.gotoAndPlay(2);
} else if (hp >= _root.ship.shield) {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = _root.ship.shield;
} else {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = hp;
}
}
hp = hp - hit;
if (hp < hit) {
me.gotoAndStop(4);
_root.wormsh3.start();
_parent._parent._parent._parent.piece3dead = 1;
_parent._parent._parent._parent.bitzdead = _parent._parent._parent._parent.bitzdead + 1;
stop();
}
Symbol 1209 MovieClip Frame 3
prevFrame();
play();
Symbol 1229 MovieClip Frame 1
rotextra = 0;
rotextraaccel = 1;
rotextrat = random(50) - 25;
rotextraspeed = 0;
rotextrafriction = 0.95;
Symbol 1229 MovieClip Frame 2
xd = _parent._parent._parent._parent._x - _root.ship._x;
yd = _parent._parent._parent._parent._y - _root.ship._y;
radius = Math.sqrt((xd * xd) + (yd * yd));
angle = Math.asin(yd / radius);
degree = 57.2957795130823 * angle;
if (xd < 0) {
degrees = 180 - degree;
} else {
degrees = degree;
}
if (_root.ship.shield > 0) {
ed._rotation = degrees + rotextra;
} else {
ed._rotation = rotextra;
}
if (rotextra < rotextrat) {
rotextraspeed = rotextraspeed + rotextraaccel;
}
if (rotextra > rotextrat) {
rotextraspeed = rotextraspeed - rotextraaccel;
}
rotextraspeed = rotextraspeed * rotextrafriction;
rotextra = rotextra + rotextraspeed;
if (random(40) == 1) {
rotextrat = random(50) - 25;
}
Symbol 1229 MovieClip Frame 3
prevFrame();
play();
Symbol 1233 MovieClip Frame 1
stop();
Symbol 1235 MovieClip Frame 1
xs = random(51) - 25;
ys = random(41) - 25;
grav = 1;
maxbits = 4;
xbit = new Array();
ybit = new Array();
oriscale = random(50) + 50;
n = maxbits;
while (n > -1) {
xbit[n] = 0;
ybit[n] = 0;
temp_scale = oriscale - (n * (oriscale / (maxbits * 2)));
this["bit" + n]._xscale = temp_scale;
this["bit" + n]._yscale = temp_scale;
n--;
}
this._rotation = -_parent._parent._parent._rotation;
Symbol 1235 MovieClip Frame 2
ys = ys + grav;
xbit[0] = xbit[0] + xs;
ybit[0] = ybit[0] + ys;
bit0._x = xbit[0];
bit0._y = ybit[0];
n = maxbits;
while (n > 0) {
xbit[n] = (xbit[n - 1] + random(5)) - 2;
ybit[n] = (ybit[n - 1] + random(5)) - 2;
this["bit" + n]._x = xbit[n];
this["bit" + n]._y = ybit[n];
n--;
}
Symbol 1235 MovieClip Frame 3
prevFrame();
play();
Symbol 1259 MovieClip Frame 1
this._rotation = random(360);
if (random(3) == 1) {
nextFrame();
nextFrame();
play();
}
Symbol 1259 MovieClip Frame 2
if (random(3) == 1) {
nextFrame();
nextFrame();
play();
}
Symbol 1259 MovieClip Frame 3
if (random(3) == 1) {
nextFrame();
nextFrame();
play();
}
Symbol 1259 MovieClip Frame 4
if (random(3) == 1) {
nextFrame();
nextFrame();
play();
}
Symbol 1259 MovieClip Frame 5
if (random(3) == 1) {
nextFrame();
nextFrame();
play();
}
Symbol 1259 MovieClip Frame 6
if (random(3) == 1) {
nextFrame();
nextFrame();
play();
}
Symbol 1259 MovieClip Frame 7
if (random(3) == 1) {
nextFrame();
nextFrame();
play();
}
Symbol 1259 MovieClip Frame 22
stop();
Symbol 1261 MovieClip Frame 1
_root.bgoffset = 30;
Symbol 1261 MovieClip Frame 5
_root.bgoffset = 25;
Symbol 1261 MovieClip Frame 10
_root.bgoffset = 20;
Symbol 1261 MovieClip Frame 30
_parent._parent._parent.ships_finished = _parent._parent._parent.ships_finished + 1;
stop();
Symbol 1279 MovieClip Frame 1
gotoAndStop(random(_totalframes) + 1);
Symbol 1280 MovieClip Frame 1
xs = random(51) - 25;
ys = random(41) - 25;
grav = 1;
_rotation = random(360);
rotsp = random(50) - 25;
scale = random(50) + 50;
_xscale = scale;
_yscale = scale;
Symbol 1280 MovieClip Frame 2
_x = (_x + xs);
_y = (_y + ys);
ys = ys + grav;
_rotation = (_rotation + rotsp);
scale = scale - 3;
_xscale = scale;
_yscale = scale;
Symbol 1280 MovieClip Frame 3
prevFrame();
play();
Symbol 1282 MovieClip Frame 1
xs = random(41) - 20;
ys = random(41) - 20;
_rotation = random(360);
scale = random(100) + 50;
_x = (_x + xs);
_y = (_y + ys);
_xscale = scale;
_yscale = scale;
Symbol 1282 MovieClip Frame 2
scale = scale * 0.9;
xs = xs * 0.95;
ys = ys * 0.95;
_x = (_x + xs);
_y = (_y + ys);
_xscale = scale;
_yscale = scale;
Symbol 1282 MovieClip Frame 3
prevFrame();
play();
Symbol 1283 MovieClip Frame 1
this._rotation = random(360);
Symbol 1283 MovieClip Frame 8
_parent._parent._parent._parent._parent.ships_finished = _parent._parent._parent._parent._parent.ships_finished + 1;
stop();
Symbol 1284 MovieClip Frame 1
if (_root.memory.data.quality_pos == 4) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
Symbol 1285 MovieClip Frame 1
ys = _parent._parent.wpy + 10;
xs = _parent._parent.wpx;
rotsp = random(11) - 10;
ys = ys + 0.4;
_x = (_x + xs);
_y = (_y + ys);
_rotation = (_rotation + rotsp);
Symbol 1285 MovieClip Frame 2
ys = ys + 0.4;
_x = (_x + xs);
_y = (_y + ys);
_rotation = (_rotation + rotsp);
rotsp = rotsp * 0.95;
xs = xs * 0.95;
ys = ys * 0.95;
Symbol 1285 MovieClip Frame 3
prevFrame();
play();
Symbol 1293 MovieClip Frame 1
this._rotation = random(360);
Symbol 1294 MovieClip Frame 1
if (((((_root.rock_on != 1) and (random(int(_root.upgrade_freq)) == 1)) and (_parent._parent._x > 100)) and (_parent._parent._y > 50)) and (_parent._parent._y < 410)) {
_root.upgrade_start = 1;
_root.upgrade_start_x = _parent._parent._x;
_root.upgrade_start_y = _parent._parent._y;
}
if (random(2) == 1) {
gotoAndPlay (13);
}
Symbol 1294 MovieClip Frame 12
_parent._parent._parent.ships_finished = _parent._parent._parent.ships_finished + 1;
stop();
Symbol 1294 MovieClip Frame 19
stop();
_parent._parent._parent.ships_finished = _parent._parent._parent.ships_finished + 1;
Symbol 1298 MovieClip Frame 1
gotoAndStop(random(3));
this._xscale = random(100) + 70;
this._yscale = random(50) + 75;
Symbol 1299 MovieClip Frame 1
gotoAndPlay(random(10));
Symbol 1299 MovieClip Frame 30
stop();
Symbol 1300 MovieClip Frame 1
this._x = this._x - 1.6;
if (_parent._parent.meflying == 1) {
gotoAndStop (3);
}
Symbol 1300 MovieClip Frame 2
prevFrame();
play();
Symbol 1304 MovieClip Frame 1
rotsp = random(50) - 25;
Symbol 1304 MovieClip Frame 2
this._rotation = this._rotation + rotsp;
Symbol 1304 MovieClip Frame 3
prevFrame();
play();
Symbol 1307 MovieClip Frame 1
rotsp = random(50) - 25;
scale = random(60) + 70;
this._xscale = scale;
this._yscale = scale;
Symbol 1307 MovieClip Frame 2
this._rotation = this._rotation + rotsp;
Symbol 1307 MovieClip Frame 3
prevFrame();
play();
Symbol 1308 MovieClip Frame 1
this.gotoAndStop(random(8) + 1);
Symbol 1308 MovieClip Frame 6
_parent._xscale = 100;
_parent._yscale = 100;
_parent.scale = 100;
Symbol 1308 MovieClip Frame 7
_parent._xscale = 100;
_parent._yscale = 100;
_parent.scale = 100;
Symbol 1308 MovieClip Frame 8
_parent._xscale = 100;
_parent._yscale = 100;
_parent.scale = 100;
Symbol 1309 MovieClip Frame 1
xs = random(20) - 10;
ys = random(20) - 10;
gravity = (random(10) / 10) + 0.5;
friction = 0.98;
scale = random(200) + 200;
this._xscale = scale;
this._yscale = scale;
Symbol 1309 MovieClip Frame 2
this._x = this._x + xs;
this._y = this._y + ys;
xs = xs * friction;
ys = ys * friction;
ys = ys + gravity;
scale = scale * 0.95;
this._xscale = scale;
this._yscale = scale;
Symbol 1309 MovieClip Frame 3
prevFrame();
play();
Symbol 1310 MovieClip Frame 1
xs = random(20) - 10;
ys = random(30) - 20;
gravity = (random(10) / 10) + 0.5;
friction = 0.98;
Symbol 1310 MovieClip Frame 2
this._x = this._x + xs;
this._y = this._y + ys;
xs = xs * friction;
ys = ys * friction;
ys = ys + gravity;
Symbol 1310 MovieClip Frame 3
prevFrame();
play();
Symbol 1311 MovieClip Frame 21
stop();
_parent._parent._parent.ships_finished = _parent._parent._parent.ships_finished + 1;
if (_parent._parent.meflying != 1) {
_root.saucer_fodder = _root.saucer_fodder - 1;
}
Symbol 1312 MovieClip Frame 1
gotoAndStop(_parent.ship_type + 1);
Symbol 1312 MovieClip Frame 2
_parent.hit_points = 1;
_parent.likely_to_fire = 0;
_parent.weapon_type = 2;
_parent.score_worth = 100 + random(10);
_parent.hit_shrink = 0.99;
_parent.weapon_push_scale = 0.1;
scale = 100 + random(30);
this._xscale = scale;
this._yscale = scale;
Symbol 1312 MovieClip Frame 3
_parent.hit_points = 30;
_parent.likely_to_fire = 20;
_parent.weapon_type = 5;
_parent.score_worth = 1000 + random(100);
_parent.weapon_push_scale = 0.006;
scale = 50 + random(30);
this._xscale = scale;
this._yscale = scale;
Symbol 1312 MovieClip Frame 4
_parent.likely_to_fire = 30;
_parent.weapon_type = 4;
_parent.score_worth = 500 + random(50);
_parent.weapon_push_scale = 3;
scale = 40 + random(40);
_parent.hit_points = int(scale / 10) + 2;
this._xscale = scale;
this._yscale = scale;
Symbol 1312 MovieClip Frame 5
_parent.hit_points = 5;
_parent.likely_to_fire = 60;
_parent.weapon_type = 3;
_parent.score_worth = 300 + random(30);
Symbol 1312 MovieClip Frame 6
_parent.hit_points = 5;
_parent.likely_to_fire = 100;
_parent.weapon_type = 1;
_parent.score_worth = 300 + random(30);
Symbol 1312 MovieClip Frame 7
_parent.hit_points = 20;
_parent.likely_to_fire = 2;
_parent.weapon_type = 2;
_parent.score_worth = 600 + random(60);
_parent.weapon_push_scale = 3;
Symbol 1312 MovieClip Frame 8
_parent.hit_points = 400;
_parent.likely_to_fire = 20;
_parent.weapon_type = 8;
_parent.score_worth = 5000 + random(1000);
_parent.weapon_push_scale = 0.01;
Symbol 1312 MovieClip Frame 9
_parent.hit_points = 5;
_parent.likely_to_fire = 20;
_parent.weapon_type = 2;
_parent.score_worth = 200 + random(20);
Symbol 1312 MovieClip Frame 10
_parent.hit_points = 500;
_parent.likely_to_fire = 10;
_parent.weapon_type = 4;
_parent.weapon_type_secondary = 6;
_parent.score_worth = 10000 + random(1000);
Symbol 1312 MovieClip Frame 11
if (_root.current_difficulty == "Difficulty - Easy") {
_parent.likely_to_fire = 30;
_parent.hit_points = 200;
} else if (_root.current_difficulty == "Difficulty - Medium") {
_parent.likely_to_fire = 25;
_parent.hit_points = 225;
} else {
_parent.likely_to_fire = 20;
_parent.hit_points = 250;
}
_parent.weapon_type = 9;
_parent.score_worth = 3000 + random(1000);
_parent.weapon_type_secondary = 8;
Symbol 1312 MovieClip Frame 12
Symbol 1313 MovieClip Frame 1
_parent.ships = _parent.ships + 1;
this_is = _parent.ships;
count = 0;
weapon_push_x = 0;
weapon_push_y = 0;
weapon_push_scale = 0;
hit_shrink = 1;
Symbol 1313 MovieClip Frame 2
shield._width = ship_graphics._width;
shield._height = ship_graphics._height;
shield._x = ship_graphics._x;
shield._y = ship_graphics._y;
mynom = this._name;
mynom2 = _parent._parent._name;
if (hit_points > 0) {
if (_parent.formation_type == 1) {
gotoAndPlay ("1");
} else if (_parent.formation_type == 2) {
gotoAndPlay ("2");
} else if (_parent.formation_type == 3) {
justhit = 0;
gotoAndPlay ("3");
} else if (_parent.formation_type == 4) {
gotoAndPlay ("4");
} else if (_parent.formation_type == 5) {
bitzdead = 0;
gotoAndPlay ("5");
} else if (_parent.formation_type == 6) {
current_friction = 0.9;
me_collecting = 0;
gotoAndPlay ("6");
} else if (_parent.formation_type == 7) {
bitzdead = 0;
gotoAndPlay ("7");
} else if (_parent.formation_type == 8) {
_root.saucer_fodder = _root.saucer_fodder + 1;
burning = 0;
gotoAndPlay ("8");
} else if (_parent.formation_type == 9) {
gotoAndPlay ("9");
} else if (_parent.formation_type == 10) {
fire_count = 0;
gotoAndPlay ("10");
}
}
control.play();
Symbol 1313 MovieClip Frame 3
prevFrame();
play();
Symbol 1313 MovieClip Frame 7
if (random(250) == 1) {
smee = random(4) + 1;
_root["shep" + smee].start();
}
count = count + 1;
hit = 0;
i = 1;
while (i <= _root.armoury.max_bullets) {
if (this.hitTest(_root.armoury["bullet" + i])) {
dib = _root.armoury["bullet" + i].bulltype;
zim = _root.armoury.weapon_liveon[dib];
wep_strength = _root.armoury.weapon_strength[dib];
hit = hit + wep_strength;
if (zim == 0) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
}
i++;
}
if (this.hitTest(_root.ship.detect)) {
wep_strength = 2;
if (_root.shield_weapon > 0) {
hit = hit + _root.shield_weapon_damage;
} else {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = _root.ship.alien_hit + hit_points;
}
}
if (this.hitTest(_root.trailer.guardian)) {
hit = hit + _root.trailer_damage[_root.trailer_type];
}
if (hit > 0) {
hit_points = hit_points - hit;
ship_graphics.dude.gotoAndPlay(2);
}
if ((hit_points < 1) or (_root.nuking == 1)) {
_root.score = _root.score + score_worth;
ship_graphics.gotoAndStop(50);
smee = random(3);
if (smee == 0) {
_root.explosion1.start();
} else if (smee == 1) {
_root.explosion2.start();
} else if (smee == 2) {
_root.explosion3.start();
}
stop();
} else if (_root.clear_screen != 0) {
_parent.ships_finished = _parent.ships_finished + 1;
ship_graphics.gotoAndStop(53);
stop();
}
if (likely_to_fire != 0) {
if (random(likely_to_fire + _root.overall_likely_to_fire) == 1) {
if ((((this._x < _root.max_x) and (this._x > 0)) and (this._y < _root.max_y)) and (this._y > 0)) {
_root.alien_weapon_type = weapon_type;
_root.alien_fire = 1;
_root.alien_ship_x = this._x;
_root.alien_ship_y = this._y;
}
}
}
marker = (this_is * _parent.spacing) + _parent.offset;
this._x = _parent.queue_x[marker];
this._y = _parent.queue_y[marker];
this._rotation = _parent.queue_rot[marker - 4];
if ((this._x == _parent.finish_x) and (this._y == _parent.finish_y)) {
_parent.ships_finished = _parent.ships_finished + 1;
gotoAndStop (200);
}
Symbol 1313 MovieClip Frame 8
prevFrame();
play();
Symbol 1313 MovieClip Frame 9
count = count + 1;
hit = 0;
if (random(40) == 1) {
smee = random(4);
if (smee == 0) {
_root.el1.start();
} else if (smee == 1) {
_root.el2.start();
} else if (smee == 2) {
_root.el3.start();
} else if (smee == 3) {
_root.el4.start();
}
}
i = 1;
while (i <= _root.armoury.max_bullets) {
if (this.hitTest(_root.armoury["bullet" + i])) {
dib = _root.armoury["bullet" + i].bulltype;
wpx = _root.armoury["bullet" + i].xs;
wpy = _root.armoury["bullet" + i].ys;
zim = _root.armoury.weapon_liveon[dib];
wep_strength = _root.armoury.weapon_strength[dib];
hit = hit + wep_strength;
if (zim == 0) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
}
i++;
}
if (this.hitTest(_root.ship.detect)) {
wep_strength = 2;
if (_root.shield_weapon > 0) {
hit = hit + _root.shield_weapon_damage;
} else {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = _root.ship.alien_hit + hit_points;
}
}
if (this.hitTest(_root.trailer.guardian)) {
hit = hit + _root.trailer_damage[_root.trailer_type];
}
if (hit > 0) {
hit_points = hit_points - hit;
ship_graphics.dude.gotoAndPlay(2);
}
if ((hit_points < 1) or (_root.nuking == 1)) {
_root.score = _root.score + score_worth;
ship_graphics.gotoAndStop(49);
smee = random(5);
if (smee == 0) {
_root.bs1.start();
} else if (smee == 1) {
_root.bs2.start();
} else if (smee == 2) {
_root.bs3.start();
} else if (smee == 3) {
_root.bs4.start();
} else if (smee == 4) {
_root.bs5.start();
}
stop();
} else if (_root.clear_screen != 0) {
_parent.ships_finished = _parent.ships_finished + 1;
ship_graphics.gotoAndStop(53);
stop();
}
if (likely_to_fire != 0) {
if (random(likely_to_fire + _root.overall_likely_to_fire) == 1) {
_root.alien_weapon_type = weapon_type;
_root.alien_fire = 1;
_root.alien_ship_x = _x;
_root.alien_ship_y = _y;
}
}
_x = (_x + xs);
_y = (_y + ys);
if (_x < -120) {
_parent.ships_finished = _parent.ships_finished + 1;
gotoAndStop (200);
}
Symbol 1313 MovieClip Frame 10
prevFrame();
play();
Symbol 1313 MovieClip Frame 11
count = count + 1;
hit = 0;
i = 1;
while (i <= _root.armoury.max_bullets) {
if (ship_graphics.detect.hitTest(_root.armoury["bullet" + i])) {
xs = xs + (_root.armoury["bullet" + i].xs / 8);
ys = ys + (_root.armoury["bullet" + i].ys / 8);
dib = _root.armoury["bullet" + i].bulltype;
zim = _root.armoury.weapon_liveon[dib];
wep_strength = _root.armoury.weapon_strength[dib];
hit = hit + wep_strength;
if (zim == 0) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
}
i++;
}
if (ship_graphics.detect.hitTest(_root.ship.detect)) {
wep_strength = 2;
if (_root.shield_weapon > 0) {
hit = hit + _root.shield_weapon_damage;
} else {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = _root.ship.alien_hit + hit_points;
}
}
if (ship_graphics.detect.hitTest(_root.trailer.guardian)) {
hit = hit + _root.trailer_damage[_root.trailer_type];
}
if (hit > 0) {
hit_points = hit_points - hit;
ship_graphics.dude.gotoAndPlay(2);
if (justhit == 0) {
smee = random(5);
if (smee == 0) {
_root.p1.start();
} else if (smee == 1) {
_root.p2.start();
} else if (smee == 2) {
_root.p3.start();
} else if (smee == 3) {
_root.p4.start();
} else if (smee == 4) {
_root.p5.start();
}
}
justhit = justhit + 1;
if (justhit > 3) {
justhit = 0;
}
}
if ((hit_points < 1) or (_root.nuking == 1)) {
smee = random(3);
if (smee == 0) {
_root.explosion1.start();
} else if (smee == 1) {
_root.explosion2.start();
} else if (smee == 2) {
_root.explosion3.start();
}
_root.score = _root.score + score_worth;
ship_graphics.gotoAndStop(50);
stop();
} else if (_root.clear_screen != 0) {
_parent.ships_finished = _parent.ships_finished + 1;
ship_graphics.gotoAndStop(53);
stop();
}
if (likely_to_fire != 0) {
if (((random(likely_to_fire + _root.overall_likely_to_fire) == 1) and (_y > 70)) and (_y < (_root.max_y - 70))) {
_root.alien_weapon_type = weapon_type;
_root.alien_fire = 1;
_root.alien_ship_x = this._x;
_root.alien_ship_y = this._y;
}
}
ship_speed = (random(_root.pyramid_speed * 100) / 100) + 1;
count = count + 1;
if (count > _root.pyramid_length) {
xt = -1000;
if (_x < -100) {
_parent.ships_finished = _parent.ships_finished + 1;
gotoAndStop (200);
}
}
if (random(_root.pyramid_change) == 1) {
if (random(100) > _root.pyramid_percentage_follow) {
xt = (random((_root.max_x - 40) - _root.pyramid_boundry) + 20) + _root.pyramid_boundry;
yt = random(_root.max_y - 120) + 60;
} else {
xt = _root.ship.x;
yt = _root.ship.y;
}
}
if (_x > xt) {
xs = xs - ship_speed;
} else {
xs = xs + ship_speed;
}
if (_y > yt) {
ys = ys - ship_speed;
} else {
ys = ys + ship_speed;
}
xs = xs * _root.pyramid_friction;
ys = ys * _root.pyramid_friction;
_x = (_x + xs);
_y = (_y + ys);
Symbol 1313 MovieClip Frame 12
prevFrame();
play();
Symbol 1313 MovieClip Frame 13
count = count + 1;
hit = 0;
i = 1;
while (i <= _root.armoury.max_bullets) {
if (this.hitTest(_root.armoury["bullet" + i])) {
dib = _root.armoury["bullet" + i].bulltype;
zim = _root.armoury.weapon_liveon[dib];
wep_strength = _root.armoury.weapon_strength[dib];
hit = hit + wep_strength;
if (zim == 0) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
}
i++;
}
if (this.hitTest(_root.ship.detect)) {
wep_strength = 2;
if (_root.shield_weapon > 0) {
hit = hit + _root.shield_weapon_damage;
} else {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = _root.ship.alien_hit + hit_points;
}
}
if (this.hitTest(_root.trailer.guardian)) {
wep_strength = 2;
hit = hit + _root.trailer_damage[_root.trailer_type];
}
if (hit > 0) {
hit_points = hit_points - hit;
ship_graphics.dude.gotoAndPlay(2);
}
if ((hit_points < 1) or (_root.nuking == 1)) {
_root.score = _root.score + score_worth;
ship_graphics.gotoAndStop(50);
smee = random(3);
if (smee == 0) {
_root.explosion1.start();
} else if (smee == 1) {
_root.explosion2.start();
} else if (smee == 2) {
_root.explosion3.start();
}
stop();
} else if (_root.clear_screen != 0) {
_parent.ships_finished = _parent.ships_finished + 1;
ship_graphics.gotoAndStop(53);
stop();
}
if (random(likely_to_fire + _root.overall_likely_to_fire) == 1) {
ship_graphics.dude.tanky.gotoAndPlay(16);
_root.alien_weapon_type = weapon_type;
_root.alien_fire = 1;
_root.alien_ship_x = _x;
_root.alien_ship_y = _y - 20;
}
_x = (_x + xs);
_y = (_y + ys);
if (_x < -40) {
_parent.ships_finished = _parent.ships_finished + 1;
gotoAndStop (200);
}
Symbol 1313 MovieClip Frame 14
prevFrame();
play();
Symbol 1313 MovieClip Frame 15
count = count + 1;
if (random(5) == 1) {
smee = random(4);
if (smee == 0) {
_root.el1.start();
} else if (smee == 1) {
_root.el2.start();
} else if (smee == 2) {
_root.el3.start();
} else if (smee == 3) {
_root.el4.start();
}
}
if ((bitzdead == 3) and (_root.nuking != 1)) {
_root.type_humano = _root.type_human;
_root.type_turreto = _root.type_turret;
_root.type_cowo = _root.type_cow;
_root.type_sheepo = _root.type_sheep;
_root.type_jeto = _root.type_jet;
_root.type_saucero = _root.type_saucer;
_root.type_pyramido = _root.type_pyramid;
_root.type_wormo = _root.type_worm;
_root.type_bosso = _root.type_boss;
_root.type_cowbosso = _root.type_cowboss;
_root.prob_jeto = _root.prob_jet;
_root.formationso = _root.formations;
_root.densityo = _root.density;
_root.boss_up = 0;
_root.type_human = 0;
_root.type_turret = 0;
_root.type_cow = 0;
_root.type_sheep = 0;
_root.type_jet = 1;
_root.type_saucer = 0;
_root.type_pyramid = 0;
_root.type_worm = 0;
_root.type_boss = 0;
_root.type_cowboss = 0;
_root.prob_jet = 10;
if (_root.current_difficulty == "Difficulty - Hard") {
_root.density = 6;
} else if (_root.current_difficulty == "Difficulty - Medium") {
_root.density = 4;
} else {
_root.density = 2;
}
bitzdead = 4;
}
if ((bitzdead == 5) or (_root.nuking == 1)) {
blib.stop();
_root.evilpig.start();
_root.score = _root.score + score_worth;
ship_graphics.gotoAndStop(48);
smee = random(3);
if (smee == 0) {
_root.explosion1.start();
} else if (smee == 1) {
_root.explosion2.start();
} else if (smee == 2) {
_root.explosion3.start();
}
_root.mainboss_up = 0;
_root.boss_up = 0;
if ((_root.playmode == "level") and (_root.ship.shield > 0)) {
_root.clear_screen = 1;
_root.finish_section = 1;
_root.game_complete = 1;
_root.gotoAndPlay("gamecomplete");
} else if (((_root.wormboss_up != 1) and (_root.mainboss_up != 1)) and (_root.cowboss_up != 1)) {
_root.set_music(_root.section);
}
if (_root.nuking != 1) {
_root.type_human = _root.type_humano;
_root.type_turret = _root.type_turreto;
_root.type_cow = _root.type_cowo;
_root.type_sheep = _root.type_sheepo;
_root.type_jet = _root.type_jeto;
_root.type_saucer = _root.type_saucero;
_root.type_pyramid = _root.type_pyramido;
_root.type_worm = _root.type_wormo;
_root.type_boss = _root.type_bosso;
_root.type_cowboss = _root.type_cowbosso;
_root.prob_jet = _root.prob_jeto;
_root.formations = _root.formationso;
_root.density = _root.densityo;
}
stop();
} else if (_root.clear_screen != 0) {
blib.stop();
_root.mainboss_up = 0;
_root.boss_up = 0;
_parent.ships_finished = _parent.ships_finished + 1;
ship_graphics.gotoAndStop(53);
stop();
}
if (random(likely_to_fire) == 1) {
_root.fire_accuracy = random(100);
if (random(3) == 1) {
_root.alien_weapon_type = 7;
} else {
_root.alien_weapon_type = 6;
}
_root.alien_fire = 1;
_root.alien_ship_x = _x;
_root.alien_ship_y = _y;
}
count = count + 1;
if (random(40) == 1) {
xt = 350;
yt = 240;
}
if (random(20) == 1) {
xt = xt + (random(61) - 30);
yt = yt + (random(61) - 30);
}
if (_x > xt) {
xs = xs - ship_speed;
} else {
xs = xs + ship_speed;
}
if (_y > yt) {
ys = ys - ship_speed;
} else {
ys = ys + ship_speed;
}
xs = xs * 0.9;
ys = ys * 0.9;
distx = xt - _x;
if ((distx > -5) and (distx < 5)) {
xs = xs * 0.3;
}
disty = _y - yt;
if ((disty > -5) and (disty < 5)) {
ys = ys * 0.3;
}
_x = (_x + xs);
_y = (_y + ys);
Symbol 1313 MovieClip Frame 16
hit = 0;
prevFrame();
play();
Symbol 1313 MovieClip Frame 17
if (((_root.saucer_collecting != 1) and (_root.saucer_fodder > 0)) and (random(70) == 1)) {
_root.saucer_collecting = 1;
_root.saucer_collectingform = mynom2;
_root.saucer_collectingship = mynom;
me_collecting = 1;
ship_graphics.dude.saucer.gotoAndPlay(2);
}
count = count + 1;
if (count > _root.saucer_length) {
xt = -1000;
if (_x < -100) {
_parent.ships_finished = _parent.ships_finished + 1;
_root.saucer_collecting = 0;
me_collecting = 0;
gotoAndStop (200);
}
}
hit = 0;
i = 1;
while (i <= _root.armoury.max_bullets) {
if (this.hitTest(_root.armoury["bullet" + i])) {
xs = xs + (_root.armoury["bullet" + i].xs / 6);
ys = ys + (_root.armoury["bullet" + i].ys / 6);
dib = _root.armoury["bullet" + i].bulltype;
zim = _root.armoury.weapon_liveon[dib];
wep_strength = _root.armoury.weapon_strength[dib];
hit = hit + wep_strength;
if (zim == 0) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
}
i++;
}
if (this.hitTest(_root.ship.detect)) {
wep_strength = 2;
if (_root.shield_weapon > 0) {
hit = hit + _root.shield_weapon_damage;
} else {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = _root.ship.alien_hit + hit_points;
}
}
if (this.hitTest(_root.trailer.guardian)) {
hit = hit + _root.trailer_damage[_root.trailer_type];
}
if (hit > 0) {
hit_points = hit_points - hit;
ship_graphics.dude.gotoAndPlay(2);
}
if ((hit_points < 1) or (_root.nuking == 1)) {
_root.score = _root.score + score_worth;
ship_graphics.gotoAndStop(50);
smee = random(3);
if (smee == 0) {
_root.explosion1.start();
} else if (smee == 1) {
_root.explosion2.start();
} else if (smee == 2) {
_root.explosion3.start();
}
stop();
} else if (_root.clear_screen != 0) {
_parent.ships_finished = _parent.ships_finished + 1;
ship_graphics.gotoAndStop(53);
_root.saucer_collecting = 0;
me_collecting = 0;
stop();
}
ship_speed = (random(400) / 100) + 1;
if (random(5) == 1) {
if (random(100) > _root.saucergomad) {
xt = random(_root.max_x - 40) + 20;
yt = random(_root.max_y - 40) + 20;
current_friction = 0.3;
} else {
if (random(10) > 6) {
xt = _root.ship.x;
yt = _root.ship.y;
} else {
xt = random(_root.max_x - 40) + 20;
yt = random(_root.max_y - 40) + 20;
}
current_friction = _root.saucerfastfriction;
}
}
if (me_collecting == 1) {
xt = _root.saucer_target_x;
yt = 300;
current_friction = 0.85;
if ((random(70) == 1) or (_root.saucer_fodder < 1)) {
me_collecting = 0;
xt = random(_root.max_x - 40) + 20;
yt = random(_root.max_y - 40) + 20;
current_friction = 0.9;
_root.saucer_collecting = 0;
ship_graphics.dude.saucer.gotoAndStop(1);
}
}
if (_x > xt) {
xs = xs - ship_speed;
} else {
xs = xs + ship_speed;
}
if (_y > yt) {
ys = ys - ship_speed;
} else {
ys = ys + ship_speed;
}
xs = xs * current_friction;
ys = ys * current_friction;
_x = (_x + xs);
_y = (_y + ys);
Symbol 1313 MovieClip Frame 18
prevFrame();
play();
Symbol 1313 MovieClip Frame 19
count = count + 1;
if ((bitzdead == 6) or (_root.nuking == 1)) {
_root.score = _root.score + score_worth;
ship_graphics.gotoAndStop(52);
smee = random(3);
if (smee == 0) {
_root.explosion1.start();
} else if (smee == 1) {
_root.explosion2.start();
} else if (smee == 2) {
_root.explosion3.start();
}
_root.wormboss_up = 0;
_root.boss_up = 0;
if ((_root.playmode == "level") and (_root.ship.shield > 0)) {
_root.clear_screen = 1;
_root.finish_section = 1;
} else if (((_root.wormboss_up != 1) and (_root.mainboss_up != 1)) and (_root.cowboss_up != 1)) {
_root.set_music(_root.section);
}
stop();
} else if (_root.clear_screen != 0) {
_root.wormboss_up = 0;
_root.boss_up = 0;
_parent.ships_finished = _parent.ships_finished + 1;
ship_graphics.gotoAndStop(53);
stop();
}
if (likely_to_fire != 0) {
if (random(likely_to_fire) == 1) {
_root.alien_weapon_type = weapon_type;
_root.alien_fire = 1;
_root.alien_ship_x = _x;
_root.alien_ship_y = _y;
}
}
ship_speed = 3;
count = count + 1;
if (random(40) == 1) {
xt = random(_root.max_x - 300) + 300;
yt = random(_root.max_y - 250) + 40;
}
if (random(40) == 1) {
xt = random(_root.max_x - 300) + 300;
}
if (random(20) == 1) {
yt = random(_root.max_y - 250) + 40;
}
if (_x > xt) {
xs = xs - ship_speed;
} else {
xs = xs + ship_speed;
}
if (_y > yt) {
ys = ys - ship_speed;
} else {
ys = ys + ship_speed;
}
xs = xs * 0.8;
ys = ys * 0.8;
distx = xt - _x;
if ((distx > -5) and (distx < 5)) {
xs = xs * 0.7;
}
disty = _y - yt;
if ((disty > -5) and (disty < 5)) {
ys = ys * 0.7;
}
_x = (_x + xs);
_y = (_y + ys);
Symbol 1313 MovieClip Frame 20
hit = 0;
prevFrame();
play();
Symbol 1313 MovieClip Frame 21
count = count + 1;
hit = 0;
i = 1;
while (i <= _root.armoury.max_bullets) {
if (ship_graphics.dude.detect.hitTest(_root.armoury["bullet" + i])) {
dib = _root.armoury["bullet" + i].bulltype;
if (((((dib > 2) and (dib < 6)) and (random(5) > 1)) or (random(5) > 1)) and (meflying != 1)) {
ship_graphics.dude.fire.play();
burning = 1;
} else {
zim = _root.armoury.weapon_liveon[dib];
wep_strength = _root.armoury.weapon_strength[dib];
hit = hit + wep_strength;
if ((zim == 0) and (burning != 1)) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
}
}
i++;
}
if (ship_graphics.dude.detect.hitTest(_root.ship.detect)) {
wep_strength = 2;
if (_root.shield_weapon > 0) {
hit = hit + _root.shield_weapon_damage;
} else {
hit = hit + _root.ship.shield;
if ((burning != 1) and (burning != 2)) {
_root.ship.alien_hit = _root.ship.alien_hit + hit_points;
}
}
}
if (ship_graphics.dude.detect.hitTest(_root.trailer.guardian)) {
wep_strength = 2;
hit = hit + _root.trailer_damage[_root.trailer_type];
}
if (hit > 0) {
if (burning > 0) {
hit_points = 0;
} else {
hit_points = hit_points - hit;
ship_graphics.dude.hurt.gotoAndPlay(2);
if (meflying == 1) {
ys = 1;
}
}
}
if ((hit_points < 1) or (_root.nuking == 1)) {
_root.score = _root.score + score_worth;
ship_graphics.gotoAndStop(51);
smee = random(16) + 1;
_root["ac" + smee].start();
stop();
} else if (_root.clear_screen != 0) {
_parent.ships_finished = _parent.ships_finished + 1;
if (meflying != 1) {
_root.saucer_fodder = _root.saucer_fodder - 1;
}
ship_graphics.gotoAndStop(53);
stop();
}
if (meflying != 1) {
_root.saucer_target_x = _x;
if ((_root.saucer_collecting == 1) and this.hitTest(_root.enemies[_root.saucer_collectingform].form[_root.saucer_collectingship].ship_graphics.dude.saucer.sucker)) {
ship_graphics.dude.gotoAndPlay(38);
stop();
} else {
if (walking == 1) {
_x = (_x + walking_direction);
if ((random(100) == 1) or (walking_direction == 0)) {
walking_direction = random(7) - 3;
}
}
if (burning == 1) {
if (random(30) == 1) {
smee = random(16) + 1;
_root["ac" + smee].start();
}
if (random(3) == 1) {
walking_direction = (random(7) - 3) * 2;
}
}
if ((((ship_graphics.dude.detect.hitTest(_root.callbox) and (_root.callbox.hit_points > 0.99)) and (meflying != 1)) and (burning != 1)) and (burning != 2)) {
if (meflying != 1) {
_root.saucer_fodder = _root.saucer_fodder - 1;
}
ship_graphics.dude.gotoAndPlay(53);
meflying = 1;
ys = -3;
hit_points = 10;
score_worth = 500;
_root.callbox.box.gotoAndPlay("change");
}
}
} else {
xs = xs + ((random(100) / 50) - 1);
ys = ys - (random(12) / 10);
ys = ys + 0.5;
_rotation = (xs * 6);
}
_x = (_x + xs);
_y = (_y + ys);
if ((_x < -40) or (_y < -10)) {
_parent.ships_finished = _parent.ships_finished + 1;
if (meflying != 1) {
_root.saucer_fodder = _root.saucer_fodder - 1;
}
gotoAndStop (200);
}
Symbol 1313 MovieClip Frame 22
prevFrame();
play();
Symbol 1313 MovieClip Frame 23
if (random(250) == 1) {
smee = random(4) + 1;
_root["cow" + smee].start();
}
count = count + 1;
hit = 0;
i = 1;
while (i <= _root.armoury.max_bullets) {
if (this.hitTest(_root.armoury["bullet" + i])) {
xs = xs + (_root.armoury["bullet" + i].xs / 8);
ys = ys + (_root.armoury["bullet" + i].ys / 8);
dib = _root.armoury["bullet" + i].bulltype;
zim = _root.armoury.weapon_liveon[dib];
wep_strength = _root.armoury.weapon_strength[dib];
hit = hit + wep_strength;
if (zim == 0) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
}
i++;
}
if (this.hitTest(_root.ship.detect)) {
wep_strength = 2;
if (_root.shield_weapon > 0) {
hit = hit + _root.shield_weapon_damage;
} else {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = _root.ship.alien_hit + hit_points;
}
}
if (this.hitTest(_root.trailer.guardian)) {
wep_strength = 2;
hit = hit + _root.trailer_damage[_root.trailer_type];
}
if (hit > 0) {
hit_points = hit_points - hit;
ship_graphics.dude.gotoAndPlay(2);
}
if ((hit_points < 1) or (_root.nuking == 1)) {
_root.score = _root.score + score_worth;
ship_graphics.gotoAndStop(50);
smee = random(3);
if (smee == 0) {
_root.explosion1.start();
} else if (smee == 1) {
_root.explosion2.start();
} else if (smee == 2) {
_root.explosion3.start();
}
stop();
} else if (_root.clear_screen != 0) {
_parent.ships_finished = _parent.ships_finished + 1;
ship_graphics.gotoAndStop(53);
stop();
}
if (likely_to_fire != 0) {
if (random(likely_to_fire + _root.overall_likely_to_fire) == 1) {
_root.alien_weapon_type = weapon_type;
_root.alien_fire = 1;
_root.alien_ship_x = _x;
_root.alien_ship_y = _y;
}
}
ship_speed = (random(_root.cow_speed * 100) / 100) + 1;
count = count + 1;
if (count > _root.cow_length) {
xt = -1000;
if (_x < -100) {
_parent.ships_finished = _parent.ships_finished + 1;
gotoAndStop (200);
}
}
if (random(_root.cow_change) == 1) {
if (random(100) > _root.cow_percentage_follow) {
xt = (random((_root.max_x - 40) - _root.cow_boundry) + 20) + _root.cow_boundry;
yt = random(_root.max_y - 120) + 60;
} else {
xt = _root.ship._x;
yt = _root.ship._y;
}
}
if ((((_x > (xt - 4)) and (_x < (xt + 4))) and (_y > (yt - 4))) and (_y < (yt + 4))) {
if (_x > xt) {
xs = xs - (ship_speed / 3);
} else {
xs = xs + (ship_speed / 3);
}
if (_y > yt) {
ys = ys - (ship_speed / 3);
} else {
ys = ys + (ship_speed / 3);
}
xs = xs * 0.8;
ys = ys * 0.8;
} else {
if (_x > xt) {
xs = xs - ship_speed;
} else {
xs = xs + ship_speed;
}
if (_y > yt) {
ys = ys - ship_speed;
} else {
ys = ys + ship_speed;
}
}
xs = xs * _root.cow_friction;
ys = ys * _root.cow_friction;
_x = (_x + xs);
_y = (_y + ys);
if (xs < -9) {
ship_graphics.dude.qual.cow.gotoAndStop(1);
} else if ((xs > -9) and (xs < -4.5)) {
ship_graphics.dude.qual.cow.gotoAndStop(2);
} else if ((xs > -4.5) and (xs < 4.5)) {
ship_graphics.dude.qual.cow.gotoAndStop(3);
} else if ((xs > 4.5) and (xs < 9)) {
ship_graphics.dude.qual.cow.gotoAndStop(4);
} else if (xs > 9) {
ship_graphics.dude.qual.cow.gotoAndStop(5);
}
ship_graphics._rotation = xs;
Symbol 1313 MovieClip Frame 24
prevFrame();
play();
Symbol 1313 MovieClip Frame 25
hit = 0;
i = 1;
while (i <= _root.armoury.max_bullets) {
if (ship_graphics.dude.detect.hitTest(_root.armoury["bullet" + i])) {
xs = xs + (_root.armoury["bullet" + i].xs / 20);
ys = ys + (_root.armoury["bullet" + i].ys / 15);
if (_y > 300) {
yt = _y - random(300);
ys = -10;
} else if (_y < 90) {
yt = _y + random(300);
ys = 10;
} else if ((_root.armoury["bullet" + i].ys > 0) and (random(2) == 1)) {
yt = _y + (random(100) + 100);
ys = ys + 5;
if (ys > 10) {
ys = 10;
}
} else if ((_root.armoury["bullet" + i].ys < 0) and (random(2) == 1)) {
yt = _y - (random(100) + 100);
ys = ys - 5;
if (ys < -10) {
ys = -10;
}
} else {
if (ys > 0) {
yt = _y + (random(100) + 100);
ys = ys + 5;
if (ys > 10) {
ys = 10;
}
}
if (ys < 0) {
yt = _y - (random(100) + 100);
ys = ys - 5;
if (ys < -10) {
ys = -10;
}
}
}
if (yt > (_root.max_y - 60)) {
yt = _root.max_y - 60;
}
if (yt < 100) {
yt = _root.max_y - 60;
}
dib = _root.armoury["bullet" + i].bulltype;
zim = _root.armoury.weapon_liveon[dib];
wep_strength = _root.armoury.weapon_strength[dib];
hit = hit + wep_strength;
if (zim == 0) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
}
i++;
}
if (ship_graphics.dude.detect.hitTest(_root.ship.detect)) {
wep_strength = 2;
if (_root.shield_weapon > 0) {
hit = hit + _root.shield_weapon_damage;
} else {
hit = hit + _root.ship.shield;
_root.ship.alien_hit = _root.ship.alien_hit + hit_points;
}
}
if (ship_graphics.dude.detect.hitTest(_root.trailer.guardian)) {
wep_strength = 2;
hit = hit + _root.trailer_damage[_root.trailer_type];
}
if (hit > 0) {
hit_points = hit_points - hit;
ship_graphics.dude.gotoAndPlay(2);
}
if ((hit_points < 1) or (_root.nuking == 1)) {
_root.score = _root.score + score_worth;
ship_graphics.gotoAndStop(52);
smee = random(3);
if (smee == 0) {
_root.explosion1.start();
} else if (smee == 1) {
_root.explosion2.start();
} else if (smee == 2) {
_root.explosion3.start();
}
_root.cowboss_up = 0;
_root.boss_up = 0;
if ((_root.playmode == "level") and (_root.ship.shield > 0)) {
_root.clear_screen = 1;
_root.finish_section = 1;
} else if (((_root.wormboss_up != 1) and (_root.mainboss_up != 1)) and (_root.cowboss_up != 1)) {
_root.set_music(_root.section);
}
stop();
} else if (_root.clear_screen != 0) {
_root.cowboss_up = 0;
_root.boss_up = 0;
_parent.ships_finished = _parent.ships_finished + 1;
ship_graphics.gotoAndStop(53);
stop();
}
if (likely_to_fire != 0) {
if (random(likely_to_fire) == 1) {
_root.alien_weapon_type = weapon_type_secondary;
_root.alien_fire = 1;
_root.alien_ship_x = _x;
_root.alien_ship_y = _y + 45;
if (fire_count > 38) {
fire_count = 0;
}
}
fire_count = fire_count + 1;
if (fire_count > 30) {
_root.alien_weapon_type = weapon_type;
_root.alien_fire = 1;
_root.alien_ship_x = _x;
_root.alien_ship_y = _y + 45;
if (fire_count > 38) {
fire_count = 0;
}
}
}
ship_speed = (random(_root.cow_speed * 100) / 100) + 1;
if (random(10) == 1) {
if (random(100) > _root.cowboss_percentage_follow) {
xt = random(580);
yt = random(_root.max_y - 120) + 60;
} else {
xt = _root.ship._x;
if (_root.current_difficulty != "Difficulty - Hard") {
if (xt < 250) {
xt = 250;
}
}
yt = _root.ship._y;
}
}
if (_x > xt) {
xs = xs - ship_speed;
} else {
xs = xs + ship_speed;
}
if (_y > yt) {
ys = ys - ship_speed;
} else {
ys = ys + ship_speed;
}
xs = xs * 0.8;
ys = ys * 0.8;
_x = (_x + xs);
_y = (_y + ys);
if (_y > (_root.max_y - 60)) {
_y = (_root.max_y - 60);
}
if (_y < 60) {
_y = 60;
}
ship_graphics._rotation = xs;
Symbol 1313 MovieClip Frame 26
prevFrame();
play();
Symbol 1313 MovieClip Frame 200
stop();
Symbol 1314 MovieClip Frame 2
stop();
Symbol 1315 MovieClip Frame 110
stop();
_parent._parent.finish_x = leader._x;
_parent._parent.finish_y = leader._y;
Symbol 1316 MovieClip Frame 200
stop();
_parent._parent.finish_x = leader._x;
_parent._parent.finish_y = leader._y;
Symbol 1317 MovieClip Frame 300
stop();
_parent._parent.finish_x = leader._x;
_parent._parent.finish_y = leader._y;
Symbol 1318 MovieClip Frame 140
stop();
_parent._parent.finish_x = leader._x;
_parent._parent.finish_y = leader._y;
Symbol 1319 MovieClip Frame 200
stop();
_parent._parent.finish_x = leader._x;
_parent._parent.finish_y = leader._y;
Symbol 1320 MovieClip Frame 140
stop();
_parent._parent.finish_x = leader._x;
_parent._parent.finish_y = leader._y;
Symbol 1321 MovieClip Frame 140
stop();
_parent._parent.finish_x = leader._x;
_parent._parent.finish_y = leader._y;
Symbol 1322 MovieClip Frame 105
stop();
_parent._parent.finish_x = leader._x;
_parent._parent.finish_y = leader._y;
Symbol 1323 MovieClip Frame 112
stop();
_parent._parent.finish_x = leader._x;
_parent._parent.finish_y = leader._y;
Symbol 1324 MovieClip Frame 121
stop();
_parent._parent.finish_x = leader._x;
_parent._parent.finish_y = leader._y;
Symbol 1325 MovieClip Frame 100
stop();
_parent._parent.finish_x = leader._x;
_parent._parent.finish_y = leader._y;
Symbol 1326 MovieClip Frame 100
stop();
_parent._parent.finish_x = leader._x;
_parent._parent.finish_y = leader._y;
Symbol 1327 MovieClip Frame 140
stop();
_parent._parent.finish_x = leader._x;
_parent._parent.finish_y = leader._y;
Symbol 1328 MovieClip Frame 140
stop();
_parent._parent.finish_x = leader._x;
_parent._parent.finish_y = leader._y;
Symbol 1329 MovieClip Frame 140
stop();
_parent._parent.finish_x = leader._x;
_parent._parent.finish_y = leader._y;
Symbol 1330 MovieClip Frame 80
stop();
_parent._parent.finish_x = leader._x;
_parent._parent.finish_y = leader._y;
Symbol 1331 MovieClip Frame 101
stop();
_parent._parent.finish_x = leader._x;
_parent._parent.finish_y = leader._y;
Symbol 1332 MovieClip Frame 1
if (_parent.formation_type == 1) {
bob = random(_root.pathmax) + 1;
} else {
bob = 18;
}
gotoAndStop(bob);
Instance of Symbol 1315 MovieClip "path" in Symbol 1332 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1316 MovieClip "path" in Symbol 1332 MovieClip Frame 2
/* no clip actions */
Instance of Symbol 1317 MovieClip "path" in Symbol 1332 MovieClip Frame 3
/* no clip actions */
Instance of Symbol 1318 MovieClip "path" in Symbol 1332 MovieClip Frame 4
/* no clip actions */
Instance of Symbol 1319 MovieClip "path" in Symbol 1332 MovieClip Frame 5
/* no clip actions */
Instance of Symbol 1320 MovieClip "path" in Symbol 1332 MovieClip Frame 6
/* no clip actions */
Instance of Symbol 1321 MovieClip "path" in Symbol 1332 MovieClip Frame 7
/* no clip actions */
Instance of Symbol 1322 MovieClip "path" in Symbol 1332 MovieClip Frame 8
/* no clip actions */
Instance of Symbol 1323 MovieClip "path" in Symbol 1332 MovieClip Frame 9
/* no clip actions */
Instance of Symbol 1324 MovieClip "path" in Symbol 1332 MovieClip Frame 10
/* no clip actions */
Instance of Symbol 1325 MovieClip "path" in Symbol 1332 MovieClip Frame 11
/* no clip actions */
Instance of Symbol 1326 MovieClip "path" in Symbol 1332 MovieClip Frame 12
/* no clip actions */
Instance of Symbol 1327 MovieClip "path" in Symbol 1332 MovieClip Frame 13
/* no clip actions */
Instance of Symbol 1328 MovieClip "path" in Symbol 1332 MovieClip Frame 14
/* no clip actions */
Instance of Symbol 1329 MovieClip "path" in Symbol 1332 MovieClip Frame 15
/* no clip actions */
Instance of Symbol 1330 MovieClip "path" in Symbol 1332 MovieClip Frame 16
/* no clip actions */
Instance of Symbol 1331 MovieClip "path" in Symbol 1332 MovieClip Frame 17
/* no clip actions */
Symbol 1333 MovieClip Frame 1
ships = 0;
if (((_root.boss_up == 1) and (_root.playmode != "god")) and (_root.playmode != "insanity")) {
_parent.gotoAndPlay(2);
} else {
queue_x = new Array(Number);
queue_y = new Array(Number);
queue_rot = new Array(Number);
no_of_ships = random(_root.density) + 2;
ships_type = 0;
if ((_root.type_human == 1) and (random(_root.prob_human) == 1)) {
ships_type = 1;
}
if ((_root.type_pyramid == 1) and (random(_root.prob_pyramid) == 1)) {
ships_type = 2;
}
if ((_root.type_jet == 1) and (random(_root.prob_jet) == 1)) {
ships_type = 3;
}
if ((_root.type_cow == 1) and (random(_root.prob_cow) == 1)) {
ships_type = 4;
}
if ((_root.type_sheep == 1) and (random(_root.prob_sheep) == 1)) {
ships_type = 5;
}
if ((_root.type_saucer == 1) and (random(_root.prob_saucer) == 1)) {
ships_type = 6;
}
if (((_root.type_worm == 1) and (random(_root.prob_worm) == 1)) and (_root.wormboss_up != 1)) {
ships_type = 7;
}
if ((_root.type_turret == 1) and (random(_root.prob_turret) == 1)) {
ships_type = 8;
}
if (((_root.type_boss == 1) and (random(_root.prob_boss) == 1)) and (_root.mainboss_up != 1)) {
ships_type = 9;
}
if (((_root.type_cowboss == 1) and (random(_root.prob_cowboss) == 1)) and (_root.cowboss_up != 1)) {
ships_type = 10;
}
if (ships_type == 0) {
_parent.gotoAndPlay(2);
}
ships_finished = 0;
if (ships_type == 1) {
formation_type = 8;
}
if (ships_type == 2) {
formation_type = 3;
}
if (ships_type == 3) {
formation_type = 2;
}
if (ships_type == 4) {
formation_type = 9;
}
if (ships_type == 5) {
formation_type = 1;
}
if (ships_type == 6) {
formation_type = 6;
}
if (ships_type == 7) {
formation_type = 7;
}
if (ships_type == 8) {
formation_type = 4;
}
if (ships_type == 9) {
formation_type = 5;
}
if (ships_type == 10) {
formation_type = 10;
}
if (formation_type == 8) {
spacing = random(30) + 30;
x_speed = -(random(_root.linear_speed) + 5);
i = 2;
while (i <= no_of_ships) {
duplicateMovieClip ("ship1", "ship" + i, i);
i++;
}
i = 1;
while (i <= no_of_ships) {
if (random(2) == 1) {
this["ship" + i]._x = random(_root.max_x);
} else {
this["ship" + i]._x = _root.max_x + random(100);
}
this["ship" + i]._y = _root.level_ground;
this["ship" + i].xs = _root.level_scroll_speed;
this["ship" + i].ys = 0;
this["ship" + i].ship_type = ships_type;
i++;
}
}
if (formation_type == 4) {
no_of_ships = int(no_of_ships / 2) + 1;
i = 2;
while (i <= no_of_ships) {
duplicateMovieClip ("ship1", "ship" + i, i);
i++;
}
i = 1;
while (i <= no_of_ships) {
if (random(2) == 1) {
this["ship" + i]._x = random(_root.max_x);
} else {
this["ship" + i]._x = _root.max_x + random(100);
}
this["ship" + i]._y = _root.level_ground;
this["ship" + i].xs = _root.level_scroll_speed;
this["ship" + i].ys = 0;
this["ship" + i].ship_type = ships_type;
i++;
}
} else if (formation_type == 1) {
if (no_of_ships > 20) {
no_of_ships = 20;
}
spacing = int(12 - (no_of_ships / 2));
if (spacing < 2) {
spacing = 2;
}
i = 2;
while (i <= no_of_ships) {
duplicateMovieClip ("ship1", "ship" + i, i);
i++;
}
i = 1;
while (i <= no_of_ships) {
this["ship" + i].ship_type = ships_type;
i++;
}
offset = 6;
i = (spacing * no_of_ships) + offset;
while (i > 0) {
queue_x[i] = paths.path.leader._x;
queue_y[i] = paths.path.leader._y;
queue_rot[i] = paths.path.leader._rotation;
i--;
}
finish_x = -2000;
finish_y = -2000;
} else if (formation_type == 2) {
if (no_of_ships > 10) {
no_of_ships = 10;
}
spacing = random(100) + 40;
x_speed = (-_root.jet_speed) + random(5);
i = 2;
while (i <= no_of_ships) {
duplicateMovieClip ("ship1", "ship" + i, i);
i++;
}
i = 1;
while (i <= no_of_ships) {
this["ship" + i]._x = (_root.max_x + 40) + (i * spacing);
this["ship" + i]._y = random(_root.max_y - 150) + 40;
this["ship" + i].xs = x_speed;
this["ship" + i].ys = 0;
this["ship" + i].ship_type = ships_type;
i++;
}
} else if (formation_type == 3) {
no_of_ships = random(2) + 1;
i = 2;
while (i <= no_of_ships) {
duplicateMovieClip ("ship1", "ship" + i, i);
i++;
}
i = 1;
while (i <= no_of_ships) {
this["ship" + i].ship_type = ships_type;
a = random(2);
if (a == 0) {
this["ship" + i]._x = random(_root.max_x - 150) + 150;
this["ship" + i]._y = _root.max_y + 70;
} else if (a == 1) {
this["ship" + i]._x = random(_root.max_x - 150) + 150;
this["ship" + i]._y = -50;
}
this["ship" + i].xs = 0;
this["ship" + i].ys = 0;
this["ship" + i].xt = (random((_root.max_x - 40) - _root.pyramid_boundry) + 20) + _root.pyramid_boundry;
this["ship" + i].yt = random(_root.max_y - 120) + 60;
this["ship" + i].ship_speed = _root.pyramid_speed;
i++;
}
} else if (formation_type == 9) {
i = 2;
while (i <= no_of_ships) {
duplicateMovieClip ("ship1", "ship" + i, i);
i++;
}
i = 1;
while (i <= no_of_ships) {
this["ship" + i].ship_type = ships_type;
cowrange = 200;
a = random(_root.cow_start);
if (a == 0) {
this["ship" + i]._x = (_root.max_x + 40) + random(cowrange);
this["ship" + i]._y = random(_root.max_y - 40) + 20;
} else if (a == 1) {
this["ship" + i]._x = random(_root.max_x - 40) + 20;
this["ship" + i]._y = -(40 + random(cowrange));
} else if (a == 2) {
this["ship" + i]._x = random(_root.max_x - 40) + 20;
this["ship" + i]._y = (_root.max_y + 40) + random(cowrange);
} else if (a == 3) {
this["ship" + i]._x = -(40 + random(cowrange));
this["ship" + i]._y = random(_root.max_y - 40) + 20;
}
this["ship" + i].xs = 0;
this["ship" + i].ys = 0;
this["ship" + i].xt = (random((_root.max_x - 40) - _root.cow_boundry) + 20) + _root.cow_boundry;
this["ship" + i].yt = random(_root.max_y - 120) + 60;
this["ship" + i].ship_speed = _root.cow_speed;
i++;
}
} else if (formation_type == 6) {
i = 2;
while (i <= no_of_ships) {
duplicateMovieClip ("ship1", "ship" + i, i);
i++;
}
i = 1;
while (i <= no_of_ships) {
this["ship" + i].ship_type = ships_type;
cowrange = 200;
a = random(_root.saucer_start);
if (a == 0) {
this["ship" + i]._x = (_root.max_x + 40) + random(cowrange);
this["ship" + i]._y = random(_root.max_y - 40) + 20;
} else if (a == 1) {
this["ship" + i]._x = random(_root.max_x - 40) + 20;
this["ship" + i]._y = -(40 + random(cowrange));
} else if (a == 2) {
this["ship" + i]._x = -(40 + random(cowrange));
this["ship" + i]._y = random(_root.max_y - 40) + 20;
} else if (a == 3) {
this["ship" + i]._x = random(_root.max_x - 40) + 20;
sthis["ship" + i]._y = (_root.max_y + 40) + random(cowrange);
}
this["ship" + i].xs = 0;
this["ship" + i].ys = 0;
this["ship" + i].xt = (random((_root.max_x - 40) - _root.cow_boundry) + 20) + _root.cow_boundry;
this["ship" + i].yt = random(_root.max_y - 120) + 60;
this["ship" + i].ship_speed = _root.cow_speed;
i++;
}
} else if (formation_type == 7) {
if (_root.ship.shield > 0) {
_root.set_music(5);
}
_root.boss_up = 1;
_root.wormboss_up = 1;
no_of_ships = 1;
i = 1;
this["ship" + i].ship_type = ships_type;
this["ship" + i]._x = _root.max_x + 150;
this["ship" + i]._y = random(_root.max_y - 40) + 20;
this["ship" + i].xs = 0;
this["ship" + i].ys = 0;
this["ship" + i].xt = random(_root.max_x - 400) + 300;
this["ship" + i].yt = random(_root.max_y - 200) + 100;
this["ship" + i].ship_speed = 2;
} else if (formation_type == 5) {
if (_root.ship.shield > 0) {
_root.set_music(5);
}
_root.boss_up = 1;
_root.mainboss_up = 1;
no_of_ships = 1;
i = 1;
this["ship" + i].ship_type = ships_type;
this["ship" + i]._x = _root.max_x + 120;
this["ship" + i]._y = 200;
this["ship" + i].xs = 0;
this["ship" + i].ys = 0;
this["ship" + i].xt = 600;
this["ship" + i].yt = random(_root.max_y - 200) + 100;
this["ship" + i].ship_speed = 1;
} else if (formation_type == 10) {
if (_root.ship.shield > 0) {
_root.set_music(5);
}
_root.boss_up = 1;
_root.cowboss_up = 1;
no_of_ships = 1;
i = 1;
this["ship" + i].ship_type = ships_type;
this["ship" + i]._x = _root.max_x + 40;
this["ship" + i]._y = random(_root.max_y - 40) + 20;
this["ship" + i].xs = 0;
this["ship" + i].ys = 0;
this["ship" + i].xt = (random((_root.max_x - 40) - _root.cow_boundry) + 20) + _root.cow_boundry;
this["ship" + i].yt = random(_root.max_y - 120) + 60;
this["ship" + i].ship_speed = _root.cow_speed;
}
}
Symbol 1333 MovieClip Frame 2
if (formation_type == 1) {
i = (spacing * no_of_ships) + offset;
while (i > 1) {
j = i - 1;
queue_x[i] = queue_x[j];
queue_y[i] = queue_y[j];
queue_rot[i] = queue_rot[j];
i--;
}
queue_x[1] = paths.path.leader._x;
queue_y[1] = paths.path.leader._y;
queue_rot[1] = paths.path.leader._rotation;
}
if (ships_finished >= no_of_ships) {
_parent.gotoAndPlay(2);
}
Symbol 1333 MovieClip Frame 3
prevFrame();
play();
Symbol 1334 MovieClip Frame 1
_parent.formations = _parent.formations + 1;
this_is = _parent.formations;
Symbol 1334 MovieClip Frame 3
_root.formations_over = _root.formations_over + 1;
if (((((_root.boss_up != 1) or (_root.playmode == "god")) or (_root.playmode == "insanity")) and (_root.break_on != 1)) and (_root.finish_section != 1)) {
gotoAndPlay (5);
}
Symbol 1334 MovieClip Frame 4
prevFrame();
play();
Symbol 1334 MovieClip Frame 6
prevFrame();
play();
Symbol 1335 MovieClip Frame 1
formations = 0;
i = 2;
while (i <= _root.formations) {
duplicateMovieClip ("form1", "form" + i, i);
i++;
}
_root.formup = 0;
_root.formdown = 0;
Symbol 1335 MovieClip Frame 2
if ((_root.chilling != 1) and (_root.finish_section != 1)) {
_root.form_inccount = _root.form_inccount + 1;
if (_root.form_inccount > _root.form_inctime) {
_root.formations = _root.formations + 1;
_root.density = _root.density - 1;
i = i + 1;
duplicateMovieClip ("form1", "form" + i, i);
_root.form_inccount = 0;
_root.form_inctime = _root.form_inctime + _root.form_incinc;
}
}
if (_root.formup == 1) {
_root.formup = 0;
_root.formations = _root.formations + 1;
i = i + 1;
duplicateMovieClip ("form1", "form" + i, i);
}
if (_root.formdown == 1) {
_root.formdown = 0;
_root.formations = _root.formations - 1;
i = i - 1;
this["form" + i].removeMovieClip();
}
Symbol 1335 MovieClip Frame 3
prevFrame();
play();
Symbol 1345 MovieClip Frame 1
gotoAndPlay(random(4) + 2);
Symbol 1345 MovieClip Frame 6
gotoAndPlay (2);
Symbol 1346 MovieClip Frame 1
if (_root.memory.data.quality_pos == 4) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
Symbol 1354 MovieClip Frame 1
_parent.weapon_strength = 8;
stop();
Symbol 1354 MovieClip Frame 2
_parent.weapon_strength = 2;
Symbol 1354 MovieClip Frame 3
_parent.weapon_strength = 5;
Symbol 1354 MovieClip Frame 4
_parent.weapon_strength = 7;
Symbol 1354 MovieClip Frame 5
_parent.weapon_strength = 11;
Symbol 1354 MovieClip Frame 6
_parent.weapon_strength = 20;
Symbol 1354 MovieClip Frame 7
_parent.weapon_strength = 30;
Symbol 1354 MovieClip Frame 8
_parent.weapon_strength = 15;
Symbol 1354 MovieClip Frame 9
_parent.weapon_strength = 4;
Symbol 1355 MovieClip Frame 1
_parent.bullets = _parent.bullets + 1;
this_is = _parent.bullets;
jet_missile_timer = 0;
missile_end_rot_speed_changer = (random(10) / 10) + 0.5;
Symbol 1355 MovieClip Frame 2
if (_parent.bullet_on[this_is] == 1) {
if (_parent.bullet_type[this_is] == 6) {
_parent.bullet_xs[this_is] = _parent.bullet_xs[this_is] * 0.9;
}
if (_parent.bullet_type[this_is] == 2) {
_parent.bullet_ys[this_is] = _parent.bullet_ys[this_is] + 1;
}
if (_parent.bullet_type[this_is] == 9) {
xd = (_x - _x) + _parent.bullet_xs[this_is];
yd = (_y - _y) + _parent.bullet_ys[this_is];
radius = Math.sqrt((xd * xd) + (yd * yd));
angle = Math.asin(yd / radius);
degree = 57.2957795130823 * angle;
if (xd < 0) {
degrees = 180 - degree;
} else {
degrees = degree;
}
this._rotation = degrees;
_parent.bullet_ys[this_is] = _parent.bullet_ys[this_is] + 0.5;
}
if ((_parent.bullet_type[this_is] == 4) or (_parent.bullet_type[this_is] == 6)) {
if (_parent.bullet_type[this_is] == 4) {
jet_missile_timer = jet_missile_timer + 1;
} else {
jet_missile_timer = jet_missile_timer + 0.5;
}
_parent.bullet_ys[this_is] = _parent.bullet_ys[this_is] + 0.1;
if (jet_missile_timer > _root.max_jet_missile_timer) {
_parent.bullet_ys[this_is] = _parent.bullet_ys[this_is] + 1;
this._rotation = this._rotation + missile_end_rot_speed;
missile_end_rot_speed = missile_end_rot_speed * missile_end_rot_speed_changer;
} else {
target_x = (_root.ship._x + random(30)) - 15;
target_y = (_root.ship._y + random(30)) - 15;
xd = _x - target_x;
yd = _y - target_y;
radius = Math.sqrt((xd * xd) + (yd * yd));
angle = Math.asin(yd / radius);
degree = 57.2957795130823 * angle;
if (xd < 0) {
degrees = 180 - degree;
} else {
degrees = degree;
}
oldrot = this._rotation;
this._rotation = degrees;
missile_end_rot_speed = oldrot - this._rotation;
if (_parent.bullet_x[this_is] > target_x) {
_parent.bullet_xs[this_is] = _parent.bullet_xs[this_is] - _root.jet_missile_speed;
}
if (_parent.bullet_x[this_is] < target_x) {
_parent.bullet_xs[this_is] = _parent.bullet_xs[this_is] + _root.jet_missile_speed;
}
if (_parent.bullet_y[this_is] > target_y) {
_parent.bullet_ys[this_is] = _parent.bullet_ys[this_is] - _root.jet_missile_speed;
}
if (_parent.bullet_y[this_is] < target_y) {
_parent.bullet_ys[this_is] = _parent.bullet_ys[this_is] + _root.jet_missile_speed;
}
}
_parent.bullet_xs[this_is] = _parent.bullet_xs[this_is] * _root.jet_missile_friction;
_parent.bullet_ys[this_is] = _parent.bullet_ys[this_is] * _root.jet_missile_friction;
i = 1;
while (i < _root.armoury.max_bullets) {
if (this.hitTest(eval (_root.armoury["bullet" + i]))) {
dib = _root.armoury["bullet" + i].bulltype;
zim = _root.armoury.weapon_liveon[dib];
if (zim == 0) {
_root.armoury["bullet" + i].ison = 0;
_root.armoury["bullet" + i]._x = -1000;
_root.armoury["bullet" + i]._y = -1000;
}
gotoAndPlay (6);
}
i++;
}
}
_parent.bullet_x[this_is] = _parent.bullet_x[this_is] + _parent.bullet_xs[this_is];
_parent.bullet_y[this_is] = _parent.bullet_y[this_is] + _parent.bullet_ys[this_is];
}
if ((_parent.bullet_x[this_is] > (_root.max_x + 20)) or (_parent.bullet_x[this_is] < -20)) {
_parent.bullet_on[this_is] = 0;
_parent.bullet_x[this_is] = -1000;
gotoAndPlay (4);
}
if ((_parent.bullet_y[this_is] > (_root.max_y + 20)) or (_parent.bullet_y[this_is] < -20)) {
_parent.bullet_on[this_is] = 0;
_parent.bullet_x[this_is] = -1000;
gotoAndPlay (4);
}
this._x = _parent.bullet_x[this_is];
this._y = _parent.bullet_y[this_is];
bull.gotoAndStop(_parent.bullet_type[this_is]);
if (this.hitTest(_root.ship.detect)) {
if (_root.shield_weapon != 1) {
_root.ship.alien_hit = _root.ship.alien_hit + weapon_strength;
}
_root.enemy_weapon_hit.start();
gotoAndPlay (6);
} else if (this.hitTest(_root.trailer.guardian) or (_root.nuking == 1)) {
_root.enemy_weapon_hit.start();
gotoAndPlay (6);
} else if (_root.clear_screen != 0) {
_parent.bullet_on[this_is] = 0;
_parent.bullet_x[this_is] = -1000;
}
if ((hit_points < 1) or (_root.nuking == 1)) {
_root.score = _root.score + score_worth;
ship_graphics.gotoAndStop(50);
smee = random(3);
if (smee == 0) {
_root.explosion1.start();
} else if (smee == 1) {
_root.explosion2.start();
} else if (smee == 2) {
_root.explosion3.start();
}
stop();
} else if (_root.clear_screen != 0) {
_parent.bullet_on[this_is] = 0;
_parent.bullet_x[this_is] = -1000;
}
Symbol 1355 MovieClip Frame 3
prevFrame();
play();
Symbol 1355 MovieClip Frame 5
jet_missile_timer = 0;
gotoAndPlay (2);
Symbol 1355 MovieClip Frame 17
_parent.bullet_on[this_is] = 0;
_parent.bullet_x[this_is] = -1000;
gotoAndPlay (2);
Symbol 1356 MovieClip Frame 1
bullet_on = new Array(number);
bullet_x = new Array(number);
bullet_y = new Array(number);
bullet_xs = new Array(number);
bullet_ys = new Array(number);
bullet_xt = new Array(number);
bullet_yt = new Array(number);
bullet_type = new Array(number);
max_bullets = 9;
bullets = 0;
i = 1;
while (i <= max_bullets) {
bullet_on[i] = 0;
bullet_x[i] = -1000;
bullet_y[i] = -1000;
bullet_xs[i] = 0;
bullet_ys[i] = 0;
bullet_type[i] = 0;
i++;
}
Symbol 1356 MovieClip Frame 2
a = 0;
if (_root.alien_fire == 1) {
_root.alien_fire = 0;
i = 1;
while (i <= max_bullets) {
if (a == 0) {
if (bullet_on[i] == 0) {
a = i;
bullet_x[a] = _root.alien_ship_x;
bullet_y[a] = _root.alien_ship_y;
if ((_root.alien_weapon_type == 4) or (_root.alien_weapon_type == 6)) {
_root.alienweapon4.start();
target_x = _root.ship.xx + (random(_root.fire_accuracy) - (_root.fire_accuracy / 2));
target_y = _root.ship.yy + (random(_root.fire_accuracy) - (_root.fire_accuracy / 2));
bullet_xt[a] = target_x;
bullet_yt[a] = target_y;
bullet_y[a] = bullet_y[a] + 10;
if (_root.alien_weapon_type == 4) {
xs = -20;
ys = 5;
} else {
xs = random(61) - 30;
ys = random(61) - 30;
}
} else if (_root.alien_weapon_type == 9) {
_root.alienweapon3.start();
target_x = _root.ship.xx + (random(_root.fire_accuracy) - (_root.fire_accuracy / 2));
target_y = _root.ship.yy + (random(_root.fire_accuracy) - (_root.fire_accuracy / 2));
aq = _root.alien_ship_x - target_x;
bq = _root.alien_ship_y - target_y;
hq = Math.sqrt((aq * aq) + (bq * bq)) / 100;
xs = (target_x - _root.alien_ship_x) / (_root.alien_weapon_speed * hq);
ys = 1;
} else if (_root.alien_weapon_type == 2) {
target_x = _root.ship.xx + (random(_root.fire_accuracy) - (_root.fire_accuracy / 2));
target_y = _root.ship.yy + (random(_root.fire_accuracy) - (_root.fire_accuracy / 2));
aq = _root.alien_ship_x - target_x;
bq = _root.alien_ship_y - target_y;
hq = Math.sqrt((aq * aq) + (bq * bq)) / 100;
xs = (target_x - _root.alien_ship_x) / (_root.alien_weapon_speed * hq);
ys = ((target_y - _root.alien_ship_y) / (_root.alien_weapon_speed * hq)) * 2.5;
} else {
_root.alienweapon3.start();
target_x = _root.ship.xx + (random(_root.fire_accuracy) - (_root.fire_accuracy / 2));
target_y = _root.ship.yy + (random(_root.fire_accuracy) - (_root.fire_accuracy / 2));
aq = _root.alien_ship_x - target_x;
bq = _root.alien_ship_y - target_y;
hq = Math.sqrt((aq * aq) + (bq * bq)) / 100;
xs = (target_x - _root.alien_ship_x) / (_root.alien_weapon_speed * hq);
ys = (target_y - _root.alien_ship_y) / (_root.alien_weapon_speed * hq);
}
bullet_xs[a] = xs;
bullet_ys[a] = ys;
bullet_on[a] = 1;
bullet_type[a] = _root.alien_weapon_type;
if (_root.alien_weapon_type != 5) {
gotoAndPlay (4);
}
}
}
i++;
}
}
Symbol 1356 MovieClip Frame 3
prevFrame();
play();
Symbol 1356 MovieClip Frame 7
gotoAndPlay (2);
Symbol 1356 MovieClip Frame 35
gotoAndPlay (2);
Symbol 1365 MovieClip Frame 5
stop();
Symbol 1382 MovieClip Frame 40
stop();
Symbol 1387 MovieClip Frame 5
stop();
Symbol 1397 MovieClip Frame 40
stop();
Symbol 1398 MovieClip Frame 1
stop();
Symbol 1398 MovieClip Frame 21
stop();
Symbol 1399 MovieClip Frame 1
_parent.bullets = _parent.bullets + 1;
this_is = _parent.bullets;
Symbol 1399 MovieClip Frame 2
if (ison == 1) {
if (bulltype == 7) {
xs = xs * 1.18;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs < 0) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if ((_x > (_root.max_x + 20)) or (_x < -20)) {
ison = 0;
_x = -1000;
gotoAndPlay (4);
}
if ((_y > (_root.max_y + 20)) or (_y < -20)) {
ison = 0;
_x = -1000;
gotoAndPlay (4);
}
bull.gotoAndStop(bulldisp);
Symbol 1399 MovieClip Frame 3
prevFrame();
play();
Symbol 1399 MovieClip Frame 5
gotoAndPlay (2);
Symbol 1400 MovieClip Frame 1
_root.fire = 0;
_root.shield_weapon = 0;
altcounter = 0;
bullets = 0;
max_bullets = 9;
weapon_strength = new Array(Number);
weapon_xs = new Array(Number);
weapon_ys = new Array(Number);
weapon_altx = new Array(Number);
weapon_alty = new Array(Number);
weapon_xsrand = new Array(Number);
weapon_ysrand = new Array(Number);
weapon_repeat = new Array(Number);
weapon_liveon = new Array(Number);
weapon_strength[1] = 1.5;
weapon_xs[1] = 20;
weapon_ys[1] = 0;
weapon_altx[1] = 0;
weapon_alty[1] = 0;
weapon_xsrand[1] = 0;
weapon_ysrand[1] = 2;
weapon_repeat[1] = 17;
weapon_liveon[1] = 0;
weapon_strength[2] = 3;
weapon_xs[2] = 20;
weapon_ys[2] = 0;
weapon_altx[2] = 0;
weapon_alty[2] = 0;
weapon_xsrand[2] = 0;
weapon_ysrand[2] = 5;
weapon_repeat[2] = 17;
weapon_liveon[2] = 0;
weapon_strength[3] = 1.5;
weapon_xs[3] = 60;
weapon_ys[3] = 0;
weapon_altx[3] = 0;
weapon_alty[3] = 0;
weapon_xsrand[3] = 0;
weapon_ysrand[3] = 0;
weapon_repeat[3] = 14;
weapon_liveon[3] = 1;
weapon_strength[4] = 3.9;
weapon_xs[4] = 20;
weapon_ys[4] = 2;
weapon_altx[4] = 0;
weapon_alty[4] = 1;
weapon_xsrand[4] = 0;
weapon_ysrand[4] = 0;
weapon_repeat[4] = 17;
weapon_liveon[4] = 0;
weapon_strength[5] = 0.8;
weapon_xs[5] = 20;
weapon_ys[5] = 0;
weapon_altx[5] = 1;
weapon_alty[5] = 0;
weapon_xsrand[5] = 0;
weapon_ysrand[5] = 0;
weapon_repeat[5] = 17;
weapon_liveon[5] = 1;
weapon_strength[6] = 1.2;
weapon_xs[6] = 17;
weapon_ys[6] = 12;
weapon_altx[6] = 1;
weapon_alty[6] = 1;
weapon_xsrand[6] = 2;
weapon_ysrand[6] = 2;
weapon_repeat[6] = 18;
weapon_liveon[6] = 1;
weapon_strength[7] = 4;
weapon_xs[7] = 2;
weapon_ys[7] = 0;
weapon_altx[7] = 0;
weapon_alty[7] = 0;
weapon_xsrand[7] = 0;
weapon_ysrand[7] = 0;
weapon_repeat[7] = 16;
weapon_liveon[7] = 1;
Symbol 1400 MovieClip Frame 2
a = 0;
if (((_root.fire == 1) and (_root.ship.shield > 0)) and (_root.chilling != 1)) {
a = 0;
i = 1;
while (i <= max_bullets) {
if (a == 0) {
if (this["bullet" + i].ison != 1) {
a = i;
this["bullet" + i]._x = _root.ship._x;
this["bullet" + i]._y = _root.ship._y;
this["bullet" + a].xs = weapon_xs[_root.weapon_type];
if (weapon_xsrand[_root.weapon_type] > 0) {
this["bullet" + a].xs = this["bullet" + a].xs + (random(weapon_xsrand[_root.weapon_type] * 2) - weapon_xsrand[_root.weapon_type]);
}
this["bullet" + a].ys = weapon_ys[_root.weapon_type];
if (weapon_ysrand[_root.weapon_type] > 0) {
this["bullet" + a].ys = this["bullet" + a].ys + (random(weapon_ysrand[_root.weapon_type] * 2) - weapon_ysrand[_root.weapon_type]);
}
this["bullet" + a].ison = 1;
if (_root.weapon_type == 1) {
_root.weapon6.start();
} else if (_root.weapon_type == 2) {
_root.weapon5.start();
} else if (_root.weapon_type == 3) {
_root.weapon4.start();
} else if (_root.weapon_type == 4) {
choosey = random(3);
if (choosey == 0) {
_root.weapon3.start();
} else if (choosey == 1) {
_root.weapon32.start();
} else if (choosey == 2) {
_root.weapon33.start();
}
} else if (_root.weapon_type == 5) {
_root.weapon2.start();
} else if (_root.weapon_type == 6) {
_root.v4.start();
} else if (_root.weapon_type == 7) {
_root.wep7.start();
}
this["bullet" + a].bulltype = _root.weapon_type;
if (_root.memory.data.quality_pos == 4) {
this["bullet" + a].bulldisp = _root.weapon_type + 20;
} else {
this["bullet" + a].bulldisp = _root.weapon_type;
}
gotoAndPlay(weapon_repeat[_root.weapon_type]);
}
}
i++;
}
}
if ((weapon_altx[_root.weapon_type] == 1) and (weapon_alty[_root.weapon_type] == 1)) {
altcounter = altcounter + 1;
if (altcounter > 1) {
altcounter = 0;
}
if (altcounter == 0) {
weapon_xs[_root.weapon_type] = -weapon_xs[_root.weapon_type];
}
if (altcounter == 1) {
weapon_ys[_root.weapon_type] = -weapon_ys[_root.weapon_type];
}
} else {
if (weapon_altx[_root.weapon_type] == 1) {
weapon_xs[_root.weapon_type] = -weapon_xs[_root.weapon_type];
}
if (weapon_alty[_root.weapon_type] == 1) {
weapon_ys[_root.weapon_type] = -weapon_ys[_root.weapon_type];
}
}
Symbol 1400 MovieClip Frame 3
prevFrame();
play();
Symbol 1400 MovieClip Frame 20
gotoAndPlay (2);
Symbol 1402 Button
on (keyPress "1") {
if (_root.weapon_got_1 == 1) {
_root.weapon_type = 1;
_root.shield_weapon = 0;
_root.click.start();
if (_root.shield_weapon > 0) {
_root.armoury.shield_sound.gotoAndPlay(5);
}
} else {
_root.bad_buy.start();
}
}
on (keyPress "2") {
if (_root.weapon_got_2 == 1) {
_root.weapon_type = 2;
_root.shield_weapon = 0;
_root.click.start();
if (_root.shield_weapon > 0) {
_root.armoury.shield_sound.gotoAndPlay(5);
}
} else {
_root.bad_buy.start();
}
}
on (keyPress "3") {
if (_root.weapon_got_3 == 1) {
_root.weapon_type = 3;
_root.shield_weapon = 0;
_root.click.start();
if (_root.shield_weapon > 0) {
_root.armoury.shield_sound.gotoAndPlay(5);
}
} else {
_root.bad_buy.start();
}
}
on (keyPress "4") {
if (_root.weapon_got_4 == 1) {
_root.weapon_type = 4;
_root.shield_weapon = 0;
_root.click.start();
if (_root.shield_weapon > 0) {
_root.armoury.shield_sound.gotoAndPlay(5);
}
} else {
_root.bad_buy.start();
}
}
on (keyPress "5") {
if (_root.weapon_got_5 == 1) {
_root.weapon_type = 5;
_root.shield_weapon = 0;
_root.click.start();
if (_root.shield_weapon > 0) {
_root.armoury.shield_sound.gotoAndPlay(5);
}
} else {
_root.bad_buy.start();
}
}
on (keyPress "6") {
if (_root.weapon_got_6 == 1) {
_root.weapon_type = 6;
_root.shield_weapon = 0;
_root.click.start();
if (_root.shield_weapon > 0) {
_root.armoury.shield_sound.gotoAndPlay(5);
}
} else {
_root.bad_buy.start();
}
}
on (keyPress "7") {
if (_root.weapon_got_7 == 1) {
_root.weapon_type = 7;
_root.shield_weapon = 0;
_root.click.start();
if (_root.shield_weapon > 0) {
_root.armoury.shield_sound.gotoAndPlay(5);
}
} else {
_root.bad_buy.start();
}
}
Symbol 1425 Button
on (release) {
_parent.play();
}
Symbol 1427 Button
on (press) {
pressupd = 1;
}
on (release, releaseOutside) {
pressupd = 0;
}
Symbol 1428 Button
on (press) {
pressdownd = 1;
}
on (release, releaseOutside) {
pressdownd = 0;
}
Symbol 1429 Button
on (press) {
pressupf = 1;
}
on (release, releaseOutside) {
pressupf = 0;
}
Symbol 1430 Button
on (press) {
pressdownf = 1;
}
on (release, releaseOutside) {
pressdownf = 0;
}
Symbol 1434 Button
on (release) {
_root.type_worm = 1;
gotoAndStop (2);
}
Symbol 1438 Button
on (release) {
_root.type_worm = 0;
gotoAndStop (1);
}
Symbol 1439 MovieClip Frame 1
if (_root.type_worm == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
Symbol 1443 Button
on (release) {
_root.type_cowboss = 1;
gotoAndStop (2);
}
Symbol 1444 Button
on (release) {
_root.type_cowboss = 0;
gotoAndStop (1);
}
Symbol 1445 MovieClip Frame 1
if (_root.type_cowboss == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
Symbol 1449 Button
on (release) {
_root.bgoffset = 30;
_root.nuking = 1;
_root.nuke.play();
}
Symbol 1453 Button
on (release) {
_root.type_human = 1;
gotoAndStop (2);
}
Symbol 1454 Button
on (release) {
_root.type_human = 0;
gotoAndStop (1);
}
Symbol 1455 MovieClip Frame 1
if (_root.type_human == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
Symbol 1459 Button
on (release) {
_root.type_turret = 1;
gotoAndStop (2);
}
Symbol 1460 Button
on (release) {
_root.type_turret = 0;
gotoAndStop (1);
}
Symbol 1461 MovieClip Frame 1
if (_root.type_turret == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
Symbol 1465 Button
on (release) {
_root.type_cow = 1;
gotoAndStop (2);
}
Symbol 1466 Button
on (release) {
_root.type_cow = 0;
gotoAndStop (1);
}
Symbol 1467 MovieClip Frame 1
if (_root.type_cow == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
Symbol 1471 Button
on (release) {
_root.type_sheep = 1;
gotoAndStop (2);
}
Symbol 1472 Button
on (release) {
_root.type_sheep = 0;
gotoAndStop (1);
}
Symbol 1473 MovieClip Frame 1
if (_root.type_sheep == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
Symbol 1477 Button
on (release) {
_root.type_jet = 1;
gotoAndStop (2);
}
Symbol 1478 Button
on (release) {
_root.type_jet = 0;
gotoAndStop (1);
}
Symbol 1479 MovieClip Frame 1
if (_root.type_jet == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
Symbol 1483 Button
on (release) {
_root.type_saucer = 1;
gotoAndStop (2);
}
Symbol 1484 Button
on (release) {
_root.type_saucer = 0;
gotoAndStop (1);
}
Symbol 1485 MovieClip Frame 1
if (_root.type_saucer == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
Symbol 1489 Button
on (release) {
_root.type_pyramid = 1;
gotoAndStop (2);
}
Symbol 1490 Button
on (release) {
_root.type_pyramid = 0;
gotoAndStop (1);
}
Symbol 1491 MovieClip Frame 1
if (_root.type_pyramid == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
Symbol 1495 Button
on (release) {
_root.type_boss = 1;
gotoAndStop (2);
}
Symbol 1496 Button
on (release) {
_root.type_boss = 0;
gotoAndStop (1);
}
Symbol 1497 MovieClip Frame 1
if (_root.type_boss == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
Symbol 1501 Button
on (release) {
_root.top_shield = 75;
_root.ship.max_shield = _root.top_shield;
_root.ship.shield = _root.ship.max_shield;
_root.shield_weapon_charge_top = 100;
_root.shield_weapon_charge_max = _root.shield_weapon_charge_top;
_root.shield_weapon_charge = _root.shield_weapon_charge_top;
gotoAndStop (2);
}
Symbol 1502 Button
on (release) {
_root.top_shield = 7000000000;
_root.ship.max_shield = _root.top_shield;
_root.ship.shield = _root.ship.max_shield;
_root.shield_weapon_charge_top = 7000000000;
_root.shield_weapon_charge_max = _root.shield_weapon_charge_top;
_root.shield_weapon_charge = _root.shield_weapon_charge_top;
gotoAndStop (1);
}
Symbol 1503 MovieClip Frame 1
stop();
Symbol 1507 Button
on (release) {
_root.section = _root.section + 1;
if (_root.section > _root.max_sections) {
_root.section = 1;
}
_root.setting_controls_root.oldbg = -9000;
}
Symbol 1508 MovieClip Frame 1
pressdownd = 0;
pressupd = 0;
pressdownf = 0;
pressupf = 0;
Symbol 1508 MovieClip Frame 2
fp = _root.formations + 1;
dp = _root.density + 1;
if (pressupd == 1) {
if (_root.density < 98) {
_root.density = _root.density + 1;
}
}
if (pressdownd == 1) {
if (_root.density > 2) {
_root.density = _root.density - 1;
}
}
if (pressupf == 1) {
if (_root.formations < 98) {
_root.formup = 1;
}
}
if (pressdownf == 1) {
if (_root.formations > 1) {
_root.formdown = 1;
}
}
Symbol 1508 MovieClip Frame 3
prevFrame();
play();
Symbol 1511 Button
on (release) {
_root.gotoAndPlay("backtomenu");
_root.music_controller.tobequeueup = -2;
_root.music_controller.queueup = -2;
}
Symbol 1514 Button
on (release) {
play();
}
Symbol 1517 MovieClip Frame 1
stop();
Symbol 1517 MovieClip Frame 9
stop();
Symbol 1518 MovieClip Frame 1
if (_root.playmode != "god") {
gotoAndStop (18);
}
Symbol 1518 MovieClip Frame 9
stop();
Symbol 1518 MovieClip Frame 16
stop();
Symbol 1518 MovieClip Frame 17
if (_root.playmode == "god") {
gotoAndPlay (2);
}
Symbol 1518 MovieClip Frame 18
stop();
Symbol 1533 MovieClip Frame 1
if (_root.controls == "keyboard") {
stop();
} else if (_root.controls == "mouse") {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
Symbol 1549 MovieClip Frame 1
_x = random(640);
_y = random(460);
Symbol 1551 MovieClip Frame 1
stop();
Symbol 1551 MovieClip Frame 2
_root.nuking = 1;
Symbol 1551 MovieClip Frame 3
_root.nuking = 1;
Symbol 1551 MovieClip Frame 34
_root.nuking = 0;
Symbol 1556 Button
on (release) {
_root.gotoAndPlay("backtomenu");
_root.set_music(-2);
}
Symbol 1559 Button
on (release) {
gotoAndPlay (247);
}
Symbol 1560 Button
on (release) {
gotoAndPlay ("backtomenu");
_root.set_music(-2);
}
Symbol 1563 Button
on (release) {
gotoAndPlay (1078);
}
Symbol 1577 Button
on (release) {
gotoAndPlay (3);
}
Symbol 1584 MovieClip Frame 1
stop();
Symbol 1591 MovieClip Frame 2
prevFrame();
play();
Symbol 1591 MovieClip Frame 4
_root.unlocker.removeMovieClip();
_root.attachMovie("Unlock menu", "unlocker", _root.getNextHighestDepth());
_root.unlocker.unlock_name = "Unlock SupaCharge";
_root.unlocker.unlock_cost = 4;
_root.unlocker.unlock_item = 1;
_root.unlocker._x = 320;
_root.unlocker._y = 230;
_root.unlocker.exception = 1;
Symbol 1591 MovieClip Frame 6
prevFrame();
play();
Symbol 1591 MovieClip Frame 9
gotoAndPlay (1);
Symbol 1591 MovieClip Frame 17
gotoAndPlay (1);
Symbol 1601 Button
on (release) {
nextFrame();
_root.memory.data.glitterball = "off";
_root.memory.flush();
_root.glitterball.g.gotoAndPlay(22);
}
Symbol 1602 Button
on (release) {
_root.memory.data.glitterball = "on";
_root.memory.flush();
_root.glitterball.g.gotoAndPlay(2);
prevFrame();
}
Symbol 1603 MovieClip Frame 1
if (_root.memory.data.glitterball == "off") {
gotoAndStop (2);
} else {
stop();
}
Symbol 1618 MovieClip Frame 1
gotoAndStop(random(13) + 1);
Symbol 1619 MovieClip Frame 1
gotoAndStop(random(_totalframes) + 1);
Symbol 1623 MovieClip Frame 1
gotoAndStop(random(4) + 1);
Symbol 1632 MovieClip Frame 1
gotoAndStop(random(6) + 1);
Symbol 1641 MovieClip Frame 9
if (random(10) != 1) {
gotoAndPlay (1);
}
Symbol 1642 MovieClip Frame 1
ox = _x;
oy = _y;
Symbol 1642 MovieClip Frame 2
if (random(100) == 1) {
_x = ((ox + random(11)) - 5);
_y = ((oy + random(11)) - 5);
}
Symbol 1642 MovieClip Frame 3
prevFrame();
play();
Symbol 1649 Button
on (release) {
_root.unlocker.removeMovieClip();
_root.attachMovie("Unlock menu", "unlocker", _root.getNextHighestDepth());
_root.unlocker.unlock_name = "Drink Lesser Heal";
_root.unlocker.unlock_cost = 1;
_root.unlocker.unlock_item = 15;
_root.unlocker._x = 320;
_root.unlocker._y = 230;
_root.unlocker.exception = 2;
}
Symbol 1652 Button
on (release) {
_root.unlocker.removeMovieClip();
_root.attachMovie("Unlock menu", "unlocker", _root.getNextHighestDepth());
_root.unlocker.unlock_name = "Drink Greater Heal";
_root.unlocker.unlock_cost = 2;
_root.unlocker.unlock_item = 16;
_root.unlocker._x = 320;
_root.unlocker._y = 230;
_root.unlocker.exception = 2;
}
Symbol 1655 Button
on (release) {
_root.unlocker.removeMovieClip();
_root.attachMovie("Unlock menu", "unlocker", _root.getNextHighestDepth());
_root.unlocker.unlock_name = "Drink Lesser Faith";
_root.unlocker.unlock_cost = 1;
_root.unlocker.unlock_item = 13;
_root.unlocker._x = 320;
_root.unlocker._y = 230;
_root.unlocker.exception = 2;
}
Symbol 1658 Button
on (release) {
_root.unlocker.removeMovieClip();
_root.attachMovie("Unlock menu", "unlocker", _root.getNextHighestDepth());
_root.unlocker.unlock_name = "Drink Greater Faith";
_root.unlocker.unlock_cost = 2;
_root.unlocker.unlock_item = 14;
_root.unlocker._x = 320;
_root.unlocker._y = 230;
_root.unlocker.exception = 2;
}
Symbol 1669 MovieClip Frame 1
count = 0;
a = 0;
sh = new Array(230, 75, 385, -30, 490, -140, 600);
c = new Array(0, 100, -100, 150, -150, 200, -200);
n = 0;
while (n < 30) {
a = a + 1;
if (a > 6) {
a = 0;
}
count = count + 1;
this.attachMovie("mb_spot", "spot" + count, this.getNextHighestDepth());
this["spot" + count].spot_height = sh[a];
this["spot" + count].curve = c[a];
this["spot" + count]._x = 840 - (n * 30);
this["spot" + count]._y = 1;
this["spot" + count].basic_xs = -10;
n++;
}
Symbol 1669 MovieClip Frame 2
sh = new Array(230, 75, 385, -30, 490, -140, 600);
c = new Array(0, 100, -100, 150, -150, 200, -200);
a = a + 1;
if (a > 6) {
a = 0;
}
count = count + 1;
this.attachMovie("mb_spot", "spot" + count, this.getNextHighestDepth());
this["spot" + count].spot_height = sh[a];
this["spot" + count].curve = c[a];
this["spot" + count]._x = 840;
this["spot" + count]._y = 1;
this["spot" + count].basic_xs = -10;
Symbol 1669 MovieClip Frame 4
gotoAndPlay (2);
Symbol 1673 MovieClip Frame 1
if (_root.lighton == 1) {
gotoAndStop (30);
}
Symbol 1673 MovieClip Frame 30
stop();
Symbol 1674 MovieClip Frame 1
if (_root.memory.data.glitterball == "on") {
play();
} else {
gotoAndStop (51);
}
Symbol 1674 MovieClip Frame 21
stop();
Symbol 1674 MovieClip Frame 38
stop();
Symbol 1678 Button
on (release) {
_root.unlocker.removeMovieClip();
_root.angelspeek.removeMovieClip();
gotoAndPlay ("nextsection");
}
Symbol 1683 MovieClip Frame 30
_root.lighton = 1;
stop();
Symbol 1687 MovieClip Frame 27
stop();
Symbol 1690 Button
on (release) {
getURL ("http://www.funnylishus.com/index.php?custom=angelcakes&subcust=start", "_blank");
}
Symbol 1700 MovieClip Frame 1
xs = random(7) - 3;
ys = 0;
xt = this._x;
yt = this._y - (random(13) - 6);
accel = 1;
Symbol 1700 MovieClip Frame 2
if (this._x > xt) {
xs = xs - accel;
}
if (this._x < xt) {
xs = xs + accel;
}
if (this._y > yt) {
ys = ys - accel;
}
if (this._y < yt) {
ys = ys + accel;
}
this._x = this._x + xs;
this._y = this._y + ys;
Symbol 1700 MovieClip Frame 3
prevFrame();
play();
Symbol 1703 MovieClip Frame 2
if (det.hitTest(_root.ship.detect)) {
if (_root.current_difficulty == "Difficulty - Easy") {
ug = 7;
ugt = "+7 Keys";
} else if (_root.current_difficulty == "Difficulty - Medium") {
ug = 14;
ugt = "+14 Keys";
} else {
ug = 21;
ugt = "+21 Keys";
}
_root.memory.data.unlock_tokens = _root.memory.data.unlock_tokens + ug;
_root.memory.flush();
_root.pickup.start();
gotoAndPlay (4);
}
Symbol 1703 MovieClip Frame 3
prevFrame();
play();
Symbol 1703 MovieClip Frame 40
stop();
Symbol 1704 MovieClip Frame 1
gotoAndStop(random(_totalframes) + 1);
Symbol 1707 MovieClip Frame 1
_x = random(640);
_y = (random(560) - 100);
scale = random(100) + 1;
if (random(2) == 1) {
scale = random(50) + 1;
}
ys = scale / 20;
xs = (random(11) - 5) / (((-scale) + 100) * 3);
_xscale = scale;
_yscale = scale;
rotsp = (random(100) - 50) / 20;
cake.gotoAndStop(scale);
Symbol 1707 MovieClip Frame 2
_y = (_y + ys);
_x = (_x + xs);
_rotation = (_rotation + rotsp);
if (_y > 560) {
_x = random(640);
_y = -100;
scale = random(100) + 1;
if (random(2) == 1) {
scale = random(50) + 1;
}
ys = scale / 20;
xs = (random(11) - 5) / (((-scale) + 100) * 3);
_xscale = scale;
_yscale = scale;
rotsp = (random(100) - 50) / 20;
cake.gotoAndStop(scale);
}
Symbol 1707 MovieClip Frame 3
prevFrame();
play();
Symbol 1715 MovieClip Frame 1
xs = 1.5;
ys = 0.1;
xt = this._x;
yt = this._y - 3;
accel = 0.5;
Symbol 1715 MovieClip Frame 2
if (this._x > xt) {
xs = xs - accel;
}
if (this._x < xt) {
xs = xs + accel;
}
if (this._y > yt) {
ys = ys - accel;
}
if (this._y < yt) {
ys = ys + accel;
}
this._x = this._x + xs;
this._y = this._y + ys;
Symbol 1715 MovieClip Frame 3
prevFrame();
play();
Symbol 1717 Button
on (release) {
gotoAndPlay ("goingnow");
targ = "menu";
_root.set_music(-2);
}
Symbol 1718 Button
on (release) {
gotoAndPlay ("goingnow");
targ = "high";
_root.set_music(-2);
}
Symbol 1727 MovieClip Frame 2
if (_root.memory.data.music_pos != 1) {
if (random(40) == 1) {
a = random(6);
gotoAndPlay((a * 2) + 4);
}
} else {
stop();
}
Symbol 1727 MovieClip Frame 3
prevFrame();
play();
Symbol 1727 MovieClip Frame 5
gotoAndPlay (2);
Symbol 1727 MovieClip Frame 7
gotoAndPlay (2);
Symbol 1727 MovieClip Frame 9
gotoAndPlay (2);
Symbol 1727 MovieClip Frame 11
gotoAndPlay (2);
Symbol 1727 MovieClip Frame 13
gotoAndPlay (2);
Symbol 1727 MovieClip Frame 15
gotoAndPlay (2);
Symbol 1743 Button
on (release) {
gotoAndPlay (1081);
}
Symbol 1748 Button
on (release) {
gotoAndStop (1080);
gametypepos = gametypepos + 1;
if (gametypepos >= maxgametypes) {
gametypepos = 0;
}
gametype = gametypes[gametypepos];
var table = new TextScoreTable(score_table);
var boardid = ("3412aef60ad18637_" + _root.gametypes[gametypepos]);
table.reset("Fetching high scores...");
var hasNetwork = MochiAd.fetchHighScores({id:boardid}, table, "gotScores");
if (!hasNetwork) {
table.reset("Local sandbox does not allow network, try playing online.");
}
}
Symbol 1751 Button
on (release) {
getURL ("http://www.gothopera.co.uk", "_blank");
}
Symbol 1752 Button
on (release) {
gotoAndPlay (233);
}
Symbol 1753 Button
on (release) {
gametypepos = gametypepos + 1;
if (gametypepos >= maxgametypes) {
gametypepos = 0;
}
gametype = gametypes[gametypepos];
var table = new TextScoreTable(score_table);
var boardid = ("3412aef60ad18637_" + _root.gametypes[gametypepos]);
table.reset("Fetching high scores...");
var hasNetwork = MochiAd.fetchHighScores({id:boardid}, table, "gotScores");
if (!hasNetwork) {
table.reset("Local sandbox does not allow network, try playing online.");
}
}