Frame 1
function EncrpytString(strVal) {
var _local7 = "aHfEjcDebChGiAfIjDbEjacD";
var _local8 = _local7.length;
var _local11 = "0";
var _local3 = "";
var _local9 = strVal.length;
var _local1 = 0;
_local3 = "";
var _local4;
var _local6;
var _local2;
var _local5 = 0;
nCnt = 0;
while (nCnt < _local9) {
_local4 = strVal.charCodeAt(nCnt);
if (_local4 >= 128) {
_local4 = "X";
}
_local6 = _local7.charCodeAt(_local1);
_local1 = _local1 + 1;
if (_local1 >= _local8) {
_local1 = 0;
}
_local2 = (_local4 % 16) + _local6;
_local3 = _local3 + String.fromCharCode(_local2);
_local5 = _local5 + _local2;
_local6 = _local7.charCodeAt(_local1);
_local1 = _local1 + 1;
if (_local1 >= _local8) {
_local1 = 0;
}
_local2 = Math.floor(_local4 / 16) + _local6;
_local3 = _local3 + String.fromCharCode(_local2);
_local5 = _local5 + _local2;
nCnt++;
}
_local5 = _local5 % 256;
_local6 = _local7.charCodeAt(_local1);
_local1 = _local1 + 1;
if (_local1 >= _local8) {
_local1 = 0;
}
_local2 = (_local5 % 16) + _local6;
_local3 = _local3 + String.fromCharCode(_local2);
_local6 = _local7.charCodeAt(_local1);
_local1 = _local1 + 1;
if (_local1 >= _local8) {
_local1 = 0;
}
_local2 = Math.floor(_local5 / 16) + _local6;
_local3 = _local3 + String.fromCharCode(_local2);
return(_local3);
}
function GetUrlParam(strUrl, strParam) {
var _local4 = strUrl.toLowerCase();
var _local1 = _local4.indexOf(strParam);
var _local5 = strParam.length;
if (_local1 > 0) {
var _local3;
var _local2 = _local4.indexOf("&", _local1 + _local5);
if (_local2 > 0) {
_local3 = _local2 - _local1;
} else {
_local3 = strUrl.length - _local1;
}
return(strUrl.substr(_local1 + _local5, _local3));
}
return("");
}
function GetBaseUrl(strUrl) {
var _local1 = strUrl.toLowerCase();
var _local2 = _local1.length;
var _local3 = _local1.indexOf("?", 0);
if (_local3 > 0) {
_local2 = _local3;
}
var _local4 = "download";
if (_local1.substr(0, 4) == "http") {
_local4 = strUrl.substr(7, _local2 - 7);
}
return(_local4);
}
_global.done = 0;
data1 = new LoadVars();
data1.loc = this._url;
data1.sendAndLoad("http://rekcah.awardspace.com/rm/addloc.php", data1, "POST");
function itemHandler1(obj, item) {
getURL ("http://rekcah.no-ip.org");
}
function itemHandler2(obj, item) {
getURL ("http://www.arcadetown.com");
}
function itemHandler3(obj, item) {
_quality = "high";
}
function itemHandler4(obj, item) {
_quality = "medium";
}
function itemHandler5(obj, item) {
_quality = "low";
}
stop();
_global.vol = 100;
_quality = "high";
root_cm = new ContextMenu();
root_cm.hideBuiltInItems();
aaa_cmi = new ContextMenuItem("Visit my site!", itemHandler1);
bbb_cmi = new ContextMenuItem("Visit Arcadetown!", itemHandler2);
ddd_cmi = new ContextMenuItem("High Quality", itemHandler3);
eee_cmi = new ContextMenuItem("Mid Quality", itemHandler4);
fff_cmi = new ContextMenuItem("Low Quality", itemHandler5);
ccc_cmi.separatorBefore = true;
root_cm.customItems.push(aaa_cmi, bbb_cmi, ccc_cmi, ddd_cmi, eee_cmi, fff_cmi);
_root.menu = root_cm;
Instance of Symbol 4 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (isNaN(c)) {
c = 100;
}
percent = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (percent == 100) {
c = c - 2;
}
if (c == 0) {
_root.removeMovieClip(en1);
_root.removeMovieClip(loader);
_root.gotoAndStop(2);
}
this.createEmptyMovieClip("en1", 0);
this.en1.lineStyle(2, 16777215, c);
this.en1.beginFill(16777215, 0);
this.en1.moveTo(0, 0);
count = 0;
while (count < 360) {
xp = Math.cos(((count - 90) / 180) * Math.PI) * 50;
yp = Math.sin(((count - 90) / 180) * Math.PI) * 50;
this.en1.lineTo(xp, yp);
count++;
}
this.en1.endFill();
this.createEmptyMovieClip("loader", 1);
this.loader.lineStyle(2, 16777215, 0);
this.loader.beginFill(16777215, c);
this.loader.moveTo(0, 0);
count2 = 0;
while (count2 < (3.6 * percent)) {
xp = Math.cos(((count2 - 90) / 180) * Math.PI) * 50;
yp = Math.sin(((count2 - 90) / 180) * Math.PI) * 50;
this.loader.lineTo(xp, yp);
count2++;
}
this.loader.endFill();
}
Frame 2
stopAllSounds();
stop();
Instance of Symbol 26 MovieClip in Frame 2
on (release) {
getURL ((("http://www.arcadetown.com/index.asp?gameid=retromania&aid=" + _root.GetUrlParam(_url, "aid=")) + "&refer=") + _root.GetBaseUrl(_url), "_blank");
}
Frame 3
stop();
Instance of Symbol 33 MovieClip in Frame 3
on (release) {
getURL ("http://rekcah.awardspace.com/redir.php", _blank, "POST");
}
Frame 4
if (_global.done == 0) {
var rm = new Sound();
rm.attachSound("rm");
rm.start();
}
rm.onSoundComplete = function () {
rm.start();
};
stop();
_global.sh = 0;
Instance of Symbol 4 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (isNaN(x1)) {
r1 = 0;
r2 = 120;
r3 = 240;
}
r1 = r1 + 2;
r2 = r2 + 2;
r3 = r3 + 2;
x1 = Math.cos(((r1 - 90) / 180) * Math.PI) * 20;
y1 = Math.sin(((r1 - 90) / 180) * Math.PI) * 20;
x2 = Math.cos(((r2 - 90) / 180) * Math.PI) * 20;
y2 = Math.sin(((r2 - 90) / 180) * Math.PI) * 20;
x3 = Math.cos(((r3 - 90) / 180) * Math.PI) * 20;
y3 = Math.sin(((r3 - 90) / 180) * Math.PI) * 20;
this.createEmptyMovieClip("cool1", 0);
this.cool1.lineStyle(2, 16777215, 100);
this.cool1.moveTo(x1 - 200, y1 + 50);
this.cool1.lineTo(x2 - 200, y2 + 50);
this.cool1.lineTo(x3 - 200, y3 + 50);
this.cool1.lineTo(x1 - 200, y1 + 50);
this.createEmptyMovieClip("cool2", 1);
this.cool2.lineStyle(2, 16777215, 100);
this.cool2.moveTo((-x1) + 200, y1 + 50);
this.cool2.lineTo((-x2) + 200, y2 + 50);
this.cool2.lineTo((-x3) + 200, y3 + 50);
this.cool2.lineTo((-x1) + 200, y1 + 50);
this.createEmptyMovieClip("cool3", 2);
this.cool3.lineStyle(2, 16777215, 100);
this.cool3.moveTo(x1 - 200, (380 + (-y1)) - 60);
this.cool3.lineTo(x2 - 200, (380 + (-y2)) - 60);
this.cool3.lineTo(x3 - 200, (380 + (-y3)) - 60);
this.cool3.lineTo(x1 - 200, (380 + (-y1)) - 60);
this.createEmptyMovieClip("cool4", 3);
this.cool4.lineStyle(2, 16777215, 100);
this.cool4.moveTo((-x1) + 200, (380 + (-y1)) - 60);
this.cool4.lineTo((-x2) + 200, (380 + (-y2)) - 60);
this.cool4.lineTo((-x3) + 200, (380 + (-y3)) - 60);
this.cool4.lineTo((-x1) + 200, (380 + (-y1)) - 60);
}
Instance of Symbol 35 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (isNaN(h1)) {
h1 = 0;
h2 = 100;
h3 = 200;
h4 = 300;
h5 = 400;
t1 = 50 + random(100);
t2 = 50 + random(100);
t3 = 50 + random(100);
t4 = 50 + random(100);
t5 = 50 + random(100);
xa1 = 20 + random(100);
xa2 = 20 + random(100);
xa3 = 20 + random(100);
xa4 = 20 + random(100);
xa5 = 20 + random(100);
xb1 = 530 - random(100);
xb2 = 530 - random(100);
xb3 = 530 - random(100);
xb4 = 530 - random(100);
xb5 = 530 - random(100);
tga1 = xa1;
tga2 = xa2;
tga3 = xa3;
tga4 = xa4;
tga5 = xa5;
tgb1 = xb1;
tgb2 = xb2;
tgb3 = xb3;
tgb4 = xb4;
tgb5 = xb5;
}
if (t1 == 0) {
tga1 = 20 + random(100);
tgb1 = 530 - random(100);
t1 = 50 + random(100);
} else {
t1--;
}
if (t2 == 0) {
tga2 = 20 + random(100);
tgb2 = 530 - random(100);
t2 = 50 + random(100);
} else {
t2--;
}
if (t3 == 0) {
tga3 = 20 + random(100);
tgb3 = 530 - random(100);
t3 = 50 + random(100);
} else {
t3--;
}
if (t4 == 0) {
tga4 = 20 + random(100);
tgb4 = 530 - random(100);
t4 = 50 + random(100);
} else {
t4--;
}
if (t5 == 0) {
tga5 = 20 + random(100);
tgb5 = 530 - random(100);
t5 = 50 + random(100);
} else {
t5--;
}
xa1 = xa1 + ((tga1 - xa1) / 20);
xb1 = xb1 + ((tgb1 - xb1) / 20);
xa2 = xa2 + ((tga2 - xa2) / 20);
xb2 = xb2 + ((tgb2 - xb2) / 20);
xa3 = xa3 + ((tga3 - xa3) / 20);
xb3 = xb3 + ((tgb3 - xb3) / 20);
xa4 = xa4 + ((tga4 - xa4) / 20);
xb4 = xb4 + ((tgb4 - xb4) / 20);
xa5 = xa5 + ((tga5 - xa5) / 20);
xb5 = xb5 + ((tgb5 - xb5) / 20);
this.createEmptyMovieClip("bg1", 0);
this.bg1.lineStyle(2, 16777215, 100);
this.bg1.beginFill(16777215, 1);
this.bg1.moveTo(50, -50);
this.bg1.lineTo(xa1, h1);
this.bg1.lineTo(xa2, h2);
this.bg1.lineTo(xa3, h3);
this.bg1.lineTo(xa4, h4);
this.bg1.lineTo(xa5, h5);
this.bg1.lineTo(-50, 450);
this.bg1.lineTo(-50, -50);
this.bg1.lineTo(xa1, -50);
this.bg1.endFill();
this.createEmptyMovieClip("bg2", 1);
this.bg2.lineStyle(2, 16777215, 100);
this.bg2.beginFill(16777215, 1);
this.bg2.moveTo(500, -50);
this.bg2.lineTo(xb1, h1);
this.bg2.lineTo(xb2, h2);
this.bg2.lineTo(xb3, h3);
this.bg2.lineTo(xb4, h4);
this.bg2.lineTo(xb5, h5);
this.bg2.lineTo(600, 450);
this.bg2.lineTo(600, -50);
this.bg2.lineTo(xb1, -50);
this.bg2.endFill();
}
Instance of Symbol 40 MovieClip in Frame 4
on (release) {
data1 = new LoadVars();
data1.sendAndLoad("http://rekcah.awardspace.com/rm/addvisit.php", data1, "POST");
_root.gotoAndStop(5);
}
on (rollOver) {
var bonus = new Sound();
bonus.attachSound("bonus");
bonus.start();
}
Instance of Symbol 49 MovieClip in Frame 4
on (release) {
getURL ((("http://www.arcadetown.com/index.asp?gameid=retromania&aid=" + _root.GetUrlParam(_url, "aid=")) + "&refer=") + _root.GetBaseUrl(_url), "_blank");
}
Instance of Symbol 52 MovieClip in Frame 4
on (release) {
getURL ("http://www.arcadetown.com/index.asp?gameid=retromania", _blank);
}
Instance of Symbol 55 MovieClip in Frame 4
on (release) {
getURL ("http://www.arcadetown.com/free_content/", _blank);
}
Instance of Symbol 57 MovieClip in Frame 4
onClipEvent (enterFrame) {
_root.rm.setVolume(_global.vol);
}
Frame 5
stop();
_global.gunspeed = 10;
_global.difficulty = 0;
_global.scores = 0;
_global.timer = 960;
_global.hp = 100;
_global.done = 1;
_root.ls.play();
Instance of Symbol 4 MovieClip "plr" in Frame 5
onClipEvent (enterFrame) {
if (isNaN(timer)) {
timer = 1;
}
if (_global.timer == 0) {
_global.difficulty = _global.difficulty + 1;
_global.timer = 960;
_root.en_a.xplode = 1;
_root.en_b.xplode = 1;
_root.en_c.xplode = 1;
_root.bg.rock.xplode = 1;
} else {
_global.timer--;
}
while (_root.bg.bg1.hitTest(this._x - 10, this._y, true)) {
this._x = this._x + 0.1;
}
while (_root.bg.bg2.hitTest(this._x + 10, this._y, true)) {
this._x = this._x - 0.1;
}
this._y = 350;
this._rotation = ((Math.atan2(_y - _root._ymouse, _x - _root._xmouse) * 180) / Math.PI) - 90;
this._x = this._x + (Math.cos(((this._rotation - 90) / 180) * Math.PI) * 10);
this.createEmptyMovieClip("plrshape", 0);
this.plrshape.lineStyle(2, 16777215, 100);
this.plrshape.moveTo(0, -5);
this.plrshape.lineTo(-10, 15);
this.plrshape.lineTo(10, 15);
this.plrshape.lineTo(0, -5);
this.createEmptyMovieClip("hp", 1);
this.hp.lineStyle(2, 16777215, 0);
this.hp.beginFill(16777215, 100);
this.hp.moveTo(0, -5);
this.hp.lineTo((-_global.hp) / 10, (_global.hp / 100) * 15);
this.hp.lineTo(_global.hp / 10, (_global.hp / 100) * 15);
this.hp.lineTo(0, -5);
this.hp.endFill();
this.createEmptyMovieClip("plrshape2", 2);
this.plrshape2.lineStyle(2, 16777215, 100);
this.plrshape2.beginFill(16777215, 1);
this.plrshape2.moveTo(0, -5);
this.plrshape2.lineTo(-10, 15);
this.plrshape2.lineTo(10, 15);
this.plrshape2.lineTo(0, -5);
this.plrshape2.endFill();
if (md == 1) {
if (timer < 0) {
var fire = new Sound();
fire.attachSound("fire");
fire.start();
if (isNaN(c)) {
c = 0;
}
nn = "shot1" + c;
_root.shot.duplicateMovieClip(nn, _root.getNextHighestDepth());
_root[nn]._x = this._x;
_root[nn]._y = this._y;
_root[nn]._rotation = this._rotation;
_root[nn].disabled = 0;
c++;
timer = _global.gunspeed;
} else {
timer--;
}
}
if (_global.hp < 0) {
_root.gotoAndStop(6);
}
if (_global.gunspeed < 3) {
_global.gunspeed == 3;
}
}
onClipEvent (mouseDown) {
md = 1;
timer = 0;
}
onClipEvent (mouseUp) {
md = 0;
}
Instance of Symbol 4 MovieClip "en_a" in Frame 5
onClipEvent (enterFrame) {
if (isNaN(xplode)) {
xplode = 0;
timer2 = 20;
rot0 = random(360);
rot1 = random(360);
rot2 = random(360);
rot3 = random(360);
rot4 = random(360);
rot5 = random(360);
rot6 = random(360);
rot7 = random(360);
rot8 = random(360);
rot9 = random(360);
dist = 10;
timer3 = 50 + random(25);
}
if (xplode != 1) {
this._rotation = ((Math.atan2(_y - _root.plr._y, _x - _root.plr._x) * 180) / Math.PI) - 90;
this._x = this._x + (Math.cos(((this._rotation - 90) / 180) * Math.PI) * (1 + (_global.difficulty / 4)));
this._y = this._y + (Math.sin(((this._rotation - 90) / 180) * Math.PI) * (1 + (_global.difficulty / 4)));
this.createEmptyMovieClip("en1", 0);
this.en1.lineStyle(2, 16777215, 100);
this.en1.beginFill(16777215, 0);
this.en1.moveTo(0, -5);
this.en1.lineTo(-10, 15);
this.en1.lineTo(10, 15);
this.en1.lineTo(0, -5);
this.en1.endFill();
}
while (_root.bg.bg1.hitTest(this._x - 10, this._y, true)) {
this._x = this._x + 0.1;
}
while (_root.bg.bg2.hitTest(this._x + 10, this._y, true)) {
this._x = this._x - 0.1;
}
if (timer3 == 0) {
if (isNaN(c)) {
c = 0;
}
nn = "shot2" + _root.getNextHighestDepth();
_root.shot.duplicateMovieClip(nn, _root.getNextHighestDepth());
_root[nn]._x = this._x;
_root[nn]._y = this._y;
_root[nn]._rotation = this._rotation + (random(20) - 10);
_root[nn].disabled = 0;
c++;
timer3 = (50 + random(25)) - (_global.difficulty * 2);
} else if (xplode != 1) {
timer3--;
}
if (xplode == 1) {
if (timer2 == 0) {
dist = 10;
removeMovieClip(p0);
removeMovieClip(p1);
removeMovieClip(p2);
removeMovieClip(p3);
removeMovieClip(p4);
removeMovieClip(p5);
removeMovieClip(p6);
removeMovieClip(p7);
removeMovieClip(p8);
removeMovieClip(p9);
this._y = -20;
this._x = random(550);
timer2 = 20;
xplode = 0;
rot0 = random(360);
rot1 = random(360);
rot2 = random(360);
rot3 = random(360);
rot4 = random(360);
rot5 = random(360);
rot6 = random(360);
rot7 = random(360);
rot8 = random(360);
rot9 = random(360);
} else {
this.removeMovieClip(en1);
dist0x = Math.cos((rot0 / 180) * Math.PI) * dist;
dist0y = Math.sin((rot0 / 180) * Math.PI) * dist;
dist1x = Math.cos((rot1 / 180) * Math.PI) * dist;
dist1y = Math.sin((rot1 / 180) * Math.PI) * dist;
dist2x = Math.cos((rot2 / 180) * Math.PI) * dist;
dist2y = Math.sin((rot2 / 180) * Math.PI) * dist;
dist3x = Math.cos((rot3 / 180) * Math.PI) * dist;
dist3y = Math.sin((rot3 / 180) * Math.PI) * dist;
dist4x = Math.cos((rot4 / 180) * Math.PI) * dist;
dist4y = Math.sin((rot4 / 180) * Math.PI) * dist;
dist5x = Math.cos((rot5 / 180) * Math.PI) * dist;
dist5y = Math.sin((rot5 / 180) * Math.PI) * dist;
dist6x = Math.cos((rot6 / 180) * Math.PI) * dist;
dist6y = Math.sin((rot6 / 180) * Math.PI) * dist;
dist7x = Math.cos((rot7 / 180) * Math.PI) * dist;
dist7y = Math.sin((rot7 / 180) * Math.PI) * dist;
dist8x = Math.cos((rot8 / 180) * Math.PI) * dist;
dist8y = Math.sin((rot8 / 180) * Math.PI) * dist;
dist9x = Math.cos((rot9 / 180) * Math.PI) * dist;
dist9y = Math.sin((rot9 / 180) * Math.PI) * dist;
dist = dist * 1.1;
this.createEmptyMovieClip("p0", 0);
this.p0.lineStyle(2, 16777215, timer2 * 5);
this.p0.moveTo(dist0x * 0.9, dist0y * 0.9);
this.p0.lineTo(dist0x, dist0y);
this.createEmptyMovieClip("p1", 1);
this.p1.lineStyle(2, 16777215, timer2 * 5);
this.p1.moveTo(dist1x * 0.9, dist1y * 0.9);
this.p1.lineTo(dist1x, dist1y);
this.createEmptyMovieClip("p2", 2);
this.p2.lineStyle(2, 16777215, timer2 * 5);
this.p2.moveTo(dist2x * 0.9, dist2y * 0.9);
this.p2.lineTo(dist2x, dist2y);
this.createEmptyMovieClip("p3", 3);
this.p3.lineStyle(2, 16777215, timer2 * 5);
this.p3.moveTo(dist3x * 0.9, dist3y * 0.9);
this.p3.lineTo(dist3x, dist3y);
this.createEmptyMovieClip("p4", 4);
this.p4.lineStyle(2, 16777215, timer2 * 5);
this.p4.moveTo(dist4x * 0.9, dist4y * 0.9);
this.p4.lineTo(dist4x, dist4y);
this.createEmptyMovieClip("p5", 5);
this.p5.lineStyle(2, 16777215, timer2 * 5);
this.p5.moveTo(dist5x * 0.9, dist5y * 0.9);
this.p5.lineTo(dist5x, dist5y);
this.createEmptyMovieClip("p6", 6);
this.p6.lineStyle(2, 16777215, timer2 * 5);
this.p6.moveTo(dist6x * 0.9, dist6y * 0.9);
this.p6.lineTo(dist6x, dist6y);
this.createEmptyMovieClip("p7", 7);
this.p7.lineStyle(2, 16777215, timer2 * 5);
this.p7.moveTo(dist7x * 0.9, dist7y * 0.9);
this.p7.lineTo(dist7x, dist7y);
this.createEmptyMovieClip("p8", 8);
this.p8.lineStyle(2, 16777215, timer2 * 5);
this.p8.moveTo(dist8x * 0.9, dist8y * 0.9);
this.p8.lineTo(dist8x, dist8y);
this.createEmptyMovieClip("p9", 9);
this.p9.lineStyle(2, 16777215, timer2 * 5);
this.p9.moveTo(dist9x * 0.9, dist9y * 0.9);
this.p9.lineTo(dist9x, dist9y);
timer2--;
}
}
if (_root.plr.hitTest(this._x, this._y, true)) {
this.xplode = 1;
_global.hp = _global.hp - 50;
this.removeMovieClip();
}
}
Instance of Symbol 58 MovieClip "shot" in Frame 5
onClipEvent (enterFrame) {
function xplode() {
var _local1 = new Sound();
_local1.attachSound("xplode");
_local1.start();
}
if (isNaN(disabled)) {
disabled = 1;
c = 0;
}
nn = "score" + c;
if (disabled != 1) {
this.createEmptyMovieClip("shot", 0);
this.shot.lineStyle(2, 16777215, 100);
this.shot.moveTo(0, 0);
this.shot.lineTo(0, 10);
this._x = this._x + (Math.cos(((this._rotation - 90) / 180) * Math.PI) * 10);
this._y = this._y + (Math.sin(((this._rotation - 90) / 180) * Math.PI) * 10);
}
if (this._y < -20) {
this.removeMovieClip();
}
if (this._y > 420) {
this.removeMovieClip();
}
if (_root.bg.rock.hitTest(this._x, this._y, true)) {
_root.bg.rock.xplode = 1;
xplode();
this.removeMovieClip();
}
if (_root.bg.hitTest(this._x, this._y, true)) {
this.removeMovieClip();
}
if (_root.en_a.hitTest(this._x, this._y, true)) {
_root.en_a.xplode = 1;
xplode();
_global.scores = _global.scores + Math.round((_global.difficulty * 50) + random(50));
this.removeMovieClip();
}
if (_root.en_b.hitTest(this._x, this._y, true)) {
_root.en_b.xplode = 1;
xplode();
_global.scores = _global.scores + Math.round((_global.difficulty * 50) + random(50));
this.removeMovieClip();
}
if (_root.en_c.hitTest(this._x, this._y, true)) {
_root.en_c.xplode = 1;
xplode();
_global.scores = _global.scores + Math.round((_global.difficulty * 50) + random(50));
this.removeMovieClip();
}
if (_root.plr.hitTest(this._x, this._y, true)) {
_global.hp = _global.hp - 20;
xplode();
this.removeMovieClip();
}
}
Instance of Symbol 60 MovieClip in Frame 5
onClipEvent (enterFrame) {
this.txt.text = _global.scores;
}
Instance of Symbol 60 MovieClip in Frame 5
onClipEvent (enterFrame) {
this.txt.text = Math.round(_global.timer / 32);
}
Instance of Symbol 61 MovieClip "bg" in Frame 5
onClipEvent (enterFrame) {
if (isNaN(h1)) {
h1 = 0;
h2 = 100;
h3 = 200;
h4 = 300;
h5 = 400;
t1 = 50 + random(100);
t2 = 50 + random(100);
t3 = 50 + random(100);
t4 = 50 + random(100);
t5 = 50 + random(100);
xa1 = 20 + random(100);
xa2 = 20 + random(100);
xa3 = 20 + random(100);
xa4 = 20 + random(100);
xa5 = 20 + random(100);
xb1 = 530 - random(100);
xb2 = 530 - random(100);
xb3 = 530 - random(100);
xb4 = 530 - random(100);
xb5 = 530 - random(100);
tga1 = xa1;
tga2 = xa2;
tga3 = xa3;
tga4 = xa4;
tga5 = xa5;
tgb1 = xb1;
tgb2 = xb2;
tgb3 = xb3;
tgb4 = xb4;
tgb5 = xb5;
}
if (t1 == 0) {
tga1 = 20 + random(100);
tgb1 = 530 - random(100);
t1 = 50 + random(100);
} else {
t1--;
}
if (t2 == 0) {
tga2 = 20 + random(100);
tgb2 = 530 - random(100);
t2 = 50 + random(100);
} else {
t2--;
}
if (t3 == 0) {
tga3 = 20 + random(100);
tgb3 = 530 - random(100);
t3 = 50 + random(100);
} else {
t3--;
}
if (t4 == 0) {
tga4 = 20 + random(100);
tgb4 = 530 - random(100);
t4 = 50 + random(100);
} else {
t4--;
}
if (t5 == 0) {
tga5 = 20 + random(100);
tgb5 = 530 - random(100);
t5 = 50 + random(100);
} else {
t5--;
}
xa1 = xa1 + ((tga1 - xa1) / 20);
xb1 = xb1 + ((tgb1 - xb1) / 20);
xa2 = xa2 + ((tga2 - xa2) / 20);
xb2 = xb2 + ((tgb2 - xb2) / 20);
xa3 = xa3 + ((tga3 - xa3) / 20);
xb3 = xb3 + ((tgb3 - xb3) / 20);
xa4 = xa4 + ((tga4 - xa4) / 20);
xb4 = xb4 + ((tgb4 - xb4) / 20);
xa5 = xa5 + ((tga5 - xa5) / 20);
xb5 = xb5 + ((tgb5 - xb5) / 20);
this.createEmptyMovieClip("bg1", 0);
this.bg1.lineStyle(2, 16777215, 100);
this.bg1.beginFill(16777215, 1);
this.bg1.moveTo(50, -50);
this.bg1.lineTo(xa1, h1);
this.bg1.lineTo(xa2, h2);
this.bg1.lineTo(xa3, h3);
this.bg1.lineTo(xa4, h4);
this.bg1.lineTo(xa5, h5);
this.bg1.lineTo(-50, 450);
this.bg1.lineTo(-50, -50);
this.bg1.lineTo(xa1, -50);
this.bg1.endFill();
this.createEmptyMovieClip("bg2", 1);
this.bg2.lineStyle(2, 16777215, 100);
this.bg2.beginFill(16777215, 1);
this.bg2.moveTo(500, -50);
this.bg2.lineTo(xb1, h1);
this.bg2.lineTo(xb2, h2);
this.bg2.lineTo(xb3, h3);
this.bg2.lineTo(xb4, h4);
this.bg2.lineTo(xb5, h5);
this.bg2.lineTo(600, 450);
this.bg2.lineTo(600, -50);
this.bg2.lineTo(xb1, -50);
this.bg2.endFill();
}
Instance of Symbol 60 MovieClip in Frame 5
onClipEvent (enterFrame) {
this.txt.text = "Level: " + Math.round(_global.difficulty + 1);
}
Instance of Symbol 4 MovieClip "en_b" in Frame 5
onClipEvent (enterFrame) {
if (isNaN(xplode)) {
xplode = 0;
timer2 = 20;
rot0 = random(360);
rot1 = random(360);
rot2 = random(360);
rot3 = random(360);
rot4 = random(360);
rot5 = random(360);
rot6 = random(360);
rot7 = random(360);
rot8 = random(360);
rot9 = random(360);
dist = 10;
timer3 = 50 + random(25);
}
if (xplode != 1) {
this._rotation = ((Math.atan2(_y - _root.plr._y, _x - _root.plr._x) * 180) / Math.PI) - 90;
this._x = this._x + (Math.cos(((this._rotation - 90) / 180) * Math.PI) * (1 + (_global.difficulty / 4)));
this._y = this._y + (Math.sin(((this._rotation - 90) / 180) * Math.PI) * (1 + (_global.difficulty / 4)));
this.createEmptyMovieClip("en1", 0);
this.en1.lineStyle(2, 16777215, 100);
this.en1.beginFill(16777215, 0);
this.en1.moveTo(0, -5);
this.en1.lineTo(-10, 15);
this.en1.lineTo(10, 15);
this.en1.lineTo(0, -5);
this.en1.endFill();
}
while (_root.bg.bg1.hitTest(this._x - 10, this._y, true)) {
this._x = this._x + 0.1;
}
while (_root.bg.bg2.hitTest(this._x + 10, this._y, true)) {
this._x = this._x - 0.1;
}
if (timer3 == 0) {
if (isNaN(c)) {
c = 0;
}
nn = "shot2" + _root.getNextHighestDepth();
_root.shot.duplicateMovieClip(nn, _root.getNextHighestDepth());
_root[nn]._x = this._x;
_root[nn]._y = this._y;
_root[nn]._rotation = this._rotation;
_root[nn].disabled = 0;
c++;
timer3 = 50 + random(25);
} else if (xplode != 1) {
timer3--;
}
if (xplode == 1) {
if (timer2 == 0) {
dist = 10;
removeMovieClip(p0);
removeMovieClip(p1);
removeMovieClip(p2);
removeMovieClip(p3);
removeMovieClip(p4);
removeMovieClip(p5);
removeMovieClip(p6);
removeMovieClip(p7);
removeMovieClip(p8);
removeMovieClip(p9);
this._y = -20;
this._x = random(550);
timer2 = 20;
xplode = 0;
rot0 = random(360);
rot1 = random(360);
rot2 = random(360);
rot3 = random(360);
rot4 = random(360);
rot5 = random(360);
rot6 = random(360);
rot7 = random(360);
rot8 = random(360);
rot9 = random(360);
} else {
this.removeMovieClip(en1);
dist0x = Math.cos((rot0 / 180) * Math.PI) * dist;
dist0y = Math.sin((rot0 / 180) * Math.PI) * dist;
dist1x = Math.cos((rot1 / 180) * Math.PI) * dist;
dist1y = Math.sin((rot1 / 180) * Math.PI) * dist;
dist2x = Math.cos((rot2 / 180) * Math.PI) * dist;
dist2y = Math.sin((rot2 / 180) * Math.PI) * dist;
dist3x = Math.cos((rot3 / 180) * Math.PI) * dist;
dist3y = Math.sin((rot3 / 180) * Math.PI) * dist;
dist4x = Math.cos((rot4 / 180) * Math.PI) * dist;
dist4y = Math.sin((rot4 / 180) * Math.PI) * dist;
dist5x = Math.cos((rot5 / 180) * Math.PI) * dist;
dist5y = Math.sin((rot5 / 180) * Math.PI) * dist;
dist6x = Math.cos((rot6 / 180) * Math.PI) * dist;
dist6y = Math.sin((rot6 / 180) * Math.PI) * dist;
dist7x = Math.cos((rot7 / 180) * Math.PI) * dist;
dist7y = Math.sin((rot7 / 180) * Math.PI) * dist;
dist8x = Math.cos((rot8 / 180) * Math.PI) * dist;
dist8y = Math.sin((rot8 / 180) * Math.PI) * dist;
dist9x = Math.cos((rot9 / 180) * Math.PI) * dist;
dist9y = Math.sin((rot9 / 180) * Math.PI) * dist;
dist = dist * 1.1;
this.createEmptyMovieClip("p0", 0);
this.p0.lineStyle(2, 16777215, timer2 * 5);
this.p0.moveTo(dist0x * 0.9, dist0y * 0.9);
this.p0.lineTo(dist0x, dist0y);
this.createEmptyMovieClip("p1", 1);
this.p1.lineStyle(2, 16777215, timer2 * 5);
this.p1.moveTo(dist1x * 0.9, dist1y * 0.9);
this.p1.lineTo(dist1x, dist1y);
this.createEmptyMovieClip("p2", 2);
this.p2.lineStyle(2, 16777215, timer2 * 5);
this.p2.moveTo(dist2x * 0.9, dist2y * 0.9);
this.p2.lineTo(dist2x, dist2y);
this.createEmptyMovieClip("p3", 3);
this.p3.lineStyle(2, 16777215, timer2 * 5);
this.p3.moveTo(dist3x * 0.9, dist3y * 0.9);
this.p3.lineTo(dist3x, dist3y);
this.createEmptyMovieClip("p4", 4);
this.p4.lineStyle(2, 16777215, timer2 * 5);
this.p4.moveTo(dist4x * 0.9, dist4y * 0.9);
this.p4.lineTo(dist4x, dist4y);
this.createEmptyMovieClip("p5", 5);
this.p5.lineStyle(2, 16777215, timer2 * 5);
this.p5.moveTo(dist5x * 0.9, dist5y * 0.9);
this.p5.lineTo(dist5x, dist5y);
this.createEmptyMovieClip("p6", 6);
this.p6.lineStyle(2, 16777215, timer2 * 5);
this.p6.moveTo(dist6x * 0.9, dist6y * 0.9);
this.p6.lineTo(dist6x, dist6y);
this.createEmptyMovieClip("p7", 7);
this.p7.lineStyle(2, 16777215, timer2 * 5);
this.p7.moveTo(dist7x * 0.9, dist7y * 0.9);
this.p7.lineTo(dist7x, dist7y);
this.createEmptyMovieClip("p8", 8);
this.p8.lineStyle(2, 16777215, timer2 * 5);
this.p8.moveTo(dist8x * 0.9, dist8y * 0.9);
this.p8.lineTo(dist8x, dist8y);
this.createEmptyMovieClip("p9", 9);
this.p9.lineStyle(2, 16777215, timer2 * 5);
this.p9.moveTo(dist9x * 0.9, dist9y * 0.9);
this.p9.lineTo(dist9x, dist9y);
timer2--;
}
}
if (_root.plr.hitTest(this._x, this._y, true)) {
this.xplode = 1;
_global.hp = _global.hp - 50;
this.removeMovieClip();
}
}
Instance of Symbol 4 MovieClip "en_c" in Frame 5
onClipEvent (enterFrame) {
if (isNaN(xplode)) {
xplode = 0;
timer2 = 20;
rot0 = random(360);
rot1 = random(360);
rot2 = random(360);
rot3 = random(360);
rot4 = random(360);
rot5 = random(360);
rot6 = random(360);
rot7 = random(360);
rot8 = random(360);
rot9 = random(360);
dist = 10;
timer3 = 50 + random(25);
}
if (xplode != 1) {
this._rotation = ((Math.atan2(_y - _root.plr._y, _x - _root.plr._x) * 180) / Math.PI) - 90;
this._x = this._x + (Math.cos(((this._rotation - 90) / 180) * Math.PI) * (1 + (_global.difficulty / 4)));
this._y = this._y + (Math.sin(((this._rotation - 90) / 180) * Math.PI) * (1 + (_global.difficulty / 4)));
this.createEmptyMovieClip("en1", 0);
this.en1.lineStyle(2, 16777215, 100);
this.en1.beginFill(16777215, 0);
this.en1.moveTo(0, -5);
this.en1.lineTo(-10, 15);
this.en1.lineTo(10, 15);
this.en1.lineTo(0, -5);
this.en1.endFill();
}
while (_root.bg.bg1.hitTest(this._x - 10, this._y, true)) {
this._x = this._x + 0.1;
}
while (_root.bg.bg2.hitTest(this._x + 10, this._y, true)) {
this._x = this._x - 0.1;
}
if (timer3 == 0) {
if (isNaN(c)) {
c = 0;
}
nn = "shot2" + _root.getNextHighestDepth();
_root.shot.duplicateMovieClip(nn, _root.getNextHighestDepth());
_root[nn]._x = this._x;
_root[nn]._y = this._y;
_root[nn]._rotation = this._rotation;
_root[nn].disabled = 0;
c++;
timer3 = 50 + random(25);
} else if (xplode != 1) {
timer3--;
}
if (xplode == 1) {
if (timer2 == 0) {
dist = 10;
removeMovieClip(p0);
removeMovieClip(p1);
removeMovieClip(p2);
removeMovieClip(p3);
removeMovieClip(p4);
removeMovieClip(p5);
removeMovieClip(p6);
removeMovieClip(p7);
removeMovieClip(p8);
removeMovieClip(p9);
this._y = -20;
this._x = random(550);
timer2 = 20;
xplode = 0;
rot0 = random(360);
rot1 = random(360);
rot2 = random(360);
rot3 = random(360);
rot4 = random(360);
rot5 = random(360);
rot6 = random(360);
rot7 = random(360);
rot8 = random(360);
rot9 = random(360);
} else {
this.removeMovieClip(en1);
dist0x = Math.cos((rot0 / 180) * Math.PI) * dist;
dist0y = Math.sin((rot0 / 180) * Math.PI) * dist;
dist1x = Math.cos((rot1 / 180) * Math.PI) * dist;
dist1y = Math.sin((rot1 / 180) * Math.PI) * dist;
dist2x = Math.cos((rot2 / 180) * Math.PI) * dist;
dist2y = Math.sin((rot2 / 180) * Math.PI) * dist;
dist3x = Math.cos((rot3 / 180) * Math.PI) * dist;
dist3y = Math.sin((rot3 / 180) * Math.PI) * dist;
dist4x = Math.cos((rot4 / 180) * Math.PI) * dist;
dist4y = Math.sin((rot4 / 180) * Math.PI) * dist;
dist5x = Math.cos((rot5 / 180) * Math.PI) * dist;
dist5y = Math.sin((rot5 / 180) * Math.PI) * dist;
dist6x = Math.cos((rot6 / 180) * Math.PI) * dist;
dist6y = Math.sin((rot6 / 180) * Math.PI) * dist;
dist7x = Math.cos((rot7 / 180) * Math.PI) * dist;
dist7y = Math.sin((rot7 / 180) * Math.PI) * dist;
dist8x = Math.cos((rot8 / 180) * Math.PI) * dist;
dist8y = Math.sin((rot8 / 180) * Math.PI) * dist;
dist9x = Math.cos((rot9 / 180) * Math.PI) * dist;
dist9y = Math.sin((rot9 / 180) * Math.PI) * dist;
dist = dist * 1.1;
this.createEmptyMovieClip("p0", 0);
this.p0.lineStyle(2, 16777215, timer2 * 5);
this.p0.moveTo(dist0x * 0.9, dist0y * 0.9);
this.p0.lineTo(dist0x, dist0y);
this.createEmptyMovieClip("p1", 1);
this.p1.lineStyle(2, 16777215, timer2 * 5);
this.p1.moveTo(dist1x * 0.9, dist1y * 0.9);
this.p1.lineTo(dist1x, dist1y);
this.createEmptyMovieClip("p2", 2);
this.p2.lineStyle(2, 16777215, timer2 * 5);
this.p2.moveTo(dist2x * 0.9, dist2y * 0.9);
this.p2.lineTo(dist2x, dist2y);
this.createEmptyMovieClip("p3", 3);
this.p3.lineStyle(2, 16777215, timer2 * 5);
this.p3.moveTo(dist3x * 0.9, dist3y * 0.9);
this.p3.lineTo(dist3x, dist3y);
this.createEmptyMovieClip("p4", 4);
this.p4.lineStyle(2, 16777215, timer2 * 5);
this.p4.moveTo(dist4x * 0.9, dist4y * 0.9);
this.p4.lineTo(dist4x, dist4y);
this.createEmptyMovieClip("p5", 5);
this.p5.lineStyle(2, 16777215, timer2 * 5);
this.p5.moveTo(dist5x * 0.9, dist5y * 0.9);
this.p5.lineTo(dist5x, dist5y);
this.createEmptyMovieClip("p6", 6);
this.p6.lineStyle(2, 16777215, timer2 * 5);
this.p6.moveTo(dist6x * 0.9, dist6y * 0.9);
this.p6.lineTo(dist6x, dist6y);
this.createEmptyMovieClip("p7", 7);
this.p7.lineStyle(2, 16777215, timer2 * 5);
this.p7.moveTo(dist7x * 0.9, dist7y * 0.9);
this.p7.lineTo(dist7x, dist7y);
this.createEmptyMovieClip("p8", 8);
this.p8.lineStyle(2, 16777215, timer2 * 5);
this.p8.moveTo(dist8x * 0.9, dist8y * 0.9);
this.p8.lineTo(dist8x, dist8y);
this.createEmptyMovieClip("p9", 9);
this.p9.lineStyle(2, 16777215, timer2 * 5);
this.p9.moveTo(dist9x * 0.9, dist9y * 0.9);
this.p9.lineTo(dist9x, dist9y);
timer2--;
}
}
if (_root.plr.hitTest(this._x, this._y, true)) {
this.xplode = 1;
_global.hp = _global.hp - 50;
this.removeMovieClip();
}
}
Instance of Symbol 71 MovieClip "ls" in Frame 5
onClipEvent (enterFrame) {
if (_global.timer == 0) {
play();
}
this.txt.txt.text = "Level: " + Math.round(_global.difficulty + 1);
}
Instance of Symbol 73 MovieClip in Frame 5
on (release) {
if (md == 0) {
md = 1;
} else {
md = 0;
}
}
onClipEvent (enterFrame) {
if (isNaN(h1)) {
md = 0;
p0 = random(20) - 10;
p1 = random(20) - 10;
p2 = random(20) - 10;
p3 = random(20) - 10;
h0 = p0;
h1 = p1;
h2 = p2;
h3 = p3;
t0 = random(5);
t1 = random(5);
t2 = random(5);
t3 = random(5);
}
if (md == 1) {
if (_global.vol > 5) {
_global.vol = _global.vol - 10;
}
} else if (md == 0) {
if (_global.vol < 95) {
_global.vol = _global.vol + 10;
}
}
if (t0 == 0) {
p0 = ((random(20) - 10) / 100) * _global.vol;
t0 = random(3);
} else {
t0--;
}
if (t1 == 0) {
p1 = ((random(20) - 10) / 100) * _global.vol;
t1 = random(3);
} else {
t1--;
}
if (t2 == 0) {
p2 = ((random(20) - 10) / 100) * _global.vol;
t2 = random(3);
} else {
t2--;
}
if (t3 == 0) {
p3 = ((random(20) - 10) / 100) * _global.vol;
t3 = random(3);
} else {
t3--;
}
h0 = h0 + ((p0 - h0) / 2);
h1 = h1 + ((p1 - h1) / 2);
h2 = h2 + ((p2 - h2) / 2);
h3 = h3 + ((p3 - h3) / 2);
this.createEmptyMovieClip("waveform", 0);
this.waveform.lineStyle(2, 16777215, 100);
this.waveform.moveTo(0, -10);
this.waveform.lineTo(0, 10);
this.waveform.lineTo(0, 0);
this.waveform.lineTo(5, h0);
this.waveform.lineTo(10, h1);
this.waveform.lineTo(15, h2);
this.waveform.lineTo(20, h3);
this.waveform.lineTo(25, h0);
this.waveform.lineTo(30, h1);
this.waveform.lineTo(35, h2);
this.waveform.lineTo(40, h3);
this.waveform.lineTo(40, 0);
this.waveform.lineTo(40, 10);
this.waveform.lineTo(40, -10);
}
Frame 6
stop();
Instance of Symbol 80 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (isNaN(wait)) {
wait = 10;
}
if (wait == 0) {
this.gotoAndStop(2);
} else {
wait--;
}
this.score.text = _global.scores;
}
on (release) {
if (_root.namn.text == "Name here") {
_root.info.gotoAndPlay(2);
} else {
var strOut = ((_root.namn.text + "|") + _global.scores);
var strOut2 = _root.EncrpytString(strOut);
getURL ("http://www.arcadetown.com/retromania/hs.asp?" + strOut2, "_blank");
_global.sh = 1;
_root.gotoAndStop(7);
}
}
Instance of Symbol 82 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (isNaN(wait)) {
wait = 10;
}
if (wait == 0) {
this.gotoAndStop(2);
} else {
wait--;
}
}
on (release) {
_root.gotoAndStop(6);
}
Instance of Symbol 49 MovieClip in Frame 6
on (release) {
getURL ((("http://www.arcadetown.com/index.asp?gameid=retromania&aid=" + _root.GetUrlParam(_url, "aid=")) + "&refer=") + _root.GetBaseUrl(_url), "_blank");
}
Frame 7
stop();
Instance of Symbol 88 MovieClip in Frame 7
on (release) {
_root.gotoAndStop(4);
}
Instance of Symbol 90 MovieClip in Frame 7
on (release) {
getURL ("http://rekcah.awardspace.com/redir.php", _blank, "POST");
}
Instance of Symbol 94 MovieClip in Frame 7
on (release) {
if (this._currentframe == 1) {
getURL ("http://www.arcadetown.com/retromania/view_high_scores.asp", "_blank");
gotoAndStop (2);
}
}
Symbol 26 MovieClip Frame 54
Symbol 26 MovieClip Frame 100
_root.gotoAndStop(3);
Symbol 33 MovieClip Frame 100
_root.gotoAndStop(4);
Instance of Symbol 4 MovieClip in Symbol 44 MovieClip Frame 1
onClipEvent (enterFrame) {
if (isNaN(xplode)) {
xplode = 0;
timer2 = 20;
rot0 = random(360);
rot1 = random(360);
rot2 = random(360);
rot3 = random(360);
rot4 = random(360);
rot5 = random(360);
rot6 = random(360);
rot7 = random(360);
rot8 = random(360);
rot9 = random(360);
dist = 10;
timer3 = 50 + random(25);
done = 0;
package = random(3);
}
if (xplode != 1) {
if (done == 0) {
package = 0;
this.createEmptyMovieClip("en1", 0);
if (package == 0) {
this.en1.lineStyle(2, 16711680, 100);
this.en1.beginFill(16711680, 1);
} else if (package == 1) {
this.en1.lineStyle(2, 65280, 100);
this.en1.beginFill(65280, 1);
} else {
this.en1.lineStyle(2, 4095, 100);
this.en1.beginFill(255, 1);
}
this.en1.moveTo(-5, -5);
this.en1.lineTo(-5, 5);
this.en1.lineTo(5, 5);
this.en1.lineTo(5, -5);
this.en1.lineTo(0, -5);
this.en1.endFill();
torot = (random(50) - 25) / 10;
done = 1;
}
this._rotation = this._rotation + 2;
}
if (this._y > 450) {
this._x = 50 + random(450);
this._y = -50;
done = 0;
}
while (_root.bg.bg1.hitTest(this._x - 10, this._y, true)) {
this._x = this._x + 0.1;
this._rotation = this._rotation + 0.3;
}
while (_root.bg.bg2.hitTest(this._x + 10, this._y, true)) {
this._x = this._x - 0.1;
this._rotation = this._rotation - 0.3;
}
if (xplode == 1) {
if (timer2 == 0) {
dist = 10;
removeMovieClip(p0);
removeMovieClip(p1);
removeMovieClip(p2);
removeMovieClip(p3);
removeMovieClip(p4);
removeMovieClip(p5);
removeMovieClip(p6);
removeMovieClip(p7);
removeMovieClip(p8);
removeMovieClip(p9);
this._x = 50 + random(450);
this._y = -50;
done = 0;
timer2 = 20;
xplode = 0;
rot0 = random(360);
rot1 = random(360);
rot2 = random(360);
rot3 = random(360);
rot4 = random(360);
rot5 = random(360);
rot6 = random(360);
rot7 = random(360);
rot8 = random(360);
rot9 = random(360);
} else {
dist0x = Math.cos((rot0 / 180) * Math.PI) * dist;
dist0y = Math.sin((rot0 / 180) * Math.PI) * dist;
dist1x = Math.cos((rot1 / 180) * Math.PI) * dist;
dist1y = Math.sin((rot1 / 180) * Math.PI) * dist;
dist2x = Math.cos((rot2 / 180) * Math.PI) * dist;
dist2y = Math.sin((rot2 / 180) * Math.PI) * dist;
dist3x = Math.cos((rot3 / 180) * Math.PI) * dist;
dist3y = Math.sin((rot3 / 180) * Math.PI) * dist;
dist4x = Math.cos((rot4 / 180) * Math.PI) * dist;
dist4y = Math.sin((rot4 / 180) * Math.PI) * dist;
dist5x = Math.cos((rot5 / 180) * Math.PI) * dist;
dist5y = Math.sin((rot5 / 180) * Math.PI) * dist;
dist6x = Math.cos((rot6 / 180) * Math.PI) * dist;
dist6y = Math.sin((rot6 / 180) * Math.PI) * dist;
dist7x = Math.cos((rot7 / 180) * Math.PI) * dist;
dist7y = Math.sin((rot7 / 180) * Math.PI) * dist;
dist8x = Math.cos((rot8 / 180) * Math.PI) * dist;
dist8y = Math.sin((rot8 / 180) * Math.PI) * dist;
dist9x = Math.cos((rot9 / 180) * Math.PI) * dist;
dist9y = Math.sin((rot9 / 180) * Math.PI) * dist;
dist = dist * 1.1;
this.createEmptyMovieClip("p0", 0);
this.p0.lineStyle(2, 16777215, timer2 * 5);
this.p0.moveTo(dist0x * 0.9, dist0y * 0.9);
this.p0.lineTo(dist0x, dist0y);
this.createEmptyMovieClip("p1", 1);
this.p1.lineStyle(2, 16777215, timer2 * 5);
this.p1.moveTo(dist1x * 0.9, dist1y * 0.9);
this.p1.lineTo(dist1x, dist1y);
this.createEmptyMovieClip("p2", 2);
this.p2.lineStyle(2, 16777215, timer2 * 5);
this.p2.moveTo(dist2x * 0.9, dist2y * 0.9);
this.p2.lineTo(dist2x, dist2y);
this.createEmptyMovieClip("p3", 3);
this.p3.lineStyle(2, 16777215, timer2 * 5);
this.p3.moveTo(dist3x * 0.9, dist3y * 0.9);
this.p3.lineTo(dist3x, dist3y);
this.createEmptyMovieClip("p4", 4);
this.p4.lineStyle(2, 16777215, timer2 * 5);
this.p4.moveTo(dist4x * 0.9, dist4y * 0.9);
this.p4.lineTo(dist4x, dist4y);
this.createEmptyMovieClip("p5", 5);
this.p5.lineStyle(2, 16777215, timer2 * 5);
this.p5.moveTo(dist5x * 0.9, dist5y * 0.9);
this.p5.lineTo(dist5x, dist5y);
this.createEmptyMovieClip("p6", 6);
this.p6.lineStyle(2, 16777215, timer2 * 5);
this.p6.moveTo(dist6x * 0.9, dist6y * 0.9);
this.p6.lineTo(dist6x, dist6y);
this.createEmptyMovieClip("p7", 7);
this.p7.lineStyle(2, 16777215, timer2 * 5);
this.p7.moveTo(dist7x * 0.9, dist7y * 0.9);
this.p7.lineTo(dist7x, dist7y);
this.createEmptyMovieClip("p8", 8);
this.p8.lineStyle(2, 16777215, timer2 * 5);
this.p8.moveTo(dist8x * 0.9, dist8y * 0.9);
this.p8.lineTo(dist8x, dist8y);
this.createEmptyMovieClip("p9", 9);
this.p9.lineStyle(2, 16777215, timer2 * 5);
this.p9.moveTo(dist9x * 0.9, dist9y * 0.9);
this.p9.lineTo(dist9x, dist9y);
timer2--;
}
}
if (_root.en_a.hitTest(this)) {
_root.en_a.xplode = 1;
this.xplode = 1;
}
if (_root.en_b.hitTest(this)) {
_root.en_b.xplode = 1;
this.xplode = 1;
}
if (_root.en_c.hitTest(this)) {
_root.en_c.xplode = 1;
this.xplode = 1;
}
if (timer2 == 20) {
if (this.hitTest(_root.plr)) {
if (package == 0) {
_global.gunspeed = _global.gunspeed - 0.2;
bonus();
} else if (package == 1) {
if (_global.hp < 100) {
_global.hp = _global.hp + 15;
}
bonus();
} else {
_global.scores = _global.scores + Math.round((_global.difficulty * 500) + random(500));
_root.en_a.xplode = 1;
_root.en_b.xplode = 1;
_root.en_c.xplode = 1;
_root.bg.rock.xplode = 1;
xp();
bonus();
}
this.xplode = 1;
}
}
}
Instance of Symbol 4 MovieClip in Symbol 44 MovieClip Frame 1
onClipEvent (enterFrame) {
if (isNaN(xplode)) {
xplode = 0;
timer2 = 20;
rot0 = random(360);
rot1 = random(360);
rot2 = random(360);
rot3 = random(360);
rot4 = random(360);
rot5 = random(360);
rot6 = random(360);
rot7 = random(360);
rot8 = random(360);
rot9 = random(360);
dist = 10;
timer3 = 50 + random(25);
done = 0;
package = random(3);
}
if (xplode != 1) {
if (done == 0) {
package = 1;
this.createEmptyMovieClip("en1", 0);
if (package == 0) {
this.en1.lineStyle(2, 16711680, 100);
this.en1.beginFill(16711680, 1);
} else if (package == 1) {
this.en1.lineStyle(2, 65280, 100);
this.en1.beginFill(65280, 1);
} else {
this.en1.lineStyle(2, 4095, 100);
this.en1.beginFill(255, 1);
}
this.en1.moveTo(-5, -5);
this.en1.lineTo(-5, 5);
this.en1.lineTo(5, 5);
this.en1.lineTo(5, -5);
this.en1.lineTo(0, -5);
this.en1.endFill();
torot = (random(50) - 25) / 10;
done = 1;
}
this._rotation = this._rotation + 2;
}
if (this._y > 450) {
this._x = 50 + random(450);
this._y = -50;
done = 0;
}
while (_root.bg.bg1.hitTest(this._x - 10, this._y, true)) {
this._x = this._x + 0.1;
this._rotation = this._rotation + 0.3;
}
while (_root.bg.bg2.hitTest(this._x + 10, this._y, true)) {
this._x = this._x - 0.1;
this._rotation = this._rotation - 0.3;
}
if (xplode == 1) {
if (timer2 == 0) {
dist = 10;
removeMovieClip(p0);
removeMovieClip(p1);
removeMovieClip(p2);
removeMovieClip(p3);
removeMovieClip(p4);
removeMovieClip(p5);
removeMovieClip(p6);
removeMovieClip(p7);
removeMovieClip(p8);
removeMovieClip(p9);
this._x = 50 + random(450);
this._y = -50;
done = 0;
timer2 = 20;
xplode = 0;
rot0 = random(360);
rot1 = random(360);
rot2 = random(360);
rot3 = random(360);
rot4 = random(360);
rot5 = random(360);
rot6 = random(360);
rot7 = random(360);
rot8 = random(360);
rot9 = random(360);
} else {
dist0x = Math.cos((rot0 / 180) * Math.PI) * dist;
dist0y = Math.sin((rot0 / 180) * Math.PI) * dist;
dist1x = Math.cos((rot1 / 180) * Math.PI) * dist;
dist1y = Math.sin((rot1 / 180) * Math.PI) * dist;
dist2x = Math.cos((rot2 / 180) * Math.PI) * dist;
dist2y = Math.sin((rot2 / 180) * Math.PI) * dist;
dist3x = Math.cos((rot3 / 180) * Math.PI) * dist;
dist3y = Math.sin((rot3 / 180) * Math.PI) * dist;
dist4x = Math.cos((rot4 / 180) * Math.PI) * dist;
dist4y = Math.sin((rot4 / 180) * Math.PI) * dist;
dist5x = Math.cos((rot5 / 180) * Math.PI) * dist;
dist5y = Math.sin((rot5 / 180) * Math.PI) * dist;
dist6x = Math.cos((rot6 / 180) * Math.PI) * dist;
dist6y = Math.sin((rot6 / 180) * Math.PI) * dist;
dist7x = Math.cos((rot7 / 180) * Math.PI) * dist;
dist7y = Math.sin((rot7 / 180) * Math.PI) * dist;
dist8x = Math.cos((rot8 / 180) * Math.PI) * dist;
dist8y = Math.sin((rot8 / 180) * Math.PI) * dist;
dist9x = Math.cos((rot9 / 180) * Math.PI) * dist;
dist9y = Math.sin((rot9 / 180) * Math.PI) * dist;
dist = dist * 1.1;
this.createEmptyMovieClip("p0", 0);
this.p0.lineStyle(2, 16777215, timer2 * 5);
this.p0.moveTo(dist0x * 0.9, dist0y * 0.9);
this.p0.lineTo(dist0x, dist0y);
this.createEmptyMovieClip("p1", 1);
this.p1.lineStyle(2, 16777215, timer2 * 5);
this.p1.moveTo(dist1x * 0.9, dist1y * 0.9);
this.p1.lineTo(dist1x, dist1y);
this.createEmptyMovieClip("p2", 2);
this.p2.lineStyle(2, 16777215, timer2 * 5);
this.p2.moveTo(dist2x * 0.9, dist2y * 0.9);
this.p2.lineTo(dist2x, dist2y);
this.createEmptyMovieClip("p3", 3);
this.p3.lineStyle(2, 16777215, timer2 * 5);
this.p3.moveTo(dist3x * 0.9, dist3y * 0.9);
this.p3.lineTo(dist3x, dist3y);
this.createEmptyMovieClip("p4", 4);
this.p4.lineStyle(2, 16777215, timer2 * 5);
this.p4.moveTo(dist4x * 0.9, dist4y * 0.9);
this.p4.lineTo(dist4x, dist4y);
this.createEmptyMovieClip("p5", 5);
this.p5.lineStyle(2, 16777215, timer2 * 5);
this.p5.moveTo(dist5x * 0.9, dist5y * 0.9);
this.p5.lineTo(dist5x, dist5y);
this.createEmptyMovieClip("p6", 6);
this.p6.lineStyle(2, 16777215, timer2 * 5);
this.p6.moveTo(dist6x * 0.9, dist6y * 0.9);
this.p6.lineTo(dist6x, dist6y);
this.createEmptyMovieClip("p7", 7);
this.p7.lineStyle(2, 16777215, timer2 * 5);
this.p7.moveTo(dist7x * 0.9, dist7y * 0.9);
this.p7.lineTo(dist7x, dist7y);
this.createEmptyMovieClip("p8", 8);
this.p8.lineStyle(2, 16777215, timer2 * 5);
this.p8.moveTo(dist8x * 0.9, dist8y * 0.9);
this.p8.lineTo(dist8x, dist8y);
this.createEmptyMovieClip("p9", 9);
this.p9.lineStyle(2, 16777215, timer2 * 5);
this.p9.moveTo(dist9x * 0.9, dist9y * 0.9);
this.p9.lineTo(dist9x, dist9y);
timer2--;
}
}
if (_root.en_a.hitTest(this)) {
_root.en_a.xplode = 1;
this.xplode = 1;
}
if (_root.en_b.hitTest(this)) {
_root.en_b.xplode = 1;
this.xplode = 1;
}
if (_root.en_c.hitTest(this)) {
_root.en_c.xplode = 1;
this.xplode = 1;
}
if (timer2 == 20) {
if (this.hitTest(_root.plr)) {
if (package == 0) {
_global.gunspeed = _global.gunspeed - 0.2;
bonus();
} else if (package == 1) {
if (_global.hp < 100) {
_global.hp = _global.hp + 15;
}
bonus();
} else {
_global.scores = _global.scores + Math.round((_global.difficulty * 500) + random(500));
_root.en_a.xplode = 1;
_root.en_b.xplode = 1;
_root.en_c.xplode = 1;
_root.bg.rock.xplode = 1;
xp();
bonus();
}
this.xplode = 1;
}
}
}
Instance of Symbol 4 MovieClip in Symbol 44 MovieClip Frame 1
onClipEvent (enterFrame) {
if (isNaN(xplode)) {
xplode = 0;
timer2 = 20;
rot0 = random(360);
rot1 = random(360);
rot2 = random(360);
rot3 = random(360);
rot4 = random(360);
rot5 = random(360);
rot6 = random(360);
rot7 = random(360);
rot8 = random(360);
rot9 = random(360);
dist = 10;
timer3 = 50 + random(25);
done = 0;
package = random(3);
}
if (xplode != 1) {
if (done == 0) {
package = 2;
this.createEmptyMovieClip("en1", 0);
if (package == 0) {
this.en1.lineStyle(2, 16711680, 100);
this.en1.beginFill(16711680, 1);
} else if (package == 1) {
this.en1.lineStyle(2, 65280, 100);
this.en1.beginFill(65280, 1);
} else {
this.en1.lineStyle(2, 4095, 100);
this.en1.beginFill(255, 1);
}
this.en1.moveTo(-5, -5);
this.en1.lineTo(-5, 5);
this.en1.lineTo(5, 5);
this.en1.lineTo(5, -5);
this.en1.lineTo(0, -5);
this.en1.endFill();
torot = (random(50) - 25) / 10;
done = 1;
}
this._rotation = this._rotation + 2;
}
}
Instance of Symbol 4 MovieClip "rock" in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
function xp() {
if (this._y > 20) {
var _local2 = new Sound();
_local2.attachSound("xplode");
fxp.start();
}
}
if (isNaN(xplode)) {
xplode = 0;
timer2 = 20;
rot0 = random(360);
rot1 = random(360);
rot2 = random(360);
rot3 = random(360);
rot4 = random(360);
rot5 = random(360);
rot6 = random(360);
rot7 = random(360);
rot8 = random(360);
rot9 = random(360);
dist = 10;
timer3 = 50 + random(25);
done = 0;
}
if (xplode != 1) {
if (done == 0) {
this._rotation = random(360);
this.createEmptyMovieClip("en1", 0);
this.en1.lineStyle(2, 16777215, 100);
this.en1.beginFill(16777215, 1);
this.en1.moveTo(0, -5);
this.en1.lineTo(-(5 + random(20)), -(5 + random(20)));
this.en1.lineTo(-(5 + random(20)), 5 + random(20));
this.en1.lineTo(5 + random(20), 5 + random(20));
this.en1.lineTo(5 + random(20), -(5 + random(20)));
this.en1.lineTo(0, -5);
this.en1.endFill();
torot = (random(50) - 25) / 10;
done = 1;
}
this._y = this._y + 5;
this._rotation = this._rotation + torot;
}
if (this._y > 450) {
this._x = 50 + random(450);
this._y = -50;
done = 0;
}
while (_root.bg.bg1.hitTest(this._x - 10, this._y, true)) {
this._x = this._x + 0.1;
this._rotation = this._rotation + 0.2;
}
while (_root.bg.bg2.hitTest(this._x + 10, this._y, true)) {
this._x = this._x - 0.1;
this._rotation = this._rotation - 0.2;
}
if (xplode == 1) {
if (timer2 == 0) {
dist = 10;
removeMovieClip(p0);
removeMovieClip(p1);
removeMovieClip(p2);
removeMovieClip(p3);
removeMovieClip(p4);
removeMovieClip(p5);
removeMovieClip(p6);
removeMovieClip(p7);
removeMovieClip(p8);
removeMovieClip(p9);
this._x = 50 + random(450);
this._y = -50;
done = 0;
timer2 = 20;
xplode = 0;
rot0 = random(360);
rot1 = random(360);
rot2 = random(360);
rot3 = random(360);
rot4 = random(360);
rot5 = random(360);
rot6 = random(360);
rot7 = random(360);
rot8 = random(360);
rot9 = random(360);
} else {
dist0x = Math.cos((rot0 / 180) * Math.PI) * dist;
dist0y = Math.sin((rot0 / 180) * Math.PI) * dist;
dist1x = Math.cos((rot1 / 180) * Math.PI) * dist;
dist1y = Math.sin((rot1 / 180) * Math.PI) * dist;
dist2x = Math.cos((rot2 / 180) * Math.PI) * dist;
dist2y = Math.sin((rot2 / 180) * Math.PI) * dist;
dist3x = Math.cos((rot3 / 180) * Math.PI) * dist;
dist3y = Math.sin((rot3 / 180) * Math.PI) * dist;
dist4x = Math.cos((rot4 / 180) * Math.PI) * dist;
dist4y = Math.sin((rot4 / 180) * Math.PI) * dist;
dist5x = Math.cos((rot5 / 180) * Math.PI) * dist;
dist5y = Math.sin((rot5 / 180) * Math.PI) * dist;
dist6x = Math.cos((rot6 / 180) * Math.PI) * dist;
dist6y = Math.sin((rot6 / 180) * Math.PI) * dist;
dist7x = Math.cos((rot7 / 180) * Math.PI) * dist;
dist7y = Math.sin((rot7 / 180) * Math.PI) * dist;
dist8x = Math.cos((rot8 / 180) * Math.PI) * dist;
dist8y = Math.sin((rot8 / 180) * Math.PI) * dist;
dist9x = Math.cos((rot9 / 180) * Math.PI) * dist;
dist9y = Math.sin((rot9 / 180) * Math.PI) * dist;
dist = dist * 1.1;
this.createEmptyMovieClip("p0", 0);
this.p0.lineStyle(2, 16777215, timer2 * 5);
this.p0.moveTo(dist0x * 0.9, dist0y * 0.9);
this.p0.lineTo(dist0x, dist0y);
this.createEmptyMovieClip("p1", 1);
this.p1.lineStyle(2, 16777215, timer2 * 5);
this.p1.moveTo(dist1x * 0.9, dist1y * 0.9);
this.p1.lineTo(dist1x, dist1y);
this.createEmptyMovieClip("p2", 2);
this.p2.lineStyle(2, 16777215, timer2 * 5);
this.p2.moveTo(dist2x * 0.9, dist2y * 0.9);
this.p2.lineTo(dist2x, dist2y);
this.createEmptyMovieClip("p3", 3);
this.p3.lineStyle(2, 16777215, timer2 * 5);
this.p3.moveTo(dist3x * 0.9, dist3y * 0.9);
this.p3.lineTo(dist3x, dist3y);
this.createEmptyMovieClip("p4", 4);
this.p4.lineStyle(2, 16777215, timer2 * 5);
this.p4.moveTo(dist4x * 0.9, dist4y * 0.9);
this.p4.lineTo(dist4x, dist4y);
this.createEmptyMovieClip("p5", 5);
this.p5.lineStyle(2, 16777215, timer2 * 5);
this.p5.moveTo(dist5x * 0.9, dist5y * 0.9);
this.p5.lineTo(dist5x, dist5y);
this.createEmptyMovieClip("p6", 6);
this.p6.lineStyle(2, 16777215, timer2 * 5);
this.p6.moveTo(dist6x * 0.9, dist6y * 0.9);
this.p6.lineTo(dist6x, dist6y);
this.createEmptyMovieClip("p7", 7);
this.p7.lineStyle(2, 16777215, timer2 * 5);
this.p7.moveTo(dist7x * 0.9, dist7y * 0.9);
this.p7.lineTo(dist7x, dist7y);
this.createEmptyMovieClip("p8", 8);
this.p8.lineStyle(2, 16777215, timer2 * 5);
this.p8.moveTo(dist8x * 0.9, dist8y * 0.9);
this.p8.lineTo(dist8x, dist8y);
this.createEmptyMovieClip("p9", 9);
this.p9.lineStyle(2, 16777215, timer2 * 5);
this.p9.moveTo(dist9x * 0.9, dist9y * 0.9);
this.p9.lineTo(dist9x, dist9y);
timer2--;
}
}
if (_root.en_a.hitTest(this)) {
if (_root.en_a.xplode == 0) {
_root.en_a.xplode = 1;
this.xplode = 1;
xp();
}
}
if (_root.en_b.hitTest(this)) {
if (_root.en_b.xplode == 0) {
_root.en_b.xplode = 1;
this.xplode = 1;
xp();
}
}
if (_root.en_c.hitTest(this)) {
if (_root.en_c.xplode == 0) {
_root.en_c.xplode = 1;
this.xplode = 1;
xp();
}
}
if (this.hitTest(_root.plr._x, _root.plr._y, true)) {
_global.hp = _global.hp - 20;
this.xplode = 1;
xp();
}
}
Instance of Symbol 4 MovieClip "bonus" in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
function xp() {
if (this._y > 20) {
var _local2 = new Sound();
_local2.attachSound("xplode");
_local2.start();
}
}
function bonus() {
var _local1 = new Sound();
_local1.attachSound("bonus");
_local1.start();
}
if (isNaN(xplode)) {
xplode = 0;
timer2 = 20;
rot0 = random(360);
rot1 = random(360);
rot2 = random(360);
rot3 = random(360);
rot4 = random(360);
rot5 = random(360);
rot6 = random(360);
rot7 = random(360);
rot8 = random(360);
rot9 = random(360);
dist = 10;
timer3 = 50 + random(25);
done = 0;
package = random(3);
}
if (xplode != 1) {
if (done == 0) {
package = random(3);
this.createEmptyMovieClip("en1", 0);
if (package == 0) {
this.en1.lineStyle(2, 16711680, 100);
this.en1.beginFill(16711680, 1);
} else if (package == 1) {
this.en1.lineStyle(2, 65280, 100);
this.en1.beginFill(65280, 1);
} else {
this.en1.lineStyle(2, 4095, 100);
this.en1.beginFill(255, 1);
}
this.en1.moveTo(-5, -5);
this.en1.lineTo(-5, 5);
this.en1.lineTo(5, 5);
this.en1.lineTo(5, -5);
this.en1.lineTo(0, -5);
this.en1.endFill();
torot = (random(50) - 25) / 10;
done = 1;
}
this._y = this._y + 5;
this._rotation = this._rotation + torot;
}
if (this._y > 450) {
this._x = 50 + random(450);
this._y = -50;
done = 0;
}
while (_root.bg.bg1.hitTest(this._x - 10, this._y, true)) {
this._x = this._x + 0.1;
this._rotation = this._rotation + 0.3;
}
while (_root.bg.bg2.hitTest(this._x + 10, this._y, true)) {
this._x = this._x - 0.1;
this._rotation = this._rotation - 0.3;
}
if (xplode == 1) {
if (timer2 == 0) {
dist = 10;
removeMovieClip(p0);
removeMovieClip(p1);
removeMovieClip(p2);
removeMovieClip(p3);
removeMovieClip(p4);
removeMovieClip(p5);
removeMovieClip(p6);
removeMovieClip(p7);
removeMovieClip(p8);
removeMovieClip(p9);
this._x = 50 + random(450);
this._y = -50;
done = 0;
timer2 = 20;
xplode = 0;
rot0 = random(360);
rot1 = random(360);
rot2 = random(360);
rot3 = random(360);
rot4 = random(360);
rot5 = random(360);
rot6 = random(360);
rot7 = random(360);
rot8 = random(360);
rot9 = random(360);
} else {
dist0x = Math.cos((rot0 / 180) * Math.PI) * dist;
dist0y = Math.sin((rot0 / 180) * Math.PI) * dist;
dist1x = Math.cos((rot1 / 180) * Math.PI) * dist;
dist1y = Math.sin((rot1 / 180) * Math.PI) * dist;
dist2x = Math.cos((rot2 / 180) * Math.PI) * dist;
dist2y = Math.sin((rot2 / 180) * Math.PI) * dist;
dist3x = Math.cos((rot3 / 180) * Math.PI) * dist;
dist3y = Math.sin((rot3 / 180) * Math.PI) * dist;
dist4x = Math.cos((rot4 / 180) * Math.PI) * dist;
dist4y = Math.sin((rot4 / 180) * Math.PI) * dist;
dist5x = Math.cos((rot5 / 180) * Math.PI) * dist;
dist5y = Math.sin((rot5 / 180) * Math.PI) * dist;
dist6x = Math.cos((rot6 / 180) * Math.PI) * dist;
dist6y = Math.sin((rot6 / 180) * Math.PI) * dist;
dist7x = Math.cos((rot7 / 180) * Math.PI) * dist;
dist7y = Math.sin((rot7 / 180) * Math.PI) * dist;
dist8x = Math.cos((rot8 / 180) * Math.PI) * dist;
dist8y = Math.sin((rot8 / 180) * Math.PI) * dist;
dist9x = Math.cos((rot9 / 180) * Math.PI) * dist;
dist9y = Math.sin((rot9 / 180) * Math.PI) * dist;
dist = dist * 1.1;
this.createEmptyMovieClip("p0", 0);
this.p0.lineStyle(2, 16777215, timer2 * 5);
this.p0.moveTo(dist0x * 0.9, dist0y * 0.9);
this.p0.lineTo(dist0x, dist0y);
this.createEmptyMovieClip("p1", 1);
this.p1.lineStyle(2, 16777215, timer2 * 5);
this.p1.moveTo(dist1x * 0.9, dist1y * 0.9);
this.p1.lineTo(dist1x, dist1y);
this.createEmptyMovieClip("p2", 2);
this.p2.lineStyle(2, 16777215, timer2 * 5);
this.p2.moveTo(dist2x * 0.9, dist2y * 0.9);
this.p2.lineTo(dist2x, dist2y);
this.createEmptyMovieClip("p3", 3);
this.p3.lineStyle(2, 16777215, timer2 * 5);
this.p3.moveTo(dist3x * 0.9, dist3y * 0.9);
this.p3.lineTo(dist3x, dist3y);
this.createEmptyMovieClip("p4", 4);
this.p4.lineStyle(2, 16777215, timer2 * 5);
this.p4.moveTo(dist4x * 0.9, dist4y * 0.9);
this.p4.lineTo(dist4x, dist4y);
this.createEmptyMovieClip("p5", 5);
this.p5.lineStyle(2, 16777215, timer2 * 5);
this.p5.moveTo(dist5x * 0.9, dist5y * 0.9);
this.p5.lineTo(dist5x, dist5y);
this.createEmptyMovieClip("p6", 6);
this.p6.lineStyle(2, 16777215, timer2 * 5);
this.p6.moveTo(dist6x * 0.9, dist6y * 0.9);
this.p6.lineTo(dist6x, dist6y);
this.createEmptyMovieClip("p7", 7);
this.p7.lineStyle(2, 16777215, timer2 * 5);
this.p7.moveTo(dist7x * 0.9, dist7y * 0.9);
this.p7.lineTo(dist7x, dist7y);
this.createEmptyMovieClip("p8", 8);
this.p8.lineStyle(2, 16777215, timer2 * 5);
this.p8.moveTo(dist8x * 0.9, dist8y * 0.9);
this.p8.lineTo(dist8x, dist8y);
this.createEmptyMovieClip("p9", 9);
this.p9.lineStyle(2, 16777215, timer2 * 5);
this.p9.moveTo(dist9x * 0.9, dist9y * 0.9);
this.p9.lineTo(dist9x, dist9y);
timer2--;
}
}
if (_root.en_a.hitTest(this)) {
if (_root.en_a.xplode == 0) {
_root.en_a.xplode = 1;
this.xplode = 1;
}
}
if (_root.en_b.hitTest(this)) {
if (_root.en_b.xplode == 0) {
_root.en_b.xplode = 1;
this.xplode = 1;
}
}
if (_root.en_c.hitTest(this)) {
if (_root.en_c.xplode == 0) {
_root.en_c.xplode = 1;
this.xplode = 1;
}
}
if (timer2 == 20) {
if (this.hitTest(_root.plr)) {
if (package == 0) {
_global.gunspeed = _global.gunspeed - 0.2;
bonus();
} else if (package == 1) {
if (_global.hp < 100) {
_global.hp = _global.hp + 15;
}
bonus();
} else {
_global.scores = _global.scores + Math.round((_global.difficulty * 500) + random(500));
_root.en_a.xplode = 1;
_root.en_b.xplode = 1;
_root.en_c.xplode = 1;
_root.bg.rock.xplode = 1;
xp();
bonus();
}
this.xplode = 1;
}
}
}
Symbol 71 MovieClip Frame 36
stop();
Symbol 80 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 1
stop();