STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229595
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/59604988?noj=FRM59604988-22DC" width="1" height="1"></div>

Explode Some Zombies.swf

This is the info page for
Flash #42452

(Click the ID number above for more basic data on this flash file.)


Text
Explode Some Zombies!

a game by jimmy

loading

<p align="center"></p>

loading.

loading..

loading...

click to start

click to start

- Space bar cooks and throws explosives
- Use the number keys to change explosives and weapons
- New explosives are unlocked every 30 points
- New weapons are unlocked every 75 points
- Lives are lost every time a zombie or zombie bird escapes
- Bonus points are given for exploding heads and high flying heads
- You can change the quality in the bottom left corner

difficulty :

normal

hard

easy

Q :

M

M

L

L

H

H

+ head shot bonus

< highest head :

<p align="left"></p>

zombies escaped :

<p align="left"></p>

zombies exploded :

<p align="left"></p>

exploded heads :

<p align="left"></p>

explosives :

1.

2.

3.

4.

weapons:

7.

8.

9.

5.

score :

<p align="left"></p>

lives :

zombie birds exploded :

<p align="left"></p>

+ unlocked : grenade

+ unlocked : potato masher

+ unlocked : c4

+ unlocked : gammon grenade

+ unlocked : proxy grenade

+ unlocked : handgun

+ unlocked : uzi

+ unlocked : sawn off

highscore :

<p align="left"></p>

+ high head bonus

GAME OVER

the zombies escaped!

play again?

play again?

ActionScript [AS1/AS2]

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; }

Library Items

