Frame 1
function david() {
getURL ("http://www.truedarkness.phrozenflame.com/", "_blank");
}
function AG() {
getURL ("http://www.armorgames.com", "_blank");
}
function muter() {
_root.all.setVolume(0);
}
function mutera() {
_root.all.setVolume(100);
}
onLoad = function () {
_root.all = new Sound();
};
var menu = new ContextMenu();
menu.hideBuiltInItems();
var david = new ContextMenuItem("TrueDarkness", david);
var AG = new ContextMenuItem("Armor Games", AG);
var mute = new ContextMenuItem("Sound Off", muter);
var mutee = new ContextMenuItem("Sound On", mutera);
menu.customItems.push(david, AG, mute, mutee);
menu.onSelect = menuHandler;
menu.builtInItems.quality = true;
_root.menu = menu;
Instance of Symbol 18 MovieClip in Frame 1
onClipEvent (enterFrame) {
_x = (_root.Stage.width / 2);
_y = (_root.Stage.height / 2);
}
Frame 2
stop();
Instance of Symbol 29 MovieClip in Frame 2
onClipEvent (load) {
_alpha = 0;
i = 0;
}
onClipEvent (enterFrame) {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
if (_alpha < 100) {
_alpha = (_alpha + 2);
}
if (_alpha >= 100) {
i++;
}
if (i >= 90) {
_alpha = (_alpha - 3);
}
if ((_alpha <= 0) && (i > 0)) {
_root.nextFrame();
}
}
Frame 3
stop();
Frame 4
stop();
_root.semi = false;
_root.shotgun = false;
_root.auto = false;
_root.scoreee = 0;
_root.fade4.removeMovieClip();
_x = 0;
i = 100;
Frame 7
function MakeBHole() {
z++;
duplicateMovieClip (_root.Bhole, "Bhole" + z, z);
randomw = -30 + random(60);
randomwa = -30 + random(60);
_root["Bhole" + z]._x = _root._xmouse + randomw;
_root["Bhole" + z]._y = _root._ymouse + randomwa;
_root.shake.play();
if (z >= 225) {
z = 126;
}
if (_root["Bhole" + z].hitTest(targeta.ten)) {
_root.score.score = _root.score.score + 10;
_root.numero = _root.numero + 10;
}
if (_root["Bhole" + z].hitTest(targeta.twenty)) {
_root.score.score = _root.score.score + 20;
_root.numero = _root.numero + 20;
}
if (_root["Bhole" + z].hitTest(targeta.thirty)) {
_root.score.score = _root.score.score + 30;
_root.numero = _root.numero + 30;
}
if (_root["Bhole" + z].hitTest(targeta.forty)) {
_root.score.score = _root.score.score + 40;
_root.numero = _root.numero + 40;
}
if (_root["Bhole" + z].hitTest(targeta.fifty)) {
_root.score.score = _root.score.score + 50;
_root.numero = _root.numero + 50;
}
if (_root["Bhole" + z].hitTest(targeta.hundred)) {
_root.score.score = _root.score.score + 100;
_root.numero = _root.numero + 100;
_root.bullseyes++;
}
if (_root["Bhole" + z].hitTest(_root.targeta)) {
_root.hit++;
_root["Bhole" + z].var1 = 1;
}
}
function MakeNum() {
i++;
_root.nummm.duplicateMovieClip("num" + i, i);
_root["num" + i].numm.num = _root.numero;
_root["num" + i]._x = _xmouse;
_root["num" + i]._y = _ymouse - 15;
}
stop();
var z = 106;
var randomw = 0;
var randomwa = 0;
var i = 300;
var bullseyes = 0;
var reload = 0;
var shoot = 0;
var hit = 0;
score.score = 0;
var accuracy = 0;
var hit2 = 0;
amm.ammo = 12;
var go = 0;
wallBullet = new Sound();
wallBullet.attachSound("wallBullet");
targetBullet = new Sound();
targetBullet.attachSound("targetBullet");
clickSound = new Sound();
clickSound.attachSound("clickSound");
onEnterFrame = function () {
accuracy = Math.ceil((_root.hit / _root.shoot) * 100);
};
Mouse.hide();
Instance of Symbol 109 MovieClip "bg" in Frame 7
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 116 MovieClip "amm" in Frame 7
onClipEvent (load) {
CamXx = _x;
}
onClipEvent (enterFrame) {
this.swapDepths(40008);
if (this.ammo <= 0) {
_root.reloader.play();
} else {
_root.reloader.gotoAndStop(1);
}
}
Instance of Symbol 120 MovieClip "cursor" in Frame 7
onClipEvent (enterFrame) {
this.swapDepths(10000);
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 122 MovieClip "fpss" in Frame 7
onClipEvent (load) {
function inc() {
fps = "FPS: " + nmbr;
nmbr = 0;
}
nmbr = 0;
fps = "FPS: 30";
setInterval(inc, 1000);
}
onClipEvent (enterFrame) {
this.swapDepths(41008);
nmbr++;
}
Instance of Symbol 124 MovieClip "Bhole" in Frame 7
onClipEvent (enterFrame) {
if (_root.targeta.hitTest(_x - 0.6, _y, true) && (var1 != 1)) {
_visible = false;
} else {
_visible = true;
}
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 1)) {
this._x = this._x + _root.targeta.speed;
}
if (_x >= 960) {
this.removeMovieClip();
}
}
Instance of Symbol 132 MovieClip "score" in Frame 7
onClipEvent (enterFrame) {
this.swapDepths(41009);
}
Instance of Symbol 135 MovieClip in Frame 7
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 135 MovieClip in Frame 7
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 138 MovieClip "targeta" in Frame 7
onClipEvent (load) {
speed = 4;
}
onClipEvent (enterFrame) {
if (_root.go == 1) {
var1 = 1;
} else {
var1 = 0;
}
if (var1 == 1) {
_x = (_x + speed);
if ((_x > 960) && (_root.score.timerr.timer > 0)) {
speed = speed + 2.3;
_x = -610;
}
}
}
Instance of Symbol 174 MovieClip "gun" in Frame 7
onClipEvent (load) {
CamX = _x;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.righty == true) {
_xscale = scale;
}
if (_root.lefty == true) {
_xscale = (-scale);
}
if ((Key.isDown(32) && (_root.amm.ammo != 12)) && (_currentframe != 2)) {
this.gotoAndStop(3);
}
if (_root.lefty != true) {
_x = (_x - (((_x - _root._xmouse) / 1.7) - 30));
} else {
_x = (_x - (((_x - _root._xmouse) / 1.7) + 30));
}
_y = (_root._ymouse + 25);
_rotation = (_root._ymouse / -20);
this.swapDepths(10001);
CamX = CamX + ((_x - CamX) / 15);
_root._x = (Stage.width / 2) - CamX;
_root.amm._x = CamX - 340;
_root.fpss._x = CamX - 340;
_root.reloader._x = CamX + 283;
_root.score._x = CamX + 340;
_root.ready._x = CamX;
if (CamX < 0) {
CamX = CamX + (-CamX);
}
if (CamX > 400) {
CamX = 400;
}
}
onClipEvent (mouseDown) {
if ((_root.amm.ammo > 0) && (_root.reloading != true)) {
this.gotoAndStop(2);
} else {
_root.clickSound.start(0, 1);
}
}
Instance of Symbol 178 MovieClip "reloader" in Frame 7
onClipEvent (enterFrame) {
this.swapDepths(40099);
if (Key.isDown(32) && (_currentframe != 1)) {
_root.gun.gotoAndStop(3);
}
}
Instance of Symbol 181 MovieClip in Frame 7
onClipEvent (enterFrame) {
this.swapDepths(10002);
}
Instance of Symbol 186 MovieClip "ready" in Frame 7
onClipEvent (enterFrame) {
this.swapDepths(10042);
}
Instance of Symbol 189 MovieClip "fadeOut" in Frame 7
onClipEvent (enterFrame) {
this.swapDepths(200053);
}
Frame 8
shp.onPress = function () {
postHPScore(scorea, "Shotgun");
stopAllSounds();
gotoAndStop ("menua");
};
scorea = _root.scoree;
acc = _root.accuracy;
shotsfired = _root.shoot;
ttlhits = _root.hit;
bull = _root.bullseyes;
reloads = _root.reload;
_x = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
Mouse.show();
Frame 9
function MakeBHole() {
z++;
duplicateMovieClip (_root.Bhole, "Bhole" + z, z);
randomw = -30 + random(60);
randomwa = -30 + random(60);
_root["Bhole" + z]._x = _root._xmouse + randomw;
_root["Bhole" + z]._y = _root._ymouse + randomwa;
_root.shake.play();
if (z >= 225) {
z = 126;
}
if (_root["Bhole" + z].hitTest(targeta.ten)) {
_root.score.score = _root.score.score + 10;
_root.numero = _root.numero + 10;
}
if (_root["Bhole" + z].hitTest(targeta.twenty)) {
_root.score.score = _root.score.score + 20;
_root.numero = _root.numero + 20;
}
if (_root["Bhole" + z].hitTest(targeta.thirty)) {
_root.score.score = _root.score.score + 30;
_root.numero = _root.numero + 30;
}
if (_root["Bhole" + z].hitTest(targeta.forty)) {
_root.score.score = _root.score.score + 40;
_root.numero = _root.numero + 40;
}
if (_root["Bhole" + z].hitTest(targeta.fifty)) {
_root.score.score = _root.score.score + 50;
_root.numero = _root.numero + 50;
}
if (_root["Bhole" + z].hitTest(targeta.hundred)) {
_root.score.score = _root.score.score + 100;
_root.numero = _root.numero + 100;
_root.bullseyes++;
}
if (_root["Bhole" + z].hitTest(_root.targeta)) {
_root.hit++;
_root["Bhole" + z].var1 = 1;
}
}
function MakeNum() {
i++;
_root.nummm.duplicateMovieClip("num" + i, i);
_root["num" + i].numm.num = _root.numero;
_root["num" + i]._x = _xmouse;
_root["num" + i]._y = _ymouse - 15;
}
stop();
var z = 106;
var randomw = 0;
var randomwa = 0;
var i = 300;
var bullseyes = 0;
var reload = 0;
var shoot = 0;
var hit = 0;
score.score = _root.scoree;
var accuracy = 0;
var hit2 = 0;
amm.ammo = 12;
var go = 0;
wallBullet = new Sound();
wallBullet.attachSound("wallBullet");
targetBullet = new Sound();
targetBullet.attachSound("targetBullet");
clickSound = new Sound();
clickSound.attachSound("clickSound");
onEnterFrame = function () {
if (_root.shoot != 0) {
accuracy = Math.ceil((_root.hit / _root.shoot) * 100);
} else {
accuracy = 0;
}
};
Mouse.hide();
Instance of Symbol 212 MovieClip "bg" in Frame 9
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 116 MovieClip "amm" in Frame 9
onClipEvent (load) {
CamXx = _x;
}
onClipEvent (enterFrame) {
this.swapDepths(40008);
if (this.ammo <= 0) {
_root.reloader.play();
} else {
_root.reloader.gotoAndStop(1);
}
}
Instance of Symbol 120 MovieClip "cursor" in Frame 9
onClipEvent (enterFrame) {
this.swapDepths(10000);
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 216 MovieClip "fpss" in Frame 9
onClipEvent (load) {
function inc() {
fps = "FPS: " + nmbr;
nmbr = 0;
}
nmbr = 0;
fps = "FPS: 30";
setInterval(inc, 1000);
}
onClipEvent (enterFrame) {
this.swapDepths(41007);
nmbr++;
}
Instance of Symbol 124 MovieClip "Bhole" in Frame 9
onClipEvent (load) {
yy = _root.targeta._y - _y;
yPeak = _root.targeta.yPeak;
yAcc = _root.targeta.yAcc;
ySpeed = _root.targeta.ySpeed;
yState = _root.targeta.yState;
}
onClipEvent (enterFrame) {
if (_root.targeta.hitTest(_x - 0.6, _y, true) && (var1 != 1)) {
_visible = false;
} else {
_visible = true;
}
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 1)) {
if (yState == 1) {
_y = (_y + yAcc);
yAcc = yAcc + ySpeed;
if (yAcc >= yPeak) {
yState = 2;
}
} else if (yState == 2) {
_y = (_y + yAcc);
yAcc = yAcc - ySpeed;
if (yAcc <= 0) {
yState = 3;
}
} else if (yState == 3) {
_y = (_y - yAcc);
yAcc = yAcc + ySpeed;
if (yAcc >= yPeak) {
yState = 4;
}
} else if (yState == 4) {
_y = (_y - yAcc);
yAcc = yAcc - ySpeed;
if (yAcc <= 0) {
yState = 1;
}
}
this._x = this._x + _root.targeta.xspeed;
}
if (_x >= 825) {
this.removeMovieClip();
}
}
Instance of Symbol 132 MovieClip "score" in Frame 9
onClipEvent (enterFrame) {
this.swapDepths(41009);
}
Instance of Symbol 138 MovieClip "targeta" in Frame 9
onClipEvent (load) {
yPeak = Math.round(random(16) + 15);
yAcc = -16;
ySpeed = Math.round(random(5) + 1);
yState = 1;
xspeed = 5;
}
onClipEvent (enterFrame) {
if (_root.go == 1) {
var1 = 1;
} else {
var1 = 0;
}
if (var1 == 1) {
if ((_x > 960) && (_root.score.timerr.timer > 0)) {
xspeed = xspeed + 2.3;
_x = -610;
}
_x = (_x + xspeed);
if (yState == 1) {
_y = (_y + yAcc);
yAcc = yAcc + ySpeed;
if (yAcc >= yPeak) {
yState = 2;
}
} else if (yState == 2) {
_y = (_y + yAcc);
yAcc = yAcc - ySpeed;
if (yAcc <= 0) {
yState = 3;
}
} else if (yState == 3) {
_y = (_y - yAcc);
yAcc = yAcc + ySpeed;
if (yAcc >= yPeak) {
yState = 4;
}
} else if (yState == 4) {
_y = (_y - yAcc);
yAcc = yAcc - ySpeed;
if (yAcc <= 0) {
yState = 1;
}
}
}
}
Instance of Symbol 174 MovieClip "gun" in Frame 9
onClipEvent (load) {
CamX = _x;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.righty == true) {
_xscale = scale;
}
if (_root.lefty == true) {
_xscale = (-scale);
}
if ((Key.isDown(32) && (_root.amm.ammo != 12)) && (_currentframe != 2)) {
this.gotoAndStop(3);
}
if (_root.lefty != true) {
_x = (_x - (((_x - _root._xmouse) / 1.7) - 30));
} else {
_x = (_x - (((_x - _root._xmouse) / 1.7) + 30));
}
_y = (_root._ymouse + 25);
_rotation = (_root._ymouse / -20);
this.swapDepths(10001);
CamX = CamX + ((_x - CamX) / 15);
_root._x = (Stage.width / 2) - CamX;
_root.amm._x = CamX - 340;
_root.fpss._x = CamX - 340;
_root.reloader._x = CamX + 283;
_root.score._x = CamX + 340;
_root.ready._x = CamX;
if (CamX < 0) {
CamX = CamX + (-CamX);
}
if (CamX > 400) {
CamX = 400;
}
}
onClipEvent (mouseDown) {
if ((_root.amm.ammo > 0) && (_root.reloading != true)) {
this.gotoAndStop(2);
} else {
_root.clickSound.start(0, 1);
}
}
Instance of Symbol 178 MovieClip "reloader" in Frame 9
onClipEvent (enterFrame) {
this.swapDepths(40099);
if (Key.isDown(32) && (_currentframe != 1)) {
_root.gun.gotoAndStop(3);
}
}
Instance of Symbol 181 MovieClip in Frame 9
onClipEvent (enterFrame) {
this.swapDepths(10002);
}
Instance of Symbol 186 MovieClip "ready" in Frame 9
onClipEvent (enterFrame) {
this.swapDepths(10042);
}
Instance of Symbol 189 MovieClip "fadeOut" in Frame 9
onClipEvent (enterFrame) {
this.swapDepths(200053);
}
Frame 10
shp.onPress = function () {
postHPScore(scorea, "Shotgun");
stopAllSounds();
gotoAndStop ("menua");
};
scorea = _root.scoree;
acc = _root.accuracy;
shotsfired = _root.shoot;
ttlhits = _root.hit;
bull = _root.bullseyes;
reloads = _root.reload;
_x = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
Mouse.show();
Frame 11
function MakeBHole() {
z++;
duplicateMovieClip (_root.Bhole, "Bhole" + z, z);
randomw = -30 + random(60);
randomwa = -30 + random(60);
_root["Bhole" + z]._x = _root._xmouse + randomw;
_root["Bhole" + z]._y = _root._ymouse + randomwa;
_root.shake.play();
if (z >= 225) {
z = 126;
}
if (_root["Bhole" + z].hitTest(targeta.ten)) {
_root.score.score = _root.score.score + 10;
_root.numero = _root.numero + 10;
}
if (_root["Bhole" + z].hitTest(targeta.twenty)) {
_root.score.score = _root.score.score + 20;
_root.numero = _root.numero + 20;
}
if (_root["Bhole" + z].hitTest(targeta.thirty)) {
_root.score.score = _root.score.score + 30;
_root.numero = _root.numero + 30;
}
if (_root["Bhole" + z].hitTest(targeta.forty)) {
_root.score.score = _root.score.score + 40;
_root.numero = _root.numero + 40;
}
if (_root["Bhole" + z].hitTest(targeta.fifty)) {
_root.score.score = _root.score.score + 50;
_root.numero = _root.numero + 50;
}
if (_root["Bhole" + z].hitTest(targeta.hundred)) {
_root.score.score = _root.score.score + 100;
_root.numero = _root.numero + 100;
_root.bullseyes++;
}
if (_root["Bhole" + z].hitTest(_root.targeta)) {
_root.hit++;
_root["Bhole" + z].var1 = 1;
}
if (_root["Bhole" + z].hitTest(targeta2.ten)) {
_root.score.score = _root.score.score + 10;
_root.numero = _root.numero + 10;
}
if (_root["Bhole" + z].hitTest(targeta2.twenty)) {
_root.score.score = _root.score.score + 20;
_root.numero = _root.numero + 20;
}
if (_root["Bhole" + z].hitTest(targeta2.thirty)) {
_root.score.score = _root.score.score + 30;
_root.numero = _root.numero + 30;
}
if (_root["Bhole" + z].hitTest(targeta2.forty)) {
_root.score.score = _root.score.score + 40;
_root.numero = _root.numero + 40;
}
if (_root["Bhole" + z].hitTest(targeta2.fifty)) {
_root.score.score = _root.score.score + 50;
_root.numero = _root.numero + 50;
}
if (_root["Bhole" + z].hitTest(targeta2.hundred)) {
_root.score.score = _root.score.score + 100;
_root.numero = _root.numero + 100;
_root.bullseyes++;
}
if (_root["Bhole" + z].hitTest(_root.targeta2)) {
_root.hit++;
_root["Bhole" + z].var1 = 1;
}
}
function MakeNum() {
i++;
_root.nummm.duplicateMovieClip("num" + i, i);
_root["num" + i].numm.num = _root.numero;
_root["num" + i]._x = _xmouse;
_root["num" + i]._y = _ymouse - 15;
}
stop();
var z = 0;
var randomw = 0;
var randomwa = 0;
var i = 300;
var bullseyes = 0;
var reload = 0;
var shoot = 0;
var hit = 0;
score.score = _root.scoree;
var accuracy = 0;
var hit2 = 0;
amm.ammo = 12;
var go = 0;
wallBullet = new Sound();
wallBullet.attachSound("wallBullet");
targetBullet = new Sound();
targetBullet.attachSound("targetBullet");
clickSound = new Sound();
clickSound.attachSound("clickSound");
onEnterFrame = function () {
if (_root.shoot != 0) {
accuracy = Math.ceil((_root.hit / _root.shoot) * 100);
} else {
accuracy = 0;
}
};
Mouse.hide();
Instance of Symbol 236 MovieClip "bg" in Frame 11
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 116 MovieClip "amm" in Frame 11
onClipEvent (load) {
CamXx = _x;
}
onClipEvent (enterFrame) {
this.swapDepths(40008);
if (this.ammo <= 0) {
_root.reloader.play();
} else {
_root.reloader.gotoAndStop(1);
}
}
Instance of Symbol 120 MovieClip "cursor" in Frame 11
onClipEvent (enterFrame) {
this.swapDepths(10000);
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 238 MovieClip "fpss" in Frame 11
onClipEvent (load) {
function inc() {
fps = "FPS: " + nmbr;
nmbr = 0;
}
nmbr = 0;
fps = "FPS: 30";
setInterval(inc, 1000);
}
onClipEvent (enterFrame) {
this.swapDepths(41006);
nmbr++;
}
Instance of Symbol 124 MovieClip "Bhole" in Frame 11
onClipEvent (load) {
yy = _root.targeta._y - _y;
xx = _root.targeta._x - _x;
yy2 = _root.targeta2._y - _y;
xx2 = _root.targeta2._x - _x;
}
onClipEvent (enterFrame) {
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 1)) {
_y = (_root.targeta._y - yy);
_x = (_root.targeta._x - xx);
}
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 0)) {
_visible = false;
}
if (_root.targeta2.hitTest(_x, _y, true) && (var1 == 1)) {
_y = (_root.targeta2._y - yy2);
_x = (_root.targeta2._x - xx2);
}
if (_root.targeta2.hitTest(_x, _y, true) && (var1 == 0)) {
_visible = false;
}
if ((!this.hitTest(_root.targeta)) && (!this.hitTest(_root.targeta2))) {
var1 = 0;
}
if (((!_root.targeta.hitTest(_x, _y, true)) && (!_root.targeta2.hitTest(_x, _y, true))) && (var1 == 0)) {
_visible = true;
}
}
Instance of Symbol 132 MovieClip "score" in Frame 11
onClipEvent (enterFrame) {
this.swapDepths(41009);
}
Instance of Symbol 135 MovieClip in Frame 11
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 239 MovieClip "targeta2" in Frame 11
onClipEvent (enterFrame) {
if (_root.go == 1) {
var1 = 1;
} else {
var1 = 0;
}
if (var1 == 1) {
i++;
if (i >= 20) {
i = 0;
_root.ranNumber = random(4);
_root.ranNumber2 = random(5);
}
}
speed = 7;
if (_root.ranNumber == 0) {
this._x = this._x - speed;
}
if (_root.ranNumber == 1) {
this._x = this._x + speed;
}
if (_root.ranNumber == 2) {
this._y = this._y - speed;
}
if (_root.ranNumber == 3) {
this._y = this._y + speed;
}
if (_root.ranNumber2 == 0) {
this._x = this._x - speed;
}
if (_root.ranNumber2 == 1) {
this._x = this._x + speed;
}
if (_root.ranNumber2 == 2) {
this._y = this._y - speed;
}
if (_root.ranNumber2 == 3) {
this._y = this._y + speed;
}
if (this._x >= Stage.width) {
this._x = -500;
} else if (this._x <= -500) {
this._x = Stage.width;
} else if (this._y >= Stage.height) {
this._y = 0;
} else if (this._y <= 0) {
this._y = Stage.height;
}
}
Instance of Symbol 138 MovieClip "targeta" in Frame 11
onClipEvent (enterFrame) {
if (_root.go == 1) {
var1 = 1;
} else {
var1 = 0;
}
if (var1 == 1) {
i++;
if (i >= 20) {
i = 0;
_root.rannNumber = random(4);
_root.rannNumber2 = random(5);
}
}
speed = 7;
if (_root.rannNumber == 0) {
this._x = this._x - speed;
}
if (_root.rannNumber == 1) {
this._x = this._x + speed;
}
if (_root.rannNumber == 2) {
this._y = this._y - speed;
}
if (_root.rannNumber == 3) {
this._y = this._y + speed;
}
if (_root.rannNumber2 == 0) {
this._x = this._x - speed;
}
if (_root.rannNumber2 == 1) {
this._x = this._x + speed;
}
if (_root.rannNumber2 == 2) {
this._y = this._y - speed;
}
if (_root.rannNumber2 == 3) {
this._y = this._y + speed;
}
if (this._x >= Stage.width) {
this._x = -500;
} else if (this._x <= -500) {
this._x = Stage.width;
} else if (this._y >= Stage.height) {
this._y = 0;
} else if (this._y <= 0) {
this._y = Stage.height;
}
}
Instance of Symbol 174 MovieClip "gun" in Frame 11
onClipEvent (load) {
CamX = _x;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.righty == true) {
_xscale = scale;
}
if (_root.lefty == true) {
_xscale = (-scale);
}
if ((Key.isDown(32) && (_root.amm.ammo != 12)) && (_currentframe != 2)) {
this.gotoAndStop(3);
}
if (_root.lefty != true) {
_x = (_x - (((_x - _root._xmouse) / 1.7) - 30));
} else {
_x = (_x - (((_x - _root._xmouse) / 1.7) + 30));
}
_y = (_root._ymouse + 25);
_rotation = (_root._ymouse / -20);
this.swapDepths(10001);
CamX = CamX + ((_x - CamX) / 15);
_root._x = (Stage.width / 2) - CamX;
_root.amm._x = CamX - 340;
_root.fpss._x = CamX - 340;
_root.reloader._x = CamX + 283;
_root.score._x = CamX + 340;
_root.ready._x = CamX;
if (CamX < 0) {
CamX = CamX + (-CamX);
}
if (CamX > 400) {
CamX = 400;
}
}
onClipEvent (mouseDown) {
if (_root.go == 1) {
if ((_root.amm.ammo != 0) && (_root.reloading != true)) {
this.gotoAndStop(2);
} else {
_root.clickSound.start(0, 1);
}
}
}
Instance of Symbol 178 MovieClip "reloader" in Frame 11
onClipEvent (enterFrame) {
this.swapDepths(40099);
if (Key.isDown(32) && (_currentframe != 1)) {
_root.gun.gotoAndStop(3);
}
}
Instance of Symbol 181 MovieClip in Frame 11
onClipEvent (enterFrame) {
this.swapDepths(10002);
}
Instance of Symbol 186 MovieClip "ready" in Frame 11
onClipEvent (enterFrame) {
this.swapDepths(10042);
}
Instance of Symbol 189 MovieClip "fadeOut" in Frame 11
onClipEvent (enterFrame) {
this.swapDepths(200053);
}
Frame 12
shp.onPress = function () {
postHPScore(scorea, "Shotgun");
stopAllSounds();
gotoAndStop ("menua");
};
scorea = _root.scoree;
acc = _root.accuracy;
shotsfired = _root.shoot;
ttlhits = _root.hit;
bull = _root.bullseyes;
reloads = _root.reload;
_x = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
Mouse.show();
Frame 13
function MakeBHole() {
z++;
duplicateMovieClip (_root.Bhole, "Bhole" + z, z);
randomw = -30 + random(60);
randomwa = -30 + random(60);
_root["Bhole" + z]._x = _root._xmouse + randomw;
_root["Bhole" + z]._y = _root._ymouse + randomwa;
_root.shake.play();
if (z >= 225) {
z = 126;
}
if (_root["Bhole" + z].hitTest(targeta.ten)) {
_root.score.score = _root.score.score + 10;
_root.numero = _root.numero + 10;
}
if (_root["Bhole" + z].hitTest(targeta.twenty)) {
_root.score.score = _root.score.score + 20;
_root.numero = _root.numero + 20;
}
if (_root["Bhole" + z].hitTest(targeta.thirty)) {
_root.score.score = _root.score.score + 30;
_root.numero = _root.numero + 30;
}
if (_root["Bhole" + z].hitTest(targeta.forty)) {
_root.score.score = _root.score.score + 40;
_root.numero = _root.numero + 40;
}
if (_root["Bhole" + z].hitTest(targeta.fifty)) {
_root.score.score = _root.score.score + 50;
_root.numero = _root.numero + 50;
}
if (_root["Bhole" + z].hitTest(targeta.hundred)) {
_root.score.score = _root.score.score + 100;
_root.numero = _root.numero + 100;
_root.bullseyes++;
}
if (_root["Bhole" + z].hitTest(_root.targeta)) {
_root.hit++;
_root["Bhole" + z].var1 = 1;
}
}
function MakeNum() {
i++;
_root.nummm.duplicateMovieClip("num" + i, i);
_root["num" + i].numm.num = _root.numero;
_root["num" + i]._x = _xmouse;
_root["num" + i]._y = _ymouse - 15;
}
stop();
var z = 106;
var randomw = 0;
var randomwa = 0;
var i = 300;
var bullseyes = 0;
var reload = 0;
var shoot = 0;
var hit = 0;
score.score = _root.scoree;
var accuracy = 0;
var hit2 = 0;
amm.ammo = 12;
var go = 0;
wallBullet = new Sound();
wallBullet.attachSound("wallBullet");
targetBullet = new Sound();
targetBullet.attachSound("targetBullet");
clickSound = new Sound();
clickSound.attachSound("clickSound");
onEnterFrame = function () {
if (_root.shoot != 0) {
accuracy = Math.ceil((_root.hit / _root.shoot) * 100);
} else {
accuracy = 0;
}
};
Mouse.hide();
Instance of Symbol 249 MovieClip "bg" in Frame 13
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 116 MovieClip "amm" in Frame 13
onClipEvent (load) {
CamXx = _x;
}
onClipEvent (enterFrame) {
this.swapDepths(40008);
if (this.ammo <= 0) {
_root.reloader.play();
} else {
_root.reloader.gotoAndStop(1);
}
}
Instance of Symbol 120 MovieClip "cursor" in Frame 13
onClipEvent (enterFrame) {
this.swapDepths(10000);
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 251 MovieClip "fpss" in Frame 13
onClipEvent (load) {
function inc() {
fps = "FPS: " + nmbr;
nmbr = 0;
}
nmbr = 0;
fps = "FPS: 30";
setInterval(inc, 1000);
}
onClipEvent (enterFrame) {
this.swapDepths(41005);
nmbr++;
}
Instance of Symbol 132 MovieClip "score" in Frame 13
onClipEvent (enterFrame) {
this.swapDepths(41009);
}
Instance of Symbol 135 MovieClip in Frame 13
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 124 MovieClip "Bhole" in Frame 13
onClipEvent (load) {
var rX = _root.targeta.rX;
var rY = rX;
xx = _root.targeta._x - _x;
yy = _root.targeta._y - _y;
var cX = _root.targeta._x;
var cY = _root.targeta._y;
var i = _root.targeta.i;
var speed = _root.targeta.speed;
this.anglea = _root.targeta.anglea;
}
onClipEvent (enterFrame) {
if (_root.targeta.hitTest(_x - 0.6, _y, true) && (var1 != 1)) {
_visible = false;
} else {
_visible = true;
}
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 1)) {
cX = cX - 2;
this._x = (Math.cos(_root.targeta.anglea) * _root.targeta.rX) + (_root.targeta.cX - xx);
this._y = (Math.sin(_root.targeta.anglea) * _root.targeta.rY) + (_root.targeta.cY - yy);
var s = (this._y / (cY - rY));
this.anglea = this.anglea + _root.targeta.speed;
if ((s >= 1) && (s <= 2)) {
speed = speed + 0.00034;
}
if (cX <= -650) {
this.removeMovieClip();
cX = 960;
}
}
if (!this.hitTest(_root.targeta)) {
var1 = 0;
}
}
Instance of Symbol 138 MovieClip "targeta" in Frame 13
onClipEvent (load) {
var rX = (random(150) + 120);
var rY = rX;
var cX = _x;
var cY = _y;
var i = 1;
var speed = 0.05;
this.anglea = i * (Math.PI*2);
}
onClipEvent (enterFrame) {
cX = cX - 2;
this._x = (Math.cos(this.anglea) * rX) + cX;
this._y = (Math.sin(this.anglea) * rY) + cY;
var s = (this._y / (cY - rY));
this.anglea = this.anglea + this.speed;
if ((s >= 1) && (s <= 2)) {
speed = speed + 0.00034;
}
if (cX <= -650) {
cX = 960;
}
}
Instance of Symbol 174 MovieClip "gun" in Frame 13
onClipEvent (load) {
CamX = _x;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.righty == true) {
_xscale = scale;
}
if (_root.lefty == true) {
_xscale = (-scale);
}
if ((Key.isDown(32) && (_root.amm.ammo != 12)) && (_currentframe != 2)) {
this.gotoAndStop(3);
}
if (_root.lefty != true) {
_x = (_x - (((_x - _root._xmouse) / 1.7) - 30));
} else {
_x = (_x - (((_x - _root._xmouse) / 1.7) + 30));
}
_y = (_root._ymouse + 25);
_rotation = (_root._ymouse / -20);
this.swapDepths(10001);
CamX = CamX + ((_x - CamX) / 15);
_root._x = (Stage.width / 2) - CamX;
_root.amm._x = CamX - 340;
_root.fpss._x = CamX - 340;
_root.reloader._x = CamX + 283;
_root.score._x = CamX + 340;
_root.ready._x = CamX;
if (CamX < 0) {
CamX = CamX + (-CamX);
}
if (CamX > 400) {
CamX = 400;
}
}
onClipEvent (mouseDown) {
if (((_root.amm.ammo > 0) && (_root.reloading != true)) && (_root.go == 1)) {
this.gotoAndStop(2);
} else {
_root.clickSound.start(0, 1);
}
}
Instance of Symbol 178 MovieClip "reloader" in Frame 13
onClipEvent (enterFrame) {
this.swapDepths(40099);
if (Key.isDown(32) && (_currentframe != 1)) {
_root.gun.gotoAndStop(3);
}
}
Instance of Symbol 181 MovieClip in Frame 13
onClipEvent (enterFrame) {
this.swapDepths(10002);
}
Instance of Symbol 186 MovieClip "ready" in Frame 13
onClipEvent (enterFrame) {
this.swapDepths(10042);
}
Instance of Symbol 189 MovieClip "fadeOut" in Frame 13
onClipEvent (enterFrame) {
this.swapDepths(200053);
}
Frame 14
shp.onPress = function () {
postHPScore(scorea, "Shotgun");
stopAllSounds();
gotoAndStop ("menua");
};
scorea = _root.scoree;
acc = _root.accuracy;
shotsfired = _root.shoot;
ttlhits = _root.hit;
bull = _root.bullseyes;
reloads = _root.reload;
_x = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
Mouse.show();
Frame 15
function MakeBHole() {
z++;
duplicateMovieClip (_root.Bhole, "Bhole" + z, z);
randomw = -30 + random(60);
randomwa = -30 + random(60);
_root["Bhole" + z]._x = _root._xmouse + randomw;
_root["Bhole" + z]._y = _root._ymouse + randomwa;
_root.shake.play();
if (z >= 225) {
z = 126;
}
if (_root["Bhole" + z].hitTest(targeta.ten)) {
_root.score.score = _root.score.score + 10;
_root.numero = _root.numero + 10;
}
if (_root["Bhole" + z].hitTest(targeta.twenty)) {
_root.score.score = _root.score.score + 20;
_root.numero = _root.numero + 20;
}
if (_root["Bhole" + z].hitTest(targeta.thirty)) {
_root.score.score = _root.score.score + 30;
_root.numero = _root.numero + 30;
}
if (_root["Bhole" + z].hitTest(targeta.forty)) {
_root.score.score = _root.score.score + 40;
_root.numero = _root.numero + 40;
}
if (_root["Bhole" + z].hitTest(targeta.fifty)) {
_root.score.score = _root.score.score + 50;
_root.numero = _root.numero + 50;
}
if (_root["Bhole" + z].hitTest(targeta.hundred)) {
_root.score.score = _root.score.score + 100;
_root.numero = _root.numero + 100;
_root.bullseyes++;
}
if (_root["Bhole" + z].hitTest(_root.targeta)) {
_root.hit++;
_root["Bhole" + z].var1 = 1;
}
}
function MakeNum() {
i++;
_root.nummm.duplicateMovieClip("num" + i, i);
_root["num" + i].numm.num = _root.numero;
_root["num" + i]._x = _xmouse;
_root["num" + i]._y = _ymouse - 15;
}
stop();
var z = 106;
var randomw = 0;
var randomwa = 0;
var i = 300;
var bullseyes = 0;
var reload = 0;
var shoot = 0;
var hit = 0;
score.score = _root.scoree;
var accuracy = 0;
var hit2 = 0;
amm.ammo = 12;
var go = 0;
wallBullet = new Sound();
wallBullet.attachSound("wallBullet");
targetBullet = new Sound();
targetBullet.attachSound("targetBullet");
clickSound = new Sound();
clickSound.attachSound("clickSound");
onEnterFrame = function () {
if (_root.shoot != 0) {
accuracy = Math.ceil((_root.hit / _root.shoot) * 100);
} else {
accuracy = 0;
}
};
Mouse.hide();
Instance of Symbol 261 MovieClip "bg" in Frame 15
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 116 MovieClip "amm" in Frame 15
onClipEvent (load) {
CamXx = _x;
}
onClipEvent (enterFrame) {
this.swapDepths(40008);
if (this.ammo <= 0) {
_root.reloader.play();
} else {
_root.reloader.gotoAndStop(1);
}
}
Instance of Symbol 120 MovieClip "cursor" in Frame 15
onClipEvent (enterFrame) {
this.swapDepths(10000);
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 263 MovieClip "fpss" in Frame 15
onClipEvent (load) {
function inc() {
fps = "FPS: " + nmbr;
nmbr = 0;
}
nmbr = 0;
fps = "FPS: 30";
setInterval(inc, 1000);
}
onClipEvent (enterFrame) {
this.swapDepths(41004);
nmbr++;
}
Instance of Symbol 132 MovieClip "score" in Frame 15
onClipEvent (enterFrame) {
this.swapDepths(41009);
}
Instance of Symbol 124 MovieClip "Bhole" in Frame 15
onClipEvent (load) {
yy = _root.targeta._y - _y;
xx = _root.targeta._x - _x;
yy2 = _root.targeta2._y - _y;
xx2 = _root.targeta2._x - _x;
}
onClipEvent (enterFrame) {
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 1)) {
_y = (_root.targeta._y - yy);
_x = (_root.targeta._x - xx);
}
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 0)) {
_visible = false;
}
if (!this.hitTest(_root.targeta)) {
var1 = 0;
}
if (!_root.targeta.hitTest(_x, _y, true)) {
_visible = true;
}
}
Instance of Symbol 138 MovieClip "targeta" in Frame 15
onClipEvent (enterFrame) {
if (_root.go == 1) {
var1 = 1;
} else {
var1 = 0;
}
if (var1 == 1) {
i++;
if (i >= 20) {
i = 0;
_root.rannNumber = random(4);
_root.rannNumber2 = random(5);
}
}
speed = 15;
if (_root.rannNumber == 0) {
this._x = this._x - speed;
}
if (_root.rannNumber == 1) {
this._x = this._x + speed;
}
if (_root.rannNumber == 2) {
this._y = this._y - speed;
}
if (_root.rannNumber == 3) {
this._y = this._y + speed;
}
if (_root.rannNumber2 == 0) {
this._x = this._x - speed;
}
if (_root.rannNumber2 == 1) {
this._x = this._x + speed;
}
if (_root.rannNumber2 == 2) {
this._y = this._y - speed;
}
if (_root.rannNumber2 == 3) {
this._y = this._y + speed;
}
if (this._x >= Stage.width) {
this._x = -500;
} else if (this._x <= -500) {
this._x = Stage.width;
} else if (this._y >= Stage.height) {
this._y = 0;
} else if (this._y <= 0) {
this._y = Stage.height;
}
}
Instance of Symbol 174 MovieClip "gun" in Frame 15
onClipEvent (load) {
CamX = _x;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.righty == true) {
_xscale = scale;
}
if (_root.lefty == true) {
_xscale = (-scale);
}
if ((Key.isDown(32) && (_root.amm.ammo != 12)) && (_currentframe != 2)) {
this.gotoAndStop(3);
}
if (_root.lefty != true) {
_x = (_x - (((_x - _root._xmouse) / 1.7) - 30));
} else {
_x = (_x - (((_x - _root._xmouse) / 1.7) + 30));
}
_y = (_root._ymouse + 25);
_rotation = (_root._ymouse / -20);
this.swapDepths(10001);
CamX = CamX + ((_x - CamX) / 15);
_root._x = (Stage.width / 2) - CamX;
_root.amm._x = CamX - 340;
_root.fpss._x = CamX - 340;
_root.reloader._x = CamX + 283;
_root.score._x = CamX + 340;
_root.ready._x = CamX;
if (CamX < 0) {
CamX = CamX + (-CamX);
}
if (CamX > 400) {
CamX = 400;
}
}
onClipEvent (mouseDown) {
if (((_root.amm.ammo > 0) && (_root.reloading != true)) && (_root.go == 1)) {
this.gotoAndStop(2);
} else {
_root.clickSound.start(0, 1);
}
}
Instance of Symbol 178 MovieClip "reloader" in Frame 15
onClipEvent (enterFrame) {
this.swapDepths(40099);
if (Key.isDown(32) && (_currentframe != 1)) {
_root.gun.gotoAndStop(3);
}
}
Instance of Symbol 181 MovieClip in Frame 15
onClipEvent (enterFrame) {
this.swapDepths(10002);
}
Instance of Symbol 186 MovieClip "ready" in Frame 15
onClipEvent (enterFrame) {
this.swapDepths(10042);
}
Instance of Symbol 189 MovieClip "fadeOut" in Frame 15
onClipEvent (enterFrame) {
this.swapDepths(200053);
}
Frame 16
shp.onPress = function () {
postHPScore(scorea, "Shotgun");
stopAllSounds();
gotoAndStop ("menua");
};
scorea = _root.scoree;
acc = _root.accuracy;
shotsfired = _root.shoot;
ttlhits = _root.hit;
bull = _root.bullseyes;
reloads = _root.reload;
_x = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
Mouse.show();
Frame 17
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");
}
submit.onPress = function () {
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.namee;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.scorea;
__rankz_send__("MTczM2olZSVhJW4lcw==", "RlRheE5ad0w=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
getURL ("http://rankz.armorbot.com/rebound2shotgun/", "_blank");
stopAllSounds();
_root.gotoAndStop("menua");
};
postHPScore(scorea, "Shotgun");
scorea = _root.scoree;
acc = _root.accuracy;
shotsfired = _root.shoot;
ttlhits = _root.hit;
bull = _root.bullseyes;
reloads = _root.reload;
_x = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
Mouse.show();
namee = "Enter Name Here";
Frame 18
function MakeBHole() {
z++;
duplicateMovieClip (_root.Bhole, "Bhole" + z, z);
randomw = -6 + random(12);
randomwa = -6 + random(12);
_root["Bhole" + z]._x = _root._xmouse + randomw;
_root["Bhole" + z]._y = _root._ymouse + randomwa;
_root.shake.play();
if (z >= 225) {
z = 126;
}
if (_root["Bhole" + z].hitTest(targeta.ten)) {
_root.score.score = _root.score.score + 10;
_root.numero = _root.numero + 10;
}
if (_root["Bhole" + z].hitTest(targeta.twenty)) {
_root.score.score = _root.score.score + 20;
_root.numero = _root.numero + 20;
}
if (_root["Bhole" + z].hitTest(targeta.thirty)) {
_root.score.score = _root.score.score + 30;
_root.numero = _root.numero + 30;
}
if (_root["Bhole" + z].hitTest(targeta.forty)) {
_root.score.score = _root.score.score + 40;
_root.numero = _root.numero + 40;
}
if (_root["Bhole" + z].hitTest(targeta.fifty)) {
_root.score.score = _root.score.score + 50;
_root.numero = _root.numero + 50;
}
if (_root["Bhole" + z].hitTest(targeta.hundred)) {
_root.score.score = _root.score.score + 100;
_root.numero = _root.numero + 100;
_root.bullseyes++;
}
if (_root["Bhole" + z].hitTest(_root.targeta)) {
_root.hit++;
_root["Bhole" + z].var1 = 1;
}
}
function MakeNum() {
i++;
_root.nummm.duplicateMovieClip("num" + i, i);
_root["num" + i].numm.num = _root.numero;
_root["num" + i]._x = _xmouse;
_root["num" + i]._y = _ymouse - 15;
}
stop();
var z = 106;
var numero = 0;
var randomw = 0;
var randomwa = 0;
var i = 300;
var bullseyes = 0;
var reload = 0;
var shoot = 0;
var hit = 0;
score.score = 0;
var accuracy = 0;
var hit2 = 0;
amm.ammo = 32;
var go = 0;
wallBullet = new Sound();
wallBullet.attachSound("wallBullet");
targetBullet = new Sound();
targetBullet.attachSound("targetBullet");
clickSound = new Sound();
clickSound.attachSound("clickSound");
onEnterFrame = function () {
if (_root.shoot != 0) {
accuracy = Math.ceil((_root.hit / _root.shoot) * 100);
} else {
accuracy = 0;
}
};
Mouse.hide();
Instance of Symbol 109 MovieClip "bg" in Frame 18
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 283 MovieClip "amm" in Frame 18
onClipEvent (load) {
CamXx = _x;
}
onClipEvent (enterFrame) {
this.swapDepths(40008);
if (this.ammo <= 0) {
_root.reloader.play();
} else {
_root.reloader.gotoAndStop(1);
}
}
Instance of Symbol 120 MovieClip "cursor" in Frame 18
onClipEvent (enterFrame) {
this.swapDepths(10000);
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 285 MovieClip "fpss" in Frame 18
onClipEvent (load) {
function inc() {
fps = "FPS: " + nmbr;
nmbr = 0;
}
nmbr = 0;
fps = "FPS: 30";
setInterval(inc, 1000);
}
onClipEvent (enterFrame) {
this.swapDepths(41008);
nmbr++;
}
Instance of Symbol 124 MovieClip "Bhole" in Frame 18
onClipEvent (enterFrame) {
if (_root.targeta.hitTest(_x - 0.6, _y, true) && (var1 != 1)) {
_visible = false;
} else {
_visible = true;
}
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 1)) {
this._x = this._x + _root.targeta.speed;
}
if (_x >= 960) {
this.removeMovieClip();
}
}
Instance of Symbol 132 MovieClip "score" in Frame 18
onClipEvent (enterFrame) {
this.swapDepths(41009);
}
Instance of Symbol 135 MovieClip in Frame 18
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 135 MovieClip in Frame 18
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 138 MovieClip "targeta" in Frame 18
onClipEvent (load) {
speed = 4;
}
onClipEvent (enterFrame) {
if (_root.go == 1) {
var1 = 1;
} else {
var1 = 0;
}
if (var1 == 1) {
_x = (_x + speed);
if ((_x > 960) && (_root.score.timerr.timer > 0)) {
speed = speed + 2.3;
_x = -610;
}
}
}
Instance of Symbol 178 MovieClip "reloader" in Frame 18
onClipEvent (enterFrame) {
this.swapDepths(40099);
if (Key.isDown(32) && (_currentframe != 1)) {
_root.gun.gotoAndStop(3);
}
}
Instance of Symbol 295 MovieClip "gun" in Frame 18
onClipEvent (load) {
CamX = _x;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.righty == true) {
_xscale = scale;
}
if (_root.lefty == true) {
_xscale = (-scale);
}
if ((Key.isDown(32) && (_root.amm.ammo != 12)) && (_currentframe != 2)) {
this.gotoAndStop(3);
}
if (_root.lefty != true) {
_x = (_x - (((_x - _root._xmouse) / 1.7) - 30));
} else {
_x = (_x - (((_x - _root._xmouse) / 1.7) + 30));
}
_y = (_root._ymouse + 25);
_rotation = (_root._ymouse / -20);
this.swapDepths(10001);
CamX = CamX + ((_x - CamX) / 15);
_root._x = (Stage.width / 2) - CamX;
_root.amm._x = CamX - 340;
_root.fpss._x = CamX - 340;
_root.reloader._x = CamX + 283;
_root.score._x = CamX + 340;
_root.ready._x = CamX;
if (CamX < 0) {
CamX = CamX + (-CamX);
}
if (CamX > 400) {
CamX = 400;
}
if (_root.amm.ammo <= 0) {
_root.amm.ammo = 0;
}
}
onClipEvent (mouseDown) {
if ((_root.amm.ammo > 0) && (_root.reloading != true)) {
this.gotoAndStop(2);
} else {
_root.clickSound.start(0, 1);
}
}
Instance of Symbol 181 MovieClip in Frame 18
onClipEvent (enterFrame) {
this.swapDepths(10002);
}
Instance of Symbol 186 MovieClip "ready" in Frame 18
onClipEvent (enterFrame) {
this.swapDepths(10042);
}
Instance of Symbol 189 MovieClip "fadeOut" in Frame 18
onClipEvent (enterFrame) {
this.swapDepths(200053);
}
Frame 19
shp.onPress = function () {
postHPScore(scorea, "Semi-Automatic");
stopAllSounds();
gotoAndStop ("menua");
};
scorea = _root.scoree;
acc = _root.accuracy;
shotsfired = _root.shoot;
ttlhits = _root.hit;
bull = _root.bullseyes;
reloads = _root.reload;
_x = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
Mouse.show();
Frame 20
function MakeBHole() {
z++;
duplicateMovieClip (_root.Bhole, "Bhole" + z, z);
randomw = -6 + random(12);
randomwa = -6 + random(12);
_root["Bhole" + z]._x = _root._xmouse + randomw;
_root["Bhole" + z]._y = _root._ymouse + randomwa;
_root.shake.play();
if (z >= 225) {
z = 126;
}
if (_root["Bhole" + z].hitTest(targeta.ten)) {
_root.score.score = _root.score.score + 10;
_root.numero = _root.numero + 10;
}
if (_root["Bhole" + z].hitTest(targeta.twenty)) {
_root.score.score = _root.score.score + 20;
_root.numero = _root.numero + 20;
}
if (_root["Bhole" + z].hitTest(targeta.thirty)) {
_root.score.score = _root.score.score + 30;
_root.numero = _root.numero + 30;
}
if (_root["Bhole" + z].hitTest(targeta.forty)) {
_root.score.score = _root.score.score + 40;
_root.numero = _root.numero + 40;
}
if (_root["Bhole" + z].hitTest(targeta.fifty)) {
_root.score.score = _root.score.score + 50;
_root.numero = _root.numero + 50;
}
if (_root["Bhole" + z].hitTest(targeta.hundred)) {
_root.score.score = _root.score.score + 100;
_root.numero = _root.numero + 100;
_root.bullseyes++;
}
if (_root["Bhole" + z].hitTest(_root.targeta)) {
_root.hit++;
_root["Bhole" + z].var1 = 1;
}
}
function MakeNum() {
i++;
_root.nummm.duplicateMovieClip("num" + i, i);
_root["num" + i].numm.num = _root.numero;
_root["num" + i]._x = _xmouse;
_root["num" + i]._y = _ymouse - 15;
}
stop();
var z = 106;
var numero = 0;
var randomw = 0;
var randomwa = 0;
var i = 300;
var bullseyes = 0;
var reload = 0;
var shoot = 0;
var hit = 0;
score.score = _root.scoree;
var accuracy = 0;
var hit2 = 0;
amm.ammo = 32;
var go = 0;
wallBullet = new Sound();
wallBullet.attachSound("wallBullet");
targetBullet = new Sound();
targetBullet.attachSound("targetBullet");
clickSound = new Sound();
clickSound.attachSound("clickSound");
onEnterFrame = function () {
if (_root.shoot != 0) {
accuracy = Math.ceil((_root.hit / _root.shoot) * 100);
} else {
accuracy = 0;
}
};
Mouse.hide();
Instance of Symbol 212 MovieClip "bg" in Frame 20
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 120 MovieClip "cursor" in Frame 20
onClipEvent (enterFrame) {
this.swapDepths(10000);
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 303 MovieClip "fpss" in Frame 20
onClipEvent (load) {
function inc() {
fps = "FPS: " + nmbr;
nmbr = 0;
}
nmbr = 0;
fps = "FPS: 30";
setInterval(inc, 1000);
}
onClipEvent (enterFrame) {
this.swapDepths(41007);
nmbr++;
}
Instance of Symbol 124 MovieClip "Bhole" in Frame 20
onClipEvent (load) {
yy = _root.targeta._y - _y;
yPeak = _root.targeta.yPeak;
yAcc = _root.targeta.yAcc;
ySpeed = _root.targeta.ySpeed;
yState = _root.targeta.yState;
}
onClipEvent (enterFrame) {
if (_root.targeta.hitTest(_x - 0.6, _y, true) && (var1 != 1)) {
_visible = false;
} else {
_visible = true;
}
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 1)) {
if (yState == 1) {
_y = (_y + yAcc);
yAcc = yAcc + ySpeed;
if (yAcc >= yPeak) {
yState = 2;
}
} else if (yState == 2) {
_y = (_y + yAcc);
yAcc = yAcc - ySpeed;
if (yAcc <= 0) {
yState = 3;
}
} else if (yState == 3) {
_y = (_y - yAcc);
yAcc = yAcc + ySpeed;
if (yAcc >= yPeak) {
yState = 4;
}
} else if (yState == 4) {
_y = (_y - yAcc);
yAcc = yAcc - ySpeed;
if (yAcc <= 0) {
yState = 1;
}
}
this._x = this._x + _root.targeta.xspeed;
}
if (_x >= 825) {
this.removeMovieClip();
}
}
Instance of Symbol 132 MovieClip "score" in Frame 20
onClipEvent (enterFrame) {
this.swapDepths(41009);
}
Instance of Symbol 283 MovieClip "amm" in Frame 20
onClipEvent (load) {
CamXx = _x;
}
onClipEvent (enterFrame) {
this.swapDepths(40008);
if (this.ammo <= 0) {
_root.reloader.play();
} else {
_root.reloader.gotoAndStop(1);
}
}
Instance of Symbol 138 MovieClip "targeta" in Frame 20
onClipEvent (load) {
yPeak = Math.round(random(16) + 15);
yAcc = -16;
ySpeed = Math.round(random(5) + 1);
yState = 1;
xspeed = 5;
}
onClipEvent (enterFrame) {
if (_root.go == 1) {
var1 = 1;
} else {
var1 = 0;
}
if (var1 == 1) {
if ((_x > 960) && (_root.score.timerr.timer > 0)) {
xspeed = xspeed + 2.3;
_x = -610;
}
_x = (_x + xspeed);
if (yState == 1) {
_y = (_y + yAcc);
yAcc = yAcc + ySpeed;
if (yAcc >= yPeak) {
yState = 2;
}
} else if (yState == 2) {
_y = (_y + yAcc);
yAcc = yAcc - ySpeed;
if (yAcc <= 0) {
yState = 3;
}
} else if (yState == 3) {
_y = (_y - yAcc);
yAcc = yAcc + ySpeed;
if (yAcc >= yPeak) {
yState = 4;
}
} else if (yState == 4) {
_y = (_y - yAcc);
yAcc = yAcc - ySpeed;
if (yAcc <= 0) {
yState = 1;
}
}
}
}
Instance of Symbol 178 MovieClip "reloader" in Frame 20
onClipEvent (enterFrame) {
this.swapDepths(40099);
if (Key.isDown(32) && (_currentframe != 1)) {
_root.gun.gotoAndStop(3);
}
}
Instance of Symbol 295 MovieClip "gun" in Frame 20
onClipEvent (load) {
CamX = _x;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.righty == true) {
_xscale = scale;
}
if (_root.lefty == true) {
_xscale = (-scale);
}
if ((Key.isDown(32) && (_root.amm.ammo != 12)) && (_currentframe != 2)) {
this.gotoAndStop(3);
}
if (_root.lefty != true) {
_x = (_x - (((_x - _root._xmouse) / 1.7) - 30));
} else {
_x = (_x - (((_x - _root._xmouse) / 1.7) + 30));
}
_y = (_root._ymouse + 25);
_rotation = (_root._ymouse / -20);
this.swapDepths(10001);
CamX = CamX + ((_x - CamX) / 15);
_root._x = (Stage.width / 2) - CamX;
_root.amm._x = CamX - 340;
_root.fpss._x = CamX - 340;
_root.reloader._x = CamX + 283;
_root.score._x = CamX + 340;
_root.ready._x = CamX;
if (CamX < 0) {
CamX = CamX + (-CamX);
}
if (CamX > 400) {
CamX = 400;
}
if (_root.amm.ammo <= 0) {
_root.amm.ammo = 0;
}
}
onClipEvent (mouseDown) {
if ((_root.amm.ammo > 0) && (_root.reloading != true)) {
this.gotoAndStop(2);
} else {
_root.clickSound.start(0, 1);
}
}
Instance of Symbol 181 MovieClip in Frame 20
onClipEvent (enterFrame) {
this.swapDepths(10002);
}
Instance of Symbol 186 MovieClip "ready" in Frame 20
onClipEvent (enterFrame) {
this.swapDepths(10042);
}
Instance of Symbol 189 MovieClip "fadeOut" in Frame 20
onClipEvent (enterFrame) {
this.swapDepths(200053);
}
Frame 21
shp.onPress = function () {
postHPScore(scorea, "Semi-Automatic");
stopAllSounds();
gotoAndStop ("menua");
};
scorea = _root.scoree;
acc = _root.accuracy;
shotsfired = _root.shoot;
ttlhits = _root.hit;
bull = _root.bullseyes;
reloads = _root.reload;
_x = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
Mouse.show();
Frame 22
function MakeBHole() {
z++;
duplicateMovieClip (_root.Bhole, "Bhole" + z, z);
randomw = -6 + random(12);
randomwa = -6 + random(12);
_root["Bhole" + z]._x = _root._xmouse + randomw;
_root["Bhole" + z]._y = _root._ymouse + randomwa;
_root.shake.play();
if (z >= 225) {
z = 126;
}
if (_root["Bhole" + z].hitTest(targeta.ten)) {
_root.score.score = _root.score.score + 10;
_root.numero = _root.numero + 10;
}
if (_root["Bhole" + z].hitTest(targeta.twenty)) {
_root.score.score = _root.score.score + 20;
_root.numero = _root.numero + 20;
}
if (_root["Bhole" + z].hitTest(targeta.thirty)) {
_root.score.score = _root.score.score + 30;
_root.numero = _root.numero + 30;
}
if (_root["Bhole" + z].hitTest(targeta.forty)) {
_root.score.score = _root.score.score + 40;
_root.numero = _root.numero + 40;
}
if (_root["Bhole" + z].hitTest(targeta.fifty)) {
_root.score.score = _root.score.score + 50;
_root.numero = _root.numero + 50;
}
if (_root["Bhole" + z].hitTest(targeta.hundred)) {
_root.score.score = _root.score.score + 100;
_root.numero = _root.numero + 100;
_root.bullseyes++;
}
if (_root["Bhole" + z].hitTest(_root.targeta)) {
_root.hit++;
_root["Bhole" + z].var1 = 1;
}
if (_root["Bhole" + z].hitTest(targeta2.ten)) {
_root.score.score = _root.score.score + 10;
_root.numero = _root.numero + 10;
}
if (_root["Bhole" + z].hitTest(targeta2.twenty)) {
_root.score.score = _root.score.score + 20;
_root.numero = _root.numero + 20;
}
if (_root["Bhole" + z].hitTest(targeta2.thirty)) {
_root.score.score = _root.score.score + 30;
_root.numero = _root.numero + 30;
}
if (_root["Bhole" + z].hitTest(targeta2.forty)) {
_root.score.score = _root.score.score + 40;
_root.numero = _root.numero + 40;
}
if (_root["Bhole" + z].hitTest(targeta2.fifty)) {
_root.score.score = _root.score.score + 50;
_root.numero = _root.numero + 50;
}
if (_root["Bhole" + z].hitTest(targeta2.hundred)) {
_root.score.score = _root.score.score + 100;
_root.numero = _root.numero + 100;
_root.bullseyes++;
}
if (_root["Bhole" + z].hitTest(_root.targeta2)) {
_root.hit++;
_root["Bhole" + z].var1 = 1;
}
}
function MakeNum() {
i++;
_root.nummm.duplicateMovieClip("num" + i, i);
_root["num" + i].numm.num = _root.numero;
_root["num" + i]._x = _xmouse;
_root["num" + i]._y = _ymouse - 15;
}
stop();
var z = 106;
var numero = 0;
var randomw = 0;
var randomwa = 0;
var i = 300;
var bullseyes = 0;
var reload = 0;
var shoot = 0;
var hit = 0;
score.score = _root.scoree;
var accuracy = 0;
var hit2 = 0;
amm.ammo = 32;
var go = 0;
wallBullet = new Sound();
wallBullet.attachSound("wallBullet");
targetBullet = new Sound();
targetBullet.attachSound("targetBullet");
clickSound = new Sound();
clickSound.attachSound("clickSound");
onEnterFrame = function () {
if (_root.shoot != 0) {
accuracy = Math.ceil((_root.hit / _root.shoot) * 100);
} else {
accuracy = 0;
}
};
Mouse.hide();
Instance of Symbol 236 MovieClip "bg" in Frame 22
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 120 MovieClip "cursor" in Frame 22
onClipEvent (enterFrame) {
this.swapDepths(10000);
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 311 MovieClip "fpss" in Frame 22
onClipEvent (load) {
function inc() {
fps = "FPS: " + nmbr;
nmbr = 0;
}
nmbr = 0;
fps = "FPS: 30";
setInterval(inc, 1000);
}
onClipEvent (enterFrame) {
this.swapDepths(41006);
nmbr++;
}
Instance of Symbol 132 MovieClip "score" in Frame 22
onClipEvent (enterFrame) {
this.swapDepths(41009);
}
Instance of Symbol 135 MovieClip in Frame 22
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 283 MovieClip "amm" in Frame 22
onClipEvent (load) {
CamXx = _x;
}
onClipEvent (enterFrame) {
this.swapDepths(40008);
if (this.ammo <= 0) {
_root.reloader.play();
} else {
_root.reloader.gotoAndStop(1);
}
}
Instance of Symbol 124 MovieClip "Bhole" in Frame 22
onClipEvent (load) {
yy = _root.targeta._y - _y;
xx = _root.targeta._x - _x;
yy2 = _root.targeta2._y - _y;
xx2 = _root.targeta2._x - _x;
}
onClipEvent (enterFrame) {
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 1)) {
_y = (_root.targeta._y - yy);
_x = (_root.targeta._x - xx);
}
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 0)) {
_visible = false;
}
if (_root.targeta2.hitTest(_x, _y, true) && (var1 == 1)) {
_y = (_root.targeta2._y - yy2);
_x = (_root.targeta2._x - xx2);
}
if (_root.targeta2.hitTest(_x, _y, true) && (var1 == 0)) {
_visible = false;
}
if ((!this.hitTest(_root.targeta)) && (!this.hitTest(_root.targeta2))) {
var1 = 0;
}
if (((!_root.targeta.hitTest(_x, _y, true)) && (!_root.targeta2.hitTest(_x, _y, true))) && (var1 == 0)) {
_visible = true;
}
}
Instance of Symbol 239 MovieClip "targeta2" in Frame 22
onClipEvent (enterFrame) {
if (_root.go == 1) {
var1 = 1;
} else {
var1 = 0;
}
if (var1 == 1) {
i++;
if (i >= 20) {
i = 0;
_root.ranNumber = random(4);
_root.ranNumber2 = random(5);
}
}
speed = 7;
if (_root.ranNumber == 0) {
this._x = this._x - speed;
}
if (_root.ranNumber == 1) {
this._x = this._x + speed;
}
if (_root.ranNumber == 2) {
this._y = this._y - speed;
}
if (_root.ranNumber == 3) {
this._y = this._y + speed;
}
if (_root.ranNumber2 == 0) {
this._x = this._x - speed;
}
if (_root.ranNumber2 == 1) {
this._x = this._x + speed;
}
if (_root.ranNumber2 == 2) {
this._y = this._y - speed;
}
if (_root.ranNumber2 == 3) {
this._y = this._y + speed;
}
if (this._x >= Stage.width) {
this._x = -500;
} else if (this._x <= -500) {
this._x = Stage.width;
} else if (this._y >= Stage.height) {
this._y = 0;
} else if (this._y <= 0) {
this._y = Stage.height;
}
}
Instance of Symbol 138 MovieClip "targeta" in Frame 22
onClipEvent (enterFrame) {
if (_root.go == 1) {
var1 = 1;
} else {
var1 = 0;
}
if (var1 == 1) {
i++;
if (i >= 20) {
i = 0;
_root.rannNumber = random(4);
_root.rannNumber2 = random(5);
}
}
speed = 7;
if (_root.rannNumber == 0) {
this._x = this._x - speed;
}
if (_root.rannNumber == 1) {
this._x = this._x + speed;
}
if (_root.rannNumber == 2) {
this._y = this._y - speed;
}
if (_root.rannNumber == 3) {
this._y = this._y + speed;
}
if (_root.rannNumber2 == 0) {
this._x = this._x - speed;
}
if (_root.rannNumber2 == 1) {
this._x = this._x + speed;
}
if (_root.rannNumber2 == 2) {
this._y = this._y - speed;
}
if (_root.rannNumber2 == 3) {
this._y = this._y + speed;
}
if (this._x >= Stage.width) {
this._x = -500;
} else if (this._x <= -500) {
this._x = Stage.width;
} else if (this._y >= Stage.height) {
this._y = 0;
} else if (this._y <= 0) {
this._y = Stage.height;
}
}
Instance of Symbol 178 MovieClip "reloader" in Frame 22
onClipEvent (enterFrame) {
this.swapDepths(40099);
if (Key.isDown(32) && (_currentframe != 1)) {
_root.gun.gotoAndStop(3);
}
}
Instance of Symbol 295 MovieClip "gun" in Frame 22
onClipEvent (load) {
CamX = _x;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.righty == true) {
_xscale = scale;
}
if (_root.lefty == true) {
_xscale = (-scale);
}
if ((Key.isDown(32) && (_root.amm.ammo != 12)) && (_currentframe != 2)) {
this.gotoAndStop(3);
}
if (_root.lefty != true) {
_x = (_x - (((_x - _root._xmouse) / 1.7) - 30));
} else {
_x = (_x - (((_x - _root._xmouse) / 1.7) + 30));
}
_y = (_root._ymouse + 25);
_rotation = (_root._ymouse / -20);
this.swapDepths(10001);
CamX = CamX + ((_x - CamX) / 15);
_root._x = (Stage.width / 2) - CamX;
_root.amm._x = CamX - 340;
_root.fpss._x = CamX - 340;
_root.reloader._x = CamX + 283;
_root.score._x = CamX + 340;
_root.ready._x = CamX;
if (CamX < 0) {
CamX = CamX + (-CamX);
}
if (CamX > 400) {
CamX = 400;
}
if (_root.amm.ammo <= 0) {
_root.amm.ammo = 0;
}
}
onClipEvent (mouseDown) {
if (((_root.amm.ammo > 0) && (_root.reloading != true)) && (_root.go == 1)) {
this.gotoAndStop(2);
} else {
_root.clickSound.start(0, 1);
}
}
Instance of Symbol 181 MovieClip in Frame 22
onClipEvent (enterFrame) {
this.swapDepths(10002);
}
Instance of Symbol 186 MovieClip "ready" in Frame 22
onClipEvent (enterFrame) {
this.swapDepths(10042);
}
Instance of Symbol 189 MovieClip "fadeOut" in Frame 22
onClipEvent (enterFrame) {
this.swapDepths(200053);
}
Frame 23
shp.onPress = function () {
postHPScore(scorea, "Semi-Automatic");
stopAllSounds();
gotoAndStop ("menua");
};
scorea = _root.scoree;
acc = _root.accuracy;
shotsfired = _root.shoot;
ttlhits = _root.hit;
bull = _root.bullseyes;
reloads = _root.reload;
_x = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
Mouse.show();
Frame 24
function MakeBHole() {
z++;
duplicateMovieClip (_root.Bhole, "Bhole" + z, z);
randomw = -6 + random(12);
randomwa = -6 + random(12);
_root["Bhole" + z]._x = _root._xmouse + randomw;
_root["Bhole" + z]._y = _root._ymouse + randomwa;
_root.shake.play();
if (z >= 225) {
z = 126;
}
if (_root["Bhole" + z].hitTest(targeta.ten)) {
_root.score.score = _root.score.score + 10;
_root.numero = _root.numero + 10;
}
if (_root["Bhole" + z].hitTest(targeta.twenty)) {
_root.score.score = _root.score.score + 20;
_root.numero = _root.numero + 20;
}
if (_root["Bhole" + z].hitTest(targeta.thirty)) {
_root.score.score = _root.score.score + 30;
_root.numero = _root.numero + 30;
}
if (_root["Bhole" + z].hitTest(targeta.forty)) {
_root.score.score = _root.score.score + 40;
_root.numero = _root.numero + 40;
}
if (_root["Bhole" + z].hitTest(targeta.fifty)) {
_root.score.score = _root.score.score + 50;
_root.numero = _root.numero + 50;
}
if (_root["Bhole" + z].hitTest(targeta.hundred)) {
_root.score.score = _root.score.score + 100;
_root.numero = _root.numero + 100;
_root.bullseyes++;
}
if (_root["Bhole" + z].hitTest(_root.targeta)) {
_root.hit++;
_root["Bhole" + z].var1 = 1;
}
}
function MakeNum() {
i++;
_root.nummm.duplicateMovieClip("num" + i, i);
_root["num" + i].numm.num = _root.numero;
_root["num" + i]._x = _xmouse;
_root["num" + i]._y = _ymouse - 15;
}
stop();
var z = 106;
var numero = 0;
var randomw = 0;
var randomwa = 0;
var i = 300;
var bullseyes = 0;
var reload = 0;
var shoot = 0;
var hit = 0;
score.score = _root.scoree;
var accuracy = 0;
var hit2 = 0;
amm.ammo = 32;
var go = 0;
wallBullet = new Sound();
wallBullet.attachSound("wallBullet");
targetBullet = new Sound();
targetBullet.attachSound("targetBullet");
clickSound = new Sound();
clickSound.attachSound("clickSound");
onEnterFrame = function () {
if (_root.shoot != 0) {
accuracy = Math.ceil((_root.hit / _root.shoot) * 100);
} else {
accuracy = 0;
}
};
Mouse.hide();
Instance of Symbol 249 MovieClip "bg" in Frame 24
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 120 MovieClip "cursor" in Frame 24
onClipEvent (enterFrame) {
this.swapDepths(10000);
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 319 MovieClip "fpss" in Frame 24
onClipEvent (load) {
function inc() {
fps = "FPS: " + nmbr;
nmbr = 0;
}
nmbr = 0;
fps = "FPS: 30";
setInterval(inc, 1000);
}
onClipEvent (enterFrame) {
this.swapDepths(41005);
nmbr++;
}
Instance of Symbol 132 MovieClip "score" in Frame 24
onClipEvent (enterFrame) {
this.swapDepths(41009);
}
Instance of Symbol 135 MovieClip in Frame 24
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 283 MovieClip "amm" in Frame 24
onClipEvent (load) {
CamXx = _x;
}
onClipEvent (enterFrame) {
this.swapDepths(40008);
if (this.ammo <= 0) {
_root.reloader.play();
} else {
_root.reloader.gotoAndStop(1);
}
}
Instance of Symbol 124 MovieClip "Bhole" in Frame 24
onClipEvent (load) {
var rX = _root.targeta.rX;
var rY = rX;
xx = _root.targeta._x - _x;
yy = _root.targeta._y - _y;
var cX = _root.targeta._x;
var cY = _root.targeta._y;
var i = _root.targeta.i;
var speed = _root.targeta.speed;
this.anglea = _root.targeta.anglea;
}
onClipEvent (enterFrame) {
if (_root.targeta.hitTest(_x - 0.6, _y, true) && (var1 != 1)) {
_visible = false;
} else {
_visible = true;
}
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 1)) {
cX = cX - 2;
this._x = (Math.cos(_root.targeta.anglea) * _root.targeta.rX) + (_root.targeta.cX - xx);
this._y = (Math.sin(_root.targeta.anglea) * _root.targeta.rY) + (_root.targeta.cY - yy);
var s = (this._y / (cY - rY));
this.anglea = this.anglea + _root.targeta.speed;
if ((s >= 1) && (s <= 2)) {
speed = speed + 0.00034;
}
if (cX <= -650) {
this.removeMovieClip();
cX = 960;
}
}
if (!this.hitTest(_root.targeta)) {
var1 = 0;
}
}
Instance of Symbol 138 MovieClip "targeta" in Frame 24
onClipEvent (load) {
var rX = (random(150) + 120);
var rY = rX;
var cX = _x;
var cY = _y;
var i = 1;
var speed = 0.05;
this.anglea = i * (Math.PI*2);
}
onClipEvent (enterFrame) {
cX = cX - 2;
this._x = (Math.cos(this.anglea) * rX) + cX;
this._y = (Math.sin(this.anglea) * rY) + cY;
var s = (this._y / (cY - rY));
this.anglea = this.anglea + this.speed;
if ((s >= 1) && (s <= 2)) {
speed = speed + 0.00034;
}
if (cX <= -650) {
cX = 960;
}
}
Instance of Symbol 178 MovieClip "reloader" in Frame 24
onClipEvent (enterFrame) {
this.swapDepths(40099);
if (Key.isDown(32) && (_currentframe != 1)) {
_root.gun.gotoAndStop(3);
}
}
Instance of Symbol 295 MovieClip "gun" in Frame 24
onClipEvent (load) {
CamX = _x;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.righty == true) {
_xscale = scale;
}
if (_root.lefty == true) {
_xscale = (-scale);
}
if ((Key.isDown(32) && (_root.amm.ammo != 12)) && (_currentframe != 2)) {
this.gotoAndStop(3);
}
if (_root.lefty != true) {
_x = (_x - (((_x - _root._xmouse) / 1.7) - 30));
} else {
_x = (_x - (((_x - _root._xmouse) / 1.7) + 30));
}
_y = (_root._ymouse + 25);
_rotation = (_root._ymouse / -20);
this.swapDepths(10001);
CamX = CamX + ((_x - CamX) / 15);
_root._x = (Stage.width / 2) - CamX;
_root.amm._x = CamX - 340;
_root.fpss._x = CamX - 340;
_root.reloader._x = CamX + 283;
_root.score._x = CamX + 340;
_root.ready._x = CamX;
if (CamX < 0) {
CamX = CamX + (-CamX);
}
if (CamX > 400) {
CamX = 400;
}
if (_root.amm.ammo <= 0) {
_root.amm.ammo = 0;
}
}
onClipEvent (mouseDown) {
if ((_root.amm.ammo > 0) && (_root.reloading != true)) {
this.gotoAndStop(2);
} else {
_root.clickSound.start(0, 1);
}
}
Instance of Symbol 181 MovieClip in Frame 24
onClipEvent (enterFrame) {
this.swapDepths(10002);
}
Instance of Symbol 186 MovieClip "ready" in Frame 24
onClipEvent (enterFrame) {
this.swapDepths(10042);
}
Instance of Symbol 189 MovieClip "fadeOut" in Frame 24
onClipEvent (enterFrame) {
this.swapDepths(200053);
}
Frame 25
shp.onPress = function () {
postHPScore(scorea, "Semi-Automatic");
stopAllSounds();
gotoAndStop ("menua");
};
scorea = _root.scoree;
acc = _root.accuracy;
shotsfired = _root.shoot;
ttlhits = _root.hit;
bull = _root.bullseyes;
reloads = _root.reload;
_x = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
Mouse.show();
Frame 26
function MakeBHole() {
z++;
duplicateMovieClip (_root.Bhole, "Bhole" + z, z);
randomw = -6 + random(12);
randomwa = -6 + random(12);
_root["Bhole" + z]._x = _root._xmouse + randomw;
_root["Bhole" + z]._y = _root._ymouse + randomwa;
_root.shake.play();
if (z >= 225) {
z = 126;
}
if (_root["Bhole" + z].hitTest(targeta.ten)) {
_root.score.score = _root.score.score + 10;
_root.numero = _root.numero + 10;
}
if (_root["Bhole" + z].hitTest(targeta.twenty)) {
_root.score.score = _root.score.score + 20;
_root.numero = _root.numero + 20;
}
if (_root["Bhole" + z].hitTest(targeta.thirty)) {
_root.score.score = _root.score.score + 30;
_root.numero = _root.numero + 30;
}
if (_root["Bhole" + z].hitTest(targeta.forty)) {
_root.score.score = _root.score.score + 40;
_root.numero = _root.numero + 40;
}
if (_root["Bhole" + z].hitTest(targeta.fifty)) {
_root.score.score = _root.score.score + 50;
_root.numero = _root.numero + 50;
}
if (_root["Bhole" + z].hitTest(targeta.hundred)) {
_root.score.score = _root.score.score + 100;
_root.numero = _root.numero + 100;
_root.bullseyes++;
}
if (_root["Bhole" + z].hitTest(_root.targeta)) {
_root.hit++;
_root["Bhole" + z].var1 = 1;
}
}
function MakeNum() {
i++;
_root.nummm.duplicateMovieClip("num" + i, i);
_root["num" + i].numm.num = _root.numero;
_root["num" + i]._x = _xmouse;
_root["num" + i]._y = _ymouse - 15;
}
stop();
var z = 106;
var numero = 0;
var randomw = 0;
var randomwa = 0;
var i = 300;
var bullseyes = 0;
var reload = 0;
var shoot = 0;
var hit = 0;
score.score = _root.scoree;
var accuracy = 0;
var hit2 = 0;
amm.ammo = 32;
var go = 0;
wallBullet = new Sound();
wallBullet.attachSound("wallBullet");
targetBullet = new Sound();
targetBullet.attachSound("targetBullet");
clickSound = new Sound();
clickSound.attachSound("clickSound");
onEnterFrame = function () {
if (_root.shoot != 0) {
accuracy = Math.ceil((_root.hit / _root.shoot) * 100);
} else {
accuracy = 0;
}
};
Mouse.hide();
Instance of Symbol 261 MovieClip "bg" in Frame 26
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 120 MovieClip "cursor" in Frame 26
onClipEvent (enterFrame) {
this.swapDepths(10000);
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 327 MovieClip "fpss" in Frame 26
onClipEvent (load) {
function inc() {
fps = "FPS: " + nmbr;
nmbr = 0;
}
nmbr = 0;
fps = "FPS: 30";
setInterval(inc, 1000);
}
onClipEvent (enterFrame) {
this.swapDepths(41004);
nmbr++;
}
Instance of Symbol 132 MovieClip "score" in Frame 26
onClipEvent (enterFrame) {
this.swapDepths(41009);
}
Instance of Symbol 283 MovieClip "amm" in Frame 26
onClipEvent (load) {
CamXx = _x;
}
onClipEvent (enterFrame) {
this.swapDepths(40008);
if (this.ammo <= 0) {
_root.reloader.play();
} else {
_root.reloader.gotoAndStop(1);
}
}
Instance of Symbol 124 MovieClip "Bhole" in Frame 26
onClipEvent (load) {
yy = _root.targeta._y - _y;
xx = _root.targeta._x - _x;
yy2 = _root.targeta2._y - _y;
xx2 = _root.targeta2._x - _x;
}
onClipEvent (enterFrame) {
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 1)) {
_y = (_root.targeta._y - yy);
_x = (_root.targeta._x - xx);
}
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 0)) {
_visible = false;
}
if (!this.hitTest(_root.targeta)) {
var1 = 0;
}
if (!_root.targeta.hitTest(_x, _y, true)) {
_visible = true;
}
}
Instance of Symbol 138 MovieClip "targeta" in Frame 26
onClipEvent (enterFrame) {
if (_root.go == 1) {
var1 = 1;
} else {
var1 = 0;
}
if (var1 == 1) {
i++;
if (i >= 20) {
i = 0;
_root.rannNumber = random(4);
_root.rannNumber2 = random(5);
}
}
speed = 15;
if (_root.rannNumber == 0) {
this._x = this._x - speed;
}
if (_root.rannNumber == 1) {
this._x = this._x + speed;
}
if (_root.rannNumber == 2) {
this._y = this._y - speed;
}
if (_root.rannNumber == 3) {
this._y = this._y + speed;
}
if (_root.rannNumber2 == 0) {
this._x = this._x - speed;
}
if (_root.rannNumber2 == 1) {
this._x = this._x + speed;
}
if (_root.rannNumber2 == 2) {
this._y = this._y - speed;
}
if (_root.rannNumber2 == 3) {
this._y = this._y + speed;
}
if (this._x >= Stage.width) {
this._x = -500;
} else if (this._x <= -500) {
this._x = Stage.width;
} else if (this._y >= Stage.height) {
this._y = 0;
} else if (this._y <= 0) {
this._y = Stage.height;
}
}
Instance of Symbol 178 MovieClip "reloader" in Frame 26
onClipEvent (enterFrame) {
this.swapDepths(40099);
if (Key.isDown(32) && (_currentframe != 1)) {
_root.gun.gotoAndStop(3);
}
}
Instance of Symbol 295 MovieClip "gun" in Frame 26
onClipEvent (load) {
CamX = _x;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.righty == true) {
_xscale = scale;
}
if (_root.lefty == true) {
_xscale = (-scale);
}
if ((Key.isDown(32) && (_root.amm.ammo != 12)) && (_currentframe != 2)) {
this.gotoAndStop(3);
}
if (_root.lefty != true) {
_x = (_x - (((_x - _root._xmouse) / 1.7) - 30));
} else {
_x = (_x - (((_x - _root._xmouse) / 1.7) + 30));
}
_y = (_root._ymouse + 25);
_rotation = (_root._ymouse / -20);
this.swapDepths(10001);
CamX = CamX + ((_x - CamX) / 15);
_root._x = (Stage.width / 2) - CamX;
_root.amm._x = CamX - 340;
_root.fpss._x = CamX - 340;
_root.reloader._x = CamX + 283;
_root.score._x = CamX + 340;
_root.ready._x = CamX;
if (CamX < 0) {
CamX = CamX + (-CamX);
}
if (CamX > 400) {
CamX = 400;
}
if (_root.amm.ammo <= 0) {
_root.amm.ammo = 0;
}
}
onClipEvent (mouseDown) {
if ((_root.amm.ammo > 0) && (_root.reloading != true)) {
this.gotoAndStop(2);
} else {
_root.clickSound.start(0, 1);
}
}
Instance of Symbol 181 MovieClip in Frame 26
onClipEvent (enterFrame) {
this.swapDepths(10002);
}
Instance of Symbol 186 MovieClip "ready" in Frame 26
onClipEvent (enterFrame) {
this.swapDepths(10042);
}
Instance of Symbol 189 MovieClip "fadeOut" in Frame 26
onClipEvent (enterFrame) {
this.swapDepths(200053);
}
Frame 27
shp.onPress = function () {
postHPScore(scorea, "Semi-Automatic");
stopAllSounds();
gotoAndStop ("menua");
};
scorea = _root.scoree;
acc = _root.accuracy;
shotsfired = _root.shoot;
ttlhits = _root.hit;
bull = _root.bullseyes;
reloads = _root.reload;
_x = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
Mouse.show();
Frame 28
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");
}
submit.onPress = function () {
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.namee;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.scorea;
__rankz_send__("MTczNWolZSVhJW4lcw==", "eVNCdnFNb0U=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
getURL ("http://rankz.armorbot.com/rebound2semi/", "_blank");
stopAllSounds();
_root.gotoAndStop("menua");
};
postHPScore(scorea, "Semi-Automatic");
scorea = _root.scoree;
acc = _root.accuracy;
shotsfired = _root.shoot;
ttlhits = _root.hit;
bull = _root.bullseyes;
reloads = _root.reload;
_x = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
Mouse.show();
namee = "Enter Name Here";
Frame 29
function MakeBHole() {
z++;
duplicateMovieClip (_root.Bhole, "Bhole" + z, z);
randomw = -4 + random(8);
randomwa = -4 + random(8);
_root["Bhole" + z]._x = _root._xmouse + randomw;
_root["Bhole" + z]._y = _root._ymouse + randomwa;
_root.shake.play();
if (z >= 225) {
z = 126;
}
if (_root["Bhole" + z].hitTest(targeta.ten)) {
_root.score.score = _root.score.score + 10;
_root.numero = _root.numero + 10;
}
if (_root["Bhole" + z].hitTest(targeta.twenty)) {
_root.score.score = _root.score.score + 20;
_root.numero = _root.numero + 20;
}
if (_root["Bhole" + z].hitTest(targeta.thirty)) {
_root.score.score = _root.score.score + 30;
_root.numero = _root.numero + 30;
}
if (_root["Bhole" + z].hitTest(targeta.forty)) {
_root.score.score = _root.score.score + 40;
_root.numero = _root.numero + 40;
}
if (_root["Bhole" + z].hitTest(targeta.fifty)) {
_root.score.score = _root.score.score + 50;
_root.numero = _root.numero + 50;
}
if (_root["Bhole" + z].hitTest(targeta.hundred)) {
_root.score.score = _root.score.score + 100;
_root.numero = _root.numero + 100;
_root.bullseyes++;
}
if (_root["Bhole" + z].hitTest(_root.targeta)) {
_root.hit++;
_root["Bhole" + z].var1 = 1;
}
}
function MakeNum() {
i++;
_root.nummm.duplicateMovieClip("num" + i, i);
_root["num" + i].numm.num = _root.numero;
_root["num" + i]._x = _xmouse;
_root["num" + i]._y = _ymouse - 15;
}
stop();
var z = 106;
var numero = 0;
var randomw = 0;
var randomwa = 0;
var i = 300;
var bullseyes = 0;
var reload = 0;
var shoot = 0;
var hit = 0;
score.score = 0;
var accuracy = 0;
var hit2 = 0;
amm.ammo = 32;
var go = 0;
wallBullet = new Sound();
wallBullet.attachSound("wallBullet");
targetBullet = new Sound();
targetBullet.attachSound("targetBullet");
clickSound = new Sound();
clickSound.attachSound("clickSound");
onEnterFrame = function () {
if (_root.shoot != 0) {
accuracy = Math.ceil((_root.hit / _root.shoot) * 100);
} else {
accuracy = 0;
}
};
Mouse.hide();
Instance of Symbol 109 MovieClip "bg" in Frame 29
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 283 MovieClip "amm" in Frame 29
onClipEvent (load) {
CamXx = _x;
}
onClipEvent (enterFrame) {
this.swapDepths(40008);
if (this.ammo <= 0) {
_root.reloader.play();
} else {
_root.reloader.gotoAndStop(1);
}
}
Instance of Symbol 120 MovieClip "cursor" in Frame 29
onClipEvent (enterFrame) {
this.swapDepths(10000);
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 338 MovieClip "fpss" in Frame 29
onClipEvent (load) {
function inc() {
fps = "FPS: " + nmbr;
nmbr = 0;
}
nmbr = 0;
fps = "FPS: 30";
setInterval(inc, 1000);
}
onClipEvent (enterFrame) {
this.swapDepths(41008);
nmbr++;
}
Instance of Symbol 124 MovieClip "Bhole" in Frame 29
onClipEvent (enterFrame) {
if (_root.targeta.hitTest(_x - 0.6, _y, true) && (var1 != 1)) {
_visible = false;
} else {
_visible = true;
}
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 1)) {
this._x = this._x + _root.targeta.speed;
}
if (_x >= 960) {
this.removeMovieClip();
}
}
Instance of Symbol 132 MovieClip "score" in Frame 29
onClipEvent (enterFrame) {
this.swapDepths(41009);
}
Instance of Symbol 135 MovieClip in Frame 29
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 135 MovieClip in Frame 29
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 138 MovieClip "targeta" in Frame 29
onClipEvent (load) {
speed = 4;
}
onClipEvent (enterFrame) {
if (_root.go == 1) {
var1 = 1;
} else {
var1 = 0;
}
if (var1 == 1) {
_x = (_x + speed);
if ((_x > 960) && (_root.score.timerr.timer > 0)) {
speed = speed + 2.3;
_x = -610;
}
}
}
Instance of Symbol 178 MovieClip "reloader" in Frame 29
onClipEvent (enterFrame) {
this.swapDepths(40099);
if (Key.isDown(32) && (_currentframe != 1)) {
_root.gun.gotoAndStop(3);
}
}
Instance of Symbol 344 MovieClip "gun" in Frame 29
onClipEvent (load) {
CamX = _x;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.righty == true) {
_xscale = scale;
}
if (_root.lefty == true) {
_xscale = (-scale);
}
if ((Key.isDown(32) && (_root.amm.ammo != 12)) && (_currentframe != 2)) {
this.gotoAndStop(3);
}
if (_root.lefty != true) {
_x = (_x - (((_x - _root._xmouse) / 1.7) - 30));
} else {
_x = (_x - (((_x - _root._xmouse) / 1.7) + 30));
}
_y = (_root._ymouse + 25);
_rotation = (_root._ymouse / -20);
this.swapDepths(10001);
CamX = CamX + ((_x - CamX) / 15);
_root._x = (Stage.width / 2) - CamX;
_root.amm._x = CamX - 340;
_root.fpss._x = CamX - 340;
_root.reloader._x = CamX + 283;
_root.score._x = CamX + 340;
_root.ready._x = CamX;
if (CamX < 0) {
CamX = CamX + (-CamX);
}
if (CamX > 400) {
CamX = 400;
}
if (_root.amm.ammo <= 0) {
_root.amm.ammo = 0;
}
if (Key.isDown(1) && (_root.go == 1)) {
if ((_root.amm.ammo > 0) && (_root.reloading != true)) {
this.gotoAndStop(2);
} else {
_root.clickSound.start(0, 1);
}
}
}
Instance of Symbol 181 MovieClip in Frame 29
onClipEvent (enterFrame) {
this.swapDepths(10002);
}
Instance of Symbol 186 MovieClip "ready" in Frame 29
onClipEvent (enterFrame) {
this.swapDepths(10042);
}
Instance of Symbol 189 MovieClip "fadeOut" in Frame 29
onClipEvent (enterFrame) {
this.swapDepths(200053);
}
Frame 30
shp.onPress = function () {
postHPScore(scorea, "Automatic");
stopAllSounds();
gotoAndStop ("menua");
};
scorea = _root.scoree;
acc = _root.accuracy;
shotsfired = _root.shoot;
ttlhits = _root.hit;
bull = _root.bullseyes;
reloads = _root.reload;
_x = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
Mouse.show();
Frame 31
function MakeBHole() {
z++;
duplicateMovieClip (_root.Bhole, "Bhole" + z, z);
randomw = -6 + random(12);
randomwa = -6 + random(12);
_root["Bhole" + z]._x = _root._xmouse + randomw;
_root["Bhole" + z]._y = _root._ymouse + randomwa;
_root.shake.play();
if (z >= 225) {
z = 126;
}
if (_root["Bhole" + z].hitTest(targeta.ten)) {
_root.score.score = _root.score.score + 10;
_root.numero = _root.numero + 10;
}
if (_root["Bhole" + z].hitTest(targeta.twenty)) {
_root.score.score = _root.score.score + 20;
_root.numero = _root.numero + 20;
}
if (_root["Bhole" + z].hitTest(targeta.thirty)) {
_root.score.score = _root.score.score + 30;
_root.numero = _root.numero + 30;
}
if (_root["Bhole" + z].hitTest(targeta.forty)) {
_root.score.score = _root.score.score + 40;
_root.numero = _root.numero + 40;
}
if (_root["Bhole" + z].hitTest(targeta.fifty)) {
_root.score.score = _root.score.score + 50;
_root.numero = _root.numero + 50;
}
if (_root["Bhole" + z].hitTest(targeta.hundred)) {
_root.score.score = _root.score.score + 100;
_root.numero = _root.numero + 100;
_root.bullseyes++;
}
if (_root["Bhole" + z].hitTest(_root.targeta)) {
_root.hit++;
_root["Bhole" + z].var1 = 1;
}
}
function MakeNum() {
i++;
_root.nummm.duplicateMovieClip("num" + i, i);
_root["num" + i].numm.num = _root.numero;
_root["num" + i]._x = _xmouse;
_root["num" + i]._y = _ymouse - 15;
}
stop();
var z = 106;
var numero = 0;
var randomw = 0;
var randomwa = 0;
var i = 300;
var bullseyes = 0;
var reload = 0;
var shoot = 0;
var hit = 0;
score.score = _root.scoree;
var accuracy = 0;
var hit2 = 0;
amm.ammo = 32;
var go = 0;
wallBullet = new Sound();
wallBullet.attachSound("wallBullet");
targetBullet = new Sound();
targetBullet.attachSound("targetBullet");
clickSound = new Sound();
clickSound.attachSound("clickSound");
onEnterFrame = function () {
if (_root.shoot != 0) {
accuracy = Math.ceil((_root.hit / _root.shoot) * 100);
} else {
accuracy = 0;
}
};
Mouse.hide();
Instance of Symbol 212 MovieClip "bg" in Frame 31
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 120 MovieClip "cursor" in Frame 31
onClipEvent (enterFrame) {
this.swapDepths(10000);
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 352 MovieClip "fpss" in Frame 31
onClipEvent (load) {
function inc() {
fps = "FPS: " + nmbr;
nmbr = 0;
}
nmbr = 0;
fps = "FPS: 30";
setInterval(inc, 1000);
}
onClipEvent (enterFrame) {
this.swapDepths(41007);
nmbr++;
}
Instance of Symbol 124 MovieClip "Bhole" in Frame 31
onClipEvent (load) {
yy = _root.targeta._y - _y;
yPeak = _root.targeta.yPeak;
yAcc = _root.targeta.yAcc;
ySpeed = _root.targeta.ySpeed;
yState = _root.targeta.yState;
}
onClipEvent (enterFrame) {
if (_root.targeta.hitTest(_x - 0.6, _y, true) && (var1 != 1)) {
_visible = false;
} else {
_visible = true;
}
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 1)) {
if (yState == 1) {
_y = (_y + yAcc);
yAcc = yAcc + ySpeed;
if (yAcc >= yPeak) {
yState = 2;
}
} else if (yState == 2) {
_y = (_y + yAcc);
yAcc = yAcc - ySpeed;
if (yAcc <= 0) {
yState = 3;
}
} else if (yState == 3) {
_y = (_y - yAcc);
yAcc = yAcc + ySpeed;
if (yAcc >= yPeak) {
yState = 4;
}
} else if (yState == 4) {
_y = (_y - yAcc);
yAcc = yAcc - ySpeed;
if (yAcc <= 0) {
yState = 1;
}
}
this._x = this._x + _root.targeta.xspeed;
}
if (_x >= 825) {
this.removeMovieClip();
}
}
Instance of Symbol 132 MovieClip "score" in Frame 31
onClipEvent (enterFrame) {
this.swapDepths(41009);
}
Instance of Symbol 283 MovieClip "amm" in Frame 31
onClipEvent (load) {
CamXx = _x;
}
onClipEvent (enterFrame) {
this.swapDepths(40008);
if (this.ammo <= 0) {
_root.reloader.play();
} else {
_root.reloader.gotoAndStop(1);
}
}
Instance of Symbol 138 MovieClip "targeta" in Frame 31
onClipEvent (load) {
yPeak = Math.round(random(16) + 15);
yAcc = -16;
ySpeed = Math.round(random(5) + 1);
yState = 1;
xspeed = 5;
}
onClipEvent (enterFrame) {
if (_root.go == 1) {
var1 = 1;
} else {
var1 = 0;
}
if (var1 == 1) {
if ((_x > 960) && (_root.score.timerr.timer > 0)) {
xspeed = xspeed + 2.3;
_x = -610;
}
_x = (_x + xspeed);
if (yState == 1) {
_y = (_y + yAcc);
yAcc = yAcc + ySpeed;
if (yAcc >= yPeak) {
yState = 2;
}
} else if (yState == 2) {
_y = (_y + yAcc);
yAcc = yAcc - ySpeed;
if (yAcc <= 0) {
yState = 3;
}
} else if (yState == 3) {
_y = (_y - yAcc);
yAcc = yAcc + ySpeed;
if (yAcc >= yPeak) {
yState = 4;
}
} else if (yState == 4) {
_y = (_y - yAcc);
yAcc = yAcc - ySpeed;
if (yAcc <= 0) {
yState = 1;
}
}
}
}
Instance of Symbol 178 MovieClip "reloader" in Frame 31
onClipEvent (enterFrame) {
this.swapDepths(40099);
if (Key.isDown(32) && (_currentframe != 1)) {
_root.gun.gotoAndStop(3);
}
}
Instance of Symbol 344 MovieClip "gun" in Frame 31
onClipEvent (load) {
CamX = _x;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.righty == true) {
_xscale = scale;
}
if (_root.lefty == true) {
_xscale = (-scale);
}
if ((Key.isDown(32) && (_root.amm.ammo != 12)) && (_currentframe != 2)) {
this.gotoAndStop(3);
}
if (_root.lefty != true) {
_x = (_x - (((_x - _root._xmouse) / 1.7) - 30));
} else {
_x = (_x - (((_x - _root._xmouse) / 1.7) + 30));
}
_y = (_root._ymouse + 25);
_rotation = (_root._ymouse / -20);
this.swapDepths(10001);
CamX = CamX + ((_x - CamX) / 15);
_root._x = (Stage.width / 2) - CamX;
_root.amm._x = CamX - 340;
_root.fpss._x = CamX - 340;
_root.reloader._x = CamX + 283;
_root.score._x = CamX + 340;
_root.ready._x = CamX;
if (CamX < 0) {
CamX = CamX + (-CamX);
}
if (CamX > 400) {
CamX = 400;
}
if (_root.amm.ammo <= 0) {
_root.amm.ammo = 0;
}
if (Key.isDown(1) && (_root.go == 1)) {
if ((_root.amm.ammo > 0) && (_root.reloading != true)) {
this.gotoAndStop(2);
} else {
_root.clickSound.start(0, 1);
}
}
}
Instance of Symbol 181 MovieClip in Frame 31
onClipEvent (enterFrame) {
this.swapDepths(10002);
}
Instance of Symbol 186 MovieClip "ready" in Frame 31
onClipEvent (enterFrame) {
this.swapDepths(10042);
}
Instance of Symbol 189 MovieClip "fadeOut" in Frame 31
onClipEvent (enterFrame) {
this.swapDepths(200053);
}
Frame 32
shp.onPress = function () {
postHPScore(scorea, "Automatic");
stopAllSounds();
gotoAndStop ("menua");
};
scorea = _root.scoree;
acc = _root.accuracy;
shotsfired = _root.shoot;
ttlhits = _root.hit;
bull = _root.bullseyes;
reloads = _root.reload;
_x = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
Mouse.show();
Frame 33
function MakeBHole() {
z++;
duplicateMovieClip (_root.Bhole, "Bhole" + z, z);
randomw = -6 + random(12);
randomwa = -6 + random(12);
_root["Bhole" + z]._x = _root._xmouse + randomw;
_root["Bhole" + z]._y = _root._ymouse + randomwa;
_root.shake.play();
if (z >= 225) {
z = 126;
}
if (_root["Bhole" + z].hitTest(targeta.ten)) {
_root.score.score = _root.score.score + 10;
_root.numero = _root.numero + 10;
}
if (_root["Bhole" + z].hitTest(targeta.twenty)) {
_root.score.score = _root.score.score + 20;
_root.numero = _root.numero + 20;
}
if (_root["Bhole" + z].hitTest(targeta.thirty)) {
_root.score.score = _root.score.score + 30;
_root.numero = _root.numero + 30;
}
if (_root["Bhole" + z].hitTest(targeta.forty)) {
_root.score.score = _root.score.score + 40;
_root.numero = _root.numero + 40;
}
if (_root["Bhole" + z].hitTest(targeta.fifty)) {
_root.score.score = _root.score.score + 50;
_root.numero = _root.numero + 50;
}
if (_root["Bhole" + z].hitTest(targeta.hundred)) {
_root.score.score = _root.score.score + 100;
_root.numero = _root.numero + 100;
_root.bullseyes++;
}
if (_root["Bhole" + z].hitTest(_root.targeta)) {
_root.hit++;
_root["Bhole" + z].var1 = 1;
}
if (_root["Bhole" + z].hitTest(targeta2.ten)) {
_root.score.score = _root.score.score + 10;
_root.numero = _root.numero + 10;
}
if (_root["Bhole" + z].hitTest(targeta2.twenty)) {
_root.score.score = _root.score.score + 20;
_root.numero = _root.numero + 20;
}
if (_root["Bhole" + z].hitTest(targeta2.thirty)) {
_root.score.score = _root.score.score + 30;
_root.numero = _root.numero + 30;
}
if (_root["Bhole" + z].hitTest(targeta2.forty)) {
_root.score.score = _root.score.score + 40;
_root.numero = _root.numero + 40;
}
if (_root["Bhole" + z].hitTest(targeta2.fifty)) {
_root.score.score = _root.score.score + 50;
_root.numero = _root.numero + 50;
}
if (_root["Bhole" + z].hitTest(targeta2.hundred)) {
_root.score.score = _root.score.score + 100;
_root.numero = _root.numero + 100;
_root.bullseyes++;
}
if (_root["Bhole" + z].hitTest(_root.targeta2)) {
_root.hit++;
_root["Bhole" + z].var1 = 1;
}
}
function MakeNum() {
i++;
_root.nummm.duplicateMovieClip("num" + i, i);
_root["num" + i].numm.num = _root.numero;
_root["num" + i]._x = _xmouse;
_root["num" + i]._y = _ymouse - 15;
}
stop();
var z = 106;
var numero = 0;
var randomw = 0;
var randomwa = 0;
var i = 300;
var bullseyes = 0;
var reload = 0;
var shoot = 0;
var hit = 0;
score.score = _root.scoree;
var accuracy = 0;
var hit2 = 0;
amm.ammo = 32;
var go = 0;
wallBullet = new Sound();
wallBullet.attachSound("wallBullet");
targetBullet = new Sound();
targetBullet.attachSound("targetBullet");
clickSound = new Sound();
clickSound.attachSound("clickSound");
onEnterFrame = function () {
if (_root.shoot != 0) {
accuracy = Math.ceil((_root.hit / _root.shoot) * 100);
} else {
accuracy = 0;
}
};
Mouse.hide();
Instance of Symbol 236 MovieClip "bg" in Frame 33
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 120 MovieClip "cursor" in Frame 33
onClipEvent (enterFrame) {
this.swapDepths(10000);
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 360 MovieClip "fpss" in Frame 33
onClipEvent (load) {
function inc() {
fps = "FPS: " + nmbr;
nmbr = 0;
}
nmbr = 0;
fps = "FPS: 30";
setInterval(inc, 1000);
}
onClipEvent (enterFrame) {
this.swapDepths(41006);
nmbr++;
}
Instance of Symbol 132 MovieClip "score" in Frame 33
onClipEvent (enterFrame) {
this.swapDepths(41009);
}
Instance of Symbol 135 MovieClip in Frame 33
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 283 MovieClip "amm" in Frame 33
onClipEvent (load) {
CamXx = _x;
}
onClipEvent (enterFrame) {
this.swapDepths(40008);
if (this.ammo <= 0) {
_root.reloader.play();
} else {
_root.reloader.gotoAndStop(1);
}
}
Instance of Symbol 124 MovieClip "Bhole" in Frame 33
onClipEvent (load) {
yy = _root.targeta._y - _y;
xx = _root.targeta._x - _x;
yy2 = _root.targeta2._y - _y;
xx2 = _root.targeta2._x - _x;
}
onClipEvent (enterFrame) {
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 1)) {
_y = (_root.targeta._y - yy);
_x = (_root.targeta._x - xx);
}
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 0)) {
_visible = false;
}
if (_root.targeta2.hitTest(_x, _y, true) && (var1 == 1)) {
_y = (_root.targeta2._y - yy2);
_x = (_root.targeta2._x - xx2);
}
if (_root.targeta2.hitTest(_x, _y, true) && (var1 == 0)) {
_visible = false;
}
if ((!this.hitTest(_root.targeta)) && (!this.hitTest(_root.targeta2))) {
var1 = 0;
}
if (((!_root.targeta.hitTest(_x, _y, true)) && (!_root.targeta2.hitTest(_x, _y, true))) && (var1 == 0)) {
_visible = true;
}
}
Instance of Symbol 239 MovieClip "targeta2" in Frame 33
onClipEvent (enterFrame) {
if (_root.go == 1) {
var1 = 1;
} else {
var1 = 0;
}
if (var1 == 1) {
i++;
if (i >= 20) {
i = 0;
_root.ranNumber = random(4);
_root.ranNumber2 = random(5);
}
}
speed = 7;
if (_root.ranNumber == 0) {
this._x = this._x - speed;
}
if (_root.ranNumber == 1) {
this._x = this._x + speed;
}
if (_root.ranNumber == 2) {
this._y = this._y - speed;
}
if (_root.ranNumber == 3) {
this._y = this._y + speed;
}
if (_root.ranNumber2 == 0) {
this._x = this._x - speed;
}
if (_root.ranNumber2 == 1) {
this._x = this._x + speed;
}
if (_root.ranNumber2 == 2) {
this._y = this._y - speed;
}
if (_root.ranNumber2 == 3) {
this._y = this._y + speed;
}
if (this._x >= Stage.width) {
this._x = -500;
} else if (this._x <= -500) {
this._x = Stage.width;
} else if (this._y >= Stage.height) {
this._y = 0;
} else if (this._y <= 0) {
this._y = Stage.height;
}
}
Instance of Symbol 138 MovieClip "targeta" in Frame 33
onClipEvent (enterFrame) {
if (_root.go == 1) {
var1 = 1;
} else {
var1 = 0;
}
if (var1 == 1) {
i++;
if (i >= 20) {
i = 0;
_root.rannNumber = random(4);
_root.rannNumber2 = random(5);
}
}
speed = 7;
if (_root.rannNumber == 0) {
this._x = this._x - speed;
}
if (_root.rannNumber == 1) {
this._x = this._x + speed;
}
if (_root.rannNumber == 2) {
this._y = this._y - speed;
}
if (_root.rannNumber == 3) {
this._y = this._y + speed;
}
if (_root.rannNumber2 == 0) {
this._x = this._x - speed;
}
if (_root.rannNumber2 == 1) {
this._x = this._x + speed;
}
if (_root.rannNumber2 == 2) {
this._y = this._y - speed;
}
if (_root.rannNumber2 == 3) {
this._y = this._y + speed;
}
if (this._x >= Stage.width) {
this._x = -500;
} else if (this._x <= -500) {
this._x = Stage.width;
} else if (this._y >= Stage.height) {
this._y = 0;
} else if (this._y <= 0) {
this._y = Stage.height;
}
}
Instance of Symbol 178 MovieClip "reloader" in Frame 33
onClipEvent (enterFrame) {
this.swapDepths(40099);
if (Key.isDown(32) && (_currentframe != 1)) {
_root.gun.gotoAndStop(3);
}
}
Instance of Symbol 344 MovieClip "gun" in Frame 33
onClipEvent (load) {
CamX = _x;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.righty == true) {
_xscale = scale;
}
if (_root.lefty == true) {
_xscale = (-scale);
}
if ((Key.isDown(32) && (_root.amm.ammo != 12)) && (_currentframe != 2)) {
this.gotoAndStop(3);
}
if (_root.lefty != true) {
_x = (_x - (((_x - _root._xmouse) / 1.7) - 30));
} else {
_x = (_x - (((_x - _root._xmouse) / 1.7) + 30));
}
_y = (_root._ymouse + 25);
_rotation = (_root._ymouse / -20);
this.swapDepths(10001);
CamX = CamX + ((_x - CamX) / 15);
_root._x = (Stage.width / 2) - CamX;
_root.amm._x = CamX - 340;
_root.fpss._x = CamX - 340;
_root.reloader._x = CamX + 283;
_root.score._x = CamX + 340;
_root.ready._x = CamX;
if (CamX < 0) {
CamX = CamX + (-CamX);
}
if (CamX > 400) {
CamX = 400;
}
if (_root.amm.ammo <= 0) {
_root.amm.ammo = 0;
}
if (Key.isDown(1) && (_root.go == 1)) {
if ((_root.amm.ammo > 0) && (_root.reloading != true)) {
this.gotoAndStop(2);
} else {
_root.clickSound.start(0, 1);
}
}
}
Instance of Symbol 181 MovieClip in Frame 33
onClipEvent (enterFrame) {
this.swapDepths(10002);
}
Instance of Symbol 186 MovieClip "ready" in Frame 33
onClipEvent (enterFrame) {
this.swapDepths(10042);
}
Instance of Symbol 189 MovieClip "fadeOut" in Frame 33
onClipEvent (enterFrame) {
this.swapDepths(200053);
}
Frame 34
shp.onPress = function () {
postHPScore(scorea, "Automatic");
stopAllSounds();
gotoAndStop ("menua");
};
scorea = _root.scoree;
acc = _root.accuracy;
shotsfired = _root.shoot;
ttlhits = _root.hit;
bull = _root.bullseyes;
reloads = _root.reload;
_x = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
Mouse.show();
Frame 35
function MakeBHole() {
z++;
duplicateMovieClip (_root.Bhole, "Bhole" + z, z);
randomw = -6 + random(12);
randomwa = -6 + random(12);
_root["Bhole" + z]._x = _root._xmouse + randomw;
_root["Bhole" + z]._y = _root._ymouse + randomwa;
_root.shake.play();
if (z >= 225) {
z = 126;
}
if (_root["Bhole" + z].hitTest(targeta.ten)) {
_root.score.score = _root.score.score + 10;
_root.numero = _root.numero + 10;
}
if (_root["Bhole" + z].hitTest(targeta.twenty)) {
_root.score.score = _root.score.score + 20;
_root.numero = _root.numero + 20;
}
if (_root["Bhole" + z].hitTest(targeta.thirty)) {
_root.score.score = _root.score.score + 30;
_root.numero = _root.numero + 30;
}
if (_root["Bhole" + z].hitTest(targeta.forty)) {
_root.score.score = _root.score.score + 40;
_root.numero = _root.numero + 40;
}
if (_root["Bhole" + z].hitTest(targeta.fifty)) {
_root.score.score = _root.score.score + 50;
_root.numero = _root.numero + 50;
}
if (_root["Bhole" + z].hitTest(targeta.hundred)) {
_root.score.score = _root.score.score + 100;
_root.numero = _root.numero + 100;
_root.bullseyes++;
}
if (_root["Bhole" + z].hitTest(_root.targeta)) {
_root.hit++;
_root["Bhole" + z].var1 = 1;
}
}
function MakeNum() {
i++;
_root.nummm.duplicateMovieClip("num" + i, i);
_root["num" + i].numm.num = _root.numero;
_root["num" + i]._x = _xmouse;
_root["num" + i]._y = _ymouse - 15;
}
stop();
var z = 106;
var numero = 0;
var randomw = 0;
var randomwa = 0;
var i = 300;
var bullseyes = 0;
var reload = 0;
var shoot = 0;
var hit = 0;
score.score = _root.scoree;
var accuracy = 0;
var hit2 = 0;
amm.ammo = 32;
var go = 0;
wallBullet = new Sound();
wallBullet.attachSound("wallBullet");
targetBullet = new Sound();
targetBullet.attachSound("targetBullet");
clickSound = new Sound();
clickSound.attachSound("clickSound");
onEnterFrame = function () {
if (_root.shoot != 0) {
accuracy = Math.ceil((_root.hit / _root.shoot) * 100);
} else {
accuracy = 0;
}
};
Mouse.hide();
Instance of Symbol 249 MovieClip "bg" in Frame 35
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 120 MovieClip "cursor" in Frame 35
onClipEvent (enterFrame) {
this.swapDepths(10000);
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 368 MovieClip "fpss" in Frame 35
onClipEvent (load) {
function inc() {
fps = "FPS: " + nmbr;
nmbr = 0;
}
nmbr = 0;
fps = "FPS: 30";
setInterval(inc, 1000);
}
onClipEvent (enterFrame) {
this.swapDepths(41005);
nmbr++;
}
Instance of Symbol 132 MovieClip "score" in Frame 35
onClipEvent (enterFrame) {
this.swapDepths(41009);
}
Instance of Symbol 135 MovieClip in Frame 35
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 283 MovieClip "amm" in Frame 35
onClipEvent (load) {
CamXx = _x;
}
onClipEvent (enterFrame) {
this.swapDepths(40008);
if (this.ammo <= 0) {
_root.reloader.play();
} else {
_root.reloader.gotoAndStop(1);
}
}
Instance of Symbol 124 MovieClip "Bhole" in Frame 35
onClipEvent (load) {
var rX = _root.targeta.rX;
var rY = rX;
xx = _root.targeta._x - _x;
yy = _root.targeta._y - _y;
var cX = _root.targeta._x;
var cY = _root.targeta._y;
var i = _root.targeta.i;
var speed = _root.targeta.speed;
this.anglea = _root.targeta.anglea;
}
onClipEvent (enterFrame) {
if (_root.targeta.hitTest(_x - 0.6, _y, true) && (var1 != 1)) {
_visible = false;
} else {
_visible = true;
}
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 1)) {
cX = cX - 2;
this._x = (Math.cos(_root.targeta.anglea) * _root.targeta.rX) + (_root.targeta.cX - xx);
this._y = (Math.sin(_root.targeta.anglea) * _root.targeta.rY) + (_root.targeta.cY - yy);
var s = (this._y / (cY - rY));
this.anglea = this.anglea + _root.targeta.speed;
if ((s >= 1) && (s <= 2)) {
speed = speed + 0.00034;
}
if (cX <= -650) {
this.removeMovieClip();
cX = 960;
}
}
if (!this.hitTest(_root.targeta)) {
var1 = 0;
}
}
Instance of Symbol 138 MovieClip "targeta" in Frame 35
onClipEvent (load) {
var rX = (random(150) + 120);
var rY = rX;
var cX = _x;
var cY = _y;
var i = 1;
var speed = 0.05;
this.anglea = i * (Math.PI*2);
}
onClipEvent (enterFrame) {
cX = cX - 2;
this._x = (Math.cos(this.anglea) * rX) + cX;
this._y = (Math.sin(this.anglea) * rY) + cY;
var s = (this._y / (cY - rY));
this.anglea = this.anglea + this.speed;
if ((s >= 1) && (s <= 2)) {
speed = speed + 0.00034;
}
if (cX <= -650) {
cX = 960;
}
}
Instance of Symbol 178 MovieClip "reloader" in Frame 35
onClipEvent (enterFrame) {
this.swapDepths(40099);
if (Key.isDown(32) && (_currentframe != 1)) {
_root.gun.gotoAndStop(3);
}
}
Instance of Symbol 344 MovieClip "gun" in Frame 35
onClipEvent (load) {
CamX = _x;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.righty == true) {
_xscale = scale;
}
if (_root.lefty == true) {
_xscale = (-scale);
}
if ((Key.isDown(32) && (_root.amm.ammo != 12)) && (_currentframe != 2)) {
this.gotoAndStop(3);
}
if (_root.lefty != true) {
_x = (_x - (((_x - _root._xmouse) / 1.7) - 30));
} else {
_x = (_x - (((_x - _root._xmouse) / 1.7) + 30));
}
_y = (_root._ymouse + 25);
_rotation = (_root._ymouse / -20);
this.swapDepths(10001);
CamX = CamX + ((_x - CamX) / 15);
_root._x = (Stage.width / 2) - CamX;
_root.amm._x = CamX - 340;
_root.fpss._x = CamX - 340;
_root.reloader._x = CamX + 283;
_root.score._x = CamX + 340;
_root.ready._x = CamX;
if (CamX < 0) {
CamX = CamX + (-CamX);
}
if (CamX > 400) {
CamX = 400;
}
if (_root.amm.ammo <= 0) {
_root.amm.ammo = 0;
}
if (Key.isDown(1) && (_root.go == 1)) {
if ((_root.amm.ammo > 0) && (_root.reloading != true)) {
this.gotoAndStop(2);
} else {
_root.clickSound.start(0, 1);
}
}
}
Instance of Symbol 181 MovieClip in Frame 35
onClipEvent (enterFrame) {
this.swapDepths(10002);
}
Instance of Symbol 186 MovieClip "ready" in Frame 35
onClipEvent (enterFrame) {
this.swapDepths(10042);
}
Instance of Symbol 189 MovieClip "fadeOut" in Frame 35
onClipEvent (enterFrame) {
this.swapDepths(200053);
}
Frame 36
shp.onPress = function () {
postHPScore(scorea, "Automatic");
stopAllSounds();
gotoAndStop ("menua");
};
scorea = _root.scoree;
acc = _root.accuracy;
shotsfired = _root.shoot;
ttlhits = _root.hit;
bull = _root.bullseyes;
reloads = _root.reload;
_x = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
Mouse.show();
Frame 37
function MakeBHole() {
z++;
duplicateMovieClip (_root.Bhole, "Bhole" + z, z);
randomw = -6 + random(12);
randomwa = -6 + random(12);
_root["Bhole" + z]._x = _root._xmouse + randomw;
_root["Bhole" + z]._y = _root._ymouse + randomwa;
_root.shake.play();
if (z >= 225) {
z = 126;
}
if (_root["Bhole" + z].hitTest(targeta.ten)) {
_root.score.score = _root.score.score + 10;
_root.numero = _root.numero + 10;
}
if (_root["Bhole" + z].hitTest(targeta.twenty)) {
_root.score.score = _root.score.score + 20;
_root.numero = _root.numero + 20;
}
if (_root["Bhole" + z].hitTest(targeta.thirty)) {
_root.score.score = _root.score.score + 30;
_root.numero = _root.numero + 30;
}
if (_root["Bhole" + z].hitTest(targeta.forty)) {
_root.score.score = _root.score.score + 40;
_root.numero = _root.numero + 40;
}
if (_root["Bhole" + z].hitTest(targeta.fifty)) {
_root.score.score = _root.score.score + 50;
_root.numero = _root.numero + 50;
}
if (_root["Bhole" + z].hitTest(targeta.hundred)) {
_root.score.score = _root.score.score + 100;
_root.numero = _root.numero + 100;
_root.bullseyes++;
}
if (_root["Bhole" + z].hitTest(_root.targeta)) {
_root.hit++;
_root["Bhole" + z].var1 = 1;
}
}
function MakeNum() {
i++;
_root.nummm.duplicateMovieClip("num" + i, i);
_root["num" + i].numm.num = _root.numero;
_root["num" + i]._x = _xmouse;
_root["num" + i]._y = _ymouse - 15;
}
stop();
var z = 106;
var numero = 0;
var randomw = 0;
var randomwa = 0;
var i = 300;
var bullseyes = 0;
var reload = 0;
var shoot = 0;
var hit = 0;
score.score = _root.scoree;
var accuracy = 0;
var hit2 = 0;
amm.ammo = 32;
var go = 0;
wallBullet = new Sound();
wallBullet.attachSound("wallBullet");
targetBullet = new Sound();
targetBullet.attachSound("targetBullet");
clickSound = new Sound();
clickSound.attachSound("clickSound");
onEnterFrame = function () {
if (_root.shoot != 0) {
accuracy = Math.ceil((_root.hit / _root.shoot) * 100);
} else {
accuracy = 0;
}
};
Mouse.hide();
Instance of Symbol 261 MovieClip "bg" in Frame 37
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
}
Instance of Symbol 120 MovieClip "cursor" in Frame 37
onClipEvent (enterFrame) {
this.swapDepths(10000);
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 376 MovieClip "fpss" in Frame 37
onClipEvent (load) {
function inc() {
fps = "FPS: " + nmbr;
nmbr = 0;
}
nmbr = 0;
fps = "FPS: 30";
setInterval(inc, 1000);
}
onClipEvent (enterFrame) {
this.swapDepths(41004);
nmbr++;
}
Instance of Symbol 132 MovieClip "score" in Frame 37
onClipEvent (enterFrame) {
this.swapDepths(41009);
}
Instance of Symbol 283 MovieClip "amm" in Frame 37
onClipEvent (load) {
CamXx = _x;
}
onClipEvent (enterFrame) {
this.swapDepths(40008);
if (this.ammo <= 0) {
_root.reloader.play();
} else {
_root.reloader.gotoAndStop(1);
}
}
Instance of Symbol 124 MovieClip "Bhole" in Frame 37
onClipEvent (load) {
yy = _root.targeta._y - _y;
xx = _root.targeta._x - _x;
yy2 = _root.targeta2._y - _y;
xx2 = _root.targeta2._x - _x;
}
onClipEvent (enterFrame) {
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 1)) {
_y = (_root.targeta._y - yy);
_x = (_root.targeta._x - xx);
}
if (_root.targeta.hitTest(_x, _y, true) && (var1 == 0)) {
_visible = false;
}
if (!this.hitTest(_root.targeta)) {
var1 = 0;
}
if (!_root.targeta.hitTest(_x, _y, true)) {
_visible = true;
}
}
Instance of Symbol 138 MovieClip "targeta" in Frame 37
onClipEvent (enterFrame) {
if (_root.go == 1) {
var1 = 1;
} else {
var1 = 0;
}
if (var1 == 1) {
i++;
if (i >= 20) {
i = 0;
_root.rannNumber = random(4);
_root.rannNumber2 = random(5);
}
}
speed = 15;
if (_root.rannNumber == 0) {
this._x = this._x - speed;
}
if (_root.rannNumber == 1) {
this._x = this._x + speed;
}
if (_root.rannNumber == 2) {
this._y = this._y - speed;
}
if (_root.rannNumber == 3) {
this._y = this._y + speed;
}
if (_root.rannNumber2 == 0) {
this._x = this._x - speed;
}
if (_root.rannNumber2 == 1) {
this._x = this._x + speed;
}
if (_root.rannNumber2 == 2) {
this._y = this._y - speed;
}
if (_root.rannNumber2 == 3) {
this._y = this._y + speed;
}
if (this._x >= Stage.width) {
this._x = -500;
} else if (this._x <= -500) {
this._x = Stage.width;
} else if (this._y >= Stage.height) {
this._y = 0;
} else if (this._y <= 0) {
this._y = Stage.height;
}
}
Instance of Symbol 178 MovieClip "reloader" in Frame 37
onClipEvent (enterFrame) {
this.swapDepths(40099);
if (Key.isDown(32) && (_currentframe != 1)) {
_root.gun.gotoAndStop(3);
}
}
Instance of Symbol 344 MovieClip "gun" in Frame 37
onClipEvent (load) {
CamX = _x;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.righty == true) {
_xscale = scale;
}
if (_root.lefty == true) {
_xscale = (-scale);
}
if ((Key.isDown(32) && (_root.amm.ammo != 12)) && (_currentframe != 2)) {
this.gotoAndStop(3);
}
if (_root.lefty != true) {
_x = (_x - (((_x - _root._xmouse) / 1.7) - 30));
} else {
_x = (_x - (((_x - _root._xmouse) / 1.7) + 30));
}
_y = (_root._ymouse + 25);
_rotation = (_root._ymouse / -20);
this.swapDepths(10001);
CamX = CamX + ((_x - CamX) / 15);
_root._x = (Stage.width / 2) - CamX;
_root.amm._x = CamX - 340;
_root.fpss._x = CamX - 340;
_root.reloader._x = CamX + 283;
_root.score._x = CamX + 340;
_root.ready._x = CamX;
if (CamX < 0) {
CamX = CamX + (-CamX);
}
if (CamX > 400) {
CamX = 400;
}
if (_root.amm.ammo <= 0) {
_root.amm.ammo = 0;
}
if (Key.isDown(1) && (_root.go == 1)) {
if ((_root.amm.ammo > 0) && (_root.reloading != true)) {
this.gotoAndStop(2);
} else {
_root.clickSound.start(0, 1);
}
}
}
Instance of Symbol 181 MovieClip in Frame 37
onClipEvent (enterFrame) {
this.swapDepths(10002);
}
Instance of Symbol 186 MovieClip "ready" in Frame 37
onClipEvent (enterFrame) {
this.swapDepths(10042);
}
Instance of Symbol 189 MovieClip "fadeOut" in Frame 37
onClipEvent (enterFrame) {
this.swapDepths(200053);
}
Frame 38
shp.onPress = function () {
postHPScore(scorea, "Automatic");
stopAllSounds();
gotoAndStop ("menua");
};
scorea = _root.scoree;
acc = _root.accuracy;
shotsfired = _root.shoot;
ttlhits = _root.hit;
bull = _root.bullseyes;
reloads = _root.reload;
_x = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
Mouse.show();
Frame 39
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");
}
submit.onPress = function () {
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.namee;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.scorea;
__rankz_send__("MTczNmolZSVhJW4lcw==", "dG9XYnppWUc=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
getURL ("http://rankz.armorbot.com/rebound2auto/", "_blank");
stopAllSounds();
_root.gotoAndStop("menua");
};
postHPScore(scorea, "Automatic");
scorea = _root.scoree;
acc = _root.accuracy;
shotsfired = _root.shoot;
ttlhits = _root.hit;
bull = _root.bullseyes;
reloads = _root.reload;
_x = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
Mouse.show();
namee = "Enter Name Here";
Symbol 17 Button
on (press) {
_parent.play();
}
Symbol 18 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndPlay ("loaded");
}
Symbol 18 MovieClip Frame 2
gotoAndPlay (1);
Symbol 18 MovieClip Frame 24
stop();
Symbol 18 MovieClip Frame 43
_root.play();
Symbol 24 Button
on (press) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 385 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 33 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 40 MovieClip Frame 140
_root.play();
Symbol 68 Button
on (press) {
_root.nextFrame();
}
Symbol 70 Button
on (press) {
getURL ("http://rankz.armorbot.com/rebound2semi/", "_blank");
getURL ("http://rankz.armorbot.com/rebound2shotgun/", "_blank");
getURL ("http://rankz.armorbot.com/rebound2auto/", "_blank");
}
Symbol 72 Button
on (press) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 88 MovieClip Frame 97
stop();
Symbol 93 Button
on (press) {
_root.shotgun = true;
_root.nextFrame();
}
Symbol 95 Button
on (press) {
_root.semi = true;
_root.nextFrame();
}
Symbol 97 Button
on (press) {
_root.auto = true;
_root.nextFrame();
}
Symbol 100 Button
on (press) {
stopAllSounds();
_root.righty = false;
_root.lefty = true;
if (_root.shotgun == true) {
_root.nextFrame();
}
if (_root.semi == true) {
_root.gotoAndStop("semi");
}
if (_root.auto == true) {
_root.gotoAndStop("auto");
}
}
Symbol 102 Button
on (press) {
stopAllSounds();
_root.righty = true;
_root.lefty = false;
if (_root.shotgun == true) {
_root.nextFrame();
}
if (_root.semi == true) {
_root.gotoAndStop("semi");
}
if (_root.auto == true) {
_root.gotoAndStop("auto");
}
}
Symbol 105 Button
on (press) {
_root.shotgun = false;
_root.semiauto = false;
_root.auto = false;
_root.prevFrame();
}
Symbol 120 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 2
_root._y = _root._y + 5;
Symbol 126 MovieClip Frame 3
_root._y = _root._y - 10;
Symbol 126 MovieClip Frame 4
_root._y = _root._y + 5;
_root._x = _root._x + 5;
Symbol 126 MovieClip Frame 5
_root._x = _root._x - 10;
Symbol 126 MovieClip Frame 6
_root._x = _root._x + 5;
Symbol 131 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 30
if (timer > 0) {
timer--;
} else {
timer = 0;
}
if (timer == 0) {
_root.go == 0;
_root.fadeOut.play();
_root.scoree = _root.score.score;
}
Instance of Symbol 131 MovieClip "timerr" in Symbol 132 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.go == 1) {
this.play();
}
}
Symbol 142 MovieClip Frame 26
stop();
Symbol 164 MovieClip Frame 3
_root.MakeBHole();
_root.MakeBHole();
_root.MakeBHole();
_root.MakeBHole();
_root.MakeBHole();
_root.MakeBHole();
_root.MakeBHole();
_root.MakeBHole();
_root.MakeBHole();
_root.shoot = _root.shoot + 10;
if (_root["Bhole" + _root.z].hitTest(_root.targeta)) {
_root.MakeNum();
}
if (_root["Bhole" + _root.z].hitTest(_root.targeta2)) {
_root.MakeNum();
}
_root.amm.ammo--;
Symbol 164 MovieClip Frame 20
_parent.gotoAndStop(1);
Symbol 173 MovieClip Frame 1
_root.reloader.gotoAndStop(1);
_root.reloading = true;
Symbol 173 MovieClip Frame 2
_root.reloader.gotoAndStop(1);
Symbol 173 MovieClip Frame 3
_root.reloader.gotoAndStop(1);
Symbol 173 MovieClip Frame 4
_root.reloader.gotoAndStop(1);
Symbol 173 MovieClip Frame 5
_root.reloader.gotoAndStop(1);
Symbol 173 MovieClip Frame 6
_root.reloader.gotoAndStop(1);
Symbol 173 MovieClip Frame 7
_root.reloader.gotoAndStop(1);
Symbol 173 MovieClip Frame 8
_root.reloader.gotoAndStop(1);
Symbol 173 MovieClip Frame 9
_root.reloader.gotoAndStop(1);
Symbol 173 MovieClip Frame 10
_root.reloader.gotoAndStop(1);
Symbol 173 MovieClip Frame 11
_root.reloader.gotoAndStop(1);
Symbol 173 MovieClip Frame 12
_root.reloader.gotoAndStop(1);
Symbol 173 MovieClip Frame 13
_root.reloader.gotoAndStop(1);
Symbol 173 MovieClip Frame 14
_root.reloader.gotoAndStop(1);
Symbol 173 MovieClip Frame 15
_root.reloader.gotoAndStop(1);
Symbol 173 MovieClip Frame 16
_root.reloader.gotoAndStop(1);
Symbol 173 MovieClip Frame 17
_root.reloader.gotoAndStop(1);
Symbol 173 MovieClip Frame 18
_root.reloader.gotoAndStop(1);
Symbol 173 MovieClip Frame 19
_root.reloader.gotoAndStop(1);
Symbol 173 MovieClip Frame 20
var1 = 0;
if (_root.amm.ammo == 12) {
gotoAndPlay ("done");
}
if ((_root.amm.ammo <= 8) && (var1 != 1)) {
_root.amm.ammo = _root.amm.ammo + 4;
var1 = 1;
}
if ((_root.amm.ammo == 9) && (var1 != 1)) {
_root.amm.ammo = _root.amm.ammo + 3;
var1 = 1;
}
if ((_root.amm.ammo == 10) && (var1 != 1)) {
_root.amm.ammo = _root.amm.ammo + 2;
var1 = 1;
}
if ((_root.amm.ammo == 11) && (var1 != 1)) {
_root.amm.ammo = _root.amm.ammo + 1;
var1 = 1;
}
_root.reloader.gotoAndStop(1);
Symbol 173 MovieClip Frame 22
if (_root.amm.ammo == 12) {
gotoAndPlay ("done");
}
Symbol 173 MovieClip Frame 23
if (_root.amm.ammo == 12) {
gotoAndPlay ("done");
}
Symbol 173 MovieClip Frame 25
if (_root.amm.ammo == 12) {
gotoAndPlay ("done");
}
Symbol 173 MovieClip Frame 31
var1 = 0;
if (_root.amm.ammo == 12) {
gotoAndPlay ("done");
}
if ((_root.amm.ammo <= 8) && (var1 != 1)) {
_root.amm.ammo = _root.amm.ammo + 4;
var1 = 1;
}
if ((_root.amm.ammo == 9) && (var1 != 1)) {
_root.amm.ammo = _root.amm.ammo + 3;
var1 = 1;
}
if ((_root.amm.ammo == 10) && (var1 != 1)) {
_root.amm.ammo = _root.amm.ammo + 2;
var1 = 1;
}
if ((_root.amm.ammo == 11) && (var1 != 1)) {
_root.amm.ammo = _root.amm.ammo + 1;
var1 = 1;
}
Symbol 173 MovieClip Frame 33
if (_root.amm.ammo == 12) {
gotoAndPlay ("done");
}
Symbol 173 MovieClip Frame 42
var1 = 0;
if (_root.amm.ammo == 12) {
gotoAndPlay ("done");
}
if ((_root.amm.ammo <= 8) && (var1 != 1)) {
_root.amm.ammo = _root.amm.ammo + 4;
var1 = 1;
}
if ((_root.amm.ammo == 9) && (var1 != 1)) {
_root.amm.ammo = _root.amm.ammo + 3;
var1 = 1;
}
if ((_root.amm.ammo == 10) && (var1 != 1)) {
_root.amm.ammo = _root.amm.ammo + 2;
var1 = 1;
}
if ((_root.amm.ammo == 11) && (var1 != 1)) {
_root.amm.ammo = _root.amm.ammo + 1;
var1 = 1;
}
Symbol 173 MovieClip Frame 43
if (_root.amm.ammo == 12) {
gotoAndPlay ("done");
}
_root.reloading = false;
Symbol 173 MovieClip Frame 70
_parent.gotoAndStop(1);
Symbol 174 MovieClip Frame 1
stop();
_root.makeSound = false;
_root.numero = 0;
Symbol 174 MovieClip Frame 2
_root.cursor.gotoAndPlay(2);
Symbol 174 MovieClip Frame 3
_root.reloader.gotoAndStop(1);
_root.reload++;
Symbol 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 116
gotoAndPlay (2);
Symbol 186 MovieClip Frame 112
_root.go = 1;
Symbol 186 MovieClip Frame 113
_root.go = 1;
Symbol 186 MovieClip Frame 119
_root.go = 1;
Symbol 186 MovieClip Frame 143
stop();
Symbol 189 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 25
_root.scoree = _root.score.score;
Symbol 189 MovieClip Frame 26
_root.nextFrame();
Symbol 207 Button
on (press) {
stopAllSounds();
_root.nextFrame();
}
Symbol 272 Button
on (press) {
_root.nextFrame();
}
Symbol 275 Button
on (press) {
stopAllSounds();
_root.nextFrame();
}
Symbol 292 MovieClip Frame 3
_root.MakeBHole();
_root.MakeBHole();
_root.MakeBHole();
if (_root["Bhole" + _root.z].hitTest(_root.targeta)) {
_root.MakeNum();
}
if (_root["Bhole" + _root.z].hitTest(_root.targeta2)) {
_root.MakeNum();
}
_root.amm.ammo = _root.amm.ammo - 3;
_root.shoot = _root.shoot + 3;
Symbol 292 MovieClip Frame 10
_parent.gotoAndStop(1);
Symbol 294 MovieClip Frame 1
_root.reloading = true;
Symbol 294 MovieClip Frame 27
_root.reloading = false;
_root.reload++;
_root.amm.ammo = 32;
Symbol 294 MovieClip Frame 50
_parent.gotoAndStop(1);
Symbol 295 MovieClip Frame 1
stop();
_root.numero = 0;
Symbol 295 MovieClip Frame 2
_root.cursor.gotoAndPlay(2);
Symbol 342 MovieClip Frame 3
_root.MakeBHole();
if (_root["Bhole" + _root.z].hitTest(_root.targeta)) {
_root.MakeNum();
}
if (_root["Bhole" + _root.z].hitTest(_root.targeta2)) {
_root.MakeNum();
}
_root.amm.ammo--;
_root.shoot++;
Symbol 342 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 343 MovieClip Frame 1
_root.reloading = true;
Symbol 343 MovieClip Frame 28
_root.amm.ammo = 32;
Symbol 343 MovieClip Frame 29
_root.reloading = false;
_root.reload++;
Symbol 343 MovieClip Frame 45
_parent.gotoAndStop(1);
Symbol 344 MovieClip Frame 1
stop();
_root.numero = 0;
Symbol 344 MovieClip Frame 2
_root.cursor.gotoAndPlay(2);