Combined Code
movieClip 95 {
}
movieClip 101 {
}
movieClip 106 {
}
movieClip 107 {
}
movieClip 108 {
}
movieClip 109 {
}
movieClip 110 water {
}
movieClip 117 ukus {
frame 7 {
removeMovieClip(this);
this.removeMovieClip();
}
}
movieClip 119 {
}
// unknown tag 88 length 78
movieClip 125 {
}
movieClip 126 {
}
movieClip 130 {
}
movieClip 134 {
}
movieClip 138 {
}
movieClip 143 skills {
frame 1 {
msg = '';
}
frame 13 {
stop();
}
frame 13 {
strength.onRollOver = function () {
msg = 'Increases the damage your troops can inflict.';
};
defense.onRollOver = function () {
msg = 'Reduces the damage of enemy missiles.';
};
dexterity.onRollOver = function () {
msg = 'Gives a chance to catch enemy missile and throw it back';
};
fire.onRollOver = function () {
msg = '1st level allows to burn up the stocks, 3rd level allows to burn up empty nests. Each next level increases explosion damage.';
};
dexterity.onRollOut = function () {
msg = '';
};
defense.onRollOut = dexterity.onRollOut;
strength.onRollOut = dexterity.onRollOut;
fire.onRollOut = dexterity.onRollOut;
busy = false;
strength.onRelease = function () {
if (busy == false) {
busy = true;
++_root.strengthFactor;
var v3 = new Sound(this);
v3.attachSound('_click');
v3.start();
play();
}
};
defense.onRelease = function () {
if (busy == false) {
busy = true;
++_root.defenseFactor;
var v3 = new Sound(this);
v3.attachSound('_click');
v3.start();
play();
}
};
dexterity.onRelease = function () {
if (busy == false) {
busy = true;
++_root.dexterityFactor;
var v3 = new Sound(this);
v3.attachSound('_click');
v3.start();
play();
}
};
fire.onRelease = function () {
if (busy == false) {
busy = true;
++_root.fireFactor;
var v3 = new Sound(this);
v3.attachSound('_click');
v3.start();
play();
}
};
}
frame 30 {
removeMovieClip(this);
}
}
movieClip 145 shadowOut {
frame 30 {
removeMovieClip(this);
this.removeMovieClip();
}
}
movieClip 148 shadowInOut {
frame 40 {
removeMovieClip(this);
this.removeMovieClip();
}
}
movieClip 150 {
frame 15 {
stop();
}
}
movieClip 151 {
frame 1 {
i = 2;
while (Number(i) < 50) {
duplicateMovieClip('isk1', 'isk' + i, i);
eval('isk' + i)._rotation = random(360);
scalefactor = 40 + Number(random(60));
eval('isk' + i)._xscale = scalefactor;
eval('isk' + i)._yscale = scalefactor;
i = Number(i) + 1;
}
}
}
movieClip 153 {
frame 15 {
stop();
}
}
movieClip 154 {
frame 1 {
i = 2;
while (Number(i) < 50) {
duplicateMovieClip('isk1', 'isk' + i, i);
eval('isk' + i)._rotation = random(360);
scalefactor = 40 + Number(random(60));
eval('isk' + i)._xscale = scalefactor;
eval('isk' + i)._yscale = scalefactor;
i = Number(i) + 1;
}
}
}
movieClip 157 {
}
movieClip 158 razriv2 {
frame 4 {
_root.razrivDamage();
}
frame 74 {
removeMovieClip(this);
this.removeMovieClip();
}
}
movieClip 159 razriv1 {
frame 4 {
_root.razrivDamage();
}
frame 74 {
removeMovieClip(this);
this.removeMovieClip();
}
}
movieClip 161 pauseShadow {
}
// unknown tag 88 length 67
movieClip 164 msgObj {
frame 110 {
this.removeMovieClip;
removeMovieClip(this);
}
}
movieClip 166 miniCharRed {
}
movieClip 168 miniCharBlack {
}
movieClip 170 mchar3 {
}
movieClip 173 mchar2 {
frame 1 {
stop();
}
}
movieClip 175 {
}
movieClip 176 mchar11 {
}
movieClip 178 m2 {
}
movieClip 180 m1 {
}
movieClip 182 m0 {
}
movieClip 191 lyaps2 {
frame 7 {
_root.razrivDamage();
}
frame 13 {
this.removeMovieClip();
}
}
movieClip 199 lyaps {
frame 7 {
_root.razrivDamage();
}
frame 13 {
this.removeMovieClip();
}
}
movieClip 201 inBasket4 {
}
movieClip 203 inBasket3 {
}
movieClip 205 inBasket2 {
}
movieClip 207 inBasket1 {
}
movieClip 209 inBasket0 {
}
movieClip 215 {
frame 1 {
stop();
}
}
movieClip 217 healthBar {
frame 1 {
healthBar.gotoAndStop(_root.healthChar.health);
}
}
// unknown tag 88 length 67
movieClip 220 hlth {
}
movieClip 222 throwingArrow {
}
movieClip 234 fontanchik {
frame 1 {
_root.bgrSound.setVolume(100);
}
frame 40 {
removeMovieClip(this);
this.removeMovieClip();
}
}
movieClip 235 {
frame 1 {
stop();
}
}
movieClip 236 flame {
frame 14 {
this.removeMovieClip();
removeMovieClip(this);
}
}
movieClip 238 mchar0 {
frame 1 {
stop();
}
frame 2 {
flame.onEnterFrame = _root.burningMissile;
}
}
movieClip 240 {
}
movieClip 241 mchar1 {
}
movieClip 243 egg {
}
// unknown tag 88 length 95
movieClip 246 {
}
movieClip 247 damage {
frame 1 {
damage = -Math.abs(damage);
}
frame 56 {
removeMovieClip(this);
}
}
button 251 {
on (release) {
getURL('mailto:slingwars@madfatcat.com', '_blank');
}
}
movieClip 254 {
}
movieClip 257 {
}
movieClip 259 {
}
movieClip 261 {
}
movieClip 265 {
}
movieClip 266 {
}
movieClip 268 {
}
movieClip 270 {
}
movieClip 273 {
frame 1 {
stop();
}
}
movieClip 275 {
}
movieClip 278 {
}
movieClip 280 {
}
movieClip 282 {
}
movieClip 284 {
}
movieClip 285 {
}
movieClip 286 {
}
movieClip 288 {
}
movieClip 290 {
}
movieClip 292 {
}
movieClip 295 credits {
instance of movieClip 292 {
onClipEvent (release) {
getURL('http://madfatcat.com', '_blank');
}
}
frame 153 {
removeMovieClip(this);
}
}
movieClip 297 cc {
}
movieClip 299 c {
}
movieClip 301 bee {
}
movieClip 307 aPuff {
}
movieClip 316 {
frame 1 {
stop();
}
frame 15 {
gotoAndPlay(2);
}
}
movieClip 320 {
frame 1 {
stop();
if (_parent.slimed == true && _parent.poisoned == true) {
gotoAndStop('slimedPoisoned');
} else {
if (_parent.slimed == true) {
gotoAndStop('slimed');
} else {
if (_parent.poisoned == true) {
gotoAndStop('poisoned');
}
}
}
}
}
movieClip 321 {
}
movieClip 324 {
}
movieClip 332 {
}
movieClip 335 {
}
movieClip 337 {
}
movieClip 339 {
}
movieClip 344 {
}
movieClip 347 {
}
movieClip 348 {
}
movieClip 355 {
}
movieClip 363 {
}
movieClip 365 {
}
movieClip 367 {
}
movieClip 381 char0 {
frame 1 {
}
frame 1 {
stop();
}
frame 2 {
play();
}
frame 14 {
if (this.jumping != true) {
gotoAndPlay('move');
}
}
frame 15 {
play();
}
frame 46 {
stop();
}
frame 47 {
stop();
}
frame 49 {
play();
if (_root.firstSlimmed == true) {
_root.voiceSound.stop();
_root.voiceSound.attachSound('__ouch' + random(8));
_root.voiceSound.start();
} else {
_root.firstSlimmed = true;
}
}
frame 61 {
gotoAndStop(1);
}
frame 63 {
_root.missile.i = 0;
if (this.enemy == true) {
play();
} else {
this.onEnterFrame = _root.throwMissile;
}
}
frame 102 {
_root.missile._x = _root.missile.oldX;
_root.missile._y = _root.missile.oldY;
_root.missile.onEnterFrame = throwBall;
_root.focusingObj = _root.missile;
delete this.onEnterFrame;
delete _root.youBgr[activeChar].onEnterFrame;
this.onEnterFrame = standBy;
_root.youBgr[activeChar].gotoAndStop(1);
_root.line.removeMovieClip();
_root.playSoundBgr('_brosok');
gotoAndStop(1);
}
frame 104 {
play();
}
frame 177 {
--_root.deathDelay;
removeMovieClip(this);
}
frame 204 {
gotoAndStop(1);
}
}
movieClip 384 {
}
movieClip 388 {
frame 1 {
stop();
if (_parent.slimed == true && _parent.poisoned == true) {
gotoAndStop('slimedPoisoned');
} else {
if (_parent.slimed == true) {
gotoAndStop('slimed');
} else {
if (_parent.poisoned == true) {
gotoAndStop('poisoned');
}
}
}
}
}
movieClip 396 {
}
movieClip 400 {
}
movieClip 402 {
}
movieClip 413 {
}
movieClip 415 {
}
movieClip 417 {
}
movieClip 434 char3 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 14 {
if (this.jumping != true) {
gotoAndPlay('move');
}
}
frame 15 {
play();
}
frame 46 {
stop();
}
frame 47 {
stop();
}
frame 49 {
play();
if (_root.firstSlimmed == true) {
_root.voiceSound.stop();
_root.voiceSound.attachSound('__ouch' + random(8));
_root.voiceSound.start();
} else {
_root.firstSlimmed = true;
}
}
frame 55 {
gotoAndStop(1);
}
frame 63 {
_root.missile.i = 0;
if (this.enemy == true) {
play();
} else {
this.onEnterFrame = _root.throwMissile;
}
}
frame 102 {
_root.missile._x = _root.missile.oldX;
_root.missile._y = _root.missile.oldY;
_root.missile.onEnterFrame = throwBall;
_root.focusingObj = _root.missile;
delete this.onEnterFrame;
delete _root.youBgr[activeChar].onEnterFrame;
this.onEnterFrame = standBy;
_root.youBgr[activeChar].gotoAndStop(1);
_root.line.removeMovieClip();
_root.playSoundBgr('_brosok');
gotoAndStop(1);
}
frame 104 {
play();
}
frame 185 {
--_root.deathDelay;
removeMovieClip(this);
}
frame 204 {
gotoAndStop(1);
}
}
movieClip 439 {
frame 1 {
stop();
if (_parent.slimed == true && _parent.poisoned == true) {
gotoAndStop('slimedPoisoned');
} else {
if (_parent.slimed == true) {
gotoAndStop('slimed');
} else {
if (_parent.poisoned == true) {
gotoAndStop('poisoned');
}
}
}
}
}
movieClip 442 {
}
movieClip 444 {
}
movieClip 446 {
}
movieClip 448 {
}
movieClip 489 {
}
movieClip 506 {
}
movieClip 525 {
}
movieClip 541 {
}
movieClip 552 {
}
movieClip 566 char1 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 22 {
if (this.jumping != true) {
gotoAndPlay('move');
}
}
frame 23 {
play();
}
frame 54 {
stop();
}
frame 55 {
stop();
}
frame 57 {
play();
if (_root.firstSlimmed == true) {
_root.voiceSound.stop();
_root.voiceSound.attachSound('__ouch' + random(8));
_root.voiceSound.start();
} else {
_root.firstSlimmed = true;
}
}
frame 67 {
gotoAndStop(1);
}
frame 71 {
_root.missile.i = 0;
if (this.enemy == true) {
play();
} else {
this.onEnterFrame = _root.throwMissile;
}
}
frame 110 {
_root.missile._x = _root.missile.oldX;
_root.missile._y = _root.missile.oldY;
_root.missile.onEnterFrame = throwBall;
_root.focusingObj = _root.missile;
delete this.onEnterFrame;
delete _root.youBgr[activeChar].onEnterFrame;
this.onEnterFrame = standBy;
_root.youBgr[activeChar].gotoAndStop(1);
_root.line.removeMovieClip();
_root.playSoundBgr('_brosok');
gotoAndStop(1);
}
frame 112 {
play();
}
frame 186 {
--_root.deathDelay;
removeMovieClip(this);
}
frame 204 {
gotoAndStop(1);
}
}
movieClip 569 {
}
movieClip 571 {
frame 1 {
stop();
if (_parent.slimed == true && _parent.poisoned == true) {
gotoAndStop('slimedPoisoned');
} else {
if (_parent.slimed == true) {
gotoAndStop('slimed');
} else {
if (_parent.poisoned == true) {
gotoAndStop('poisoned');
}
}
}
}
}
movieClip 585 {
}
movieClip 596 {
}
movieClip 598 {
}
movieClip 600 {
}
movieClip 625 char2 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 16 {
if (this.jumping != true) {
gotoAndPlay('move');
}
}
frame 17 {
play();
}
frame 48 {
stop();
}
frame 49 {
stop();
}
frame 51 {
play();
if (_root.firstSlimmed == true) {
_root.voiceSound.stop();
_root.voiceSound.attachSound('__ouch' + random(8));
_root.voiceSound.start();
} else {
_root.firstSlimmed = true;
}
}
frame 57 {
gotoAndStop(1);
}
frame 65 {
_root.missile.i = 0;
if (this.enemy == true) {
play();
} else {
this.onEnterFrame = _root.throwMissile;
}
}
frame 104 {
_root.missile._x = _root.missile.oldX;
_root.missile._y = _root.missile.oldY;
_root.missile.onEnterFrame = throwBall;
_root.focusingObj = _root.missile;
delete this.onEnterFrame;
delete _root.youBgr[activeChar].onEnterFrame;
this.onEnterFrame = standBy;
_root.youBgr[activeChar].gotoAndStop(1);
_root.line.removeMovieClip();
_root.playSoundBgr('_brosok');
gotoAndStop(1);
}
frame 106 {
play();
}
frame 186 {
--_root.deathDelay;
removeMovieClip(this);
}
frame 205 {
gotoAndStop(1);
}
}
movieClip 627 {
}
movieClip 628 starr {
frame 30 {
removeMovieClip(this);
stop();
}
}
frame 1 {
fscommand('trapallkeys', true);
fscommand('showmenu', false);
fscommand('trapallkeys', 'true');
fscommand('allowscale', false);
id = 127;
zvuk = true;
mySound = new Sound(this);
mySound.setVolume(100);
}
frame 1 {
Total = _root.getBytesTotal();
TotalField = Total;
Percent = 1;
}
// unknown tag 88 length 88
movieClip 635 {
}
instance bar of movieClip 635 {
onClipEvent (enterFrame) {
this._xscale = _root.Percent;
}
}
frame 2 {
Load = _root.getBytesLoaded();
LoadField = Load;
Percent = int((Load / Total) * 100);
PercentField = Percent + ' %';
}
frame 3 {
if (Load < Total) {
gotoAndPlay(2);
}
}
frame 4 {
function playAgain() {
_root.gotoAndStop('mainMenu');
}
System.security.allowDomain('shockwave.com', 'intranet.shockwave.com', 'gameblast.shockwave.com', 'www.shockwave.com', 'dev.shockwave.com', 'stage.shockwave.com');
_level0.swHighScoreObject = new Object();
_level0.swHighScoreObject.showTab = 'view';
_level0.swHighScoreObject.gameId = 'animalwars';
_level0.swHighScoreObject.gameTitle = 'Animal Wars';
_level0.swHighScoreObject.screenWidth = 640;
_level0.swHighScoreObject.screenHeight = 480;
_level0.swHighScoreObject.scoreDescriptor = 'points';
_level0.swHighScoreObject.numPlayers = 1;
_level0.swHighScoreObject.player1Score = 123456789;
_level0.swHighScoreObject.player2Score = 0;
_level0.swHighScoreObject.player3Score = 0;
_level0.swHighScoreObject.player4Score = 0;
_level0.HSHubURL = 'http://www.shockwave.com/content/highscores/scorez-2002.swf';
}
frame 5 {
var recommendedGames = new Array();
recommendedGames[0] = ['Fratboy Tower Defense', 'Fratboy Austin has a lovely girlfriend. And his fratboy frenemies are after her!', 'http://www.addictinggames.com/fimages/4445.jpg', 'http://www.addictinggames.com/fratboygirlfriendtd.html'];
recommendedGames[1] = ['High School Cheerleader', 'Want to make the squad? Show us what you\'ve got! Give me an A! Give me a G!', 'http://www.addictinggames.com/fimages/4682.jpg', 'http://www.addictinggames.com/highschoolcheerleader.html'];
recommendedGames[2] = ['Sorority Panty Raid', 'Don\'t get caught with your hands in the panty drawer.', 'http://www.addictinggames.com/fimages/3618.jpg', 'http://www.addictinggames.com/sororitypantyraid.html'];
recommendedGames[3] = ['High School Detective', 'Case of the Honey Trap', 'http://www.addictinggames.com/fimages/5121.jpg', 'http://www.addictinggames.com/highschooldetective.html'];
recommendedGames[4] = ['Mort: The sniper', 'Society is full of creeps. There are ethical hitmen like yourself, taking care of business.', 'http://www.addictinggames.com/fimages/5517.jpg', 'http://www.addictinggames.com/mortthesniper.html'];
}
frame 5 {
stop();
}
movieClip 644 {
frame 401 {
gotoAndPlay(1);
}
}
button 646 {
on (release) {
getURL('http://www.addictinggames.com', '_blank');
}
}
movieClip 669 {
}
movieClip 671 {
}
movieClip 673 {
}
movieClip 674 {
}
movieClip 676 {
}
// unknown tag 88 length 64
button 683 {
on (release) {
_root.play();
}
}
movieClip 685 {
}
movieClip 686 {
frame 20 {
stop();
}
}
movieClip 687 {
}
movieClip 688 {
frame 1 {
_root.stop();
}
instance of movieClip 644 {
onClipEvent (load) {
this._alpha = 0;
this.gotoAndPlay(random(700));
}
onClipEvent (enterFrame) {
if (_parent._currentframe < 11) {
this._alpha += 10;
}
this.gotoAndPlay(_currentframe + 2);
if (_parent._currentframe > 75) {
this._alpha -= 5;
}
}
}
frame 25 {
ag_explode = new Sound();
ag_explode.attachSound('ag_explode');
ag_explode.start();
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
instance of movieClip 686 {
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
}
this._alpha -= 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
}
frame 95 {
_root.play();
}
}
movieClip 690 {
}
instance ag_mouse of movieClip 690 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
frame 6 {
stop();
}
button 691 {
on (release) {
gotoAndPlay('parental');
}
}
movieClip 695 {
}
movieClip 696 {
frame 1 {
i = 0;
this.onEnterFrame = function () {
if (random(2) == 1) {
duplicateMovieClip(starr, 'starr' + i, i + 10000);
(eval('starr' + i))._x = random(30) + 20;
(eval('starr' + i))._y = 100;
++i;
}
};
}
}
movieClip 697 {
}
button 699 {
on (release) {
gotoAndPlay('begin');
}
}
movieClip 700 {
frame 91 {
_root.play();
}
}
frame 7 {
so = SharedObject.getLocal('AnimalWarsCookie');
if (so.data.vars.score == undefined) {
c._visible = false;
}
}
frame 7 {
level = 1;
accuracy = 20;
score = 0;
_damp = 0.96;
_dampThrow = 0.982;
charKK = 0.003;
missileKK = 0.003;
maxLevel = 1;
activeLand = -1;
dexterityFactor = 0;
strengthFactor = 0;
defenseFactor = 0;
fireFactor = 0;
var missilesOnLevel = Array(14, 14, 14, 14, 14, 14, 14, 14, 14, 14);
var land = new Array();
i = 0;
while (i < 8) {
land[i] = new Object();
land[i].land = eval('land' + i);
(eval('land' + i)).num = i;
++i;
}
land[0].whose = 'char0';
land[1].whose = 'char0';
land[2].whose = 'char1';
land[3].whose = 'char1';
land[4].whose = 'char2';
land[5].whose = 'char2';
land[6].whose = 'char3';
land[7].whose = 'char3';
stop();
zastSound.stop();
var zastSound = new Sound(this);
zastSound.attachSound('_bgrMus');
zastSound.start(0, 1000);
}
frame 7 {
function buttonScale() {
if (this.hitTest(_xmouse, _ymouse)) {
this._yscale += (90 - this._yscale) / 5;
this._xscale = this._yscale;
} else {
this._yscale -= (this._yscale - 70) / 5;
this._xscale = this._yscale;
}
}
s.onPress = function () {
var v2 = new Sound(this);
v2.stop();
v2.attachSound('_click');
v2.start();
play();
};
c.onPress = function () {
zastSound.stop();
var v2 = new Sound(this);
v2.stop();
v2.attachSound('_click');
v2.start();
loadGame = true;
gotoAndStop('gamePlay');
};
c.onEnterFrame = buttonScale;
s.onEnterFrame = c.onEnterFrame;
stop();
}
// unknown tag 88 length 64
movieClip 705 {
}
movieClip 707 {
}
movieClip 712 {
}
movieClip 715 {
}
button 717 {
on (release) {
getURL('http://addictinggames.com', '_blank');
}
}
movieClip 719 {
}
movieClip 723 {
frame 1 {
stop();
}
}
// unknown tag 88 length 47
movieClip 730 {
}
movieClip 741 {
}
movieClip 743 {
}
movieClip 747 {
frame 676 {
_root.play();
}
}
frame 36 {
stop();
}
movieClip 750 {
}
instance of movieClip 750 {
onClipEvent (release) {
_root.play();
}
}
frame 37 {
zastSound = new Sound(this);
zastSound.stop();
zastSound.attachSound('_music');
zastSound.start(0, 1000);
}
frame 37 {
function poKrugu() {
if (this._name != yourChars) {
this.gotoAndStop(1);
}
this.rotation += (this.rotationTarget - this.rotation) / 10;
this._x = Math.cos(this.rotation) * 150 + xOffset;
this._y = Math.sin(this.rotation) * 40 + yOffset;
this._yscale = this._y * 1.4 + 50 - yOffset;
this._xscale = this._yscale;
this.aaa = Math.abs(220 - this._x) / 1000;
productGroup.redMultiplier = this._xscale / 200 - this.aaa;
productGroup.greenMultiplier = this._xscale / 200 - this.aaa;
productGroup.blueMultiplier = this._xscale / 200 - this.aaa;
productGroupp.redMultiplier = this._xscale / 137 - this.aaa;
productGroupp.greenMultiplier = this._xscale / 137 - this.aaa;
productGroupp.blueMultiplier = this._xscale / 137 - this.aaa;
this.transform.colorTransform = productGroup;
this.ccc.transform.colorTransform = productGroupp;
maxY = 0;
activeCard = 0;
i = 1;
while (i <= 3) {
if (this._y > (eval('char' + i))._y && this.getDepth() < (eval('char' + i)).getDepth()) {
this.swapDepths(eval('char' + i));
}
if (this._y < (eval('char' + i))._y && this.getDepth() > (eval('char' + i)).getDepth()) {
this.swapDepths(eval('char' + i));
}
if ((eval('char' + i))._y > maxY) {
activeCard = (eval('char' + i)).num;
maxY = (eval('char' + i))._y;
}
++i;
}
}
productGroup = new flash.geom.ColorTransform();
productGroupp = new flash.geom.ColorTransform();
productGroup.alphaMultiplier = 1;
productGroup.redMultiplier = 1;
productGroup.greenMultiplier = 1;
productGroup.blueMultiplier = 1;
xOffset = 320;
yOffset = 240;
speed = 0;
picsAmount = 9;
shag = 0.1617876533932327;
this.onEnterFrame = function () {
if (char0._y > char1._y && char0._y > char2._y && char0._y > char3._y && yourChars != 'char0') {
yourChars = 'char0';
thisSound = new Sound(char0);
thisSound.stop();
thisSound.attachSound('_slime');
thisSound.start();
} else {
if (char1._y > char0._y && char1._y > char2._y && char1._y > char3._y && yourChars != 'char1') {
yourChars = 'char1';
thisSound = new Sound(char1);
thisSound.stop();
thisSound.attachSound('_ants');
thisSound.start();
} else {
if (char2._y > char1._y && char2._y > char0._y && char2._y > char3._y && yourChars != 'char2') {
yourChars = 'char2';
thisSound = new Sound(char2);
thisSound.stop();
thisSound.attachSound('_gorilla');
thisSound.start();
} else {
if (char3._y > char1._y && char3._y > char2._y && char3._y > char0._y && yourChars != 'char3') {
yourChars = 'char3';
thisSound = new Sound(char3);
thisSound.stop();
thisSound.attachSound('_ram');
thisSound.start();
}
}
}
}
if ((eval(yourChars))._currentframe == 1) {
(eval(yourChars)).gotoAndPlay('move');
}
if ((eval('c' + activeCard))._x > 213 && (eval('c' + activeCard))._x < 223 && Math.abs(speed) < 0.08) {
speed = 0;
}
if (Math.abs(speed) < 0.005 && (eval('c' + activeCard))._x >= 180) {
speed = 0;
}
speed -= speed / 10;
if (Math.abs(speed) < 0.005) {
activeCard = 1;
maxY = 0;
speed = 0;
i = 1;
while (i <= picsAmount) {
if ((eval('c' + i))._y > maxY) {
activeCard = (eval('c' + i)).num;
maxY = (eval('c' + i))._y;
}
++i;
}
(eval('c' + activeCard)).gotoAndStop(2);
(eval('c' + activeCard)).c.currentTime = 50;
_root.end = false;
_root.t = 100;
}
};
l.onRelease = function () {
if (speed == 0) {
char0.rotationTarget += 1.570796326794897;
char1.rotationTarget += 1.570796326794897;
char2.rotationTarget += 1.570796326794897;
char3.rotationTarget += 1.570796326794897;
char0.gotoAndStop(1);
char1.gotoAndStop(1);
char2.gotoAndStop(1);
char3.gotoAndStop(1);
}
var v2 = new Sound(this);
v2.stop();
v2.attachSound('_click');
v2.start();
};
r.onRelease = function () {
if (speed == 0) {
char0.rotationTarget -= 1.570796326794897;
char1.rotationTarget -= 1.570796326794897;
char2.rotationTarget -= 1.570796326794897;
char3.rotationTarget -= 1.570796326794897;
char0.gotoAndStop(1);
char1.gotoAndStop(1);
char2.gotoAndStop(1);
char3.gotoAndStop(1);
}
var v2 = new Sound(this);
v2.stop();
v2.attachSound('_click');
v2.start();
};
char0.rotation = 0;
char1.rotation = 1.570796326794897;
char2.rotation = Math.PI;
char3.rotation = 4.71238898038469;
char0.rotationTarget = char0.rotation;
char1.rotationTarget = char1.rotation;
char2.rotationTarget = char2.rotation;
char3.rotationTarget = char3.rotation;
char0.onEnterFrame = poKrugu;
char1.onEnterFrame = poKrugu;
char2.onEnterFrame = poKrugu;
char3.onEnterFrame = poKrugu;
chooser.n.gotoAndStop(3);
_root.enemyCharsAmountDef = 3;
_root.yourCharsAmountDef = 3;
chooser.l.onRelease = function () {
if (_root.yourCharsAmountDef > 1) {
--_root.yourCharsAmountDef;
--_root.enemyCharsAmountDef;
chooser.n.gotoAndStop(_root.yourCharsAmountDef);
}
var v3 = new Sound(this);
v3.stop();
v3.attachSound('_click');
v3.start();
};
chooser.r.onRelease = function () {
if (_root.yourCharsAmountDef < 5) {
++_root.yourCharsAmountDef;
++_root.enemyCharsAmountDef;
chooser.n.gotoAndStop(_root.yourCharsAmountDef);
}
var v3 = new Sound(this);
v3.stop();
v3.attachSound('_click');
v3.start();
};
}
movieClip 753 {
}
movieClip 757 {
}
movieClip 758 {
}
movieClip 764 {
}
movieClip 765 {
}
movieClip 767 {
}
movieClip 773 {
}
frame 45 {
stop();
s.onEnterFrame = buttonScale;
s.onRelease = function () {
_root.play();
_root.rootSound.stop();
var v3 = new Sound(this);
v3.stop();
v3.attachSound('_click');
v3.start();
};
}
frame 59 {
stop();
s.onEnterFrame = buttonScale;
s.onRelease = function () {
_root.play();
_root.rootSound.stop();
var v3 = new Sound(this);
v3.stop();
v3.attachSound('_click');
v3.start();
};
}
frame 67 {
var land = new Array();
i = 0;
while (i < 8) {
land[i] = new Object();
land[i].land = eval('land' + i);
(eval('land' + i)).num = i;
++i;
}
land[0].whose = 'char0';
land[1].whose = 'char0';
land[2].whose = 'char1';
land[3].whose = 'char1';
land[4].whose = 'char2';
land[5].whose = 'char2';
land[6].whose = 'char3';
land[7].whose = 'char3';
}
movieClip 785 {
}
frame 73 {
if (level > maxLevel) {
maxLevel = level;
attachMovie('skills', 'skills', _root.getNextHighestDepth());
}
play();
}
frame 80 {
function blinking() {
this.transform.colorTransform = availableLand;
}
function clickOnLand() {
if (land[this.num].land.onEnterFrame != undefined) {
activeLand = this.num;
availableLand.alphaMultiplier = 1;
availableLand.redMultiplier = 1;
availableLand.greenMultiplier = 1;
availableLand.blueMultiplier = 1;
i = 0;
while (i < 12) {
land[i].land.transform.colorTransform = availableLand;
delete land[i].land.onEnterFrame;
delete land[i].land.onRelease;
++i;
}
this.transform.colorTransform = chosenLand;
enemyChars = land[this.num].whose;
play();
}
var v2 = new Sound(this);
v2.stop();
v2.attachSound('_click');
v2.start();
}
stop();
zastSound.stop();
zastSound.attachSound('_music');
zastSound.start(0, 1000);
availableLand = new flash.geom.ColorTransform();
availableLand.alphaMultiplier = 2;
availableLand.redMultiplier = 1;
availableLand.greenMultiplier = 1;
availableLand.blueMultiplier = 1;
chosenLand = new flash.geom.ColorTransform();
chosenLand.alphaMultiplier = 1;
chosenLand.redMultiplier = 9;
chosenLand.greenMultiplier = 9;
chosenLand.blueMultiplier = 9;
colorOffset = 0.2;
this.onEnterFrame = function () {
if (availableLand.alphaMultiplier >= 2 || availableLand.alphaMultiplier <= 0) {
colorOffset = -colorOffset;
}
availableLand.alphaMultiplier += colorOffset;
};
i = 0;
while (i < 12) {
(eval('land' + i)).num = i;
++i;
}
i = 0;
while (i < 12) {
land[i].land.gotoAndStop(land[i].whose);
if (land[i].whose != yourChars && land[i - 1].whose == yourChars) {
land[i].land.onEnterFrame = blinking;
}
if (land[i].whose != yourChars && land[i + 1].whose == yourChars) {
land[i].land.onEnterFrame = blinking;
}
++i;
}
land11.onRelease = clickOnLand;
land10.onRelease = land11.onRelease;
land9.onRelease = land11.onRelease;
land8.onRelease = land11.onRelease;
land7.onRelease = land11.onRelease;
land6.onRelease = land11.onRelease;
land5.onRelease = land11.onRelease;
land4.onRelease = land11.onRelease;
land3.onRelease = land11.onRelease;
land2.onRelease = land11.onRelease;
land1.onRelease = land11.onRelease;
land0.onRelease = land11.onRelease;
}
frame 139 {
zastSound.stop();
}
frame 140 {
function getNearestMissile() {
chosen = false;
you[activeChar].test = true;
charSpeed = 0;
noWay = 0;
jumpSpeed = 0;
you[activeChar].direct = undefined;
you[activeChar].jumping = false;
you[activeChar].oldX = undefined;
you[activeChar].oldY = undefined;
you[activeChar].oldXX = you[activeChar]._x;
you[activeChar].oldYY = you[activeChar]._y;
var v1 = Array();
iii = 0;
while (iii < missiles) {
position = 0;
iiii = 0;
while (iiii < missiles) {
if (Math.abs(missileBgr[iii]._x - (you[activeChar]._x - bgr._x)) > Math.abs(missileBgr[iiii]._x - (you[activeChar]._x - bgr._x))) {
++position;
}
++iiii;
}
if (missileBgr[iii] != undefined) {
v1[position] = missileBgr[iii];
}
++iii;
}
iiii = 0;
while (iiii < missiles) {
nearest = v1[iiii];
if (neprohod < you[activeChar]._x - bgr._x && nearest > you[activeChar]._x - bgr._x || neprohod > you[activeChar]._x - bgr._x && nearest < you[activeChar]._x - bgr._x || neprohod == undefined) {
if (nearest.typ.substr(1, 5) == you[activeChar].typ || nearest.typ == 'm0' || nearest.typ == 'm1' || nearest.typ == 'm2') {
iii = 0;
while (iii < 400) {
you[activeChar].enemyMove();
++iii;
}
}
}
charSpeed = 0;
noWay = 0;
jumpSpeed = 0;
you[activeChar].direct = undefined;
you[activeChar].jumping = false;
you[activeChar].oldX = undefined;
you[activeChar].oldY = undefined;
you[activeChar]._x = you[activeChar].oldXX;
you[activeChar]._y = you[activeChar].oldYY;
if (iii == 2001) {
iiii = missiles;
chosen = true;
}
++iiii;
}
you[activeChar].test = false;
if (chosen != true) {
nearest = undefined;
}
}
function charMove() {
if (pauseOn == true) {
return undefined;
}
if (Key.isDown(16)) {
direct = undefined;
}
if ((Key.isDown(37) || Key.isDown(65)) && (Key.isDown(39) == false && Key.isDown(68) == false && Key.isDown(16) == false && charSpeed <= 0)) {
if (this._xscale < 0) {
this._xscale = -this._xscale;
}
if (charSpeed > -maxCharSpeed) {
charSpeed -= speedPrirost;
}
if (direct != 'left' && jumpSpeed <= 3) {
direct = 'left';
if (bgr.hitTest(this._x, this._y + 5, true)) {
this.gotoAndPlay('move');
}
}
}
if ((Key.isDown(39) || Key.isDown(68)) && (Key.isDown(37) == false && Key.isDown(65) == false && Key.isDown(16) == false && charSpeed >= 0)) {
if (this._xscale > 0) {
this._xscale = -this._xscale;
}
if (charSpeed < maxCharSpeed) {
charSpeed += speedPrirost;
}
if (direct != 'right' && jumpSpeed <= 3) {
direct = 'right';
if (bgr.hitTest(this._x, this._y + 5, true)) {
this.gotoAndPlay('move');
}
}
}
if ((Key.isDown(38) || Key.isDown(87)) && Key.isDown(16) == false && bgr.bgrr.hitTest(this._x, this._y + 3, true)) {
if (this.slimed != true) {
jumpSpeed = 42;
playSoundBgr('_jump');
} else {
jumpSpeed = 10;
}
this.gotoAndPlay('jump');
this.jumping = true;
}
if (Key.isDown(39) == false && Key.isDown(37) == false && Key.isDown(65) == false && Key.isDown(68) == false && bgr.hitTest(this._x, this._y + 2, true)) {
direct = undefined;
}
if (charSpeed == 0 && jumpSpeed < 3 && this.jumping != true) {
this.gotoAndStop(1);
bgrSound.stop();
}
if (this.slimed == true) {
charSpeed /= 2;
}
i = 0;
while (i < missiles) {
if (this.hitTest(missileBgr[i])) {
missileBgr[i].transform.colorTransform = availMissile;
missileBgr[i].avail = true;
} else {
missileBgr[i].transform.colorTransform = defaultMissile;
missileBgr[i].avail = false;
}
++i;
}
if (jumpSpeed > 0 && bgr.bgrr.hitTest(this._x, this._y - 80, true) == false) {
this._y -= jumpSpeed;
} else {
jumpSpeed = 0;
}
jumpSpeed -= jumpSpeed / 10;
this.nextPoint = new Object();
this.nextPoint.x = this._x + charSpeed;
this.nextPoint.y = this._y;
if (charSpeed < 0) {
if (bgr.bgrr.hitTest(this._x + charSpeed, this._y, true)) {
this.pos = -Math.PI;
while (this.pos < -1.570796326794897) {
this.nextPoint.x = Math.cos(this.pos) * maxCharSpeed + this._x;
this.nextPoint.y = Math.sin(this.pos) * maxCharSpeed + this._y;
if (bgr.bgrr.hitTest(this.nextPoint.x, this.nextPoint.y, true) == false) {
this.pos = 0;
}
this.pos += 0.06283185307179587;
}
}
} else {
if (charSpeed > 0) {
if (bgr.bgrr.hitTest(this._x + charSpeed, this._y, true)) {
this.pos = 0;
while (this.pos > -1.570796326794897) {
this.nextPoint.x = Math.cos(this.pos) * maxCharSpeed + this._x;
this.nextPoint.y = Math.sin(this.pos) * maxCharSpeed + this._y;
if (bgr.bgrr.hitTest(this.nextPoint.x, this.nextPoint.y, true) == false) {
this.pos = -1.570796326794897;
}
this.pos -= 0.1047197551196598;
}
}
}
}
if (this._y - this.nextPoint.y < maxCharSpeed * 0.96) {
if (bgr.bgrr.hitTest(this._x + 20, this._y - 20, true) == false && charSpeed > 0 || bgr.bgrr.hitTest(this._x - 20, this._y - 20, true) == false && charSpeed < 0) {
this._x = this.nextPoint.x;
}
this._y = this.nextPoint.y;
}
i = 0;
for (;;) {
if (!(bgr.bgrr.hitTest(this._x, this._y + 2, true) == false && i < 18)) break;
this._y += 1;
++i;
}
if (bgr.bgrr.hitTest(this._x, this._y + 2, true) && this.jumping == true) {
this.gotoAndStop('move');
jumpSpeed = 0;
this.jumping = false;
if (charSpeed != 0) {
this.gotoAndStop('move');
}
this.angleCorrection();
}
if (Math.abs(charSpeed) < 1 && charSpeed != 0) {
charSpeed = 0;
}
if (charSpeed > 0) {
charSpeed -= 1;
}
if (charSpeed < 0) {
charSpeed += 1;
}
if (this._y > bgr._y + 80) {
this.drownTimeout = 0;
water.swapDepths(_root.getNextHighestDepth());
pan.swapDepths(_root.getNextHighestDepth());
this.onEnterFrame = drown;
this.hideHealth();
this._y += 30;
yoffset = 0;
xoffset = 0;
topLayer.attachMovie('fontanchik', 'fontanchik', topLayer.getNextHighestDepth(), {'_x': this._x - topLayer._x, '_y': this._y - topLayer._y + 10});
focusingObj = topLayer.fontanchik;
}
scrolling();
}
function waiting() {
if (pauseOn == true) {
return undefined;
}
if (this.hitTest(_xmouse, _ymouse, true) && this.avail == true && currentAction == 'move') {
this.hideHealth();
i = 0;
while (i < missiles) {
missileBgr[i].avail = false;
++i;
}
if (random(4) == 1) {
_root.voiceSound.stop();
_root.voiceSound.attachSound('__laugh' + you[activeChar].typ);
_root.voiceSound.start();
}
currentAction = 'takeBall';
yoffset = 0;
xoffset = 0;
tSound.setVolume(0);
bgrSound.stop();
pan.sk._visible = false;
you[activeChar].slimed = false;
main2bgr(you[activeChar]);
focusingObj = youBgr[activeChar];
_root.taken = true;
bgr2main(this, true);
youBgr[activeChar].gotoAndStop('throw');
missile.avail = false;
youBgr[activeChar].gotoAndStop('throw');
var v3 = {'x': youBgr[activeChar].sensor._x, 'y': youBgr[activeChar].sensor._y};
youBgr[activeChar].localToGlobal(v3);
missile._x = v3.x;
missile._y = v3.y;
removeMovieClip(this);
removeMovieClip(you[activeChar]);
while (bgr.hitTest(Math.round(missile._x), Math.round(missile._y), true)) {
--missile._y;
}
missile.oldX = missile._x;
missile.oldY = missile._y;
_root.attachMovie('throwingArrow', 'throwingArrow', _root.getNextHighestDepth(), {'_x': missile._x, '_y': missile._y});
}
}
function takeBall() {
if (pauseOn == true) {
return undefined;
}
if (Key.isDown(32) && currentAction == 'takeBall' && this.burning != true && (this.typ == 'm0' && level >= 3 || this.typ == 'm22' && level >= 6)) {
this.burning = true;
this.gotoAndStop('burning');
} else {
if (Key.isDown(32) && this.typ == 'm0' && level < 3) {
msg = 'Firing the boughs will be available after 2th level';
} else {
if (Key.isDown(32) && this.typ == 'm22' && level < 6) {
msg = 'Firing the empty nests will be available after 5th level';
}
}
}
if (youBgr[activeChar]._x + bgr._x != Stage.width / 2) {
xoffset = Math.round((Stage.width / 2 - (youBgr[activeChar]._x + bgr._x)) / 10);
}
if (youBgr[activeChar]._y + bgr._y != Stage.height / 1.3) {
yoffset = Math.round((Stage.height / 1.3 - (youBgr[activeChar]._y + bgr._y)) / 10);
}
scrolling();
if (Math.abs(Stage.width / 2 - (youBgr[activeChar]._x + bgr._x)) < 10 && Math.abs(Stage.height / 1.3 - (youBgr[activeChar]._y + bgr._y)) < 10) {
this._x += this._vx;
this._y += this._vy;
if (bgr.hitTest(Math.round(this._x), Math.round(this._y), true) == false) {
this.xxo = (this._x - this.oldX) / 5;
this.yyo = (this._y - this.oldY) / 5;
i = 1;
while (i < 5) {
if (bgr.hitTest(Math.round(this._x) - Math.round(this.xxo) * i, Math.round(this._y) - Math.round(this.yyo) * i, true)) {
this._x -= Math.round(this.xxo) * i;
this._y -= Math.round(this.yyo) * i;
i = 20;
}
++i;
}
}
while (youBgr[activeChar].hitTest(this._x, this._y, true)) {
--this._y;
this._vx = 0;
this._vy = 0;
}
if (bgr.hitTest(Math.round(this._x), Math.round(this._y), true)) {
this.changeDir(bgr);
} else {
this.oldY = Math.round(this._y);
this.oldX = Math.round(this._x);
}
this.oldAx = this.ax;
this.ax = (_xmouse - this._x) * _k;
this.ay = (_ymouse - this._y) * _k;
if (isNaN(this._vx) == true || isNaN(this._vy) == true) {
this._vy = 0;
this._vx = 0;
}
this._vx += this.ax;
this._vy += this.ay;
this._vx *= this._damp;
this._vy *= this._damp;
}
}
function bgr2main(obj, m) {
obj.hideHealth();
if (m == true) {
attachMovie(obj.typ, 'missile', _root.getNextHighestDepth(), {'_x': Math.round(obj._x + bgr._x), '_y': Math.round(obj._y + bgr._y)});
for (ii in obj) {
missile[ii] = obj[ii];
}
missile._rotation = obj._rotation;
} else {
you[obj.num] = attachMovie(obj.typ, 'you' + obj.num, _root.getNextHighestDepth(), {'_x': Math.round(obj._x + bgr._x), '_y': Math.round(obj._y + bgr._y)});
you[obj.num].onRollOver = showHealth;
you[obj.num].onRollOut = hideHealth;
for (ii in obj) {
you[obj.num][ii] = obj[ii];
}
if (obj.enemy == true) {
you[obj.num]._xscale = -you[obj.num]._xscale;
}
you[obj.num]._rotation = obj._rotation;
}
}
function main2bgr(obj) {
obj.hideHealth();
if (obj.missile == true) {
missileBgr[obj.num] = bgr.attachMovie(obj.typ, 'missile' + obj.num, bgr.getNextHighestDepth(), {'_x': Math.round(obj._x - bgr._x), '_y': Math.round(obj._y - bgr._y)});
for (ii in obj) {
missileBgr[obj.num][ii] = obj[ii];
}
missileBgr[obj.num]._rotation = obj._rotation;
} else {
youBgr[obj.num] = bgr.attachMovie(obj.typ, 'you' + obj.num, bgr.getNextHighestDepth(), {'_x': Math.round(obj._x - bgr._x), '_y': Math.round(obj._y - bgr._y)});
youBgr[obj.num].onRollOver = showHealth;
youBgr[obj.num].onRollOut = hideHealth;
for (ii in obj) {
youBgr[obj.num][ii] = obj[ii];
}
if (obj.enemy == true) {
youBgr[obj.num]._xscale = -youBgr[obj.num]._xscale;
}
youBgr[obj.num]._rotation = obj._rotation;
}
}
function focus() {
if (pauseOn == true) {
return undefined;
}
yoff = 0;
xoff = 0;
if (focusingObj._parent == bgr || focusingObj._parent == topLayer) {
xoff = bgr._x;
yoff = bgr._y;
}
if (focusingObj._name == 'missile' || focusingObj.typ == 'm3' || focusingObj._name == 'razriv') {
screenKoef = 2;
divideKoef = 5;
} else {
screenKoef = 1.3;
divideKoef = 8;
}
if (focusingObj._x != undefined && focusingObj._y != undefined) {
xoffset = Math.round((Stage.width / 2 - focusingObj._x - xoff) / divideKoef) + xoffsetAx;
yoffset = Math.round((Stage.height / screenKoef - focusingObj._y - yoff) / divideKoef) + yoffsetAy;
} else {
yoffset = 0;
xoffset = 0;
}
}
function missileRotate() {
if (pauseOn == true) {
return undefined;
}
if (Key.isDown(32) && yourTurn == true && currentAction == 'takeBall' && this.burning != true && (this.typ == 'm0' && fireFactor >= 1 || this.typ == 'm22' && fireFactor >= 3)) {
this.burning = true;
this.gotoAndStop('burning');
playSoundBgr('_shoot fireball');
} else {
if (Key.isDown(32) && this.typ == 'm0' && fireFactor < 1 && mess.msg == undefined) {
msg = 'You should learn Fire Ability to fire the bough';
} else {
if (Key.isDown(32) && this.typ == 'm22' && fireFactor < 3 && mess.msg == undefined) {
msg = 'You should reach 3rd level of fire ability to fire the nests';
}
}
}
if (youBgr[activeChar].enemy == true) {
this._vxx = 45;
this._vyy = 10;
} else {
this._vxx = (youBgr[activeChar]._x + bgr._x - _xmouse) / 5;
this._vyy = (youBgr[activeChar]._y + bgr._y - 90 - _ymouse) / 5;
}
this._x = Math.cos(this.i) * Math.abs(this._vxx) + youBgr[activeChar]._x + bgr._x;
this._y = Math.sin(this.i) * Math.abs(this._vyy) + youBgr[activeChar]._y + bgr._y - 100;
this.i += 0.5;
if (this._x > this.oldX) {
this.dir = true;
} else {
this.dir = false;
}
if (this.dir == true && this.oldDir == false) {
playSoundBgr('_svist');
}
this.oldDir = this.dir;
}
function drown() {
if (pauseOn == true) {
return undefined;
}
if (this._name == 'missile') {
xoffset = Math.round((Stage.width / 2 - this._x) / 6);
yoffset = Math.round((Stage.height / 2 - this._y) / 6);
}
if (this.drownTimeout < 40) {
++this.drownTimeout;
this._y += 4;
this.oldY = this._y;
this.oldX = this._x;
} else {
if (this.typ == 'mchar0' || this.typ == 'mchar1' || this.typ == 'mchar2' || this.typ == 'mchar3' || this.typ == 'mchar11' || this.typ == 'egg' || this.typ == 'm0' || this.typ == 'm1' || this.typ == 'm2') {
yoffset = 0;
xoffset = 0;
this.health = 0;
}
this.damage = this.health;
this.finish();
delete this.onEnterFrame;
}
}
function nextTurn() {
myTotalHealth = 0;
i = 0;
while (i < yourCharsAmount) {
myTotalHealth += youBgr[i].health;
++i;
}
pan.myTotalHealthBar.healthBar.gotoAndStop(Math.round((myTotalHealth / initialHealth) * 100));
if (Math.round((myTotalHealth / initialHealth) * 100) < 25) {
pan.myTotalHealthBar.gotoAndPlay(2);
}
enemyTotalHealth = 0;
i = yourCharsAmount;
while (i < yourCharsAmount + enemyCharsAmount) {
enemyTotalHealth += youBgr[i].health;
++i;
}
pan.enemyTotalHealthBar.healthBar.gotoAndStop(Math.round((enemyTotalHealth / initialHealth) * 100));
if (Math.round((enemyTotalHealth / initialHealth) * 100) < 25) {
pan.enemyTotalHealthBar.gotoAndPlay(2);
}
myMissiles = 0;
hisMissiles = 0;
i = 0;
while (i < missiles) {
if (missileBgr[i] == undefined) {
missileBgr[i] = missileBgr[missiles - 1];
missileBgr[i].num = i;
missileBgr[missiles - 1] = undefined;
--missiles;
}
if (missileBgr[i]._x < bgr._width / 2 && (missileBgr[i].typ != 'mchar11' || enemyChars == 'char1') && (missileBgr[i].typ != 'mchar3' || enemyChars == 'char3')) {
++hisMissiles;
} else {
if (missileBgr[i]._x > bgr._width / 2 && (missileBgr[i].typ != 'mchar11' || yourChars == 'char1') && (missileBgr[i].typ != 'mchar3' || yourChars == 'char3')) {
++myMissiles;
}
}
++i;
}
if (hisMissiles < 4) {
generateMis(random(bgr._width / 2 - 400) + 200, -900, 'm' + enemyChars);
}
if (myMissiles < 4) {
generateMis(random(bgr._width / 2 - 400) + 200 + bgr._width / 2, -900, 'm' + yourChars);
}
if (yourCharsAmount <= 0) {
endOfRound();
gotoAndStop('lose');
} else {
if (enemyCharsAmount <= 0) {
endOfRound();
betweenLevels = true;
saveGame();
gotoAndPlay('win');
}
}
manageMiniChars();
firstDamaged = undefined;
bgrSound.stop();
tSound.setVolume(0);
t = 0;
neprohod = undefined;
taken = false;
t0 = getTimer();
currentAction = 'move';
yourTurn = !yourTurn;
if (yourTurn == true) {
++yourActiveChar;
if (yourActiveChar >= yourCharsAmount) {
yourActiveChar = 0;
}
activeChar = yourActiveChar;
saveGame();
} else {
++enemyActiveChar;
if (enemyActiveChar >= yourCharsAmount + enemyCharsAmount) {
enemyActiveChar = yourCharsAmount;
}
activeChar = enemyActiveChar;
}
bgr2main(youBgr[activeChar], false);
if (you[activeChar].enemy == true) {
enemyTurnAfterFocus = true;
} else {
you[activeChar].onEnterFrame = charMove;
}
focusingObj = you[activeChar];
charSpeed = 0;
jumpSpeed = 0;
you[activeChar].direct = undefined;
you[activeChar].koef = 1;
you[activeChar]._kk = charKK;
you[activeChar]._y -= 2;
youBgr[activeChar].removeMovieClip();
i = 0;
while (i < yourCharsAmount + enemyCharsAmount) {
youBgr[i].hideHealth();
++i;
}
if (yourTurn == true) {
pan.sk._visible = true;
} else {
pan.sk._visible = false;
}
}
function healthAnimation() {
if (pauseOn == true) {
return undefined;
}
this.healthBar.gotoAndStop(healthChar.health);
if (healthChar._parent._name == 'bgr') {
this._x = healthChar._x + bgr._x;
this._y = healthChar._y + bgr._y - 80;
} else {
this._x = healthChar._x;
this._y = healthChar._y - 80;
}
}
function damageFloat(i) {
if (pauseOn == true) {
return undefined;
}
_root.damageAmount[i] = topLayer.attachMovie('damage', 'damage' + i, topLayer.getNextHighestDepth(), {'_x': youBgr[i]._x - 10, '_y': youBgr[i]._y - 70});
_root.damageAmount[i].damage = youBgr[i].damage;
}
function scrolling() {
if (pauseOn == true) {
return undefined;
}
var v2 = bgr.getBounds(_root);
if (Key.isDown(16) && t > 5) {
if (Key.isDown(37) || Key.isDown(65)) {
if (v2.xMin < 100) {
xoffsetAx += 2;
}
}
if (Key.isDown(39) || Key.isDown(68)) {
if (v2.xMax > Stage.width - 100) {
xoffsetAx -= 2;
}
}
if (Key.isDown(38) || Key.isDown(87)) {
if (v2.yMin < 100) {
yoffsetAy += 2;
}
}
if (Key.isDown(40) || Key.isDown(83)) {
if (v2.yMax > Stage.height + 100) {
yoffsetAy -= 2;
}
}
} else {
xoffsetAx = 0;
yoffsetAy = 0;
}
xoffset += xoffsetAx;
yoffset += yoffsetAy;
}
function damageCount() {
if (this.health > 0 && this.damage > 0) {
damagePrirost = Math.ceil(this.damage / 20);
this.damage -= damagePrirost;
this.health -= damagePrirost;
if (this.enemy == true) {
score += damagePrirost;
} else {
score -= damagePrirost;
}
} else {
if (this.health <= 0 && this.dead != true) {
this.dead = true;
this.health = 0;
if (focusingObj.num > this.num) {
focusingObj = youBgr[this.num - 1];
}
if (focusingObj.num == this.num) {
focusingObj = undefined;
}
++deathDelay;
youBgr[this.num].gotoAndPlay('death');
playSoundBgr('_char padenie');
i = this.num;
while (i <= yourCharsAmount + enemyCharsAmount) {
youBgr[i] = youBgr[i + 1];
youBgr[i].num = i;
bgr2main(youBgr[i], false);
youBgr[i].removeMovieClip();
main2bgr(you[i]);
you[i].removeMovieClip();
++i;
}
if (this.enemy == false) {
--yourCharsAmount;
} else {
--enemyCharsAmount;
}
if (enemyActiveChar > this.num) {
--enemyActiveChar;
}
if (yourActiveChar > this.num) {
--yourActiveChar;
}
delete this.onEnterFrame;
}
}
if (this.damage <= 0 && this.health > 0) {
this.onEnterFrame = standBy;
}
}
function tryToFinish() {
busy = false;
i = 0;
while (i < yourCharsAmount + enemyCharsAmount) {
if (you[i].onEnterFrame == throwBall || you[i].onEnterFrame == charMove || you[i].onEnterFrame == enemyMove || you[i].onEnterFrame == drown) {
busy = true;
}
++i;
}
if (missile.onEnterFrame == throwBall || missile.onEnterFrame == takeBall || missile._name == 'missile') {
busy = true;
}
if (beesCounter != 0 || eggsCounter != 0) {
busy = true;
}
if (busy == false) {
currentAction = 'finishing';
if (firstDamaged != undefined) {
focusingObj = firstDamaged;
}
i = 0;
while (i <= yourCharsAmount + enemyCharsAmount) {
if (youBgr[i].poisoned == true && yourTurn == true && youBgr[i].enemy == false) {
youBgr[i].damage += 5;
} else {
if (youBgr[i].poisoned == true && yourTurn == false && youBgr[i].enemy == true) {
youBgr[i].damage += 5;
}
}
if (youBgr[i].damage > 0) {
damageFloat(i);
youBgr[i].onEnterFrame = damageCount;
}
++i;
}
delay = 0;
}
}
function razrivDamage() {
ih = 0;
while (ih < yourCharsAmount + enemyCharsAmount) {
if (youBgr[ih].hitTest(topLayer.razriv)) {
bgr2main(youBgr[ih], false);
removeMovieClip(youBgr[ih]);
topLayer.razriv.range = Math.sqrt((topLayer.razriv._x + topLayer._x - you[ih]._x) * (topLayer.razriv._x + topLayer._x - you[ih]._x) + (topLayer.razriv._y + topLayer._y - (you[ih]._y - 50)) * (topLayer.razriv._y + topLayer._y - (you[ih]._y - 50)));
you[ih].onEnterFrame = throwBall;
this.u = you[ih]._x - (topLayer.razriv._x + topLayer._x);
this.uu = you[ih]._y - 50 - (topLayer.razriv._y + topLayer._y);
if (this.u < 10 && this.u > 0 || this.u == 0) {
this.u = 10;
}
if (this.uu < 10 && this.uu > 0 || this.uu == 0) {
this.uu = 10;
}
if (this.u > -10 && this.u < 0) {
this.u = -10;
}
if (this.uu > -10 && this.uu < 0) {
this.uu = -10;
}
you[ih]._vx = 100 / this.u;
you[ih]._vy = 100 / this.uu;
you[ih].oldX = you[ih]._x;
you[ih].oldY = you[ih]._y;
if (topLayer.razriv.typ == 1) {
you[ih].slimed = true;
dmg = Math.round(3000 / topLayer.razriv.range);
if (dmg > 50) {
dmg = 50;
}
if (yourTurn == true) {
dmg *= Math.round(1 + strengthFactor / 10);
}
if (you[ih].enemy == false) {
dmg = Math.round(dmg / (1 + defenseFactor / 10));
}
you[ih].damage += dmg;
dmg = 0;
if (firstSlimmed != true) {
voiceSound.stop();
voiceSound.attachSound('__whenSlimmed');
voiceSound.start();
}
} else {
if (topLayer.razriv.typ == 2) {
you[ih].poisoned = true;
dmg = Math.round(2000 / topLayer.razriv.range);
if (dmg > 40) {
dmg = 40;
}
if (yourTurn == true) {
dmg *= Math.round(1 + strengthFactor / 10);
}
if (you[ih].enemy == false) {
dmg = Math.round(dmg / (1 + defenseFactor / 10));
}
you[ih].damage += dmg;
dmg = 0;
}
}
_root.firstDamaged = you[ih].num;
you[ih].gotoAndPlay('hit');
_root.focusingObj = you[ih];
}
++ih;
}
tryToFinish();
used = false;
}
function burningMissile() {
if (pauseOn == true) {
return undefined;
}
if (missile.onEnterFrame != drown) {
_root.topLayer.attachMovie('flame', 'fl' + (_root.topLayer.getNextHighestDepth() + 1), _root.topLayer.getNextHighestDepth(), {'_x': _root.missile._x - _root.topLayer._x, '_y': _root.missile._y - _root.topLayer._y});
}
}
function endOfRound() {
attachMovie('shadowOut', 'shadowInOut', _root.getNextHighestDepth());
delete this.onEnterFrame;
delete this.onMouseUp;
water.removeMovieClip();
pan.swapDepths(panDepth);
pan.removeMovieClip();
healthBar.removeMovieClip();
line.removeMovieClip();
missile.removeMovieClip();
you[activeChar].removeMovieClip();
topLayer.removeMovieClip();
fonSound.stop();
bgrSound.stop();
i = 0;
while (i < eggsCounter) {
eggs[i].removeMovieClip();
++i;
}
i = 0;
while (i < beesCounter) {
bees[beesCounter].removeMovieClip();
++i;
}
}
function generateEgg(xx, yy, v) {
eggs[eggsCounter] = attachMovie('inBasket' + random(5), 'egg' + eggsCounter, _root.getNextHighestDepth(), {'_x': xx, '_y': yy});
eggs[eggsCounter]._damp = 0.975;
eggs[eggsCounter].typ = 'egg';
eggs[eggsCounter].koef = 1;
eggs[eggsCounter].damageKoef = 0.8;
eggs[eggsCounter]._rotation = random(360) - 180;
eggs[eggsCounter].missile = true;
eggs[eggsCounter].num = eggsCounter;
eggs[eggsCounter]._vx = random(180) / 10 - 9 + v;
eggs[eggsCounter]._vy = 1;
eggs[eggsCounter]._kk = missileKK;
eggs[eggsCounter].koef = 1;
eggs[eggsCounter].ab = 20;
eggs[eggsCounter].onEnterFrame = throwBall;
++eggsCounter;
}
function beeMove() {
if (pauseOn == true) {
return undefined;
}
this._x = this.xx + Math.sin(this._xAngle) * this._xRadius;
this._y = this.yy + Math.cos(this._yAngle) * this._yRadius;
this._xAngle += this._xSpeed;
this._yAngle += this._ySpeed;
++this.currentFrame;
i = 0;
while (i < yourCharsAmount + enemyCharsAmount) {
if (youBgr[i].hitTest(this._x, this._y, true)) {
dmg = 5;
if (youBgr[i].enemy == false) {
dmg = Math.round(dmg / (1 + defenseFactor / 10));
}
youBgr[i].damage += dmg;
dmg = 0;
youBgr[i].gotoAndPlay('hit');
attachMovie('ukus', 'ukus' + this._x, this.getDepth(), {'_x': this._x, '_y': this._y});
--beesCounter;
this.removeMovieClip();
if (beesCounter <= 0) {
tryToFinish();
focusingObj = firstDamages;
}
}
++i;
}
}
function generateChars() {
i = 0;
while (i < yourCharsAmount) {
youBgr[i] = bgr.attachMovie(yourChars, 'you' + i, bgr.getNextHighestDepth(), {'_x': random(bgr._width / 2 - 600) + 300 + bgr._width / 2, '_y': 200});
iii = 10;
while (bgr.bgrr.hitTest(youBgr[i]._x + bgr._x, youBgr[i]._y + bgr._y, true) == false) {
youBgr[i]._x += iii;
iii = -iii;
iii += iii;
}
changePos = true;
while (changePos != false) {
changePos = false;
iii = 0;
while (iii < yourCharsAmount) {
if (Math.abs(youBgr[iii]._x - youBgr[i]._x) < 130 && i != iii) {
changePos = true;
}
++iii;
}
if (changePos == true) {
youBgr[i]._x = random(bgr._width / 2 - 600) + 300 + bgr._width / 2;
}
}
while (bgr.bgrr.hitTest(youBgr[i]._x + bgr._x, youBgr[i]._y + bgr._y, true)) {
youBgr[i]._y -= 3;
}
youBgr[i].typ = yourChars;
youBgr[i].enemy = false;
youBgr[i]._damp = 0.982;
youBgr[i].health = 100;
youBgr[i].damage = 0;
youBgr[i].missile = false;
youBgr[i].damageKoef = 0.6;
youBgr[i].koef = 1;
youBgr[i]._kk = charKK;
youBgr[i].num = i;
youBgr[i].onMouseDown = waiting;
youBgr[i].onRollOver = showHealth;
youBgr[i].onRollOut = hideHealth;
youBgr[i].onEnterFrame = standBy;
++i;
}
i = yourCharsAmount;
while (i < enemyCharsAmount + yourCharsAmount) {
youBgr[i] = bgr.attachMovie(enemyChars, 'enemy' + i, bgr.getNextHighestDepth(), {'_x': random(bgr._width / 2 - 600) + 300, '_y': 0});
youBgr[i]._xscale = -youBgr[i]._xscale;
iii = 10;
while (bgr.bgrr.hitTest(youBgr[i]._x + bgr._x, youBgr[i]._y + bgr._y, true) == false) {
youBgr[i]._x += iii;
iii = -iii;
iii += iii;
}
changePos = true;
while (changePos != false) {
changePos = false;
iii = yourCharsAmount;
while (iii < yourCharsAmount + enemyCharsAmount) {
if (Math.abs(youBgr[iii]._x - youBgr[i]._x) < 130 && i != iii) {
changePos = true;
}
++iii;
}
if (changePos == true) {
youBgr[i]._x = random(bgr._width / 2 - 600) + 300;
}
}
while (bgr.bgrr.hitTest(youBgr[i]._x + bgr._x, youBgr[i]._y + bgr._y, true)) {
youBgr[i]._y -= 3;
}
youBgr[i].typ = enemyChars;
youBgr[i].enemy = true;
youBgr[i]._damp = 0.982;
youBgr[i].health = 100;
youBgr[i].damage = 0;
youBgr[i].damageKoef = 0.6;
youBgr[i].missile = false;
youBgr[i].koef = 1;
youBgr[i]._kk = charKK;
youBgr[i].num = i;
youBgr[i].onRollOver = showHealth;
youBgr[i].onRollOut = hideHealth;
youBgr[i].onMouseDown = waiting;
youBgr[i].onEnterFrame = standBy;
++i;
}
}
function generateMissiles() {
i = 0;
while (i < missilesOnLevel[level]) {
missileBgr[missiles] = bgr.attachMovie('m' + enemyChars, 'missile' + missiles, bgr.getNextHighestDepth(), {'_x': random(bgr._width / 2 - 200) + 100, '_y': 400});
iii = 10;
while (bgr.bgrr.hitTest(missileBgr[missiles]._x + bgr._x, missileBgr[missiles]._y + bgr._y, true) == false) {
missileBgr[missiles]._x += iii;
iii = -iii;
iii += iii;
}
missileBgr[missiles].onMouseDown = waiting;
missileBgr[missiles].onEnterFrame = standBy;
missileBgr[missiles]._damp = 0.982;
missileBgr[missiles].typ = 'm' + enemyChars;
missileBgr[missiles].koef = 1;
missileBgr[missiles].damageKoef = 1.8;
missileBgr[missiles].missile = true;
missileBgr[missiles].num = missiles;
if (enemyChars == 'char1') {
missileBgr[missiles].eggsAmount = 6 + random(7);
}
while (bgr.bgrr.hitTest(missileBgr[missiles]._x + bgr._x, missileBgr[missiles]._y + bgr._y, true)) {
missileBgr[missiles]._y -= 2;
}
++missiles;
++i;
}
i = 0;
while (i < missilesOnLevel[level]) {
missileBgr[missiles] = bgr.attachMovie('m' + yourChars, 'missile' + missiles, bgr.getNextHighestDepth(), {'_x': random(bgr._width / 2 - 200) + 100 + bgr._width / 2, '_y': 400});
iii = 10;
while (bgr.bgrr.hitTest(missileBgr[missiles]._x + bgr._x, missileBgr[missiles]._y + bgr._y, true) == false) {
missileBgr[missiles]._x += iii;
iii = -iii;
iii += iii;
}
missileBgr[missiles].onMouseDown = waiting;
missileBgr[missiles].onEnterFrame = standBy;
missileBgr[missiles]._damp = 0.982;
missileBgr[missiles].typ = 'm' + yourChars;
missileBgr[missiles].koef = 1;
missileBgr[missiles].damageKoef = 1.8;
missileBgr[missiles].missile = true;
missileBgr[missiles].num = missiles;
if (yourChars == 'char1') {
missileBgr[missiles].eggsAmount = 4 + random(5);
}
while (bgr.bgrr.hitTest(missileBgr[missiles]._x + bgr._x, missileBgr[missiles]._y + bgr._y, true)) {
missileBgr[missiles]._y -= 2;
}
++missiles;
++i;
}
i = 0;
while (i < 10) {
ii = random(3);
missileBgr[missiles] = bgr.attachMovie('m' + ii, 'missile' + missiles, bgr.getNextHighestDepth(), {'_x': random(bgr._width - 300) + 150, '_y': 400});
iii = 10;
while (bgr.bgrr.hitTest(missileBgr[missiles]._x + bgr._x, missileBgr[missiles]._y + bgr._y, true) == false) {
missileBgr[missiles]._x += iii;
iii = -iii;
iii += iii;
}
missileBgr[missiles].onMouseDown = waiting;
missileBgr[missiles].onEnterFrame = standBy;
missileBgr[missiles]._damp = 0.982;
missileBgr[missiles].typ = 'm' + ii;
missileBgr[missiles].koef = 0.8;
missileBgr[missiles].damageKoef = 1;
missileBgr[missiles]._rotation = random(360) - 180;
missileBgr[missiles].missile = true;
missileBgr[missiles].num = missiles;
while (bgr.bgrr.hitTest(missileBgr[missiles]._x + bgr._x, missileBgr[missiles]._y + bgr._y, true)) {
missileBgr[missiles]._y -= 2;
}
++missiles;
++i;
}
}
function throwMissile() {
if (pauseOn == true) {
return undefined;
}
this.hand._rotation = Math.atan2(this.hand._x + bgr._x + this._x - missile._x, this.hand._y + bgr._y + this._y - missile._y) * 180 / Math.PI / 2;
this.head._rotation = -(+(Math.atan2(this.head._x + bgr._x + this._x - missile._x, this.head._y + bgr._y + this._y - missile._y) * 180 / Math.PI)) / 6;
this.hand2._rotation = Math.atan2(this.hand2._x + bgr._x + this._x - missile._x, this.hand2._y + bgr._y + this._y - missile._y) * 180 / Math.PI / 8;
if (bgr.hitTest(this._x + bgr._x, this._y + 6 + bgr._y, true) == false && Math.abs(this._x + bgr._x) < 1500) {
this._y += 5;
}
if (this.enemy == false) {
if (Math.abs(xoffset) <= 2 && Math.abs(yoffset) <= 2 && xoffsetAx == 0 && yoffsetAy == 0) {
missile._vxx = (youBgr[activeChar]._x + bgr._x) * 2 - _xmouse;
missile._vyy = (youBgr[activeChar]._y + bgr._y - 90) * 2 - _ymouse;
throwingArrow._rotation = -Math.atan2(_xmouse - (youBgr[activeChar]._x + bgr._x), _ymouse - (youBgr[activeChar]._y + bgr._y - 90)) * 180 / Math.PI;
throwingArrow._x = missile._vxx;
throwingArrow._y = missile._vyy;
_root.createEmptyMovieClip('line', 9999);
line.beginFill(255, 30);
line.lineStyle(3, 16777215, 100);
line.moveTo(_xmouse, _ymouse);
line.lineTo(missile._vxx, missile._vyy);
line.lineStyle(1, 0, 100);
line.lineTo(_xmouse, _ymouse);
line.endFill();
bgr.oldX = bgr._x;
bgr.oldY = bgr._y;
bgr2.oldX = bgr2._x;
bgr2.oldY = bgr2._y;
bgr3.oldX = bgr3._x;
bgr3.oldY = bgr3._y;
} else {
line.removeMovieClip();
throwingArrow._y = -500;
}
scrolling();
}
}
function playSoundBgr(snd, times) {
bgrSound.stop();
bgrSound.attachSound(snd);
bgrSound.setVolume(100);
if (times == undefined) {
times = 1;
}
bgrSound.start(0, times);
}
function manageMiniChars() {
i = 0;
while (i < 10) {
miniChars[i].removeMovieClip();
delete miniChars[i];
if (youBgr[i].enemy == false) {
color = 'miniCharBlack';
} else {
color = 'miniCharRed';
}
if (youBgr[i]._x != undefined) {
miniChars[i] = pan.miniMap.attachMovie(color, 'miniChar' + i, pan.miniMap.getNextHighestDepth(), {'_x': youBgr[i]._x, '_y': youBgr[i]._y});
}
++i;
}
}
function generateMis(xx, yy, mmm) {
missileBgr[missiles] = bgr.attachMovie(mmm, 'missile' + getTimer(), bgr.getNextHighestDepth(), {'_x': xx, '_y': yy});
missileBgr[missiles].onMouseDown = waiting;
missileBgr[missiles].onEnterFrame = standBy;
missileBgr[missiles]._damp = 0.982;
missileBgr[missiles].typ = mmm;
missileBgr[missiles].koef = 1;
missileBgr[missiles].damageKoef = 1.8;
missileBgr[missiles].missile = true;
missileBgr[missiles].num = missiles;
if (mmm == 'mchar1') {
missileBgr[missiles].eggsAmount = 4 + random(5);
}
++missiles;
}
function saveGame() {
so.data.vars = new Object();
for (i in this) {
so.data.vars[i] = this[i];
}
so.data.charz = new Array();
i = 0;
while (i < yourCharsAmount + enemyCharsAmount) {
so.data.charz[i] = new Object();
for (j in youBgr[i]) {
so.data.charz[i][j] = youBgr[i][j];
}
so.data.charz[i].xx = youBgr[i]._x;
so.data.charz[i].yy = youBgr[i]._y;
so.data.charz[i].nam = youBgr[i]._name;
++i;
}
so.data.missilez = new Array();
i = 0;
while (i < missiles) {
so.data.missilez[i] = new Object();
for (j in missileBgr[i]) {
so.data.missilez[i][j] = missileBgr[i][j];
}
so.data.missilez[i].xx = missileBgr[i]._x;
so.data.missilez[i].yy = missileBgr[i]._y;
so.data.missilez[i].nam = missileBgr[i]._name;
++i;
}
}
firstSlimmed = false;
betweenLevels = false;
nextTauntTime = getTimer() + 5000;
if (yourChars == 'char0' || yourChars == 'char2') {
tauntsAmount = 12;
} else {
if (yourChars == 'char1') {
tauntsAmount = 17;
} else {
if (yourChars == 'char3') {
tauntsAmount = 14;
}
}
}
if (enemyChars == 'char0' || enemyChars == 'char2') {
enemyTauntsAmount = 12;
} else {
if (enemyChars == 'char1') {
enemyTauntsAmount = 17;
} else {
if (enemyChars == 'char3') {
enemyTauntsAmount = 14;
}
}
}
bgrSound = new Sound(bgr);
bgrSound.stop();
fonSound = new Sound(bgr3);
fonSound.setVolume(60);
fonSound.stop();
fonSound.attachSound('_bgrSound');
fonSound.start(0, 1000);
voiceSound = new Sound(this);
yourCharsAmount = yourCharsAmountDef;
enemyCharsAmount = enemyCharsAmountDef;
initialHealth = 100 * yourCharsAmount;
pan.myTotalHealthBar.healthBar.gotoAndStop(100);
pan.enemyTotalHealthBar.healthBar.gotoAndStop(100);
if (accuracy > 0) {
accuracy = 33 - level * 3;
}
this.createEmptyMovieClip('topLayer', _root.getNextHighestDepth());
yourTurn = true;
index = 0;
bgr._x = Math.round(bgr._x);
bgr._y = Math.round(bgr._y);
_root.pauseOn = false;
panDepth = pan.getDepth();
deathDelay = 0;
charSpeed = 0;
maxCharSpeed = 5;
speedPrirost = 2;
noWay = 0;
xoffsetAx = 0;
yoffsetAy = 0;
msg = undefined;
missiles = 0;
t0 = getTimer();
eggsCounter = 0;
beesCounter = 0;
currentAction = 'move';
attachMovie('shadowOut', 'shadowOut', _root.getNextHighestDepth());
var miniChars = Array();
var eggs = Array();
var bees = Array();
var missileBgr = Array();
var you = Array();
var youBgr = Array();
var damageAmount = Array();
MovieClip.prototype.enemyMove = function () {
if (pauseOn == true) {
return undefined;
}
if (nearest == undefined && this.test != true) {
t0 -= t * 1000;
msg = 'Skipping...';
bgrSound.stop();
return undefined;
}
if (this.hitTest(nearest) == false) {
if (nearest._x + bgr._x < this._x) {
if (charSpeed > -maxCharSpeed) {
charSpeed -= speedPrirost;
}
if (this.direct != 'left') {
if (this._xscale < 0 && Math.abs(this._x - (nearest._x + bgr._x)) > 10) {
this._xscale = -this._xscale;
}
this.direct = 'left';
if (this.test != true && Math.abs(this._x - (nearest._x + bgr._x)) > 10) {
this.gotoAndPlay('move');
}
}
} else {
if (charSpeed < maxCharSpeed) {
charSpeed += speedPrirost;
}
if (this.direct != 'right') {
if (this._xscale > 0 && Math.abs(this._x - (nearest._x + bgr._x)) > 10) {
this._xscale = -this._xscale;
}
this.direct = 'right';
if (this.test != true && Math.abs(this._x - (nearest._x + bgr._x)) > 10) {
this.gotoAndPlay('move');
}
}
}
if (this.slimed == true) {
charSpeed /= 2;
}
} else {
if (bgr.bgrr.hitTest(this._x, this._y + 4, true)) {
iii = 2000;
}
if (used != true && this.test != true && bgr.bgrr.hitTest(this._x, this._y + 4, true)) {
if (random(4) == 1) {
_root.voiceSound.stop();
_root.voiceSound.attachSound('__laugh' + you[activeChar].typ);
_root.voiceSound.start();
} else {
enemyTaunt = random(enemyTauntsAmount);
if (enemyTaunt != enemyTauntOld) {
_root.voiceSound.stop();
_root.voiceSound.attachSound('__taunt' + enemyChars + '-' + enemyTaunt);
_root.voiceSound.start();
enemyTauntOld = enemyTaunt;
}
}
this.slimed = false;
used = true;
main2bgr(this);
yoffset = 0;
xoffset = 0;
tSound.setVolume(0);
youBgr[activeChar].onEnterFrame = standBy;
bgr2main(nearest, true);
removeMovieClip(nearest);
delete nearest;
taken = true;
missile._kk = missileKK;
_root.test = true;
bgrSound.stop();
currentAction = 'throwBall';
delete this.onEnterFrame;
removeMovieClip(this);
delete target;
var v5 = youBgr[activeChar].getBounds(_root);
youBgr[activeChar].gotoAndStop('throw');
var v3 = {'x': youBgr[activeChar].sensor._x, 'y': youBgr[activeChar].sensor._y};
youBgr[activeChar].localToGlobal(v3);
missile._x = v3.x;
missile._y = v3.y;
missile.oldX = v5.xMax;
missile.oldY = v5.yMin;
if (missile.enemy != false) {
while (target.enemy != false) {
target = youBgr[random(yourCharsAmount + enemyCharsAmount + 1)];
}
_vx = (target._x + bgr._x - missile._x) / 45;
_vy = random(30) - 50 + (random(Math.abs(target._y - missile._y)) / Math.abs(target._y - missile._y)) * (target._y - missile._y) / 15;
missile._vx = _vx;
missile._vy = _vy;
missile.xx = missile._x;
missile.yy = missile._y;
ii = 0;
while (ii < 300) {
missile.throwBall();
++ii;
}
a = 0;
while (a < 4) {
if (Math.abs(target._x + bgr._x - missile._x) > 20) {
found = false;
missile._vx = _vx + (target._x + bgr._x - missile._x) / 60;
_vx = missile._vx;
missile._vy = _vy - (target._x + bgr._x - missile._x) / 120;
_vy = missile._vy;
missile._x = missile.xx;
missile._y = missile.yy;
ii = 0;
while (ii < 300) {
missile.throwBall();
++ii;
}
} else {
a = 10;
found = true;
}
++a;
}
missile._x = missile.xx;
missile._y = missile.yy;
if (found != true) {
_vx = (target._x + bgr._x - missile._x) / 45;
_vy = random(30) - 50 + (random(Math.abs(target._y - missile._y)) / Math.abs(target._y - missile._y)) * (target._y - missile._y) / 15;
}
_root.test = false;
currentAction = undefined;
v5 = youBgr[activeChar].getBounds(_root);
missile._x = v3.x;
missile._y = v3.y;
missile.oldX = v5.xMax;
missile.oldY = v5.yMin;
missile.xx = missile._x;
missile.yy = missile._y;
} else {
test = false;
_vy = random(50) - 80;
var v4 = bgr.getBounds(_root);
if (missile._x - v4.xMin > v4.xMax - missile._x) {
_vx = (v4.xMax - missile._x) / 45 + random(50);
} else {
_vx = (v4.xMin - missile._x) / 45 - random(50);
}
}
missile._vx = _vx + random(accuracy) - accuracy / 2;
missile._vy = _vy + random(accuracy) - accuracy / 2;
missile.initialVx = missile._vx;
missile.initialVy = missile._vy;
if (missile.enemy == true) {
missile._xscale = -missile._xscale;
}
youBgr[activeChar].gotoAndPlay('throw');
bgrSound.stop();
yoffset = 0;
xoffset = 0;
currentAction = 'throwBall';
}
}
this.oX = this._x;
this.oY = this._y;
if (jumpSpeed > 0) {
this._y -= jumpSpeed;
jumpSpeed -= jumpSpeed / 10;
if (bgr.bgrr.hitTest(this._x, this._y - 50, true)) {
this._y += jumpSpeed;
jumpSpeed = 0;
}
} else {
jumpSpeed = 0;
}
if (bgr.bgrr.hitTest(this._x + 15 * charSpeed / Math.abs(charSpeed), this._y - 20, true) || bgr.bgrr.hitTest(this._x + 10 * charSpeed / Math.abs(charSpeed), this._y - 13, true) || bgr.bgrr.hitTest(this._x + 6 * charSpeed / Math.abs(charSpeed), this._y - 8, true)) {
charSpeed = 0;
++noWay;
} else {
this.nextPoint = new Object();
this.nextPoint.x = this._x + charSpeed;
this.nextPoint.y = this._y;
if (charSpeed < 0) {
if (bgr.bgrr.hitTest(this._x + charSpeed, this._y, true)) {
this.pos = -Math.PI;
while (this.pos < -1.570796326794897) {
this.nextPoint.x = Math.cos(this.pos) * maxCharSpeed + this._x;
this.nextPoint.y = Math.sin(this.pos) * maxCharSpeed + this._y;
if (bgr.bgrr.hitTest(this.nextPoint.x, this.nextPoint.y, true) == false) {
this.pos = 0;
}
this.pos += 0.06283185307179587;
}
}
} else {
if (charSpeed > 0) {
if (bgr.bgrr.hitTest(this._x + charSpeed, this._y, true)) {
this.pos = 0;
while (this.pos > -1.570796326794897) {
this.nextPoint.x = Math.cos(this.pos) * maxCharSpeed + this._x;
this.nextPoint.y = Math.sin(this.pos) * maxCharSpeed + this._y;
if (bgr.bgrr.hitTest(this.nextPoint.x, this.nextPoint.y, true) == false) {
this.pos = -1.570796326794897;
}
this.pos -= 0.1047197551196598;
}
}
}
}
if (this._y - this.nextPoint.y < maxCharSpeed * 0.96) {
if (bgr.bgrr.hitTest(this._x + 20, this._y - 20, true) == false && charSpeed > 0 || bgr.bgrr.hitTest(this._x - 20, this._y - 20, true) == false && charSpeed < 0) {
this._x = this.nextPoint.x;
}
this._y = this.nextPoint.y;
}
}
while (bgr.bgrr.hitTest(this._x, this._y, true)) {
this._y -= 1;
}
i = 0;
for (;;) {
if (!(bgr.bgrr.hitTest(this._x, this._y + 2, true) == false && i < 18)) break;
this._y += 1;
++i;
}
if (bgr.bgrr.hitTest(this._x, this._y + 2, true) && this.jumping == true) {
this.gotoAndStop(1);
bgrSound.stop();
jumpSpeed = 0;
this.jumping = false;
if (charSpeed != 0 && this.test != true) {
this.gotoAndPlay('move');
}
}
if (noWay >= 6 && bgr.hitTest(this._x, this._y + 4, true)) {
if (Math.abs(this._x - this.oldX) == 0) {
iii = 5000;
if (this.test == true && neprohod == undefined) {
neprohod = this._x - bgr._x;
ii = 0;
while (ii < missiles) {
if (this.hitTest(missileBgr[ii]) && missileBgr[ii]._x < 1800) {
nearest = missileBgr[ii];
iii = 2000;
neprohod = undefined;
}
++ii;
}
}
}
this.oldX = this._x;
this.oldY = this._y;
if (this.slimed != true) {
jumpSpeed = 42;
} else {
jumpSpeed = 10;
}
this.jumping = true;
noWay = 0;
if (this.test != true) {
this.gotoAndPlay('jump');
playSoundBgr('_jump');
}
}
if ((bgr.hitTest(this._x + 50 * charSpeed / Math.abs(charSpeed), this._y - 25, true) || bgr.hitTest(this._x + charSpeed, this._y + 20, true) == false) && bgr.bgrr.hitTest(this._x, this._y + 3, true) && this.slimed != true) {
jumpSpeed = 42;
this.jumping = true;
if (this.test != true) {
this.gotoAndPlay('jump');
playSoundBgr('_jump');
}
}
if (Math.abs(charSpeed) < 1 && charSpeed != 0) {
charSpeed = 0;
}
if (charSpeed > 0) {
charSpeed -= 1;
}
if (charSpeed < 0) {
charSpeed += 1;
}
if (this._y > bgr._y + 80) {
if (this.test != true) {
this.drownTimeout = 0;
water.swapDepths(_root.getNextHighestDepth());
pan.swapDepths(_root.getNextHighestDepth());
this.onEnterFrame = drown;
topLayer.attachMovie('fontanchik', 'fontanchik', topLayer.getNextHighestDepth(), {'_x': this._x - topLayer._x, '_y': this._y - topLayer._y + 10});
focusingObj = topLayer.fontanchik;
} else {
iii = 5000;
if (neprohod == undefined) {
neprohod = this._x - bgr._x;
}
}
this.hideHealth();
}
};
this.onMouseUp = function () {
if (pauseOn == true) {
return undefined;
}
if (_root.taken == true) {
if (yourTurn == true) {
if (xoffset != 0 || yoffset != 0 || xoffsetAx != 0 || yoffsetAy != 0) {
yoffsetAy = 0;
xoffsetAx = 0;
yoffset = 0;
xoffset = 0;
pan.miniMap.rama._x -= Stage.width / 2 - (youBgr[activeChar]._x + bgr._x);
pan.miniMap.rama._y -= Stage.width / 1.3 - (youBgr[activeChar]._y + bgr._y);
bgr._x = bgr.oldX;
bgr._y = bgr.oldY;
bgr2._x = bgr2.oldX;
bgr2._y = bgr2.oldY;
bgr3._x = bgr3.oldX;
bgr3._y = bgr3.oldY;
var v2 = youBgr[activeChar].getBounds(_root);
missile._x = v2.xMin;
missile._y = v2.yMin;
}
playSoundBgr('_brosok');
delete youBgr[activeChar].onEnterFrame;
youBgr[activeChar].gotoAndStop(1);
youBgr[activeChar].onEnterFrame = standBy;
line.removeMovieClip();
yoffset = 0;
xoffset = 0;
currentAction = 'throwBall';
_root.taken = false;
missile.onEnterFrame = throwBall;
focusingObj = missile;
missile.avail = false;
firstDamaged = undefined;
_targetY = Stage.height;
_k = 0.05;
missile._kk = missileKK;
jumpCounter = 0;
missile.koef = 1;
missile.ab = 20;
v2 = youBgr[activeChar].getBounds(_root);
missile._x = v2.xMin;
missile._y = v2.yMin;
missile._vx = (youBgr[activeChar]._x + bgr._x - _xmouse) / 2;
missile._vy = (youBgr[activeChar]._y + bgr._y - 90 - _ymouse) / 2;
removeMovieClip(throwingArrow);
}
}
};
MovieClip.prototype.throwBall = function () {
if (pauseOn == true) {
return undefined;
}
if (this.typ == yourChars || this.typ == enemyChars) {
miniChars[this.num]._x = this._x - bgr._x;
miniChars[this.num]._y = this._y - bgr._y;
}
if (this.typ == 'mchar1' && this.empty != true && test != true && Math.abs(this._vy) <= 1) {
i = 0;
while (i < this.eggsAmount) {
generateEgg(this._x + eggsCounter * 20 - this.eggsAmount * 10, this._y + 30, this._vx);
++i;
}
this.empty = true;
temp = this;
this = attachMovie('mchar11', 'missile', _root.getNextHighestDepth(), {'_x': this._x, '_y': this._y});
for (i in temp) {
this[i] = temp[i];
}
this.onEnterFrame = throwBall;
this._rotation = temp._rotation;
this.typ = 'mchar11';
temp.removeMovieClip();
}
if (test != true) {
if (this.typ == 'mchar3') {
this._rotation = -(Math.atan2(this._x - this.oldX, this._y - this.oldY) * 180 / Math.PI) - 80;
}
this.oldX += xoffset;
this.oldY += yoffset;
}
if (this.rotationSpeed == undefined) {
this.rotationSpeed = 4;
}
if (this.missile == true && test != true && this.typ != 'mchar3') {
this._rotation += this.rotationSpeed;
}
this.oldXactual = this._x;
this.oldYactual = this._y;
bgrXold = bgr._x;
bgrYold = bgr._y;
if (isNaN(this._vx) == true || isNaN(this._vy) == true) {
this._vy = 0;
this._vx = 0;
}
this._x += this._vx;
this._y += this._vy;
this.xxo = (this._x - this.oldXactual) / 6;
this.yyo = (this._y - this.oldYactual) / 6;
i = 1;
while (i < 6) {
if (bgr.hitTest(Math.round(this._x) - Math.round(this.xxo) * i, Math.round(this._y) - Math.round(this.yyo) * i, true)) {
this._x -= Math.round(this.xxo) * i;
this._y -= Math.round(this.yyo) * i;
i = 20;
}
++i;
}
if (bgr.hitTest(Math.round(this._x), Math.round(this._y), true) && currentAction == 'throwBall' && this.health != 0 && test != true) {
if (this.typ == 'mchar0') {
topLayer.attachMovie('lyaps', 'razriv', topLayer.getNextHighestDepth(), {'_x': this._x - topLayer._x, '_y': this._y - topLayer._y});
topLayer.razriv.typ = 1;
this.health = 0;
this.finish();
_root.focusingObj = topLayer.razriv;
return undefined;
} else {
if (this.typ == 'mchar2') {
topLayer.attachMovie('lyaps2', 'razriv', topLayer.getNextHighestDepth(), {'_x': this._x - topLayer._x, '_y': this._y - topLayer._y});
topLayer.razriv.typ = 2;
this.health = 0;
this.finish();
_root.focusingObj = topLayer.razriv;
return undefined;
}
}
}
this.hit = false;
if (bgr.hitTest(Math.round(this._x), Math.round(this._y), true)) {
i = 0;
while (i < yourCharsAmount + enemyCharsAmount) {
if (youBgr[i].hitTest(this._x, this._y, true) && this.hit == false && test != true && this.typ != 'mchar0') {
if (random(Math.round(15 / dexterityFactor)) == 0 && dexterityFactor != 0 && youBgr[i].enemy == false && this.typ != 'egg' && this.missile == true) {
youBgr[i].gotoAndPlay('throwBack');
_root.focusingObj = this;
this._x = youBgr[i]._x + bgr._x;
this._y = youBgr[i]._y + bgr._y - 90;
this._vx = -this.initialVx;
this._vy = this.initialVy;
this.hit = true;
} else {
bgr2main(youBgr[i], false);
removeMovieClip(youBgr[i]);
you[i].onEnterFrame = throwBall;
you[i]._vx = this._vx / 5;
you[i]._vy = this._vy / 5;
this._vx /= 2;
this._vy /= 2;
you[i].oldX = you[i]._x;
you[i].oldY = you[i]._y;
this.changeDir(you[i]);
this.hit = true;
}
}
++i;
}
if (this.hit != true) {
this.changeDir(bgr);
this.hit = true;
}
if (_root.test == true) {
ii = 20000;
}
} else {
i = 0;
while (i < enemyCharsAmount + yourCharsAmount) {
if (you[i].hitTest(this._x, this._y, true) && this.hit != true && this._name != you[i]._name && test != true) {
this.hit = true;
you[i]._vx += this._vx;
you[i]._vy += this._vy;
this._vx /= 2;
this._vy /= 2;
this.changeDir(you[i]);
this._x += this._vx;
this._y += this._vy;
}
++i;
}
if (this._name != 'missile' && missile.hitTest(this._x, this._y, true) && this.hit != true && this.typ != 'egg') {
this.hit = true;
missile._vx += this._vx;
missile._vy += this._vy;
this._vx /= 2;
this._vy /= 2;
this.changeDir(missile);
this._x += this._vx;
this._y += this._vy;
}
}
if (this.hit != true) {
this.oldY = Math.round(this._y);
this.oldX = Math.round(this._x);
oldXbgr = bgr._x;
oldYbgr = bgr._y;
this.ay = (Stage.height / 2) * this._kk;
this._vy += this.ay;
}
this._vx *= this._damp;
this._vy *= this._damp;
if (this._y > bgr._y + 80 && test != true) {
this.drownTimeout = 0;
this.gotoAndStop(1);
water.swapDepths(_root.getNextHighestDepth());
pan.swapDepths(_root.getNextHighestDepth());
this.onEnterFrame = drown;
topLayer.attachMovie('fontanchik', 'fontanchik', topLayer.getNextHighestDepth(), {'_x': this._x - topLayer._x, '_y': this._y - topLayer._y + 10});
if (this._name == missile) {
focusingObj = topLayer.fontanchik;
}
this.hideHealth();
}
};
MovieClip.prototype.finish = function () {
ay = 0;
ax = 0;
_vy = 0;
_vx = 0;
this._x = this.oldX;
this._y = this.oldY;
if (this.missile != true) {
main2bgr(this);
if (focusingObj == this) {
focusingObj = youBgr[this.num];
}
if (missile._x != undefined) {
focusingObj = missile;
}
if (firstDamaged == this) {
firstDamaged = youBgr[this.num];
}
youBgr[this.num]._kk = charKK;
youBgr[this.num].onMouseDown = waiting;
youBgr[this.num].onEnterFrame = standBy;
} else {
if (this.health != 0) {
main2bgr(this);
missileBgr[this.num].onMouseDown = waiting;
missileBgr[this.num]._kk = missileKK;
yoffset = 0;
xoffset = 0;
missileBgr[this.num].onEnterFrame = standBy;
} else {
if (this.typ != 'egg') {
delete missileBgr[this.num];
} else {
--eggsCounter;
}
removeMovieClip(this);
}
}
if (this._name == 'missile') {
yoffset = 0;
xoffset = 0;
}
used = false;
removeMovieClip(this);
tryToFinish();
};
MovieClip.prototype.changeDir = function (target) {
if (_root.test != true && this.ab > 5) {
if (this.typ == 'm0') {
bgrSound.attachSound('_rock');
bgrSound.setVolume(this.ab * 2);
bgrSound.start();
} else {
if (this.typ == 'm1') {
bgrSound.attachSound('_kirpich');
bgrSound.setVolume(this.ab * 2);
bgrSound.start();
} else {
if (this.typ == 'm2') {
bgrSound.attachSound('_tyre');
bgrSound.setVolume(this.ab * 2);
bgrSound.start();
} else {
if (this.typ == 'mchar11') {
bgrSound.attachSound('_nest padenie');
bgrSound.setVolume(this.ab * 2);
bgrSound.start();
} else {
if (this.typ == 'mchar3') {
bgrSound.attachSound('_horn');
bgrSound.setVolume(this.ab * 2);
bgrSound.start();
} else {
if (this.typ == 'char0' || this.typ == 'char1' || this.typ == 'char2' || this.typ == 'char3') {
bgrSound.attachSound('_char padenie');
bgrSound.setVolume(this.ab * 2);
bgrSound.start();
} else {
if (this.typ == 'egg') {
bgrSound.attachSound('_stuk');
bgrSound.setVolume(this.ab * 2);
bgrSound.start();
}
}
}
}
}
}
}
}
target.gotoAndPlay('hit');
if (this.typ == 'egg') {
if (target.damage != undefined) {
dmg = 15;
if (yourTurn == true) {
dmg = Math.round(dmg * (1 + strengthFactor / 10));
}
if (target.enemy == false) {
dmg = Math.round(dmg / (1 + defenseFactor / 10));
}
target.damage += dmg;
dmg = 0;
if (firstDamaged == undefined) {
firstDamaged = target;
focusingObj = target;
}
}
--eggsCounter;
tryToFinish();
delete this.onEnterFrame;
removeMovieClip(this);
} else {
if (this.onEnterFrame != takeBall && target.health > 0 && this.typ != 'mchar0' && this.typ != 'mchar2') {
dmg = Math.round((Math.abs(this._vx) + Math.abs(this._vy)) * this.damageKoef);
if (yourTurn == true) {
dmg = Math.round(dmg * (1 + strengthFactor / 10));
}
if (target.enemy == false) {
dmg = Math.round(dmg / (1 + defenseFactor / 10));
}
target.damage += dmg;
dmg = 0;
if (firstDamaged == undefined) {
firstDamaged = target;
focusingObj = target;
}
}
this.rotationSpeed = random(16) - 8;
this.lastY = this._y;
this.lastX = this._x;
i = 0;
while (target.hitTest(this.oldX, this.oldY, true)) {
--this.oldY;
}
for (;;) {
if (!(Math.abs(this.lastX - this.oldX) > 5 || Math.abs(this.lastY - this.oldY) > 5 || target.hitTest(this._x, this._y, true))) break;
if (target.hitTest(Math.round(this._x), Math.round(this._y), true)) {
this.lastY = Math.round(this._y);
this.lastX = Math.round(this._x);
} else {
this.oldX = Math.round(this._x);
this.oldY = Math.round(this._y);
}
this._y = Math.round((this.lastY + this.oldY) / 2);
this._x = Math.round((this.lastX + this.oldX) / 2);
++i;
if (i >= 10) {
this._x = this.oldX;
this._y = this.oldY;
this.lastX = this.oldX;
this.lastY = this.oldY;
}
}
this.testPoint = new Object();
if (target.hitTest(10 + this._x, +this._y, true)) {
this.naezd = true;
} else {
this.naezd = false;
}
this.pos = 0;
while (this.pos < 6.783185307179586) {
this.testPoint.x = Math.cos(this.pos) * 10 + this._x;
this.testPoint.y = Math.sin(this.pos) * 10 + this._y;
if (target.hitTest(this.testPoint.x, this.testPoint.y, true) && this.naezd == false) {
this.testPoint.x1 = this.testPoint.x;
this.testPoint.y1 = this.testPoint.y;
this.naezd = true;
}
if (target.hitTest(this.testPoint.x, this.testPoint.y, true) == false && this.naezd == true) {
this.testPoint.x2 = this.testPoint.x;
this.testPoint.y2 = this.testPoint.y;
this.naezd = false;
}
this.pos += 0.06283185307179587;
}
this.ab = Math.sqrt(Math.abs(this.testPoint.y2 * 10 - this.testPoint.y1 * 10) * Math.abs(this.testPoint.y2 * 10 - this.testPoint.y1 * 10) + Math.abs(this.testPoint.x2 * 10 - this.testPoint.x1 * 10) * Math.abs(this.testPoint.x2 * 10 - this.testPoint.x1 * 10));
this.angleRadians = Math.asin(Math.abs(this.testPoint.y2 * 10 - this.testPoint.y1 * 10) / this.ab);
if (this.testPoint.y2 > this.testPoint.y1) {
this.angleRadians = -this.angleRadians;
}
if (target.hitTest(6.12303176911188e-016 + this._x, 10 + this._y, true) == false) {
this.angleRadians = Math.PI - this.angleRadians;
}
this.ab = Math.sqrt(this._vx * this._vx + this._vy * this._vy);
if (this._vx != 0 || this._vy != 0) {
this.ugolPadeniya = Math.acos(this._vx / this.ab);
}
if (this._vy < 0) {
this.ugolPadeniya = -this.ugolPadeniya;
}
this.ugolOtskoka = -(1.570796326794897 - this.angleRadians * 2);
this.ugolOtskoka -= this.ugolPadeniya - 1.570796326794897;
this._vx = Math.cos(this.ugolOtskoka) * this.ab * this._damp;
this._vy = Math.sin(this.ugolOtskoka) * this.ab * this.koef * this._damp;
if (Math.abs(this._vy) < 60 && Math.abs(this._vy) > 1 && (currentAction == 'throwBall' || currentAction == 'finishing')) {
this.koef *= 0.4;
}
if (Math.abs(this._vx) < 1) {
this._vx *= this.koef;
}
if (this.typ == 'mchar3' && test != true) {
this._vx /= 8;
this._vy /= 8;
target.damage = target.health;
}
this._x += this._vx;
this._y += this._vy;
if (this.ab < 3 && this.onEnterFrame != takeBall) {
this.finish();
}
}
};
this.attachMovie('water', 'water', _root.getNextHighestDepth(), {'_x': -100, '_y': bgr._y});
water.onEnterFrame = function () {
this._y = bgr._y;
};
pan.swapDepths(_root.getNextHighestDepth());
MovieClip.prototype.showHealth = function () {
if (pauseOn == true) {
return undefined;
}
this.busy = false;
_root.healthBar.removeMovieClip();
_root.attachMovie('healthBar', 'healthBar', _root.getNextHighestDepth(), {'_x': this._x, '_y': this._y - 80});
_root.healthBar.num = this.num;
_root.healthBar.onEnterFrame = healthAnimation;
healthChar = this;
};
MovieClip.prototype.hideHealth = function () {
if (pauseOn == true) {
return undefined;
}
_root.healthBar.removeMovieClip();
healthChar = undefined;
};
this.onEnterFrame = function () {
if (pauseOn == true) {
return undefined;
}
if (you[activeChar]._x != undefined && you[activeChar]._y != undefined) {
miniChars[activeChar]._x = you[activeChar]._x - bgr._x;
miniChars[activeChar]._y = you[activeChar]._y - bgr._y;
}
if (enemyTurnAfterFocus == true && Math.abs(xoffset) <= 1 && Math.abs(yoffset) <= 1 && Math.abs(you[activeChar]._x - Stage.width / 2) < 15 && Math.abs(you[activeChar]._y - Stage.height / 1.3) < 200) {
enemyTurnAfterFocus = false;
getNearestMissile();
you[activeChar].onEnterFrame = enemyMove;
}
if (msg != undefined) {
attachMovie('msgObj', 'mess', _root.getNextHighestDepth(), {'_x': Stage.width / 2, '_y': Stage.height / 2});
mess.msg = _root.msg;
_root.msg = undefined;
}
if (currentAction == 'move') {
t = Math.round((t0 + 30000 - getTimer()) / 1000);
if (t <= 0) {
yoffset = 0;
xoffset = 0;
you[activeChar].slimed = false;
main2bgr(you[activeChar]);
youBgr[activeChar].onEnterFrame = standBy;
removeMovieClip(you[activeChar]);
tryToFinish();
}
if (t <= 5 && (xoffsetAx != 0 || yoffsetAy != 0)) {
yoffsetAy = 0;
xoffsetAx = 0;
}
}
focus();
aaa._x += xoffset;
aaa._y += yoffset;
bgr._x += xoffset;
bgr._y += yoffset;
bgr2._x += xoffset / 3;
bgr2._y += yoffset / 3;
bgr3._x += xoffset / 10;
bgr3._y += yoffset / 10;
topLayer._x = bgr._x;
topLayer._y = bgr._y;
pan.miniMap.rama._x -= xoffset;
pan.miniMap.rama._y -= yoffset;
missile._x += xoffset;
missile._y += yoffset;
if (eggsCounter != 0) {
i = 0;
while (i < 15) {
eggs[i]._x += xoffset;
eggs[i]._y += yoffset;
++i;
}
}
i = 0;
while (i < yourCharsAmount + enemyCharsAmount) {
you[i]._x += xoffset;
you[i]._y += yoffset;
++i;
}
if (delay != undefined) {
++delay;
if (delay >= 30) {
i = 0;
while (i < yourCharsAmount + enemyCharsAmount) {
if (youBgr[i].damage > 0 || youBgr[i].health <= 0) {
i = 50;
}
++i;
}
if (i != 51 && deathDelay == 0) {
delay = undefined;
nextTurn();
}
}
}
if (random(30) == 1) {
i = random(yourCharsAmount + enemyCharsAmount);
if (youBgr[i]._currentframe < 5) {
youBgr[i].gotoAndPlay('action');
}
}
if (random(100) == 1) {
yourTaunt = random(tauntsAmount);
if (yourTurn == true && nextTauntTime < getTimer() && currentAction == 'move' && yourTaunt != yourTauntOld) {
voiceSound.stop();
voiceSound.attachSound('__taunt' + yourChars + '-' + yourTaunt);
voiceSound.start();
you[activeChar].head.rot.gotoAndPlay(2);
nextTauntTime = getTimer() + voiceSound.duration + 4000;
yourTauntOld = yourTaunt;
}
}
if (yourTurn == true && nextTauntTime - 4000 > getTimer() && nextTauntTimeOld < getTimer()) {
you[activeChar].head.rot.gotoAndStop(1);
}
nextTauntTimeOld = nextTauntTime;
};
MovieClip.prototype.generateBee = function (xx, yy) {
bees[_root.beesCounter] = this.attachMovie('bee', 'bee' + beesCounter, this.getNextHighestDepth());
bees[_root.beesCounter].onEnterFrame = beeMove;
bees[_root.beesCounter]._xAngle = random(314.1592653589793) / 100;
bees[_root.beesCounter]._yAngle = random(314.1592653589793) / 100;
bees[_root.beesCounter]._xSpeed = random(12) / 100 + 0.02;
bees[_root.beesCounter]._ySpeed = random(16) / 100 + 0.02;
bees[_root.beesCounter]._xRadius = random(150) + 20;
bees[_root.beesCounter]._yRadius = random(150) + 20;
bees[_root.beesCounter].xx = xx;
bees[_root.beesCounter].yy = yy;
bees[_root.beesCounter].currentFrame = 0;
++_root.beesCounter;
};
MovieClip.prototype.standBy = function () {
if (pauseOn == true) {
return undefined;
}
if (this._y + bgr._y <= bgr._y + 300 && Math.abs(this._x + bgr._x) < 1500 && Math.abs(this._y + bgr._y) < 1500) {
if (bgr.bgrr.hitTest(this._x + bgr._x, this._y + 3 + bgr._y, true)) {
delete this.onEnterFrame;
} else {
this._y += 5;
}
}
};
availMissile = new flash.geom.ColorTransform();
availMissile.redOffset = 225;
availMissile.greenOffset = -40;
availMissile.blueOffset = -40;
defaultMissile = new flash.geom.ColorTransform();
defaultMissile.alphaMultiplier = 1;
defaultMissile.redMultiplier = 1;
defaultMissile.greenMultiplier = 1;
defaultMissile.blueMultiplier = 1;
pan.sk.onRelease = function () {
if (pauseOn == true) {
return undefined;
}
if (yourTurn == true && currentAction == 'move') {
t0 -= t * 1000;
}
this.swapDepths(panDepth);
this._visible = false;
tSound.setVolume(0);
currentAction == undefined;
bgrSound.stop();
};
var tSound = new Sound(pan.t);
tSound.stop();
tSound.attachSound('_tiktak');
pan.t.onEnterFrame = function () {
if ((tSound.position == 0 || tSound.position == 6434) && t <= 5 && t > 0 && currentAction == 'move') {
tSound.setVolume(100);
tSound.start();
}
};
_root.taken = false;
delete missile.onEnterFrame;
_k = 0.05;
missile._kk = 0.003;
if (loadGame == true) {
loadGame = undefined;
loadVars = new Object();
loadVars = so.data.vars;
i = 0;
while (i < loadVars.missiles) {
missileBgr[i] = bgr.attachMovie(so.data.missilez[i].typ, so.data.missilez[i].nam, bgr.getNextHighestDepth(), {'_x': so.data.missilez[i].xx, '_y': so.data.missilez[i].yy});
for (j in so.data.missilez[i]) {
missileBgr[i][j] = so.data.missilez[i][j];
}
missileBgr[i].onMouseDown = waiting;
++i;
}
i = 0;
while (i < loadVars.yourCharsAmount + loadVars.enemyCharsAmount) {
youBgr[i] = bgr.attachMovie(so.data.charz[i].typ, so.data.charz[i].nam, bgr.getNextHighestDepth(), {'_x': so.data.charz[i].xx, '_y': so.data.charz[i].yy});
for (j in so.data.charz[i]) {
youBgr[i][j] = so.data.charz[i][j];
}
if (youBgr[i].enemy == true) {
youBgr[i]._xscale = -youBgr[i]._xscale;
}
++i;
}
for (i in loadVars) {
if (typeof loadVars[i] == 'string' || typeof loadVars[i] == 'number') {
this[i] = loadVars[i];
}
}
i = 0;
while (i < 12) {
land[i].whose = loadVars.land[i].whose;
++i;
}
bgr.bgrr.gotoAndStop(loadVars.activeLand + 1);
bgr2.gotoAndStop(loadVars.activeLand + 1);
pan.miniMap.bgrr.gotoAndStop(loadVars.activeLand + 1);
manageMiniChars();
bgr2main(youBgr[activeChar]);
removeMovieClip(youBgr[activeChar]);
you[activeChar].onEnterFrame = charMove;
focusingObj = you[activeChar];
trace(loadVars.betweenLevels);
if (loadVars.betweenLevels == true) {
trace('AAAA');
endOfRound();
gotoAndPlay('win');
}
} else {
bgr.bgrr.gotoAndStop(activeLand + 1);
bgr2.gotoAndStop(activeLand + 1);
pan.miniMap.bgrr.gotoAndStop(activeLand + 1);
generateMissiles();
generateChars();
manageMiniChars();
activeChar = 0;
yourActiveChar = 0;
enemyActiveChar = yourCharsAmount;
bgr2main(youBgr[activeChar], false);
you[activeChar].oldX = you[activeChar]._x;
you[activeChar].oldY = you[activeChar]._y;
you[activeChar].onEnterFrame = charMove;
focusingObj = you[activeChar];
youBgr[activeChar].removeMovieClip();
}
if (firstPlayed != true) {
firstPlayed = true;
voiceSound.attachSound('__introSpeech');
voiceSound.start();
}
stop();
}
movieClip 793 {
}
movieClip 794 {
}
movieClip 796 {
frame 1 {
stop();
this.onEnterFrame = function () {
if (random(60) == 1) {
gotoAndPlay(2);
}
};
}
}
movieClip 800 {
}
movieClip 807 {
}
movieClip 811 {
}
movieClip 814 {
}
movieClip 817 {
}
movieClip 822 {
}
movieClip 823 {
frame 1 {
stop();
}
}
movieClip 824 {
}
movieClip 827 {
}
// unknown tag 88 length 47
movieClip 831 {
}
movieClip 836 {
}
movieClip 838 {
}
movieClip 845 {
frame 1 {
stop();
_root._quality = 'BEST';
_root.q = 1;
}
frame 2 {
stop();
_root._quality = 'LOW';
_root.q = 2;
}
frame 3 {
stop();
_root._quality = 'MEDIUM';
_root.q = 3;
}
frame 4 {
stop();
_root._quality = 'HIGH';
_root.q = 4;
}
frame 5 {
stop();
}
}
movieClip 849 {
}
movieClip 850 {
frame 1 {
bgrr.cacheAsBitmap = true;
}
}
movieClip 854 {
frame 1 {
stop();
}
}
movieClip 856 {
}
movieClip 858 {
}
movieClip 860 {
}
movieClip 861 {
}
movieClip 862 {
frame 1 {
stop();
}
}
movieClip 863 {
frame 1 {
stop();
}
frame 11 {
gotoAndPlay(2);
}
}
movieClip 868 {
frame 1 {
stop();
}
}
movieClip 869 {
frame 1 {
myTotalHealthBar.onEnterFrame = blinking;
a1.gotoAndStop(_root.enemyChars);
a2.gotoAndStop(_root.yourChars);
}
instance of movieClip 845 {
onClipEvent (load) {
var thisSound = new Sound(this);
}
onClipEvent (release) {
if (this._currentframe == 4) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(this._currentframe + 1);
}
thisSound.stop();
thisSound.attachSound('_click');
thisSound.setVolume(100);
thisSound.start();
}
}
instance of movieClip 854 {
onClipEvent (load) {
var thisSound = new Sound(this);
}
onClipEvent (release) {
_root.pauseOn = !_root.pauseOn;
if (_root.pauseOn == true) {
_root.bgrSound.stop();
_root.attachMovie('pauseShadow', 'pauseShadow', _root.getNextHighestDepth());
this.gotoAndStop(2);
_root.t00 = getTimer();
_root.you[_root.activeChar].stop();
_root.topLayer.fontanchik.stop();
_root.youBgr[_root.activeChar].stop();
} else {
_root.pauseShadow.removeMovieClip();
if (_root.you[_root.activeChar]._currentframe != 1) {
_root.you[_root.activeChar].play();
}
_root.topLayer.fontanchik.play();
_root.water.play();
if (_root.youBgr[_root.activeChar]._currentframe != 1) {
_root.youBgr[_root.activeChar].play();
}
this.gotoAndStop(1);
_root.t0 += getTimer() - _root.t00;
}
thisSound.stop();
thisSound.attachSound('_click');
thisSound.setVolume(100);
thisSound.start();
}
}
instance of movieClip 856 {
onClipEvent (load) {
var thisSound = new Sound(this);
}
onClipEvent (release) {
_root.endOfRound();
_root.gotoAndPlay('mainMenu');
}
}
instance of movieClip 862 {
onClipEvent (load) {
if (_root.zvuk == true) {
_root.mySound.setVolume(100);
this.gotoAndStop(1);
} else {
_root.mySound.setVolume(0);
this.gotoAndStop(2);
}
}
onClipEvent (release) {
_root.zvuk = !_root.zvuk;
if (_root.zvuk == true) {
_root.mySound.setVolume(100);
this.gotoAndStop(1);
} else {
_root.mySound.setVolume(0);
this.gotoAndStop(2);
}
}
}
}
frame 141 {
bSound.stop();
delete bSound;
var bSound = new Sound(b);
bSound.attachSound('_music');
bSound.start();
removeMovieClip(water);
removeMovieClip(missile);
p.onEnterFrame = buttonScale;
m.onEnterFrame = p.onEnterFrame;
m.onRelease = function () {
bSound.stop();
delete bSound;
gotoAndPlay('chooseLand');
};
score -= 100;
if (level > 0) {
--level;
}
i = 0;
while (i < 12) {
if (land[i].whose == yourChars) {
land[i].whose = enemyChars;
i = 15;
}
++i;
}
i = 0;
while (i < 12) {
if (land[i].whose == yourChars) {
i = 15;
}
++i;
}
if (i == 12) {
gotoAndPlay('totalLose');
}
p.onRelease = function () {
getURL('http://addictinggames.com', '_blank');
var v2 = new Sound(this);
v2.stop();
v2.attachSound('_click');
v2.start();
};
zast.gotoAndStop(yourChars);
stop();
}
movieClip 875 {
frame 1 {
stop();
}
}
// unknown tag 88 length 143
movieClip 883 {
}
movieClip 885 {
}
movieClip 887 {
frame 1 {
game1.num = random(_root.recommendedGames.length);
game2.num = random(_root.recommendedGames.length);
while (game2.num == game1.num) {
game2.num = random(_root.recommendedGames.length);
}
game3.num = random(_root.recommendedGames.length);
for (;;) {
if (!(game3.num == game1.num || game3.num == game2.num)) break;
game3.num = random(_root.recommendedGames.length);
}
game4.num = random(_root.recommendedGames.length);
for (;;) {
if (!(game4.num == game1.num || game4.num == game2.num || game4.num == game3.num)) break;
game4.num = random(_root.recommendedGames.length);
}
game1.img.loadMovie(_root.recommendedGames[game1.num][2]);
game1.txt.text = _root.recommendedGames[game1.num][1];
game1.gTitle.text = _root.recommendedGames[game1.num][0];
game1.onRelease = function () {
getURL(_root.recommendedGames[game1.num][3], '_blank');
};
game2.img.loadMovie(_root.recommendedGames[game2.num][2]);
game2.txt.text = _root.recommendedGames[game2.num][1];
game2.gTitle.text = _root.recommendedGames[game2.num][0];
game2.onRelease = function () {
getURL(_root.recommendedGames[game2.num][3], '_blank');
};
game3.img.loadMovie(_root.recommendedGames[game3.num][2]);
game3.txt.text = _root.recommendedGames[game3.num][1];
game3.gTitle.text = _root.recommendedGames[game3.num][0];
game3.onRelease = function () {
getURL(_root.recommendedGames[game3.num][3], '_blank');
};
game4.img.loadMovie(_root.recommendedGames[game4.num][2]);
game4.txt.text = _root.recommendedGames[game4.num][1];
game4.gTitle.text = _root.recommendedGames[game4.num][0];
game4.onRelease = function () {
getURL(_root.recommendedGames[game4.num][3], '_blank');
};
game1._x = -Stage.width / 2 + 5 + (Stage.width / 4 - game1._width) / 2;
game2._x = -Stage.width / 4 + 5 + (Stage.width / 4 - game1._width) / 2;
game3._x = 5 + (Stage.width / 4 - game1._width) / 2;
game4._x = Stage.width / 4 + 5 + (Stage.width / 4 - game1._width) / 2;
}
}
movieClip 889 {
}
frame 149 {
p.onEnterFrame = buttonScale;
m.onEnterFrame = p.onEnterFrame;
m.onRelease = function () {
bSound.stop();
delete bSound;
gotoAndPlay('mainMenu');
};
p.onRelease = function () {
getURL('http://addictinggames.com', '_blank');
var v2 = new Sound(this);
v2.stop();
v2.attachSound('_click');
v2.start();
};
play();
}
movieClip 891 {
}
movieClip 892 {
}
frame 167 {
stop();
}
frame 189 {
gotoAndPlay('mainMenu');
}
frame 190 {
bSound.stop();
c.gotoAndStop(yourChars);
delete bSound;
var bSound = new Sound(b);
bSound.attachSound('_music');
bSound.start(0, 9999);
removeMovieClip(water);
ii = 0;
i = 0;
while (i < 12) {
if (land[i].whose == yourChars) {
++ii;
}
++i;
}
if (ii >= 2) {
++level;
}
land[activeLand].whose = yourChars;
i = 0;
while (i < 8) {
if (land[i].whose != yourChars) {
i = 15;
}
++i;
}
if (i == 8) {
gotoAndPlay('totalWin');
}
play();
}
movieClip 897 {
frame 1 {
stop();
}
}
movieClip 903 {
frame 1 {
play();
}
frame 13 {
if (this.jumping != true) {
gotoAndPlay('move');
}
}
}
movieClip 913 {
}
movieClip 914 {
frame 1 {
c1.gotoAndPlay(random(20) + 1);
c2.gotoAndPlay(random(20) + 1);
c3.gotoAndPlay(random(20) + 1);
c4.gotoAndPlay(random(20) + 1);
c5.gotoAndPlay(random(20) + 1);
}
}
movieClip 915 {
frame 196 {
stop();
}
}
movieClip 925 {
}
movieClip 936 {
frame 1 {
play();
}
}
movieClip 937 {
frame 1 {
c1.gotoAndPlay(random(20) + 1);
c2.gotoAndPlay(random(20) + 1);
c3.gotoAndPlay(random(20) + 1);
c4.gotoAndPlay(random(20) + 1);
c5.gotoAndPlay(random(20) + 1);
}
}
movieClip 938 {
frame 196 {
stop();
}
}
movieClip 943 {
frame 1 {
play();
}
frame 15 {
if (this.jumping != true) {
gotoAndPlay('move');
}
}
}
movieClip 953 {
}
movieClip 954 {
frame 1 {
c1.gotoAndPlay(random(20) + 1);
c2.gotoAndPlay(random(20) + 1);
c3.gotoAndPlay(random(20) + 1);
c4.gotoAndPlay(random(20) + 1);
c5.gotoAndPlay(random(20) + 1);
}
}
movieClip 955 {
frame 196 {
stop();
}
}
movieClip 958 {
frame 1 {
play();
}
frame 13 {
if (this.jumping != true) {
gotoAndPlay('move');
}
}
}
movieClip 968 {
}
movieClip 969 {
frame 1 {
c1.gotoAndPlay(random(20) + 1);
c2.gotoAndPlay(random(20) + 1);
c3.gotoAndPlay(random(20) + 1);
c4.gotoAndPlay(random(20) + 1);
c5.gotoAndPlay(random(20) + 1);
}
}
movieClip 970 {
frame 196 {
stop();
}
}
movieClip 971 {
frame 1 {
stop();
gotoAndStop(_root.yourChars);
}
}
frame 281 {
stop();
enemyLands = 0;
i = 0;
while (i < 12) {
if (land[i].whose == enemyChars) {
++enemyLands;
}
++i;
}
p.onEnterFrame = buttonScale;
n.onEnterFrame = p.onEnterFrame;
n.onRelease = function () {
bSound.stop();
delete bSound;
gotoAndStop('chooseLand');
};
p.onRelease = function () {
getURL('http://addictinggames.com', '_blank');
var v2 = new Sound(this);
v2.stop();
v2.attachSound('_click');
v2.start();
};
if (enemyLands == 0) {
play();
}
}
movieClip 973 {
}
frame 282 {
stop();
}
movieClip 979 {
}
movieClip 982 {
frame 1 {
fadeSpeed = 1;
floatUpSpeed = 2;
this.onEnterFrame = function () {
d = this.getNextHighestDepth();
aPuff = attachMovie('aPuff', 'aPuff' + d, d);
aPuff._yscale = 10;
aPuff._xscale = 10;
aPuff._x = Math.random() * 5;
aPuff.gotoAndPlay(Math.round(Math.random() * 20));
aPuff.onEnterFrame = function () {
this._yscale += fadeSpeed;
this._xscale = this._yscale;
this._alpha -= fadeSpeed;
this._y -= floatUpSpeed;
if (this._xscale >= 100) {
this.removeMovieClip();
}
};
};
}
}
movieClip 990 {
frame 1 {
aaa.gotoAndPlay(5);
gotoAndStop(_root.enemyChars);
}
}
frame 283 {
aaa.s.onEnterFrame = buttonScale;
p.onEnterFrame = aaa.s.onEnterFrame;
aaa.v.onEnterFrame = aaa.s.onEnterFrame;
m.onEnterFrame = aaa.s.onEnterFrame;
m.onRelease = function () {
bSound.stop();
delete bSound;
gotoAndPlay('mainMenu');
};
p.onRelease = function () {
getURL('http://addictinggames.com', '_blank');
var v2 = new Sound(this);
v2.stop();
v2.attachSound('_click');
v2.start();
};
_level0.swHighScoreObject.player1Score = score;
play();
}
movieClip 996 {
}
movieClip 1001 {
frame 1 {
gotoAndStop(_root.yourChars);
}
}
movieClip 1006 {
}
movieClip 1008 {
}
movieClip 1009 {
instance s of movieClip 1006 {
onClipEvent (release) {
_root.swHighScoreObject.showTab = 'submit';
docount = true;
loadMovie(_root.HSHubURL, '_level2');
}
}
instance v of movieClip 1008 {
onClipEvent (release) {
_root.swHighScoreObject.showTab = 'view';
docount = true;
loadMovie(_root.HSHubURL, '_level2');
}
}
}
instance of movieClip 1009 {
onClipEvent (load) {
docount = false;
}
onClipEvent (enterFrame) {
if (docount) {
++trycount;
if (_level2.getBytesTotal() == -1 && trycount > 60) {
docount = false;
trycount = 0;
}
}
}
}
frame 299 {
stop();
}