Symbol 1 Sound [music]
Symbol 2 Sound [explosion]Used by:261
Symbol 3 Sound [handgunsound]Used by:28 30 32
Symbol 4 GraphicUsed by:Timeline
Symbol 5 GraphicUsed by:8
Symbol 6 GraphicUsed by:7 86 115 262 264 338 343
Symbol 7 MovieClipUses:6Used by:8
Symbol 8 MovieClipUses:5 7Used by:Timeline
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:9Used by:Timeline
Symbol 11 GraphicUsed by:14
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:12Used by:14
Symbol 14 MovieClipUses:11 13Used by:Timeline
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:15Used by:Timeline
Symbol 17 GraphicUsed by:18 229
Symbol 18 MovieClipUses:17Used by:19
Symbol 19 MovieClipUses:18Used by:Timeline
Symbol 20 GraphicUsed by:63
Symbol 21 GraphicUsed by:28
Symbol 22 GraphicUsed by:28 30
Symbol 23 GraphicUsed by:28 70
Symbol 24 GraphicUsed by:27
Symbol 25 GraphicUsed by:27
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClipUses:24 25 26Used by:28 30 32
Symbol 28 MovieClipUses:21 22 23 27 3Used by:33
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClipUses:29 22 27 3Used by:33
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClipUses:31 27 3Used by:33
Symbol 33 MovieClipUses:28 30 32Used by:63
Symbol 34 GraphicUsed by:63
Symbol 35 GraphicUsed by:63
Symbol 36 GraphicUsed by:63
Symbol 37 GraphicUsed by:63
Symbol 38 GraphicUsed by:63
Symbol 39 GraphicUsed by:63
Symbol 40 GraphicUsed by:63
Symbol 41 GraphicUsed by:63
Symbol 42 GraphicUsed by:63
Symbol 43 GraphicUsed by:63
Symbol 44 GraphicUsed by:63
Symbol 45 GraphicUsed by:63
Symbol 46 GraphicUsed by:63
Symbol 47 GraphicUsed by:63
Symbol 48 GraphicUsed by:63
Symbol 49 GraphicUsed by:63
Symbol 50 GraphicUsed by:63
Symbol 51 GraphicUsed by:63
Symbol 52 GraphicUsed by:63
Symbol 53 GraphicUsed by:63
Symbol 54 GraphicUsed by:63
Symbol 55 GraphicUsed by:63
Symbol 56 GraphicUsed by:63
Symbol 57 GraphicUsed by:63
Symbol 58 GraphicUsed by:63
Symbol 59 GraphicUsed by:63
Symbol 60 GraphicUsed by:63
Symbol 61 GraphicUsed by:63
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:20 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62Used by:Timeline
Symbol 64 GraphicUsed by:66
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:64 65Used by:Timeline
Symbol 67 GraphicUsed by:69
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:67 68Used by:Timeline
Symbol 70 MovieClipUses:23Used by:Timeline
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClipUses:71Used by:73
Symbol 73 MovieClipUses:72Used by:Timeline
Symbol 74 FontUsed by:75 76 78 79 80 81 82 84 85 87 89 90 92 94 98 99 100 103 104 106 107 253 266 267 271 272 275 276 279 280 283 284 285 288 292 299 300 301 307 311 315 316 317 320 321 324 325 326 327 328 330 331 332 334 335 341 345 346 350 351
Symbol 75 TextUses:74Used by:88
Symbol 76 TextUses:74Used by:77
Symbol 77 MovieClipUses:76Used by:88
Symbol 78 TextUses:74Used by:83
Symbol 79 EditableTextUses:74Used by:83
Symbol 80 TextUses:74Used by:83
Symbol 81 TextUses:74Used by:83
Symbol 82 TextUses:74Used by:83
Symbol 83 MovieClipUses:78 79 80 81 82Used by:88
Symbol 84 TextUses:74Used by:86
Symbol 85 TextUses:74Used by:86
Symbol 86 ButtonUses:84 85 6Used by:88
Symbol 87 TextUses:74Used by:88
Symbol 88 MovieClipUses:75 77 83 86 87Used by:Timeline
Symbol 89 TextUses:74Used by:349  Timeline
Symbol 90 TextUses:74Used by:91
Symbol 91 ButtonUses:90Used by:96
Symbol 92 TextUses:74Used by:93
Symbol 93 ButtonUses:92Used by:96
Symbol 94 TextUses:74Used by:95
Symbol 95 ButtonUses:94Used by:96
Symbol 96 MovieClipUses:91 93 95Used by:349  Timeline
Symbol 97 GraphicUsed by:112
Symbol 98 TextUses:74Used by:112
Symbol 99 TextUses:74Used by:102 109
Symbol 100 TextUses:74Used by:102 109
Symbol 101 GraphicUsed by:102 105 108 109 110 111 154 155 352
Symbol 102 ButtonUses:99 100 101Used by:112
Symbol 103 TextUses:74Used by:105 110
Symbol 104 TextUses:74Used by:105 110
Symbol 105 ButtonUses:103 104 101Used by:112
Symbol 106 TextUses:74Used by:108 111
Symbol 107 TextUses:74Used by:108 111
Symbol 108 ButtonUses:106 107 101Used by:112
Symbol 109 ButtonUses:99 100 101Used by:112
Symbol 110 ButtonUses:103 104 101Used by:112
Symbol 111 ButtonUses:106 107 101Used by:112
Symbol 112 MovieClipUses:97 98 102 105 108 109 110 111Used by:Timeline
Symbol 113 GraphicUsed by:115
Symbol 114 GraphicUsed by:115
Symbol 115 ButtonUses:113 114 6Used by:Timeline
Symbol 116 BitmapUsed by:117
Symbol 117 GraphicUses:116Used by:122
Symbol 118 BitmapUsed by:119
Symbol 119 GraphicUses:118Used by:122
Symbol 120 BitmapUsed by:121
Symbol 121 GraphicUses:120Used by:122
Symbol 122 MovieClipUses:117 119 121Used by:Timeline
Symbol 123 GraphicUsed by:153
Symbol 124 GraphicUsed by:153
Symbol 125 GraphicUsed by:153
Symbol 126 GraphicUsed by:153
Symbol 127 GraphicUsed by:153
Symbol 128 GraphicUsed by:153
Symbol 129 GraphicUsed by:153
Symbol 130 GraphicUsed by:153
Symbol 131 GraphicUsed by:153
Symbol 132 GraphicUsed by:153
Symbol 133 GraphicUsed by:153
Symbol 134 GraphicUsed by:153
Symbol 135 GraphicUsed by:153
Symbol 136 GraphicUsed by:153
Symbol 137 GraphicUsed by:153
Symbol 138 GraphicUsed by:153
Symbol 139 GraphicUsed by:153
Symbol 140 GraphicUsed by:153
Symbol 141 GraphicUsed by:153
Symbol 142 GraphicUsed by:153
Symbol 143 GraphicUsed by:153
Symbol 144 GraphicUsed by:153
Symbol 145 GraphicUsed by:153
Symbol 146 GraphicUsed by:153
Symbol 147 GraphicUsed by:153
Symbol 148 GraphicUsed by:153
Symbol 149 GraphicUsed by:153
Symbol 150 GraphicUsed by:153
Symbol 151 GraphicUsed by:153
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClipUses:123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152Used by:218
Symbol 154 MovieClipUses:101Used by:218
Symbol 155 MovieClipUses:101Used by:218
Symbol 156 GraphicUsed by:186
Symbol 157 GraphicUsed by:186
Symbol 158 GraphicUsed by:186
Symbol 159 GraphicUsed by:186
Symbol 160 GraphicUsed by:186
Symbol 161 GraphicUsed by:186
Symbol 162 GraphicUsed by:186
Symbol 163 GraphicUsed by:186
Symbol 164 GraphicUsed by:186
Symbol 165 GraphicUsed by:186
Symbol 166 GraphicUsed by:186
Symbol 167 GraphicUsed by:186
Symbol 168 GraphicUsed by:186
Symbol 169 GraphicUsed by:186
Symbol 170 GraphicUsed by:186
Symbol 171 GraphicUsed by:186
Symbol 172 GraphicUsed by:186
Symbol 173 GraphicUsed by:186
Symbol 174 GraphicUsed by:186
Symbol 175 GraphicUsed by:186
Symbol 176 GraphicUsed by:186
Symbol 177 GraphicUsed by:186
Symbol 178 GraphicUsed by:186
Symbol 179 GraphicUsed by:186
Symbol 180 GraphicUsed by:186
Symbol 181 GraphicUsed by:186
Symbol 182 GraphicUsed by:186
Symbol 183 GraphicUsed by:186
Symbol 184 GraphicUsed by:186
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClipUses:156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185Used by:218
Symbol 187 GraphicUsed by:217
Symbol 188 GraphicUsed by:217
Symbol 189 GraphicUsed by:217
Symbol 190 GraphicUsed by:217
Symbol 191 GraphicUsed by:217
Symbol 192 GraphicUsed by:217
Symbol 193 GraphicUsed by:217
Symbol 194 GraphicUsed by:217
Symbol 195 GraphicUsed by:217
Symbol 196 GraphicUsed by:217
Symbol 197 GraphicUsed by:217
Symbol 198 GraphicUsed by:217
Symbol 199 GraphicUsed by:217
Symbol 200 GraphicUsed by:217
Symbol 201 GraphicUsed by:217
Symbol 202 GraphicUsed by:217
Symbol 203 GraphicUsed by:217
Symbol 204 GraphicUsed by:217
Symbol 205 GraphicUsed by:217
Symbol 206 GraphicUsed by:217
Symbol 207 GraphicUsed by:217
Symbol 208 GraphicUsed by:217
Symbol 209 GraphicUsed by:217
Symbol 210 GraphicUsed by:217
Symbol 211 GraphicUsed by:217
Symbol 212 GraphicUsed by:217
Symbol 213 GraphicUsed by:217
Symbol 214 GraphicUsed by:217
Symbol 215 GraphicUsed by:217
Symbol 216 GraphicUsed by:217
Symbol 217 MovieClipUses:187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216Used by:218
Symbol 218 MovieClipUses:153 154 155 186 217Used by:Timeline
Symbol 219 GraphicUsed by:220
Symbol 220 MovieClipUses:219Used by:Timeline
Symbol 221 GraphicUsed by:222
Symbol 222 MovieClipUses:221Used by:Timeline
Symbol 223 GraphicUsed by:224
Symbol 224 MovieClipUses:223Used by:Timeline
Symbol 225 GraphicUsed by:226
Symbol 226 MovieClipUses:225Used by:Timeline
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClipUses:227Used by:Timeline
Symbol 229 MovieClipUses:17Used by:Timeline
Symbol 230 GraphicUsed by:233
Symbol 231 GraphicUsed by:232
Symbol 232 MovieClipUses:231Used by:233
Symbol 233 MovieClipUses:230 232Used by:236
Symbol 234 GraphicUsed by:235
Symbol 235 MovieClipUses:234Used by:236
Symbol 236 MovieClipUses:233 235Used by:Timeline
Symbol 237 GraphicUsed by:238
Symbol 238 MovieClipUses:237Used by:251
Symbol 239 GraphicUsed by:240
Symbol 240 MovieClipUses:239Used by:251
Symbol 241 GraphicUsed by:243
Symbol 242 GraphicUsed by:243
Symbol 243 MovieClipUses:241 242Used by:251
Symbol 244 GraphicUsed by:245
Symbol 245 MovieClipUses:244Used by:251
Symbol 246 GraphicUsed by:250
Symbol 247 GraphicUsed by:248
Symbol 248 MovieClipUses:247Used by:250
Symbol 249 GraphicUsed by:250
Symbol 250 MovieClipUses:246 248 249Used by:251
Symbol 251 MovieClipUses:238 240 243 245 250Used by:252
Symbol 252 MovieClipUses:251Used by:Timeline
Symbol 253 TextUses:74Used by:254
Symbol 254 MovieClipUses:253Used by:255
Symbol 255 MovieClipUses:254Used by:Timeline
Symbol 256 GraphicUsed by:261
Symbol 257 GraphicUsed by:261
Symbol 258 GraphicUsed by:261
Symbol 259 GraphicUsed by:261
Symbol 260 GraphicUsed by:261
Symbol 261 MovieClipUses:256 257 258 259 260 2Used by:Timeline
Symbol 262 ButtonUses:6Used by:263
Symbol 263 MovieClipUses:262Used by:Timeline
Symbol 264 ButtonUses:6Used by:265
Symbol 265 MovieClipUses:264Used by:Timeline
Symbol 266 TextUses:74Used by:268
Symbol 267 EditableTextUses:74Used by:268
Symbol 268 MovieClipUses:266 267Used by:269
Symbol 269 MovieClipUses:268Used by:Timeline
Symbol 270 GraphicUsed by:336
Symbol 271 TextUses:74Used by:274
Symbol 272 EditableTextUses:74Used by:273
Symbol 273 MovieClipUses:272Used by:274
Symbol 274 MovieClipUses:271 273Used by:336
Symbol 275 TextUses:74Used by:278
Symbol 276 EditableTextUses:74Used by:277
Symbol 277 MovieClipUses:276Used by:278
Symbol 278 MovieClipUses:275 277Used by:336
Symbol 279 TextUses:74Used by:282
Symbol 280 EditableTextUses:74Used by:281
Symbol 281 MovieClipUses:280Used by:282
Symbol 282 MovieClipUses:279 281Used by:336
Symbol 283 TextUses:74Used by:336
Symbol 284 TextUses:74Used by:336
Symbol 285 TextUses:74Used by:336
Symbol 286 GraphicUsed by:287
Symbol 287 MovieClipUses:286Used by:336
Symbol 288 TextUses:74Used by:336
Symbol 289 GraphicUsed by:290
Symbol 290 MovieClipUses:289Used by:291
Symbol 291 MovieClipUses:290Used by:336
Symbol 292 TextUses:74Used by:336
Symbol 293 GraphicUsed by:294
Symbol 294 MovieClipUses:293Used by:295
Symbol 295 MovieClipUses:294Used by:336
Symbol 296 GraphicUsed by:297
Symbol 297 MovieClipUses:296Used by:298
Symbol 298 MovieClipUses:297Used by:336
Symbol 299 TextUses:74Used by:336
Symbol 300 TextUses:74Used by:336
Symbol 301 TextUses:74Used by:336
Symbol 302 GraphicUsed by:303
Symbol 303 MovieClipUses:302Used by:336
Symbol 304 GraphicUsed by:305
Symbol 305 MovieClipUses:304Used by:306
Symbol 306 MovieClipUses:305Used by:336
Symbol 307 TextUses:74Used by:336
Symbol 308 GraphicUsed by:309
Symbol 309 MovieClipUses:308Used by:310
Symbol 310 MovieClipUses:309Used by:336
Symbol 311 TextUses:74Used by:336
Symbol 312 GraphicUsed by:313
Symbol 313 MovieClipUses:312Used by:314
Symbol 314 MovieClipUses:313Used by:336
Symbol 315 TextUses:74Used by:336
Symbol 316 EditableTextUses:74Used by:336
Symbol 317 TextUses:74Used by:336
Symbol 318 GraphicUsed by:319
Symbol 319 MovieClipUses:318Used by:336
Symbol 320 TextUses:74Used by:323
Symbol 321 EditableTextUses:74Used by:322
Symbol 322 MovieClipUses:321Used by:323
Symbol 323 MovieClipUses:320 322Used by:336
Symbol 324 TextUses:74Used by:329
Symbol 325 TextUses:74Used by:329
Symbol 326 TextUses:74Used by:329
Symbol 327 TextUses:74Used by:329
Symbol 328 TextUses:74Used by:329
Symbol 329 MovieClipUses:324 325 326 327 328Used by:336
Symbol 330 TextUses:74Used by:333
Symbol 331 TextUses:74Used by:333
Symbol 332 TextUses:74Used by:333
Symbol 333 MovieClipUses:330 331 332Used by:336
Symbol 334 TextUses:74Used by:336
Symbol 335 EditableTextUses:74Used by:336
Symbol 336 MovieClipUses:270 274 278 282 283 284 285 287 288 291 292 295 298 299 300 301 303 306 307 310 311 314 315 316 317 319 323 329 333 334 335Used by:Timeline
Symbol 337 GraphicUsed by:340
Symbol 338 MovieClipUses:6Used by:340
Symbol 339 GraphicUsed by:340
Symbol 340 MovieClipUses:337 338 339Used by:Timeline
Symbol 341 TextUses:74Used by:342
Symbol 342 MovieClipUses:341Used by:Timeline
Symbol 343 ButtonUses:6Used by:344
Symbol 344 MovieClipUses:343Used by:Timeline
Symbol 345 TextUses:74Used by:347
Symbol 346 TextUses:74Used by:347
Symbol 347 MovieClipUses:345 346Used by:348
Symbol 348 MovieClipUses:347Used by:Timeline
Symbol 349 MovieClipUses:89 96Used by:Timeline
Symbol 350 TextUses:74Used by:352
Symbol 351 TextUses:74Used by:352
Symbol 352 ButtonUses:350 351 101Used by:Timeline

