Frame 1
totalBytes = this.getBytesTotal();
loadedBytes = this.getBytesLoaded();
remainingBytes = totalBytes - loadedBytes;
percentDone = int((loadedBytes / totalBytes) * 100);
totalBytes = this.getBytesTotal();
loadedBytes = this.getBytesLoaded();
remainingBytes = totalBytes - loadedBytes;
percentBar = int((loadedBytes / totalBytes) * 100);
percent = int((loadedBytes / totalBytes) * 100);
percentDone = percent + "%";
bar.gotoAndStop(percentBar);
if (_framesloaded == _totalframes) {
gotoAndPlay (3);
}
Frame 2
_root.gotoAndPlay(1);
Frame 3
stop();
gotoAndStop (5);
Frame 5
_root.loopy = new Sound();
_root.loopy.attachSound("loop");
_root.hooray = new Sound();
_root.hooray.attachSound("hooray");
var gravity = 3.2;
var restitution = 0.6;
var friction = 0.9;
var lev = 1;
stop();
_root.machinegun = 0;
_root.flamethrower = 0;
Frame 6
Mouse.show();
intro.gotoAndStop("end");
intro.title_movie.gotoAndStop("end");
var gravity = 3.2;
var restitution = 0.6;
var friction = 0.9;
var lev = 1;
stop();
_root.machinegun = 0;
_root.flamethrower = 0;
Frame 7
stop();
var lev = 1;
Frame 8
function Minigun() {
machinegun = 1;
rifle = 0;
_root.gun.gotoAndPlay("minigun");
}
function Flamethrower() {
machinegun = 0;
rifle = 0;
flamethrower = 1;
_root.gun.gotoAndPlay("flamethrower");
}
_root.intro_sound.stop();
Color.prototype.setTint = function (r, g, b, amount) {
var _local2 = new Object();
_local2.ra = (_local2.ga = (_local2.ba = 100 - amount));
var _local3 = amount / 100;
_local2.rb = r * _local3;
_local2.gb = g * _local3;
_local2.bb = b * _local3;
this.setTransform(_local2);
};
var rifle = 1;
var machinegun = 0;
var grenades = 3;
var levelx = 0;
var triggeractive = 0;
var throwyes = 1;
var firingcheck = 1;
life = 100;
score = 0;
stop();
_root.energy._yscale = _root.life;
Instance of Symbol 234 MovieClip "level" in Frame 8
onClipEvent (load) {
_root.machinegun = 0;
}
Instance of Symbol 236 MovieClip "sights" in Frame 8
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
if (_y >= 310) {
_y = 310;
}
}
Instance of Symbol 237 MovieClip "flames" in Frame 8
onClipEvent (load) {
stop();
_root.flamethrower = 0;
}
onClipEvent (enterFrame) {
if (_root.flamethrower == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 265 MovieClip "gun" in Frame 8
onClipEvent (mouseDown) {
if (_root.rifle == 1) {
play();
}
}
onClipEvent (enterFrame) {
onMouseMove = function () {
updateAfterEvent();
_x = ((_root._xmouse * 0.5) + 150);
xdiff = _root._xmouse - _x;
ydiff = _root._ymouse - _y;
angle = Math.atan2(ydiff, xdiff);
angle = (angle * 180) / Math.PI;
_rotation = ((angle + 90) / 2);
_y = ((_root._ymouse * 0.1) + 400);
};
}
Instance of Symbol 268 MovieClip "timer" in Frame 8
onClipEvent (load) {
start = getTimer();
startCount = 63;
}
onClipEvent (enterFrame) {
current = (getTimer() - start) / 1000;
if (current < startCount) {
elapsed = startCount - current;
counter = Math.floor(elapsed);
} else {
_root.loopy.stop();
_root.gotoAndStop("done");
}
}
onClipEvent (enterFrame) {
if (_root.life < 1) {
_root.loopy.stop();
_root.gotoAndStop("dead");
}
}
Frame 9
function Minigun() {
machinegun = 1;
rifle = 0;
_root.gun.gotoAndPlay("minigun");
}
function Flamethrower() {
machinegun = 0;
rifle = 0;
flamethrower = 1;
_root.gun.gotoAndPlay("flamethrower");
}
var rifle = 1;
var machinegun = 0;
var grenades = 3;
var levelx = 0;
_root.intro_sound.stop();
Color.prototype.setTint = function (r, g, b, amount) {
var _local2 = new Object();
_local2.ra = (_local2.ga = (_local2.ba = 100 - amount));
var _local3 = amount / 100;
_local2.rb = r * _local3;
_local2.gb = g * _local3;
_local2.bb = b * _local3;
this.setTransform(_local2);
};
var rifle = 1;
var machinegun = 0;
var grenades = 3;
var levelx = 0;
var triggeractive = 0;
var throwyes = 1;
var firingcheck = 1;
life = 100;
stop();
_root.energy._yscale = _root.life;
Instance of Symbol 300 MovieClip "level" in Frame 9
onClipEvent (load) {
_root.machinegun = 0;
}
Frame 10
var rifle = 1;
var machinegun = 0;
var grenades = 3;
var levelx = 0;
var triggeractive = 0;
var throwyes = 1;
var firingcheck = 1;
stop();
life = 100;
_root.energy._yscale = _root.life;
Instance of Symbol 311 MovieClip "level" in Frame 10
onClipEvent (load) {
_root.machinegun = 0;
}
Frame 11
function Minigun() {
machinegun = 1;
rifle = 0;
_root.gun.gotoAndPlay("minigun");
}
var rifle = 1;
var machinegun = 0;
var grenades = 3;
var levelx = 0;
var triggeractive = 0;
var throwyes = 1;
var firingcheck = 1;
stop();
life = 100;
_root.energy._yscale = _root.life;
Instance of Symbol 326 MovieClip "level" in Frame 11
onClipEvent (load) {
_root.machinegun = 0;
}
Frame 12
var rifle = 1;
var machinegun = 0;
var grenades = 3;
var levelx = 0;
var triggeractive = 0;
var throwyes = 1;
var firingcheck = 1;
stop();
life = 100;
_root.energy._yscale = _root.life;
Instance of Symbol 333 MovieClip "level" in Frame 12
onClipEvent (load) {
_root.machinegun = 0;
}
Frame 13
var rifle = 1;
var machinegun = 0;
var grenades = 3;
var levelx = 0;
var triggeractive = 0;
var throwyes = 1;
var firingcheck = 1;
stop();
life = 100;
_root.energy._yscale = _root.life;
Instance of Symbol 350 MovieClip "level" in Frame 13
onClipEvent (load) {
_root.machinegun = 0;
}
Frame 14
var rifle = 1;
var machinegun = 0;
var grenades = 3;
var levelx = 0;
var triggeractive = 0;
var throwyes = 1;
var firingcheck = 1;
stop();
life = 100;
_root.energy._yscale = _root.life;
Instance of Symbol 359 MovieClip "level" in Frame 14
onClipEvent (load) {
_root.machinegun = 0;
}
Frame 15
function Flamethrower() {
machinegun = 0;
rifle = 0;
flamethrower = 1;
_root.gun.gotoAndPlay("flamethrower");
}
var rifle = 1;
var machinegun = 0;
var grenades = 3;
var levelx = 0;
var triggeractive = 0;
var throwyes = 1;
var firingcheck = 1;
stop();
life = 100;
_root.energy._yscale = _root.life;
Instance of Symbol 367 MovieClip "level" in Frame 15
onClipEvent (load) {
_root.machinegun = 0;
}
Frame 16
var rifle = 1;
var machinegun = 0;
var grenades = 3;
var levelx = 0;
var triggeractive = 0;
var throwyes = 1;
var firingcheck = 1;
stop();
life = 100;
_root.energy._yscale = _root.life;
Instance of Symbol 368 MovieClip "level" in Frame 16
onClipEvent (load) {
_root.machinegun = 0;
}
Frame 17
var rifle = 1;
var machinegun = 0;
var grenades = 3;
var levelx = 0;
var triggeractive = 0;
var throwyes = 1;
var firingcheck = 1;
stop();
life = 100;
_root.energy._yscale = _root.life;
Instance of Symbol 234 MovieClip "level" in Frame 17
onClipEvent (load) {
_root.machinegun = 0;
}
Frame 18
Mouse.show();
_root.hooray.start(0, 1);
stop();
Frame 19
Mouse.show();
stop();
Frame 20
stop();
Frame 21
stop();
stop();
Symbol 18 MovieClip Frame 1
stop();
Symbol 29 MovieClip [bullethole] Frame 8
stop();
Symbol 45 MovieClip [explosion] Frame 1
_root.exploding = 1;
Symbol 45 MovieClip [explosion] Frame 16
stop();
_root.exploding = 0;
_parent.removeMovieClip();
removeMovieClip(this);
Symbol 51 MovieClip [grenadethrow] Frame 1
_root.throwyes = 0;
_root.grenades = _root.grenades - 1;
_level0.grenadehud.nextFrame();
Instance of Symbol 49 MovieClip "nade" in Symbol 51 MovieClip [grenadethrow] Frame 1
onClipEvent (load) {
var dragging = false;
var vel = {x:random(5) - random(5), y:-45};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > _root._y) {
pos.y = _root._y - radius;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * _root.friction;
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 3.1419);
}
Symbol 51 MovieClip [grenadethrow] Frame 30
attachMovie("explosion", "pow", 0);
_parent.grenadethrow.pow._xscale = _parent.grenadethrow.pow._xscale * 2;
_parent.grenadethrow.pow._yscale = _parent.grenadethrow.pow._yscale * 2;
_parent.grenadethrow.pow.blendMode = 14;
_root.throwyes = 1;
stop();
Symbol 54 MovieClip [shell_eject] Frame 1
this._x = _root.gun._x + 30;
this._y = _root.gun._y - 20;
Instance of Symbol 53 MovieClip "shelll" in Symbol 54 MovieClip [shell_eject] Frame 1
onClipEvent (load) {
var dragging = false;
var vel = {x:random(10) + 5, y:-10};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 1);
}
Symbol 54 MovieClip [shell_eject] Frame 50
removeMovieClip(this);
stop();
Symbol 64 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 3
_parent.stop();
_root.score = _root.score + 10;
Instance of Symbol 59 MovieClip "sf1" in Symbol 64 MovieClip Frame 3
onClipEvent (load) {
_yscale = ((random(2) + 1) * 15);
_xscale = _yscale;
var dragging = false;
var vel = {x:random(20) - random(20), y:-10};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > (_root._y + 200)) {
pos.y = (_root._y - radius) + 200;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * _root.friction;
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 3.1419);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
removeMovieClip(this);
}
}
Instance of Symbol 59 MovieClip "sf3" in Symbol 64 MovieClip Frame 3
onClipEvent (load) {
_yscale = ((random(2) + 1) * 15);
_xscale = _yscale;
var dragging = false;
var vel = {x:-random(20), y:-10};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > (_root._y + 200)) {
pos.y = (_root._y - radius) + 200;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * _root.friction;
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 3.1419);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
removeMovieClip(this);
}
}
Instance of Symbol 59 MovieClip "sf5" in Symbol 64 MovieClip Frame 3
onClipEvent (load) {
_yscale = ((random(2) + 1) * 15);
_xscale = _yscale;
var dragging = false;
var vel = {x:random(20), y:-10};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > (_root._y + 200)) {
pos.y = (_root._y - radius) + 200;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * _root.friction;
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 3.1419);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
removeMovieClip(this);
}
}
Instance of Symbol 59 MovieClip "sf4" in Symbol 64 MovieClip Frame 3
onClipEvent (load) {
_yscale = ((random(2) + 1) * 15);
_xscale = _yscale;
var dragging = false;
var vel = {x:-random(20), y:-10};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > (_root._y + 200)) {
pos.y = (_root._y - radius) + 200;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * _root.friction;
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 3.1419);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
removeMovieClip(this);
}
}
Instance of Symbol 59 MovieClip "sf2" in Symbol 64 MovieClip Frame 3
onClipEvent (load) {
_yscale = ((random(2) + 1) * 15);
_xscale = _yscale;
var dragging = false;
var vel = {x:random(20), y:-10};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > (_root._y + 200)) {
pos.y = (_root._y - radius) + 200;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * _root.friction;
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 3.1419);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
removeMovieClip(this);
}
}
Symbol 64 MovieClip Frame 30
removeMovieClip(_parent);
removeMovieClip(this);
Symbol 65 MovieClip [snowball] Frame 1
Symbol 65 MovieClip [snowball] Frame 2
snoball.gotoAndStop("start");
Instance of Symbol 64 MovieClip "snoball" in Symbol 65 MovieClip [snowball] Frame 2
on (press) {
gotoAndPlay ("boom");
}
on (rollOver) {
if (_root.machinegun == 1) {
this.gotoAndPlay("boom");
}
}
Instance of Symbol 64 MovieClip "snoball" in Symbol 65 MovieClip [snowball] Frame 12
on (press) {
gotoAndPlay ("boom");
}
on (rollOver) {
if (_root.machinegun == 1) {
this.gotoAndPlay("boom");
}
}
Instance of Symbol 64 MovieClip "snoball" in Symbol 65 MovieClip [snowball] Frame 20
on (press) {
gotoAndPlay ("boom");
}
on (rollOver) {
if (_root.machinegun == 1) {
this.gotoAndPlay("boom");
} else if (_root.flamethrower == 1) {
this.gotoAndPlay("boom");
}
}
Symbol 65 MovieClip [snowball] Frame 21
_parent.c = _parent.c + 1;
namer = this._name + _parent.c;
_parent.attachMovie("splatter", [namer], _parent.c);
_parent[namer]._x = this._x;
_parent[namer]._y = this._y;
stop();
Symbol 70 MovieClip [splatter] Frame 1
_root.life = _root.life - 20;
_root.energy._yscale = _root.life;
Symbol 70 MovieClip [splatter] Frame 55
stop();
removeMovieClip(this);
Symbol 79 MovieClip [swipe] Frame 1
Symbol 79 MovieClip [swipe] Frame 3
_root.life = _root.life - 40;
_root.energy._yscale = _root.life;
Symbol 79 MovieClip [swipe] Frame 57
stop();
Symbol 82 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 235
stop();
Symbol 106 MovieClip Frame 417
stop();
Symbol 121 Button
on (release) {
_root.gotoAndPlay("help");
}
Symbol 122 MovieClip Frame 437
stop();
Symbol 125 Button
on (release) {
_root.gotoAndPlay(["start" + lev]);
}
Instance of Symbol 129 MovieClip "1gnd" in Symbol 130 MovieClip Frame 1
onClipEvent (load) {
mkey = 0;
holedepth = getDepth();
var t = 0;
var holeo = 1;
var holeono = 1;
var namer = (hole + holeo);
}
on (press) {
if (_root.firingcheck == 1) {
aimy = _root.sights._y - 100;
holeo = holeo + 1;
if (holeo >= 20) {
holeo = 1;
}
namer = this._name + holeo;
_parent.attachMovie("bullethole", [namer], holedepth + holeo);
_parent[namer]._x = _xmouse + 349;
_parent[namer]._y = aimy;
}
}
onClipEvent (enterFrame) {
if (_root.machinegun == 1) {
aimy = _root.sights._y - 100;
holeono = holeono + 1;
if (holeono >= 20) {
holeono = 1;
}
if ((getTimer() - t) > 100) {
if (aimy > 5) {
t = getTimer();
namer = this._name + holeono;
_parent.attachMovie("bullethole", [namer], holedepth + holeono);
_parent[namer]._x = _xmouse + 349;
_parent[namer]._y = aimy;
}
}
}
test = _level0.level.grenadethrow._y - grenadetarget;
goo = test / 10;
if (test > 4) {
_level0.level.grenadethrow._y = _level0.level.grenadethrow._y - goo;
_level0.level.grenadethrow._yscale = (_level0.level.grenadethrow._y + 200) / 6;
_level0.level.grenadethrow._xscale = _level0.level.grenadethrow._yscale;
} else if (_root.exploding == 0) {
_level0.level.grenadethrow.gotoAndPlay("detonate");
}
}
on (keyPress "<Space>") {
if (_root.throwyes == 1) {
if (_root.grenades > 0) {
_level0.level.attachMovie("grenadethrow", "grenadethrow", 0);
_level0.level.grenadethrow._x = _xmouse;
_level0.level.grenadethrow._y = 130;
grenadetarget = _root.sights._y - 177.3;
}
}
}
on (keyPress "m") {
if (mkey == 0) {
_root.loopy.stop();
mkey = 1;
} else {
_root.loopy.start(0, 99);
mkey = 0;
}
}
Symbol 198 MovieClip Frame 1
stop();
enabled = 0;
_visible = false;
Instance of Symbol 156 MovieClip "scarf" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
myColor = new Color(this);
myColor.setTint(random(255), random(255), random(255), 50);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._currentframe);
}
Symbol 198 MovieClip Frame 2
enabled = 1;
_visible = true;
Symbol 198 MovieClip Frame 15
rnd = random(_parent.aggro);
if (rnd == 1) {
} else {
gotoAndPlay ("duck");
}
Symbol 198 MovieClip Frame 38
_parent.c = _parent.c + 1;
namer = (this._name + "attack") + _parent.c;
_parent.attachMovie("snowball", [namer], _parent.c);
_parent[namer]._x = this._x - ((10 * this._xscale) / 100);
_parent[namer]._y = this._y - ((150 * this._yscale) / 100);
_parent[namer].gotoAndPlay("shoot");
Symbol 198 MovieClip Frame 72
gotoAndStop ("down");
Symbol 198 MovieClip Frame 73
this.enabled = 0;
Instance of Symbol 187 MovieClip "arml1" in Symbol 198 MovieClip Frame 73
onClipEvent (load) {
randomNum = Math.floor(Math.random() * 10) + 10;
var dragging = false;
var vel = {x:-random(4), y:-randomNum};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > _root._y) {
pos.y = _root._y - radius;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * (_root.friction / 2);
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 3.1419);
}
Instance of Symbol 189 MovieClip "arml2" in Symbol 198 MovieClip Frame 73
onClipEvent (load) {
randomNum = Math.floor(Math.random() * 10) + 10;
var dragging = false;
var vel = {x:random(4), y:-randomNum};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > _root._y) {
pos.y = _root._y - radius;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * (_root.friction / 2);
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 3.1419);
}
Instance of Symbol 191 MovieClip "bod" in Symbol 198 MovieClip Frame 73
onClipEvent (load) {
var dragging = false;
var vel = {x:random(2) - random(2), y:-5};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > (_root._y + 60)) {
pos.y = (_root._y - radius) + 60;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * _root.friction;
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 1);
}
Instance of Symbol 59 MovieClip "f3" in Symbol 198 MovieClip Frame 73
onClipEvent (load) {
_yscale = ((random(2) + 1) * 20);
_xscale = _yscale;
randomNum = Math.floor(Math.random() * 20) + 10;
var dragging = false;
var vel = {x:-random(10), y:-randomNum};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > _root._y) {
pos.y = _root._y - radius;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * _root.friction;
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 3.1419);
}
Instance of Symbol 59 MovieClip "f3" in Symbol 198 MovieClip Frame 73
onClipEvent (load) {
_yscale = ((random(2) + 1) * 20);
_xscale = _yscale;
randomNum = Math.floor(Math.random() * 20) + 10;
var dragging = false;
var vel = {x:random(10), y:-randomNum};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > _root._y) {
pos.y = _root._y - radius;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * _root.friction;
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 3.1419);
}
Instance of Symbol 59 MovieClip "f3" in Symbol 198 MovieClip Frame 73
onClipEvent (load) {
_yscale = ((random(2) + 1) * 20);
_xscale = _yscale;
randomNum = Math.floor(Math.random() * 20) + 10;
var dragging = false;
var vel = {x:random(10) - random(11), y:-randomNum};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > _root._y) {
pos.y = _root._y - radius;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * _root.friction;
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 3.1419);
}
Instance of Symbol 59 MovieClip "f3" in Symbol 198 MovieClip Frame 73
onClipEvent (load) {
_yscale = ((random(2) + 1) * 20);
_xscale = _yscale;
randomNum = Math.floor(Math.random() * 20) + 10;
var dragging = false;
var vel = {x:random(10) - random(11), y:-randomNum};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > _root._y) {
pos.y = _root._y - radius;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * _root.friction;
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 3.1419);
}
Instance of Symbol 192 MovieClip "hat" in Symbol 198 MovieClip Frame 73
onClipEvent (load) {
var dragging = false;
var vel = {x:random(3) - random(4), y:-25};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > _root._y) {
pos.y = _root._y - radius;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * (_root.friction / 2);
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 3.1419);
}
Symbol 198 MovieClip Frame 74
rnddead = Math.random(5) + 1;
ded = new Sound();
ded.attachSound("death" + (random(5) + 1));
ded.start();
Symbol 198 MovieClip Frame 145
this.enabled = 1;
gotoAndStop ("down");
Symbol 228 MovieClip Frame 1
stop();
enabled = 0;
_visible = false;
Instance of Symbol 156 MovieClip "scscarf" in Symbol 228 MovieClip Frame 1
onClipEvent (load) {
myColor = new Color(this);
myColor.setTint(random(255), random(255), random(255), 50);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._currentframe);
}
Symbol 228 MovieClip Frame 2
enabled = 1;
_visible = true;
Symbol 228 MovieClip Frame 15
rnd = random(2);
if (rnd == 1) {
} else {
gotoAndPlay ("duck");
}
Symbol 228 MovieClip Frame 36
_parent.c = _parent.c + 1;
_parent.c = _parent.c + 1;
namer = this._name + _parent.c;
_parent.attachMovie("swipe", [namer], _parent.c);
_parent[namer]._x = this._x - ((1 * this._xscale) / 150);
_parent[namer]._y = this._y - ((150 * this._yscale) / 120);
Symbol 228 MovieClip Frame 72
gotoAndStop ("down");
Symbol 228 MovieClip Frame 73
this.enabled = 0;
Instance of Symbol 187 MovieClip "scal1" in Symbol 228 MovieClip Frame 73
onClipEvent (load) {
randomNum = Math.floor(Math.random() * 10) + 10;
var dragging = false;
var vel = {x:-random(4), y:-randomNum};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > _root._y) {
pos.y = _root._y - radius;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * (_root.friction / 2);
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 3.1419);
}
Instance of Symbol 189 MovieClip "scal2" in Symbol 228 MovieClip Frame 73
onClipEvent (load) {
randomNum = Math.floor(Math.random() * 10) + 10;
var dragging = false;
var vel = {x:random(4), y:-randomNum};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > _root._y) {
pos.y = _root._y - radius;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * (_root.friction / 2);
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 3.1419);
}
Instance of Symbol 191 MovieClip "scbod" in Symbol 228 MovieClip Frame 73
onClipEvent (load) {
var dragging = false;
var vel = {x:random(2) - random(2), y:-5};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > (_root._y + 60)) {
pos.y = (_root._y - radius) + 60;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * _root.friction;
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 1);
}
Instance of Symbol 59 MovieClip "cf1" in Symbol 228 MovieClip Frame 73
onClipEvent (load) {
_yscale = ((random(2) + 1) * 20);
_xscale = _yscale;
randomNum = Math.floor(Math.random() * 20) + 10;
var dragging = false;
var vel = {x:-random(10), y:-randomNum};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > _root._y) {
pos.y = _root._y - radius;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * _root.friction;
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 3.1419);
}
Instance of Symbol 59 MovieClip "cf2" in Symbol 228 MovieClip Frame 73
onClipEvent (load) {
_yscale = ((random(2) + 1) * 20);
_xscale = _yscale;
randomNum = Math.floor(Math.random() * 20) + 10;
var dragging = false;
var vel = {x:random(10) - random(11), y:-randomNum};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > _root._y) {
pos.y = _root._y - radius;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * _root.friction;
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 3.1419);
}
Instance of Symbol 59 MovieClip "cf3" in Symbol 228 MovieClip Frame 73
onClipEvent (load) {
_yscale = ((random(2) + 1) * 20);
_xscale = _yscale;
randomNum = Math.floor(Math.random() * 20) + 10;
var dragging = false;
var vel = {x:random(10), y:-randomNum};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > _root._y) {
pos.y = _root._y - radius;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * _root.friction;
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 3.1419);
}
Instance of Symbol 59 MovieClip "cf5" in Symbol 228 MovieClip Frame 73
onClipEvent (load) {
_yscale = ((random(2) + 1) * 20);
_xscale = _yscale;
randomNum = Math.floor(Math.random() * 20) + 10;
var dragging = false;
var vel = {x:random(10) - random(11), y:-randomNum};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > _root._y) {
pos.y = _root._y - radius;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * _root.friction;
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 3.1419);
}
Instance of Symbol 192 MovieClip "schat" in Symbol 228 MovieClip Frame 73
onClipEvent (load) {
var dragging = false;
var vel = {x:random(3) - random(4), y:-25};
var pos = {x:_x, y:_y};
var radius = (this._width / 2);
var rot = {r:random(90) - random(90)};
}
onClipEvent (enterFrame) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
rot.r = rot.r + pos.x;
if ((pos.y + radius) > _root._y) {
pos.y = _root._y - radius;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * (_root.friction / 2);
}
_x = pos.x;
_y = pos.y;
_rotation = (pos.x * 3.1419);
}
Symbol 228 MovieClip Frame 74
rnddead = Math.random(5) + 1;
ded = new Sound();
ded.attachSound("death" + (random(5) + 1));
ded.start();
Symbol 228 MovieClip Frame 145
this.enabled = 1;
gotoAndStop ("down");
Symbol 233 MovieClip Frame 1
whichlev = "level-" + _root.lev;
Symbol 233 MovieClip Frame 55
stop();
_parent.activated = _parent.hardness;
removeMovieClip(this);
_root.startCount = 60;
_root.loopy.start(0, 99);
Symbol 234 MovieClip Frame 1
var c = 1;
var inum = 1;
var hole = 1;
var activated = 0;
var hardness = 100;
aggro = 0;
Instance of Symbol 198 MovieClip "sno2" in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 40) + startxpos) - 20);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
_x = newX;
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 198 MovieClip "sno3" in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 40) + startxpos) - 20);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
_x = newX;
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 228 MovieClip "snoclose1" in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
var snoup = 0;
var startxpos = this._x;
this._yscale = (_y + 400) / 4;
this._xscale = this._yscale;
}
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 80) + startxpos) - 40);
if (snoyn == 1) {
snoup = 1;
this.gotoAndPlay("ready");
this._x = newX;
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
Symbol 237 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 2
fadeSpeed = 4;
this.onEnterFrame = function () {
floatUpSpeed = (-(_ymouse - 100)) / 40;
if (_root.flamethrower == 1) {
d = this.getNextHighestDepth();
aPuff = attachMovie("aPuff", "aPuff" + d, d);
aPuff._xscale = (aPuff._yscale = 10);
aPuff._x = (Math.random() * 5) + (_xmouse / 1.5);
aPuff._y = (_ymouse * 0.1) - 90;
aPuff.gotoAndPlay(Math.round(Math.random() * 20));
aPuff.onEnterFrame = function () {
this._xscale = (this._yscale = this._yscale + (fadeSpeed * 2));
this._alpha = this._alpha - fadeSpeed;
this._y = this._y - floatUpSpeed;
this._x = this._x - ((Math.round(Math.random() * 10) - 5) - ((_xmouse - 225) / 75));
this._rotation = this._rotation - 1;
if (this._xscale >= 200) {
this.removeMovieClip();
}
};
}
};
Symbol 265 MovieClip Frame 1
_root.firingcheck = 1;
brass = 1;
gunexpire = 0;
stop();
Symbol 265 MovieClip Frame 2
brassdepth = this.getDepth();
brass = 30;
brassnamer = "brass" + brass;
_parent.attachMovie("shell_eject", [brassnamer], brassdepth + brass);
_root.firingcheck = 0;
Symbol 265 MovieClip Frame 3
_root.firingcheck = 0;
Symbol 265 MovieClip Frame 8
gotoAndStop ("start");
Symbol 265 MovieClip Frame 10
brassdepth = this.getDepth();
brass = 30;
brassnamer = "brass" + brass;
_parent.attachMovie("shell_eject", [brassnamer], brassdepth + brass);
Symbol 265 MovieClip Frame 14
brass = brass + 1;
_parent.attachMovie("shell_eject", [brassnamer], brassdepth + brass);
Symbol 265 MovieClip Frame 18
brass = brass + 1;
_parent.attachMovie("shell_eject", [brassnamer], brassdepth + brass);
Symbol 265 MovieClip Frame 22
brass = brass + 1;
_parent.attachMovie("shell_eject", [brassnamer], brassdepth + brass);
Symbol 265 MovieClip Frame 26
brass = brass + 1;
_parent.attachMovie("shell_eject", [brassnamer], brassdepth + brass);
Symbol 265 MovieClip Frame 30
gunexpire = gunexpire + 1;
if (gunexpire < 15) {
gotoAndPlay ("minigun");
}
Symbol 265 MovieClip Frame 45
gotoAndStop ("start");
_root.machinegun = 0;
_root.rifle = 1;
gunexpire = 0;
Symbol 265 MovieClip Frame 57
gunexpire = gunexpire + 1;
if (gunexpire < 30) {
gotoAndPlay ("flamethrower");
}
Symbol 265 MovieClip Frame 66
gotoAndStop ("start");
_root.flamethrower = 0;
_root.rifle = 1;
gunexpire = 0;
Symbol 273 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 2
stop();
Symbol 273 MovieClip Frame 3
stop();
Symbol 273 MovieClip Frame 4
stop();
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 10
stop();
removeMovieClip(this);
Symbol 300 MovieClip Frame 1
var c = 1;
var inum = 1;
var hole = 1;
var activated = 0;
var hardness = 75;
aggro = 3;
Instance of Symbol 293 MovieClip "2cratefa" in Symbol 300 MovieClip Frame 1
on (press) {
_root.life = 100;
_root.energy._yscale = _root.life;
gotoAndPlay (1);
}
Instance of Symbol 198 MovieClip "sno2" in Symbol 300 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 40) + startxpos) - 20);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
_x = newX;
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 198 MovieClip "sno1" in Symbol 300 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 40) + startxpos) - 20);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
_x = newX;
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 198 MovieClip "sno3" in Symbol 300 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 40) + startxpos) - 20);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
_x = newX;
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 228 MovieClip "snoclose1" in Symbol 300 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = this._x;
this._yscale = (_y + 400) / 4;
this._xscale = this._yscale;
}
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 80) + startxpos) - 40);
if (snoyn == 1) {
snoup = 1;
this.gotoAndPlay("ready");
this._x = newX;
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
}
Symbol 308 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 10
stop();
removeMovieClip(this);
Symbol 311 MovieClip Frame 1
var c = 1;
var inum = 1;
var hole = 1;
var activated = 0;
var hardness = 70;
aggro = 2;
Instance of Symbol 198 MovieClip "sno2" in Symbol 311 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 40) + startxpos) - 20);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
_x = newX;
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 198 MovieClip "sno1" in Symbol 311 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 40) + startxpos) - 20);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
_x = newX;
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 308 MovieClip "1crateg" in Symbol 311 MovieClip Frame 1
on (press) {
if (_root.throwyes == 1) {
if (_root.grenades < 3) {
_root.grenades = 3;
this.gotoAndPlay(2);
_level0.grenadehud.gotoAndStop(1);
}
}
}
Instance of Symbol 198 MovieClip "sno3" in Symbol 311 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 40) + startxpos) - 20);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
_x = newX;
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 228 MovieClip "snoclose1" in Symbol 311 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = this._x;
this._yscale = (_y + 400) / 4;
this._xscale = this._yscale;
}
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 80) + startxpos) - 40);
if (snoyn == 1) {
snoup = 1;
this.gotoAndPlay("ready");
this._x = newX;
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
}
Symbol 319 MovieClip Frame 1
stop();
Symbol 319 MovieClip Frame 10
stop();
removeMovieClip(this);
Symbol 326 MovieClip Frame 1
var c = 1;
var inum = 1;
var hole = 1;
var activated = 0;
var hardness = 65;
aggro = 2;
Instance of Symbol 319 MovieClip "4mg" in Symbol 326 MovieClip Frame 1
on (press) {
_root.Minigun();
this.enabled = 0;
this.gotoAndPlay(2);
}
Instance of Symbol 198 MovieClip "sno2" in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 40) + startxpos) - 20);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
_x = newX;
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 198 MovieClip "sno3" in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 40) + startxpos) - 20);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
_x = newX;
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 198 MovieClip "sno4" in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 40) + startxpos) - 20);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
_x = newX;
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 228 MovieClip "snoclose1" in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = this._x;
this._yscale = (_y + 400) / 4;
this._xscale = this._yscale;
}
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 80) + startxpos) - 40);
if (snoyn == 1) {
snoup = 1;
this.gotoAndPlay("ready");
this._x = newX;
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
}
Symbol 333 MovieClip Frame 1
var c = 1;
var inum = 1;
var hole = 1;
var activated = 0;
var hardness = 60;
aggro = 2;
Instance of Symbol 293 MovieClip "2cratefa" in Symbol 333 MovieClip Frame 1
on (press) {
_root.life = 100;
_root.energy._yscale = _root.life;
gotoAndPlay (1);
}
Instance of Symbol 198 MovieClip "sno2" in Symbol 333 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 198 MovieClip "sno1" in Symbol 333 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 40) + startxpos) - 20);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
_x = newX;
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 198 MovieClip "sno3" in Symbol 333 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 40) + startxpos) - 20);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
_x = newX;
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 228 MovieClip "snoclose1" in Symbol 333 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = this._x;
this._yscale = (_y + 400) / 4;
this._xscale = this._yscale;
}
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 80) + startxpos) - 40);
if (snoyn == 1) {
snoup = 1;
this.gotoAndPlay("ready");
this._x = newX;
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
}
Instance of Symbol 338 MovieClip "1gnd" in Symbol 339 MovieClip Frame 1
onClipEvent (load) {
mkey = 0;
holedepth = getDepth();
var t = 0;
var holeo = 1;
var holeono = 1;
var namer = (hole + holeo);
}
on (press) {
if (_root.firingcheck == 1) {
aimy = _root.sights._y - 100;
holeo = holeo + 1;
if (holeo >= 20) {
holeo = 1;
}
namer = this._name + holeo;
if (aimy < 120) {
_parent.attachMovie("bullethole", [namer], holedepth + holeo);
_parent[namer]._x = _xmouse + 349;
_parent[namer]._y = aimy;
}
}
}
onClipEvent (enterFrame) {
if (_root.machinegun == 1) {
aimy = _root.sights._y - 100;
holeono = holeono + 1;
if (holeono >= 20) {
holeono = 1;
}
if ((getTimer() - t) > 100) {
if (aimy > 5) {
if (aimy < 125) {
t = getTimer();
namer = this._name + holeono;
_parent.attachMovie("bullethole", [namer], holedepth + holeono);
_parent[namer]._x = _xmouse + 349;
_parent[namer]._y = aimy;
}
}
}
}
test = _level0.level.grenadethrow._y - grenadetarget;
goo = test / 10;
if (test > 4) {
_level0.level.grenadethrow._y = _level0.level.grenadethrow._y - goo;
_level0.level.grenadethrow._yscale = (_level0.level.grenadethrow._y + 200) / 6;
_level0.level.grenadethrow._xscale = _level0.level.grenadethrow._yscale;
} else if (_root.exploding == 0) {
_level0.level.grenadethrow.gotoAndPlay("detonate");
}
}
on (keyPress "<Space>") {
if (_root.throwyes == 1) {
if (_root.grenades > 0) {
_level0.level.attachMovie("grenadethrow", "grenadethrow", 0);
_level0.level.grenadethrow._x = _xmouse;
_level0.level.grenadethrow._y = 130;
grenadetarget = _root.sights._y - 177.3;
}
}
}
on (keyPress "m") {
if (mkey == 0) {
_root.loopy.stop();
mkey = 1;
} else {
_root.loopy.start(0, 99);
mkey = 0;
}
}
Symbol 350 MovieClip Frame 1
var c = 1;
var inum = 1;
var hole = 1;
var activated = 0;
var hardness = 50;
aggro = 2;
Instance of Symbol 198 MovieClip "sno9" in Symbol 350 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 198 MovieClip "sno2" in Symbol 350 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 198 MovieClip "sno1" in Symbol 350 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 40) + startxpos) - 20);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
_x = newX;
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 198 MovieClip "sno3" in Symbol 350 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 40) + startxpos) - 20);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
_x = newX;
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Symbol 359 MovieClip Frame 1
var c = 1;
var inum = 1;
var hole = 1;
var activated = 0;
var hardness = 50;
aggro = 2;
Instance of Symbol 198 MovieClip "sno9" in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 293 MovieClip "2cratefa" in Symbol 359 MovieClip Frame 1
on (press) {
_root.life = 100;
_root.energy._yscale = _root.life;
gotoAndPlay (1);
}
Instance of Symbol 198 MovieClip "sno2" in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 198 MovieClip "sno1" in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 40) + startxpos) - 20);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
_x = newX;
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 228 MovieClip "snoclose1" in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = this._x;
this._yscale = (_y + 400) / 4;
this._xscale = this._yscale;
}
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 80) + startxpos) - 40);
if (snoyn == 1) {
snoup = 1;
this.gotoAndPlay("ready");
this._x = newX;
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
}
Symbol 366 MovieClip Frame 1
stop();
Symbol 366 MovieClip Frame 10
stop();
removeMovieClip(this);
Symbol 367 MovieClip Frame 1
var c = 1;
var inum = 1;
var hole = 1;
var activated = 0;
var hardness = 40;
aggro = 2;
Instance of Symbol 198 MovieClip "sno5" in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 40) + startxpos) - 20);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
_x = newX;
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 366 MovieClip "1crateft" in Symbol 367 MovieClip Frame 1
on (press) {
_root.Flamethrower();
this.enabled = 0;
this.gotoAndPlay(2);
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.Minigun();
this.enabled = 0;
this.gotoAndPlay(2);
}
}
Instance of Symbol 198 MovieClip "sno2" in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 198 MovieClip "sno1" in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 40) + startxpos) - 20);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
_x = newX;
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 228 MovieClip "snoclose1" in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = this._x;
this._yscale = (_y + 400) / 4;
this._xscale = this._yscale;
}
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 80) + startxpos) - 40);
if (snoyn == 1) {
snoup = 1;
this.gotoAndPlay("ready");
this._x = newX;
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
}
Instance of Symbol 228 MovieClip "snoclose1" in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = this._x;
this._yscale = (_y + 400) / 4;
this._xscale = this._yscale;
}
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 80) + startxpos) - 40);
if (snoyn == 1) {
snoup = 1;
this.gotoAndPlay("ready");
this._x = newX;
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
}
Symbol 368 MovieClip Frame 1
var c = 1;
var inum = 1;
var hole = 1;
var activated = 0;
var hardness = 75;
aggro = 0;
Instance of Symbol 366 MovieClip "1crateft" in Symbol 368 MovieClip Frame 1
on (press) {
_root.Flamethrower();
this.enabled = 0;
this.gotoAndPlay(2);
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.Minigun();
this.enabled = 0;
this.gotoAndPlay(2);
}
}
Instance of Symbol 198 MovieClip "sno1" in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = _x;
_yscale = ((_y + 200) / 4);
_xscale = _yscale;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 40) + startxpos) - 20);
if (snoyn == 1) {
snoup = 1;
gotoAndPlay ("ready");
_x = newX;
}
}
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
if (this.hitTest(_root.level.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
gotoAndPlay ("death1");
}
}
Instance of Symbol 228 MovieClip "snoclose1" in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = this._x;
this._yscale = (_y + 400) / 4;
this._xscale = this._yscale;
}
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 80) + startxpos) - 40);
if (snoyn == 1) {
snoup = 1;
this.gotoAndPlay("ready");
this._x = newX;
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
}
Instance of Symbol 228 MovieClip "snoclose1" in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
snoup = 0;
startxpos = this._x;
this._yscale = (_y + 400) / 4;
this._xscale = this._yscale;
}
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
snoup = 0;
}
if (!snoup) {
snoyn = Math.floor(Math.random() * _parent.activated);
newX = Math.floor(((Math.random() * 80) + startxpos) - 40);
if (snoyn == 1) {
snoup = 1;
this.gotoAndPlay("ready");
this._x = newX;
}
}
}
on (press) {
if (_root.machinegun == 0) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
on (rollOver) {
if (_root.machinegun == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
} else if (_root.flamethrower == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.level.grenadethrow.pow)) {
if (enabled == 1) {
_root.score = _root.score + 10;
this.gotoAndPlay("death1");
}
}
}
Symbol 374 Button
on (release) {
if (lev == 8) {
gotoAndPlay ("end");
} else {
lev = lev + 1;
_root.gotoAndPlay(["start" + lev]);
}
}
Symbol 377 MovieClip Frame 20
stop();
Symbol 381 Button
on (release) {
_root.gotoAndPlay(["start" + lev]);
score = 0;
}
Symbol 384 Button
on (release) {
_root.gotoAndPlay("title");
}
Symbol 392 MovieClip Frame 220
_root.gotoAndPlay("credits");
Symbol 420 Button
on (release) {
_root.gotoAndPlay("title");
}
Symbol 421 MovieClip Frame 2010
stop();
Symbol 421 MovieClip Frame 2149
stop();