Frame 1
_root.load_bar._xscale = 0;
rifleCaliber = 1;
money = 200;
maxHealth = 70;
damage = 0;
shotgun = 0;
backup = 0;
airstrike = 0;
woodHealth = 0;
electricHealth = 0;
gasGrande = 0;
gameDay = 1;
deal = 0;
bankMoney = 0;
day = "DAY " + gameDay;
difficulty = 1;
difficultyDisplay = "EASY";
daySound = new Sound();
daySound.attachSound("heavy_metal_1");
bankSound = new Sound();
bankSound.attachSound("heavy_metal_bank");
upgradeSound = new Sound();
upgradeSound.attachSound("heavy_metal_upgrades");
deathSound = new Sound();
deathSound.attachSound("death");
explosionSound = new Sound();
explosionSound.attachSound("explosion");
windowSound = new Sound();
windowSound.attachSound("window");
normalMusic = "on";
bankMusic = "on";
upgradeMusic = "on";
Frame 2
_root.load_bar._xscale = (_framesloaded / _totalframes) * 100;
Frame 3
_root.load_bar._xscale = (_framesloaded / _totalframes) * 100;
if (_root.load_bar._xscale >= 100) {
gotoAndStop (4);
} else {
gotoAndPlay (2);
}
Frame 4
Mouse.show();
bankSound.stop();
daySound.stop();
upgradeSound.stop();
stop();
Frame 5
Mouse.hide();
if (normalMusic == "on") {
daySound.start(0, 100);
}
startDrag ("_root.cursor", true);
_root.rifle_caliber._y = rifleCaliber;
_root.money_circle._y = money;
_root.health_bar._xscale = maxHealth - damage;
_root.m_health_bar._xscale = maxHealth;
_root.timer._y = 100;
_root.shotgun_display._y = shotgun;
_root.airstrike_counter._y = airstrike;
_root.fence_health._y = woodHealth;
_root.electric_fence_health._y = electricHealth;
day = "DAY " + gameDay;
if (backup == 1) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
} else if (backup == 2) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
} else if (backup == 3) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
_root.helper_3._alpha = 100;
_root.helper_3_gun._alpha = 100;
}
if (_root.m_health_bar._xscale > 200) {
_root.m_health_bar._xscale = 200;
}
if (_root.health_bar._xscale > 200) {
_root.health_bar._xscale = 200;
}
if (woodHealth > 0) {
_root.fence._alpha = 100;
}
if (electricHealth > 0) {
_root.electric_fence._alpha = 100;
}
if (gasGrande == 1) {
_root.river.gotoAndPlay(26);
}
stop();
Instance of Symbol 42 MovieClip "river" in Frame 5
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 44 MovieClip "fence" in Frame 5
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
Instance of Symbol 51 MovieClip "electric_fence" in Frame 5
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
this._alpha = 0;
}
}
Instance of Symbol 121 MovieClip in Frame 5
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 153 MovieClip "bomb" in Frame 5
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this.hitTest(this.nuke))) {
} else if (((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this._x < (_root.river._x + 20))) && (this._x > (_root.river._x - 20))) {
gotoAndPlay (47);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 208 MovieClip "bullet_3" in Frame 5
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_4" in Frame 5
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_5" in Frame 5
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_2" in Frame 5
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_1" in Frame 5
onClipEvent (mouseDown) {
if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 161 MovieClip "gun" in Frame 5
onClipEvent (enterFrame) {
X = this._x;
Y = this._y;
}
onClipEvent (mouseMove) {
Xm = _parent._xmouse;
Ym = _parent._ymouse;
Xdiff = Xm - X;
Ydiff = Ym - Y;
radAngle = Math.atan2(Ydiff, Xdiff);
this._rotation = ((radAngle * 360) / (Math.PI*2)) + 90;
updateAfterEvent();
}
onClipEvent (enterFrame) {
if (_root.you.hitTest(_root.you.firing) && (_root.you._alpha < 100)) {
this._alpha = _root.you.alpha;
} else if (_root.you.hitTest(_root.you.firing)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 213 MovieClip "you" in Frame 5
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 29 MovieClip "timer" in Frame 5
onClipEvent (enterFrame) {
if (this._y > 0) {
this._y = this._y - 0.03;
} else if (_root.store_btn._x < -50) {
_root.store_btn._x = _root.store_btn._x + 200;
}
}
Instance of Symbol 29 MovieClip "fence_health" in Frame 5
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.fence._alpha == 100)) {
_root.fence._alpha = _root.fence._alpha - 1;
}
}
Instance of Symbol 29 MovieClip "electric_fence_health" in Frame 5
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.electric_fence._alpha == 100)) {
_root.electric_fence._alpha = _root.electric_fence._alpha - 1;
}
}
Instance of Symbol 9 MovieClip "energy_bar" in Frame 5
onClipEvent (enterFrame) {
if (this._xscale < 100) {
this._xscale = this._xscale + 1;
}
}
Instance of Symbol 292 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.timer._y <= 0) {
gotoAndStop (25);
}
}
Instance of Symbol 9 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._xscale = _root.timer._y / 2;
}
Instance of Symbol 331 MovieClip "game_over_screen" in Frame 5
onClipEvent (enterFrame) {
if ((_root.money_circle._y < 0) && (this.hitTest(this.game_end))) {
} else if (_root.money_circle._y < 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if ((_root.health_bar._xscale <= 0) && (this.hitTest(this.game_end))) {
} else if (_root.health_bar._xscale <= 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.game_end) && (_root.main_menu._x > 450)) {
Mouse.show();
_root.main_menu._x = _root.main_menu._x - 200;
}
}
Frame 6
gotoAndStop (4);
Frame 7
Mouse.hide();
if (normalMusic == "on") {
daySound.start(0, 100);
}
startDrag ("_root.cursor", true);
_root.rifle_caliber._y = rifleCaliber;
_root.money_circle._y = money;
_root.health_bar._xscale = maxHealth - damage;
_root.m_health_bar._xscale = maxHealth;
_root.timer._y = 100;
_root.shotgun_display._y = shotgun;
_root.airstrike_counter._y = airstrike;
_root.fence_health._y = woodHealth;
_root.electric_fence_health._y = electricHealth;
day = "DAY " + gameDay;
if (backup == 1) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
} else if (backup == 2) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
} else if (backup == 3) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
_root.helper_3._alpha = 100;
_root.helper_3_gun._alpha = 100;
}
if (_root.m_health_bar._xscale > 200) {
_root.m_health_bar._xscale = 200;
}
if (_root.health_bar._xscale > 200) {
_root.health_bar._xscale = 200;
}
if (woodHealth > 0) {
_root.fence._alpha = 100;
}
if (electricHealth > 0) {
_root.electric_fence._alpha = 100;
}
if (gasGrande == 1) {
_root.river.gotoAndPlay(26);
}
stop();
Instance of Symbol 42 MovieClip "river" in Frame 7
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 44 MovieClip "fence" in Frame 7
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
Instance of Symbol 51 MovieClip "electric_fence" in Frame 7
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
this._alpha = 0;
}
}
Instance of Symbol 121 MovieClip in Frame 7
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 153 MovieClip "bomb" in Frame 7
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this.hitTest(this.nuke))) {
} else if (((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this._x < (_root.river._x + 20))) && (this._x > (_root.river._x - 20))) {
gotoAndPlay (47);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 208 MovieClip "bullet_3" in Frame 7
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_4" in Frame 7
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_5" in Frame 7
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_2" in Frame 7
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_1" in Frame 7
onClipEvent (mouseDown) {
if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 161 MovieClip "gun" in Frame 7
onClipEvent (enterFrame) {
X = this._x;
Y = this._y;
}
onClipEvent (mouseMove) {
Xm = _parent._xmouse;
Ym = _parent._ymouse;
Xdiff = Xm - X;
Ydiff = Ym - Y;
radAngle = Math.atan2(Ydiff, Xdiff);
this._rotation = ((radAngle * 360) / (Math.PI*2)) + 90;
updateAfterEvent();
}
onClipEvent (enterFrame) {
if (_root.you.hitTest(_root.you.firing) && (_root.you._alpha < 100)) {
this._alpha = _root.you.alpha;
} else if (_root.you.hitTest(_root.you.firing)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 213 MovieClip "you" in Frame 7
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 29 MovieClip "timer" in Frame 7
onClipEvent (enterFrame) {
if (this._y > 0) {
this._y = this._y - 0.03;
} else if (_root.store_btn._x < -50) {
_root.store_btn._x = _root.store_btn._x + 200;
}
}
Instance of Symbol 29 MovieClip "fence_health" in Frame 7
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.fence._alpha == 100)) {
_root.fence._alpha = _root.fence._alpha - 1;
}
}
Instance of Symbol 29 MovieClip "electric_fence_health" in Frame 7
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.electric_fence._alpha == 100)) {
_root.electric_fence._alpha = _root.electric_fence._alpha - 1;
}
}
Instance of Symbol 9 MovieClip "energy_bar" in Frame 7
onClipEvent (enterFrame) {
if (this._xscale < 100) {
this._xscale = this._xscale + 1;
}
}
Instance of Symbol 292 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.timer._y <= 0) {
gotoAndStop (25);
}
}
Instance of Symbol 9 MovieClip in Frame 7
onClipEvent (enterFrame) {
this._xscale = _root.timer._y / 2;
}
Instance of Symbol 331 MovieClip "game_over_screen" in Frame 7
onClipEvent (enterFrame) {
if ((_root.money_circle._y < 0) && (this.hitTest(this.game_end))) {
} else if (_root.money_circle._y < 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if ((_root.health_bar._xscale <= 0) && (this.hitTest(this.game_end))) {
} else if (_root.health_bar._xscale <= 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.game_end) && (_root.main_menu._x > 450)) {
Mouse.show();
_root.main_menu._x = _root.main_menu._x - 200;
}
}
Frame 8
gotoAndStop (4);
Frame 9
Mouse.hide();
if (normalMusic == "on") {
daySound.start(0, 100);
}
startDrag ("_root.cursor", true);
_root.rifle_caliber._y = rifleCaliber;
_root.money_circle._y = money;
_root.health_bar._xscale = maxHealth - damage;
_root.m_health_bar._xscale = maxHealth;
_root.timer._y = 100;
_root.shotgun_display._y = shotgun;
_root.airstrike_counter._y = airstrike;
_root.fence_health._y = woodHealth;
_root.electric_fence_health._y = electricHealth;
day = "DAY " + gameDay;
if (backup == 1) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
} else if (backup == 2) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
} else if (backup == 3) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
_root.helper_3._alpha = 100;
_root.helper_3_gun._alpha = 100;
}
if (_root.m_health_bar._xscale > 200) {
_root.m_health_bar._xscale = 200;
}
if (_root.health_bar._xscale > 200) {
_root.health_bar._xscale = 200;
}
if (woodHealth > 0) {
_root.fence._alpha = 100;
}
if (electricHealth > 0) {
_root.electric_fence._alpha = 100;
}
if (gasGrande == 1) {
_root.river.gotoAndPlay(26);
}
stop();
Instance of Symbol 42 MovieClip "river" in Frame 9
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 44 MovieClip "fence" in Frame 9
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
Instance of Symbol 51 MovieClip "electric_fence" in Frame 9
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
this._alpha = 0;
}
}
Instance of Symbol 121 MovieClip in Frame 9
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 153 MovieClip "bomb" in Frame 9
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this.hitTest(this.nuke))) {
} else if (((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this._x < (_root.river._x + 20))) && (this._x > (_root.river._x - 20))) {
gotoAndPlay (47);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 426 MovieClip in Frame 9
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 208 MovieClip "bullet_3" in Frame 9
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_4" in Frame 9
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_5" in Frame 9
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_2" in Frame 9
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_1" in Frame 9
onClipEvent (mouseDown) {
if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 161 MovieClip "gun" in Frame 9
onClipEvent (enterFrame) {
X = this._x;
Y = this._y;
}
onClipEvent (mouseMove) {
Xm = _parent._xmouse;
Ym = _parent._ymouse;
Xdiff = Xm - X;
Ydiff = Ym - Y;
radAngle = Math.atan2(Ydiff, Xdiff);
this._rotation = ((radAngle * 360) / (Math.PI*2)) + 90;
updateAfterEvent();
}
onClipEvent (enterFrame) {
if (_root.you.hitTest(_root.you.firing) && (_root.you._alpha < 100)) {
this._alpha = _root.you.alpha;
} else if (_root.you.hitTest(_root.you.firing)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 213 MovieClip "you" in Frame 9
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 29 MovieClip "timer" in Frame 9
onClipEvent (enterFrame) {
if (this._y > 0) {
this._y = this._y - 0.03;
} else if (_root.store_btn._x < -50) {
_root.store_btn._x = _root.store_btn._x + 200;
}
}
Instance of Symbol 29 MovieClip "fence_health" in Frame 9
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.fence._alpha == 100)) {
_root.fence._alpha = _root.fence._alpha - 1;
}
}
Instance of Symbol 29 MovieClip "electric_fence_health" in Frame 9
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.electric_fence._alpha == 100)) {
_root.electric_fence._alpha = _root.electric_fence._alpha - 1;
}
}
Instance of Symbol 9 MovieClip "energy_bar" in Frame 9
onClipEvent (enterFrame) {
if (this._xscale < 100) {
this._xscale = this._xscale + 1;
}
}
Instance of Symbol 292 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.timer._y <= 0) {
gotoAndStop (25);
}
}
Instance of Symbol 9 MovieClip in Frame 9
onClipEvent (enterFrame) {
this._xscale = _root.timer._y / 2;
}
Instance of Symbol 331 MovieClip "game_over_screen" in Frame 9
onClipEvent (enterFrame) {
if ((_root.money_circle._y < 0) && (this.hitTest(this.game_end))) {
} else if (_root.money_circle._y < 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if ((_root.health_bar._xscale <= 0) && (this.hitTest(this.game_end))) {
} else if (_root.health_bar._xscale <= 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.game_end) && (_root.main_menu._x > 450)) {
Mouse.show();
_root.main_menu._x = _root.main_menu._x - 200;
}
}
Frame 10
gotoAndStop (4);
Frame 11
Mouse.hide();
if (normalMusic == "on") {
daySound.start(0, 100);
}
startDrag ("_root.cursor", true);
_root.rifle_caliber._y = rifleCaliber;
_root.money_circle._y = money;
_root.health_bar._xscale = maxHealth - damage;
_root.m_health_bar._xscale = maxHealth;
_root.timer._y = 100;
_root.shotgun_display._y = shotgun;
_root.airstrike_counter._y = airstrike;
_root.fence_health._y = woodHealth;
_root.electric_fence_health._y = electricHealth;
day = "DAY " + gameDay;
if (backup == 1) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
} else if (backup == 2) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
} else if (backup == 3) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
_root.helper_3._alpha = 100;
_root.helper_3_gun._alpha = 100;
}
if (_root.m_health_bar._xscale > 200) {
_root.m_health_bar._xscale = 200;
}
if (_root.health_bar._xscale > 200) {
_root.health_bar._xscale = 200;
}
if (woodHealth > 0) {
_root.fence._alpha = 100;
}
if (electricHealth > 0) {
_root.electric_fence._alpha = 100;
}
if (gasGrande == 1) {
_root.river.gotoAndPlay(26);
}
stop();
Instance of Symbol 42 MovieClip "river" in Frame 11
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 44 MovieClip "fence" in Frame 11
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
Instance of Symbol 51 MovieClip "electric_fence" in Frame 11
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
this._alpha = 0;
}
}
Instance of Symbol 121 MovieClip in Frame 11
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 153 MovieClip "bomb" in Frame 11
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this.hitTest(this.nuke))) {
} else if (((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this._x < (_root.river._x + 20))) && (this._x > (_root.river._x - 20))) {
gotoAndPlay (47);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 426 MovieClip in Frame 11
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 121 MovieClip in Frame 11
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 208 MovieClip "bullet_3" in Frame 11
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_4" in Frame 11
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_5" in Frame 11
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_2" in Frame 11
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_1" in Frame 11
onClipEvent (mouseDown) {
if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 161 MovieClip "gun" in Frame 11
onClipEvent (enterFrame) {
X = this._x;
Y = this._y;
}
onClipEvent (mouseMove) {
Xm = _parent._xmouse;
Ym = _parent._ymouse;
Xdiff = Xm - X;
Ydiff = Ym - Y;
radAngle = Math.atan2(Ydiff, Xdiff);
this._rotation = ((radAngle * 360) / (Math.PI*2)) + 90;
updateAfterEvent();
}
onClipEvent (enterFrame) {
if (_root.you.hitTest(_root.you.firing) && (_root.you._alpha < 100)) {
this._alpha = _root.you.alpha;
} else if (_root.you.hitTest(_root.you.firing)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 213 MovieClip "you" in Frame 11
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 29 MovieClip "timer" in Frame 11
onClipEvent (enterFrame) {
if (this._y > 0) {
this._y = this._y - 0.03;
} else if (_root.store_btn._x < -50) {
_root.store_btn._x = _root.store_btn._x + 200;
}
}
Instance of Symbol 29 MovieClip "fence_health" in Frame 11
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.fence._alpha == 100)) {
_root.fence._alpha = _root.fence._alpha - 1;
}
}
Instance of Symbol 29 MovieClip "electric_fence_health" in Frame 11
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.electric_fence._alpha == 100)) {
_root.electric_fence._alpha = _root.electric_fence._alpha - 1;
}
}
Instance of Symbol 9 MovieClip "energy_bar" in Frame 11
onClipEvent (enterFrame) {
if (this._xscale < 100) {
this._xscale = this._xscale + 1;
}
}
Instance of Symbol 292 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.timer._y <= 0) {
gotoAndStop (25);
}
}
Instance of Symbol 9 MovieClip in Frame 11
onClipEvent (enterFrame) {
this._xscale = _root.timer._y / 2;
}
Instance of Symbol 331 MovieClip "game_over_screen" in Frame 11
onClipEvent (enterFrame) {
if ((_root.money_circle._y < 0) && (this.hitTest(this.game_end))) {
} else if (_root.money_circle._y < 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if ((_root.health_bar._xscale <= 0) && (this.hitTest(this.game_end))) {
} else if (_root.health_bar._xscale <= 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.game_end) && (_root.main_menu._x > 450)) {
Mouse.show();
_root.main_menu._x = _root.main_menu._x - 200;
}
}
Frame 12
gotoAndStop (4);
Frame 13
Mouse.hide();
if (normalMusic == "on") {
daySound.start(0, 100);
}
startDrag ("_root.cursor", true);
_root.rifle_caliber._y = rifleCaliber;
_root.money_circle._y = money;
_root.health_bar._xscale = maxHealth - damage;
_root.m_health_bar._xscale = maxHealth;
_root.timer._y = 100;
_root.shotgun_display._y = shotgun;
_root.airstrike_counter._y = airstrike;
_root.fence_health._y = woodHealth;
_root.electric_fence_health._y = electricHealth;
day = "DAY " + gameDay;
if (backup == 1) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
} else if (backup == 2) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
} else if (backup == 3) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
_root.helper_3._alpha = 100;
_root.helper_3_gun._alpha = 100;
}
if (_root.m_health_bar._xscale > 200) {
_root.m_health_bar._xscale = 200;
}
if (_root.health_bar._xscale > 200) {
_root.health_bar._xscale = 200;
}
if (woodHealth > 0) {
_root.fence._alpha = 100;
}
if (electricHealth > 0) {
_root.electric_fence._alpha = 100;
}
if (gasGrande == 1) {
_root.river.gotoAndPlay(26);
}
stop();
Instance of Symbol 42 MovieClip "river" in Frame 13
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 44 MovieClip "fence" in Frame 13
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
Instance of Symbol 51 MovieClip "electric_fence" in Frame 13
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
this._alpha = 0;
}
}
Instance of Symbol 121 MovieClip in Frame 13
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 153 MovieClip "bomb" in Frame 13
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this.hitTest(this.nuke))) {
} else if (((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this._x < (_root.river._x + 20))) && (this._x > (_root.river._x - 20))) {
gotoAndPlay (47);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 426 MovieClip in Frame 13
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 121 MovieClip in Frame 13
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 208 MovieClip "bullet_3" in Frame 13
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_4" in Frame 13
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_5" in Frame 13
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_2" in Frame 13
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_1" in Frame 13
onClipEvent (mouseDown) {
if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 161 MovieClip "gun" in Frame 13
onClipEvent (enterFrame) {
X = this._x;
Y = this._y;
}
onClipEvent (mouseMove) {
Xm = _parent._xmouse;
Ym = _parent._ymouse;
Xdiff = Xm - X;
Ydiff = Ym - Y;
radAngle = Math.atan2(Ydiff, Xdiff);
this._rotation = ((radAngle * 360) / (Math.PI*2)) + 90;
updateAfterEvent();
}
onClipEvent (enterFrame) {
if (_root.you.hitTest(_root.you.firing) && (_root.you._alpha < 100)) {
this._alpha = _root.you.alpha;
} else if (_root.you.hitTest(_root.you.firing)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 213 MovieClip "you" in Frame 13
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 29 MovieClip "timer" in Frame 13
onClipEvent (enterFrame) {
if (this._y > 0) {
this._y = this._y - 0.03;
} else if (_root.store_btn._x < -50) {
_root.store_btn._x = _root.store_btn._x + 200;
}
}
Instance of Symbol 29 MovieClip "fence_health" in Frame 13
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.fence._alpha == 100)) {
_root.fence._alpha = _root.fence._alpha - 1;
}
}
Instance of Symbol 29 MovieClip "electric_fence_health" in Frame 13
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.electric_fence._alpha == 100)) {
_root.electric_fence._alpha = _root.electric_fence._alpha - 1;
}
}
Instance of Symbol 9 MovieClip "energy_bar" in Frame 13
onClipEvent (enterFrame) {
if (this._xscale < 100) {
this._xscale = this._xscale + 1;
}
}
Instance of Symbol 292 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.timer._y <= 0) {
gotoAndStop (25);
}
}
Instance of Symbol 9 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._xscale = _root.timer._y / 2;
}
Instance of Symbol 331 MovieClip "game_over_screen" in Frame 13
onClipEvent (enterFrame) {
if ((_root.money_circle._y < 0) && (this.hitTest(this.game_end))) {
} else if (_root.money_circle._y < 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if ((_root.health_bar._xscale <= 0) && (this.hitTest(this.game_end))) {
} else if (_root.health_bar._xscale <= 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.game_end) && (_root.main_menu._x > 450)) {
Mouse.show();
_root.main_menu._x = _root.main_menu._x - 200;
}
}
Frame 14
gotoAndStop (4);
Frame 15
Mouse.hide();
if (normalMusic == "on") {
daySound.start(0, 100);
}
startDrag ("_root.cursor", true);
_root.rifle_caliber._y = rifleCaliber;
_root.money_circle._y = money;
_root.health_bar._xscale = maxHealth - damage;
_root.m_health_bar._xscale = maxHealth;
_root.timer._y = 100;
_root.shotgun_display._y = shotgun;
_root.airstrike_counter._y = airstrike;
_root.fence_health._y = woodHealth;
_root.electric_fence_health._y = electricHealth;
day = "DAY " + gameDay;
if (backup == 1) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
} else if (backup == 2) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
} else if (backup == 3) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
_root.helper_3._alpha = 100;
_root.helper_3_gun._alpha = 100;
}
if (_root.m_health_bar._xscale > 200) {
_root.m_health_bar._xscale = 200;
}
if (_root.health_bar._xscale > 200) {
_root.health_bar._xscale = 200;
}
if (woodHealth > 0) {
_root.fence._alpha = 100;
}
if (electricHealth > 0) {
_root.electric_fence._alpha = 100;
}
if (gasGrande == 1) {
_root.river.gotoAndPlay(26);
}
stop();
Instance of Symbol 42 MovieClip "river" in Frame 15
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 44 MovieClip "fence" in Frame 15
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
Instance of Symbol 51 MovieClip "electric_fence" in Frame 15
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
this._alpha = 0;
}
}
Instance of Symbol 121 MovieClip in Frame 15
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 153 MovieClip "bomb" in Frame 15
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this.hitTest(this.nuke))) {
} else if (((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this._x < (_root.river._x + 20))) && (this._x > (_root.river._x - 20))) {
gotoAndPlay (47);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 426 MovieClip in Frame 15
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 121 MovieClip in Frame 15
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 426 MovieClip in Frame 15
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 208 MovieClip "bullet_3" in Frame 15
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_4" in Frame 15
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_5" in Frame 15
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_2" in Frame 15
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_1" in Frame 15
onClipEvent (mouseDown) {
if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 161 MovieClip "gun" in Frame 15
onClipEvent (enterFrame) {
X = this._x;
Y = this._y;
}
onClipEvent (mouseMove) {
Xm = _parent._xmouse;
Ym = _parent._ymouse;
Xdiff = Xm - X;
Ydiff = Ym - Y;
radAngle = Math.atan2(Ydiff, Xdiff);
this._rotation = ((radAngle * 360) / (Math.PI*2)) + 90;
updateAfterEvent();
}
onClipEvent (enterFrame) {
if (_root.you.hitTest(_root.you.firing) && (_root.you._alpha < 100)) {
this._alpha = _root.you.alpha;
} else if (_root.you.hitTest(_root.you.firing)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 213 MovieClip "you" in Frame 15
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 29 MovieClip "timer" in Frame 15
onClipEvent (enterFrame) {
if (this._y > 0) {
this._y = this._y - 0.03;
} else if (_root.store_btn._x < -50) {
_root.store_btn._x = _root.store_btn._x + 200;
}
}
Instance of Symbol 29 MovieClip "fence_health" in Frame 15
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.fence._alpha == 100)) {
_root.fence._alpha = _root.fence._alpha - 1;
}
}
Instance of Symbol 29 MovieClip "electric_fence_health" in Frame 15
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.electric_fence._alpha == 100)) {
_root.electric_fence._alpha = _root.electric_fence._alpha - 1;
}
}
Instance of Symbol 9 MovieClip "energy_bar" in Frame 15
onClipEvent (enterFrame) {
if (this._xscale < 100) {
this._xscale = this._xscale + 1;
}
}
Instance of Symbol 292 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.timer._y <= 0) {
gotoAndStop (25);
}
}
Instance of Symbol 9 MovieClip in Frame 15
onClipEvent (enterFrame) {
this._xscale = _root.timer._y / 2;
}
Instance of Symbol 331 MovieClip "game_over_screen" in Frame 15
onClipEvent (enterFrame) {
if ((_root.money_circle._y < 0) && (this.hitTest(this.game_end))) {
} else if (_root.money_circle._y < 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if ((_root.health_bar._xscale <= 0) && (this.hitTest(this.game_end))) {
} else if (_root.health_bar._xscale <= 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.game_end) && (_root.main_menu._x > 450)) {
Mouse.show();
_root.main_menu._x = _root.main_menu._x - 200;
}
}
Frame 16
gotoAndStop (4);
Frame 17
Mouse.hide();
if (normalMusic == "on") {
daySound.start(0, 100);
}
startDrag ("_root.cursor", true);
_root.rifle_caliber._y = rifleCaliber;
_root.money_circle._y = money;
_root.health_bar._xscale = maxHealth - damage;
_root.m_health_bar._xscale = maxHealth;
_root.timer._y = 100;
_root.shotgun_display._y = shotgun;
_root.airstrike_counter._y = airstrike;
_root.fence_health._y = woodHealth;
_root.electric_fence_health._y = electricHealth;
day = "DAY " + gameDay;
if (backup == 1) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
} else if (backup == 2) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
} else if (backup == 3) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
_root.helper_3._alpha = 100;
_root.helper_3_gun._alpha = 100;
}
if (_root.m_health_bar._xscale > 200) {
_root.m_health_bar._xscale = 200;
}
if (_root.health_bar._xscale > 200) {
_root.health_bar._xscale = 200;
}
if (woodHealth > 0) {
_root.fence._alpha = 100;
}
if (electricHealth > 0) {
_root.electric_fence._alpha = 100;
}
if (gasGrande == 1) {
_root.river.gotoAndPlay(26);
}
stop();
Instance of Symbol 42 MovieClip "river" in Frame 17
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 44 MovieClip "fence" in Frame 17
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
Instance of Symbol 51 MovieClip "electric_fence" in Frame 17
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
this._alpha = 0;
}
}
Instance of Symbol 121 MovieClip in Frame 17
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 153 MovieClip "bomb" in Frame 17
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this.hitTest(this.nuke))) {
} else if (((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this._x < (_root.river._x + 20))) && (this._x > (_root.river._x - 20))) {
gotoAndPlay (47);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 426 MovieClip in Frame 17
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 121 MovieClip in Frame 17
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 426 MovieClip in Frame 17
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 121 MovieClip in Frame 17
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 208 MovieClip "bullet_3" in Frame 17
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_4" in Frame 17
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_5" in Frame 17
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_2" in Frame 17
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_1" in Frame 17
onClipEvent (mouseDown) {
if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 161 MovieClip "gun" in Frame 17
onClipEvent (enterFrame) {
X = this._x;
Y = this._y;
}
onClipEvent (mouseMove) {
Xm = _parent._xmouse;
Ym = _parent._ymouse;
Xdiff = Xm - X;
Ydiff = Ym - Y;
radAngle = Math.atan2(Ydiff, Xdiff);
this._rotation = ((radAngle * 360) / (Math.PI*2)) + 90;
updateAfterEvent();
}
onClipEvent (enterFrame) {
if (_root.you.hitTest(_root.you.firing) && (_root.you._alpha < 100)) {
this._alpha = _root.you.alpha;
} else if (_root.you.hitTest(_root.you.firing)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 213 MovieClip "you" in Frame 17
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 29 MovieClip "timer" in Frame 17
onClipEvent (enterFrame) {
if (this._y > 0) {
this._y = this._y - 0.03;
} else if (_root.store_btn._x < -50) {
_root.store_btn._x = _root.store_btn._x + 200;
}
}
Instance of Symbol 29 MovieClip "fence_health" in Frame 17
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.fence._alpha == 100)) {
_root.fence._alpha = _root.fence._alpha - 1;
}
}
Instance of Symbol 29 MovieClip "electric_fence_health" in Frame 17
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.electric_fence._alpha == 100)) {
_root.electric_fence._alpha = _root.electric_fence._alpha - 1;
}
}
Instance of Symbol 9 MovieClip "energy_bar" in Frame 17
onClipEvent (enterFrame) {
if (this._xscale < 100) {
this._xscale = this._xscale + 1;
}
}
Instance of Symbol 292 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (_root.timer._y <= 0) {
gotoAndStop (25);
}
}
Instance of Symbol 9 MovieClip in Frame 17
onClipEvent (enterFrame) {
this._xscale = _root.timer._y / 2;
}
Instance of Symbol 331 MovieClip "game_over_screen" in Frame 17
onClipEvent (enterFrame) {
if ((_root.money_circle._y < 0) && (this.hitTest(this.game_end))) {
} else if (_root.money_circle._y < 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if ((_root.health_bar._xscale <= 0) && (this.hitTest(this.game_end))) {
} else if (_root.health_bar._xscale <= 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.game_end) && (_root.main_menu._x > 450)) {
Mouse.show();
_root.main_menu._x = _root.main_menu._x - 200;
}
}
Frame 18
gotoAndStop (4);
Frame 19
Mouse.hide();
if (normalMusic == "on") {
daySound.start(0, 100);
}
startDrag ("_root.cursor", true);
_root.rifle_caliber._y = rifleCaliber;
_root.money_circle._y = money;
_root.health_bar._xscale = maxHealth - damage;
_root.m_health_bar._xscale = maxHealth;
_root.timer._y = 100;
_root.shotgun_display._y = shotgun;
_root.airstrike_counter._y = airstrike;
_root.fence_health._y = woodHealth;
_root.electric_fence_health._y = electricHealth;
day = "DAY " + gameDay;
if (backup == 1) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
} else if (backup == 2) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
} else if (backup == 3) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
_root.helper_3._alpha = 100;
_root.helper_3_gun._alpha = 100;
}
if (_root.m_health_bar._xscale > 200) {
_root.m_health_bar._xscale = 200;
}
if (_root.health_bar._xscale > 200) {
_root.health_bar._xscale = 200;
}
if (woodHealth > 0) {
_root.fence._alpha = 100;
}
if (electricHealth > 0) {
_root.electric_fence._alpha = 100;
}
if (gasGrande == 1) {
_root.river.gotoAndPlay(26);
}
stop();
Instance of Symbol 42 MovieClip "river" in Frame 19
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 44 MovieClip "fence" in Frame 19
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
Instance of Symbol 51 MovieClip "electric_fence" in Frame 19
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
this._alpha = 0;
}
}
Instance of Symbol 121 MovieClip in Frame 19
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 153 MovieClip "bomb" in Frame 19
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this.hitTest(this.nuke))) {
} else if (((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this._x < (_root.river._x + 20))) && (this._x > (_root.river._x - 20))) {
gotoAndPlay (47);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 426 MovieClip in Frame 19
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 121 MovieClip in Frame 19
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 426 MovieClip in Frame 19
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 121 MovieClip in Frame 19
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 426 MovieClip in Frame 19
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 208 MovieClip "bullet_3" in Frame 19
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_4" in Frame 19
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_5" in Frame 19
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_2" in Frame 19
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_1" in Frame 19
onClipEvent (mouseDown) {
if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 161 MovieClip "gun" in Frame 19
onClipEvent (enterFrame) {
X = this._x;
Y = this._y;
}
onClipEvent (mouseMove) {
Xm = _parent._xmouse;
Ym = _parent._ymouse;
Xdiff = Xm - X;
Ydiff = Ym - Y;
radAngle = Math.atan2(Ydiff, Xdiff);
this._rotation = ((radAngle * 360) / (Math.PI*2)) + 90;
updateAfterEvent();
}
onClipEvent (enterFrame) {
if (_root.you.hitTest(_root.you.firing) && (_root.you._alpha < 100)) {
this._alpha = _root.you.alpha;
} else if (_root.you.hitTest(_root.you.firing)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 213 MovieClip "you" in Frame 19
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 29 MovieClip "timer" in Frame 19
onClipEvent (enterFrame) {
if (this._y > 0) {
this._y = this._y - 0.03;
} else if (_root.store_btn._x < -50) {
_root.store_btn._x = _root.store_btn._x + 200;
}
}
Instance of Symbol 29 MovieClip "fence_health" in Frame 19
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.fence._alpha == 100)) {
_root.fence._alpha = _root.fence._alpha - 1;
}
}
Instance of Symbol 29 MovieClip "electric_fence_health" in Frame 19
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.electric_fence._alpha == 100)) {
_root.electric_fence._alpha = _root.electric_fence._alpha - 1;
}
}
Instance of Symbol 9 MovieClip "energy_bar" in Frame 19
onClipEvent (enterFrame) {
if (this._xscale < 100) {
this._xscale = this._xscale + 1;
}
}
Instance of Symbol 292 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.timer._y <= 0) {
gotoAndStop (25);
}
}
Instance of Symbol 9 MovieClip in Frame 19
onClipEvent (enterFrame) {
this._xscale = _root.timer._y / 2;
}
Instance of Symbol 331 MovieClip "game_over_screen" in Frame 19
onClipEvent (enterFrame) {
if ((_root.money_circle._y < 0) && (this.hitTest(this.game_end))) {
} else if (_root.money_circle._y < 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if ((_root.health_bar._xscale <= 0) && (this.hitTest(this.game_end))) {
} else if (_root.health_bar._xscale <= 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.game_end) && (_root.main_menu._x > 450)) {
Mouse.show();
_root.main_menu._x = _root.main_menu._x - 200;
}
}
Frame 20
gotoAndStop (4);
Frame 21
Mouse.hide();
if (normalMusic == "on") {
daySound.start(0, 100);
}
startDrag ("_root.cursor", true);
_root.rifle_caliber._y = rifleCaliber;
_root.money_circle._y = money;
_root.health_bar._xscale = maxHealth - damage;
_root.m_health_bar._xscale = maxHealth;
_root.timer._y = 100;
_root.shotgun_display._y = shotgun;
_root.airstrike_counter._y = airstrike;
_root.fence_health._y = woodHealth;
_root.electric_fence_health._y = electricHealth;
day = "DAY " + gameDay;
if (backup == 1) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
} else if (backup == 2) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
} else if (backup == 3) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
_root.helper_3._alpha = 100;
_root.helper_3_gun._alpha = 100;
}
if (_root.m_health_bar._xscale > 200) {
_root.m_health_bar._xscale = 200;
}
if (_root.health_bar._xscale > 200) {
_root.health_bar._xscale = 200;
}
if (woodHealth > 0) {
_root.fence._alpha = 100;
}
if (electricHealth > 0) {
_root.electric_fence._alpha = 100;
}
if (gasGrande == 1) {
_root.river.gotoAndPlay(26);
}
stop();
Instance of Symbol 42 MovieClip "river" in Frame 21
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 44 MovieClip "fence" in Frame 21
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
Instance of Symbol 51 MovieClip "electric_fence" in Frame 21
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
this._alpha = 0;
}
}
Instance of Symbol 121 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 153 MovieClip "bomb" in Frame 21
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this.hitTest(this.nuke))) {
} else if (((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this._x < (_root.river._x + 20))) && (this._x > (_root.river._x - 20))) {
gotoAndPlay (47);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 426 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 121 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 426 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 121 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 426 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 121 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 208 MovieClip "bullet_3" in Frame 21
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_4" in Frame 21
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_5" in Frame 21
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_2" in Frame 21
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_1" in Frame 21
onClipEvent (mouseDown) {
if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 161 MovieClip "gun" in Frame 21
onClipEvent (enterFrame) {
X = this._x;
Y = this._y;
}
onClipEvent (mouseMove) {
Xm = _parent._xmouse;
Ym = _parent._ymouse;
Xdiff = Xm - X;
Ydiff = Ym - Y;
radAngle = Math.atan2(Ydiff, Xdiff);
this._rotation = ((radAngle * 360) / (Math.PI*2)) + 90;
updateAfterEvent();
}
onClipEvent (enterFrame) {
if (_root.you.hitTest(_root.you.firing) && (_root.you._alpha < 100)) {
this._alpha = _root.you.alpha;
} else if (_root.you.hitTest(_root.you.firing)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 213 MovieClip "you" in Frame 21
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 29 MovieClip "timer" in Frame 21
onClipEvent (enterFrame) {
if (this._y > 0) {
this._y = this._y - 0.03;
} else if (_root.store_btn._x < -50) {
_root.store_btn._x = _root.store_btn._x + 200;
}
}
Instance of Symbol 29 MovieClip "fence_health" in Frame 21
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.fence._alpha == 100)) {
_root.fence._alpha = _root.fence._alpha - 1;
}
}
Instance of Symbol 29 MovieClip "electric_fence_health" in Frame 21
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.electric_fence._alpha == 100)) {
_root.electric_fence._alpha = _root.electric_fence._alpha - 1;
}
}
Instance of Symbol 9 MovieClip "energy_bar" in Frame 21
onClipEvent (enterFrame) {
if (this._xscale < 100) {
this._xscale = this._xscale + 1;
}
}
Instance of Symbol 292 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.timer._y <= 0) {
gotoAndStop (25);
}
}
Instance of Symbol 9 MovieClip in Frame 21
onClipEvent (enterFrame) {
this._xscale = _root.timer._y / 2;
}
Instance of Symbol 331 MovieClip "game_over_screen" in Frame 21
onClipEvent (enterFrame) {
if ((_root.money_circle._y < 0) && (this.hitTest(this.game_end))) {
} else if (_root.money_circle._y < 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if ((_root.health_bar._xscale <= 0) && (this.hitTest(this.game_end))) {
} else if (_root.health_bar._xscale <= 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.game_end) && (_root.main_menu._x > 450)) {
Mouse.show();
_root.main_menu._x = _root.main_menu._x - 200;
}
}
Frame 22
gotoAndStop (4);
Frame 23
Mouse.hide();
if (normalMusic == "on") {
daySound.start(0, 100);
}
startDrag ("_root.cursor", true);
_root.rifle_caliber._y = rifleCaliber;
_root.money_circle._y = money;
_root.health_bar._xscale = maxHealth - damage;
_root.m_health_bar._xscale = maxHealth;
_root.timer._y = 100;
_root.shotgun_display._y = shotgun;
_root.airstrike_counter._y = airstrike;
_root.fence_health._y = woodHealth;
_root.electric_fence_health._y = electricHealth;
day = "DAY " + gameDay;
if (backup == 1) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
} else if (backup == 2) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
} else if (backup == 3) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
_root.helper_3._alpha = 100;
_root.helper_3_gun._alpha = 100;
}
if (_root.m_health_bar._xscale > 200) {
_root.m_health_bar._xscale = 200;
}
if (_root.health_bar._xscale > 200) {
_root.health_bar._xscale = 200;
}
if (woodHealth > 0) {
_root.fence._alpha = 100;
}
if (electricHealth > 0) {
_root.electric_fence._alpha = 100;
}
if (gasGrande == 1) {
_root.river.gotoAndPlay(26);
}
stop();
Instance of Symbol 42 MovieClip "river" in Frame 23
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 44 MovieClip "fence" in Frame 23
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
Instance of Symbol 51 MovieClip "electric_fence" in Frame 23
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
this._alpha = 0;
}
}
Instance of Symbol 121 MovieClip in Frame 23
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 153 MovieClip "bomb" in Frame 23
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this.hitTest(this.nuke))) {
} else if (((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this._x < (_root.river._x + 20))) && (this._x > (_root.river._x - 20))) {
gotoAndPlay (47);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 426 MovieClip in Frame 23
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 121 MovieClip in Frame 23
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 426 MovieClip in Frame 23
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 121 MovieClip in Frame 23
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 426 MovieClip in Frame 23
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 559 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(this.head)) {
this._x = this._x - (0.11 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
}
}
onClipEvent (enterFrame) {
if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
}
}
onClipEvent (enterFrame) {
if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
}
}
onClipEvent (enterFrame) {
if (((this._x < -120) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 620;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 75;
gotoAndPlay (4);
} else if ((this._x < -120) && (_root.timer._y > 0)) {
this._x = 620;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (101);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= (_root.fence._x + 30))) {
_root.fence_health._y = _root.fence_health._y - 0.1;
this._x = this._x + (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 60))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.1;
this._x = this._x + (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 208 MovieClip "bullet_3" in Frame 23
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_4" in Frame 23
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_5" in Frame 23
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_2" in Frame 23
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_1" in Frame 23
onClipEvent (mouseDown) {
if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 161 MovieClip "gun" in Frame 23
onClipEvent (enterFrame) {
X = this._x;
Y = this._y;
}
onClipEvent (mouseMove) {
Xm = _parent._xmouse;
Ym = _parent._ymouse;
Xdiff = Xm - X;
Ydiff = Ym - Y;
radAngle = Math.atan2(Ydiff, Xdiff);
this._rotation = ((radAngle * 360) / (Math.PI*2)) + 90;
updateAfterEvent();
}
onClipEvent (enterFrame) {
if (_root.you.hitTest(_root.you.firing) && (_root.you._alpha < 100)) {
this._alpha = _root.you.alpha;
} else if (_root.you.hitTest(_root.you.firing)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 213 MovieClip "you" in Frame 23
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 29 MovieClip "timer" in Frame 23
onClipEvent (enterFrame) {
if (this._y > 0) {
this._y = this._y - 0.03;
} else if (_root.store_btn._x < -50) {
_root.store_btn._x = _root.store_btn._x + 200;
}
}
Instance of Symbol 29 MovieClip "fence_health" in Frame 23
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.fence._alpha == 100)) {
_root.fence._alpha = _root.fence._alpha - 1;
}
}
Instance of Symbol 29 MovieClip "electric_fence_health" in Frame 23
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.electric_fence._alpha == 100)) {
_root.electric_fence._alpha = _root.electric_fence._alpha - 1;
}
}
Instance of Symbol 9 MovieClip "energy_bar" in Frame 23
onClipEvent (enterFrame) {
if (this._xscale < 100) {
this._xscale = this._xscale + 1;
}
}
Instance of Symbol 292 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.timer._y <= 0) {
gotoAndStop (25);
}
}
Instance of Symbol 9 MovieClip in Frame 23
onClipEvent (enterFrame) {
this._xscale = _root.timer._y / 2;
}
Instance of Symbol 331 MovieClip "game_over_screen" in Frame 23
onClipEvent (enterFrame) {
if ((_root.money_circle._y < 0) && (this.hitTest(this.game_end))) {
} else if (_root.money_circle._y < 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if ((_root.health_bar._xscale <= 0) && (this.hitTest(this.game_end))) {
} else if (_root.health_bar._xscale <= 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.game_end) && (_root.main_menu._x > 450)) {
Mouse.show();
_root.main_menu._x = _root.main_menu._x - 200;
}
}
Frame 24
gotoAndStop (4);
Frame 25
Mouse.hide();
if (normalMusic == "on") {
daySound.start(0, 100);
}
startDrag ("_root.cursor", true);
_root.rifle_caliber._y = rifleCaliber;
_root.money_circle._y = money;
_root.health_bar._xscale = maxHealth - damage;
_root.m_health_bar._xscale = maxHealth;
_root.timer._y = 100;
_root.shotgun_display._y = shotgun;
_root.airstrike_counter._y = airstrike;
_root.fence_health._y = woodHealth;
_root.electric_fence_health._y = electricHealth;
day = "DAY " + gameDay;
if (backup == 1) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
} else if (backup == 2) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
} else if (backup == 3) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
_root.helper_3._alpha = 100;
_root.helper_3_gun._alpha = 100;
}
if (_root.m_health_bar._xscale > 200) {
_root.m_health_bar._xscale = 200;
}
if (_root.health_bar._xscale > 200) {
_root.health_bar._xscale = 200;
}
if (woodHealth > 0) {
_root.fence._alpha = 100;
}
if (electricHealth > 0) {
_root.electric_fence._alpha = 100;
}
if (gasGrande == 1) {
_root.river.gotoAndPlay(26);
}
stop();
Instance of Symbol 42 MovieClip "river" in Frame 25
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 44 MovieClip "fence" in Frame 25
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
Instance of Symbol 51 MovieClip "electric_fence" in Frame 25
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
this._alpha = 0;
}
}
Instance of Symbol 153 MovieClip "bomb" in Frame 25
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this.hitTest(this.nuke))) {
} else if (((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this._x < (_root.river._x + 20))) && (this._x > (_root.river._x - 20))) {
gotoAndPlay (47);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 426 MovieClip in Frame 25
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 121 MovieClip in Frame 25
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 426 MovieClip in Frame 25
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 121 MovieClip in Frame 25
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 426 MovieClip in Frame 25
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 426 MovieClip in Frame 25
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 559 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(this.head)) {
this._x = this._x - (0.11 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
}
}
onClipEvent (enterFrame) {
if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
}
}
onClipEvent (enterFrame) {
if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
}
}
onClipEvent (enterFrame) {
if (((this._x < -120) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 620;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 75;
gotoAndPlay (4);
} else if ((this._x < -120) && (_root.timer._y > 0)) {
this._x = 620;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (101);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= (_root.fence._x + 30))) {
_root.fence_health._y = _root.fence_health._y - 0.1;
this._x = this._x + (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 60))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.1;
this._x = this._x + (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 208 MovieClip "bullet_3" in Frame 25
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_4" in Frame 25
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_5" in Frame 25
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_2" in Frame 25
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_1" in Frame 25
onClipEvent (mouseDown) {
if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 161 MovieClip "gun" in Frame 25
onClipEvent (enterFrame) {
X = this._x;
Y = this._y;
}
onClipEvent (mouseMove) {
Xm = _parent._xmouse;
Ym = _parent._ymouse;
Xdiff = Xm - X;
Ydiff = Ym - Y;
radAngle = Math.atan2(Ydiff, Xdiff);
this._rotation = ((radAngle * 360) / (Math.PI*2)) + 90;
updateAfterEvent();
}
onClipEvent (enterFrame) {
if (_root.you.hitTest(_root.you.firing) && (_root.you._alpha < 100)) {
this._alpha = _root.you.alpha;
} else if (_root.you.hitTest(_root.you.firing)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 213 MovieClip "you" in Frame 25
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 29 MovieClip "timer" in Frame 25
onClipEvent (enterFrame) {
if (this._y > 0) {
this._y = this._y - 0.03;
} else if (_root.store_btn._x < -50) {
_root.store_btn._x = _root.store_btn._x + 200;
}
}
Instance of Symbol 29 MovieClip "fence_health" in Frame 25
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.fence._alpha == 100)) {
_root.fence._alpha = _root.fence._alpha - 1;
}
}
Instance of Symbol 29 MovieClip "electric_fence_health" in Frame 25
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.electric_fence._alpha == 100)) {
_root.electric_fence._alpha = _root.electric_fence._alpha - 1;
}
}
Instance of Symbol 9 MovieClip "energy_bar" in Frame 25
onClipEvent (enterFrame) {
if (this._xscale < 100) {
this._xscale = this._xscale + 1;
}
}
Instance of Symbol 292 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (_root.timer._y <= 0) {
gotoAndStop (25);
}
}
Instance of Symbol 9 MovieClip in Frame 25
onClipEvent (enterFrame) {
this._xscale = _root.timer._y / 2;
}
Instance of Symbol 331 MovieClip "game_over_screen" in Frame 25
onClipEvent (enterFrame) {
if ((_root.money_circle._y < 0) && (this.hitTest(this.game_end))) {
} else if (_root.money_circle._y < 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if ((_root.health_bar._xscale <= 0) && (this.hitTest(this.game_end))) {
} else if (_root.health_bar._xscale <= 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.game_end) && (_root.main_menu._x > 450)) {
Mouse.show();
_root.main_menu._x = _root.main_menu._x - 200;
}
}
Frame 26
gotoAndStop (4);
Frame 27
Mouse.hide();
if (normalMusic == "on") {
daySound.start(0, 100);
}
startDrag ("_root.cursor", true);
_root.rifle_caliber._y = rifleCaliber;
_root.money_circle._y = money;
_root.health_bar._xscale = maxHealth - damage;
_root.m_health_bar._xscale = maxHealth;
_root.timer._y = 100;
_root.shotgun_display._y = shotgun;
_root.airstrike_counter._y = airstrike;
_root.fence_health._y = woodHealth;
_root.electric_fence_health._y = electricHealth;
day = "DAY " + gameDay;
if (backup == 1) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
} else if (backup == 2) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
} else if (backup == 3) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
_root.helper_3._alpha = 100;
_root.helper_3_gun._alpha = 100;
}
if (_root.m_health_bar._xscale > 200) {
_root.m_health_bar._xscale = 200;
}
if (_root.health_bar._xscale > 200) {
_root.health_bar._xscale = 200;
}
if (woodHealth > 0) {
_root.fence._alpha = 100;
}
if (electricHealth > 0) {
_root.electric_fence._alpha = 100;
}
if (gasGrande == 1) {
_root.river.gotoAndPlay(26);
}
stop();
Instance of Symbol 42 MovieClip "river" in Frame 27
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 44 MovieClip "fence" in Frame 27
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
Instance of Symbol 51 MovieClip "electric_fence" in Frame 27
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
this._alpha = 0;
}
}
Instance of Symbol 153 MovieClip "bomb" in Frame 27
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this.hitTest(this.nuke))) {
} else if (((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this._x < (_root.river._x + 20))) && (this._x > (_root.river._x - 20))) {
gotoAndPlay (47);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 426 MovieClip in Frame 27
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 121 MovieClip in Frame 27
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.05 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 426 MovieClip in Frame 27
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 426 MovieClip in Frame 27
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 426 MovieClip in Frame 27
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 426 MovieClip in Frame 27
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 559 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(this.head)) {
this._x = this._x - (0.11 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
}
}
onClipEvent (enterFrame) {
if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
}
}
onClipEvent (enterFrame) {
if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
}
}
onClipEvent (enterFrame) {
if (((this._x < -120) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 620;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 75;
gotoAndPlay (4);
} else if ((this._x < -120) && (_root.timer._y > 0)) {
this._x = 620;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (101);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= (_root.fence._x + 30))) {
_root.fence_health._y = _root.fence_health._y - 0.1;
this._x = this._x + (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 60))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.1;
this._x = this._x + (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 208 MovieClip "bullet_3" in Frame 27
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_4" in Frame 27
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_5" in Frame 27
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_2" in Frame 27
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_1" in Frame 27
onClipEvent (mouseDown) {
if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 161 MovieClip "gun" in Frame 27
onClipEvent (enterFrame) {
X = this._x;
Y = this._y;
}
onClipEvent (mouseMove) {
Xm = _parent._xmouse;
Ym = _parent._ymouse;
Xdiff = Xm - X;
Ydiff = Ym - Y;
radAngle = Math.atan2(Ydiff, Xdiff);
this._rotation = ((radAngle * 360) / (Math.PI*2)) + 90;
updateAfterEvent();
}
onClipEvent (enterFrame) {
if (_root.you.hitTest(_root.you.firing) && (_root.you._alpha < 100)) {
this._alpha = _root.you.alpha;
} else if (_root.you.hitTest(_root.you.firing)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 213 MovieClip "you" in Frame 27
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 29 MovieClip "timer" in Frame 27
onClipEvent (enterFrame) {
if (this._y > 0) {
this._y = this._y - 0.03;
} else if (_root.store_btn._x < -50) {
_root.store_btn._x = _root.store_btn._x + 200;
}
}
Instance of Symbol 29 MovieClip "fence_health" in Frame 27
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.fence._alpha == 100)) {
_root.fence._alpha = _root.fence._alpha - 1;
}
}
Instance of Symbol 29 MovieClip "electric_fence_health" in Frame 27
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.electric_fence._alpha == 100)) {
_root.electric_fence._alpha = _root.electric_fence._alpha - 1;
}
}
Instance of Symbol 9 MovieClip "energy_bar" in Frame 27
onClipEvent (enterFrame) {
if (this._xscale < 100) {
this._xscale = this._xscale + 1;
}
}
Instance of Symbol 292 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (_root.timer._y <= 0) {
gotoAndStop (25);
}
}
Instance of Symbol 9 MovieClip in Frame 27
onClipEvent (enterFrame) {
this._xscale = _root.timer._y / 2;
}
Instance of Symbol 331 MovieClip "game_over_screen" in Frame 27
onClipEvent (enterFrame) {
if ((_root.money_circle._y < 0) && (this.hitTest(this.game_end))) {
} else if (_root.money_circle._y < 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if ((_root.health_bar._xscale <= 0) && (this.hitTest(this.game_end))) {
} else if (_root.health_bar._xscale <= 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.game_end) && (_root.main_menu._x > 450)) {
Mouse.show();
_root.main_menu._x = _root.main_menu._x - 200;
}
}
Frame 28
gotoAndStop (4);
Frame 29
Mouse.hide();
if (normalMusic == "on") {
daySound.start(0, 100);
}
startDrag ("_root.cursor", true);
_root.rifle_caliber._y = rifleCaliber;
_root.money_circle._y = money;
_root.health_bar._xscale = maxHealth - damage;
_root.m_health_bar._xscale = maxHealth;
_root.timer._y = 100;
_root.shotgun_display._y = shotgun;
_root.airstrike_counter._y = airstrike;
_root.fence_health._y = woodHealth;
_root.electric_fence_health._y = electricHealth;
day = "DAY " + gameDay;
if (backup == 1) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
} else if (backup == 2) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
} else if (backup == 3) {
_root.helper_1._alpha = 100;
_root.helper_1_gun._alpha = 100;
_root.helper_2._alpha = 100;
_root.helper_2_gun._alpha = 100;
_root.helper_3._alpha = 100;
_root.helper_3_gun._alpha = 100;
}
if (_root.m_health_bar._xscale > 200) {
_root.m_health_bar._xscale = 200;
}
if (_root.health_bar._xscale > 200) {
_root.health_bar._xscale = 200;
}
if (woodHealth > 0) {
_root.fence._alpha = 100;
}
if (electricHealth > 0) {
_root.electric_fence._alpha = 100;
}
if (gasGrande == 1) {
_root.river.gotoAndPlay(26);
}
stop();
Instance of Symbol 42 MovieClip "river" in Frame 29
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 44 MovieClip "fence" in Frame 29
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
Instance of Symbol 51 MovieClip "electric_fence" in Frame 29
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._alpha > 0)) {
this._alpha = this._alpha - 1;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
this._alpha = 0;
}
}
Instance of Symbol 153 MovieClip "bomb" in Frame 29
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this.hitTest(this.nuke))) {
} else if (((this.hitTest(_root.river) && (_root.river.hitTest(_root.river.gas))) && (this._x < (_root.river._x + 20))) && (this._x > (_root.river._x - 20))) {
gotoAndPlay (47);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 426 MovieClip in Frame 29
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 426 MovieClip in Frame 29
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 426 MovieClip in Frame 29
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 426 MovieClip in Frame 29
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 426 MovieClip in Frame 29
onClipEvent (enterFrame) {
if ((this.hitTest(this.head) && (this.hitTest(this.leg))) && (this.hitTest(this.fire))) {
this._x = this._x - (0.08 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.leg))) {
this._x = this._x - (0.1 * this._xscale);
} else if (this.hitTest(this.head) && (this.hitTest(this.climb))) {
this._x = this._x - (0.06 * this._xscale);
} else if (this.hitTest(this.head)) {
this._x = this._x - (0.04 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
gotoAndPlay (65);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_1) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_2) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_3) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_1))) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && (this.body.hitTest(_root.bullet_2))) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_2)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_3)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_4)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 1)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 2)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 3)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if ((this.hitTest(this.stage_4) && this.body.hitTest(_root.bullet_5)) && (_root.rifle_caliber._y == 5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_1))) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_2))) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_3))) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_4))) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.hitTest(this.stage_5) && (this.body.hitTest(_root.bullet_5))) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((this._x < -50) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 25;
gotoAndPlay (4);
} else if ((this._x < -50) && (_root.timer._y > 0)) {
this._x = 580;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 6)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_1.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_2.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_3.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_4.gotoAndStop(1);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y == 7)) {
gotoAndPlay (77);
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
X1 = _root.helper_1_gun._x;
Y1 = _root.helper_1_gun._y;
Xm1 = this._x;
Ym1 = this._y;
Xdiff1 = Xm1 - X1;
Ydiff1 = Ym1 - Y1;
radAngle1 = Math.atan2(Ydiff1, Xdiff1);
_root.helper_1_gun._rotation = ((radAngle1 * 360) / (Math.PI*2)) + 90;
_root.helper_1_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_1._x + 20)) && (this._x >= (_root.helper_1._x - 20))) && (_root.helper_1_gun.hitTest(_root.helper_1_gun.ready))) && (_root.helper_1._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_1_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
X2 = _root.helper_2_gun._x;
Y2 = _root.helper_2_gun._y;
Xm2 = this._x;
Ym2 = this._y;
Xdiff2 = Xm2 - X2;
Ydiff2 = Ym2 - Y2;
radAngle2 = Math.atan2(Ydiff2, Xdiff2);
_root.helper_2_gun._rotation = ((radAngle2 * 360) / (Math.PI*2)) + 90;
_root.helper_2_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_2._x + 20)) && (this._x >= (_root.helper_2._x - 20))) && (_root.helper_2_gun.hitTest(_root.helper_2_gun.ready))) && (_root.helper_2._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_2_gun.play();
}
}
onClipEvent (enterFrame) {
if ((((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && ((Math.random() * 10) < 1)) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
X3 = _root.helper_3_gun._x;
Y3 = _root.helper_3_gun._y;
Xm3 = this._x;
Ym3 = this._y;
Xdiff3 = Xm3 - X3;
Ydiff3 = Ym3 - Y3;
radAngle3 = Math.atan2(Ydiff3, Xdiff3);
_root.helper_3_gun._rotation = ((radAngle3 * 360) / (Math.PI*2)) + 90;
_root.helper_3_gun.play();
gotoAndPlay (51);
} else if (((((this._x <= (_root.helper_3._x + 20)) && (this._x >= (_root.helper_3._x - 20))) && (_root.helper_3_gun.hitTest(_root.helper_3_gun.ready))) && (_root.helper_3._alpha > 60)) && (this.hitTest(this.head))) {
_root.helper_3_gun.play();
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.fence_health._y = _root.fence_health._y - 0.05;
} else if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= _root.fence._x)) {
_root.fence_health._y = _root.fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.fence.spot_1) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_2) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.fence.spot_3) && (this.hitTest(this.leg))) && (_root.fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this.hitTest(this.climb))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
} else if ((((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 30))) && (_root.electric_fence_health._y > 0)) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.05;
this._x = this._x + (0.04 * this._xscale);
}
}
onClipEvent (enterFrame) {
if ((this.pistol.hitTest(_root.electric_fence.spot_1) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_2) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
} else if ((this.pistol.hitTest(_root.electric_fence.spot_3) && (this.hitTest(this.leg))) && (_root.electric_fence._alpha > 90)) {
gotoAndPlay (91);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.electric_fence) && (_root.electric_fence.hitTest(_root.electric_fence.electric))) && (this.hitTest(this.climb))) {
gotoAndPlay (51);
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.river.fire) && (this.hitTest(this.head))) && (this.hitTest(this.fire))) {
} else if (this.hitTest(_root.river.fire) && (this.hitTest(this.head))) {
gotoAndPlay (117);
}
}
onClipEvent (enterFrame) {
this.pistol._rotation = (Math.atan2(_root.you._y - this._y, _root.you._x - this._x) * 360) / (Math.PI*2);
}
onClipEvent (enterFrame) {
if ((((this._x < (_root.you._x + 100)) && (this._x > (_root.you._x - 100))) && (this.pistol.hitTest(this.pistol.ready))) && (this.bullet_1.hitTest(this.bullet_1.ready))) {
this.pistol.play();
this.bullet_1._rotation = this.pistol._rotation;
this.bullet_1._x = this.pistol._x;
this.bullet_1.play();
} else {
this.bullet_1._x = this.bullet_1._x + (0.08 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.bullet_1.hitTest(_root.you.body)) {
_root.you._alpha = 0;
_root.health_bar._xscale = _root.health_bar._xscale - (Math.random() * 15);
this.bullet_1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 559 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(this.head)) {
this._x = this._x - (0.11 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
}
}
onClipEvent (enterFrame) {
if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
}
}
onClipEvent (enterFrame) {
if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
}
}
onClipEvent (enterFrame) {
if (((this._x < -120) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 620;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 75;
gotoAndPlay (4);
} else if ((this._x < -120) && (_root.timer._y > 0)) {
this._x = 620;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (101);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= (_root.fence._x + 30))) {
_root.fence_health._y = _root.fence_health._y - 0.1;
this._x = this._x + (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 60))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.1;
this._x = this._x + (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 559 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(this.head)) {
this._x = this._x - (0.11 * this._xscale);
} else {
this._x = this._x - (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
_root.bullet_1.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
_root.bullet_2.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
_root.bullet_3.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
_root.bullet_4.gotoAndStop(1);
} else if (this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
_root.bullet_5.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 6)) {
_root.bullet_1.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 6)) {
_root.bullet_2.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 6)) {
_root.bullet_3.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 6)) {
_root.bullet_4.gotoAndStop(1);
} else if (this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 6)) {
_root.bullet_5.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_2)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_3)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_4)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_5)) {
gotoAndPlay (61);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_6)) {
gotoAndPlay (71);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_7)) {
gotoAndPlay (81);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_8)) {
gotoAndPlay (91);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_9)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y < 7)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
}
}
onClipEvent (enterFrame) {
if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.body.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.body.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.body.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.body.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.body.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
}
}
onClipEvent (enterFrame) {
if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_1))) {
gotoAndPlay (11);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && (this.hitTest(this.stage_2))) {
gotoAndPlay (21);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_2)) {
gotoAndPlay (21);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_3)) {
gotoAndPlay (31);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_4)) {
gotoAndPlay (41);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_5)) {
gotoAndPlay (51);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_6)) {
gotoAndPlay (61);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_7)) {
gotoAndPlay (71);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_8)) {
gotoAndPlay (81);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_9)) {
gotoAndPlay (91);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(1);
} else if ((this.leg.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.leg.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.leg.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.leg.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if ((this.leg.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 5)) && this.hitTest(this.stage_10)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.bullet_1) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_1.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if (this.head.hitTest(_root.bullet_2) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_2.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if (this.head.hitTest(_root.bullet_3) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_3.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if (this.head.hitTest(_root.bullet_4) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_4.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
} else if (this.head.hitTest(_root.bullet_5) && (_root.rifle_caliber._y > 6)) {
gotoAndPlay (101);
_root.bullet_5.gotoAndStop(1);
_root.truck_sound.gotoAndPlay(25);
}
}
onClipEvent (enterFrame) {
if (((this._x < -120) && (this.hitTest(this.head))) && (_root.timer._y > 0)) {
this._x = 620;
this._y = (Math.random() * 50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
_root.money_circle._y = _root.money_circle._y - 75;
gotoAndPlay (4);
} else if ((this._x < -120) && (_root.timer._y > 0)) {
this._x = 620;
this._y = (Math.random() * -50) + 200;
this._xscale = 0.2 * this._y;
this._yscale = 0.2 * this._y;
gotoAndPlay (4);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.bomb) && (this.hitTest(this.head))) && (this._xscale > (_root.bomb._xscale - 7.5))) && (this._xscale < (_root.bomb._xscale + 10))) {
gotoAndPlay (101);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.fence) && (this.hitTest(this.head))) && (_root.fence._alpha > 0)) && (this._x <= (_root.fence._x + 30))) {
_root.fence_health._y = _root.fence_health._y - 0.1;
this._x = this._x + (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.electric_fence) && (this.hitTest(this.head))) && (_root.electric_fence._alpha > 0)) && (this._x <= (_root.electric_fence._x + 60))) {
_root.electric_fence_health._y = _root.electric_fence_health._y - 0.1;
this._x = this._x + (0.2 * this._xscale);
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
this._x = 800;
}
}
Instance of Symbol 208 MovieClip "bullet_3" in Frame 29
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_2.hitTest(_root.bullet_2.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_4" in Frame 29
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_3.hitTest(_root.bullet_3.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_5" in Frame 29
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_4.hitTest(_root.bullet_4.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_2" in Frame 29
onClipEvent (mouseDown) {
if (((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) && (_root.bullet_1.hitTest(_root.bullet_1.ready))) {
} else if (((((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 208 MovieClip "bullet_1" in Frame 29
onClipEvent (mouseDown) {
if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y < 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
play();
} else if ((((_root.gun.hitTest(_root.gun.ready) && (this.hitTest(this.ready))) && (_root.ammo.hitTest(_root.ammo.full))) && (_root.you.hitTest(_root.you.firing))) && (_root.shotgun_display._y >= 1)) {
_root.gun.play();
_root.ammo.play();
this._rotation = _root.gun._rotation - 90;
gotoAndPlay (28);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.gun._rotation - 90;
}
}
Instance of Symbol 161 MovieClip "gun" in Frame 29
onClipEvent (enterFrame) {
X = this._x;
Y = this._y;
}
onClipEvent (mouseMove) {
Xm = _parent._xmouse;
Ym = _parent._ymouse;
Xdiff = Xm - X;
Ydiff = Ym - Y;
radAngle = Math.atan2(Ydiff, Xdiff);
this._rotation = ((radAngle * 360) / (Math.PI*2)) + 90;
updateAfterEvent();
}
onClipEvent (enterFrame) {
if (_root.you.hitTest(_root.you.firing) && (_root.you._alpha < 100)) {
this._alpha = _root.you.alpha;
} else if (_root.you.hitTest(_root.you.firing)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 213 MovieClip "you" in Frame 29
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
}
}
onClipEvent (enterFrame) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
gotoAndStop (4);
}
}
Instance of Symbol 29 MovieClip "timer" in Frame 29
onClipEvent (enterFrame) {
if (this._y > 0) {
this._y = this._y - 0.03;
} else if (_root.store_btn._x < -50) {
_root.store_btn._x = _root.store_btn._x + 200;
}
}
Instance of Symbol 29 MovieClip "fence_health" in Frame 29
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.fence._alpha == 100)) {
_root.fence._alpha = _root.fence._alpha - 1;
}
}
Instance of Symbol 29 MovieClip "electric_fence_health" in Frame 29
onClipEvent (enterFrame) {
if ((this._y <= 0) && (_root.electric_fence._alpha == 100)) {
_root.electric_fence._alpha = _root.electric_fence._alpha - 1;
}
}
Instance of Symbol 9 MovieClip "energy_bar" in Frame 29
onClipEvent (enterFrame) {
if (this._xscale < 100) {
this._xscale = this._xscale + 1;
}
}
Instance of Symbol 292 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.timer._y <= 0) {
gotoAndStop (25);
}
}
Instance of Symbol 9 MovieClip in Frame 29
onClipEvent (enterFrame) {
this._xscale = _root.timer._y / 2;
}
Instance of Symbol 331 MovieClip "game_over_screen" in Frame 29
onClipEvent (enterFrame) {
if ((_root.money_circle._y < 0) && (this.hitTest(this.game_end))) {
} else if (_root.money_circle._y < 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if ((_root.health_bar._xscale <= 0) && (this.hitTest(this.game_end))) {
} else if (_root.health_bar._xscale <= 0) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this.game_end) && (_root.main_menu._x > 450)) {
Mouse.show();
_root.main_menu._x = _root.main_menu._x - 200;
}
}
Frame 30
gotoAndStop (4);
Frame 31
gotoAndStop (4);
Frame 32
Mouse.show();
if (upgradeMusic == "on") {
upgradeSound.start(0, 100);
}
_root.money_circle._y = money;
_root.health_bar._xscale = maxHealth - damage;
_root.m_health_bar._xscale = maxHealth;
if (rifleCaliber >= 5) {
_root.purchased_1._alpha = 100;
}
if (rifleCaliber == 6) {
_root.purchased_2._alpha = 100;
}
if (shotgun == 1) {
_root.purchased_1._alpha = 100;
_root.purchased_2._alpha = 100;
_root.purchased_3._alpha = 100;
}
if (rifleCaliber == 7) {
_root.purchased_1._alpha = 100;
_root.purchased_2._alpha = 100;
_root.purchased_3._alpha = 100;
_root.purchased_4._alpha = 100;
}
if (backup == 3) {
_root.purchased_5._alpha = 100;
}
if (airstrike == 10) {
_root.purchased_6._alpha = 100;
}
if (woodHealth > 0) {
_root.purchased_7._alpha = 100;
}
if (electricHealth > 0) {
_root.purchased_8._alpha = 100;
}
if (gasGrande == 1) {
_root.purchased_9._alpha = 100;
}
if (maxHealth >= 200) {
_root.purchased_10._alpha = 100;
}
if (damage < 10) {
_root.purchased_11._alpha = 100;
}
stop();
Frame 33
gotoAndStop (4);
Frame 34
Mouse.show();
daySound.stop();
_root.health_bar._xscale = maxHealth - damage;
bankMoney = bankMoney + (bankMoney * 0.04);
if (bankMusic == "on") {
bankSound.start(0, 100);
}
stop();
Frame 35
stop();
Frame 36
stop();
Frame 37
stop();
Frame 38
stop();
Frame 39
stop();
Frame 40
stop();
Instance of Symbol 210 MovieClip "duck" in Frame 40
on (keyPress "<Space>") {
_root.you.play();
}
Frame 41
stop();
Frame 42
stop();
Instance of Symbol 208 MovieClip "bullet_1" in Frame 42
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.pistol._rotation - 90;
this._x = _root.pistol._x;
}
}
Frame 43
stop();
Frame 44
stop();
Frame 45
stop();
Symbol 13 Button
on (press) {
day = "DAY " + gameDay;
gameDay = 1;
deal = 0;
bankMoney = 0;
backup = 0;
airstrike = 0;
woodHealth = 0;
electricHealth = 0;
gasGrande = 0;
damage = 0;
shotgun = 0;
if (difficulty == 1) {
rifleCaliber = 4;
money = 2000;
maxHealth = 90;
gotoAndStop (5);
} else if (difficulty == 2) {
rifleCaliber = 2;
money = 1000;
maxHealth = 80;
gotoAndStop (5);
} else if (difficulty == 3) {
rifleCaliber = 1;
money = 500;
maxHealth = 70;
gotoAndStop (5);
}
}
Symbol 14 Button
on (press) {
gotoAndStop (35);
}
Symbol 27 Button
on (keyPress "b") {
if (_root.energy_bar._xscale > 30) {
_root.energy_bar._xscale = _root.energy_bar._xscale - 30;
gotoAndPlay (51);
}
}
Symbol 42 MovieClip Frame 25
gotoAndPlay (1);
Symbol 42 MovieClip Frame 50
gotoAndPlay (26);
Symbol 42 MovieClip Frame 54
gotoAndPlay (26);
Symbol 44 MovieClip Frame 1
stop();
Symbol 45 Button
on (keyPress "v") {
if (((_root.electric_fence_health._y > 0) && (_root.electric_fence._alpha > 0)) && (_root.energy_bar._xscale > 40)) {
_root.energy_bar._xscale = _root.energy_bar._xscale - 40;
play();
}
}
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 4
gotoAndStop (1);
Symbol 121 MovieClip Frame 7
gotoAndPlay (1);
Symbol 121 MovieClip Frame 17
gotoAndPlay (11);
Symbol 121 MovieClip Frame 27
gotoAndPlay (21);
Symbol 121 MovieClip Frame 37
gotoAndPlay (31);
Symbol 121 MovieClip Frame 47
gotoAndPlay (41);
Symbol 121 MovieClip Frame 48
deathSound.start();
Symbol 121 MovieClip Frame 61
_root.money_circle._y = _root.money_circle._y + 50;
stop();
Symbol 121 MovieClip Frame 64
_root.money_circle._y = _root.money_circle._y + 15;
Symbol 121 MovieClip Frame 73
gotoAndPlay (65);
Symbol 121 MovieClip Frame 74
deathSound.start();
explosionSound.start();
Symbol 121 MovieClip Frame 87
_root.money_circle._y = _root.money_circle._y + 50;
stop();
Symbol 121 MovieClip Frame 113
gotoAndPlay (1);
Symbol 121 MovieClip Frame 148
gotoAndPlay (48);
Symbol 122 Button
on (keyPress "c") {
if ((_root.airstrike_counter._y > 0) && (_root.cursor._y >= 160)) {
_root.bomb._x = _root.cursor._x;
_root.bomb._y = _root.cursor._y;
_root.bomb._xscale = 0.2 * _root.bomb._y;
_root.bomb._yscale = 0.2 * _root.bomb._y;
_root.airstrike_counter._y = _root.airstrike_counter._y - 1;
play();
}
}
Symbol 153 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 43
gotoAndStop (1);
Symbol 153 MovieClip Frame 54
gotoAndStop (1);
Symbol 161 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 5
gotoAndStop (1);
Symbol 208 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 24
gotoAndStop (1);
Symbol 208 MovieClip Frame 47
gotoAndStop (1);
Symbol 213 MovieClip Frame 1
_root.ammo.gotoAndStop(1);
stop();
Instance of Symbol 210 MovieClip "duck" in Symbol 213 MovieClip Frame 1
on (keyPress "<Space>") {
_root.you.play();
}
Symbol 213 MovieClip Frame 2
stop();
Instance of Symbol 210 MovieClip "firing" in Symbol 213 MovieClip Frame 2
on (keyPress "<Space>") {
_root.you.play();
}
Symbol 265 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 5
stop();
Symbol 265 MovieClip Frame 9
stop();
Symbol 265 MovieClip Frame 13
stop();
Symbol 265 MovieClip Frame 17
stop();
Symbol 265 MovieClip Frame 21
stop();
Symbol 265 MovieClip Frame 25
stop();
Symbol 265 MovieClip Frame 29
stop();
Symbol 265 MovieClip Frame 33
stop();
Symbol 265 MovieClip Frame 37
stop();
Symbol 265 MovieClip Frame 41
stop();
Symbol 265 MovieClip Frame 45
stop();
Symbol 265 MovieClip Frame 49
stop();
Symbol 270 MovieClip Frame 3
money = _root.money_circle._y;
gotoAndPlay (1);
Symbol 292 MovieClip Frame 21
stop();
Symbol 292 MovieClip Frame 22
stop();
Symbol 298 Button
on (press) {
if (_root.game_over_screen.hitTest(_root.game_over_screen.game_end)) {
} else {
money = _root.money_circle._y;
damage = maxHealth - _root.health_bar._xscale;
woodHealth = _root.fence_health._y;
electricHealth = _root.electric_fence_health._y;
airstrike = _root.airstrike_counter._y;
gotoAndStop (34);
}
}
Symbol 304 Button
on (press, keyPress "q") {
if (_quality == "LOW") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "HIGH";
} else {
_quality = "LOW";
}
}
Symbol 331 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 34
stop();
Symbol 335 Button
on (press) {
gotoAndStop (4);
}
Symbol 351 MovieClip Frame 1
stop();
Symbol 351 MovieClip Frame 8
gotoAndStop (1);
Instance of Symbol 208 MovieClip "bullet_1" in Symbol 426 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this.ready)) {
this._rotation = _root.pistol._rotation - 90;
this._x = _root.pistol._x;
}
}
Symbol 426 MovieClip Frame 7
gotoAndPlay (1);
Symbol 426 MovieClip Frame 17
gotoAndPlay (1);
Symbol 426 MovieClip Frame 27
gotoAndPlay (1);
Symbol 426 MovieClip Frame 37
gotoAndPlay (1);
Symbol 426 MovieClip Frame 47
gotoAndPlay (1);
Symbol 426 MovieClip Frame 48
deathSound.start();
Symbol 426 MovieClip Frame 61
_root.money_circle._y = _root.money_circle._y + 60;
stop();
Symbol 426 MovieClip Frame 64
_root.money_circle._y = _root.money_circle._y + 15;
Symbol 426 MovieClip Frame 73
gotoAndPlay (65);
Symbol 426 MovieClip Frame 74
deathSound.start();
explosionSound.start();
Symbol 426 MovieClip Frame 87
_root.money_circle._y = _root.money_circle._y + 50;
stop();
Symbol 426 MovieClip Frame 113
gotoAndPlay (1);
Symbol 426 MovieClip Frame 148
gotoAndPlay (48);
Symbol 559 MovieClip Frame 7
gotoAndPlay (1);
Symbol 559 MovieClip Frame 8
windowSound.start();
Symbol 559 MovieClip Frame 17
gotoAndPlay (11);
Symbol 559 MovieClip Frame 18
windowSound.start();
Symbol 559 MovieClip Frame 27
gotoAndPlay (21);
Symbol 559 MovieClip Frame 28
windowSound.start();
Symbol 559 MovieClip Frame 37
gotoAndPlay (31);
Symbol 559 MovieClip Frame 38
windowSound.start();
Symbol 559 MovieClip Frame 47
gotoAndPlay (41);
Symbol 559 MovieClip Frame 48
windowSound.start();
Symbol 559 MovieClip Frame 57
gotoAndPlay (51);
Symbol 559 MovieClip Frame 58
windowSound.start();
Symbol 559 MovieClip Frame 67
gotoAndPlay (61);
Symbol 559 MovieClip Frame 68
windowSound.start();
Symbol 559 MovieClip Frame 77
gotoAndPlay (71);
Symbol 559 MovieClip Frame 78
windowSound.start();
Symbol 559 MovieClip Frame 87
gotoAndPlay (81);
Symbol 559 MovieClip Frame 88
windowSound.start();
Symbol 559 MovieClip Frame 97
gotoAndPlay (91);
Symbol 559 MovieClip Frame 98
explosionSound.start();
Symbol 559 MovieClip Frame 116
_root.money_circle._y = _root.money_circle._y + 150;
stop();
Symbol 562 MovieClip Frame 1
stop();
Symbol 562 MovieClip Frame 24
gotoAndStop (1);
Symbol 562 MovieClip Frame 40
gotoAndStop (1);
Symbol 569 Button
on (press) {
if ((((_root.money_circle._y >= 1200) && (money >= 1200)) && (rifleCaliber <= 3)) && (shotgun == 0)) {
rifleCaliber = rifleCaliber + 1;
money = money - 1200;
_root.money_circle._y = _root.money_circle._y - 1200;
} else if ((((_root.money_circle._y > 1200) && (money > 1200)) && (rifleCaliber == 4)) && (shotgun == 0)) {
rifleCaliber = rifleCaliber + 1;
money = money - 1200;
_root.money_circle._y = _root.money_circle._y - 1200;
_root.purchased_1._alpha = 100;
}
}
Symbol 570 Button
on (press) {
if ((((_root.money_circle._y >= 12000) && (money >= 12000)) && (rifleCaliber <= 5)) && (shotgun < 1)) {
rifleCaliber = 6;
shotgun = 0;
money = money - 12000;
_root.money_circle._y = _root.money_circle._y - 12000;
_root.purchased_2._alpha = 100;
_root.purchased_1._alpha = 100;
}
}
Symbol 571 Button
on (press) {
if ((((_root.money_circle._y >= 16000) && (money >= 16000)) && (shotgun == 0)) && (rifleCaliber < 7)) {
shotgun = 1;
rifleCaliber = 3;
money = money - 16000;
_root.money_circle._y = _root.money_circle._y - 16000;
_root.purchased_3._alpha = 100;
_root.purchased_2._alpha = 100;
_root.purchased_1._alpha = 100;
}
}
Symbol 572 Button
on (press) {
if (((_root.money_circle._y >= 20000) && (money >= 20000)) && (rifleCaliber <= 6)) {
shotgun = 0;
rifleCaliber = 7;
money = money - 20000;
_root.money_circle._y = _root.money_circle._y - 20000;
_root.purchased_4._alpha = 100;
_root.purchased_3._alpha = 100;
_root.purchased_2._alpha = 100;
_root.purchased_1._alpha = 100;
}
}
Symbol 573 Button
on (press) {
if (((_root.money_circle._y >= 6000) && (money >= 6000)) && (backup < 2)) {
backup = backup + 1;
money = money - 6000;
_root.money_circle._y = _root.money_circle._y - 6000;
} else if (((_root.money_circle._y > 6000) && (money > 6000)) && (backup >= 2)) {
backup = backup + 1;
money = money - 6000;
_root.money_circle._y = _root.money_circle._y - 6000;
_root.purchased_5._alpha = 100;
}
}
Symbol 574 Button
on (press) {
if (((_root.money_circle._y >= 8400) && (money >= 8400)) && (airstrike < 9)) {
airstrike = airstrike + 1;
money = money - 8400;
_root.money_circle._y = _root.money_circle._y - 8400;
} else if (((_root.money_circle._y > 8400) && (money > 8400)) && (airstrike == 9)) {
airstrike = airstrike + 1;
money = money - 8400;
_root.money_circle._y = _root.money_circle._y - 8400;
_root.purchased_6._alpha = 100;
}
}
Symbol 575 Button
on (press) {
if (((_root.money_circle._y >= 2400) && (money >= 2400)) && (woodHealth < 1)) {
woodHealth = 100;
money = money - 2400;
_root.money_circle._y = _root.money_circle._y - 2400;
_root.purchased_7._alpha = 100;
}
}
Symbol 576 Button
on (press) {
if (((_root.money_circle._y >= 4800) && (money >= 4800)) && (electricHealth < 1)) {
electricHealth = 120;
money = money - 4800;
_root.money_circle._y = _root.money_circle._y - 4800;
_root.purchased_8._alpha = 100;
}
}
Symbol 577 Button
on (press) {
if (((_root.money_circle._y >= 12000) && (money >= 12000)) && (gasGrande == 0)) {
gasGrande = 1;
money = money - 12000;
_root.money_circle._y = _root.money_circle._y - 12000;
_root.purchased_9._alpha = 100;
}
}
Symbol 578 Button
on (press) {
if (((_root.money_circle._y >= 6000) && (money >= 6000)) && (maxHealth < 200)) {
maxHealth = MaxHealth + 10;
_root.m_health_bar._xscale = _root.m_health_bar._xscale + 10;
money = money - 6000;
_root.money_circle._y = _root.money_circle._y - 6000;
_root.purchased_11._alpha = 0;
}
}
Symbol 579 Button
on (press) {
if (((_root.money_circle._y >= 240) && (money >= 240)) && (_root.health_bar._xscale <= (_root.m_health_bar._xscale - 10))) {
damage = damage - 10;
_root.health_bar._xscale = _root.health_bar._xscale + 10;
money = money - 240;
_root.money_circle._y = _root.money_circle._y - 240;
}
}
Symbol 580 Button
on (keyPress "<Space>") {
upgradeSound.stop();
if (gameDay == 2) {
gotoAndStop (7);
} else if (gameDay == 3) {
gotoAndStop (9);
} else if (gameDay == 4) {
gotoAndStop (11);
} else if (gameDay == 5) {
gotoAndStop (13);
} else if (gameDay == 6) {
gotoAndStop (15);
} else if (gameDay == 7) {
gotoAndStop (17);
} else if (gameDay == 8) {
gotoAndStop (19);
} else if (gameDay == 9) {
gotoAndStop (21);
} else if (gameDay == 10) {
gotoAndStop (23);
} else if (gameDay == 11) {
gotoAndStop (25);
} else if (gameDay == 12) {
gotoAndStop (27);
} else if (gameDay > 12) {
gotoAndStop (29);
}
}
Symbol 603 Button
on (keyPress "<Space>") {
gameDay = gameDay + 1;
bankSound.stop();
gotoAndStop (32);
}
Symbol 604 Button
on (press) {
if ((deal <= money) && (deal > 0)) {
money = money - deal;
bankMoney = bankMoney - (deal * -1);
}
}
Symbol 605 Button
on (press) {
if ((deal <= bankMoney) && (deal > 0)) {
bankMoney = bankMoney - deal;
money = money - (deal * -1);
}
}
Symbol 618 Button
on (press) {
nextFrame();
}
Symbol 622 Button
on (press) {
prevFrame();
}
Symbol 791 Button
on (press) {
if (normalMusic == "on") {
normalMusic = "off";
} else if (normalMusic == "off") {
normalMusic = "on";
}
}
Symbol 794 Button
on (press) {
if (bankMusic == "on") {
bankMusic = "off";
} else if (bankMusic == "off") {
bankMusic = "on";
}
}
Symbol 797 Button
on (press) {
if (upgradeMusic == "on") {
upgradeMusic = "off";
} else if (upgradeMusic == "off") {
upgradeMusic = "on";
}
}
Symbol 798 Button
on (press) {
gotoAndStop (4);
}
Symbol 799 Button
on (press) {
difficulty = 1;
difficultyDisplay = "EASY";
}
Symbol 800 Button
on (press) {
difficulty = 2;
difficultyDisplay = "MEDIUM";
}
Symbol 801 Button
on (press) {
difficulty = 3;
difficultyDisplay = "INSANE";
}