Instance Names

"zombieflake"Frame 1Symbol 19 MovieClip
"sitting"Frame 1Symbol 63 MovieClip
"marker"Frame 1Symbol 69 MovieClip
"particle"Frame 1Symbol 73 MovieClip
"cloud2"Frame 2Symbol 122 MovieClip
"cloud2"Frame 2Symbol 122 MovieClip
"cloud2"Frame 2Symbol 122 MovieClip
"cloud2"Frame 2Symbol 122 MovieClip
"zombie1"Frame 20Symbol 218 MovieClip
"head"Frame 20Symbol 228 MovieClip
"zombieflake"Frame 20Symbol 229 MovieClip
"bird"Frame 20Symbol 236 MovieClip
"c4"Frame 20Symbol 252 MovieClip
"marker"Frame 20Symbol 69 MovieClip
"particle"Frame 20Symbol 73 MovieClip
"headpopup"Frame 20Symbol 255 MovieClip
"timer"Frame 20Symbol 261 MovieClip
"c4button"Frame 20Symbol 265 MovieClip
"cloud2"Frame 21Symbol 122 MovieClip
"sitting"Frame 21Symbol 63 MovieClip
"c4button"Frame 21Symbol 265 MovieClip
"uzi"Symbol 33 MovieClip Frame 2Symbol 30 MovieClip
"gun"Symbol 63 MovieClip Frame 1Symbol 33 MovieClip
"stickyarea"Symbol 218 MovieClip Frame 1Symbol 154 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "music"
ExportAssets (56)Timeline Frame 1Symbol 2 as "explosion"
ExportAssets (56)Timeline Frame 1Symbol 3 as "handgunsound"

Dynamic Text Variables

_root.percentloadedSymbol 79 EditableText"<p align="center"></p>"
_root.highestheadmetersSymbol 267 EditableText"<p align="left"></p>"
_parent.escapedviewerSymbol 272 EditableText"<p align="left"></p>"
_parent.explodedviewerSymbol 276 EditableText"<p align="left"></p>"
_parent.explodedheadviewerSymbol 280 EditableText"<p align="left"></p>"
_root.scoreSymbol 316 EditableText"<p align="left"></p>"
_parent.explodedbirdsviewerSymbol 321 EditableText"<p align="left"></p>"
_root.highscoreSymbol 335 EditableText"<p align="left"></p>"




http://swfchan.com/9/42452/info.shtml
Created: 9/5 -2019 22:58:28 Last modified: 9/5 -2019 22:58:28 Server time: 22/12 -2024 11:30:35