Frame 1
function klink() {
getURL ("http://www.kabomb.net", "_blank");
}
function slink() {
getURL ("http://www.hallpass.com/", "_blank");
}
var cm = new ContextMenu();
cm.hideBuiltInItems();
cm.builtInItems.quality = true;
cm1 = new ContextMenuItem("Developed By Kabomb", klink);
cm2 = new ContextMenuItem("Sponsored by Hallpass", slink);
cm.customItems.push(cm1, cm2);
_root.menu = cm;
Frame 2
stop();
Frame 22
_root.effects = (_root.bg = (_root.sounds = (_root.music = true)));
_root.createEmptyMovieClip("music_mc", _root.getNextHighestDepth());
var theme = new Sound(music_mc);
theme.attachSound("theme");
theme.start(0, 0);
theme.setVolume(20);
theme.onSoundComplete = function () {
theme.start(0, 0);
};
_root.createEmptyMovieClip("sounds_mc", _root.getNextHighestDepth());
var sound_control = _root.createEmptyMovieClip("sound_control", _root.getNextHighestDepth());
sound_control.onEnterFrame = function () {
if (_root.music) {
theme.setVolume(20);
} else {
theme.setVolume(0);
}
};
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
kabomb_mc.onRelease = function () {
getURL ("http://www.kabomb.net/", "_blank");
};
__com_mochibot__("afcbe5e9", this, 10301, true);
Frame 72
hs_mc.score_txt = "score: " + score;
if (difficulty == "easy") {
hs_mc._visible = false;
}
Frame 82
if (difficulty == "easy") {
hs_mc._visible = false;
}
Symbol 12 MovieClip [enemy] Frame 1
function remove() {
i = 0;
while (i < game.enemies.length) {
if (this == game.enemies[i]) {
game.ekilled++;
game.score = game.score + game.score_plus;
game.sscore(this._x, this._y, game.score_plus);
game.make_sound("kill");
if (etype != 6) {
game.score_plus = game.score_plus + (etype * 20);
} else {
game.score_plus = game.score_plus + 20;
}
game.score_plus = game.limit(game.score_plus, 1000, 100);
game.enemies.splice(i, 1);
if (etype == 5) {
i = 0;
while (i < 3) {
if (game.etotal < game.tokill) {
game.etotal++;
var _local2 = game.items_mc.attachMovie("enemy", "enemy" + game.items_mc.getNextHighestDepth(), game.items_mc.getNextHighestDepth());
_local2._x = this._x;
_local2._y = this._y;
game.enemies.push(_local2);
_local2.etype = 6;
}
i++;
}
}
this.removeMovieClip();
}
i++;
}
}
var game = _root.game_mc;
var instage = false;
var radius = 12.75;
var dir = random(4);
var etype;
var angle_deg;
var angle_rad;
this.gotoAndStop(etype);
if (etype != 6) {
game.set_dir(this, dir);
} else {
var hit = true;
var health = 100;
if (!game.ball.hitTest(this)) {
hit = false;
health = 10;
}
var angle = ((Math.random() * 2) * Math.PI);
var speed = 5;
var xspeed = (Math.sin(angle + (Math.PI/2)) * speed);
var yspeed = (Math.cos(angle + (Math.PI/2)) * (-speed));
var delay = 96;
var timer = (random(delay - 24) + 24);
}
if (etype == 1) {
var health = 10;
var angle = Math.atan2((game.sw / 2) - this._y, (game.sw / 2) - this._x);
var speed = 2;
var xspeed = (Math.sin(angle + (Math.PI/2)) * speed);
var yspeed = (Math.cos(angle + (Math.PI/2)) * (-speed));
var delay = 144;
var timer = (random(delay - 24) + 24);
}
if (etype == 2) {
var health = 20;
var angle = Math.atan2((game.sw / 2) - this._y, (game.sw / 2) - this._x);
var rot = (((angle * 180) / Math.PI) + 90);
var rdiff;
var rto = rot;
var speed = 4;
var delay = 96;
var timer = (random(delay - 24) + 24);
}
if (etype == 3) {
var health = 25;
var angle = Math.atan2((game.sw / 2) - this._y, (game.sw / 2) - this._x);
var speed = 2;
var delay = 48;
var timer = (random(delay - 24) + 24);
}
if (etype == 4) {
var health = 30;
var angle_to = Math.atan2(game.ball._y - this._y, game.ball._x - this._x);
var angle = Math.atan2(game.ball._y - this._y, game.ball._x - this._x);
var speed = 1;
var xspeed = (Math.sin(angle + (Math.PI/2)) * speed);
var yspeed = (Math.cos(angle + (Math.PI/2)) * (-speed));
var delay = 192;
var timer = (random(delay - 24) + 24);
}
if (etype == 5) {
var health = 30;
var angle = Math.atan2((game.sw / 2) - this._y, (game.sw / 2) - this._x);
var speed = 4;
var xspeed = (Math.sin(angle + (Math.PI/2)) * speed);
var yspeed = (Math.cos(angle + (Math.PI/2)) * (-speed));
var delay = 96;
var timer = (random(delay - 24) + 24);
}
onEnterFrame = function () {
if (!game.gpause) {
angle_rad = Math.atan2(game.ball._y - this._y, game.ball._x - this._x);
angle_deg = (Math.atan2(game.ball._y - this._y, game.ball._x - this._x) * 180) / Math.PI;
this._rotation = angle_deg;
timer--;
if (timer < 48) {
this.warn._alpha = 100 - (100 * (timer / 40));
} else {
this.warn._alpha = this.warn._alpha - 10;
if (this.warn._alpha <= 0) {
this.warn._alpha = 0;
}
}
if (!instage) {
if ((dir == 0) && (this._x > (radius * 2))) {
instage = true;
}
if ((dir == 1) && (this._x < (game.sw - (radius * 2)))) {
instage = true;
}
if ((dir == 2) && (this._y > (radius * 2))) {
instage = true;
}
if ((dir == 3) && (this._y < (game.sw - (radius * 2)))) {
instage = true;
}
}
if (etype == 1) {
if (timer == 0) {
game.fbullet(this);
timer = delay;
}
if (instage) {
if (this._x < radius) {
xspeed = Math.abs(xspeed);
}
if (this._x > (game.sw - radius)) {
xspeed = -Math.abs(xspeed);
}
if (this._y < radius) {
yspeed = Math.abs(yspeed);
}
if (this._y > (game.sw - radius)) {
yspeed = -Math.abs(yspeed);
}
}
this._x = this._x + xspeed;
this._y = this._y + yspeed;
}
if (etype == 2) {
if (timer == 0) {
game.fbullet(this);
timer = delay;
}
if (instage) {
if (random(10) == 0) {
rto = rto + ((Math.random() * 180) - 90);
}
if ((((this._x < (radius * 2)) || (this._x > (game.sw - (radius * 2)))) || (this._y < (radius * 2))) || (this._y > (game.sw - (radius * 2)))) {
rto = ((Math.atan2(this._y - (game.sw / 2), this._x - (game.sw / 2)) * 180) / Math.PI) - 90;
}
}
rdiff = ((rto = rto % 360)) - rot;
if (rdiff > 180) {
rdiff = rdiff - 360;
} else if (rdiff < -180) {
rdiff = rdiff + 360;
}
rot = rot + (rdiff / 5);
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y + (Math.cos((rot * Math.PI) / 180) * (-speed));
}
if (etype == 3) {
if (timer == 0) {
game.fbullet(this);
timer = delay;
}
this._x = this._x + (Math.sin(((this._rotation + 90) * Math.PI) / 180) * speed);
this._y = this._y + (Math.cos(((this._rotation + 90) * Math.PI) / 180) * (-speed));
}
if (etype == 4) {
if (timer == 0) {
game.fbullet(this);
}
if (timer == -4) {
game.fbullet(this);
}
if (timer <= -8) {
game.fbullet(this);
timer = delay;
}
if (!instage) {
this._x = this._x + (Math.sin(angle_rad + (Math.PI/2)) * speed);
this._y = this._y + (Math.cos(angle_rad + (Math.PI/2)) * (-speed));
} else {
xdiff = this._x - game.ball._x;
ydiff = this._y - game.ball._y;
dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (dist < 200) {
angle = (angle_to = Math.atan2(game.ball._y - this._y, game.ball._x - this._x) + (Math.PI/2));
speed = -Math.abs(game.ball.bspeed);
} else {
speed = speed + 1;
angle_to = Math.atan2(game.ball._y - this._y, game.ball._x - this._x) + (Math.PI/2);
}
speed = game.limit(speed, 3, -7);
angle = game.ease_rotation(angle_to, angle);
xspeed = Math.sin(angle) * speed;
yspeed = Math.cos(angle) * (-speed);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
this._x = game.limit(this._x, game.sw - radius, radius);
this._y = game.limit(this._y, game.sw - radius, radius);
}
}
if (etype == 5) {
if (timer == 0) {
game.fbullet(this);
}
if (timer == -4) {
game.fbullet(this);
}
if (timer == -8) {
game.fbullet(this);
}
if (timer == -12) {
game.fbullet(this);
}
if (timer <= -16) {
game.fbullet(this);
timer = delay;
}
if (instage) {
if (this._x < radius) {
xspeed = Math.abs(xspeed);
}
if (this._x > (game.sw - radius)) {
xspeed = -Math.abs(xspeed);
}
if (this._y < radius) {
yspeed = Math.abs(yspeed);
}
if (this._y > (game.sw - radius)) {
yspeed = -Math.abs(yspeed);
}
}
this._x = this._x + xspeed;
this._y = this._y + yspeed;
}
if (etype == 6) {
if (timer == 0) {
game.fbullet(this);
timer = delay;
}
if (hit && (!game.ball.hitTest(this))) {
hit = false;
health = 10;
}
if (this._x < radius) {
xspeed = Math.abs(xspeed);
}
if (this._x > (game.sw - radius)) {
xspeed = -Math.abs(xspeed);
}
if (this._y < radius) {
yspeed = Math.abs(yspeed);
}
if (this._y > (game.sw - radius)) {
yspeed = -Math.abs(yspeed);
}
this._x = this._x + xspeed;
this._y = this._y + yspeed;
}
if (game.ball.hitTest(this)) {
if (Math.abs(game.ball.bspeed) > health) {
game.explode(this, 7);
remove();
} else {
if (etype == 6) {
if (!hit) {
game.ball.xspeed = Math.sin(((this._rotation + 90) * Math.PI) / 180) * 20;
game.ball.yspeed = Math.cos(((this._rotation + 90) * Math.PI) / 180) * -20;
}
} else {
game.ball.xspeed = Math.sin(((this._rotation + 90) * Math.PI) / 180) * 20;
game.ball.yspeed = Math.cos(((this._rotation + 90) * Math.PI) / 180) * -20;
}
game.explode(this, 3);
}
}
}
};
Symbol 20 MovieClip [particle] Frame 1
onEnterFrame = function () {
if (_root.gpause) {
this.stop();
} else {
this.play();
}
};
Symbol 20 MovieClip [particle] Frame 30
this.removeMovieClip();
Symbol 30 MovieClip [trail] Frame 1
onEnterFrame = function () {
if (_root.gpause) {
this.stop();
} else {
this.play();
}
};
Symbol 30 MovieClip [trail] Frame 15
this.removeMovieClip();
Symbol 32 MovieClip Frame 1
stop();
Symbol 32 MovieClip Frame 2
stop();
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Symbol 281 MovieClip [__Packages.ab3.rankz.Armor_Bot_30_En_AS1] Frame 0
class ab3.rankz.Armor_Bot_30_En_AS1 extends Object
{
static var _CharsReverseLookup;
var _Armor_Bot_30_En_AS1Str, _Armor_Bot_30_En_AS1Count;
function Armor_Bot_30_En_AS1 () {
super();
}
static function Encode(str) {
var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return(_local1.encodeArmor_Bot_30_En_AS1(str));
}
static function Decode(str) {
var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return(_local1.decodeArmor_Bot_30_En_AS1(str));
}
static function StringReplaceAll(source, find, replacement) {
return(source.split(find).join(replacement));
}
static function InitReverseChars() {
_CharsReverseLookup = new Array();
var _local1 = 0;
while (_local1 < _Chars.length) {
_CharsReverseLookup[_Chars[_local1]] = _local1;
_local1++;
}
return(true);
}
static function UrlDecode(str) {
str = StringReplaceAll(str, "\\", " ");
str = unescape(str);
return(str);
}
static function UrlEncode(str) {
str = escape(str);
str = StringReplaceAll(str, "\\", "%2B");
str = StringReplaceAll(str, "%20", "+");
return(str);
}
function setArmor_Bot_30_En_AS1Str(str) {
_Armor_Bot_30_En_AS1Str = str;
_Armor_Bot_30_En_AS1Count = 0;
}
function readArmor_Bot_30_En_AS1() {
if (!_Armor_Bot_30_En_AS1Str) {
return(_EndOfInput);
}
if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) {
return(_EndOfInput);
}
var _local2 = _Armor_Bot_30_En_AS1Str.charCodeAt(_Armor_Bot_30_En_AS1Count) & 255;
_Armor_Bot_30_En_AS1Count++;
return(_local2);
}
function encodeArmor_Bot_30_En_AS1(str) {
setArmor_Bot_30_En_AS1Str(str);
var _local3 = "";
var _local2 = new Array(3);
var _local5 = 0;
var _local4 = false;
while ((!_local4) && (((_local2[0] = readArmor_Bot_30_En_AS1())) != _EndOfInput)) {
_local2[1] = readArmor_Bot_30_En_AS1();
_local2[2] = readArmor_Bot_30_En_AS1();
_local3 = _local3 + _Chars[_local2[0] >> 2];
if (_local2[1] != _EndOfInput) {
_local3 = _local3 + _Chars[((_local2[0] << 4) & 48) | (_local2[1] >> 4)];
if (_local2[2] != _EndOfInput) {
_local3 = _local3 + _Chars[((_local2[1] << 2) & 60) | (_local2[2] >> 6)];
_local3 = _local3 + _Chars[_local2[2] & 63];
} else {
_local3 = _local3 + _Chars[(_local2[1] << 2) & 60];
_local3 = _local3 + "=";
_local4 = true;
}
} else {
_local3 = _local3 + _Chars[(_local2[0] << 4) & 48];
_local3 = _local3 + "=";
_local3 = _local3 + "=";
_local4 = true;
}
_local5 = _local5 + 4;
if (_local5 >= 76) {
_local3 = _local3 + newline;
_local5 = 0;
}
}
return(_local3);
}
function readReverseArmor_Bot_30_En_AS1() {
if (!_Armor_Bot_30_En_AS1Str) {
return(_EndOfInput);
}
while (true) {
if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) {
return(_EndOfInput);
}
var _local2 = _Armor_Bot_30_En_AS1Str.charAt(_Armor_Bot_30_En_AS1Count);
_Armor_Bot_30_En_AS1Count++;
if (_CharsReverseLookup[_local2]) {
return(_CharsReverseLookup[_local2]);
}
if (_local2 == "A") {
return(0);
}
}
}
function ntos(n) {
var _local1 = n.toString(16);
if (_local1.length == 1) {
_local1 = "0" + _local1;
}
_local1 = "%" + _local1;
return(unescape(_local1));
}
function decodeArmor_Bot_30_En_AS1(str) {
setArmor_Bot_30_En_AS1Str(str);
var _local3 = "";
var _local2 = new Array(4);
var _local4 = false;
while (((!_local4) && (((_local2[0] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) && (((_local2[1] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) {
_local2[2] = readReverseArmor_Bot_30_En_AS1();
_local2[3] = readReverseArmor_Bot_30_En_AS1();
_local3 = _local3 + ntos(((_local2[0] << 2) & 255) | (_local2[1] >> 4));
if (_local2[2] != _EndOfInput) {
_local3 = _local3 + ntos(((_local2[1] << 4) & 255) | (_local2[2] >> 2));
if (_local2[3] != _EndOfInput) {
_local3 = _local3 + ntos(((_local2[2] << 6) & 255) | _local2[3]);
} else {
_local4 = true;
}
} else {
_local4 = true;
}
}
return(_local3);
}
function toHex(n) {
var _local4 = "";
var _local3 = true;
var _local1 = 32;
while (_local1 > 0) {
_local1 = _local1 - 4;
var _local2 = (n >> _local1) & 15;
if ((!_local3) || (_local2 != 0)) {
_local3 = false;
_local4 = _local4 + _Digits[_local2];
}
}
return(((_local4 == "") ? "0" : (_local4)));
}
function pad(str, len, pad) {
var _local2 = str;
var _local1 = str.length;
while (_local1 < len) {
_local2 = pad + _local2;
_local1++;
}
return(_local2);
}
function encodeHex(str) {
var _local4 = "";
var _local2 = 0;
while (_local2 < str.length) {
_local4 = _local4 + pad(toHex(str.charCodeAt(_local2) & 255), 2, "0");
_local2++;
}
return(_local4);
}
function decodeHex(str) {
var _local5 = "";
var _local3 = "";
var _local2 = 0;
while (_local2 < str.length) {
_local3 = _local3 + str.charAt(_local2);
if (_local3.length == 2) {
_local5 = _local5 + ntos(parseInt("0x" + _local3));
_local3 = "";
}
_local2++;
}
return(_local5);
}
static var _EndOfInput = -1;
static var _Chars = new Array("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+", "/");
static var _CharsReverseLookupInited = InitReverseChars();
static var _Digits = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f");
}
Symbol 35 MovieClip Frame 1
i = 0;
while (i < 200) {
id = this.getNextHighestDepth();
var star = this.attachMovie("star", "star" + id, id);
star._x = Math.random() * Stage.width;
star._y = Math.random() * Stage.height;
star._xscale = (star._yscale = (Math.random() * 25) + 25);
i++;
}
Symbol 44 MovieClip Frame 100
stop();
Symbol 52 MovieClip Frame 1
stop();
Symbol 54 Button
on (release) {
getURL ("http://www.hallpass.com", "_blank");
}
Symbol 65 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 2
stop();
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 32 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Symbol 75 MovieClip Frame 222
_root.gotoAndStop("kabomb");
Symbol 76 MovieClip Frame 1
loadedbytes = _root.getBytesLoaded();
totalbytes = _root.getBytesTotal();
percentbytes = int(loadedbytes / (totalbytes / 100));
loader.gotoAndStop(percentbytes);
Symbol 76 MovieClip Frame 2
if (loadedbytes == totalbytes) {
gotoAndStop (3);
} else {
gotoAndPlay (1);
}
Symbol 76 MovieClip Frame 3
stop();
Symbol 89 MovieClip Frame 199
_root.gotoAndStop("menu");
Symbol 92 Button
on (release) {
gotoAndStop ("intro");
}
Symbol 101 MovieClip Frame 1
_root.stop();
Instance of Symbol 97 MovieClip in Symbol 101 MovieClip Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
if (this._visible == false) {
this._visible = true;
} else {
this._visible = false;
}
}
}
Symbol 101 MovieClip Frame 113
_root.gotoAndStop("menu");
Symbol 102 Button
on (release) {
gotoAndStop ("menu");
}
Symbol 118 MovieClip Frame 12
stop();
Symbol 121 MovieClip Frame 12
stop();
Symbol 123 Button
on (release) {
_root.gotoAndStop("difficulty");
}
Symbol 129 MovieClip Frame 12
stop();
Symbol 132 MovieClip Frame 12
stop();
Symbol 133 Button
on (release) {
gotoAndStop ("settings");
}
Symbol 137 MovieClip Frame 12
stop();
Symbol 139 MovieClip Frame 12
stop();
Symbol 140 Button
on (release) {
gotoAndStop ("instructions");
}
Symbol 143 Button
on (release) {
gotoAndStop ("menu");
}
Symbol 145 Button
on (release) {
_root._quality = "MEDIUM";
nextFrame();
}
Symbol 148 Button
on (release) {
_root._quality = "LOW";
nextFrame();
}
Symbol 150 Button
on (release) {
_root._quality = "HIGH";
gotoAndStop (1);
}
Symbol 152 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root._quality);
};
Symbol 153 Button
on (release) {
_root.effects = false;
nextFrame();
}
Symbol 155 Button
on (release) {
_root.effects = true;
prevFrame();
}
Symbol 157 MovieClip Frame 1
if (_root.effects) {
stop();
} else {
gotoAndStop (2);
}
Symbol 158 Button
on (release) {
_root.sounds = false;
nextFrame();
}
Symbol 160 Button
on (release) {
_root.sounds = true;
prevFrame();
}
Symbol 162 MovieClip Frame 1
stop();
if (_root.sounds) {
stop();
} else {
gotoAndStop (2);
}
Symbol 163 Button
on (release) {
_root.music = false;
nextFrame();
}
Symbol 165 Button
on (release) {
_root.music = true;
prevFrame();
}
Symbol 167 MovieClip Frame 1
stop();
if (_root.music) {
stop();
} else {
gotoAndStop (2);
}
Symbol 168 Button
on (release) {
_root.bg = false;
nextFrame();
}
Symbol 170 Button
on (release) {
_root.bg = true;
prevFrame();
}
Symbol 172 MovieClip Frame 1
stop();
if (_root.bg) {
stop();
} else {
gotoAndStop (2);
}
Symbol 176 MovieClip Frame 1
stop();
Symbol 189 Button
on (release) {
getURL ("http://www.kabomb.net", "_blank");
}
Symbol 195 Button
on (release) {
getURL ("http://www.hallpass.com/", "_blank");
}
Symbol 201 Button
on (release) {
_root.health = 100;
difficulty = "easy";
gotoAndStop ("game");
}
Symbol 205 Button
on (release) {
_root.health = 25;
difficulty = "normal";
gotoAndStop ("game");
}
Symbol 210 Button
on (release) {
_root.health = 10;
difficulty = "hard";
gotoAndStop ("game");
}
Symbol 213 Button
on (release) {
gotoAndStop ("menu");
}
Symbol 215 MovieClip Frame 1
i = 0;
while (i < 50) {
id = this.getNextHighestDepth();
var star = this.attachMovie("star", "star" + id, id);
star._x = Math.random() * Stage.width;
star._y = Math.random() * Stage.height;
star._xscale = (star._yscale = (Math.random() * 50) + 50);
i++;
}
Symbol 219 MovieClip Frame 1
var game = _root.game_mc;
var speed = 10;
var xspeed = 0;
var yspeed = 0;
var fric = 0.8;
var radius = 15;
var small = false;
var big = false;
var quick = false;
var shield = 0;
var respawn = true;
var rtimer = 0;
var filterArray = new Array();
onEnterFrame = function () {
if (!game.gpause) {
if (shield > 0) {
shield--;
if ((((((shield == 96) || (shield == 48)) || (shield == 12)) || (shield == 8)) || (shield == 4)) || (shield == 2)) {
game.osd_mc.powerups.shield._visible = false;
}
if ((((((shield == 72) || (shield == 24)) || (shield == 10)) || (shield == 6)) || (shield == 3)) || (shield == 1)) {
game.osd_mc.powerups.shield._visible = true;
}
this.shield_mc._visible = true;
} else {
this.shield_mc._visible = false;
game.osd_mc.powerups.shield._visible = false;
}
if (quick) {
fric = 0.7;
speed = 3;
game.trails(this, 1);
} else {
fric = 0.8;
speed = 10;
}
if (!respawn) {
rtimer--;
if ((((((rtimer == 144) || (rtimer == 120)) || (rtimer == 96)) || (rtimer == 72)) || (rtimer == 48)) || (rtimer == 24)) {
this._alpha = 100;
}
if ((((((rtimer == 132) || (rtimer == 108)) || (rtimer == 84)) || (rtimer == 60)) || (rtimer == 36)) || (rtimer == 12)) {
this._alpha = 50;
}
if (rtimer <= 0) {
respawn = true;
this._alpha = 100;
}
}
xm = game._xmouse;
ym = game._ymouse;
xspeed = xspeed + ((xm - this._x) / speed);
yspeed = yspeed + ((ym - this._y) / speed);
xspeed = xspeed * fric;
yspeed = yspeed * fric;
xspeed = game.limit(xspeed, 50, -50);
yspeed = game.limit(yspeed, 50, -50);
twidth = (this._xscale / 100) * 15;
theight = (this._yscale / 100) * 15;
if (this._x < twidth) {
xspeed = Math.abs(xspeed);
game.trails(this, 3);
}
if (this._x > (game.sw - twidth)) {
xspeed = -Math.abs(xspeed);
game.trails(this, 3);
}
if (this._y < theight) {
yspeed = Math.abs(yspeed);
game.trails(this, 3);
}
if (this._y > (game.sw - theight)) {
yspeed = -Math.abs(yspeed);
game.trails(this, 3);
}
this._x = this._x + xspeed;
this._y = this._y + yspeed;
xdiff = xm - xmb;
ydiff = ym - ymb;
mspeed = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
bxdiff = xbb - this._x;
bydiff = ybb - this._y;
angle = Math.atan2(bydiff, bxdiff);
bspeed = Math.sqrt((bxdiff * bxdiff) + (bydiff * bydiff));
this._xscale = 100 + bspeed;
this._yscale = 100 - bspeed;
if (this._xscale > 200) {
this._xscale = 200;
}
if (this._yscale < 20) {
this._yscale = 20;
}
var _local5 = bspeed / 5;
var _local4 = bspeed / 5;
var _local2 = 1;
var _local3 = new flash.filters.BlurFilter(_local5, _local4, _local2);
filterArray.splice(0, 2);
filterArray.push(_local3);
this.filters = filterArray;
this._rotation = (angle * 180) / Math.PI;
xmb = game._xmouse;
ymb = game._ymouse;
xbb = this._x;
ybb = this._y;
radius = 15;
if (small) {
this._xscale = this._xscale / 2;
this._yscale = this._yscale / 2;
radius = radius / 2;
}
if (big) {
this._xscale = this._xscale * 1.5;
this._yscale = this._yscale * 1.5;
radius = radius * 1.5;
}
}
};
Symbol 221 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 1
stop();
Symbol 238 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 240 Button
on (release) {
_parent.end_game();
}
Symbol 265 MovieClip Frame 1
function make_sound(link) {
if (_root.sounds) {
var _local2 = new Sound(_root.sounds_mc);
_local2.attachSound(link);
_local2.start(0, 0);
}
}
function out_of_bounds(mc) {
if ((((mc._x < ((-mc._width) / 2)) || (mc._x > (game.sw + (mc._width / 2)))) || (mc._y < ((-mc._height) / 2))) || (mc._y > (game.sw + (mc._height / 2)))) {
return(true);
}
}
function reset_ball() {
score_plus = 100;
ball.small = false;
ball.big = false;
ball.quick = false;
osd_mc.powerups.big._visible = false;
osd_mc.powerups.small._visible = false;
osd_mc.powerups.quick._visible = false;
}
function set_dir(mc, dir) {
if (dir == 0) {
mc._x = (-mc._width) / 2;
mc._y = Math.random() * game.sw;
} else if (dir == 1) {
mc._x = game.sw + (mc._width / 2);
mc._y = Math.random() * game.sw;
} else if (dir == 2) {
mc._x = Math.random() * game.sw;
mc._y = (-mc._height) / 2;
} else {
mc._x = Math.random() * game.sw;
mc._y = game.sw + (mc._height / 2);
}
}
function check_instage(mc, dir) {
if ((dir == 0) && (mc._x > mc._width)) {
return(true);
}
if ((dir == 1) && (mc._x < (game.sw - mc._width))) {
return(true);
}
if ((dir == 2) && (mc._y > mc._width)) {
return(true);
}
if ((dir == 3) && (mc._y < (game.sw - mc._width))) {
return(true);
}
}
function ball_die() {
if ((ball.shield <= 0) && (ball.respawn)) {
overlay.red_flash_mc.gotoAndPlay(2);
reset_ball();
ball.respawn = false;
ball.rtimer = 144;
make_sound("hit");
health--;
if (health <= 0) {
end_game();
}
return(true);
}
return(false);
}
function fbullet(enemy_mc) {
var _local2 = items_mc.attachMovie("bullet", "bullet" + items_mc.getNextHighestDepth(), items_mc.getNextHighestDepth());
_local2._rotation = enemy_mc._rotation;
_local2._x = enemy_mc._x + ((Math.sin(((_local2._rotation + 90) * Math.PI) / 180) * enemy_mc.radius) * 2);
_local2._y = enemy_mc._y + ((Math.cos(((_local2._rotation + 90) * Math.PI) / 180) * (-enemy_mc.radius)) * 2);
_local2.speed = bspeed;
_local2.xspeed = Math.sin(((_local2._rotation + 90) * Math.PI) / 180) * _local2.speed;
_local2.yspeed = Math.cos(((_local2._rotation + 90) * Math.PI) / 180) * (-_local2.speed);
_local2.onEnterFrame = function () {
if (!gpause) {
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
if (this.hitTest(ball)) {
game.explode(ball, 3);
if (ball_die()) {
ball.xspeed = (Math.sin(((this._rotation + 90) * Math.PI) / 180) * this.speed) * 5;
ball.yspeed = (Math.cos(((this._rotation + 90) * Math.PI) / 180) * (-this.speed)) * 5;
this.removeMovieClip();
} else {
this.bs_angle = Math.atan2(ball._y - this._y, ball._x - this._x) - (Math.PI/2);
this._rotation = ((this.bs_angle * 180) / Math.PI) + 90;
this.xspeed = Math.sin(this.bs_angle) * this.speed;
this.yspeed = Math.cos(this.bs_angle) * (-this.speed);
}
if (out_of_bounds(this)) {
this.removeMovieClip();
}
}
}
};
}
function spowerup() {
var _local2 = items_mc.attachMovie("powerup", "powerup" + items_mc.getNextHighestDepth(), items_mc.getNextHighestDepth());
_local2.ptype = random(4) + 1;
_local2.gotoAndStop(_local2.ptype);
_local2.instage = false;
_local2.dir = random(4);
set_dir(_local2, _local2.dir);
_local2.angle = Math.atan2(game.ball._y - _local2._y, game.ball._x - _local2._x) + (Math.PI/2);
_local2.speed = 5;
_local2.xspeed = Math.sin(_local2.angle) * _local2.speed;
_local2.yspeed = Math.cos(_local2.angle) * (-_local2.speed);
_local2.onEnterFrame = function () {
if (!gpause) {
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
if (!this.instage) {
if (check_instage(this, this.dir)) {
this.instage = true;
}
} else if (out_of_bounds(this)) {
this.removeMovieClip();
}
if (ball.hitTest(this)) {
if (this.ptype == 1) {
ball.big = true;
ball.small = false;
osd_mc.powerups.big._visible = true;
osd_mc.powerups.small._visible = false;
}
if (this.ptype == 2) {
ball.small = true;
ball.big = false;
osd_mc.powerups.small._visible = true;
osd_mc.powerups.big._visible = false;
}
if (this.ptype == 3) {
ball.quick = true;
osd_mc.powerups.quick._visible = true;
}
if (this.ptype == 4) {
ball.shield = 480;
osd_mc.powerups.shield._visible = true;
}
explode(this, 5);
make_sound("kill");
this.removeMovieClip();
}
}
};
}
function senemy(etype) {
if (etotal < tokill) {
etotal++;
var _local1 = items_mc.attachMovie("enemy", "enemy" + items_mc.getNextHighestDepth(), items_mc.getNextHighestDepth());
enemies.push(_local1);
_local1.etype = etype;
}
}
function smine() {
var _local2 = items_mc.attachMovie("mine", "mine" + items_mc.getNextHighestDepth(), items_mc.getNextHighestDepth());
_local2.instage = false;
_local2.dir = random(4);
set_dir(_local2, _local2.dir);
_local2.angle = Math.atan2(game.ball._y - _local2._y, game.ball._x - _local2._x) + (Math.PI/2);
_local2.speed = 5;
_local2.xspeed = Math.sin(_local2.angle) * _local2.speed;
_local2.yspeed = Math.cos(_local2.angle) * (-_local2.speed);
_local2.onEnterFrame = function () {
if (!gpause) {
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
this._rotation = this._rotation + 5;
if (!this.instage) {
if (check_instage(this, this.dir)) {
this.instage = true;
}
} else if (out_of_bounds(this)) {
this.removeMovieClip();
}
if (this.hitTest(ball)) {
if (!ball_die()) {
this.bs_angle = Math.atan2(ball._y - this._y, ball._x - this._x) - (Math.PI/2);
this._rotation = ((this.bs_angle * 180) / Math.PI) + 90;
this.xspeed = Math.sin(this.bs_angle) * this.speed;
this.yspeed = Math.cos(this.bs_angle) * (-this.speed);
} else {
explode(this, 5);
ball.xspeed = (Math.sin(((this._rotation + 90) * Math.PI) / 180) * this.speed) * 5;
ball.yspeed = (Math.cos(((this._rotation + 90) * Math.PI) / 180) * (-this.speed)) * 5;
this.removeMovieClip();
}
}
}
};
}
function trails(mc, amount) {
if (_root.effects) {
i = 0;
while (i < amount) {
var _local2 = items_mc.attachMovie("trail", "trail" + items_mc.getNextHighestDepth(), items_mc.getNextHighestDepth());
_local2._x = mc._x;
_local2._y = mc._y;
_local2._rotation = Math.random() * 360;
_local2._xscale = (_local2._yscale = (Math.random() * 50) + 50);
i++;
}
}
}
function sscore(x, y, score_var) {
var _local2 = items2_mc.attachMovie("score_up", "score_up" + items2_mc.getNextHighestDepth(), items2_mc.getNextHighestDepth());
_local2._x = x;
_local2._y = y;
_local2.timer = 12;
_local2.splus_txt = "+" + score_var;
_local2.onEnterFrame = function () {
if (!gpause) {
this.timer--;
if (this.timer < 0) {
this._alpha = this._alpha - 10;
if (this._alpha < 0) {
this.removeMovieClip();
}
}
this._y = this._y - 2;
this._x = limit(this._x, game.sw - (this._width / 2), this._width / 2);
this._y = limit(this._y, game.sw - (this._height / 2), this._height / 2);
}
};
}
function limit(variable, max, min) {
if (variable > max) {
return(max);
}
if (variable < min) {
return(min);
}
return(variable);
}
function ease_rotation(rto, rotation) {
rto = rto % 360;
rdiff = rto - rotation;
if (rdiff > 180) {
rdiff = rdiff - 360;
} else if (rdiff < -180) {
rdiff = rdiff + 360;
}
rotation = rotation + (rdiff / 10);
return(rotation);
}
function explode(mc, amount) {
if (_root.effects) {
i = 0;
while (i < amount) {
var _local2 = items_mc.attachMovie("particle", "particle" + items_mc.getNextHighestDepth(), items_mc.getNextHighestDepth());
_local2._x = mc._x;
_local2._y = mc._y;
_local2._rotation = Math.random() * 360;
_local2._xscale = (_local2._yscale = (Math.random() * 50) + 50);
i++;
}
}
}
function end_game() {
Mouse.show();
_root.score = score;
_root.gotoAndStop("game_over");
}
var game = this;
stop();
Mouse.hide();
var sw = 540;
var bspeed = 7;
var level = 1;
overlay.gotoAndStop(level);
var enemies = new Array();
var tokill = 20;
var etotal = 0;
var ekilled = 0;
var min_enemies = 1;
var erange = 1;
var health = _root.health;
var score_plus = 100;
var score = 0;
var score_to = 0;
var score_speed = 0;
var particles = true;
var gpause = false;
splus_mc._alpha = 0;
osd_mc.powerups.big._visible = false;
osd_mc.powerups.small._visible = false;
osd_mc.powerups.quick._visible = false;
osd_mc.powerups.shield._visible = false;
game.createEmptyMovieClip("items_mc", game.getNextHighestDepth());
game.createEmptyMovieClip("items2_mc", game.getNextHighestDepth());
ball.swapDepths(game.getNextHighestDepth());
overlay.swapDepths(game.getNextHighestDepth());
osd_mc.swapDepths(game.getNextHighestDepth());
pointer.swapDepths(game.getNextHighestDepth());
gpause_mc.swapDepths(game.getNextHighestDepth());
prlse = true;
onEnterFrame = function () {
if (!_root.bg) {
stars._visible = false;
} else {
stars._visible = true;
}
if (Key.isDown(80) && (prlse)) {
prlse = false;
}
if ((!Key.isDown(80)) && (!prlse)) {
prlse = true;
gpause = (gpause ? false : true);
}
if (!gpause) {
gpause_mc._visible = false;
Mouse.hide();
if ((enemies.length < min_enemies) || (random(300 - (level * 10)) == 0)) {
if (etotal < tokill) {
senemy(random(erange) + 1);
}
}
osd_mc.lvl_txt = "level " + level;
osd_mc.health_txt = health;
score_plus--;
score_plus = limit(score_plus, 1000, 100);
osd_mc.score_bar._yscale = ((score_plus - 100) / 900) * 100;
score_to = score_to + ((score - score_to) / 10);
osd_mc.score_txt = "score " + Math.round(score_to);
splus_mc._alpha = splus_mc._alpha - 10;
pointer._x = game._xmouse;
pointer._y = game._ymouse;
if (random(1000 - (level * 10)) == 0) {
spowerup();
}
if (random(1000 - (level * 10)) == 0) {
smine();
}
if (ekilled == tokill) {
overlay.flash_mc.gotoAndPlay(2);
level++;
if (level == 26) {
_root.score = score;
Mouse.show();
_root.gotoAndStop("game_complete");
}
if ((level / 3) == Math.round(level / 3)) {
erange++;
}
erange = limit(erange, 5, 1);
tokill = 20 + (level - 1);
overlay.gotoAndStop(level);
etotal = 0;
ekilled = 0;
min_enemies = min_enemies + 0.2;
min_enemies = limit(min_enemies, 3, 1);
i = 0;
while (i < 3) {
senemy(random(erange) + 1);
i++;
}
}
} else {
gpause_mc._visible = true;
Mouse.show();
}
};
Symbol 271 Button
on (release) {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3);
par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST");
}
var hs_name = name_txt.text;
if (hs_name == undefined) {
hs_name = "No Name";
}
trace(name_txt);
bXlnYW1lX25hbWVfdmFyaWFibGU = hs_name;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.score;
__rankz_send__("MjE4NWolZSVhJW4lcw==", "YWtaWXlHQ0Q=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
submit_btn.enabled = false;
submit_btn._alpha = 75;
}
Symbol 274 Button
on (release) {
getURL ("http://rankz.armorbot.com/squidgy/", "_blank");
}
Symbol 277 MovieClip Frame 1
urlStart = _url.indexOf("://") + 3;
urlEnd = _url.indexOf("/", urlStart);
domain = _url.substring(urlStart, urlEnd);
LastDot = domain.lastIndexOf(".") - 1;
domEnd = domain.lastIndexOf(".", LastDot) + 1;
domain = domain.substring(domEnd, domain.length);
score_txt = "score: " + _root.score;
trace("hallpass score submitted");
if (domain == "hallpass.com") {
_root.HPScoreService.postScore(_root.score, _root.difficulty);
gotoAndStop (2);
} else {
stop();
}
Symbol 279 Button
on (release) {
gotoAndStop ("difficulty");
}