Combined Code
movieClip 3 {
}
movieClip 5 {
}
movieClip 7 {
}
movieClip 9 {
}
movieClip 11 {
}
movieClip 13 {
}
movieClip 15 {
}
movieClip 17 {
}
movieClip 18 bug1h {
frame 1 {
removethis = false;
onEnterFrame = function () {
_x = _x + speed.x;
_y = _y + speed.y;
timer -= 1;
len -= 1;
if (timer == _root.flashtime) {
my_color = new Color(this);
myColorTransform = {'ra': 100, 'rb': 255, 'ga': 100, 'gb': 255, 'ba': 100, 'bb': 255};
my_color.setTransform(myColorTransform);
}
if (timer == _root.flashtime - 1) {
my_color = new Color(this);
myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0};
my_color.setTransform(myColorTransform);
}
if (len > 0 && len % _root.factor == 0) {
_root.gen3(id);
}
if (len == 0) {
_root.gen4(id);
}
if (removethis) {
_visible = false;
timer = 9999;
_x = 5000;
if (len <= 0) {
removeMovieClip(this);
}
}
if (_root.detectHit(timer, id, typ)) {
_root.removeArray.push(this);
}
if (_root.pforms.hitTest(_x, _y, true)) {
if (len <= 0) {
removeMovieClip(this);
} else {
_visible = false;
}
}
};
}
}
movieClip 20 {
}
movieClip 22 {
}
movieClip 24 {
}
movieClip 26 {
}
movieClip 28 {
}
movieClip 30 {
}
movieClip 32 {
}
movieClip 34 {
}
movieClip 35 bug1t {
frame 1 {
onEnterFrame = function () {
_x = _x + speed.x;
_y = _y + speed.y;
timer -= 1;
if (timer == _root.flashtime) {
my_color = new Color(this);
myColorTransform = {'ra': 100, 'rb': 255, 'ga': 100, 'gb': 255, 'ba': 100, 'bb': 255};
my_color.setTransform(myColorTransform);
}
if (timer == _root.flashtime - 1) {
my_color = new Color(this);
myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0};
my_color.setTransform(myColorTransform);
}
if (_root.detectHit(timer, id, typ)) {
_root.removeArray.push(this);
}
if (_root.pforms.hitTest(_x, _y, true)) {
if (_root.portal2._currentframe != 2) {
_root.portal2.gotoAndPlay(2);
}
_root.portal2.play();
_root.portal2.id = id;
removeMovieClip(this);
}
};
}
}
movieClip 37 {
}
movieClip 39 {
}
movieClip 41 {
}
movieClip 43 {
}
movieClip 45 {
}
movieClip 47 {
}
movieClip 49 {
}
movieClip 51 {
}
movieClip 52 bug1b {
frame 1 {
onEnterFrame = function () {
_x = _x + speed.x;
_y = _y + speed.y;
timer -= 1;
if (timer == _root.flashtime) {
my_color = new Color(this);
myColorTransform = {'ra': 100, 'rb': 255, 'ga': 100, 'gb': 255, 'ba': 100, 'bb': 255};
my_color.setTransform(myColorTransform);
}
if (timer == _root.flashtime - 1) {
my_color = new Color(this);
myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0};
my_color.setTransform(myColorTransform);
}
if (_root.detectHit(timer, id, typ)) {
_root.removeArray.push(this);
}
if (_root.pforms.hitTest(_x, _y, true)) {
removeMovieClip(this);
}
};
}
}
movieClip 60 {
}
movieClip 62 {
frame 13 {
stop();
}
}
movieClip 64 {
frame 13 {
stop();
}
}
movieClip 66 {
frame 13 {
stop();
}
}
movieClip 68 {
frame 13 {
stop();
}
}
movieClip 70 {
frame 13 {
stop();
}
}
movieClip 72 {
frame 13 {
stop();
}
}
movieClip 74 {
frame 13 {
stop();
}
}
movieClip 76 {
frame 13 {
stop();
}
}
movieClip 77 bug {
frame 1 {
onEnterFrame = function () {
_x = _x + speed.x;
_y = _y + speed.y;
timer -= 1;
if (timer == _root.flashtime) {
my_color = new Color(this);
myColorTransform = {'ra': 100, 'rb': 255, 'ga': 100, 'gb': 255, 'ba': 100, 'bb': 255};
my_color.setTransform(myColorTransform);
}
if (timer == _root.flashtime - 1) {
my_color = new Color(this);
myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0};
my_color.setTransform(myColorTransform);
}
if (_root.detectHit(timer, id, typ)) {
_root.removeArray.push(this);
}
if (_root.pforms.hitTest(_x, _y, true)) {
if (_root.portal._currentframe != 2) {
_root.portal.gotoAndPlay(2);
}
_root.portal.id = id;
_root.portal.play();
removeMovieClip(this);
}
};
}
}
movieClip 81 {
}
movieClip 85 {
}
movieClip 113 splode {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 2 {
function changeCol() {
var v3 = new Color(this.stroke);
var v2 = new Color(this.fill);
switch (this.col) {
case 0:
v3.setRGB(10027008);
v2.setRGB(16711680);
break;
case 1:
v3.setRGB(7751425);
v2.setRGB(16751872);
break;
case 2:
v3.setRGB(4932609);
v2.setRGB(16775936);
break;
case 3:
v3.setRGB(5470720);
v2.setRGB(11468544);
break;
case 4:
v3.setRGB(2260736);
v2.setRGB(4521728);
break;
case 5:
v3.setRGB(32614);
v2.setRGB(65484);
break;
case 6:
v3.setRGB(127);
v2.setRGB(255);
break;
case 7:
v3.setRGB(4987238);
v2.setRGB(10040268);
}
}
changeCol();
}
frame 3 {
changeCol();
}
frame 4 {
changeCol();
}
frame 5 {
changeCol();
}
frame 6 {
changeCol();
}
frame 7 {
changeCol();
}
frame 8 {
changeCol();
}
frame 9 {
changeCol();
}
frame 10 {
changeCol();
}
frame 11 {
changeCol();
}
}
frame 1 {
stop();
Stage.showMenu = false;
}
// unknown tag 88 length 68
movieClip 118 {
}
movieClip 120 {
}
movieClip 122 {
}
movieClip 123 {
frame 1 {
stop();
}
frame 21 {
this._parent.burst.gotoAndPlay(2);
}
frame 34 {
this._parent.burst.gotoAndPlay(2);
}
frame 41 {
this._parent.burst.gotoAndPlay(2);
}
frame 48 {
this._parent.burst.gotoAndPlay(2);
}
frame 56 {
this._parent.burst.gotoAndPlay(2);
}
frame 63 {
this._parent.burst.gotoAndPlay(2);
}
frame 70 {
this._parent.burst.gotoAndPlay(2);
}
frame 77 {
this._parent.burst.gotoAndPlay(2);
}
frame 84 {
this._parent.burst.gotoAndPlay(2);
}
frame 92 {
this._parent.burst.gotoAndPlay(2);
}
frame 99 {
this._parent.burst.gotoAndPlay(2);
}
}
movieClip 125 {
}
movieClip 126 {
frame 1 {
stop();
}
frame 20 {
stop();
}
}
movieClip 133 {
frame 1 {
stop();
}
}
movieClip 135 {
frame 1 {
this.onRelease = function () {
getURL('http://www.armorgames.com', '_blank');
};
}
}
movieClip 139 {
frame 1 {
this.onRelease = function () {
getURL('http://www.newgrounds.com', '_blank');
};
}
}
// unknown tag 88 length 68
movieClip 143 {
}
// unknown tag 88 length 68
button 149 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
button 152 {
on (release) {
getURL('http://www.armorgames.com', '_blank');
}
}
movieClip 162 {
}
movieClip 163 {
frame 22 {
stop();
}
}
button 170 {
on (release) {
this._parent.gotoAndPlay('splode');
}
}
movieClip 171 {
frame 1 {
stop();
}
frame 41 {
stop();
}
}
movieClip 185 {
}
movieClip 186 {
frame 1 {
stop();
}
}
movieClip 204 {
frame 1 {
stop();
this.onEnterFrame = function () {
bl = _root.getBytesLoaded();
bt = _root.getBytesTotal();
perc = (bl / bt) * 100;
w = Math.floor(perc);
p = w + '%';
worm.gotoAndStop(w);
if (perc >= 21) {
ham.gotoAndStop(2);
}
if (perc >= 100) {
ham._visible = false;
cov.gotoAndPlay(2);
fadeit.gotoAndPlay(2);
delete this.onEnterFrame;
}
};
}
frame 57 {
_root.play();
}
}
movieClip 1077 __Packages.Vector {
#initclip
if (!_global.Vector) {
var v1 = function (i, j) {
this.x = i;
this.y = j;
};
_global.Vector = v1;
var v2 = v1.prototype;
v2.norm = function () {
var v2 = this.vLength();
this.x /= v2;
this.y /= v2;
};
v1.add = function (v, v2) {
return new Vector(v2.x + v.x, v2.y + v.y);
};
v1.subtract = function (v, v2) {
return new Vector(v.x - v2.x, v.y - v2.y);
};
v1.dot = function (v, v2) {
return v2.x * v.x + v2.y * v.y;
};
v1.angle = function (v, v2) {
return Math.acos(Vector.dot(v, v2) / v2.vLength() * v.vLength()) / 0.0174532925199433;
};
v1.angle2 = function (v, v2) {
var v1 = Vector.angle(v, v2);
if (Vector.comp(v.rotateNew(v1), v2) < 0.0001) {
return v1;
} else {
return -v1;
}
};
v1.comp = function (v, v2) {
return Math.abs(v.x / v.vLength() - v2.x / v2.vLength()) + Math.abs(v.y / v.vLength() - v2.y / v2.vLength());
};
v2.vLength = function () {
return Math.sqrt(this.x * this.x + this.y * this.y);
};
v2.perpendicular = function () {
return new Vector(-this.y, this.x);
};
v2.scale = function (val) {
this.x *= val;
this.y *= val;
};
v2.rotate = function (degrees) {
degrees *= 0.0174532925199433;
var v3 = Math.sin(degrees);
var v2 = Math.cos(degrees);
var v5 = this.x * v2 - this.y * v3;
var v4 = this.x * v3 + this.y * v2;
this.x = v5;
this.y = v4;
};
v2.rotateNew = function (degrees) {
degrees *= 0.0174532925199433;
var v3 = Math.sin(degrees);
var v2 = Math.cos(degrees);
var v5 = this.x * v2 - this.y * v3;
var v4 = this.x * v3 + this.y * v2;
return new Vector(v5, v4);
};
v2.reflect = function (normal) {
var v2 = new Vector(normal.x, normal.y);
v2.norm();
v2.scale(2 * Vector.dot(this, v2));
return Vector.subtract(this, v2);
};
v2.display = function (point, scale, tgt) {
tgt.lineStyle(3, 16777215, 100);
tgt.moveTo(point.x, point.y);
tgt.lineTo(point.x + this.x * scale, point.y + this.y * scale);
var v5 = new Vector(-this.x, -this.y);
v5.norm();
v5.scale(0.5);
v5.rotate(-45);
tgt.lineTo(point.x + this.x * scale + v5.x * scale, point.y + this.y * scale + v5.y * scale);
tgt.moveTo(point.x + this.x * scale, point.y + this.y * scale);
v5.rotate(90);
tgt.lineTo(point.x + this.x * scale + v5.x * scale, point.y + this.y * scale + v5.y * scale);
tgt.lineStyle(2, 0, 100);
tgt.moveTo(point.x, point.y);
tgt.lineTo(point.x + this.x * scale, point.y + this.y * scale);
var v6 = new Vector(-this.x, -this.y);
v6.norm();
v6.scale(0.5);
v6.rotate(-45);
tgt.lineTo(point.x + this.x * scale + v6.x * scale, point.y + this.y * scale + v6.y * scale);
tgt.moveTo(point.x + this.x * scale, point.y + this.y * scale);
v6.rotate(90);
tgt.lineTo(point.x + this.x * scale + v6.x * scale, point.y + this.y * scale + v6.y * scale);
};
ASSetPropFlags(_global.Vector.prototype, null, 1);
}
#endinitclip
}
movieClip 1078 __Packages.ab20 {
#initclip
if (!_global.ab20) {
var v1 = function () {};
_global.ab20 = v1;
var v2 = v1.prototype;
v1.fr = function (str, find, replace, limit) {
var v2 = str;
var v3;
var v4;
var v9;
if (typeof find !== 'string') {
if (replace === undefined) {
replace = [''];
} else {
if (typeof replace === 'string') {
replace = [replace];
}
}
} else {
find = [find];
replace = [replace];
}
v9 = find.length;
var v1 = 0;
var v5 = 0;
while (v1 < v9) {
v4 = v2.indexOf(find[v1]);
while (v4 !== -1) {
if (limit !== undefined && v5 >= limit) {
break;
}
v3 = new Array(v2.substring(0, v4), v2.substr(v4, find[v1].length), v2.substr(v4 + find[v1].length));
v3[1] = (replace[v1] === undefined) ? '' : replace[v1];
v2 = v3[0] + v3[1] + v3[2];
++v5;
}
v1++;
v5 = 0;
}
return v2;
};
v1.encodeNum = function (num) {
var v11 = getTimer();
var v6 = ['aZ', 'Zy', 'Zx'];
var v7 = ['zH', 'jY', 'uH'];
var v4 = ['Ah', 'Xh', 'hO'];
var v5 = ['Ub', 'Bu', 'Cb'];
var v8 = ['Qc', 'Pc', 'Pe'];
var v9 = ['Ei', 'Ie', 'Ef'];
var v3 = ['Fk', 'kG', 'Kg'];
var v13 = ['Jl', 'Lm', 'Mn'];
var v12 = ['No', 'Np', 'Qp'];
var v2 = ['Rs', 'St', 'Sw'];
var v14 = random(3);
num = String(num);
num = ab20.fr(num, '9', v6[random(3)], 1);
num = ab20.fr(num, '9', v6[random(3)], 1);
num = ab20.fr(num, '9', v6[random(3)], 1);
num = ab20.fr(num, '9', v6[random(3)], 1);
num = ab20.fr(num, '9', v6[random(3)], 1);
num = ab20.fr(num, '9', v6[random(3)], 1);
num = ab20.fr(num, '8', v7[random(3)], 1);
num = ab20.fr(num, '8', v7[random(3)], 1);
num = ab20.fr(num, '8', v7[random(3)], 1);
num = ab20.fr(num, '8', v7[random(3)], 1);
num = ab20.fr(num, '8', v7[random(3)], 1);
num = ab20.fr(num, '7', v4[random(3)], 1);
num = ab20.fr(num, '7', v4[random(3)], 1);
num = ab20.fr(num, '7', v4[random(3)], 1);
num = ab20.fr(num, '7', v4[random(3)], 1);
num = ab20.fr(num, '7', v4[random(3)], 1);
num = ab20.fr(num, '7', v4[random(3)], 1);
num = ab20.fr(num, '7', v4[random(3)], 1);
num = ab20.fr(num, '7', v4[random(3)], 1);
num = ab20.fr(num, '6', v5[random(3)], 1);
num = ab20.fr(num, '6', v5[random(3)], 1);
num = ab20.fr(num, '6', v5[random(3)], 1);
num = ab20.fr(num, '6', v5[random(3)], 1);
num = ab20.fr(num, '6', v5[random(3)], 1);
num = ab20.fr(num, '6', v5[random(3)], 1);
if (v14 == 1) {
num = ab20.fr(num, '5', v8[0]);
num = ab20.fr(num, '4', v9[random(3)]);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '2', v13[random(3)]);
num = ab20.fr(num, '1', v12[random(3)]);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
var v10 = getTimer() - v11;
num = num + 'Dd' + v10;
return num;
}
num = ab20.fr(num, '5', v8[random(3)]);
num = ab20.fr(num, '4', v9[random(3)]);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '2', v13[random(3)]);
num = ab20.fr(num, '1', v12[random(3)]);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
var v10 = getTimer() - v11;
num = num + 'Dd' + v10;
return num;
};
v1.encodeStr8bytes = function (str) {
var v1 = 0;
var v4 = str.length;
var v3 = '%';
var v2 = ['%', '$', '#', '@'];
while (v1 < v4) {
v3 += str.charCodeAt(v1) + v2[random(v2.length)];
++v1;
}
return v3;
};
v1.decodeStr8bytes = function (str) {
str = 'PIE' + str + 'PIE';
str = ab20.fr(str, '%', 'D');
str = ab20.fr(str, '$', 'D');
str = ab20.fr(str, '#', 'D');
str = ab20.fr(str, '@', 'D');
str = ab20.fr(str, 'PIED', '');
str = ab20.fr(str, 'DPIE', '');
var v3 = str.split('D');
var v4 = '';
var v1 = 0;
var v5 = v3.length;
while (v1 < v5) {
v4 += String(String.fromCharCode(v3[v1]));
++v1;
}
return v4;
};
v1.decodeNum = function (str) {
var v2 = ['aZ', 'Zy', 'Zx', 'zH', 'jY', 'uH', 'Ah', 'Xh', 'hO', 'Ub', 'Bu', 'Cb', 'Qc', 'Pc', 'Pe', 'Ei', 'Ie', 'Ef', 'Fk', 'kG', 'Kg', 'Jl', 'Lm', 'Mn', 'No', 'Np', 'Qp', 'Rs', 'St', 'Sw'];
str = String(str);
str = str.split('Dd');
str = str[0];
str = ab20.fr(str, v2[0], '9');
str = ab20.fr(str, v2[1], '9');
str = ab20.fr(str, v2[2], '9');
str = ab20.fr(str, v2[3], '8');
str = ab20.fr(str, v2[4], '8');
str = ab20.fr(str, v2[5], '8');
str = ab20.fr(str, v2[6], '7');
str = ab20.fr(str, v2[7], '7');
str = ab20.fr(str, v2[8], '7');
str = ab20.fr(str, v2[9], '6');
str = ab20.fr(str, v2[10], '6');
str = ab20.fr(str, v2[11], '6');
str = ab20.fr(str, v2[12], '5');
str = ab20.fr(str, v2[13], '5');
str = ab20.fr(str, v2[14], '5');
str = ab20.fr(str, v2[15], '4');
str = ab20.fr(str, v2[16], '4');
str = ab20.fr(str, v2[17], '4');
str = ab20.fr(str, v2[18], '3');
str = ab20.fr(str, v2[19], '3');
str = ab20.fr(str, v2[20], '3');
str = ab20.fr(str, v2[21], '2');
str = ab20.fr(str, v2[22], '2');
str = ab20.fr(str, v2[23], '2');
str = ab20.fr(str, v2[24], '1');
str = ab20.fr(str, v2[25], '1');
str = ab20.fr(str, v2[26], '1');
str = ab20.fr(str, v2[27], '0');
str = ab20.fr(str, v2[28], '0');
str = ab20.fr(str, v2[29], '0');
var v3 = Number(str);
return v3;
};
ASSetPropFlags(_global.ab20.prototype, null, 1);
}
#endinitclip
}
frame 2 {
stop();
_root.pos = SharedObject.getLocal('incubuspulsumsave3');
if (_root.pos.data.locked2 == undefined) {
_root.pos.data.locked2 = true;
_root.pos.data.locked3 = true;
_root.pos.data.locked4 = true;
_root.pos.data.locked5 = true;
_root.pos.data.bubrec = new Array(0, 0, 0, 0);
}
}
movieClip 207 {
}
movieClip 212 {
}
movieClip 213 {
frame 25 {
stop();
}
}
button 214 {
on (release) {
_root.gotoAndStop('main');
}
}
movieClip 216 {
frame 1 {
this.onRelease = function () {
getURL('http://www.newgrounds.com', '_blank');
};
}
}
movieClip 218 {
frame 1 {
this.onRelease = function () {
getURL('http://www.armorgames.com', '_blank');
};
}
}
// unknown tag 88 length 74
movieClip 221 {
}
movieClip 225 {
}
movieClip 229 {
}
movieClip 232 {
}
movieClip 234 {
}
movieClip 237 {
frame 1 {
this.onRelease = function () {
getURL('http://www.glaielgames.com', '_blank');
};
}
}
movieClip 239 {
}
movieClip 242 {
frame 1 {
this.onRelease = function () {
getURL('http://www.bomtoons.com', '_blank');
};
}
}
movieClip 246 {
}
movieClip 247 {
}
movieClip 271 {
}
movieClip 286 {
}
movieClip 295 {
}
movieClip 297 {
}
movieClip 317 {
}
movieClip 333 {
}
movieClip 346 {
}
movieClip 348 {
}
movieClip 352 {
}
movieClip 354 {
}
movieClip 356 {
}
movieClip 400 {
}
movieClip 412 {
}
movieClip 417 {
}
movieClip 444 {
frame 48 {
stop();
}
}
movieClip 446 {
}
movieClip 449 {
}
movieClip 451 {
}
movieClip 453 {
}
movieClip 454 {
}
movieClip 464 {
}
movieClip 466 {
instance of movieClip 216 {
onClipEvent (release) {
getURL('http://www.newgrounds.com', '');
}
}
instance of movieClip 218 {
}
frame 2918 {
stop();
_root.gotoAndStop('main');
}
}
movieClip 469 {
}
movieClip 472 {
}
movieClip 475 {
}
movieClip 476 {
}
movieClip 487 {
frame 19 {
stop();
}
}
movieClip 490 {
}
movieClip 491 {
frame 19 {
stop();
}
}
movieClip 493 {
frame 13 {
stop();
}
}
movieClip 496 {
}
movieClip 504 {
}
movieClip 508 {
}
movieClip 509 {
}
// unknown tag 88 length 64
movieClip 512 {
}
movieClip 513 {
frame 19 {
stop();
}
}
movieClip 519 {
}
movieClip 520 {
frame 18 {
stop();
}
}
movieClip 525 {
}
button 526 {
on (release) {
getURL('http://www.glaielgames.com/scorehub.php', '_blank');
}
}
// unknown tag 88 length 138
// unknown tag 88 length 143
button 542 {
on (release) {
this._parent.gotoAndPlay('close');
}
}
movieClip 543 {
}
movieClip 544 {
frame 1 {
stop();
}
frame 17 {
stop();
}
}
movieClip 546 {
}
movieClip 547 {
frame 25 {
stop();
}
}
button 551 {
on (release) {
inst.gotoAndPlay(2);
}
}
button 552 {
on (release) {
_root.play();
}
}
// unknown tag 88 length 68
button 557 {
on (release) {
_root.gotoAndStop('intro');
}
}
button 560 {
on (release) {
getURL('http://www.glaielgames.com', '_blank');
}
}
// unknown tag 88 length 452
button 563 {
on (release) {
getURL('http://www.bomtoons.com', '_blank');
}
}
movieClip 566 {
frame 144 {
stop();
}
}
frame 4 {
stop();
}
movieClip 569 {
}
// unknown tag 88 length 74
movieClip 577 {
}
movieClip 579 {
}
movieClip 580 {
frame 1 {
function setBubs(num) {
i = 0;
while (i < 5) {
var thing = eval('this.b' + i);
if (i >= num) {
thing.fill._visible = false;
}
++i;
}
}
setBubs(this.numbubs);
}
}
movieClip 586 {
}
movieClip 590 {
}
movieClip 591 {
}
movieClip 592 {
}
movieClip 593 {
}
movieClip 597 {
}
movieClip 598 {
frame 5 {
stop();
}
}
movieClip 601 {
}
movieClip 604 {
}
movieClip 607 {
}
movieClip 610 {
}
movieClip 615 {
}
movieClip 616 {
}
movieClip 617 {
frame 1 {
function setDiff(num) {
i = 0;
while (i < 4) {
var thing = eval('s' + i);
if (i != num) {
thing._visible = false;
}
++i;
}
}
function setMe(t, a, diff, bubs, link, locked) {
this.tit = t;
this.auth = a;
setDiff(diff);
this.bubs.numbubs = bubs;
dalink.onPress = function () {
getURL(link, '_blank');
};
if (locked) {
gobut._visible = false;
lock._visible = true;
} else {
lock._visible = false;
gobut.onPress = function () {
this._parent._parent.startGame(this._parent.id);
};
}
}
var mydat = eval('this._parent.blob' + this.id);
setMe(mydat[0], mydat[1], mydat[2], mydat[3], mydat[4], mydat[5]);
}
}
movieClip 618 {
}
button 628 {
on (release) {
getURL('http://www.glaielgames.com/incubusZX23D.php', '_blank');
}
}
movieClip 629 {
frame 1 {
stop();
if (!_root.pos.data.locked5) {
gotoAndStop(2);
}
}
frame 2 {
stop();
}
}
movieClip 631 {
}
movieClip 634 {
}
movieClip 635 {
frame 38 {
stop();
}
}
button 638 {
on (release) {
_root.gotoAndStop('main');
}
}
movieClip 639 {
frame 1 {
function startGame(id) {
_root.diff = id + 1;
_root.play();
}
b0.id = 0;
blob0 = new Array('Bionic Commando', 'Biff', 0, _root.pos.data.bubrec[0], 'http://www.newgrounds.com/audio/view.php?id=777881', false);
b1.id = 1;
blob1 = new Array('Metropolis Zone', 'Metaljonus', 1, _root.pos.data.bubrec[1], 'http://www.newgrounds.com/audio/view.php?id=1639117', _root.pos.data.locked2);
b2.id = 2;
blob2 = new Array('Hyrule Castle', 'NESkimos', 2, _root.pos.data.bubrec[2], 'http://www.newgrounds.com/audio/view.php?id=1706105', _root.pos.data.locked3);
b3.id = 3;
blob3 = new Array('Insanity', 'Tyler Glaiel', 3, _root.pos.data.bubrec[3], 'http://www.glaielgames.com/jukebox.php', _root.pos.data.locked4);
}
instance b3 of movieClip 617 {
}
instance b2 of movieClip 617 {
}
instance b1 of movieClip 617 {
}
instance b0 of movieClip 617 {
}
frame 81 {
stop();
}
}
frame 6 {
function gen(id) {
_root.attachMovie('bug', 'b' + numb, numb);
var v2 = _root['b' + numb];
v2.speed = new Vector(startV[id].x, startV[id].y);
v2._x = cenX - v2.speed.x * offset2;
v2._y = cenY - v2.speed.y * offset2;
v2.timer = offset;
v2.id = id;
v2.base = 100;
v2.gotoAndStop(id + 1);
v2.typ = 1;
++numb;
}
function gen2(id, len) {
var v3 = numb2;
_root.attachMovie('bug1h', 'b' + v3, v3);
var v2 = _root['b' + v3];
v2.speed = new Vector(startV[id].x, startV[id].y);
v2._x = cenX - v2.speed.x * offset2;
v2._y = cenY - v2.speed.y * offset2;
v2.timer = offset;
v2.id = id;
v2.len = len;
v2.base = 100;
v2.gotoAndStop(id + 1);
v2.typ = 2;
--numb2;
}
function gen3(id) {
var v4 = numb;
if (id == 6 || id == 7 || id == 0 || id == 1 || id == 2) {
v4 = numb2;
}
_root.attachMovie('bug1b', 'b' + v4, v4);
var v2 = _root['b' + v4];
v2.speed = new Vector(startV[id].x, startV[id].y);
v2._x = cenX - v2.speed.x * offset2;
v2._y = cenY - v2.speed.y * offset2;
v2.timer = offset;
v2.id = id;
v2.base = 10;
v2.gotoAndStop(id + 1);
v2.typ = 3;
++numb;
--numb2;
}
function gen4(id) {
var v4 = numb;
if (id == 6 || id == 7 || id == 0 || id == 1 || id == 2) {
v4 = numb2;
}
_root.attachMovie('bug1t', 'b' + v4, v4);
var v2 = _root['b' + v4];
v2.speed = new Vector(startV[id].x, startV[id].y);
v2._x = cenX - v2.speed.x * offset2;
v2._y = cenY - v2.speed.y * offset2;
v2.timer = offset;
v2.id = id;
v2.base = 10;
v2.gotoAndStop(id + 1);
v2.typ = 4;
++numb;
--numb2;
}
function detectHit(timer, id, typ) {
if (timer == -4) {
if (typ == 1 || typ == 2) {
combo = 0;
total += 1;
multiplier = 1;
vol -= 20;
life -= 7;
}
}
if (timer < 8 && timer > -3 && (presses[0] == id || presses[1] == id) && slam && (typ == 1 || typ == 2)) {
return true;
}
if (timer < 6 && timer > -3 && (presses[0] == id || presses[1] == id) && elec && (typ == 3 || typ == 4)) {
return true;
}
return false;
}
function winplay() {
removeall();
titlearray = ['Bionic Commando', 'Metropolis Zone', 'Hyrule Castle', 'Insanity'];
authorarray = ['Biff', 'Metaljonus', 'NESkimos', 'Tyler Glaiel'];
threshold = new Array();
threshold[0] = new Array(40, 70, 85, 95, 100);
threshold[1] = new Array(35, 65, 80, 92, 97);
threshold[2] = new Array(30, 60, 75, 90, 95);
threshold[3] = new Array(60, 70, 80, 90, 100);
stars = 0;
i = 0;
while (i < 5) {
if (Math.round((hit / total) * 100) >= threshold[diff - 1][i]) {
stars += 1;
}
++i;
}
startxt = stars + '/5';
missed = total - hit;
stitle = titlearray[diff - 1];
author = authorarray[diff - 1];
if (stars > pos.data.bubrec[diff - 1]) {
pos.data.bubrec[diff - 1] = stars;
}
if (diff == 1) {
pos.data.locked2 = false;
}
if (diff == 2) {
pos.data.locked3 = false;
}
if (pos.data.bubrec[0] >= 4 && pos.data.bubrec[1] >= 4 && pos.data.bubrec[2] >= 4) {
pos.data.locked4 = false;
}
if (pos.data.bubrec[0] >= 5 && pos.data.bubrec[1] >= 5 && pos.data.bubrec[2] >= 5) {
pos.data.locked5 = false;
}
gotoAndStop('win');
}
function loseplay() {
removeall();
gotoAndStop('lose');
}
function winsong() {
if (!lost) {
won = true;
hud.win.play();
}
}
function losesong() {
if (!won) {
lost = true;
hud.lose.play();
}
}
function removeall() {
for (i in _root) {
removeMovieClip(_root[i]);
}
}
function quit() {
removeall();
_root.gotoAndStop('main');
}
function restart() {
removeall();
_root.gotoAndPlay('game');
}
stop();
cenX = 325;
cenY = 325;
offset = 100;
d = 500;
factor = 3;
up = 10;
offset2 = offset + 80 / (d / offset);
flashtime = 30;
slam = false;
numb = 0;
numb2 = 50000;
startV = new Array();
portal.id = 0;
portal2.id = 0;
combo = 0;
score = 0;
multiplier = 1;
vol = 100;
won = false;
highest = 1;
if (diff == 1) {
volsound = new Sound(song);
}
if (diff == 2) {
volsound = new Sound(song2);
}
if (diff == 3) {
volsound = new Sound(song3);
}
if (diff == 4) {
volsound = new Sound(song4);
}
ting = new Sound(this);
ting.attachSound('ting');
combotext = 'x3';
life = 100;
pcent = '100%';
hit = 0;
total = 0;
lost = false;
startV = [new Vector(0, 340.8000000000001), new Vector(-374, 340.8000000000001), new Vector(-374, 0), new Vector(-374, -340.8000000000001), new Vector(0, -340.8000000000001), new Vector(374, -340.8000000000001), new Vector(374, 0), new Vector(374, 340.8000000000001)];
var i = 0;
while (i < 8) {
startV[i].norm();
startV[i].scale(d / offset);
++i;
}
portal.swapDepths(70001);
portal2.swapDepths(70000);
hud.swapDepths(80000);
mallets = new Array();
mallets = [mal0, mal1, mal2, mal3, mal4, mal5, mal6, mal7];
bases = new Array();
bases = [base0, base1, base2, base3, base4, base5, base6, base7];
spls = new Array();
spls = [spl0, spl1, spl2, spl3, spl4, spl5, spl6, spl7];
spls2 = new Array();
spls2 = [spl20, spl21, spl22, spl23, spl24, spl25, spl26, spl27];
var i = 0;
while (i < 8) {
mallets[i].stop();
mallets[i].swapDepths(62000 + i);
spls[i].swapDepths(61000 + i);
spls2[i].swapDepths(60000 + i);
bases[i].stop();
++i;
}
anull = false;
presses = new Array(null, null);
pPresses = new Array(null, null);
ida = new Array(false, false, false, false, false, false, false, false);
d = 0;
l = 0;
u = 0;
r = 0;
pd = 0;
pl = 0;
pu = 0;
pr = 0;
a = 0;
pa = 0;
removeArray = new Array();
elec = false;
pslam = false;
onEnterFrame = function () {
presses = [null, null];
pu = u;
pd = d;
pr = r;
pl = l;
pa = a;
u = Key.isDown(38);
d = Key.isDown(40);
l = Key.isDown(37);
r = Key.isDown(39);
a = Key.isDown(65);
if (u) {
presses = [0, null];
}
if (d) {
presses = [4, null];
}
if (l) {
presses = [6, null];
}
if (r) {
presses = [2, null];
}
if (u && r) {
presses = [1, null];
}
if (d && r) {
presses = [3, null];
}
if (d && l) {
presses = [5, null];
}
if (u && l) {
presses = [7, null];
}
if (u && d) {
presses = [0, 4];
}
if (l && r) {
presses = [6, 2];
}
if (a && pa && (pPresses[0] != presses[0] || pPresses[1] != presses[1])) {
anull = true;
}
if (!a) {
anull = false;
elec = false;
}
if (anull) {
a = false;
}
if (pPresses[0] != presses[0] || pPresses[1] != presses[1]) {
elec = false;
}
pslam = slam;
slam = false;
if (presses[0] != null) {
if (mallets[presses[0]]._currentframe != 3 && mallets[presses[0]]._currentframe != 4 || !a) {
mallets[presses[0]].gotoAndStop('active');
bases[presses[0]].gotoAndStop('active');
}
if (a && mallets[presses[0]]._currentframe == 2) {
if (elec) {
mallets[presses[0]].gotoAndStop('elec');
} else {
mallets[presses[0]].gotoAndStop('slam');
}
bases[presses[0]].gotoAndStop('slam');
slam = true;
}
}
if (presses[1] != null) {
if (mallets[presses[1]]._currentframe != 3 && mallets[presses[1]]._currentframe != 4 || !a) {
mallets[presses[1]].gotoAndStop('active');
bases[presses[1]].gotoAndStop('active');
}
if (a && mallets[presses[1]]._currentframe == 2) {
if (elec) {
mallets[presses[1]].gotoAndStop('elec');
} else {
mallets[presses[1]].gotoAndStop('slam');
}
bases[presses[1]].gotoAndStop('slam');
slam = true;
}
}
var v1 = 0;
while (v1 < 8) {
if (!elec && mallets[v1]._currentframe == 4) {
mallets[v1].gotoAndStop('slam');
}
if ((presses[0] != v1 || presses[0] == null) && (presses[1] != v1 || presses[0] == null)) {
mallets[v1].gotoAndStop('rest');
bases[v1].gotoAndStop('rest');
}
++v1;
}
if (elec) {
v1 = 0;
while (v1 < 8) {
if (mallets[v1]._currentframe == 3) {
mallets[v1].gotoAndStop('elec');
}
++v1;
}
}
pPresses[0] = presses[0];
pPresses[1] = presses[1];
if (portal._currentframe != 1) {
portal.play();
}
v1 = 0;
while (v1 < 8) {
ida[v1] = false;
++v1;
}
var v3 = false;
var v2 = 0;
v1 = removeArray.length - 1;
while (v1 >= 0) {
if (!ida[removeArray[v1].id]) {
if (removeArray[v1].typ == 2) {
elec = true;
}
if (removeArray[v1].typ == 3 && elec) {
elec = true;
}
if ((removeArray[v1].typ == 3 || removeArray[v1].typ == 4) && elec || (removeArray[v1].typ == 1 || removeArray[v1].typ == 2)) {
ida[removeArray[v1].id] = true;
if (removeArray[v1].typ == 4) {
v3 = true;
}
if (removeArray[v1].typ != 3) {
spls[removeArray[v1].id].gotoAndPlay(2);
} else {
spls2[removeArray[v1].id].gotoAndPlay(2);
}
if (removeArray[v1].typ == 1 || removeArray[v1].typ == 2) {
combo += 1;
vol += 20;
life += 2;
total += 1;
hit += 1;
}
if (removeArray[v1].typ == 3 || removeArray[v1].typ == 4) {
combo += 0.1;
life += 0.4;
}
score += removeArray[v1].base * multiplier;
if (removeArray[v1].typ != 2) {
removeMovieClip(removeArray[v1]);
} else {
removeArray[v1].removethis = true;
removeArray[v1]._visible = false;
}
v2 += 1;
}
}
--v1;
}
if (pslam && v2 == 0 || pslam && v2 == 1 && (presses[0] == 0 && presses[1] == 4 || presses[0] == 6 && presses[1] == 2)) {
multiplier -= 1;
ting.start();
vol -= 5;
life -= 4;
combo = 0;
}
if (multiplier < 1) {
multiplier = 1;
}
if (combo >= up) {
combo = 0;
multiplier += 1;
}
if (multiplier > 5) {
multiplier = 5;
}
combotext = 'x' + multiplier;
if (v3) {
elec = false;
}
removeArray.splice(0, removeArray.length);
if (vol < 10) {
vol = 10;
}
if (vol > 100) {
vol = 100;
}
if (lost) {
life = 0;
vol = 0;
}
volsound.setVolume(vol);
hud.dabar.bar._xscale = life;
if (hud.dabar.bar._xscale < 0) {
hud.dabar.bar._xscale = 0;
life = 0;
losesong();
}
if (hud.dabar.bar._xscale > 100) {
hud.dabar.bar._xscale = 100;
life = 100;
}
if (total != 0) {
pcent = Math.round((hit / total) * 100) + '%';
}
if (multiplier > highest) {
highest = multiplier;
}
};
}
movieClip 645 {
}
movieClip 650 {
}
movieClip 654 {
}
movieClip 659 {
}
movieClip 664 {
}
movieClip 669 {
}
movieClip 674 {
}
movieClip 679 {
}
movieClip 682 {
}
movieClip 706 {
}
movieClip 707 {
frame 4 {
stop();
}
}
movieClip 711 {
}
movieClip 712 {
frame 4 {
stop();
}
}
movieClip 730 {
}
movieClip 731 {
frame 4 {
stop();
}
}
movieClip 735 {
frame 4 {
stop();
}
}
movieClip 755 {
}
movieClip 756 {
frame 4 {
stop();
}
}
movieClip 773 {
}
movieClip 774 {
frame 4 {
stop();
}
}
movieClip 778 {
}
movieClip 782 {
}
instance spl0 of movieClip 113 splode {
onClipEvent (load) {
col = 0;
}
}
instance spl1 of movieClip 113 splode {
onClipEvent (load) {
col = 1;
}
}
instance spl2 of movieClip 113 splode {
onClipEvent (load) {
col = 2;
}
}
instance spl3 of movieClip 113 splode {
onClipEvent (load) {
col = 3;
}
}
instance spl4 of movieClip 113 splode {
onClipEvent (load) {
col = 4;
}
}
instance spl5 of movieClip 113 splode {
onClipEvent (load) {
col = 5;
}
}
instance spl6 of movieClip 113 splode {
onClipEvent (load) {
col = 6;
}
}
instance spl7 of movieClip 113 splode {
onClipEvent (load) {
col = 7;
}
}
movieClip 785 {
frame 1 {
stop();
}
}
movieClip 786 {
frame 1 {
}
frame 14 {
gen(6);
}
frame 27 {
gen(2);
}
frame 41 {
gen(6);
}
frame 63 {
gen(7);
}
frame 84 {
gen(0);
}
frame 91 {
gen2(6, 183);
gen2(2, 183);
}
frame 884 {
gen(5);
}
frame 924 {
gen2(3, 50);
}
frame 990 {
gen(2);
}
frame 1001 {
gen(1);
}
frame 1012 {
gen(1);
}
frame 1023 {
gen(2);
}
frame 1040 {
gen(3);
}
frame 1079 {
gen2(4, 50);
}
frame 1196 {
gen(5);
}
frame 1236 {
gen2(3, 50);
}
frame 1302 {
gen(2);
}
frame 1313 {
gen(1);
}
frame 1324 {
gen(1);
}
frame 1335 {
gen(2);
}
frame 1351 {
gen(3);
}
frame 1393 {
gen2(4, 50);
}
frame 1461 {
gen(7);
}
frame 1471 {
gen(0);
}
frame 1491 {
gen(1);
}
frame 1510 {
gen(5);
}
frame 1550 {
gen2(3, 50);
}
frame 1612 {
gen(2);
}
frame 1623 {
gen(0);
}
frame 1634 {
gen(0);
}
frame 1645 {
gen(1);
}
frame 1660 {
gen(3);
}
frame 1701 {
gen2(4, 50);
}
frame 1766 {
gen(7);
}
frame 1779 {
gen(0);
}
frame 1796 {
gen(1);
}
frame 1816 {
gen(5);
}
frame 1856 {
gen2(4, 50);
}
frame 1923 {
gen(2);
}
frame 1933 {
gen(1);
}
frame 1944 {
gen(1);
}
frame 1955 {
gen(2);
}
frame 1972 {
gen(3);
}
frame 2014 {
gen2(4, 50);
}
frame 2082 {
gen(7);
}
frame 2093 {
gen(0);
}
frame 2109 {
gen(1);
}
frame 2132 {
gen(2);
gen(6);
}
frame 2165 {
gen(5);
}
frame 2174 {
gen(4);
}
frame 2195 {
gen(2);
gen(6);
}
frame 2205 {
gen(0);
}
frame 2215 {
gen2(2, 30);
gen2(6, 30);
}
frame 2255 {
gen2(4, 30);
}
frame 2296 {
gen(2);
gen(6);
}
frame 2326 {
gen(5);
}
frame 2337 {
gen(4);
}
frame 2357 {
gen(2);
gen(6);
}
frame 2366 {
gen(0);
}
frame 2377 {
gen2(2, 30);
gen2(6, 30);
}
frame 2417 {
gen2(4, 30);
}
frame 2460 {
gen(2);
gen(6);
}
frame 2492 {
gen(5);
}
frame 2501 {
gen(4);
}
frame 2519 {
gen(3);
}
frame 2540 {
gen(2);
}
frame 2567 {
gen(3);
}
frame 2580 {
gen(3);
}
frame 2598 {
gen(2);
}
frame 2621 {
gen(0);
}
frame 2648 {
gen(1);
}
frame 2659 {
gen(1);
}
frame 2699 {
gen2(0, 30);
gen2(4, 30);
}
frame 2739 {
gen2(2, 30);
gen2(6, 30);
}
frame 2781 {
gen2(4, 35);
}
frame 2830 {
gen(3);
}
frame 2840 {
gen(2);
}
frame 2850 {
gen(1);
}
frame 2863 {
gen2(2, 30);
}
frame 2903 {
gen2(4, 30);
}
frame 2946 {
gen2(2, 30);
gen2(6, 30);
}
frame 2987 {
gen(5);
}
frame 3002 {
gen(3);
}
frame 3016 {
gen(5);
}
frame 3031 {
gen2(4, 70);
}
frame 3116 {
gen2(4, 35);
gen2(0, 35);
}
frame 3166 {
gen(3);
}
frame 3176 {
gen(2);
}
frame 3186 {
gen(1);
}
frame 3199 {
gen2(2, 30);
}
frame 3240 {
gen2(4, 30);
}
frame 3283 {
gen2(2, 30);
gen2(6, 30);
}
frame 3325 {
gen(5);
}
frame 3340 {
gen(3);
}
frame 3354 {
gen(5);
}
frame 3369 {
gen2(4, 70);
}
frame 3450 {
gen(0);
}
frame 3478 {
gen(0);
}
frame 3485 {
gen(0);
}
frame 3492 {
gen(0);
}
frame 3501 {
gen(1);
}
frame 3511 {
gen(2);
}
frame 3522 {
gen(0);
}
frame 3533 {
gen2(1, 70);
}
frame 3614 {
gen(2);
}
frame 3644 {
gen(2);
}
frame 3651 {
gen(2);
}
frame 3658 {
gen(2);
}
frame 3667 {
gen(3);
}
frame 3677 {
gen(4);
}
frame 3688 {
gen(2);
}
frame 3699 {
gen2(3, 70);
}
frame 3778 {
gen(0);
}
frame 3806 {
gen(0);
}
frame 3813 {
gen(0);
}
frame 3820 {
gen(0);
}
frame 3829 {
gen(1);
}
frame 3839 {
gen(2);
}
frame 3850 {
gen(0);
}
frame 3861 {
gen(1);
}
frame 3887 {
gen(1);
}
frame 3894 {
gen(1);
}
frame 3901 {
gen(1);
}
frame 3910 {
gen(2);
}
frame 3920 {
gen(3);
}
frame 3931 {
gen(1);
}
frame 3943 {
gen(2);
}
frame 3969 {
gen(2);
}
frame 3976 {
gen(2);
}
frame 3983 {
gen(2);
}
frame 3992 {
gen(3);
}
frame 4002 {
gen(4);
}
frame 4013 {
gen(2);
}
frame 4023 {
gen2(4, 310);
}
frame 4629 {
gen(5);
}
frame 4669 {
gen2(3, 50);
}
frame 4735 {
gen(2);
}
frame 4746 {
gen(1);
}
frame 4757 {
gen(1);
}
frame 4768 {
gen(2);
}
frame 4783 {
gen(3);
}
frame 4821 {
gen2(4, 50);
}
frame 4932 {
gen(5);
}
frame 4972 {
gen2(3, 50);
}
frame 5036 {
gen(2);
}
frame 5047 {
gen(1);
}
frame 5058 {
gen(1);
}
frame 5069 {
gen(2);
}
frame 5082 {
gen(3);
}
frame 5124 {
gen2(4, 50);
}
frame 5187 {
gen(7);
}
frame 5197 {
gen(0);
}
frame 5217 {
gen(1);
}
frame 5232 {
gen(5);
}
frame 5272 {
gen2(3, 50);
}
frame 5334 {
gen(2);
}
frame 5345 {
gen(0);
}
frame 5356 {
gen(0);
}
frame 5367 {
gen(1);
}
frame 5382 {
gen(3);
}
frame 5420 {
gen2(4, 50);
}
frame 5484 {
gen(7);
}
frame 5494 {
gen(0);
}
frame 5511 {
gen(1);
}
frame 5531 {
gen(5);
}
frame 5571 {
gen2(4, 50);
}
frame 5634 {
gen(2);
}
frame 5645 {
gen(1);
}
frame 5656 {
gen(1);
}
frame 5666 {
gen(2);
}
frame 5681 {
gen(3);
}
frame 5721 {
gen2(4, 50);
}
frame 5786 {
gen(7);
}
frame 5796 {
gen(0);
}
frame 5812 {
gen(1);
}
frame 5835 {
gen(2);
gen(6);
}
frame 5867 {
gen(5);
}
frame 5876 {
gen(4);
}
frame 5894 {
gen(2);
gen(6);
}
frame 5903 {
gen(0);
}
frame 5912 {
gen2(2, 50);
gen2(6, 50);
}
frame 5991 {
gen(2);
gen(6);
}
frame 6021 {
gen(5);
}
frame 6032 {
gen(4);
}
frame 6051 {
gen(2);
gen(6);
}
frame 6060 {
gen(0);
}
frame 6069 {
gen2(2, 50);
gen2(6, 50);
}
frame 6149 {
gen(2);
gen(6);
}
frame 6178 {
gen(5);
}
frame 6187 {
gen(4);
}
frame 6205 {
gen(3);
}
frame 6226 {
gen(2);
}
frame 6251 {
gen(3);
}
frame 6265 {
gen(3);
}
frame 6285 {
gen(2);
}
frame 6304 {
gen(0);
}
frame 6331 {
gen(1);
}
frame 6344 {
gen(1);
}
frame 6382 {
gen2(0, 30);
gen2(4, 30);
}
frame 6422 {
gen2(2, 150);
gen2(6, 150);
}
frame 6581 {
gen(2);
gen(6);
}
frame 6602 {
gen(2);
gen(6);
}
frame 6610 {
gen(2);
gen(6);
}
frame 6618 {
gen(2);
gen(6);
}
frame 6626 {
gen(2);
gen(6);
}
frame 6643 {
gen(2);
gen(6);
}
frame 6662 {
gen(0);
}
frame 6683 {
gen(0);
}
frame 6691 {
gen(0);
}
frame 6699 {
gen(0);
}
frame 6707 {
gen(0);
}
frame 6724 {
gen(0);
}
frame 6744 {
gen(4);
}
frame 6765 {
gen(4);
}
frame 6773 {
gen(4);
}
frame 6781 {
gen(4);
}
frame 6789 {
gen(4);
}
frame 6805 {
gen(4);
}
frame 6827 {
gen(2);
gen(6);
}
frame 6845 {
gen(2);
gen(6);
}
frame 6853 {
gen(2);
gen(6);
}
frame 6861 {
gen(2);
gen(6);
}
frame 6869 {
gen(2);
gen(6);
}
frame 6886 {
gen(2);
gen(6);
}
frame 6908 {
gen(2);
gen(6);
}
frame 6929 {
gen(2);
gen(6);
}
frame 6937 {
gen(2);
gen(6);
}
frame 6945 {
gen(2);
gen(6);
}
frame 6953 {
gen(2);
gen(6);
}
frame 6970 {
gen(2);
gen(6);
}
frame 6989 {
gen(0);
}
frame 7010 {
gen(0);
}
frame 7018 {
gen(0);
}
frame 7026 {
gen(0);
}
frame 7034 {
gen(0);
}
frame 7051 {
gen(0);
}
frame 7071 {
gen(4);
}
frame 7091 {
gen(4);
}
frame 7099 {
gen(4);
}
frame 7107 {
gen(4);
}
frame 7115 {
gen(4);
}
frame 7132 {
gen(4);
}
frame 7154 {
gen(2);
gen(6);
}
frame 7172 {
gen(2);
gen(6);
}
frame 7180 {
gen(2);
gen(6);
}
frame 7188 {
gen(2);
gen(6);
}
frame 7196 {
gen(2);
gen(6);
}
frame 7213 {
gen(2);
gen(6);
}
frame 7233 {
gen2(4, 35);
}
frame 7285 {
gen(3);
}
frame 7295 {
gen(2);
}
frame 7305 {
gen(1);
}
frame 7315 {
gen2(2, 30);
}
frame 7355 {
gen2(4, 30);
}
frame 7398 {
gen2(2, 30);
gen2(6, 30);
}
frame 7439 {
gen(5);
}
frame 7454 {
gen(3);
}
frame 7468 {
gen(5);
}
frame 7483 {
gen2(4, 60);
}
frame 7559 {
gen2(4, 35);
gen2(0, 35);
}
frame 7609 {
gen(3);
}
frame 7619 {
gen(2);
}
frame 7629 {
gen(1);
}
frame 7642 {
gen2(2, 30);
}
frame 7681 {
gen2(4, 30);
}
frame 7721 {
gen2(2, 30);
gen2(6, 30);
}
frame 7761 {
gen(5);
}
frame 7776 {
gen(3);
}
frame 7790 {
gen(5);
}
frame 7805 {
gen2(4, 70);
}
frame 7878 {
gen(0);
}
frame 7906 {
gen(0);
}
frame 7913 {
gen(0);
}
frame 7920 {
gen(0);
}
frame 7929 {
gen(1);
}
frame 7939 {
gen(2);
}
frame 7950 {
gen(0);
}
frame 7961 {
gen2(1, 70);
}
frame 8039 {
gen(2);
}
frame 8069 {
gen(2);
}
frame 8076 {
gen(2);
}
frame 8083 {
gen(2);
}
frame 8100 {
gen(2);
}
frame 8119 {
gen2(3, 70);
}
frame 8198 {
gen(0);
}
frame 8226 {
gen(0);
}
frame 8233 {
gen(0);
}
frame 8240 {
gen(0);
}
frame 8249 {
gen(1);
}
frame 8259 {
gen(2);
}
frame 8270 {
gen(0);
}
frame 8281 {
gen(1);
}
frame 8307 {
gen(1);
}
frame 8314 {
gen(1);
}
frame 8321 {
gen(1);
}
frame 8330 {
gen(2);
}
frame 8340 {
gen(3);
}
frame 8351 {
gen(1);
}
frame 8363 {
gen(2);
}
frame 8389 {
gen(2);
}
frame 8396 {
gen(2);
}
frame 8403 {
gen(2);
}
frame 8412 {
gen(3);
}
frame 8422 {
gen(4);
}
frame 8443 {
gen2(2, 260);
}
frame 8838 {
stop();
_root.winsong();
}
frame 8919 {
stop();
}
}
instance song3 of movieClip 786 {
onClipEvent (load) {
function gen(id) {
_root.gen(id);
}
function gen2(id, len) {
_root.gen2(id, len);
}
if (_root.diff != 3) {
stop();
}
}
}
movieClip 787 {
frame 200 {
gen2(2, 130);
gen2(6, 130);
}
frame 347 {
gen(4);
}
frame 363 {
gen(2);
gen(6);
}
frame 398 {
gen(0);
}
frame 407 {
gen(0);
}
frame 421 {
gen(4);
}
frame 481 {
gen(4);
}
frame 498 {
gen(2);
gen(6);
}
frame 531 {
gen(0);
}
frame 539 {
gen(0);
}
frame 555 {
gen(0);
}
frame 596 {
gen2(6, 230);
gen2(2, 230);
}
frame 837 {
gen(0);
}
frame 845 {
gen(0);
}
frame 853 {
gen(1);
}
frame 861 {
gen(2);
}
frame 878 {
gen2(0, 15);
}
frame 968 {
gen(6);
}
frame 976 {
gen(7);
}
frame 985 {
gen(6);
}
frame 993 {
gen(0);
}
frame 1001 {
gen(0);
}
frame 1010 {
gen(1);
}
frame 1026 {
gen2(2, 50);
}
frame 1101 {
gen(0);
}
frame 1109 {
gen(0);
}
frame 1117 {
gen(1);
}
frame 1125 {
gen(2);
}
frame 1142 {
gen2(0, 15);
}
frame 1232 {
gen(6);
}
frame 1240 {
gen(7);
}
frame 1248 {
gen(6);
}
frame 1257 {
gen(0);
}
frame 1265 {
gen(0);
}
frame 1274 {
gen(1);
}
frame 1291 {
gen2(2, 50);
}
frame 1389 {
gen(0);
}
frame 1406 {
gen(1);
}
frame 1423 {
gen(2);
}
frame 1440 {
gen(3);
}
frame 1456 {
gen(4);
}
frame 1472 {
gen(5);
}
frame 1489 {
gen(6);
}
frame 1506 {
gen(7);
}
frame 1522 {
gen(0);
gen(4);
}
frame 1529 {
gen(0);
gen(4);
}
frame 1578 {
gen(4);
}
frame 1587 {
gen(6);
gen(2);
}
frame 1596 {
gen(6);
gen(2);
}
frame 1654 {
gen(0);
}
frame 1671 {
gen(1);
}
frame 1688 {
gen(2);
}
frame 1704 {
gen(3);
}
frame 1720 {
gen(4);
}
frame 1737 {
gen(5);
}
frame 1754 {
gen(6);
}
frame 1770 {
gen(7);
}
frame 1787 {
gen(0);
gen(4);
}
frame 1794 {
gen(0);
gen(4);
}
frame 1843 {
gen(4);
}
frame 1852 {
gen2(6, 60);
gen2(2, 60);
}
frame 1934 {
gen(4);
}
frame 1950 {
gen(2);
gen(6);
}
frame 1985 {
gen(0);
}
frame 1994 {
gen(0);
}
frame 2008 {
gen(4);
}
frame 2068 {
gen(4);
}
frame 2085 {
gen(2);
gen(6);
}
frame 2118 {
gen(0);
}
frame 2126 {
gen(0);
}
frame 2142 {
gen(0);
}
frame 2183 {
gen2(6, 230);
gen2(2, 230);
}
frame 2424 {
gen(0);
}
frame 2432 {
gen(0);
}
frame 2440 {
gen(1);
}
frame 2448 {
gen(2);
}
frame 2465 {
gen2(0, 15);
}
frame 2555 {
gen(6);
}
frame 2563 {
gen(7);
}
frame 2572 {
gen(6);
}
frame 2580 {
gen(0);
}
frame 2588 {
gen(0);
}
frame 2597 {
gen(1);
}
frame 2613 {
gen2(2, 50);
}
frame 2688 {
gen(0);
}
frame 2696 {
gen(0);
}
frame 2704 {
gen(1);
}
frame 2712 {
gen(2);
}
frame 2729 {
gen2(0, 15);
}
frame 2819 {
gen(6);
}
frame 2827 {
gen(7);
}
frame 2835 {
gen(6);
}
frame 2844 {
gen(0);
}
frame 2852 {
gen(0);
}
frame 2861 {
gen(1);
}
frame 2878 {
gen2(2, 50);
}
frame 2976 {
gen(0);
}
frame 2993 {
gen(1);
}
frame 3010 {
gen(2);
}
frame 3027 {
gen(3);
}
frame 3043 {
gen(4);
}
frame 3059 {
gen(5);
}
frame 3076 {
gen(6);
}
frame 3093 {
gen(7);
}
frame 3109 {
gen(0);
gen(4);
}
frame 3116 {
gen(0);
gen(4);
}
frame 3165 {
gen(4);
}
frame 3174 {
gen(6);
gen(2);
}
frame 3183 {
gen(6);
gen(2);
}
frame 3241 {
gen(0);
}
frame 3258 {
gen(1);
}
frame 3275 {
gen(2);
}
frame 3291 {
gen(3);
}
frame 3307 {
gen(4);
}
frame 3324 {
gen(5);
}
frame 3341 {
gen(6);
}
frame 3357 {
gen(7);
}
frame 3374 {
gen(0);
gen(4);
}
frame 3381 {
gen(0);
gen(4);
}
frame 3430 {
gen(4);
}
frame 3439 {
gen(0);
}
frame 3456 {
gen(7);
}
frame 3473 {
gen(1);
}
frame 3490 {
gen2(2, 130);
gen2(6, 130);
}
frame 3785 {
stop();
_root.winsong();
}
frame 3848 {
stop();
}
}
instance song2 of movieClip 787 {
onClipEvent (load) {
function gen(id) {
_root.gen(id);
}
function gen2(id, len) {
_root.gen2(id, len);
}
if (_root.diff == 2) {
gotoAndPlay(50);
} else {
stop();
}
}
}
movieClip 788 {
frame 6492 {
_root.winsong();
}
}
instance song4 of movieClip 788 {
onClipEvent (load) {
tim = 0;
if (_root.diff != 4) {
stop();
}
}
onClipEvent (enterFrame) {
if (_root.diff == 4) {
tim += 1;
if (_currentframe < 6390) {
if (_currentframe < 3195) {
if (tim % 20 == 0) {
_root.gen(random(8));
}
}
if (_currentframe > 3195) {
if (tim % 10 == 0) {
_root.gen(random(8));
}
}
}
}
}
}
movieClip 807 {
frame 1 {
stop();
}
}
instance portal of movieClip 807 {
onClipEvent (enterFrame) {
enem.gotoAndStop(id + 1);
}
}
movieClip 816 {
frame 1 {
stop();
}
}
instance portal2 of movieClip 816 {
onClipEvent (enterFrame) {
enm1.gotoAndStop(id + 1);
enm2.gotoAndStop(id + 1);
enm3.gotoAndStop(id + 1);
enm4.gotoAndStop(id + 1);
enm5.gotoAndStop(id + 1);
enm6.gotoAndStop(id + 1);
enm7.gotoAndStop(id + 1);
enm8.gotoAndStop(id + 1);
enm9.gotoAndStop(id + 1);
}
}
movieClip 817 {
frame 143 {
gen(0);
}
frame 160 {
gen(0);
}
frame 177 {
gen(0);
}
frame 195 {
gen(0);
}
frame 212 {
gen(0);
}
frame 230 {
gen(0);
}
frame 247 {
gen(0);
}
frame 264 {
gen(0);
}
frame 281 {
gen(2);
}
frame 315 {
gen(0);
}
frame 349 {
gen2(6, 50);
}
frame 408 {
gen(0);
}
frame 417 {
gen(0);
}
frame 546 {
gen(4);
}
frame 555 {
gen(4);
}
frame 606 {
gen(7);
}
frame 624 {
gen2(1, 45);
}
frame 675 {
gen(0);
}
frame 691 {
gen(0);
}
frame 744 {
gen(0);
}
frame 760 {
gen(0);
}
frame 777 {
gen(2);
}
frame 794 {
gen(4);
}
frame 811 {
gen(6);
}
frame 829 {
gen(0);
}
frame 863 {
gen(4);
}
frame 888 {
gen(6);
}
frame 898 {
gen(6);
}
frame 915 {
gen(2);
}
frame 949 {
gen(0);
}
frame 965 {
gen(2);
}
frame 999 {
gen(4);
}
frame 1024 {
gen(6);
gen(2);
}
frame 1034 {
gen(6);
gen(2);
}
frame 1086 {
gen(0);
}
frame 1102 {
gen(0);
}
frame 1119 {
gen(4);
}
frame 1154 {
gen(4);
}
frame 1171 {
gen(4);
}
frame 1205 {
gen(6);
gen(2);
}
frame 1239 {
gen2(0, 125);
}
frame 1377 {
gen(0);
}
frame 1411 {
gen2(2, 55);
gen2(6, 55);
}
frame 1479 {
gen(4);
}
frame 1505 {
gen(4);
}
frame 1513 {
gen2(4, 95);
}
frame 1616 {
gen(6);
}
frame 1632 {
gen(2);
}
frame 1649 {
gen2(0, 60);
}
frame 1719 {
gen(4);
}
frame 1752 {
gen(6);
}
frame 1784 {
gen2(2, 125);
}
frame 1924 {
gen(0);
}
frame 1941 {
gen(6);
}
frame 1959 {
gen(2);
}
frame 1975 {
gen(0);
}
frame 1992 {
gen(4);
}
frame 2024 {
gen(5);
}
frame 2041 {
gen(3);
}
frame 2059 {
gen(4);
}
frame 2076 {
gen(6);
}
frame 2094 {
gen(2);
}
frame 2110 {
gen(0);
}
frame 2127 {
gen(0);
}
frame 2163 {
gen(6);
}
frame 2180 {
gen(2);
}
frame 2198 {
gen(4);
}
frame 2242 {
gen(0);
}
frame 2250 {
gen(0);
}
frame 2258 {
gen(4);
}
frame 2266 {
gen(4);
}
frame 2284 {
gen(4);
}
frame 2302 {
gen(6);
}
frame 2319 {
gen(2);
}
frame 2336 {
gen2(7, 60);
}
frame 2405 {
gen2(1, 60);
}
frame 2473 {
gen2(0, 130);
}
frame 2610 {
gen(2);
}
frame 2627 {
gen(4);
}
frame 2643 {
gen(6);
}
frame 2660 {
gen(0);
}
frame 2678 {
gen2(4, 45);
}
frame 2852 {
stop();
_root.winsong();
}
}
instance song of movieClip 817 {
onClipEvent (load) {
function gen(id) {
_root.gen(id);
}
function gen2(id, len) {
_root.gen2(id, len);
}
if (_root.diff == 1) {
gotoAndPlay(50);
} else {
stop();
}
}
}
movieClip 826 {
}
movieClip 828 {
instance of movieClip 826 {
onClipEvent (enterFrame) {
gotoAndStop(Math.floor(_root.combo / (_root.up / 6)) + 1);
}
}
}
movieClip 834 {
instance of movieClip 828 {
onClipEvent (enterFrame) {
gotoAndStop(_root.multiplier);
}
}
}
// unknown tag 88 length 81
movieClip 840 {
}
movieClip 842 {
}
movieClip 844 {
}
movieClip 846 {
}
movieClip 847 {
frame 1 {
function setQual(num) {
_root._quality = mystuff[num];
}
var mystuff = new Array('LOW', 'MEDIUM', 'HIGH');
if (_root._quality == 'LOW') {
hi._x = s0._x;
hi._y = s0._y;
}
if (_root._quality == 'MEDIUM') {
hi._x = s1._x;
hi._y = s1._y;
}
if (_root._quality == 'HIGH') {
hi._x = s2._x;
hi._y = s2._y;
}
i = 0;
while (i < 3) {
var thing = eval('s' + i);
thing.id = i;
thing.onPress = function () {
hi._x = this._x;
hi._y = this._y;
setQual(this.id);
};
++i;
}
}
}
button 854 {
on (release) {
_root.quit();
}
}
button 860 {
on (release) {
_root.restart();
}
}
movieClip 863 {
}
movieClip 865 {
}
movieClip 873 {
frame 41 {
stop();
}
frame 81 {
_root.winplay();
}
}
movieClip 883 {
}
movieClip 917 {
}
movieClip 918 {
frame 1 {
stop();
}
frame 100 {
_root.winplay();
}
}
movieClip 921 {
}
movieClip 924 {
}
movieClip 927 {
frame 1 {
stop();
}
frame 88 {
_root.loseplay();
}
}
movieClip 928 {
instance of movieClip 834 {
onClipEvent (enterFrame) {
gotoAndStop(_root.multiplier);
}
}
}
frame 7 {
function submitScore() {
if (diff == 1) {
ab20_09 = new LoadVars();
ab20_09.z = nam;
ab20_09.x = ab20.encodeNum(score);
ab20_09.c = 1278;
ab20_09.v = 'HSXJAT';
ab20_09.sendAndLoad('http://armorbot.com/s_b', ab20_09, 'POST');
}
if (diff == 2) {
ab20_09 = new LoadVars();
ab20_09.z = nam;
ab20_09.x = ab20.encodeNum(score);
ab20_09.c = 1279;
ab20_09.v = 'KJNFDA';
ab20_09.sendAndLoad('http://armorbot.com/s_b', ab20_09, 'POST');
}
if (diff == 3) {
ab20_09 = new LoadVars();
ab20_09.z = nam;
ab20_09.x = ab20.encodeNum(score);
ab20_09.c = 1280;
ab20_09.v = 'UPAXLM';
ab20_09.sendAndLoad('http://armorbot.com/s_b', ab20_09, 'POST');
}
if (diff == 4) {
ab20_09 = new LoadVars();
ab20_09.z = nam;
ab20_09.x = ab20.encodeNum(score);
ab20_09.c = 1281;
ab20_09.v = 'AJOSNE';
ab20_09.sendAndLoad('http://armorbot.com/s_b', ab20_09, 'POST');
}
}
stop();
if (nam == undefined) {
nam = 'Enter Name';
}
}
movieClip 932 {
}
movieClip 933 {
}
movieClip 937 {
}
movieClip 942 {
}
movieClip 944 {
}
movieClip 948 {
}
movieClip 973 {
}
movieClip 974 {
frame 23 {
stop();
}
}
movieClip 983 {
frame 8 {
stop();
}
}
movieClip 985 {
frame 15 {
stop();
}
}
movieClip 988 {
}
movieClip 993 {
}
movieClip 996 {
frame 1 {
this.sc._visible = false;
submitted = false;
this.sub.onPress = function () {
if (!submitted) {
_root.submitScore();
this._visible = false;
this._parent.sc._visible = true;
this._parent.sc.gotoAndPlay(2);
submitted = true;
}
};
}
instance of movieClip 993 {
onClipEvent (load) {
gotoAndStop(_root.stars + 1);
}
}
}
movieClip 1008 {
frame 395 {
stop();
}
}
frame 8 {
stop();
}
movieClip 1011 {
}
movieClip 1015 {
}
movieClip 1016 {
}
movieClip 1020 {
}
movieClip 1026 {
}
movieClip 1027 {
}
movieClip 1029 {
}
movieClip 1031 {
}
movieClip 1056 {
frame 1 {
stop();
}
frame 69 {
stop();
}
}
// unknown tag 88 length 85
// unknown tag 88 length 153
movieClip 1071 {
}
movieClip 1075 {
frame 133 {
worm.gotoAndPlay(2);
}
frame 170 {
this.fg.flames.stop();
this.fg.bugs.stop();
this.bg.bugs.stop();
}
frame 214 {
stop();
}
}
movieClip 1076 {
}