Frame 1
Stage.showMenu = false;
stop();
Frame 48
stop();
spacecount = 0;
timerlength = 60;
error = "";
thename1.onChanged = function () {
error = "";
};
Frame 49
prevFrame();
Frame 79
if (_root.map == "backalley") {
gotoAndStop ("backalley");
}
if (_root.map == "lobby") {
gotoAndStop ("lobby");
}
if (_root.map == "subway") {
gotoAndStop ("subway");
}
if (_root.map == "ruins") {
gotoAndStop ("ruins");
}
onEnterFrame = function () {
};
Frame 80
stop();
currenttimeCOUNTDOWN1._visible = false;
reloading = false;
starttime = getTimer();
ammo = 12;
shotsfired = 0;
numdestroyed = 0;
onEnterFrame = function () {
var _local1 = _root;
points = numdestroyed * 150;
Mouse.hide();
crosshair._x = _local1._xmouse;
crosshair._y = _local1._ymouse;
shot._x = _local1._xmouse;
shot._y = _local1._ymouse;
gun._x = _local1._xmouse + 240;
if (_local1._ymouse < 306) {
gun._y = 387.15;
gun._rotation = (_local1._ymouse / -10) + 22;
}
if (_local1._ymouse >= 306) {
gun._y = _local1._ymouse + 82.15;
}
if (numdestroyed == 3) {
num3.play();
}
if (numdestroyed == 5) {
num5.play();
}
if (numdestroyed == 6) {
num6.play();
}
currenttime = Number(timerlength - ((getTimer() - starttime) / 1000));
currenttimeDISPLAY = "timer: " + Math.ceil(currenttime);
currenttimeCOUNTDOWN = Math.ceil(currenttime);
if (currenttime <= 0) {
gotoAndPlay ("resultspage");
}
if (currenttime < 5) {
currenttimeCOUNTDOWN1._visible = true;
}
};
Instance of Symbol 139 MovieClip "shot" in Frame 80
onClipEvent (mouseDown) {
if ((_root.ammo > 0) && (_root.reloading == false)) {
_root.shot.play();
_root.gun.play();
_root.shothole._x = _root._xmouse;
_root.shothole._y = _root._ymouse;
_root.shothole.play();
_root.ammo = _root.ammo - 1;
_root.shotsfired = _root.shotsfired + 1;
gunshot = new Sound();
gunshot.attachSound("gunshot1");
gunshot.setVolume(60);
gunshot.start(0, 1);
}
if ((_root.ammo <= 0) && (_root.reloading == false)) {
_root.gun.gotoAndPlay("empty1");
empty1 = new Sound();
empty1.attachSound("empty1");
empty1.start(0, 1);
_root.reloadnotice.play();
}
}
onClipEvent (keyDown) {
lastpressed = Key.getCode();
if (lastpressed == 82) {
if (_root.ammo < 12) {
_root.gun.gotoAndPlay("reload");
_root.reloadnotice.gotoAndStop(1);
}
}
}
Frame 82
stop();
deploytheboosh = false;
currenttimeCOUNTDOWN1._visible = false;
reloading = false;
starttime = getTimer();
ammo = 12;
shotsfired = 0;
numdestroyed = 0;
onEnterFrame = function () {
var _local1 = _root;
points = numdestroyed * 150;
Mouse.hide();
crosshair._x = _local1._xmouse;
crosshair._y = _local1._ymouse;
shot._x = _local1._xmouse;
shot._y = _local1._ymouse;
gun._x = _local1._xmouse + 240;
if (_local1._ymouse < 306) {
gun._y = 387.15;
gun._rotation = (_local1._ymouse / -10) + 22;
}
if (_local1._ymouse >= 306) {
gun._y = _local1._ymouse + 82.15;
}
if (numdestroyed == 3) {
num3.play();
}
if (numdestroyed == 5) {
num5.play();
}
if (numdestroyed == 6) {
num6.play();
}
currenttime = Number(timerlength - ((getTimer() - starttime) / 1000));
currenttimeDISPLAY = "timer: " + Math.ceil(currenttime);
currenttimeCOUNTDOWN = Math.ceil(currenttime);
if (currenttime <= 0) {
gotoAndPlay (88);
}
if (currenttime < 5) {
currenttimeCOUNTDOWN1._visible = true;
}
if (points >= 2200) {
deploytheboosh = true;
}
};
Instance of Symbol 139 MovieClip "shot" in Frame 82
onClipEvent (mouseDown) {
if ((_root.ammo > 0) && (_root.reloading == false)) {
_root.shot.play();
_root.gun.play();
_root.shothole._x = _root._xmouse;
_root.shothole._y = _root._ymouse;
_root.shothole.play();
_root.ammo = _root.ammo - 1;
_root.shotsfired = _root.shotsfired + 1;
gunshot = new Sound();
gunshot.attachSound("gunshot1");
gunshot.setVolume(60);
gunshot.start(0, 1);
}
if ((_root.ammo <= 0) && (_root.reloading == false)) {
_root.gun.gotoAndPlay("empty1");
empty1 = new Sound();
empty1.attachSound("empty1");
empty1.start(0, 1);
}
}
onClipEvent (keyDown) {
lastpressed = Key.getCode();
if (lastpressed == 82) {
if (_root.ammo < 12) {
_root.gun.gotoAndPlay("reload");
}
}
}
Frame 83
gotoAndStop (82);
Frame 84
stop();
deploytheboosh = false;
currenttimeCOUNTDOWN1._visible = false;
reloading = false;
starttime = getTimer();
ammo = 12;
shotsfired = 0;
numdestroyed = 0;
onEnterFrame = function () {
var _local1 = _root;
points = numdestroyed * 150;
Mouse.hide();
crosshair._x = _local1._xmouse;
crosshair._y = _local1._ymouse;
shot._x = _local1._xmouse;
shot._y = _local1._ymouse;
gun._x = _local1._xmouse + 240;
if (_local1._ymouse < 306) {
gun._y = 387.15;
gun._rotation = (_local1._ymouse / -10) + 22;
}
if (_local1._ymouse >= 306) {
gun._y = _local1._ymouse + 82.15;
}
if (numdestroyed == 3) {
num3.play();
}
if (numdestroyed == 5) {
num5.play();
}
if (numdestroyed == 6) {
num6.play();
}
currenttime = Number(timerlength - ((getTimer() - starttime) / 1000));
currenttimeDISPLAY = "timer: " + Math.ceil(currenttime);
currenttimeCOUNTDOWN = Math.ceil(currenttime);
if (currenttime <= 0) {
gotoAndPlay (88);
}
if (currenttime < 5) {
currenttimeCOUNTDOWN1._visible = true;
}
if (points >= 2200) {
deploytheboosh = true;
}
};
Instance of Symbol 139 MovieClip "shot" in Frame 84
onClipEvent (mouseDown) {
if ((_root.ammo > 0) && (_root.reloading == false)) {
_root.shot.play();
_root.gun.play();
_root.shothole._x = _root._xmouse;
_root.shothole._y = _root._ymouse;
_root.shothole.play();
_root.ammo = _root.ammo - 1;
_root.shotsfired = _root.shotsfired + 1;
gunshot = new Sound();
gunshot.attachSound("gunshot1");
gunshot.setVolume(60);
gunshot.start(0, 1);
}
if ((_root.ammo <= 0) && (_root.reloading == false)) {
_root.gun.gotoAndPlay("empty1");
empty1 = new Sound();
empty1.attachSound("empty1");
empty1.start(0, 1);
}
}
onClipEvent (keyDown) {
lastpressed = Key.getCode();
if (lastpressed == 82) {
if (_root.ammo < 12) {
_root.gun.gotoAndPlay("reload");
}
}
}
Frame 85
gotoAndStop (84);
Frame 86
stop();
stop();
deploytheboosh = false;
this.currenttimeCOUNTDOWN1._visible = false;
reloading = false;
starttime = getTimer();
ammo = 12;
shotsfired = 0;
numdestroyed = 0;
onEnterFrame = function () {
var _local1 = _root;
points = numdestroyed * 150;
Mouse.hide();
crosshair._x = _local1._xmouse;
crosshair._y = _local1._ymouse;
shot._x = _local1._xmouse;
shot._y = _local1._ymouse;
gun._x = _local1._xmouse + 240;
if (_local1._ymouse < 306) {
gun._y = 387.15;
gun._rotation = (_local1._ymouse / -10) + 22;
}
if (_local1._ymouse >= 306) {
gun._y = _local1._ymouse + 82.15;
}
if (numdestroyed == 3) {
num3.play();
}
if (numdestroyed == 5) {
num5.play();
}
if (numdestroyed == 6) {
num6.play();
}
currenttime = Number(timerlength - ((getTimer() - starttime) / 1000));
currenttimeDISPLAY = "timer: " + Math.ceil(currenttime);
currenttimeCOUNTDOWN = Math.ceil(currenttime);
if (currenttime <= 0) {
gotoAndPlay (88);
}
if (currenttime < 5) {
this.currenttimeCOUNTDOWN1._visible = true;
}
if (points >= 2200) {
deploytheboosh = true;
}
};
Instance of Symbol 139 MovieClip "shot" in Frame 86
onClipEvent (mouseDown) {
if ((_root.ammo > 0) && (_root.reloading == false)) {
_root.shot.play();
_root.gun.play();
_root.shothole._x = _root._xmouse;
_root.shothole._y = _root._ymouse;
_root.shothole.play();
_root.ammo = _root.ammo - 1;
_root.shotsfired = _root.shotsfired + 1;
gunshot = new Sound();
gunshot.attachSound("gunshot1");
gunshot.setVolume(60);
gunshot.start(0, 1);
}
if ((_root.ammo <= 0) && (_root.reloading == false)) {
_root.gun.gotoAndPlay("empty1");
empty1 = new Sound();
empty1.attachSound("empty1");
empty1.start(0, 1);
}
}
onClipEvent (keyDown) {
lastpressed = Key.getCode();
if (lastpressed == 82) {
if (_root.ammo < 12) {
_root.gun.gotoAndPlay("reload");
}
}
}
Frame 87
prevFrame();
Frame 88
Mouse.show();
play();
onEnterFrame = function () {
};
Frame 93
stop();
if (_root.points >= 3000) {
gotoAndStop ("goodscore");
}
if (_root.points < 3000) {
gotoAndStop ("badscore");
}
Frame 94
finalscore111 = ("" + _root.points) + " points!";
Frame 95
prevFrame();
Frame 97
prevFrame();
Symbol 6 MovieClip [shothole] Frame 19
stop();
Symbol 11 MovieClip Frame 1
onEnterFrame = function () {
var _local1 = _root;
bytesloaded = _local1.getBytesLoaded();
bytestotal = _local1.getBytesTotal();
percent = Math.ceil((bytesloaded / bytestotal) * 100);
displaypercent = percent + "% LOADED";
bytesleft = Math.ceil(bytestotal - bytesloaded);
display = ("" + bytesleft) + " BYTES REMAINING";
if ((bytesleft <= 0) || (percent >= 100)) {
_local1.play();
}
};
Symbol 43 Button
on (press) {
_root.map = "backalley";
gotoAndPlay (50);
}
Symbol 44 Button
on (press) {
_root.map = "lobby";
gotoAndPlay (50);
}
Symbol 45 Button
on (press) {
_root.map = "subway";
gotoAndPlay (50);
}
Symbol 47 Button
on (press) {
_root.map = "ruins";
gotoAndPlay (50);
}
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 2
stop();
Symbol 67 MovieClip Frame 3
stop();
Symbol 67 MovieClip Frame 4
stop();
Symbol 67 MovieClip Frame 5
stop();
Symbol 67 MovieClip Frame 6
stop();
Symbol 67 MovieClip Frame 7
stop();
Symbol 67 MovieClip Frame 8
stop();
Symbol 67 MovieClip Frame 9
stop();
Symbol 70 Button
on (press) {
if (_root.ammo > 0) {
_root.shot.metal.play();
}
}
Symbol 72 Button
on (press) {
if (_root.ammo > 0) {
_root.shot.wood.play();
}
}
Symbol 78 MovieClip Frame 1
stop();
Symbol 81 Button
on (press) {
if (_root.ammo > 0) {
if (_root.reloading == false) {
_root.sound.play();
}
}
}
Symbol 83 Button
on (press) {
if (_root.ammo > 0) {
if (_root.reloading == false) {
hits = 0;
play();
}
}
}
Symbol 92 MovieClip Frame 1
if (dead == true) {
play();
respawn.play();
}
Symbol 92 MovieClip Frame 2
stop();
hits = 3;
onEnterFrame = function () {
if (hits == 0) {
play();
}
};
_root.invisible1 = false;
Symbol 92 MovieClip Frame 3
_root.numdestroyed = _root.numdestroyed + 1;
_root.invisible1 = true;
Symbol 92 MovieClip Frame 35
stop();
onEnterFrame = function () {
};
dead = true;
gotoAndStop (1);
Symbol 97 MovieClip Frame 1
onEnterFrame = function () {
if (_root.invisible1 == true) {
shade._visible = false;
}
if (_root.invisible1 == false) {
shade._visible = true;
}
};
Symbol 100 MovieClip Frame 1
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 100 MovieClip Frame 22
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 100 MovieClip Frame 43
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 101 MovieClip Frame 1
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 101 MovieClip Frame 75
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 101 MovieClip Frame 162
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 105 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 1
stop();
_root.reloading = false;
Symbol 110 MovieClip Frame 2
shell.gotoAndPlay(2);
Symbol 110 MovieClip Frame 6
stop();
Symbol 110 MovieClip Frame 7
shell.gotoAndPlay(2);
Symbol 110 MovieClip Frame 11
stop();
Symbol 110 MovieClip Frame 12
shell.gotoAndPlay(2);
Symbol 110 MovieClip Frame 16
stop();
Symbol 110 MovieClip Frame 17
shell.gotoAndPlay(2);
Symbol 110 MovieClip Frame 21
stop();
Symbol 110 MovieClip Frame 22
shell.gotoAndPlay(2);
Symbol 110 MovieClip Frame 26
stop();
Symbol 110 MovieClip Frame 27
shell.gotoAndPlay(2);
Symbol 110 MovieClip Frame 31
gotoAndStop (1);
Symbol 110 MovieClip Frame 32
_root.reloading = false;
Symbol 110 MovieClip Frame 36
stop();
Symbol 110 MovieClip Frame 37
_root.reloading = true;
Symbol 110 MovieClip Frame 42
_root.ammo = 12;
Symbol 110 MovieClip Frame 48
_root.reloading = false;
Symbol 116 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.reloading == true) {
gotoAndStop (2);
}
if (_root.ammo <= 0) {
gotoAndStop (3);
}
};
Symbol 116 MovieClip Frame 2
stop();
onEnterFrame = function () {
if (_root.reloading == false) {
gotoAndStop (1);
}
};
reloadtext.play();
Symbol 116 MovieClip Frame 3
stop();
onEnterFrame = function () {
if (_root.ammo > 0) {
gotoAndStop (1);
}
};
reloadtext.play();
Symbol 121 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 3
stop();
Symbol 139 MovieClip Frame 5
stop();
Symbol 155 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.ammo + 1);
};
Symbol 160 MovieClip Frame 1
onEnterFrame = function () {
thefinalcountdown.text = _root.currenttimeCOUNTDOWN;
};
Symbol 168 Button
on (keyPress "<Space>") {
_root.spacecount = _root.spacecount + 1;
}
Symbol 172 Button
on (press) {
if (_root.ammo > 0) {
if (_root.reloading == false) {
hits = 0;
play();
_root.points = _root.points + 50;
_root.bonus.gotoAndPlay(2);
}
}
}
Symbol 176 MovieClip Frame 1
if (dead == true) {
play();
respawn.play();
}
Symbol 176 MovieClip Frame 2
stop();
hits = 3;
onEnterFrame = function () {
if (hits == 0) {
play();
}
};
_root.invisible1 = false;
Symbol 176 MovieClip Frame 3
_root.numdestroyed = _root.numdestroyed + 1;
_root.invisible1 = true;
Symbol 176 MovieClip Frame 90
stop();
onEnterFrame = function () {
};
dead = true;
gotoAndStop (1);
Symbol 183 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 12
stop();
onEnterFrame = function () {
if (_root.ammo > 0) {
gotoAndStop (1);
}
};
Symbol 186 MovieClip Frame 13
prevFrame();
Symbol 191 MovieClip Frame 1
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 193 MovieClip Frame 1
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 194 MovieClip Frame 1
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 197 MovieClip Frame 1
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 197 MovieClip Frame 25
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 197 MovieClip Frame 48
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 198 MovieClip Frame 1
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 198 MovieClip Frame 39
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 198 MovieClip Frame 81
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 199 MovieClip Frame 1
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 199 MovieClip Frame 50
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 199 MovieClip Frame 102
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 201 Button
on (press) {
if (_root.ammo > 0) {
if (_root.reloading == false) {
hits = 0;
play();
_root.points = _root.points + 50;
_root.bonus.play();
}
}
}
Symbol 202 MovieClip Frame 1
if (dead == true) {
play();
respawn.play();
}
Symbol 202 MovieClip Frame 2
stop();
hits = 3;
onEnterFrame = function () {
if (hits == 0) {
play();
}
};
_root.invisible1 = false;
Symbol 202 MovieClip Frame 3
_root.numdestroyed = _root.numdestroyed + 1;
_root.invisible1 = true;
Symbol 202 MovieClip Frame 35
stop();
onEnterFrame = function () {
};
dead = true;
gotoAndStop (1);
Symbol 203 MovieClip Frame 1
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 203 MovieClip Frame 20
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 203 MovieClip Frame 37
onEnterFrame = function () {
if (enemyinside._currentframe != 2) {
shado._visible = false;
}
if (enemyinside._currentframe == 2) {
shado._visible = true;
}
};
Symbol 212 Button
on (press) {
gotoAndPlay ("startpage");
}
Symbol 217 Button
on (press) {
getURL (("http://www.playaholics.com/comp_entry.php?developer=ya3&game=fireatwill&score=" + _root.points) + "");
}
Symbol 221 Button
on (press) {
gotoAndPlay ("startpage");
}