Frame 1
Loaded = Math.round(getBytesLoaded());
total = Math.round(getBytesTotal());
percent = Loaded / total;
bar._width = percent * 150;
text = Math.round(percent * 100) + "%";
if (Loaded == total) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 4
stop();
Frame 5
stop();
stopAllSounds();
_global.availcolt = 1;
_global.availauto = 0;
_global.availshot = 0;
_global.currentmission = 0;
_global.dynamite = 3;
_global.infinitelife = 0;
_global.allweapons = 0;
_global.allmissions = 0;
_global.alldynamite = 0;
_global.score = 0;
mainbg = new Sound();
mainbg.attachSound("mainbg");
mainbg.start(0, 10);
blowup1 = new Sound();
blowup1.attachSound("blowup1");
mouseclick = new Sound();
mouseclick.attachSound("mouseclick");
mission1bg = new Sound();
mission1bg.attachSound("mission1bg");
mission2bg = new Sound();
mission2bg.attachSound("mission2bg");
mission3bg = new Sound();
mission3bg.attachSound("mission3bg");
mission4bg = new Sound();
mission4bg.attachSound("mission4bg");
failedbgm = new Sound();
failedbgm.attachSound("failedbgm");
successbgm = new Sound();
successbgm.attachSound("successbgm");
colt = new Sound();
colt.attachSound("colt");
enemyshoot = new Sound();
enemyshoot.attachSound("enemyshoot");
enemyshoot2 = new Sound();
enemyshoot2.attachSound("enemyshoot2");
enemyshoot3 = new Sound();
enemyshoot3.attachSound("enemyshoot3");
impact1 = new Sound();
impact1.attachSound("impact1");
impact2 = new Sound();
impact2.attachSound("impact2");
impact3 = new Sound();
impact3.attachSound("impact3");
impact4 = new Sound();
impact4.attachSound("impact4");
impact5 = new Sound();
impact5.attachSound("impact5");
bodyimpact = new Sound();
bodyimpact.attachSound("bodyimpact");
reload = new Sound();
reload.attachSound("reload");
autofire = new Sound();
autofire.attachSound("autofire");
autoreload = new Sound();
autoreload.attachSound("autoreload");
arrowhit = new Sound();
arrowhit.attachSound("arrowhit");
hurt1 = new Sound();
hurt1.attachSound("hurt1");
hurt2 = new Sound();
hurt2.attachSound("hurt2");
hurt3 = new Sound();
hurt3.attachSound("hurt3");
hurt4 = new Sound();
hurt4.attachSound("hurt4");
arrowshoot = new Sound();
arrowshoot.attachSound("arrowshoot");
arrowmiss = new Sound();
arrowmiss.attachSound("arrowmiss");
Frame 6
stop();
stopAllSounds();
_root.mainbg.start(0, 10);
_global.throwing = 0;
_global.reloading = 0;
_global.mission = "";
_global.shakeme = 0;
_global.enemyshow = 0;
_global.arrowshot = 0;
_global.coltbullet = 8;
_global.automaticbullet = 30;
_global.shotgunbullet = 6;
_global.herolife = 2000;
_global.alert = 0;
_global.shooting = 0;
_global.gunused = "colt";
Instance of Symbol 280 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_global.infinitelife == 1) {
_global.herolife = 2000;
}
if (_global.allweapons == 1) {
_global.availcolt = 1;
_global.availauto = 1;
_global.availshot = 1;
}
if (_global.allmissions == 1) {
_global.currentmission = 4;
}
}
Frame 7
stop();
stopAllSounds();
_root.mission1bg.start(0, 50);
_global.etype = 5;
_global.availcolt = 1;
_global.availauto = 0;
_global.availshot = 0;
Mouse.hide();
Instance of Symbol 532 MovieClip "mission1" in Frame 7
onClipEvent (load) {
origx = _x;
origy = _y;
}
onClipEvent (enterFrame) {
if (_global.shakeme == 1) {
_x = (_x + random(3));
_y = (_y + random(3));
} else {
_x = origx;
_y = origy;
}
}
Instance of Symbol 533 MovieClip in Frame 7
onClipEvent (mouseUp) {
_global.shooting = 0;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.gun.crosshair)) {
if ((_global.reloading == 0) && (_global.mission == "")) {
if (_global.gunused == "colt") {
if (_global.coltbullet > 0) {
_global.shakeme = 0;
_root["new" + _global.coltbullet].removeMovieClip();
_root.colt.start();
_root.gun.revolver.gotoAndStop(2);
_global.totalshots = _global.totalshots + 1;
} else {
_global.reloading = 1;
_root.mission1.cover.gotoAndPlay(2);
_root.mission2.cover.gotoAndPlay(2);
_root.mission3.cover.gotoAndPlay(2);
_root.mission4.cover.gotoAndPlay(2);
_root.gun.revolver.gotoAndPlay(3);
}
} else if (_global.gunused == "automatic") {
if (_global.automaticbullet > 0) {
_global.shooting = 1;
}
} else if (_global.gunused == "shotgun") {
if (_global.shotgunbullet > 0) {
_global.shakeme = 0;
_root["newshot" + _global.shotgunbullet].removeMovieClip();
_root.enemyshoot2.start();
_root.gun.shotgun.gotoAndStop(2);
_global.totalshots = _global.totalshots + 1;
} else {
_global.reloading = 1;
_root.mission1.cover.gotoAndPlay(2);
_root.mission2.cover.gotoAndPlay(2);
_root.mission3.cover.gotoAndPlay(2);
_root.mission4.cover.gotoAndPlay(2);
_root.gun.shotgun.gotoAndPlay(3);
}
}
}
}
}
onClipEvent (enterFrame) {
if (_global.reloading == 0) {
if (Key.isDown(49)) {
_global.gunused = "colt";
_root.gun.gotoAndStop(1);
} else if (Key.isDown(50)) {
if (_global.availauto == 1) {
_global.gunused = "automatic";
_root.gun.gotoAndStop(2);
}
} else if (Key.isDown(51)) {
if (_global.availshot == 1) {
_global.gunused = "shotgun";
_root.gun.gotoAndStop(3);
}
} else if (Key.isDown(32) && (_global.throwing == 0)) {
if (_global.dynamite > 0) {
_root.dynamite.gotoAndPlay(2);
_global.dynamite = _global.dynamite - 1;
}
}
}
if ((_global.automaticbullet > 0) && (_global.reloading == 0)) {
if (_global.shooting == 1) {
_root["newauto" + _global.automaticbullet].removeMovieClip();
_root.gun.automatic.gotoAndStop(2);
} else {
_root.gun.automatic.gotoAndStop(1);
}
} else if ((_global.automaticbullet == 0) && (_global.reloading == 0)) {
_global.reloading = 1;
_root.mission1.cover.gotoAndPlay(2);
_root.mission2.cover.gotoAndPlay(2);
_root.mission3.cover.gotoAndPlay(2);
_root.mission4.cover.gotoAndPlay(2);
_root.gun.automatic.gotoAndPlay(3);
}
}
Instance of Symbol 573 MovieClip "gun" in Frame 7
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 1;
}
onClipEvent (enterFrame) {
endX = _root._xmouse;
endY = _root._ymouse;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 599 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_global.herolife < 1) {
_global.mission = "failed";
_root.gotoAndStop("failed");
}
}
Instance of Symbol 612 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_global.gunused == "colt") {
this.gotoAndStop(1);
this.txtbullet = _global.coltbullet;
}
if (_global.gunused == "shotgun") {
this.gotoAndStop(2);
this.txtbullet = _global.shotgunbullet;
}
if (_global.gunused == "automatic") {
this.gotoAndStop(3);
this.txtbullet = _global.automaticbullet;
}
}
Instance of Symbol 615 MovieClip in Frame 7
onClipEvent (enterFrame) {
this.gotoAndStop(1);
this.txtdynamite = _global.dynamite;
}
Instance of Symbol 618 MovieClip in Frame 7
onClipEvent (load) {
totaltime = 90;
port = 0;
}
onClipEvent (enterFrame) {
if (port == 0) {
totaltime = totaltime - 0.1;
hr = 0;
min = Math.floor((totaltime / 3600) * 60);
sec = Math.floor((((totaltime / 3600) * 60) - min) * 60);
this._parent.txtminutes = min;
this._parent.txtseconds = sec;
if (sec < 10) {
this._parent.txtseconds = "0" + sec;
}
if (min < 10) {
this._parent.txtminutes = "0" + min;
}
}
if (totaltime < 1) {
port = 1;
_global.mission = "success";
_global.currentmission = 1;
_root.gotoAndStop("success");
}
}
Instance of Symbol 625 MovieClip in Frame 7
onClipEvent (enterFrame) {
this.txtscore = _global.score;
}
Frame 8
stop();
stopAllSounds();
_root.mission2bg.start(0, 50);
_global.etype = 11;
_global.availcolt = 1;
_global.availauto = 1;
_global.availshot = 0;
Mouse.hide();
Instance of Symbol 628 MovieClip "mission2" in Frame 8
onClipEvent (load) {
origx = _x;
origy = _y;
}
onClipEvent (enterFrame) {
if (_global.shakeme == 1) {
_x = (_x + random(3));
_y = (_y + random(3));
} else {
_x = origx;
_y = origy;
}
}
Instance of Symbol 618 MovieClip in Frame 8
onClipEvent (load) {
totaltime = 120;
port = 0;
}
onClipEvent (enterFrame) {
if (port == 0) {
totaltime = totaltime - 0.1;
hr = 0;
min = Math.floor((totaltime / 3600) * 60);
sec = Math.floor((((totaltime / 3600) * 60) - min) * 60);
this._parent.txtminutes = min;
this._parent.txtseconds = sec;
if (sec < 10) {
this._parent.txtseconds = "0" + sec;
}
if (min < 10) {
this._parent.txtminutes = "0" + min;
}
}
if (totaltime < 1) {
port = 1;
_global.mission = "success";
_global.currentmission = 2;
_root.gotoAndStop("success");
}
}
Frame 9
stop();
stopAllSounds();
_root.mission3bg.start(0, 50);
_global.etype = 11;
_global.availcolt = 1;
_global.availauto = 1;
_global.availshot = 0;
Mouse.hide();
Instance of Symbol 640 MovieClip "mission3" in Frame 9
onClipEvent (load) {
origx = _x;
origy = _y;
}
onClipEvent (enterFrame) {
if (_global.shakeme == 1) {
_x = (_x + random(3));
_y = (_y + random(3));
} else {
_x = origx;
_y = origy;
}
}
Instance of Symbol 618 MovieClip in Frame 9
onClipEvent (load) {
totaltime = 150;
port = 0;
}
onClipEvent (enterFrame) {
if (port == 0) {
totaltime = totaltime - 0.1;
hr = 0;
min = Math.floor((totaltime / 3600) * 60);
sec = Math.floor((((totaltime / 3600) * 60) - min) * 60);
this._parent.txtminutes = min;
this._parent.txtseconds = sec;
if (sec < 10) {
this._parent.txtseconds = "0" + sec;
}
if (min < 10) {
this._parent.txtminutes = "0" + min;
}
}
if (totaltime < 1) {
port = 1;
_global.mission = "success";
_global.currentmission = 3;
_root.gotoAndStop("success");
}
}
Frame 10
stop();
stopAllSounds();
_root.mission4bg.start(0, 50);
_global.etype = 20;
_global.availcolt = 1;
_global.availauto = 1;
_global.availshot = 1;
Mouse.hide();
Instance of Symbol 650 MovieClip "mission4" in Frame 10
onClipEvent (load) {
origx = _x;
origy = _y;
}
onClipEvent (enterFrame) {
if (_global.shakeme == 1) {
_x = (_x + random(3));
_y = (_y + random(3));
} else {
_x = origx;
_y = origy;
}
}
Instance of Symbol 618 MovieClip in Frame 10
onClipEvent (load) {
totaltime = 180;
port = 0;
}
onClipEvent (enterFrame) {
if (port == 0) {
totaltime = totaltime - 0.1;
hr = 0;
min = Math.floor((totaltime / 3600) * 60);
sec = Math.floor((((totaltime / 3600) * 60) - min) * 60);
this._parent.txtminutes = min;
this._parent.txtseconds = sec;
if (sec < 10) {
this._parent.txtseconds = "0" + sec;
}
if (min < 10) {
this._parent.txtminutes = "0" + min;
}
}
if (totaltime < 1) {
port = 1;
_global.mission = "success";
_global.currentmission = 4;
_root.gotoAndStop("congrats");
}
}
Frame 11
stop();
stopAllSounds();
_root.successbgm.start(0, 2);
Mouse.show();
Frame 12
stop();
stopAllSounds();
_root.failedbgm.start();
Mouse.show();
Frame 13
stop();
stopAllSounds();
_root.successbgm.start(0, 2);
Mouse.show();
Frame 14
stop();
Symbol 14 Button
on (release) {
getURL ("http://www.ultimateflashgame.com", "_blank");
}
Symbol 23 Button
on (press) {
_root.getURL("http://www.addictinggames.com");
}
Symbol 185 MovieClip Frame 98
stop();
Symbol 186 MovieClip Frame 1
_root.stop();
Symbol 186 MovieClip Frame 205
_root.play();
Symbol 198 MovieClip Frame 5
_root.walking.start();
Symbol 198 MovieClip Frame 10
_root.walking.start();
Symbol 198 MovieClip Frame 12
Symbol 219 MovieClip Frame 109
_root.play();
Symbol 250 MovieClip Frame 1
stop();
Symbol 265 Button
on (release) {
_root.mouseclick.start();
_root.gotoAndStop("missions");
}
Symbol 266 Button
on (release) {
_root.mouseclick.start();
getURL ("http://www.addictinggames.com", "_blank");
}
Symbol 273 Button
on (press) {
getURL ("http://www.addictinggames.com", blank);
}
Symbol 278 MovieClip Frame 10
stop();
Symbol 296 Button
on (release) {
_root.mouseclick.start();
if (mymission == 1) {
_root.gotoAndStop("mission1");
} else if (mymission == 2) {
_root.gotoAndStop("mission2");
} else if (mymission == 3) {
_root.gotoAndStop("mission3");
} else if (mymission == 4) {
_root.gotoAndStop("mission4");
}
}
Symbol 297 MovieClip Frame 1
stop();
Symbol 297 MovieClip Frame 2
stop();
Instance of Symbol 297 MovieClip in Symbol 298 MovieClip Frame 1
onClipEvent (load) {
mymission = 1;
this.gotoAndStop(2);
}
Instance of Symbol 297 MovieClip in Symbol 298 MovieClip Frame 1
onClipEvent (load) {
mymission = 2;
}
onClipEvent (enterFrame) {
if (_global.currentmission > 0) {
this.gotoAndStop(2);
}
}
Instance of Symbol 297 MovieClip in Symbol 298 MovieClip Frame 1
onClipEvent (load) {
mymission = 3;
}
onClipEvent (enterFrame) {
if (_global.currentmission > 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 297 MovieClip in Symbol 298 MovieClip Frame 1
onClipEvent (load) {
mymission = 4;
}
onClipEvent (enterFrame) {
if (_global.currentmission > 2) {
this.gotoAndStop(2);
}
}
Symbol 303 Button
on (release) {
_root.mouseclick.start();
if (this.lvlcode.toUpperCase() == "RUM FOR YOUR LIFE") {
_root.hurt2.start();
_global.infinitelife = 1;
}
if (this.lvlcode.toUpperCase() == "GUN CRAZY") {
_root.hurt3.start();
_global.allweapons = 1;
}
if (this.lvlcode.toUpperCase() == "OH I SEE") {
_root.hurt4.start();
_global.allmissions = 1;
}
if (this.lvlcode.toUpperCase() == "GOODBYE EARTH") {
_root.hurt4.start();
_global.dynamite = 99;
}
}
Symbol 326 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 2
stop();
Symbol 326 MovieClip Frame 3
stop();
Symbol 326 MovieClip Frame 4
stop();
Symbol 326 MovieClip Frame 5
stop();
Symbol 326 MovieClip Frame 6
stop();
Symbol 326 MovieClip Frame 7
stop();
Symbol 326 MovieClip Frame 8
stop();
Symbol 326 MovieClip Frame 9
stop();
Symbol 326 MovieClip Frame 10
stop();
Symbol 326 MovieClip Frame 11
stop();
Symbol 326 MovieClip Frame 12
stop();
Symbol 326 MovieClip Frame 13
stop();
Symbol 326 MovieClip Frame 14
stop();
Symbol 326 MovieClip Frame 15
stop();
Symbol 326 MovieClip Frame 16
stop();
Symbol 326 MovieClip Frame 17
stop();
Symbol 326 MovieClip Frame 18
stop();
Symbol 326 MovieClip Frame 19
stop();
Symbol 326 MovieClip Frame 20
stop();
Instance of Symbol 326 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
headvalue = this._parent._parent._parent._parent.headvalue;
this.gotoAndStop(headvalue);
}
Symbol 358 MovieClip Frame 7
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(30);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 70;
} else {
_global.shotmiss = 1;
}
Symbol 358 MovieClip Frame 12
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(30);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 70;
} else {
_global.shotmiss = 1;
}
Symbol 358 MovieClip Frame 17
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(30);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 70;
} else {
_global.shotmiss = 1;
}
Symbol 358 MovieClip Frame 22
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(30);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 70;
} else {
_global.shotmiss = 1;
}
Symbol 358 MovieClip Frame 27
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(30);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 70;
} else {
_global.shotmiss = 1;
}
Symbol 358 MovieClip Frame 32
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(30);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 70;
} else {
_global.shotmiss = 1;
}
Symbol 358 MovieClip Frame 37
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(30);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 70;
} else {
_global.shotmiss = 1;
}
Symbol 358 MovieClip Frame 42
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(30);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 70;
} else {
_global.shotmiss = 1;
}
Symbol 358 MovieClip Frame 57
gotoAndPlay (6);
Symbol 376 MovieClip Frame 10
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(40);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 60;
} else {
_global.shotmiss = 1;
}
Symbol 376 MovieClip Frame 12
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(40);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 60;
} else {
_global.shotmiss = 1;
}
Symbol 376 MovieClip Frame 17
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(40);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 60;
} else {
_global.shotmiss = 1;
}
Symbol 376 MovieClip Frame 19
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(40);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 60;
} else {
_global.shotmiss = 1;
}
Symbol 376 MovieClip Frame 24
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(40);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 60;
} else {
_global.shotmiss = 1;
}
Symbol 376 MovieClip Frame 26
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(40);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 60;
} else {
_global.shotmiss = 1;
}
Symbol 376 MovieClip Frame 31
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(40);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 60;
} else {
_global.shotmiss = 1;
}
Symbol 376 MovieClip Frame 33
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(40);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 60;
} else {
_global.shotmiss = 1;
}
Symbol 376 MovieClip Frame 38
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(40);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 60;
} else {
_global.shotmiss = 1;
}
Symbol 376 MovieClip Frame 40
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(40);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 60;
} else {
_global.shotmiss = 1;
}
Symbol 376 MovieClip Frame 45
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(40);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 60;
} else {
_global.shotmiss = 1;
}
Symbol 376 MovieClip Frame 47
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(40);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 60;
} else {
_global.shotmiss = 1;
}
Symbol 376 MovieClip Frame 52
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(40);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 60;
} else {
_global.shotmiss = 1;
}
Symbol 376 MovieClip Frame 54
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(40);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 60;
} else {
_global.shotmiss = 1;
}
Symbol 376 MovieClip Frame 59
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(40);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 60;
} else {
_global.shotmiss = 1;
}
Symbol 376 MovieClip Frame 61
r = random(3);
if (r == 1) {
_root.enemyshoot.start();
} else if (r == 2) {
_root.enemyshoot2.start();
} else {
r == 3;
}
_root.enemyshoot3.start();
hitx = random(40);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 60;
} else {
_global.shotmiss = 1;
}
Symbol 376 MovieClip Frame 78
gotoAndPlay (10);
Symbol 381 MovieClip Frame 1
_global.shakeme = 1;
Symbol 381 MovieClip Frame 4
_global.shakeme = 0;
_parent.gettingshot = 0;
_parent.gotoAndStop(1);
Symbol 402 MovieClip Frame 1
_global.score = _global.score + 100;
xx = random(5);
if (xx == 1) {
_root.hurt1.start();
} else if (xx == 2) {
_root.hurt2.start();
} else if (xx == 3) {
_root.hurt3.start();
} else {
_root.hurt4.start();
}
Symbol 402 MovieClip Frame 11
_parent._parent.gotoAndStop(1);
Symbol 414 MovieClip Frame 1
_global.score = _global.score + 200;
xx = random(5);
if (xx == 1) {
_root.hurt1.start();
} else if (xx == 2) {
_root.hurt2.start();
} else if (xx == 3) {
_root.hurt3.start();
} else {
_root.hurt4.start();
}
Symbol 414 MovieClip Frame 11
_parent._parent.gotoAndStop(1);
Symbol 426 MovieClip Frame 1
_global.shakeme = 1;
_global.score = _global.score + 50;
xx = random(5);
if (xx == 1) {
_root.hurt1.start();
} else if (xx == 2) {
_root.hurt2.start();
} else if (xx == 3) {
_root.hurt3.start();
} else {
_root.hurt4.start();
}
Symbol 426 MovieClip Frame 4
_global.shakeme = 0;
Symbol 426 MovieClip Frame 7
_parent._parent.gotoAndStop(1);
Symbol 439 MovieClip Frame 1
_global.shakeme = 1;
_global.score = _global.score + 200;
xx = random(5);
if (xx == 1) {
_root.hurt1.start();
} else if (xx == 2) {
_root.hurt2.start();
} else if (xx == 3) {
_root.hurt3.start();
} else {
_root.hurt4.start();
}
Symbol 439 MovieClip Frame 5
_global.shakeme = 0;
Symbol 439 MovieClip Frame 13
_parent._parent.gotoAndStop(1);
Symbol 471 MovieClip Frame 11
_root.enemyshoot2.start();
hitx = random(30);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 100;
} else {
_global.shotmiss = 1;
}
Symbol 471 MovieClip Frame 22
_root.enemyshoot2.start();
hitx = random(30);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 100;
} else {
_global.shotmiss = 1;
}
Symbol 471 MovieClip Frame 35
_root.enemyshoot2.start();
hitx = random(30);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 100;
} else {
_global.shotmiss = 1;
}
Symbol 471 MovieClip Frame 47
_root.enemyshoot2.start();
hitx = random(30);
if (hitx == 1) {
_global.shotmiss = 0;
_root.heroshot.gotoAndPlay(2);
_root.bodyimpact.start();
_global.herolife = _global.herolife - 100;
} else {
_global.shotmiss = 1;
}
Symbol 471 MovieClip Frame 52
gotoAndPlay (15);
Symbol 500 MovieClip Frame 17
_root.arrowshoot.start();
hitx = random(20);
if (hitx == 1) {
_global.arrowshot = 0;
_root.heroshot.gotoAndPlay(2);
_root.arrowhit.start();
_global.herolife = _global.herolife - 200;
} else {
_global.arrowshot = 1;
}
Symbol 500 MovieClip Frame 18
_global.arrowshot = 0;
Symbol 500 MovieClip Frame 30
_root.arrowshoot.start();
hitx = random(20);
if (hitx == 1) {
_global.arrowshot = 0;
_root.heroshot.gotoAndPlay(2);
_root.arrowhit.start();
_global.herolife = _global.herolife - 200;
} else {
_global.arrowshot = 1;
}
Symbol 500 MovieClip Frame 31
_global.arrowshot = 0;
Symbol 500 MovieClip Frame 34
gotoAndPlay (8);
Symbol 501 MovieClip Frame 1
stop();
Symbol 501 MovieClip Frame 2
stop();
Symbol 501 MovieClip Frame 3
stop();
Symbol 501 MovieClip Frame 4
stop();
Symbol 501 MovieClip Frame 5
_global.shakeme = 0;
_global.enemyshow = 0;
stop();
Symbol 501 MovieClip Frame 6
_global.shakeme = 0;
_global.enemyshow = 0;
stop();
Symbol 501 MovieClip Frame 7
_global.shakeme = 0;
_global.enemyshow = 0;
stop();
Symbol 501 MovieClip Frame 8
stop();
Symbol 501 MovieClip Frame 9
stop();
Symbol 501 MovieClip Frame 10
stop();
Symbol 504 MovieClip Frame 1
headvalue = random(_global.etype);
if (_global.allmissions == 1) {
if (_global.currentmission == 4) {
if (headvalue < 11) {
headvalue = random(_global.etype);
}
}
} else if (_global.currentmission > 2) {
if (headvalue < 11) {
headvalue = 13;
}
}
stop();
Instance of Symbol 501 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.alert == 1) {
xx = random(70);
if (xx == 10) {
_global.enemyshow = 1;
_parent.gotoAndPlay(2);
}
}
}
Symbol 504 MovieClip Frame 8
stop();
Instance of Symbol 501 MovieClip "enemy" in Symbol 504 MovieClip Frame 8
onClipEvent (load) {
alive = 1;
life = 100;
headshot = 0;
gettingshot = 0;
}
onClipEvent (enterFrame) {
if ((alive == 1) && (gettingshot == 0)) {
if (_parent.headvalue > 5) {
if (_parent.headvalue < 11) {
if (_parent.headvalue > 8) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
} else if (_parent.headvalue > 13) {
this.gotoAndStop("shoot3");
} else {
this.gotoAndStop("shoot4");
}
} else {
this.gotoAndStop(2);
}
}
if ((life < 1) && (alive == 1)) {
alive = 0;
if ((headshot == 0) && (_global.gunused != "shotgun")) {
this.gotoAndStop("dead1");
} else if ((headshot == 1) && (_global.gunused == "colt")) {
this.gotoAndStop("dead2");
} else if ((headshot == 1) && (_global.gunused == "automatic")) {
this.gotoAndStop("dead4");
} else if ((headshot == 1) && (_global.gunused == "shotgun")) {
this.gotoAndStop("dead4");
} else {
this.gotoAndStop("dead3");
}
}
}
Instance of Symbol 503 MovieClip in Symbol 504 MovieClip Frame 8
onClipEvent (mouseDown) {
if (_global.reloading == 0) {
if (_global.gunused == "colt") {
if ((this.hitTest(_root.gun.crosshair) && (_parent.enemy.gettingshot == 0)) && (_global.coltbullet > 0)) {
_parent.enemy.headshot = 1;
_parent.enemy.gettingshot = 1;
_parent.enemy.life = _parent.enemy.life - 50;
_parent.enemy.gotoAndStop("hurt");
}
} else if (_global.gunused == "shotgun") {
if ((this.hitTest(_root.gun.crosshair1) && (_parent.enemy.gettingshot == 0)) && (_global.shotgunbullet > 0)) {
_parent.enemy.headshot = 1;
_parent.enemy.gettingshot = 1;
_parent.enemy.life = _parent.enemy.life - 35;
_parent.enemy.gotoAndStop("hurt");
} else if ((this.hitTest(_root.gun.crosshair2) && (_parent.enemy.gettingshot == 0)) && (_global.shotgunbullet > 0)) {
_parent.enemy.headshot = 1;
_parent.enemy.gettingshot = 1;
_parent.enemy.life = _parent.enemy.life - 35;
_parent.enemy.gotoAndStop("hurt");
} else if ((this.hitTest(_root.gun.crosshair) && (_parent.enemy.gettingshot == 0)) && (_global.shotgunbullet > 0)) {
_parent.enemy.gettingshot = 1;
_parent.enemy.life = 0;
_parent.enemy.gotoAndStop("dead3");
}
}
}
}
onClipEvent (enterFrame) {
if (_global.gunused == "automatic") {
if (((this.hitTest(_root.gun.crosshair) && (_parent.enemy.gettingshot == 0)) && (_global.shooting == 1)) && (_global.automaticbullet > 0)) {
_parent.enemy.headshot = 1;
_parent.enemy.gettingshot = 1;
_parent.enemy.life = _parent.enemy.life - 50;
_parent.enemy.gotoAndStop("hurt");
}
}
}
Instance of Symbol 503 MovieClip in Symbol 504 MovieClip Frame 8
onClipEvent (mouseDown) {
if (_global.reloading == 0) {
if (_global.gunused == "colt") {
if (this.hitTest(_root.gun.crosshair) && (_parent.enemy.gettingshot == 0)) {
_parent.enemy.headshot = 0;
_parent.enemy.gettingshot = 1;
_parent.enemy.life = _parent.enemy.life - 50;
_parent.enemy.gotoAndStop("hurt");
}
} else if (_global.gunused == "shotgun") {
if (this.hitTest(_root.gun.crosshair1) && (_parent.enemy.gettingshot == 0)) {
_parent.enemy.headshot = 1;
_parent.enemy.gettingshot = 1;
_parent.enemy.life = _parent.enemy.life - 35;
_parent.enemy.gotoAndStop("hurt");
} else if (this.hitTest(_root.gun.crosshair2) && (_parent.enemy.gettingshot == 0)) {
_parent.enemy.headshot = 1;
_parent.enemy.gettingshot = 1;
_parent.enemy.life = _parent.enemy.life - 35;
_parent.enemy.gotoAndStop("hurt");
} else if (this.hitTest(_root.gun.crosshair) && (_parent.enemy.gettingshot == 0)) {
_parent.enemy.gettingshot = 1;
_parent.enemy.life = 0;
_parent.enemy.gotoAndStop("dead3");
}
}
}
}
onClipEvent (enterFrame) {
if (_global.gunused == "automatic") {
if ((this.hitTest(_root.gun.crosshair) && (_parent.enemy.gettingshot == 0)) && (_global.shooting == 1)) {
_parent.enemy.gettingshot = 1;
_parent.enemy.life = _parent.enemy.life - 35;
_parent.enemy.gotoAndStop("hurt");
}
}
if (this.hitTest(_root.dynamite.explosion)) {
_parent.enemy.life = 0;
_parent.enemy.gotoAndStop("dead3");
}
}
Symbol 519 MovieClip Frame 1
stop();
Symbol 525 MovieClip Frame 1
stop();
Symbol 526 MovieClip Frame 1
stop();
Symbol 531 MovieClip Frame 38
_global.alert = 1;
stop();
Instance of Symbol 526 MovieClip "cover" in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.mission != "") {
} else if (_global.enemyshow == 1) {
if (_global.arrowshot == 1) {
arr = random(20);
if (arr == 1) {
arrow1.gotoAndPlay(2);
_root.arrowimpact.start();
} else if (arr == 2) {
arrow2.gotoAndPlay(2);
_root.arrowimpact.start();
} else if (arr == 3) {
arrow3.gotoAndPlay(2);
_root.arrowimpact.start();
} else if (arr == 4) {
arrow4.gotoAndPlay(2);
_root.arrowimpact.start();
}
}
if (_global.shotmiss == 1) {
r = random(15);
if (r == 1) {
im1.gotoAndPlay(2);
_root.impact1.start();
} else if (r == 2) {
im2.gotoAndPlay(2);
_root.impact2.start();
} else if (r == 3) {
im3.gotoAndPlay(2);
_root.impact3.start();
} else if (r == 4) {
im4.gotoAndPlay(2);
_root.impact4.start();
} else if (r == 5) {
im5.gotoAndPlay(2);
_root.impact5.start();
} else if (r == 6) {
_root.impact2.start();
} else if (r == 7) {
_root.impact2.start();
} else if (r == 8) {
_root.impact7.start();
}
_global.shotmiss = 0;
}
}
}
Symbol 540 MovieClip Frame 1
_global.reloading = 1;
_global.coltbullet = _global.coltbullet - 1;
Symbol 540 MovieClip Frame 4
_global.reloading = 0;
_global.shooting = 0;
_parent.gotoAndStop(1);
Symbol 542 MovieClip Frame 1
stop();
Symbol 542 MovieClip Frame 2
stop();
Symbol 542 MovieClip Frame 3
_global.reloading = 1;
Symbol 542 MovieClip Frame 18
_root.reload.start();
Symbol 542 MovieClip Frame 25
_global.coltbullet = 8;
Symbol 542 MovieClip Frame 32
_global.reloading = 0;
Symbol 550 MovieClip Frame 2
_root.autofire.start();
_global.automaticbullet = _global.automaticbullet - 1;
Symbol 555 MovieClip Frame 1
stop();
Symbol 555 MovieClip Frame 2
stop();
Symbol 555 MovieClip Frame 3
_global.reloading = 1;
Symbol 555 MovieClip Frame 10
_root.autoreload.start();
Symbol 555 MovieClip Frame 30
_global.reloading = 0;
_global.shooting = 0;
_global.automaticbullet = 30;
Symbol 570 MovieClip Frame 1
_global.reloading = 1;
_global.shotgunbullet = _global.shotgunbullet - 1;
Symbol 570 MovieClip Frame 8
_global.shooting = 0;
_global.reloading = 0;
_parent.gotoAndStop(1);
Symbol 572 MovieClip Frame 1
stop();
Symbol 572 MovieClip Frame 2
stop();
Symbol 572 MovieClip Frame 3
_global.reloading = 1;
Symbol 572 MovieClip Frame 16
_root.reload.start();
Symbol 572 MovieClip Frame 21
_root.reload.start();
Symbol 572 MovieClip Frame 26
_root.reload.start();
Symbol 572 MovieClip Frame 30
_global.shotgunbullet = 6;
Symbol 572 MovieClip Frame 35
_global.reloading = 0;
Symbol 573 MovieClip Frame 1
_global.gundamage = 25;
stop();
Symbol 573 MovieClip Frame 2
stop();
Symbol 573 MovieClip Frame 3
stop();
Symbol 589 MovieClip Frame 13
stop();
Symbol 590 MovieClip Frame 1
stop();
Symbol 590 MovieClip Frame 2
_global.throwing = 1;
Symbol 590 MovieClip Frame 15
_root.blowup1.start();
Symbol 590 MovieClip Frame 28
_global.throwing = 0;
stop();
Symbol 593 MovieClip Frame 1
stop();
Instance of Symbol 595 MovieClip in Symbol 599 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _global.herolife;
}
Symbol 612 MovieClip Frame 1
stop();
Symbol 612 MovieClip Frame 2
stop();
Symbol 612 MovieClip Frame 3
stop();
Instance of Symbol 526 MovieClip "cover" in Symbol 628 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.mission != "") {
} else if (_global.enemyshow == 1) {
if (_global.arrowshot == 1) {
arr = random(20);
if (arr == 1) {
arrow1.gotoAndPlay(2);
_root.arrowimpact.start();
} else if (arr == 2) {
arrow2.gotoAndPlay(2);
_root.arrowimpact.start();
} else if (arr == 3) {
arrow3.gotoAndPlay(2);
_root.arrowimpact.start();
} else if (arr == 4) {
arrow4.gotoAndPlay(2);
_root.arrowimpact.start();
}
}
if (_global.shotmiss == 1) {
r = random(15);
if (r == 1) {
im1.gotoAndPlay(2);
_root.impact1.start();
} else if (r == 2) {
im2.gotoAndPlay(2);
_root.impact2.start();
} else if (r == 3) {
im3.gotoAndPlay(2);
_root.impact3.start();
} else if (r == 4) {
im4.gotoAndPlay(2);
_root.impact4.start();
} else if (r == 5) {
im5.gotoAndPlay(2);
_root.impact5.start();
} else if (r == 6) {
_root.impact2.start();
} else if (r == 7) {
_root.impact2.start();
} else if (r == 8) {
_root.impact7.start();
}
_global.shotmiss = 0;
}
}
}
Instance of Symbol 526 MovieClip "cover" in Symbol 640 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.mission != "") {
} else if (_global.enemyshow == 1) {
if (_global.arrowshot == 1) {
arr = random(20);
if (arr == 1) {
arrow1.gotoAndPlay(2);
_root.arrowimpact.start();
} else if (arr == 2) {
arrow2.gotoAndPlay(2);
_root.arrowimpact.start();
} else if (arr == 3) {
arrow3.gotoAndPlay(2);
_root.arrowimpact.start();
} else if (arr == 4) {
arrow4.gotoAndPlay(2);
_root.arrowimpact.start();
}
}
if (_global.shotmiss == 1) {
r = random(15);
if (r == 1) {
im1.gotoAndPlay(2);
_root.impact1.start();
} else if (r == 2) {
im2.gotoAndPlay(2);
_root.impact2.start();
} else if (r == 3) {
im3.gotoAndPlay(2);
_root.impact3.start();
} else if (r == 4) {
im4.gotoAndPlay(2);
_root.impact4.start();
} else if (r == 5) {
im5.gotoAndPlay(2);
_root.impact5.start();
} else if (r == 6) {
_root.impact2.start();
} else if (r == 7) {
_root.impact2.start();
} else if (r == 8) {
_root.impact7.start();
}
_global.shotmiss = 0;
}
}
}
Instance of Symbol 526 MovieClip "cover" in Symbol 650 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.mission != "") {
} else if (_global.enemyshow == 1) {
if (_global.arrowshot == 1) {
arr = random(20);
if (arr == 1) {
arrow1.gotoAndPlay(2);
_root.arrowimpact.start();
} else if (arr == 2) {
arrow2.gotoAndPlay(2);
_root.arrowimpact.start();
} else if (arr == 3) {
arrow3.gotoAndPlay(2);
_root.arrowimpact.start();
} else if (arr == 4) {
arrow4.gotoAndPlay(2);
_root.arrowimpact.start();
}
}
if (_global.shotmiss == 1) {
r = random(15);
if (r == 1) {
im1.gotoAndPlay(2);
_root.impact1.start();
} else if (r == 2) {
im2.gotoAndPlay(2);
_root.impact2.start();
} else if (r == 3) {
im3.gotoAndPlay(2);
_root.impact3.start();
} else if (r == 4) {
im4.gotoAndPlay(2);
_root.impact4.start();
} else if (r == 5) {
im5.gotoAndPlay(2);
_root.impact5.start();
} else if (r == 6) {
_root.impact2.start();
} else if (r == 7) {
_root.impact2.start();
} else if (r == 8) {
_root.impact7.start();
}
_global.shotmiss = 0;
}
}
}
Symbol 658 Button
on (release) {
_root.gotoAndStop("missions");
}
Symbol 659 Button
on (release) {
getURL ("http://www.addictinggames.com", "_blank");
}
Symbol 665 Button
on (release) {
_root.gotoAndStop("cheater");
}
Symbol 666 Button
on (release) {
getURL ("http://www.ultimateflashgame.com", "_blank");
}
Symbol 672 Button
on (release) {
_root.gotoAndStop("game");
}
Symbol 681 Button
on (release) {
cheatlist._alpha = 100;
}
Symbol 682 Button
on (release) {
_root.gotoAndStop("missions");
}