Frame 1
stop();
speeddivider = 100;
score = 0;
explodedbirds = 0;
explosiveunlockinteger = 30;
weaponunlockinteger = 75;
percentloaded = "blank";
gravity = 0.3;
divider = 6;
birddivider = 12;
floorspring = 2.5;
bouncemax = 3;
c4explode = 0;
explode = 0;
heady = 0;
thrown = 0;
targetzombie = "blank";
headexplode = 0;
escaped = 0;
exploded = 0;
explodedhead = 0;
highesthead = 400;
highestheadm = 0;
highestheadmeters = "blank";
explosive = 1;
explosiveonscreen = 1;
zombieshot = 0;
birdshot = 0;
weapon = 1;
firing = 0;
cooking = 0;
explosiveunlock = 0;
weaponunlock = 0;
headm = 0;
headbonus = 0;
lastheadbonus = 0;
lives = 3;
difficulty = 3;
highscore = 0;
Instance of Symbol 8 MovieClip in Frame 1
onClipEvent (enterFrame) {
if ((_root._quality == "MEDIUM") or (_root._quality == "LOW")) {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 10 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_root._quality == "LOW") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 19 MovieClip "zombieflake" in Frame 1
onClipEvent (load) {
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
xspeed = (_root.zombie1.xspeed + Math.random()) - 0.5;
yspeed = Math.random() - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / 14));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / 14));
}
}
onClipEvent (enterFrame) {
if ((this._y > 550) and (yspeed > 0)) {
removeMovieClip(this);
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
}
}
Instance of Symbol 63 MovieClip "sitting" in Frame 1
onClipEvent (enterFrame) {
gotoAndStop(Math.ceil(_root._xmouse / 26));
}
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.explosive = 1;
} else if (Key.isDown(50) and (_root.explosiveunlock > 1)) {
_root.explosive = 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(51) and (_root.explosiveunlock > 2)) {
_root.explosive = 3;
} else if (Key.isDown(52) and (_root.explosiveunlock > 3)) {
_root.explosive = 4;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(53) and (_root.explosiveunlock > 4)) {
_root.explosive = 5;
} else if (Key.isDown(54) and (_root.explosiveunlock > 5)) {
_root.explosive = 6;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(55)) {
_root.weapon = 1;
} else if (Key.isDown(56) and (_root.weaponunlock > 1)) {
_root.weapon = 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(57) and (_root.weaponunlock > 2)) {
_root.weapon = 3;
}
}
onClipEvent (enterFrame) {
_root.explosiveunlock = Math.floor(_root.score / _root.explosiveunlockinteger) + 1;
_root.weaponunlock = Math.floor(_root.score / _root.weaponunlockinteger) + 1;
}
onClipEvent (enterFrame) {
_root.divider = 8 - _root.explosive;
}
onClipEvent (enterFrame) {
if (_root.score > _root.highscore) {
_root.highscore = _root.score;
}
}
onClipEvent (enterFrame) {
if (_root.lives < 1) {
_root.gotoAndStop(21);
}
}
Instance of Symbol 66 MovieClip in Frame 1
onClipEvent (load) {
startDrag (this, true);
Mouse.hide();
}
onClipEvent (enterFrame) {
point = new Object();
point.x = _root._xmouse;
point.y = _root._ymouse;
if (_root.c4button.hitTest(point.x, point.y, true)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (_root.weapon == 3) {
this._xscale = 180;
this._yscale = 180;
} else {
this._xscale = 150;
this._yscale = 150;
}
}
Instance of Symbol 69 MovieClip "marker" in Frame 1
onClipEvent (load) {
rotatespeed = 0;
}
onClipEvent (enterFrame) {
this._x = _root.c4._x;
this._y = _root.c4._y;
this._rotation = this._rotation + rotatespeed;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zombie1) and (rotatespeed < 3)) {
rotatespeed = rotatespeed + 0.5;
this._alpha = 80;
gotoAndStop (2);
} else if ((!this.hitTest(_root.zombie1)) and (rotatespeed > 0)) {
rotatespeed = rotatespeed - 0.5;
this._alpha = 20;
gotoAndStop (1);
}
}
Instance of Symbol 70 MovieClip in Frame 1
onClipEvent (load) {
count = 1;
count2 = 100;
}
onClipEvent (mouseDown) {
if (_root.weapon == 1) {
duplicateMovieClip (_root.particle, "particle" + count, count);
_root["particle" + count]._x = _root.sitting._x + (_root.sitting.gun._x / 3);
_root["particle" + count]._y = _root.sitting._y + (_root.sitting.gun._y / 3);
_root["particle" + count]._xscale = 15;
_root["particle" + count]._yscale = 15;
_root["particle" + count]._alpha = 100;
count = count + 1;
}
}
onClipEvent (enterFrame) {
if ((_root.weapon == 2) and (_root.sitting.gun.uzi._currentframe == 2)) {
duplicateMovieClip (_root.particle, "particle" + count, count);
_root["particle" + count]._x = _root.sitting._x + (_root.sitting.gun._x / 3);
_root["particle" + count]._y = _root.sitting._y + (_root.sitting.gun._y / 3);
_root["particle" + count]._xscale = 15;
_root["particle" + count]._yscale = 15;
_root["particle" + count]._alpha = 100;
count = count + 1;
}
}
onClipEvent (mouseDown) {
if (_root.weapon == 3) {
duplicateMovieClip (_root.particle, "particle" + count, count);
_root["particle" + count]._x = _root.sitting._x + (_root.sitting.gun._x / 3);
_root["particle" + count]._y = _root.sitting._y + (_root.sitting.gun._y / 3);
_root["particle" + count]._xscale = 25;
_root["particle" + count]._yscale = 25;
_root["particle" + count]._alpha = 100;
count = count + 1;
}
}
onClipEvent (enterFrame) {
if ((_root.zombieshot == 1) and (_root.weapon == 1)) {
i = 0;
while (i < 6) {
duplicateMovieClip (_root.zombieflake, "zombieflake" + count2, count2);
_root["zombieflake" + count2]._xscale = Math.random() * 10;
_root["zombieflake" + count2]._yscale = _root["zombieflake" + count2]._xscale;
_root["zombieflake" + count2]._x = _root._xmouse + ((Math.random() * 10) - 5);
_root["zombieflake" + count2]._y = _root._ymouse + ((Math.random() * 10) - 5);
count2 = count2 + 1;
i++;
}
_root.zombieshot = 0;
}
}
onClipEvent (enterFrame) {
if (((_root.zombieshot == 1) and (_root.weapon == 2)) and (_root.sitting.gun.uzi._currentframe == 2)) {
i = 0;
while (i < 6) {
duplicateMovieClip (_root.zombieflake, "zombieflake" + count2, count2);
_root["zombieflake" + count2]._xscale = Math.random() * 10;
_root["zombieflake" + count2]._yscale = _root["zombieflake" + count2]._xscale;
_root["zombieflake" + count2]._x = _root._xmouse + ((Math.random() * 10) - 5);
_root["zombieflake" + count2]._y = _root._ymouse + ((Math.random() * 10) - 5);
count2 = count2 + 1;
i++;
}
_root.zombieshot = 0;
}
}
onClipEvent (enterFrame) {
if ((_root.zombieshot == 1) and (_root.weapon == 3)) {
i = 0;
while (i < 12) {
duplicateMovieClip (_root.zombieflake, "zombieflake" + count2, count2);
_root["zombieflake" + count2]._xscale = Math.random() * 15;
_root["zombieflake" + count2]._yscale = _root["zombieflake" + count2]._xscale;
_root["zombieflake" + count2]._x = _root._xmouse + ((Math.random() * 10) - 5);
_root["zombieflake" + count2]._y = _root._ymouse + ((Math.random() * 10) - 5);
count2 = count2 + 1;
i++;
}
_root.zombieshot = 0;
}
}
onClipEvent (mouseDown) {
if ((_root._ymouse > 545) and (_root.weapon == 1)) {
i = 0;
while (i < 6) {
duplicateMovieClip (_root.zombieflake, "zombieflake" + count2, count2);
_root["zombieflake" + count2]._xscale = Math.random() * 10;
_root["zombieflake" + count2]._yscale = _root["zombieflake" + count2]._xscale;
_root["zombieflake" + count2]._x = _root._xmouse + ((Math.random() * 10) - 5);
_root["zombieflake" + count2]._y = _root._ymouse + ((Math.random() * 10) - 5);
count2 = count2 + 1;
i++;
}
}
}
onClipEvent (enterFrame) {
if (((_root._ymouse > 545) and (_root.weapon == 2)) and (_root.sitting.gun.uzi._currentframe == 2)) {
i = 0;
while (i < 6) {
duplicateMovieClip (_root.zombieflake, "zombieflake" + count2, count2);
_root["zombieflake" + count2]._xscale = Math.random() * 10;
_root["zombieflake" + count2]._yscale = _root["zombieflake" + count2]._xscale;
_root["zombieflake" + count2]._x = _root._xmouse + ((Math.random() * 10) - 5);
_root["zombieflake" + count2]._y = _root._ymouse + ((Math.random() * 10) - 5);
count2 = count2 + 1;
i++;
}
}
}
onClipEvent (mouseDown) {
if ((_root._ymouse > 545) and (_root.weapon == 3)) {
i = 0;
while (i < 12) {
duplicateMovieClip (_root.zombieflake, "zombieflake" + count2, count2);
_root["zombieflake" + count2]._xscale = Math.random() * 15;
_root["zombieflake" + count2]._yscale = _root["zombieflake" + count2]._xscale;
_root["zombieflake" + count2]._x = _root._xmouse + ((Math.random() * 10) - 5);
_root["zombieflake" + count2]._y = _root._ymouse + ((Math.random() * 10) - 5);
count2 = count2 + 1;
i++;
}
}
}
Instance of Symbol 73 MovieClip "particle" in Frame 1
onClipEvent (load) {
bouncecount = 0;
yspeed = -10;
xspeed = ((-4 + (_root._xmouse / 100)) + (Math.random() * 4)) - 2;
rotationspeed = Math.random() * 20;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + rotationspeed;
yspeed = yspeed + 1;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
}
onClipEvent (enterFrame) {
if (this._y > 550) {
this._y = 549;
rotatespeed = (Math.random() * 40) - 20;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
removeMovieClip(this);
}
}
Instance of Symbol 88 MovieClip in Frame 1
onClipEvent (enterFrame) {
if ((_root.getBytesLoaded() == _root.getBytesTotal()) and (_root._currentframe == 1)) {
_root.preloaded = 1;
}
}
onClipEvent (enterFrame) {
if (_root.preloaded == 1) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
_root.percentloaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "%";
}
Instance of Symbol 112 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_root._quality == "HIGH") {
gotoAndStop (1);
} else if (_root._quality == "MEDIUM") {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root._quality == "LOW") {
gotoAndStop (3);
}
}
Instance of Symbol 122 MovieClip "cloud2" in Frame 2
onClipEvent (load) {
this._y = Math.random() * 400;
this._x = (Math.random() * 1600) - 800;
framesend = Math.round(Math.random() * 2) + 1;
gotoAndStop(framesend);
}
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 5;
}
}
onClipEvent (enterFrame) {
if (this._x > 1000) {
this._x = -400;
framesend = Math.round(Math.random() * 2) + 1;
gotoAndStop(framesend);
this._y = Math.random() * 400;
}
}
onClipEvent (enterFrame) {
this._x = this._x + 0.6;
}
onClipEvent (enterFrame) {
if ((_root._quality == "MEDIUM") or (_root._quality == "LOW")) {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 122 MovieClip "cloud2" in Frame 2
onClipEvent (load) {
this._y = Math.random() * 400;
this._x = (Math.random() * 1600) - 800;
framesend = Math.round(Math.random() * 2) + 1;
gotoAndStop(framesend);
}
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 5;
}
}
onClipEvent (enterFrame) {
if (this._x > 1000) {
this._x = -400;
framesend = Math.round(Math.random() * 2) + 1;
gotoAndStop(framesend);
this._y = Math.random() * 400;
}
}
onClipEvent (enterFrame) {
this._x = this._x + 0.6;
}
onClipEvent (enterFrame) {
if ((_root._quality == "MEDIUM") or (_root._quality == "LOW")) {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 122 MovieClip "cloud2" in Frame 2
onClipEvent (load) {
this._y = Math.random() * 400;
this._x = (Math.random() * 1600) - 800;
framesend = Math.round(Math.random() * 2) + 1;
gotoAndStop(framesend);
}
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 5;
}
}
onClipEvent (enterFrame) {
if (this._x > 1000) {
this._x = -400;
framesend = Math.round(Math.random() * 2) + 1;
gotoAndStop(framesend);
this._y = Math.random() * 400;
}
}
onClipEvent (enterFrame) {
this._x = this._x + 0.8;
}
onClipEvent (enterFrame) {
if ((_root._quality == "MEDIUM") or (_root._quality == "LOW")) {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 122 MovieClip "cloud2" in Frame 2
onClipEvent (load) {
this._y = Math.random() * 400;
this._x = (Math.random() * 1600) - 800;
framesend = Math.round(Math.random() * 2) + 1;
gotoAndStop(framesend);
}
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 5;
}
}
onClipEvent (enterFrame) {
if (this._x > 1000) {
this._x = -400;
framesend = Math.round(Math.random() * 2) + 1;
gotoAndStop(framesend);
this._y = Math.random() * 400;
}
}
onClipEvent (enterFrame) {
this._x = this._x + 0.8;
}
onClipEvent (enterFrame) {
if ((_root._quality == "MEDIUM") or (_root._quality == "LOW")) {
this._visible = 0;
} else {
this._visible = 1;
}
}
Frame 20
stop();
_root.lives = _root.difficulty;
var my_sound = new Sound();
my_sound.attachSound("music");
my_sound.start(0, 99);
Instance of Symbol 8 MovieClip in Frame 20
onClipEvent (enterFrame) {
if ((_root._quality == "MEDIUM") or (_root._quality == "LOW")) {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 218 MovieClip "zombie1" in Frame 20
onClipEvent (load) {
headdiffx = 0;
headdiffy = 0;
death = 0;
xspeed = 0;
yspeed = 0;
startx = this._x;
randomiser = Math.ceil(Math.random() * 2);
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) and (this._xscale > 0)) {
xspeed = 2 + (_root.score / _root.speeddivider);
} else if ((this._currentframe == 1) and (this._xscale < 0)) {
xspeed = -2 - (_root.score / _root.speeddivider);
}
}
onClipEvent (enterFrame) {
if ((this._currentframe == 2) and (this._xscale > 0)) {
xspeed = 5 + (_root.score / _root.speeddivider);
} else if ((this._currentframe == 2) and (this._xscale < 0)) {
xspeed = -5 - (_root.score / _root.speeddivider);
}
}
onClipEvent (enterFrame) {
if ((this._currentframe == 3) and (this._xscale > 0)) {
xspeed = 3 + (_root.score / _root.speeddivider);
} else if ((this._currentframe == 3) and (this._xscale < 0)) {
xspeed = -3 - (_root.score / _root.speeddivider);
}
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
}
onClipEvent (enterFrame) {
if ((death == 1) and (this._alpha > 0)) {
_root.explode = 0;
this._alpha = this._alpha - 50;
}
}
onClipEvent (enterFrame) {
if ((this._x < startx) or (this._x > 880)) {
if (_root._currentframe == 20) {
_root.escaped = _root.escaped + 1;
_root.lives = _root.lives - 1;
}
randomiser = Math.ceil(Math.random() * 2);
}
}
onClipEvent (enterFrame) {
if (this._alpha == 0) {
randomiser = Math.ceil(Math.random() * 2);
this._alpha = 100;
death = 0;
}
}
onClipEvent (enterFrame) {
if (randomiser == 1) {
this._x = startx;
this._xscale = 40;
randomiser = 0;
gotoAndStop(Math.ceil(Math.random() * 3));
} else if (randomiser == 2) {
this._x = 880;
this._xscale = -40;
randomiser = 0;
gotoAndStop(Math.ceil(Math.random() * 3));
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.marker) and (_root.c4explode == 1)) {
_root.c4explode = 0;
_root.targetzombie = this;
_root.explode = 1;
if (_root._currentframe == 20) {
_root.exploded = _root.exploded + 1;
_root.score = _root.score + 1;
}
death = 1;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 90;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 222 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 90;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 224 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 90;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 226 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 90;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 228 MovieClip "head" in Frame 20
onClipEvent (load) {
bouncecount = 0;
rotatespeed = 0;
exploded = 0;
xspeed = 0;
yspeed = 0;
this._xscale = 100;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (((_root.explode == 1) and (_root.zombie1._currentframe < 3)) and (_root.heady > ((_root.zombie1._y - _root.zombie1._height) + _root.head._height))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (_root.targetzombie.headdiffx / 3);
this._y = _root.targetzombie._y + (_root.targetzombie.headdiffy / 3);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (_root.targetzombie.headdiffx / 3);
this._y = _root.targetzombie._y + (_root.targetzombie.headdiffy / 3);
}
xspeed = (_root.targetzombie.xspeed + Math.random()) - 0.5;
yspeed = (_root.targetzombie.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
bouncecount = 0;
if (_root.targetzombie.xspeed < 0) {
this._xscale = -100;
} else if (_root.targetzombie.xspeed > 0) {
this._xscale = 100;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
} else if (((_root.explode == 1) and (_root.zombie1._currentframe < 3)) and (_root.heady < ((_root.zombie1._y - _root.zombie1._height) + _root.head._height))) {
_root.headexplode = 1;
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
this._y = 549;
rotatespeed = (Math.random() * 40) - 20;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
this._alpha = 0;
bouncecount = 0;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 30;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.c4explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
this._x = _root.c4._x + ((Math.random() * 20) - 10);
this._y = _root.c4._y + ((Math.random() * 20) - 10);
xspeed = (_root.c4.xspeed + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 222 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 30;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.c4explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
this._x = _root.c4._x + ((Math.random() * 20) - 10);
this._y = _root.c4._y + ((Math.random() * 20) - 10);
xspeed = (_root.c4.xspeed + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 226 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 30;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.c4explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
this._x = _root.c4._x + ((Math.random() * 20) - 10);
this._y = _root.c4._y + ((Math.random() * 20) - 10);
xspeed = (_root.c4.xspeed + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip "zombieflake" in Frame 20
onClipEvent (load) {
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
xspeed = (_root.zombie1.xspeed + Math.random()) - 0.5;
yspeed = Math.random() - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / 14));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / 14));
}
}
onClipEvent (enterFrame) {
if ((this._y > 550) and (yspeed > 0)) {
removeMovieClip(this);
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root.heady < 460)) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = (_root.targetzombie._x + (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
} else if (_root.targetzombie._xscale < 0) {
this._x = (_root.targetzombie._x - (_root.targetzombie.headdiffx / 3)) + ((Math.random() * 16) - 8);
this._y = (_root.targetzombie._y + (_root.targetzombie.headdiffy / 3)) + ((Math.random() * 16) - 8);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 90;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 222 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 90;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 224 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 90;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 226 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 90;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 90;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 222 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 90;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 224 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 90;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 226 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 90;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 90;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 222 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 90;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 224 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 90;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 226 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 90;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 30;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.c4explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
this._x = _root.c4._x + ((Math.random() * 20) - 10);
this._y = _root.c4._y + ((Math.random() * 20) - 10);
xspeed = (_root.c4.xspeed + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 222 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 30;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.c4explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
this._x = _root.c4._x + ((Math.random() * 20) - 10);
this._y = _root.c4._y + ((Math.random() * 20) - 10);
xspeed = (_root.c4.xspeed + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 226 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 30;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.c4explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
this._x = _root.c4._x + ((Math.random() * 20) - 10);
this._y = _root.c4._y + ((Math.random() * 20) - 10);
xspeed = (_root.c4.xspeed + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 30;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.c4explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
this._x = _root.c4._x + ((Math.random() * 20) - 10);
this._y = _root.c4._y + ((Math.random() * 20) - 10);
xspeed = (_root.c4.xspeed + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 222 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 30;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.c4explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
this._x = _root.c4._x + ((Math.random() * 20) - 10);
this._y = _root.c4._y + ((Math.random() * 20) - 10);
xspeed = (_root.c4.xspeed + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 226 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 30;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.c4explode == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
this._x = _root.c4._x + ((Math.random() * 20) - 10);
this._y = _root.c4._y + ((Math.random() * 20) - 10);
xspeed = (_root.c4.xspeed + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 220 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 20) + 20;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.bird._xscale > 0) {
this._x = _root.bird._x + (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
} else if (_root.bird._xscale < 0) {
this._x = _root.bird._x - (Math.random() * 30);
this._y = _root.bird._y - (Math.random() * 30);
}
xspeed = (_root.bird.xspeed + Math.random()) - 0.5;
yspeed = (_root.bird.yspeed + Math.random()) - 0.5;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root._xmouse - this._x) < 100) and ((_root._xmouse - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._xmouse - this._x) < 0) and ((_root._xmouse - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root._xmouse - this._x)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 100) and ((_root._ymouse - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root._ymouse - this._y)) / _root.birddivider));
}
if (((_root._ymouse - this._y) < 0) and ((_root._ymouse - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root._ymouse - this._y)) / _root.birddivider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and (_root._quality == "HIGH")) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 229 MovieClip in Frame 20
onClipEvent (load) {
startx = this._x;
starty = this._y;
bouncecount = 0;
exploded = 0;
rotatespeed = 0;
xspeed = 0;
yspeed = 0;
this._xscale = (Math.random() * 10) + 5;
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.explode == 1) and ((_root._quality == "HIGH") or (_root._quality == "MEDIUM"))) {
exploded = 1;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
if (_root.targetzombie._xscale > 0) {
this._x = _root.targetzombie._x + (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
} else if (_root.targetzombie._xscale < 0) {
this._x = _root.targetzombie._x - (Math.random() * _root.targetzombie._width);
this._y = _root.targetzombie._y - (Math.random() * _root.targetzombie._height);
}
xspeed = ((_root.targetzombie.xspeed + _root.c4.xspeed) + Math.random()) - 0.5;
yspeed = (_root.c4.yspeed + Math.random()) - 0.5;
point = new Object();
point.x = this._x;
point.y = this._y;
if (!_root.targetzombie.hitTest(point.x, point.y, true)) {
exploded = 0;
}
adjacent = this._x - _root.marker._x;
opposite = this._y - _root.marker._y;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
if (((_root.marker._x - this._x) < 100) and ((_root.marker._x - this._x) > 0)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 - (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._x - this._x) < 0) and ((_root.marker._x - this._x) > -100)) {
xspeed = xspeed - ((-Math.cos(_rotation * (Math.PI/180))) * ((100 + (_root.marker._x - this._x)) / _root.divider));
}
if (((_root.marker._y - this._y) < 100) and ((_root.marker._y - this._y) > 0)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 - (_root.marker._y - this._y)) / _root.divider));
}
if (((_root.marker._y - this._y) < 0) and ((_root.marker._y - this._y) > -100)) {
yspeed = yspeed - ((-Math.sin(_rotation * (Math.PI/180))) * ((100 + (_root.marker._y - this._y)) / _root.divider));
}
}
}
onClipEvent (enterFrame) {
if (this._y > 550) {
rotatespeed = (Math.random() * 40) - 20;
this._y = 549;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (xspeed > 0) {
xspeed = xspeed - 0.02;
} else if (xspeed < 0) {
xspeed = xspeed + 0.02;
}
}
onClipEvent (enterFrame) {
if (exploded == 1) {
this._rotation = this._rotation + rotatespeed;
yspeed = yspeed + _root.gravity;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
} else if (exploded == 0) {
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
exploded = 0;
bouncecount = 0;
}
}
Instance of Symbol 236 MovieClip "bird" in Frame 20
onClipEvent (load) {
fly = 0;
death = 0;
xspeed = 0;
yspeed = 0;
startx = this._x;
randomiser = Math.ceil(Math.random() * 2);
randomiser2 = 0;
}
onClipEvent (enterFrame) {
if (this._xscale > 0) {
xspeed = 6 + (_root.score / _root.speeddivider);
} else if (this._xscale < 0) {
xspeed = -6 - (_root.score / _root.speeddivider);
}
}
onClipEvent (enterFrame) {
randomiser2 = Math.ceil(Math.random() * 100);
}
onClipEvent (enterFrame) {
if ((randomiser2 == 1) and (fly == 0)) {
fly = 1;
}
}
onClipEvent (enterFrame) {
if (fly == 1) {
this._x = this._x + xspeed;
}
}
onClipEvent (enterFrame) {
if (death == 1) {
fly = 0;
_root.birdshot = 0;
if (_root._currentframe == 20) {
_root.score = _root.score + 1;
_root.explodedbirds = _root.explodedbirds + 1;
}
randomiser = Math.ceil(Math.random() * 2);
death = 0;
}
}
onClipEvent (enterFrame) {
if ((this._x < startx) or (this._x > 880)) {
fly = 0;
if (_root._currentframe == 20) {
_root.escaped = _root.escaped + 1;
_root.lives = _root.lives - 1;
}
randomiser = Math.ceil(Math.random() * 2);
}
}
onClipEvent (enterFrame) {
if (randomiser == 1) {
this._x = startx;
this._xscale = 100;
randomiser = 0;
} else if (randomiser == 2) {
this._x = 880;
this._xscale = -100;
randomiser = 0;
}
}
onClipEvent (enterFrame) {
if (_root.birdshot == 1) {
death = 1;
}
}
onClipEvent (enterFrame) {
if (_root.weapon == 3) {
_root.birddivider = 8;
} else {
_root.birddivider = 14;
}
}
Instance of Symbol 252 MovieClip "c4" in Frame 20
onClipEvent (load) {
stuck = 0;
bouncecount = 0;
xspeed = 0;
yspeed = 0;
inair = 0;
startx = this._x;
starty = this._y;
rotatespeed = 0;
throwspeed = 0;
}
onClipEvent (enterFrame) {
if (_root.thrown == 1) {
gotoAndPlay (2);
xspeed = 0;
yspeed = 0;
inair = 1;
_root.thrown = 0;
rotatespeed = (Math.random() * 40) - 20;
this._alpha = 100;
this._x = startx;
this._y = starty;
point = new Object();
point.x = this._x;
point.y = this._y;
bouncecount = 0;
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = (Math.atan(opposite / adjacent) * 57.2957795130823);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
xspeed = xspeed - (Math.cos(_rotation * (Math.PI/180)) * throwspeed);
yspeed = yspeed - (Math.sin(_rotation * (Math.PI/180)) * throwspeed);
throwspeed = 0;
}
}
onClipEvent (enterFrame) {
if (((this._y > 550) and (bouncecount < 4)) and (_root.explosiveonscreen != 2)) {
this._y = 549;
rotatespeed = (Math.random() * 40) - 20;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (((this._y > 550) and (bouncecount < 4)) and (_root.explosiveonscreen == 2)) {
this._y = 549;
rotatespeed = (Math.random() * 40) - 20;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 4)) - 2;
xspeed = xspeed + ((Math.random() * 10) - 5);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (bouncecount == 4) {
xspeed = 0;
yspeed = 0;
rotatespeed = 0;
}
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y + yspeed;
this._rotation = this._rotation + rotatespeed;
}
onClipEvent (enterFrame) {
if ((inair == 1) and (stuck == 0)) {
yspeed = yspeed + (_root.gravity + 0.1);
}
}
onClipEvent (enterFrame) {
if (inair == 0) {
gotoAndStop (1);
_root.c4explode = 0;
this._x = startx;
this._y = starty;
xspeed = 0;
yspeed = 0;
rotatespeed = 0;
stuck = 0;
}
}
onClipEvent (enterFrame) {
if (_root.c4explode == 1) {
inair = 0;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) and (throwspeed < 15)) {
inair = 0;
throwspeed = throwspeed + 0.5;
} else if ((!Key.isDown(32)) and (throwspeed > 0)) {
_root.thrown = 1;
}
}
onClipEvent (enterFrame) {
if (_root.explosiveonscreen == 6) {
point = new Object();
point.x = this._x;
point.y = this._y;
if (_root.zombie1.stickyarea.hitTest(point.x, point.y, true)) {
yspeed = 0;
xspeed = _root.zombie1.xspeed;
rotatespeed = 0;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zombie1) and (_root.explosiveonscreen == 5)) {
_root.c4explode = 1;
_root.heady = _root.c4._y;
inair = 0;
_root.timer.gotoAndPlay(80);
}
}
Instance of Symbol 69 MovieClip "marker" in Frame 20
onClipEvent (load) {
rotatespeed = 0;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 20) {
this._alpha = this._alpha + 5;
}
}
onClipEvent (enterFrame) {
this._x = _root.c4._x;
this._y = _root.c4._y;
this._rotation = this._rotation + rotatespeed;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zombie1) and (rotatespeed < 3)) {
rotatespeed = rotatespeed + 0.5;
this._alpha = 80;
gotoAndStop (2);
} else if ((!this.hitTest(_root.zombie1)) and (rotatespeed > 0)) {
rotatespeed = rotatespeed - 0.5;
this._alpha = 20;
gotoAndStop (1);
}
}
Instance of Symbol 70 MovieClip in Frame 20
onClipEvent (load) {
count = 1;
count2 = 100;
}
onClipEvent (mouseDown) {
if (_root.weapon == 1) {
duplicateMovieClip (_root.particle, "particle" + count, count);
_root["particle" + count]._x = _root.sitting._x + (_root.sitting.gun._x / 3);
_root["particle" + count]._y = _root.sitting._y + (_root.sitting.gun._y / 3);
_root["particle" + count]._xscale = 15;
_root["particle" + count]._yscale = 15;
_root["particle" + count]._alpha = 100;
count = count + 1;
}
}
onClipEvent (enterFrame) {
if ((_root.weapon == 2) and (_root.sitting.gun.uzi._currentframe == 2)) {
duplicateMovieClip (_root.particle, "particle" + count, count);
_root["particle" + count]._x = _root.sitting._x + (_root.sitting.gun._x / 3);
_root["particle" + count]._y = _root.sitting._y + (_root.sitting.gun._y / 3);
_root["particle" + count]._xscale = 15;
_root["particle" + count]._yscale = 15;
_root["particle" + count]._alpha = 100;
count = count + 1;
}
}
onClipEvent (mouseDown) {
if (_root.weapon == 3) {
duplicateMovieClip (_root.particle, "particle" + count, count);
_root["particle" + count]._x = _root.sitting._x + (_root.sitting.gun._x / 3);
_root["particle" + count]._y = _root.sitting._y + (_root.sitting.gun._y / 3);
_root["particle" + count]._xscale = 25;
_root["particle" + count]._yscale = 25;
_root["particle" + count]._alpha = 100;
count = count + 1;
}
}
onClipEvent (enterFrame) {
if ((_root.zombieshot == 1) and (_root.weapon == 1)) {
i = 0;
while (i < 6) {
duplicateMovieClip (_root.zombieflake, "zombieflake" + count2, count2);
_root["zombieflake" + count2]._xscale = Math.random() * 10;
_root["zombieflake" + count2]._yscale = _root["zombieflake" + count2]._xscale;
_root["zombieflake" + count2]._x = _root._xmouse + ((Math.random() * 10) - 5);
_root["zombieflake" + count2]._y = _root._ymouse + ((Math.random() * 10) - 5);
count2 = count2 + 1;
i++;
}
_root.zombieshot = 0;
}
}
onClipEvent (enterFrame) {
if (((_root.zombieshot == 1) and (_root.weapon == 2)) and (_root.sitting.gun.uzi._currentframe == 2)) {
i = 0;
while (i < 6) {
duplicateMovieClip (_root.zombieflake, "zombieflake" + count2, count2);
_root["zombieflake" + count2]._xscale = Math.random() * 10;
_root["zombieflake" + count2]._yscale = _root["zombieflake" + count2]._xscale;
_root["zombieflake" + count2]._x = _root._xmouse + ((Math.random() * 10) - 5);
_root["zombieflake" + count2]._y = _root._ymouse + ((Math.random() * 10) - 5);
count2 = count2 + 1;
i++;
}
_root.zombieshot = 0;
}
}
onClipEvent (enterFrame) {
if ((_root.zombieshot == 1) and (_root.weapon == 3)) {
i = 0;
while (i < 12) {
duplicateMovieClip (_root.zombieflake, "zombieflake" + count2, count2);
_root["zombieflake" + count2]._xscale = Math.random() * 15;
_root["zombieflake" + count2]._yscale = _root["zombieflake" + count2]._xscale;
_root["zombieflake" + count2]._x = _root._xmouse + ((Math.random() * 10) - 5);
_root["zombieflake" + count2]._y = _root._ymouse + ((Math.random() * 10) - 5);
count2 = count2 + 1;
i++;
}
_root.zombieshot = 0;
}
}
onClipEvent (mouseDown) {
if ((_root._ymouse > 545) and (_root.weapon == 1)) {
i = 0;
while (i < 6) {
duplicateMovieClip (_root.zombieflake, "zombieflake" + count2, count2);
_root["zombieflake" + count2]._xscale = Math.random() * 10;
_root["zombieflake" + count2]._yscale = _root["zombieflake" + count2]._xscale;
_root["zombieflake" + count2]._x = _root._xmouse + ((Math.random() * 10) - 5);
_root["zombieflake" + count2]._y = _root._ymouse + ((Math.random() * 10) - 5);
count2 = count2 + 1;
i++;
}
}
}
onClipEvent (enterFrame) {
if (((_root._ymouse > 545) and (_root.weapon == 2)) and (_root.sitting.gun.uzi._currentframe == 2)) {
i = 0;
while (i < 6) {
duplicateMovieClip (_root.zombieflake, "zombieflake" + count2, count2);
_root["zombieflake" + count2]._xscale = Math.random() * 10;
_root["zombieflake" + count2]._yscale = _root["zombieflake" + count2]._xscale;
_root["zombieflake" + count2]._x = _root._xmouse + ((Math.random() * 10) - 5);
_root["zombieflake" + count2]._y = _root._ymouse + ((Math.random() * 10) - 5);
count2 = count2 + 1;
i++;
}
}
}
onClipEvent (mouseDown) {
if ((_root._ymouse > 545) and (_root.weapon == 3)) {
i = 0;
while (i < 12) {
duplicateMovieClip (_root.zombieflake, "zombieflake" + count2, count2);
_root["zombieflake" + count2]._xscale = Math.random() * 15;
_root["zombieflake" + count2]._yscale = _root["zombieflake" + count2]._xscale;
_root["zombieflake" + count2]._x = _root._xmouse + ((Math.random() * 10) - 5);
_root["zombieflake" + count2]._y = _root._ymouse + ((Math.random() * 10) - 5);
count2 = count2 + 1;
i++;
}
}
}
Instance of Symbol 73 MovieClip "particle" in Frame 20
onClipEvent (load) {
gotoAndStop (2);
bouncecount = 0;
yspeed = -10;
xspeed = ((-4 + (_root._xmouse / 100)) + (Math.random() * 4)) - 2;
rotationspeed = Math.random() * 20;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + rotationspeed;
yspeed = yspeed + 1;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
}
onClipEvent (enterFrame) {
if (this._y > 550) {
this._y = 549;
rotatespeed = (Math.random() * 40) - 20;
yspeed = (((-yspeed) / _root.floorspring) + (Math.random() * 2)) - 1;
xspeed = xspeed + ((Math.random() * 2) - 1);
bouncecount = bouncecount + 1;
}
}
onClipEvent (enterFrame) {
if (bouncecount == _root.bouncemax) {
removeMovieClip(this);
}
}
Instance of Symbol 255 MovieClip "headpopup" in Frame 20
onClipEvent (enterFrame) {
if ((_root.headexplode == 1) and (_root.zombie1._currentframe < 3)) {
_root.explodedhead = _root.explodedhead + 1;
this._alpha = 100;
gotoAndPlay (2);
this._x = _root.targetzombie._x + (_root.targetzombie.headdiffx / 3);
this._y = _root.targetzombie._y + (_root.targetzombie.headdiffy / 3);
_root.headexplode = 0;
}
}
Instance of Symbol 261 MovieClip "timer" in Frame 20
onClipEvent (load) {
this._alpha = 0;
fadein = 0;
}
onClipEvent (enterFrame) {
if ((this._alpha < 50) and (fadein == 0)) {
this._alpha = this._alpha + 5;
} else if (this._alpha == 50) {
fadein = 1;
}
}
onClipEvent (enterFrame) {
if (_root.explosiveonscreen < 5) {
this._alpha = 80;
} else if (_root.explosiveonscreen > 4) {
this._alpha = 0;
}
}
onClipEvent (enterFrame) {
this._x = _root.c4._x;
this._y = _root.c4._y;
this._rotation = _root.c4._rotation;
}
onClipEvent (enterFrame) {
if (Key.isDown(32) and (_root.explosive < 5)) {
nextFrame();
} else if (((!Key.isDown(32)) and (_currentframe > 1)) and (_root.explosive < 5)) {
play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) and (_root.cooking == 0)) {
gotoAndStop (1);
_root.cooking = 1;
} else if ((!Key.isDown(32)) and (_root.cooking == 1)) {
_root.cooking = 0;
}
}
onClipEvent (enterFrame) {
if (_root.c4explode == 1) {
gotoAndStop (1);
this._alpha = 0;
}
}
Instance of Symbol 263 MovieClip in Frame 20
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.zombie1._xscale < 0) {
this._xscale = -_root.zombie1._width;
} else {
this._xscale = _root.zombie1._width;
}
}
onClipEvent (enterFrame) {
this._x = _root.zombie1._x;
this._y = _root.zombie1._y;
this._yscale = _root.zombie1._height;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = _root._xmouse;
point.y = _root._ymouse;
if ((_root.zombie1.hitTest(point.x, point.y, true) and (_root.weapon == 2)) and (_root.firing == 1)) {
_root.zombieshot = 1;
}
}
Instance of Symbol 265 MovieClip "c4button" in Frame 20
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
this._x = _root.c4._x;
this._y = _root.c4._y;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root._xmouse, _root._ymouse, true) and (_root.weapon == 2)) and (_root.firing == 1)) {
_root.c4explode = 1;
_root.heady = _root.c4._y;
_root.timer.gotoAndPlay(80);
}
}
onClipEvent (enterFrame) {
if (_root.weapon == 3) {
this._xscale = 200;
this._yscale = 200;
} else {
this._xscale = 100;
this._yscale = 100;
}
}
Instance of Symbol 269 MovieClip in Frame 20
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 5;
}
}
onClipEvent (enterFrame) {
_root.headm = Math.round((1 - (_root.head._y / 400)) * 20);
_root.highestheadm = Math.round(((1 - (_root.highesthead / 400)) * 20) * 100) / 100;
_root.highestheadmeters = _root.highestheadm + "m";
}
onClipEvent (enterFrame) {
if (_root.head._y < _root.highesthead) {
_root.highesthead = _root.head._y;
gotoAndPlay (2);
}
}
onClipEvent (enterFrame) {
if (this._y > 75) {
this._y = _root.highesthead;
}
}
onClipEvent (enterFrame) {
_root.lastheadbonus = _root.headbonus;
}
onClipEvent (enterFrame) {
if (_root.headm > 4) {
_root.headbonus = Math.floor(_root.headm / 5);
}
}
onClipEvent (enterFrame) {
if (_root.headbonus > _root.lastheadbonus) {
_root.score = _root.score + _root.lastheadbonus;
}
}
onClipEvent (enterFrame) {
if (this._y < 75) {
this._y = 75;
}
}
Instance of Symbol 336 MovieClip in Frame 20
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 5;
}
}
Instance of Symbol 340 MovieClip in Frame 20
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 70) {
this._alpha = this._alpha + 5;
}
}
onClipEvent (enterFrame) {
adjacent = this._x - _root._xmouse;
opposite = this._y - _root._ymouse;
_rotation = ((Math.atan(opposite / adjacent) * 57.2957795130823) - 90);
if (adjacent < 0) {
_rotation = (_rotation - 180);
}
}
Instance of Symbol 342 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.headbonus > _root.lastheadbonus) {
this._alpha = 100;
} else if (this._alpha > 0) {
this._alpha = this._alpha - 1;
}
}
onClipEvent (enterFrame) {
this._x = _root.head._x;
this._y = _root.head._y;
}
Instance of Symbol 344 MovieClip in Frame 20
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.bird._xscale < 0) {
this._xscale = -100;
} else if (_root.bird._xscale > 0) {
this._xscale = 100;
}
}
onClipEvent (enterFrame) {
this._x = _root.bird._x;
this._y = _root.bird._y;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = _root._xmouse;
point.y = _root._ymouse;
if ((_root.bird.hitTest(point.x, point.y, true) and (_root.weapon == 2)) and (_root.firing == 1)) {
_root.birdshot = 1;
}
}
Frame 21
stop();
stopAllSounds();
Instance of Symbol 122 MovieClip "cloud2" in Frame 21
onClipEvent (load) {
this._y = Math.random() * 400;
this._x = (Math.random() * 1600) - 800;
framesend = Math.round(Math.random() * 2) + 1;
gotoAndStop(framesend);
}
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 5;
}
}
onClipEvent (enterFrame) {
if (this._x > 1000) {
this._x = -400;
framesend = Math.round(Math.random() * 2) + 1;
gotoAndStop(framesend);
this._y = Math.random() * 400;
}
}
onClipEvent (enterFrame) {
this._x = this._x + 0.6;
}
onClipEvent (enterFrame) {
if ((_root._quality == "MEDIUM") or (_root._quality == "LOW")) {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 10 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root._quality == "LOW") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 63 MovieClip "sitting" in Frame 21
onClipEvent (enterFrame) {
gotoAndStop(Math.ceil(_root._xmouse / 26));
}
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.explosive = 1;
} else if (Key.isDown(50) and (_root.explosiveunlock > 1)) {
_root.explosive = 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(51) and (_root.explosiveunlock > 2)) {
_root.explosive = 3;
} else if (Key.isDown(52) and (_root.explosiveunlock > 3)) {
_root.explosive = 4;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(53) and (_root.explosiveunlock > 4)) {
_root.explosive = 5;
} else if (Key.isDown(54) and (_root.explosiveunlock > 5)) {
_root.explosive = 6;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(55)) {
_root.weapon = 1;
} else if (Key.isDown(56) and (_root.weaponunlock > 1)) {
_root.weapon = 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(57) and (_root.weaponunlock > 2)) {
_root.weapon = 3;
}
}
onClipEvent (enterFrame) {
_root.explosiveunlock = Math.floor(_root.score / _root.explosiveunlockinteger) + 1;
_root.weaponunlock = Math.floor(_root.explodedbirds / _root.weaponunlockinteger) + 1;
}
onClipEvent (enterFrame) {
_root.divider = 8 - _root.explosive;
}
Instance of Symbol 265 MovieClip "c4button" in Frame 21
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
this._x = _root.c4._x;
this._y = _root.c4._y;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root._xmouse, _root._ymouse, true) and (_root.weapon == 2)) and (_root.firing == 1)) {
_root.c4explode = 1;
_root.heady = _root.c4._y;
}
}
onClipEvent (enterFrame) {
if (_root.weapon == 3) {
this._xscale = 200;
this._yscale = 200;
} else {
this._xscale = 100;
this._yscale = 100;
}
}
Instance of Symbol 349 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
}
}
Instance of Symbol 7 MovieClip in Symbol 8 MovieClip Frame 1
onClipEvent (enterFrame) {
this._yscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
}
Symbol 27 MovieClip Frame 1
stop();
Symbol 27 MovieClip Frame 2
stop();
Symbol 27 MovieClip Frame 3
stop();
Symbol 28 MovieClip Frame 1
stop();
Instance of Symbol 27 MovieClip in Symbol 28 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(Math.ceil(Math.random() * 3));
fired = 0;
}
onClipEvent (enterFrame) {
if (fired == 0) {
gotoAndStop(Math.ceil(Math.random() * 3));
fired = 1;
}
}
onClipEvent (mouseDown) {
fired = 0;
}
Instance of Symbol 27 MovieClip in Symbol 28 MovieClip Frame 7
onClipEvent (load) {
gotoAndStop(Math.ceil(Math.random() * 3));
}
Symbol 30 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 2
play();
Instance of Symbol 27 MovieClip in Symbol 30 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(Math.ceil(Math.random() * 3));
fired = 0;
}
onClipEvent (enterFrame) {
if (fired == 0) {
gotoAndStop(Math.ceil(Math.random() * 3));
fired = 1;
}
}
onClipEvent (mouseDown) {
fired = 0;
}
Instance of Symbol 27 MovieClip in Symbol 30 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop(Math.ceil(Math.random() * 3));
}
Symbol 32 MovieClip Frame 1
stop();
Symbol 32 MovieClip Frame 2
play();
Instance of Symbol 27 MovieClip in Symbol 32 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(Math.ceil(Math.random() * 3));
fired = 0;
}
onClipEvent (enterFrame) {
if (fired == 0) {
gotoAndStop(Math.ceil(Math.random() * 3));
fired = 1;
}
}
onClipEvent (mouseDown) {
fired = 0;
}
Instance of Symbol 27 MovieClip in Symbol 32 MovieClip Frame 7
onClipEvent (load) {
gotoAndStop(Math.ceil(Math.random() * 3));
}
Symbol 33 MovieClip Frame 1
stop();
_root.weapon = 1;
Instance of Symbol 28 MovieClip in Symbol 33 MovieClip Frame 1
onClipEvent (mouseDown) {
gotoAndPlay (2);
}
Symbol 33 MovieClip Frame 2
stop();
_root.weapon = 2;
Instance of Symbol 30 MovieClip "uzi" in Symbol 33 MovieClip Frame 2
onClipEvent (mouseDown) {
_root.firing = 1;
}
onClipEvent (mouseUp) {
_root.firing = 0;
}
onClipEvent (enterFrame) {
if ((_root.firing == 1) and (this._currentframe == 1)) {
gotoAndPlay (2);
}
}
Symbol 33 MovieClip Frame 3
stop();
_root.weapon = 3;
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip Frame 3
onClipEvent (mouseDown) {
gotoAndPlay (2);
}
Symbol 63 MovieClip Frame 1
stop();
Instance of Symbol 33 MovieClip "gun" in Symbol 63 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.weapon);
}
Symbol 66 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 2
stop();
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 2
stop();
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 2
stop();
Symbol 86 Button
on (release) {
_root.gotoAndPlay(2);
}
Symbol 88 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 2
stop();
Symbol 91 Button
on (release) {
gotoAndStop (2);
}
on (rollOver) {
_alpha = 100;
}
on (rollOut) {
_alpha = 70;
}
Symbol 93 Button
on (release) {
gotoAndStop (3);
}
on (rollOver) {
_alpha = 100;
}
on (rollOut) {
_alpha = 70;
}
Symbol 95 Button
on (release) {
gotoAndStop (1);
}
on (rollOver) {
_alpha = 100;
}
on (rollOut) {
_alpha = 70;
}
Symbol 96 MovieClip Frame 1
stop();
_root.difficulty = 3;
Symbol 96 MovieClip Frame 2
stop();
_root.difficulty = 1;
Symbol 96 MovieClip Frame 3
stop();
_root.difficulty = 5;
Symbol 102 Button
on (release) {
_root._quality = "medium";
}
Symbol 105 Button
on (release) {
_root._quality = "low";
}
Symbol 108 Button
on (release) {
_root._quality = "high";
}
Symbol 109 Button
on (release) {
_root._quality = "medium";
}
on (rollOver) {
_alpha = 100;
}
on (rollOut) {
_alpha = 60;
}
Symbol 110 Button
on (release) {
_root._quality = "low";
}
on (rollOver) {
_alpha = 100;
}
on (rollOut) {
_alpha = 60;
}
Symbol 111 Button
on (release) {
_root._quality = "high";
}
on (rollOver) {
_alpha = 100;
}
on (rollOut) {
_alpha = 60;
}
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 2
stop();
Symbol 112 MovieClip Frame 3
stop();
Symbol 115 Button
on (release) {
if (my_sound.getVolume() == 100) {
my_sound.setVolume(0);
} else {
my_sound.setVolume(100);
}
}
Symbol 122 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 2
stop();
Symbol 122 MovieClip Frame 3
stop();
Symbol 218 MovieClip Frame 1
stop();
Instance of Symbol 153 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(Math.ceil(Math.random() * 30));
}
Instance of Symbol 155 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.headdiffx = this._x;
_parent.headdiffy = this._y;
}
Symbol 218 MovieClip Frame 2
stop();
Instance of Symbol 155 MovieClip in Symbol 218 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.headdiffx = this._x;
_parent.headdiffy = this._y;
}
Symbol 218 MovieClip Frame 3
stop();
Instance of Symbol 217 MovieClip in Symbol 218 MovieClip Frame 3
onClipEvent (load) {
gotoAndPlay(Math.ceil(Math.random() * 30));
}
Instance of Symbol 235 MovieClip in Symbol 236 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.weapon < 3) {
this._xscale = 100;
this._yscale = 100;
} else {
this._xscale = 130;
this._yscale = 130;
}
}
Symbol 251 MovieClip Frame 1
stop();
_root.explosiveonscreen = 1;
Symbol 251 MovieClip Frame 2
stop();
_root.explosiveonscreen = 2;
Instance of Symbol 240 MovieClip in Symbol 251 MovieClip Frame 2
/* no clip actions */
Symbol 251 MovieClip Frame 3
stop();
_root.explosiveonscreen = 3;
Symbol 251 MovieClip Frame 4
stop();
_root.explosiveonscreen = 4;
Symbol 251 MovieClip Frame 5
stop();
_root.explosiveonscreen = 5;
Symbol 252 MovieClip Frame 1
stop();
Instance of Symbol 251 MovieClip in Symbol 252 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.inair == 0) {
gotoAndStop(_root.explosive);
}
}
Symbol 252 MovieClip Frame 15
stop();
Symbol 255 MovieClip Frame 1
stop();
Symbol 255 MovieClip Frame 40
stop();
Symbol 261 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 80
_root.c4explode = 1;
_root.heady = _root.c4._y;
stop();
Symbol 262 Button
on (press) {
point = new Object();
point.x = _root._xmouse;
point.y = _root._ymouse;
if (_root.zombie1.hitTest(point.x, point.y, true)) {
_root.zombieshot = 1;
}
}
Symbol 264 Button
on (press) {
_root.c4explode = 1;
_root.heady = _root.c4._y;
_root.timer.gotoAndPlay(80);
}
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 2
Symbol 269 MovieClip Frame 8
stop();
Symbol 274 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 8
stop();
escapedviewer = _root.escaped;
Symbol 278 MovieClip Frame 1
stop();
Symbol 278 MovieClip Frame 8
stop();
explodedviewer = _root.exploded;
Symbol 282 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 8
stop();
explodedheadviewer = _root.explodedhead;
Symbol 287 MovieClip Frame 1
stop();
Symbol 291 MovieClip Frame 1
stop();
Symbol 291 MovieClip Frame 15
stop();
Symbol 295 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 15
stop();
Symbol 298 MovieClip Frame 1
stop();
Symbol 298 MovieClip Frame 15
stop();
Symbol 306 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 15
stop();
Symbol 310 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 15
stop();
Symbol 314 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 15
stop();
Symbol 323 MovieClip Frame 1
stop();
Symbol 323 MovieClip Frame 8
stop();
explodedbirdsviewer = _root.explodedbirds;
Symbol 329 MovieClip Frame 1
stop();
Symbol 329 MovieClip Frame 2
stop();
this._alpha = 100;
Symbol 329 MovieClip Frame 3
stop();
this._alpha = 100;
Symbol 329 MovieClip Frame 4
stop();
this._alpha = 100;
Symbol 329 MovieClip Frame 5
stop();
this._alpha = 100;
Symbol 333 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 2
stop();
this._alpha = 100;
Symbol 333 MovieClip Frame 3
stop();
this._alpha = 100;
Instance of Symbol 274 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
escapedviewer = 0;
}
onClipEvent (enterFrame) {
if ((_root.escaped != escapedviewer) and (_currentframe < 8)) {
nextFrame();
} else if ((_root.escaped == escapedviewer) and (_currentframe > 1)) {
prevFrame();
}
}
Instance of Symbol 278 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
explodedviewer = 0;
}
onClipEvent (enterFrame) {
if ((_root.exploded != explodedviewer) and (_currentframe < 8)) {
nextFrame();
} else if ((_root.exploded == explodedviewer) and (_currentframe > 1)) {
prevFrame();
}
}
Instance of Symbol 282 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
explodedheadviewer = 0;
}
onClipEvent (enterFrame) {
if ((_root.explodedhead != explodedheadviewer) and (_currentframe < 8)) {
nextFrame();
} else if ((_root.explodedhead == explodedheadviewer) and (_currentframe > 1)) {
prevFrame();
}
}
Instance of Symbol 287 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.explosive == 1) {
this._alpha = 100;
} else if (_root.explosive != 1) {
this._alpha = 20;
}
}
Instance of Symbol 291 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.explosive == 2) and (_root.explosiveunlock > 1)) {
this._alpha = 100;
} else if ((_root.explosive != 2) and (_root.explosiveunlock > 1)) {
this._alpha = 20;
}
}
onClipEvent (enterFrame) {
if (_root.explosiveunlock < 2) {
this._alpha = 0;
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (_root.explosiveunlock > 1) {
nextFrame();
}
}
Instance of Symbol 295 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.explosive == 3) and (_root.explosiveunlock > 2)) {
this._alpha = 100;
} else if ((_root.explosive != 3) and (_root.explosiveunlock > 2)) {
this._alpha = 20;
}
}
onClipEvent (enterFrame) {
if (_root.explosiveunlock < 3) {
this._alpha = 0;
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (_root.explosiveunlock > 2) {
nextFrame();
}
}
Instance of Symbol 298 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.explosive == 4) and (_root.explosiveunlock > 3)) {
this._alpha = 100;
} else if ((_root.explosive != 4) and (_root.explosiveunlock > 3)) {
this._alpha = 20;
}
}
onClipEvent (enterFrame) {
if (_root.explosiveunlock < 4) {
this._alpha = 0;
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (_root.explosiveunlock > 3) {
nextFrame();
}
}
Instance of Symbol 303 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.weapon == 1) {
this._alpha = 100;
} else if (_root.weapon != 1) {
this._alpha = 20;
}
}
Instance of Symbol 306 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.weapon == 2) and (_root.weaponunlock > 1)) {
this._alpha = 100;
} else if ((_root.weapon != 2) and (_root.weaponunlock > 1)) {
this._alpha = 20;
}
}
onClipEvent (enterFrame) {
if (_root.weaponunlock < 2) {
this._alpha = 0;
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (_root.weaponunlock > 1) {
nextFrame();
}
}
Instance of Symbol 310 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.weapon == 3) and (_root.weaponunlock > 2)) {
this._alpha = 100;
} else if ((_root.weapon != 3) and (_root.weaponunlock > 2)) {
this._alpha = 20;
}
}
onClipEvent (enterFrame) {
if (_root.weaponunlock < 3) {
this._alpha = 0;
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (_root.weaponunlock > 2) {
nextFrame();
}
}
Instance of Symbol 314 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.explosive == 5) and (_root.explosiveunlock > 4)) {
this._alpha = 100;
} else if ((_root.explosive != 5) and (_root.explosiveunlock > 4)) {
this._alpha = 20;
}
}
onClipEvent (enterFrame) {
if (_root.explosiveunlock < 5) {
this._alpha = 0;
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (_root.explosiveunlock > 4) {
nextFrame();
}
}
Instance of Symbol 319 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.lives < 1) and (this._alpha > 0)) {
this._alpha = this._alpha - 5;
} else if (_root.lives > 0) {
this._alpha = 100;
}
}
Instance of Symbol 319 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.lives < 2) and (this._alpha > 0)) {
this._alpha = this._alpha - 5;
} else if (_root.lives > 1) {
this._alpha = 100;
}
}
Instance of Symbol 319 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.lives < 3) and (this._alpha > 0)) {
this._alpha = this._alpha - 5;
} else if (_root.lives > 2) {
this._alpha = 100;
}
}
Instance of Symbol 323 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
explodedbirdsviewer = 0;
}
onClipEvent (enterFrame) {
if ((_root.explodedbirds != explodedbirdsviewer) and (_currentframe < 8)) {
nextFrame();
} else if ((_root.explodedbirds == explodedbirdsviewer) and (_currentframe > 1)) {
prevFrame();
}
}
Instance of Symbol 329 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.explosiveunlock);
}
onClipEvent (enterFrame) {
if (this._alpha > 0) {
this._alpha = this._alpha - 1;
}
}
Instance of Symbol 333 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.weaponunlock);
}
onClipEvent (enterFrame) {
if (this._alpha > 0) {
this._alpha = this._alpha - 1;
}
}
Instance of Symbol 319 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.lives < 4) and (this._alpha > 0)) {
this._alpha = this._alpha - 5;
} else if (_root.lives > 3) {
this._alpha = 100;
}
}
Instance of Symbol 319 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.lives < 5) and (this._alpha > 0)) {
this._alpha = this._alpha - 5;
} else if (_root.lives > 4) {
this._alpha = 100;
}
}
Instance of Symbol 338 MovieClip in Symbol 340 MovieClip Frame 1
onClipEvent (enterFrame) {
this._yscale = (_root.c4.throwspeed / 15) * 100;
}
Symbol 343 Button
on (press) {
point = new Object();
point.x = _root._xmouse;
point.y = _root._ymouse;
if (_root.bird.hitTest(point.x, point.y, true)) {
_root.birdshot = 1;
}
}
Symbol 348 MovieClip Frame 20
stop();
Instance of Symbol 96 MovieClip in Symbol 349 MovieClip Frame 1
onClipEvent (load) {
if (_root.difficulty == 3) {
gotoAndStop (1);
} else if (_root.difficulty == 5) {
gotoAndStop (3);
}
if (_root.difficulty == 1) {
gotoAndStop (2);
}
}
Symbol 352 Button
on (release) {
_root.gotoAndStop(20);
_root.score = 0;
_root.lives = _root.difficulty;
_root.exploded = 0;
_root.escaped = 0;
_root.explodedhead = 0;
_root.explodedbirds = 0;
_root.explosive = 1;
_root.weapon = 1;
}