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

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

Deep Sea Explorer.swf

This is the info page for
Flash #24860

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


Text
Presents

0 %

+25

-50

PLAY MORE GAMES

M

O

C

.

Add Games To Your Site

Your task is to collect the floating sea-weeds. Be careful, as there are
various obstacles in the form of poison weeds, sea creatures like Sharks,
Snakes, Fishes etc. moving around which makes your task difficult.
Use your mouse to move around.
Given below are the different power-ups.

Bonus Powerup :

This powerup will award you bonus points.

Life Powerup :

This powerup will give you an extra life.

Shield Powerup :

This powerup will shield you from the various
sea creatures.

Freeze Powerup :

This powerup will freeze all the enemies, weeds
and power-ups if any.

Net Powerup :

This powerup will attract all the weeds.

Keep collecting...

BONUS

SHIELD

FREEZE

LIFE

ATTRACT

00000

1

0

Your Score

Your Name

0

Name

Score

Date Posted

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ActionScript [AS1/AS2]

Frame 1
fscommand ("allowScale", "false"); Stage.showMenu = false; onLoad = function () { this.progressbar.bar_mc._width = 1; var _local2 = false; }; onEnterFrame = function () { myLoaded = Math.round(_root.getBytesLoaded()); myTotal = Math.round(_root.getBytesTotal()); myPercent = (myLoaded / myTotal) * 100; this.progressbar.bar_mc._width = myPercent * 2; percenttext.percentText.text = Math.round(myPercent) + "%"; if ((myLoaded == myTotal) && (_root.animationCompleted == true)) { gotoAndPlay (4); _root.animationCompleted = false; } }; animation.onPress = function () { getURL ("http://www.flasharcade.com/", "_blank"); }; stop();
Frame 2
stop();
Frame 3
stop();
Frame 5
stop(); fscommand ("allowScale", "false"); Stage.showMenu = false; _global.gameBGSound.stop(); _global.gameBGSound = null; delete _root.gameBGSound; delete _global.soundFile; _global.soundFile = _root.createEmptyMovieClip("soundFile", 1000); _global.gameBGSound = new Sound(_global.soundFile); _global.gameBGSound.attachSound("introSound"); _global.gameBGSound.start(0, 50000); _global.gameBGSound.setVolume(80);
Frame 9
stop();
Frame 11
stop(); Mouse.hide();
Frame 14
stop(); Mouse.show();
Frame 17
stop();
Symbol 40 MovieClip Frame 95
stop();
Symbol 56 MovieClip Frame 201
stop(); _root.animationCompleted = true;
Instance of Symbol 61 MovieClip "bar_mc" in Symbol 62 MovieClip Frame 1
onClipEvent (enterFrame) { _xscale = (_root.percentDone * 4); }
Symbol 80 MovieClip Frame 15
stop();
Symbol 84 MovieClip Frame 16
_root.score = _root.score + 300; _parent._parent.removeMovieClip();
Symbol 85 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 2
stop(); _root.powerupText.gotoAndPlay("t1");
Symbol 199 MovieClip Frame 2
_root.dieStatus = true;
Symbol 199 MovieClip Frame 7
_parent.targetEnemy.gotoAndPlay("hit2");
Symbol 199 MovieClip Frame 50
_parent.gotoAndPlay(1);
Symbol 200 MovieClip [enemy5] Frame 1
this.animation = false;
Symbol 200 MovieClip [enemy5] Frame 50
gotoAndPlay (1);
Symbol 200 MovieClip [enemy5] Frame 51
this.animation = true;
Symbol 200 MovieClip [enemy5] Frame 52
stop();
Symbol 250 MovieClip Frame 16
_root.stage_mc.map.setFreeze(); _parent._parent.removeMovieClip();
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 2
stop(); _root.powerupText.gotoAndPlay("t3");
Symbol 257 MovieClip Frame 16
_root.stage_mc.map.setLife(); _parent._parent.removeMovieClip();
Symbol 258 MovieClip Frame 1
stop();
Symbol 258 MovieClip Frame 2
stop(); _root.powerupText.gotoAndPlay("t4");
Symbol 264 MovieClip Frame 16
_parent._parent.removeMovieClip();
Symbol 265 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 2
stop(); _root.shieldStatus = true; _root.powerupText.gotoAndPlay("t2"); _root.stage_mc.map.setShield();
Symbol 272 MovieClip Frame 16
_root.stage_mc.map.setTrack(); _parent._parent.removeMovieClip();
Symbol 273 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 2
stop(); _root.powerupText.gotoAndPlay("t5");
Symbol 293 MovieClip Frame 15
_root.score = _root.score + 25; this._parent.removeMovieClip();
Symbol 296 MovieClip Frame 15
_root.score = _root.score - 50; if (_root.score < 0) { _root.score = 0; } this._parent.removeMovieClip();
Symbol 297 MovieClip [weed1] Frame 1
stop(); this.poisonStatus = false;
Symbol 297 MovieClip [weed1] Frame 2
stop(); this.poisonStatus = false;
Symbol 297 MovieClip [weed1] Frame 3
stop(); this.poisonStatus = false;
Symbol 297 MovieClip [weed1] Frame 4
stop(); this.poisonStatus = false;
Symbol 297 MovieClip [weed1] Frame 5
stop(); this.poisonStatus = true;
Symbol 297 MovieClip [weed1] Frame 6
stop();
Symbol 297 MovieClip [weed1] Frame 7
stop();
Symbol 301 MovieClip [weed2] Frame 1
stop();
Symbol 301 MovieClip [weed2] Frame 2
stop();
Symbol 301 MovieClip [weed2] Frame 3
stop();
Symbol 301 MovieClip [weed2] Frame 4
stop();
Symbol 301 MovieClip [weed2] Frame 5
stop();
Symbol 301 MovieClip [weed2] Frame 6
stop();
Symbol 309 Button
on (release) { _root.gotoAndPlay("main"); }
Symbol 313 Button
on (release) { _root.gotoAndPlay("inst"); }
Symbol 317 Button
on (release) { _root.gotoAndPlay("highScore"); }
Symbol 338 MovieClip Frame 20
stop();
Symbol 343 Button
on (release) { getURL ("http://www.flasharcade.com", "_blank"); }
Symbol 347 Button
on (release) { getURL ("http://www.flasharcade.com/flash-games/", "_blank"); }
Symbol 366 Button
on (release) { _root.gotoAndPlay("wel"); }
Symbol 373 MovieClip Frame 2
heliObject = function () { this.objectRef = this; this.init(); }; heliObject.prototype = new MovieClip(); heliObject.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.bulletFlag = false; this.bulletLocation = _root.stageMC; this.targetEnemy = _root.targetHeroClip; this.xvel = this.xMove; this.gravity = 0.1; this.thrust = 1; this.distance = 0; this.life = 60; this.dieFlag = false; this.rotationAngle = 1; this.bulletCounter = 0; this.blastFlag = false; this.bulletHitFlag = false; this.yvel = -this.thrust; this.trackFlag = false; }; heliObject.prototype.yMovement = function () { this.clip._y = this.clip._y + this.yvel; this.yvel = this.yvel + this.gravity; if (this.yvel >= this.thrust) { this.gravity = 0.1; this.thrust = 1; this.yvel = -this.thrust; } }; heliObject.prototype.xMovement = function () { if (!this.trackFlag) { this.clip._x = this.clip._x - this.xvel; if (this.clip._x < -650) { this.clip._x = -650; this.reBounce(); } else if (this.clip._x > 1220) { this.clip._x = 1220; this.reBounce(); } } }; heliObject.prototype.getXDistance = function () { return(Math.abs(this.targetEnemy._x - this.clip._x)); }; heliObject.prototype.rotateObject = function () { this.clip._rotation = this.clip._rotation + this.rotationAngle; if (this.clip._rotation > 3) { this.rotationAngle = this.rotationAngle * -1; } else if (this.clip._rotation < -3) { this.rotationAngle = this.rotationAngle * -1; } }; heliObject.prototype.heliMove = function () { this.yMovement(); this.xMovement(); this.rotateObject(); }; heliObject.prototype.reBounce = function () { this.xvel = this.xvel * -1; this.clip._y = this.inity; this.clip._xscale = this.clip._xscale * -1; }; heliObject.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.heliMove(); } }; Object.registerClass("fish01", heliObject); Object.registerClass("fish02", heliObject); Object.registerClass("fish03", heliObject); Object.registerClass("fish04", heliObject); weedObject = function () { this.objectRef = this; this.init(); }; weedObject.prototype = new MovieClip(); weedObject.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.xvel = this.xMove; this.yvel = this.yMove; this.minx = -600; this.maxx = 600; this.miny = -500; this.maxy = 500; this.targetEnemy = _root.targetHeroClip; this.rotationAngle = 1; var randomNum = random(4); if (randomNum == 0) { this.clip.gotoAndStop(5); } else { this.clip.gotoAndStop(1 + random(3)); } this.checkDirection(); }; weedObject.prototype.yMovement = function () { this.clip._y = this.clip._y - this.yvel; if (this.clip._y < this.miny) { _root.createWeed1Flag = false; this.removeMovieClip(); } if (this.clip._y > this.maxy) { _root.createWeed1Flag = false; this.removeMovieClip(); } }; weedObject.prototype.xMovement = function () { this.clip._x = this.clip._x - this.xvel; if (this.clip._x < this.minx) { _root.createWeed1Flag = false; this.removeMovieClip(); } if (this.clip._x > this.maxx) { _root.createWeed1Flag = false; this.removeMovieClip(); } }; weedObject.prototype.checkCollision = function () { if (this.clip.head.hitTest(this.targetEnemy.head)) { if (!this.clip.poisonStatus) { _root.weedCounter = _root.weedCounter + 1.5; this.removeClip(); } else { if (_root.weedCounter > 2) { } else { _root.weedCounter = 0; } this.removeClip2(); } } }; weedObject.prototype.removeClip = function () { this.clip.gotoAndStop("die"); _root.createWeed1Flag = false; }; weedObject.prototype.removeClip2 = function () { this.clip.gotoAndStop("die2"); _root.createWeed1Flag = false; }; weedObject.prototype.trackUser = function () { if (!this.clip.poisonStatus) { var _local2 = {x:_xmouse, y:_ymouse}; this.clip._x = this.clip._x + ((_local2.x - this.clip._x) / 10); this.clip._y = this.clip._y + ((_local2.y - this.clip._y) / 10); } }; weedObject.prototype.checkDirection = function () { if (this.directiony == -1) { this.yvel = this.yvel * 1; } else if (this.directiony == 1) { this.yvel = this.yvel * -1; } if (this.directionx == -1) { this.xvel = this.xvel * 1; } else if (this.directionx == 1) { this.xvel = this.xvel * -1; } }; weedObject.prototype.weedMove = function () { if (!_root.trackUserStatus) { if (yvel != 0) { this.yMovement(); } if (xvel != 0) { this.xMovement(); } } else { this.trackUser(); } }; weedObject.prototype.onEnterFrame = function () { trace("move"); if (!_root.freezeStatus) { this.objectRef.weedMove(); } this.objectRef.checkCollision(); }; Object.registerClass("weed1", weedObject); Object.registerClass("weed2", weedObject); fishObject = function () { this.objectRef = this; this.init(); }; fishObject.prototype = new MovieClip(); fishObject.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.bulletFlag = false; this.bulletLocation = _root.stageMC; this.targetEnemy = _root.targetHeroClip; this.xvel = this.xMove; this.gravity = 0.1; this.thrust = 1; this.distance = 0; this.life = 60; this.dieFlag = false; this.rotationAngle = 5; this.bulletCounter = 0; this.blastFlag = false; this.bulletHitFlag = false; this.yvel = -this.thrust; this.trackFlag = false; if (this.direction == 1) { this.clip._xscale = 100; } else if (this.direction == -1) { this.clip._xscale = -100; } }; fishObject.prototype.yMovement = function () { this.clip._y = this.clip._y + this.yvel; this.yvel = this.yvel + this.gravity; if (this.yvel >= this.thrust) { this.gravity = 0.1; this.thrust = 1; this.yvel = -this.thrust; } }; fishObject.prototype.changeTrack = function () { if (this.trackFlag) { this.trackFlag = false; } else { this.trackFlag = true; } }; fishObject.prototype.xMovement = function () { if (!this.trackFlag) { this.clip._x = this.clip._x - this.xvel; if (this.clip._x < -670) { this.clip._x = -670; this.reBounce(); } else if (this.clip._x > 670) { this.clip._x = 670; this.reBounce(); } } else { this.clip._x = this.clip._x + ((_xmouse - this.clip._x) / 15); this.clip._y = this.clip._y + ((_ymouse - this.clip._y) / 15); dist_x = _xmouse - this.clip._x; dist_y = _ymouse - this.clip._y; angle = Math.atan(dist_y / dist_x) / (Math.PI/180); this._rotation = angle; } }; fishObject.prototype.getXDistance = function () { return(Math.abs(this.targetEnemy._x - this.clip._x)); }; fishObject.prototype.rotateObject = function () { this.clip._rotation = this.clip._rotation + this.rotationAngle; if (this.clip._rotation > 30) { this.rotationAngle = this.rotationAngle * -1; } else if (this.clip._rotation < -30) { this.rotationAngle = this.rotationAngle * -1; } }; fishObject.prototype.checkCollision = function () { if ((this.clip.head.hitTest(this.targetEnemy.body) && (!_root.shieldStatus)) && (!_root.dieStatus)) { _root.heroBlood = _root.heroBlood - 10; this.targetEnemy.gotoAndStop("hit"); } }; fishObject.prototype.fishMove = function () { this.yMovement(); this.xMovement(); }; fishObject.prototype.reBounce = function () { this.xvel = this.xvel * -1; var _local2 = random(5); if ((_local2 == 0) || (_local2 == 1)) { this.trackFlag = false; this.clip._y = 20 + (random(480) * 1); } else if ((_local2 == 2) || (_local2 == 3)) { this.trackFlag = false; this.clip._y = 20 + (random(480) * -1); } else { this.trackFlag = false; this.clip._y = _ymouse; if (this.clip._y > 500) { this.clip._y = 450; } else if (this.clip._y < -500) { this.clip._y = -450; } } this.clip._xscale = this.clip._xscale * -1; }; fishObject.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.fishMove(); } this.objectRef.checkCollision(); }; Object.registerClass("enemy1", fishObject); fishObject2 = function () { this.objectRef = this; this.init(); }; fishObject2.prototype = new MovieClip(); fishObject2.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.bulletFlag = false; this.bulletLocation = _root.stageMC; this.targetEnemy = _root.targetHeroClip; this.yvel = this.yMove; this.gravity = 0.1; this.thrust = 1; this.distance = 0; this.life = 60; this.dieFlag = false; this.rotationAngle = 5; this.bulletCounter = 0; this.blastFlag = false; this.bulletHitFlag = false; this.xvel = -this.thrust; this.trackFlag = false; }; fishObject2.prototype.xMovement = function () { this.clip._x = this.clip._x + this.xvel; this.xvel = this.xvel + this.gravity; if (this.xvel >= this.thrust) { this.gravity = 0.1; this.thrust = 1; this.xvel = -this.thrust; } }; fishObject2.prototype.yMovement = function () { if (!this.trackFlag) { this.clip._y = this.clip._y - this.yvel; if (this.clip._y < -500) { this.clip.removeMovieClip(); } } }; fishObject2.prototype.getXDistance = function () { return(Math.abs(this.targetEnemy._x - this.clip._x)); }; fishObject2.prototype.rotateObject = function () { this.clip._rotation = this.clip._rotation + this.rotationAngle; if (this.clip._rotation > 30) { this.rotationAngle = this.rotationAngle * -1; } else if (this.clip._rotation < -30) { this.rotationAngle = this.rotationAngle * -1; } }; fishObject2.prototype.checkCollision = function () { if ((this.clip.head.hitTest(this.targetEnemy.body) && (!_root.shieldStatus)) && (!_root.dieStatus)) { _root.heroBlood = _root.heroBlood - 5; this.targetEnemy.gotoAndStop("hit"); } }; fishObject2.prototype.fishMove = function () { this.yMovement(); this.xMovement(); }; fishObject2.prototype.reBounce = function () { this.xvel = this.xvel * -1; this.clip._y = 50 + random(400); this.clip._xscale = this.clip._xscale * -1; }; fishObject2.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.fishMove(); } this.objectRef.checkCollision(); }; Object.registerClass("enemy2", fishObject2); powerupObject = function () { this.objectRef = this; this.init(); }; powerupObject.prototype = new fishObject2(); powerupObject.protoype.init = function () { super.init(); }; powerupObject.prototype.checkCollision = function () { if (this.clip.lclip.head.hitTest(this.targetEnemy.body)) { this.clip.lclip.gotoAndStop("die"); } }; powerupObject.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.fishMove(); } this.objectRef.checkCollision(); }; Object.registerClass("bonusPowerup", powerupObject); Object.registerClass("freezePowerup", powerupObject); Object.registerClass("shieldPowerup", powerupObject); Object.registerClass("trackPowerup", powerupObject); Object.registerClass("lifePowerup", powerupObject); function createWeed() { if (!_root.freezeStatus) { _global.tempName = "weed" + _root.weedDepth; _global.xVal = (1 + random(9)) * 60; var _local4 = this.attachMovie("weed1", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:500, directiony:-1, yMove:3, xMove:0}); _root.weedArray.push(_local4); _root.weedNum = 1; _root.weedDepth++; } } function createWeed2() { if (!_root.freezeStatus) { _global.tempName = "weed" + _root.weedDepth; _global.xVal = ((1 + random(9)) * 60) * -1; var _local4 = this.attachMovie("weed1", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:500, directiony:-1, yMove:3, xMove:0}); _root.weedArray.push(_local4); _root.weedNum = 1; _root.weedDepth++; } } function createWeed3() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * 1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:600, inity:_global.yVal, directionx:-1, xMove:2, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createWeed4() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * 1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:-600, inity:_global.yVal, directionx:1, xMove:3, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createWeed5() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * -1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:-600, inity:_global.yVal, directionx:1, xMove:3, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createWeed6() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * -1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:-600, inity:_global.yVal, directionx:1, xMove:3, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createEnemy() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = ((1 + random(9)) * 50) * 1; var _local4 = this.attachMovie("enemy1", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:-650, inity:_global.yVal, direction:1, xMove:-9}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval7); } function createEnemy2() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = ((1 + random(9)) * 50) * -1; var _local4 = this.attachMovie("enemy1", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:650, inity:_global.yVal, direction:-1, xMove:7}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval8); } function createEnemy3() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = (1 + random(9)) * 50; var _local4 = this.attachMovie("enemy1", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:-650, inity:_global.yVal, direction:1, xMove:-8}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval9); } function createEnemy4() { if (!_root.freezeStatus) { _global.tempName = "enemy" + _root.enemyDepth; _global.xVal = ((1 + random(8)) * 60) * -1; var _local4 = this.attachMovie("enemy2", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:5}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; } } function createEnemy5() { if (!_root.freezeStatus) { _global.tempName = "enemy" + _root.enemyDepth; _global.xVal = ((1 + random(8)) * 60) * 1; var _local4 = this.attachMovie("enemy2", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:5}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; } } function getxVal() { var _local1 = random(2); trace(_local1); if (_local1 == 0) { val = 50 + (random(500) * 1); } else { val = 50 + (random(500) * -1); } return(val); } function createBonusPowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("bonusPowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createLifePowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("lifePowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createFreezePowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("freezePowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createShieldPowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("shieldPowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createTrackPowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("trackPowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function setFreeze() { clearInterval(_root.myInterval13); _root.freezeStatus = true; _root.myInterval13_1 = setInterval(this, "resetFreezePowerup", 6000); } function resetFreezePowerup() { clearInterval(_root.myInterval13_1); _root.myInterval13 = setInterval(this, "createFreezePowerup", 14100); _root.freezeStatus = false; } function setShield() { clearInterval(_root.myInterval14); _parent.hero_mc.shieldClip.gotoAndStop(2); _root.shieldStatus = true; _root.myInterval14_1 = setInterval(this, "resetShieldPowerup", 10000); } function resetShieldPowerup() { _parent.hero_mc.shieldClip.gotoAndStop(1); clearInterval(_root.myInterval14_1); _root.myInterval14 = setInterval(this, "createShieldPowerup", 15300); _root.shieldStatus = false; } function setLife() { _root.heroLife = _root.heroLife + 1; } function setTrack() { clearInterval(_root.myInterval15); _root.trackUserStatus = true; _root.myInterval15_1 = setInterval(this, "resetTrackPowerup", 10000); } function resetTrackPowerup() { clearInterval(_root.myInterval15_1); _root.myInterval15 = setInterval(this, "createTrackPowerup", 9200); _root.trackUserStatus = false; } stop(); if (!_root.createFish1Flag) { _global.tempName = "fish1"; this.attachMovie("fish01", _global.tempName, 50000, {clipRef:_global.tempName, initx:650, inity:-100, direction:-1, xMove:6}); _root.fishNum = 1; _root.createFish1Flag = true; } if (!_root.createFish2Flag) { _global.tempName = "fish2"; this.attachMovie("fish02", _global.tempName, 50001, {clipRef:_global.tempName, initx:-650, inity:100, direction:1, xMove:4}); _root.fishNum = 2; _root.createFish2Flag = true; } if (!_root.createFish3Flag) { _global.tempName = "fish3"; this.attachMovie("fish03", _global.tempName, 50002, {clipRef:_global.tempName, initx:-650, inity:-200, direction:1, xMove:6}); _root.fishNum = 3; _root.createFish3Flag = true; } if (!_root.createFish4Flag) { _global.tempName = "fish4"; this.attachMovie("fish04", _global.tempName, 50003, {clipRef:_global.tempName, initx:650, inity:200, direction:-1, xMove:5}); _root.fishNum = 4; _root.createFish4Flag = true; } _root.targetHeroClip = _parent.hero_mc; _root.weedCounter = 0; _root.weedDepth = 65000; _root.enemyDepth = 85000 /* 0x014C08 */; _root.enemyArray = new Array(); _root.weedArray = new Array(); _root.myInterval1 = setInterval(this, "createWeed", 1100); _root.myInterval2 = setInterval(this, "createWeed2", 1310); _root.myInterval3 = setInterval(this, "createWeed3", 1600); _root.myInterval4 = setInterval(this, "createWeed4", 2900); _root.myInterval5 = setInterval(this, "createWeed5", 1900); _root.myInterval6 = setInterval(this, "createWeed6", 1400); _root.myInterval7 = setInterval(this, "createEnemy", 3100); _root.myInterval8 = setInterval(this, "createEnemy2", 4100); _root.myInterval9 = setInterval(this, "createEnemy3", 2100); _root.myInterval10 = setInterval(this, "createEnemy4", 8100); _root.myInterval11 = setInterval(this, "createEnemy5", 5100); _root.myInterval12 = setInterval(this, "createBonusPowerup", 9100); _root.myInterval13 = setInterval(this, "createFreezePowerup", 14100);
Symbol 402 MovieClip Frame 1
stop();
Symbol 402 MovieClip Frame 4
stop();
Symbol 405 MovieClip Frame 1
stop();
Symbol 405 MovieClip Frame 2
stop();
Symbol 406 MovieClip Frame 1
stop();
Symbol 406 MovieClip Frame 3
stop();
Symbol 414 MovieClip Frame 15
_parent.gotoAndStop("stand");
Symbol 415 MovieClip Frame 1
stop(); _root.dieStatus = false;
Symbol 415 MovieClip Frame 2
stop();
Symbol 415 MovieClip Frame 20
_root.stage_mc.checkEnd();
Symbol 415 MovieClip Frame 63
gotoAndStop ("stand");
Symbol 441 Button
on (release) { _root.stage_mc.gotoAndStop("lev" + _root.level); }
Symbol 442 MovieClip Frame 105
stop();
Symbol 443 MovieClip Frame 2
heliObject = function () { this.objectRef = this; this.init(); }; heliObject.prototype = new MovieClip(); heliObject.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.bulletFlag = false; this.bulletLocation = _root.stageMC; this.targetEnemy = _root.targetHeroClip; this.xvel = this.xMove; this.gravity = 0.1; this.thrust = 1; this.distance = 0; this.life = 60; this.dieFlag = false; this.rotationAngle = 1; this.bulletCounter = 0; this.blastFlag = false; this.bulletHitFlag = false; this.yvel = -this.thrust; this.trackFlag = false; }; heliObject.prototype.yMovement = function () { this.clip._y = this.clip._y + this.yvel; this.yvel = this.yvel + this.gravity; if (this.yvel >= this.thrust) { this.gravity = 0.1; this.thrust = 1; this.yvel = -this.thrust; } }; heliObject.prototype.xMovement = function () { if (!this.trackFlag) { this.clip._x = this.clip._x - this.xvel; if (this.clip._x < -650) { this.clip._x = -650; this.reBounce(); } else if (this.clip._x > 1220) { this.clip._x = 1220; this.reBounce(); } } }; heliObject.prototype.getXDistance = function () { return(Math.abs(this.targetEnemy._x - this.clip._x)); }; heliObject.prototype.rotateObject = function () { this.clip._rotation = this.clip._rotation + this.rotationAngle; if (this.clip._rotation > 3) { this.rotationAngle = this.rotationAngle * -1; } else if (this.clip._rotation < -3) { this.rotationAngle = this.rotationAngle * -1; } }; heliObject.prototype.heliMove = function () { this.yMovement(); this.xMovement(); this.rotateObject(); }; heliObject.prototype.reBounce = function () { this.xvel = this.xvel * -1; this.clip._y = this.inity; this.clip._xscale = this.clip._xscale * -1; }; heliObject.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.heliMove(); } }; Object.registerClass("fish01", heliObject); Object.registerClass("fish02", heliObject); Object.registerClass("fish03", heliObject); Object.registerClass("fish04", heliObject); weedObject = function () { this.objectRef = this; this.init(); }; weedObject.prototype = new MovieClip(); weedObject.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.xvel = this.xMove; this.yvel = this.yMove; this.minx = -600; this.maxx = 600; this.miny = -500; this.maxy = 500; this.targetEnemy = _root.targetHeroClip; this.rotationAngle = 1; var randomNum = random(4); if (randomNum == 0) { this.clip.gotoAndStop(5); } else { this.clip.gotoAndStop(1 + random(3)); } this.checkDirection(); }; weedObject.prototype.yMovement = function () { this.clip._y = this.clip._y - this.yvel; if (this.clip._y < this.miny) { _root.createWeed1Flag = false; this.removeMovieClip(); } if (this.clip._y > this.maxy) { _root.createWeed1Flag = false; this.removeMovieClip(); } }; weedObject.prototype.xMovement = function () { this.clip._x = this.clip._x - this.xvel; if (this.clip._x < this.minx) { _root.createWeed1Flag = false; this.removeMovieClip(); } if (this.clip._x > this.maxx) { _root.createWeed1Flag = false; this.removeMovieClip(); } }; weedObject.prototype.checkCollision = function () { if (this.clip.head.hitTest(this.targetEnemy.head)) { if (!this.clip.poisonStatus) { _root.weedCounter = _root.weedCounter + 1; this.removeClip(); } else { if (_root.weedCounter > 2) { } else { _root.weedCounter = 0; } this.removeClip2(); } } }; weedObject.prototype.removeClip = function () { this.clip.gotoAndStop("die"); _root.createWeed1Flag = false; }; weedObject.prototype.removeClip2 = function () { this.clip.gotoAndStop("die2"); _root.createWeed1Flag = false; }; weedObject.prototype.trackUser = function () { if (!this.clip.poisonStatus) { var _local2 = {x:_xmouse, y:_ymouse}; this.clip._x = this.clip._x + ((_local2.x - this.clip._x) / 10); this.clip._y = this.clip._y + ((_local2.y - this.clip._y) / 10); } }; weedObject.prototype.checkDirection = function () { if (this.directiony == -1) { this.yvel = this.yvel * 1; } else if (this.directiony == 1) { this.yvel = this.yvel * -1; } if (this.directionx == -1) { this.xvel = this.xvel * 1; } else if (this.directionx == 1) { this.xvel = this.xvel * -1; } }; weedObject.prototype.weedMove = function () { if (!_root.trackUserStatus) { if (yvel != 0) { this.yMovement(); } if (xvel != 0) { this.xMovement(); } } else { this.trackUser(); } }; weedObject.prototype.onEnterFrame = function () { trace("move"); if (!_root.freezeStatus) { this.objectRef.weedMove(); } this.objectRef.checkCollision(); }; Object.registerClass("weed1", weedObject); Object.registerClass("weed2", weedObject); fishObject = function () { this.objectRef = this; this.init(); }; fishObject.prototype = new MovieClip(); fishObject.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.bulletFlag = false; this.bulletLocation = _root.stageMC; this.targetEnemy = _root.targetHeroClip; this.xvel = this.xMove; this.gravity = 0.1; this.thrust = 1; this.distance = 0; this.life = 60; this.dieFlag = false; this.rotationAngle = 5; this.bulletCounter = 0; this.blastFlag = false; this.bulletHitFlag = false; this.yvel = -this.thrust; this.trackFlag = false; if (this.direction == 1) { this.clip._xscale = 100; } else if (this.direction == -1) { this.clip._xscale = -100; } }; fishObject.prototype.yMovement = function () { this.clip._y = this.clip._y + this.yvel; this.yvel = this.yvel + this.gravity; if (this.yvel >= this.thrust) { this.gravity = 0.1; this.thrust = 1; this.yvel = -this.thrust; } }; fishObject.prototype.changeTrack = function () { if (this.trackFlag) { this.trackFlag = false; } else { this.trackFlag = true; } }; fishObject.prototype.xMovement = function () { if (!this.trackFlag) { this.clip._x = this.clip._x - this.xvel; if (this.clip._x < -670) { this.clip._x = -670; this.reBounce(); } else if (this.clip._x > 670) { this.clip._x = 670; this.reBounce(); } } else { this.clip._x = this.clip._x + ((_xmouse - this.clip._x) / 15); this.clip._y = this.clip._y + ((_ymouse - this.clip._y) / 15); dist_x = _xmouse - this.clip._x; dist_y = _ymouse - this.clip._y; angle = Math.atan(dist_y / dist_x) / (Math.PI/180); this._rotation = angle; } }; fishObject.prototype.getXDistance = function () { return(Math.abs(this.targetEnemy._x - this.clip._x)); }; fishObject.prototype.rotateObject = function () { this.clip._rotation = this.clip._rotation + this.rotationAngle; if (this.clip._rotation > 30) { this.rotationAngle = this.rotationAngle * -1; } else if (this.clip._rotation < -30) { this.rotationAngle = this.rotationAngle * -1; } }; fishObject.prototype.checkCollision = function () { if ((this.clip.head.hitTest(this.targetEnemy.body) && (!_root.shieldStatus)) && (!_root.dieStatus)) { _root.heroBlood = _root.heroBlood - 20; this.targetEnemy.gotoAndStop("hit"); } }; fishObject.prototype.fishMove = function () { this.yMovement(); this.xMovement(); }; fishObject.prototype.reBounce = function () { this.xvel = this.xvel * -1; var _local2 = random(7); if ((_local2 == 0) || (_local2 == 1)) { this.trackFlag = false; this.clip._y = 20 + (random(480) * 1); } else if ((_local2 == 2) || (_local2 == 3)) { this.trackFlag = false; this.clip._y = 20 + (random(480) * -1); } else { this.trackFlag = false; this.clip._y = _ymouse; if (this.clip._y > 500) { this.clip._y = 450; } else if (this.clip._y < -500) { this.clip._y = -450; } } this.clip._xscale = this.clip._xscale * -1; }; fishObject.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.fishMove(); } this.objectRef.checkCollision(); }; Object.registerClass("enemy1", fishObject); fishObject2 = function () { this.objectRef = this; this.init(); }; fishObject2.prototype = new MovieClip(); fishObject2.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.bulletFlag = false; this.bulletLocation = _root.stageMC; this.targetEnemy = _root.targetHeroClip; this.yvel = this.yMove; this.gravity = 0.1; this.thrust = 1; this.distance = 0; this.life = 60; this.dieFlag = false; this.rotationAngle = 5; this.bulletCounter = 0; this.blastFlag = false; this.bulletHitFlag = false; this.xvel = -this.thrust; this.trackFlag = false; }; fishObject2.prototype.xMovement = function () { this.clip._x = this.clip._x + this.xvel; this.xvel = this.xvel + this.gravity; if (this.xvel >= this.thrust) { this.gravity = 0.1; this.thrust = 1; this.xvel = -this.thrust; } }; fishObject2.prototype.yMovement = function () { if (!this.trackFlag) { this.clip._y = this.clip._y - this.yvel; if (this.clip._y < -500) { this.clip.removeMovieClip(); } } }; fishObject2.prototype.getXDistance = function () { return(Math.abs(this.targetEnemy._x - this.clip._x)); }; fishObject2.prototype.rotateObject = function () { this.clip._rotation = this.clip._rotation + this.rotationAngle; if (this.clip._rotation > 30) { this.rotationAngle = this.rotationAngle * -1; } else if (this.clip._rotation < -30) { this.rotationAngle = this.rotationAngle * -1; } }; fishObject2.prototype.checkCollision = function () { if ((this.clip.head.hitTest(this.targetEnemy.body) && (!_root.shieldStatus)) && (!_root.dieStatus)) { _root.heroBlood = _root.heroBlood - 20; this.targetEnemy.gotoAndStop("hit"); } }; fishObject2.prototype.fishMove = function () { this.yMovement(); this.xMovement(); }; fishObject2.prototype.reBounce = function () { this.xvel = this.xvel * -1; this.clip._y = 50 + random(400); this.clip._xscale = this.clip._xscale * -1; }; fishObject2.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.fishMove(); } this.objectRef.checkCollision(); }; fishObject3 = function () { this.objectRef = this; this.init(); }; fishObject3.prototype = new fishObject2(); fishObject3.prototype.init = function () { super.init(); }; fishObject3.prototype.yMovement = function () { if (!this.trackFlag) { this.clip._y = this.clip._y + this.yvel; if (this.clip._y > 500) { this.clip.removeMovieClip(); } } }; Object.registerClass("enemy2", fishObject2); Object.registerClass("enemy4", fishObject3); powerupObject = function () { this.objectRef = this; this.init(); }; powerupObject.prototype = new fishObject2(); powerupObject.protoype.init = function () { super.init(); }; powerupObject.prototype.checkCollision = function () { if (this.clip.lclip.head.hitTest(this.targetEnemy.body)) { this.clip.lclip.gotoAndStop("die"); } }; powerupObject.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.fishMove(); } this.objectRef.checkCollision(); }; Object.registerClass("bonusPowerup", powerupObject); Object.registerClass("freezePowerup", powerupObject); Object.registerClass("shieldPowerup", powerupObject); Object.registerClass("trackPowerup", powerupObject); Object.registerClass("lifePowerup", powerupObject); function createWeed() { if (!_root.freezeStatus) { _global.tempName = "weed" + _root.weedDepth; _global.xVal = (1 + random(9)) * 60; var _local4 = this.attachMovie("weed1", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:500, directiony:-1, yMove:3, xMove:0}); _root.weedArray.push(_local4); _root.weedNum = 1; _root.weedDepth++; } } function createWeed2() { if (!_root.freezeStatus) { _global.tempName = "weed" + _root.weedDepth; _global.xVal = ((1 + random(9)) * 60) * -1; var _local4 = this.attachMovie("weed1", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:500, directiony:-1, yMove:3, xMove:0}); _root.weedArray.push(_local4); _root.weedNum = 1; _root.weedDepth++; } } function createWeed3() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * 1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:600, inity:_global.yVal, directionx:-1, xMove:2, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createWeed4() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * 1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:-600, inity:_global.yVal, directionx:1, xMove:3, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createWeed5() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * -1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:-600, inity:_global.yVal, directionx:1, xMove:3, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createWeed6() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * -1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:-600, inity:_global.yVal, directionx:1, xMove:3, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createEnemy() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = ((1 + random(9)) * 50) * 1; var _local4 = this.attachMovie("enemy1", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:-650, inity:_global.yVal, direction:1, xMove:-11}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval7); } function createEnemy2() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = ((1 + random(9)) * 50) * -1; var _local4 = this.attachMovie("enemy1", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:650, inity:_global.yVal, direction:-1, xMove:9}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval8); } function createEnemy3() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = (1 + random(9)) * 50; var _local4 = this.attachMovie("enemy1", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:-650, inity:_global.yVal, direction:1, xMove:-10}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval9); } function createEnemy4() { if (!_root.freezeStatus) { _global.tempName = "enemy" + _root.enemyDepth; _global.xVal = ((1 + random(8)) * 60) * -1; var _local4 = this.attachMovie("enemy2", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:8}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; } } function createEnemy5() { if (!_root.freezeStatus) { _global.tempName = "enemy" + _root.enemyDepth; _global.xVal = ((1 + random(8)) * 60) * 1; var _local4 = this.attachMovie("enemy2", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; } } function createEnemy6() { if (!_root.freezeStatus) { _global.tempName = "enemy" + _root.enemyDepth; _global.xVal = ((1 + random(8)) * 60) * 1; var _local4 = this.attachMovie("enemy4", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:-700, direction:1, yMove:7}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; } } function getxVal() { var _local1 = random(2); trace(_local1); if (_local1 == 0) { val = 50 + (random(500) * 1); } else { val = 50 + (random(500) * -1); } return(val); } function createBonusPowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("bonusPowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createLifePowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("lifePowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createFreezePowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("freezePowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createShieldPowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("shieldPowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createTrackPowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("trackPowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function setFreeze() { clearInterval(_root.myInterval13); _root.freezeStatus = true; _root.myInterval13_1 = setInterval(this, "resetFreezePowerup", 8000); } function resetFreezePowerup() { clearInterval(_root.myInterval13_1); _root.myInterval13 = setInterval(this, "createFreezePowerup", 11400); _root.freezeStatus = false; } function setShield() { clearInterval(_root.myInterval14); _parent.hero_mc.shieldClip.gotoAndStop(2); _root.shieldStatus = true; _root.myInterval14_1 = setInterval(this, "resetShieldPowerup", 10000); } function resetShieldPowerup() { _parent.hero_mc.shieldClip.gotoAndStop(1); clearInterval(_root.myInterval14_1); _root.myInterval14 = setInterval(this, "createShieldPowerup", 15300); _root.shieldStatus = false; } function setLife() { _root.heroLife = _root.heroLife + 1; } function setTrack() { clearInterval(_root.myInterval15); _root.trackUserStatus = true; _root.myInterval15_1 = setInterval(this, "resetTrackPowerup", 8000); } function resetTrackPowerup() { clearInterval(_root.myInterval15_1); _root.myInterval15 = setInterval(this, "createTrackPowerup", 14200); _root.trackUserStatus = false; } stop(); if (!_root.createFish1Flag) { _global.tempName = "fish1"; this.attachMovie("fish01", _global.tempName, 50000, {clipRef:_global.tempName, initx:650, inity:-100, direction:-1, xMove:6}); _root.fishNum = 1; _root.createFish1Flag = true; } if (!_root.createFish2Flag) { _global.tempName = "fish2"; this.attachMovie("fish02", _global.tempName, 50001, {clipRef:_global.tempName, initx:-650, inity:100, direction:1, xMove:4}); _root.fishNum = 2; _root.createFish2Flag = true; } if (!_root.createFish3Flag) { _global.tempName = "fish3"; this.attachMovie("fish03", _global.tempName, 50002, {clipRef:_global.tempName, initx:-650, inity:-200, direction:1, xMove:6}); _root.fishNum = 3; _root.createFish3Flag = true; } if (!_root.createFish4Flag) { _global.tempName = "fish4"; this.attachMovie("fish04", _global.tempName, 50003, {clipRef:_global.tempName, initx:650, inity:200, direction:-1, xMove:5}); _root.fishNum = 4; _root.createFish4Flag = true; } _root.targetHeroClip = _parent.hero_mc; _root.weedCounter = 0; _root.weedDepth = 65000; _root.enemyDepth = 85000 /* 0x014C08 */; _root.enemyArray = new Array(); _root.weedArray = new Array(); _root.myInterval1 = setInterval(this, "createWeed", 1100); _root.myInterval2 = setInterval(this, "createWeed2", 2300); _root.myInterval3 = setInterval(this, "createWeed3", 1600); _root.myInterval4 = setInterval(this, "createWeed4", 2900); _root.myInterval5 = setInterval(this, "createWeed5", 1900); _root.myInterval6 = setInterval(this, "createWeed6", 1700); _root.myInterval7 = setInterval(this, "createEnemy", 3100); _root.myInterval8 = setInterval(this, "createEnemy2", 4100); _root.myInterval9 = setInterval(this, "createEnemy3", 2100); _root.myInterval10 = setInterval(this, "createEnemy4", 8100); _root.myInterval11 = setInterval(this, "createEnemy5", 5100); _root.myInterval21 = setInterval(this, "createEnemy6", 9100); _root.myInterval12 = setInterval(this, "createBonusPowerup", 9100); _root.myInterval13 = setInterval(this, "createFreezePowerup", 11400);
Symbol 444 MovieClip Frame 2
heliObject = function () { this.objectRef = this; this.init(); }; heliObject.prototype = new MovieClip(); heliObject.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.bulletFlag = false; this.bulletLocation = _root.stageMC; this.targetEnemy = _root.targetHeroClip; this.xvel = this.xMove; this.gravity = 0.1; this.thrust = 1; this.distance = 0; this.life = 60; this.dieFlag = false; this.rotationAngle = 1; this.bulletCounter = 0; this.blastFlag = false; this.bulletHitFlag = false; this.yvel = -this.thrust; this.trackFlag = false; }; heliObject.prototype.yMovement = function () { this.clip._y = this.clip._y + this.yvel; this.yvel = this.yvel + this.gravity; if (this.yvel >= this.thrust) { this.gravity = 0.1; this.thrust = 1; this.yvel = -this.thrust; } }; heliObject.prototype.xMovement = function () { if (!this.trackFlag) { this.clip._x = this.clip._x - this.xvel; if (this.clip._x < -650) { this.clip._x = -650; this.reBounce(); } else if (this.clip._x > 1220) { this.clip._x = 1220; this.reBounce(); } } }; heliObject.prototype.getXDistance = function () { return(Math.abs(this.targetEnemy._x - this.clip._x)); }; heliObject.prototype.rotateObject = function () { this.clip._rotation = this.clip._rotation + this.rotationAngle; if (this.clip._rotation > 3) { this.rotationAngle = this.rotationAngle * -1; } else if (this.clip._rotation < -3) { this.rotationAngle = this.rotationAngle * -1; } }; heliObject.prototype.heliMove = function () { this.yMovement(); this.xMovement(); this.rotateObject(); }; heliObject.prototype.reBounce = function () { this.xvel = this.xvel * -1; this.clip._y = this.inity; this.clip._xscale = this.clip._xscale * -1; }; heliObject.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.heliMove(); } }; Object.registerClass("fish01", heliObject); Object.registerClass("fish02", heliObject); Object.registerClass("fish03", heliObject); Object.registerClass("fish04", heliObject); weedObject = function () { this.objectRef = this; this.init(); }; weedObject.prototype = new MovieClip(); weedObject.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.xvel = this.xMove; this.yvel = this.yMove; this.minx = -600; this.maxx = 600; this.miny = -500; this.maxy = 500; this.targetEnemy = _root.targetHeroClip; this.rotationAngle = 1; var randomNum = random(4); if (randomNum == 0) { this.clip.gotoAndStop(5); } else { this.clip.gotoAndStop(1 + random(3)); } this.checkDirection(); }; weedObject.prototype.yMovement = function () { this.clip._y = this.clip._y - this.yvel; if (this.clip._y < this.miny) { _root.createWeed1Flag = false; this.removeMovieClip(); } if (this.clip._y > this.maxy) { _root.createWeed1Flag = false; this.removeMovieClip(); } }; weedObject.prototype.xMovement = function () { this.clip._x = this.clip._x - this.xvel; if (this.clip._x < this.minx) { _root.createWeed1Flag = false; this.removeMovieClip(); } if (this.clip._x > this.maxx) { _root.createWeed1Flag = false; this.removeMovieClip(); } }; weedObject.prototype.checkCollision = function () { if (this.clip.head.hitTest(this.targetEnemy.head)) { if (!this.clip.poisonStatus) { _root.weedCounter = _root.weedCounter + 1; this.removeClip(); } else { if (_root.weedCounter > 2) { } else { _root.weedCounter = 0; } this.removeClip2(); } } }; weedObject.prototype.removeClip = function () { this.clip.gotoAndStop("die"); _root.createWeed1Flag = false; }; weedObject.prototype.removeClip2 = function () { this.clip.gotoAndStop("die2"); _root.createWeed1Flag = false; }; weedObject.prototype.trackUser = function () { if (!this.clip.poisonStatus) { var _local2 = {x:_xmouse, y:_ymouse}; this.clip._x = this.clip._x + ((_local2.x - this.clip._x) / 10); this.clip._y = this.clip._y + ((_local2.y - this.clip._y) / 10); } }; weedObject.prototype.checkDirection = function () { if (this.directiony == -1) { this.yvel = this.yvel * 1; } else if (this.directiony == 1) { this.yvel = this.yvel * -1; } if (this.directionx == -1) { this.xvel = this.xvel * 1; } else if (this.directionx == 1) { this.xvel = this.xvel * -1; } }; weedObject.prototype.weedMove = function () { if (!_root.trackUserStatus) { if (yvel != 0) { this.yMovement(); } if (xvel != 0) { this.xMovement(); } } else { this.trackUser(); } }; weedObject.prototype.onEnterFrame = function () { trace("move"); if (!_root.freezeStatus) { this.objectRef.weedMove(); } this.objectRef.checkCollision(); }; Object.registerClass("weed1", weedObject); Object.registerClass("weed2", weedObject); fishObject = function () { this.objectRef = this; this.init(); }; fishObject.prototype = new MovieClip(); fishObject.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.bulletFlag = false; this.bulletLocation = _root.stageMC; this.targetEnemy = _root.targetHeroClip; this.xvel = this.xMove; this.gravity = 0.1; this.thrust = 1; this.distance = 0; this.life = 60; this.maxx = 970; this.minx = -970; this.dieFlag = false; this.rotationAngle = 5; this.bulletCounter = 0; this.blastFlag = false; this.bulletHitFlag = false; this.yvel = -this.thrust; this.trackFlag = false; if (this.direction == 1) { this.clip._xscale = 100; } else if (this.direction == -1) { this.clip._xscale = -100; } }; fishObject.prototype.yMovement = function () { this.clip._y = this.clip._y + this.yvel; this.yvel = this.yvel + this.gravity; if (this.yvel >= this.thrust) { this.gravity = 0.1; this.thrust = 1; this.yvel = -this.thrust; } }; fishObject.prototype.changeTrack = function () { if (this.trackFlag) { this.trackFlag = false; } else { this.trackFlag = true; } }; fishObject.prototype.xMovement = function () { if (!this.trackFlag) { this.clip._x = this.clip._x - this.xvel; if (this.clip._x < this.minx) { this.clip._x = this.minx; this.reBounce(); } else if (this.clip._x > this.maxx) { this.clip._x = this.maxx; this.reBounce(); } } else { this.clip._x = this.clip._x + ((_xmouse - this.clip._x) / 15); this.clip._y = this.clip._y + ((_ymouse - this.clip._y) / 15); dist_x = _xmouse - this.clip._x; dist_y = _ymouse - this.clip._y; angle = Math.atan(dist_y / dist_x) / (Math.PI/180); this._rotation = angle; } }; fishObject.prototype.getXDistance = function () { return(Math.abs(this.targetEnemy._x - this.clip._x)); }; fishObject.prototype.rotateObject = function () { this.clip._rotation = this.clip._rotation + this.rotationAngle; if (this.clip._rotation > 30) { this.rotationAngle = this.rotationAngle * -1; } else if (this.clip._rotation < -30) { this.rotationAngle = this.rotationAngle * -1; } }; fishObject.prototype.checkCollision = function () { if ((this.clip.head.hitTest(this.targetEnemy.body) && (!_root.shieldStatus)) && (!_root.dieStatus)) { _root.heroBlood = _root.heroBlood - 25; this.targetEnemy.gotoAndStop("hit"); } }; fishObject.prototype.fishMove = function () { this.yMovement(); this.xMovement(); }; fishObject.prototype.reBounce = function () { this.xvel = this.xvel * -1; var _local2 = random(10); if ((_local2 == 0) || (_local2 == 1)) { this.trackFlag = false; this.clip._y = 20 + (random(480) * 1); } else if ((_local2 == 2) || (_local2 == 3)) { this.trackFlag = false; this.clip._y = 20 + (random(480) * -1); } else { this.trackFlag = false; this.clip._y = _ymouse; if (this.clip._y > 500) { this.clip._y = 450; } else if (this.clip._y < -500) { this.clip._y = -450; } } this.clip._xscale = this.clip._xscale * -1; }; fishObject.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.fishMove(); } this.objectRef.checkCollision(); }; fishObject4 = function () { this.objectRef = this; this.init(); }; fishObject4.prototype = new fishObject(); fishObject4.prototype.init = function () { super.init(); this.maxx = 1770; this.minx = -1770; }; fishObject4.prototype.checkCollision = function () { if (((this.clip.head.hitTest(this.targetEnemy.body) && (!_root.shieldStatus)) && (!_root.dieStatus)) && (!this.clip.animation)) { if (_root.heroLife > 0) { _root.heroLife = _root.heroLife - 1; } else { _root.heroBlood = 0; } this.clip.gotoAndPlay("grab"); this.clip.animation = true; } }; Object.registerClass("enemy1", fishObject); Object.registerClass("enemy5", fishObject4); fishObject3 = function () { this.objectRef = this; this.init(); }; fishObject3.prototype = new MovieClip(); fishObject3.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.bulletFlag = false; this.bulletLocation = _root.stageMC; this.targetEnemy = _root.targetHeroClip; this.xvel = this.xMove; this.gravity = 0.1; this.thrust = 1; this.distance = 0; this.life = 60; this.dieFlag = false; this.rotationAngle = 5; this.bulletCounter = 0; this.blastFlag = false; this.bulletHitFlag = false; this.yvel = -this.thrust; this.trackFlag = true; if (this.direction == 1) { this.clip._xscale = 100; } else if (this.direction == -1) { this.clip._xscale = -100; } this.trackInterval = setInterval(this, "changeTrack", 8000); }; fishObject3.prototype.yMovement = function () { this.clip._y = this.clip._y + this.yvel; this.yvel = this.yvel + this.gravity; if (this.yvel >= this.thrust) { this.gravity = 0.1; this.thrust = 1; this.yvel = -this.thrust; } }; fishObject3.prototype.changeTrack = function () { if (this.trackFlag) { this.trackFlag = false; } else { this.trackFlag = true; } }; fishObject3.prototype.xMovement = function () { if (this.trackFlag) { this.targetx = _xmouse; this.targety = _ymouse; } else if (this.direction == 1) { this.targetx = 650; this.targety = 340; } else { this.targetx = -650; this.targety = 0; } this.clip._x = this.clip._x + ((this.targetx - this.clip._x) / 30); this.clip._y = this.clip._y + ((this.targety - this.clip._y) / 30); dist_x = this.targetx - this.clip._x; dist_y = this.targety - this.clip._y; if (dist_x > 0) { this.direction = 1; this.clip._xscale = 100; angle = Math.atan2(dist_y, dist_x) / (Math.PI/180); this._rotation = angle; } else { this.direction = -1; this.clip._xscale = -100; angle = Math.atan2(dist_y, dist_x) / (Math.PI/180); this._rotation = angle + 180; } }; fishObject3.prototype.getXDistance = function () { return(Math.abs(this.targetEnemy._x - this.clip._x)); }; fishObject3.prototype.rotateObject = function () { this.clip._rotation = this.clip._rotation + this.rotationAngle; if (this.clip._rotation > 30) { this.rotationAngle = this.rotationAngle * -1; } else if (this.clip._rotation < -30) { this.rotationAngle = this.rotationAngle * -1; } }; fishObject3.prototype.checkCollision = function () { if ((this.clip.head.hitTest(this.targetEnemy.body) && (!_root.shieldStatus)) && (!_root.dieStatus)) { _root.heroBlood = _root.heroBlood - 20; this.targetEnemy.gotoAndStop("hit"); } }; fishObject3.prototype.fishMove = function () { this.yMovement(); this.xMovement(); }; fishObject3.prototype.reBounce = function () { this.xvel = this.xvel * -1; var _local2 = random(10); if ((_local2 == 0) || (_local2 == 1)) { this.trackFlag = false; this.clip._y = 20 + (random(480) * 1); } else if ((_local2 == 2) || (_local2 == 3)) { this.trackFlag = false; this.clip._y = 20 + (random(480) * -1); } else { this.trackFlag = false; this.clip._y = _ymouse; if (this.clip._y > 500) { this.clip._y = 450; } else if (this.clip._y < -500) { this.clip._y = -450; } } this.clip._xscale = this.clip._xscale * -1; }; fishObject3.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.fishMove(); } this.objectRef.checkCollision(); }; Object.registerClass("enemy3", fishObject3); fishObject2 = function () { this.objectRef = this; this.init(); }; fishObject2.prototype = new MovieClip(); fishObject2.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.bulletFlag = false; this.bulletLocation = _root.stageMC; this.targetEnemy = _root.targetHeroClip; this.yvel = this.yMove; this.gravity = 0.1; this.thrust = 1; this.distance = 0; this.life = 60; this.dieFlag = false; this.rotationAngle = 5; this.bulletCounter = 0; this.blastFlag = false; this.bulletHitFlag = false; this.xvel = -this.thrust; this.trackFlag = false; }; fishObject2.prototype.xMovement = function () { this.clip._x = this.clip._x + this.xvel; this.xvel = this.xvel + this.gravity; if (this.xvel >= this.thrust) { this.gravity = 0.1; this.thrust = 1; this.xvel = -this.thrust; } }; fishObject2.prototype.yMovement = function () { if (!this.trackFlag) { this.clip._y = this.clip._y - this.yvel; if (this.clip._y < -500) { this.clip.removeMovieClip(); } } }; fishObject2.prototype.getXDistance = function () { return(Math.abs(this.targetEnemy._x - this.clip._x)); }; fishObject2.prototype.rotateObject = function () { this.clip._rotation = this.clip._rotation + this.rotationAngle; if (this.clip._rotation > 30) { this.rotationAngle = this.rotationAngle * -1; } else if (this.clip._rotation < -30) { this.rotationAngle = this.rotationAngle * -1; } }; fishObject2.prototype.checkCollision = function () { if ((this.clip.head.hitTest(this.targetEnemy.body) && (!_root.shieldStatus)) && (!_root.dieStatus)) { _root.heroBlood = _root.heroBlood - 15; this.targetEnemy.gotoAndStop("hit"); } }; fishObject2.prototype.fishMove = function () { this.yMovement(); this.xMovement(); }; fishObject2.prototype.reBounce = function () { this.xvel = this.xvel * -1; this.clip._y = 50 + random(400); this.clip._xscale = this.clip._xscale * -1; }; fishObject2.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.fishMove(); } this.objectRef.checkCollision(); }; fishObject3 = function () { this.objectRef = this; this.init(); }; fishObject3.prototype = new fishObject2(); fishObject3.prototype.init = function () { super.init(); }; fishObject3.prototype.yMovement = function () { if (!this.trackFlag) { this.clip._y = this.clip._y + this.yvel; if (this.clip._y > 500) { this.clip.removeMovieClip(); } } }; Object.registerClass("enemy2", fishObject2); Object.registerClass("enemy4", fishObject3); powerupObject = function () { this.objectRef = this; this.init(); }; powerupObject.prototype = new fishObject2(); powerupObject.protoype.init = function () { super.init(); }; powerupObject.prototype.checkCollision = function () { if (this.clip.lclip.head.hitTest(this.targetEnemy.body)) { this.clip.lclip.gotoAndStop("die"); } }; powerupObject.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.fishMove(); } this.objectRef.checkCollision(); }; Object.registerClass("bonusPowerup", powerupObject); Object.registerClass("freezePowerup", powerupObject); Object.registerClass("shieldPowerup", powerupObject); Object.registerClass("trackPowerup", powerupObject); Object.registerClass("lifePowerup", powerupObject); function createWeed() { if (!_root.freezeStatus) { _global.tempName = "weed" + _root.weedDepth; _global.xVal = (1 + random(9)) * 60; var _local4 = this.attachMovie("weed1", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:500, directiony:-1, yMove:3, xMove:0}); _root.weedArray.push(_local4); _root.weedNum = 1; _root.weedDepth++; } } function createWeed2() { if (!_root.freezeStatus) { _global.tempName = "weed" + _root.weedDepth; _global.xVal = ((1 + random(9)) * 60) * -1; var _local4 = this.attachMovie("weed1", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:500, directiony:-1, yMove:3, xMove:0}); _root.weedArray.push(_local4); _root.weedNum = 1; _root.weedDepth++; } } function createWeed3() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * 1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:600, inity:_global.yVal, directionx:-1, xMove:2, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createWeed4() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * 1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:-600, inity:_global.yVal, directionx:1, xMove:3, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createWeed5() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * -1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:-600, inity:_global.yVal, directionx:1, xMove:3, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createWeed6() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * -1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:-600, inity:_global.yVal, directionx:1, xMove:3, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createEnemy() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = ((1 + random(9)) * 50) * 1; var _local4 = this.attachMovie("enemy3", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:-650, inity:_global.yVal, direction:1, xMove:-3}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval7); } function createEnemy2() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = ((1 + random(9)) * 50) * -1; var _local4 = this.attachMovie("enemy1", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:650, inity:_global.yVal, direction:-1, xMove:9}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval8); } function createEnemy3() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = (1 + random(9)) * 50; var _local4 = this.attachMovie("enemy5", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:-650, inity:_global.yVal, direction:1, xMove:-13}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval9); } function createEnemy5() { if (!_root.freezeStatus) { _global.tempName = "enemy" + _root.enemyDepth; _global.xVal = ((1 + random(8)) * 60) * 1; var _local4 = this.attachMovie("enemy2", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; } } function createEnemy6() { if (!_root.freezeStatus) { _global.tempName = "enemy" + _root.enemyDepth; _global.xVal = ((1 + random(8)) * 60) * 1; var _local4 = this.attachMovie("enemy4", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:-700, direction:1, yMove:7}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; } } function getxVal() { var _local1 = random(2); trace(_local1); if (_local1 == 0) { val = 50 + (random(500) * 1); } else { val = 50 + (random(500) * -1); } return(val); } function createBonusPowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("bonusPowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createLifePowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("lifePowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createFreezePowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("freezePowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createShieldPowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("shieldPowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createTrackPowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("trackPowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function setFreeze() { clearInterval(_root.myInterval13); _root.freezeStatus = true; _root.myInterval13_1 = setInterval(this, "resetFreezePowerup", 8000); } function resetFreezePowerup() { clearInterval(_root.myInterval13_1); _root.myInterval13 = setInterval(this, "createFreezePowerup", 11400); _root.freezeStatus = false; } function setShield() { clearInterval(_root.myInterval14); _parent.hero_mc.shieldClip.gotoAndStop(2); _root.shieldStatus = true; _root.myInterval14_1 = setInterval(this, "resetShieldPowerup", 10000); } function resetShieldPowerup() { _parent.hero_mc.shieldClip.gotoAndStop(1); clearInterval(_root.myInterval14_1); _root.myInterval14 = setInterval(this, "createShieldPowerup", 15300); _root.shieldStatus = false; } function setLife() { _root.heroLife = _root.heroLife + 1; } function setTrack() { clearInterval(_root.myInterval15); _root.trackUserStatus = true; _root.myInterval15_1 = setInterval(this, "resetTrackPowerup", 2000); } function resetTrackPowerup() { clearInterval(_root.myInterval15_1); _root.myInterval15 = setInterval(this, "createTrackPowerup", 14200); _root.trackUserStatus = false; } stop(); if (!_root.createFish1Flag) { _global.tempName = "fish1"; this.attachMovie("fish01", _global.tempName, 50000, {clipRef:_global.tempName, initx:650, inity:-100, direction:-1, xMove:6}); _root.fishNum = 1; _root.createFish1Flag = true; } if (!_root.createFish2Flag) { _global.tempName = "fish2"; this.attachMovie("fish02", _global.tempName, 50001, {clipRef:_global.tempName, initx:-650, inity:100, direction:1, xMove:4}); _root.fishNum = 2; _root.createFish2Flag = true; } if (!_root.createFish3Flag) { _global.tempName = "fish3"; this.attachMovie("fish03", _global.tempName, 50002, {clipRef:_global.tempName, initx:-650, inity:-200, direction:1, xMove:6}); _root.fishNum = 3; _root.createFish3Flag = true; } if (!_root.createFish4Flag) { _global.tempName = "fish4"; this.attachMovie("fish04", _global.tempName, 50003, {clipRef:_global.tempName, initx:650, inity:200, direction:-1, xMove:5}); _root.fishNum = 4; _root.createFish4Flag = true; } _root.targetHeroClip = _parent.hero_mc; _root.weedCounter = 0; _root.weedDepth = 65000; _root.enemyDepth = 85000 /* 0x014C08 */; _root.enemyArray = new Array(); _root.weedArray = new Array(); _root.myInterval1 = setInterval(this, "createWeed", 1100); _root.myInterval2 = setInterval(this, "createWeed2", 2300); _root.myInterval3 = setInterval(this, "createWeed3", 1600); _root.myInterval4 = setInterval(this, "createWeed4", 2900); _root.myInterval5 = setInterval(this, "createWeed5", 1900); _root.myInterval6 = setInterval(this, "createWeed6", 1700); _root.myInterval7 = setInterval(this, "createEnemy", 3100); _root.myInterval8 = setInterval(this, "createEnemy2", 4100); _root.myInterval9 = setInterval(this, "createEnemy3", 10100); _root.myInterval11 = setInterval(this, "createEnemy5", 12100); _root.myInterval21 = setInterval(this, "createEnemy6", 14100); _root.myInterval12 = setInterval(this, "createBonusPowerup", 6100); _root.myInterval13 = setInterval(this, "createFreezePowerup", 11400); _root.myInterval14 = setInterval(this, "createShieldPowerup", 8300);
Symbol 445 MovieClip Frame 2
heliObject = function () { this.objectRef = this; this.init(); }; heliObject.prototype = new MovieClip(); heliObject.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.bulletFlag = false; this.bulletLocation = _root.stageMC; this.targetEnemy = _root.targetHeroClip; this.xvel = this.xMove; this.gravity = 0.1; this.thrust = 1; this.distance = 0; this.life = 60; this.dieFlag = false; this.rotationAngle = 1; this.bulletCounter = 0; this.blastFlag = false; this.bulletHitFlag = false; this.yvel = -this.thrust; this.trackFlag = false; }; heliObject.prototype.yMovement = function () { this.clip._y = this.clip._y + this.yvel; this.yvel = this.yvel + this.gravity; if (this.yvel >= this.thrust) { this.gravity = 0.1; this.thrust = 1; this.yvel = -this.thrust; } }; heliObject.prototype.xMovement = function () { if (!this.trackFlag) { this.clip._x = this.clip._x - this.xvel; if (this.clip._x < -650) { this.clip._x = -650; this.reBounce(); } else if (this.clip._x > 1220) { this.clip._x = 1220; this.reBounce(); } } }; heliObject.prototype.getXDistance = function () { return(Math.abs(this.targetEnemy._x - this.clip._x)); }; heliObject.prototype.rotateObject = function () { this.clip._rotation = this.clip._rotation + this.rotationAngle; if (this.clip._rotation > 3) { this.rotationAngle = this.rotationAngle * -1; } else if (this.clip._rotation < -3) { this.rotationAngle = this.rotationAngle * -1; } }; heliObject.prototype.heliMove = function () { this.yMovement(); this.xMovement(); this.rotateObject(); }; heliObject.prototype.reBounce = function () { this.xvel = this.xvel * -1; this.clip._y = this.inity; this.clip._xscale = this.clip._xscale * -1; }; heliObject.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.heliMove(); } }; Object.registerClass("fish01", heliObject); Object.registerClass("fish02", heliObject); Object.registerClass("fish03", heliObject); Object.registerClass("fish04", heliObject); weedObject = function () { this.objectRef = this; this.init(); }; weedObject.prototype = new MovieClip(); weedObject.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.xvel = this.xMove; this.yvel = this.yMove; this.minx = -600; this.maxx = 600; this.miny = -500; this.maxy = 500; this.targetEnemy = _root.targetHeroClip; this.rotationAngle = 1; var randomNum = random(4); if (randomNum == 0) { this.clip.gotoAndStop(5); } else { this.clip.gotoAndStop(1 + random(3)); } this.checkDirection(); }; weedObject.prototype.yMovement = function () { this.clip._y = this.clip._y - this.yvel; if (this.clip._y < this.miny) { _root.createWeed1Flag = false; this.removeMovieClip(); } if (this.clip._y > this.maxy) { _root.createWeed1Flag = false; this.removeMovieClip(); } }; weedObject.prototype.xMovement = function () { this.clip._x = this.clip._x - this.xvel; if (this.clip._x < this.minx) { _root.createWeed1Flag = false; this.removeMovieClip(); } if (this.clip._x > this.maxx) { _root.createWeed1Flag = false; this.removeMovieClip(); } }; weedObject.prototype.checkCollision = function () { if (this.clip.head.hitTest(this.targetEnemy.head)) { if (!this.clip.poisonStatus) { _root.weedCounter = _root.weedCounter + 0.5; this.removeClip(); } else { if (_root.weedCounter > 2) { } else { _root.weedCounter = 0; } this.removeClip2(); } } }; weedObject.prototype.removeClip = function () { this.clip.gotoAndStop("die"); _root.createWeed1Flag = false; }; weedObject.prototype.removeClip2 = function () { this.clip.gotoAndStop("die2"); _root.createWeed1Flag = false; }; weedObject.prototype.trackUser = function () { if (!this.clip.poisonStatus) { var _local2 = {x:_xmouse, y:_ymouse}; this.clip._x = this.clip._x + ((_local2.x - this.clip._x) / 10); this.clip._y = this.clip._y + ((_local2.y - this.clip._y) / 10); } }; weedObject.prototype.checkDirection = function () { if (this.directiony == -1) { this.yvel = this.yvel * 1; } else if (this.directiony == 1) { this.yvel = this.yvel * -1; } if (this.directionx == -1) { this.xvel = this.xvel * 1; } else if (this.directionx == 1) { this.xvel = this.xvel * -1; } }; weedObject.prototype.weedMove = function () { if (!_root.trackUserStatus) { if (yvel != 0) { this.yMovement(); } if (xvel != 0) { this.xMovement(); } } else { this.trackUser(); } }; weedObject.prototype.onEnterFrame = function () { trace("move"); if (!_root.freezeStatus) { this.objectRef.weedMove(); } this.objectRef.checkCollision(); }; Object.registerClass("weed1", weedObject); Object.registerClass("weed2", weedObject); fishObject = function () { this.objectRef = this; this.init(); }; fishObject.prototype = new MovieClip(); fishObject.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.bulletFlag = false; this.bulletLocation = _root.stageMC; this.targetEnemy = _root.targetHeroClip; this.xvel = this.xMove; this.gravity = 0.1; this.thrust = 1; this.distance = 0; this.life = 60; this.maxx = 970; this.minx = -970; this.dieFlag = false; this.rotationAngle = 5; this.bulletCounter = 0; this.blastFlag = false; this.bulletHitFlag = false; this.yvel = -this.thrust; this.trackFlag = false; if (this.direction == 1) { this.clip._xscale = 100; } else if (this.direction == -1) { this.clip._xscale = -100; } }; fishObject.prototype.yMovement = function () { this.clip._y = this.clip._y + this.yvel; this.yvel = this.yvel + this.gravity; if (this.yvel >= this.thrust) { this.gravity = 0.1; this.thrust = 1; this.yvel = -this.thrust; } }; fishObject.prototype.changeTrack = function () { if (this.trackFlag) { this.trackFlag = false; } else { this.trackFlag = true; } }; fishObject.prototype.xMovement = function () { if (!this.trackFlag) { this.clip._x = this.clip._x - this.xvel; if (this.clip._x < this.minx) { this.clip._x = this.minx; this.reBounce(); } else if (this.clip._x > this.maxx) { this.clip._x = this.maxx; this.reBounce(); } } else { this.clip._x = this.clip._x + ((_xmouse - this.clip._x) / 15); this.clip._y = this.clip._y + ((_ymouse - this.clip._y) / 15); dist_x = _xmouse - this.clip._x; dist_y = _ymouse - this.clip._y; angle = Math.atan(dist_y / dist_x) / (Math.PI/180); this._rotation = angle; } }; fishObject.prototype.getXDistance = function () { return(Math.abs(this.targetEnemy._x - this.clip._x)); }; fishObject.prototype.rotateObject = function () { this.clip._rotation = this.clip._rotation + this.rotationAngle; if (this.clip._rotation > 30) { this.rotationAngle = this.rotationAngle * -1; } else if (this.clip._rotation < -30) { this.rotationAngle = this.rotationAngle * -1; } }; fishObject.prototype.checkCollision = function () { if ((this.clip.head.hitTest(this.targetEnemy.body) && (!_root.shieldStatus)) && (!_root.dieStatus)) { _root.heroBlood = _root.heroBlood - 20; this.targetEnemy.gotoAndStop("hit"); } }; fishObject.prototype.fishMove = function () { this.yMovement(); this.xMovement(); }; fishObject.prototype.reBounce = function () { this.xvel = this.xvel * -1; var _local2 = random(10); if ((_local2 == 0) || (_local2 == 1)) { this.trackFlag = false; this.clip._y = 20 + (random(480) * 1); } else if ((_local2 == 2) || (_local2 == 3)) { this.trackFlag = false; this.clip._y = 20 + (random(480) * -1); } else { this.trackFlag = false; this.clip._y = _ymouse; if (this.clip._y > 500) { this.clip._y = 450; } else if (this.clip._y < -500) { this.clip._y = -450; } } this.clip._xscale = this.clip._xscale * -1; }; fishObject.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.fishMove(); } this.objectRef.checkCollision(); }; fishObject4 = function () { this.objectRef = this; this.init(); }; fishObject4.prototype = new fishObject(); fishObject4.prototype.init = function () { super.init(); this.maxx = 1070; this.minx = -1070; }; fishObject4.prototype.checkCollision = function () { if (((this.clip.head.hitTest(this.targetEnemy.body) && (!_root.shieldStatus)) && (!_root.dieStatus)) && (!this.clip.animation)) { if (_root.heroLife > 0) { if (_root.heroBlood > 0) { _root.heroLife = _root.heroLife - 1; _root.heroBlood = 100; } else { _root.heroLife = _root.heroLife - 1; } } else { _root.heroBlood = 0; } this.clip.gotoAndPlay("grab"); this.clip.animation = true; } }; fishObject5 = function () { this.objectRef = this; this.init(); }; fishObject5.prototype = new fishObject(); fishObject5.prototype.init = function () { super.init(); this.maxx = 1170; this.minx = -1170; }; fishObject5.prototype.checkCollision = function () { if ((this.clip.head.hitTest(this.targetEnemy.body) && (!_root.shieldStatus)) && (!_root.dieStatus)) { _root.controller = 30; _root.maxSpeed = 10; this.targetEnemy.crazyClip.gotoAndStop(2); _root.pufferInterval = setInterval(this, "restore", 15000); } }; fishObject5.prototype.restore = function () { clearInterval(_root.pufferInterval); this.targetEnemy.crazyClip.gotoAndStop(1); _root.controller = 4; _root.maxSpeed = 2; }; Object.registerClass("enemy1", fishObject); Object.registerClass("enemy7", fishObject); Object.registerClass("enemy8", fishObject); Object.registerClass("enemy5", fishObject4); Object.registerClass("enemy6", fishObject5); fishObject2 = function () { this.objectRef = this; this.init(); }; fishObject2.prototype = new MovieClip(); fishObject2.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.bulletFlag = false; this.bulletLocation = _root.stageMC; this.targetEnemy = _root.targetHeroClip; this.yvel = this.yMove; this.gravity = 0.1; this.thrust = 1; this.distance = 0; this.life = 60; this.dieFlag = false; this.rotationAngle = 5; this.bulletCounter = 0; this.blastFlag = false; this.bulletHitFlag = false; this.xvel = -this.thrust; this.trackFlag = false; }; fishObject2.prototype.xMovement = function () { this.clip._x = this.clip._x + this.xvel; this.xvel = this.xvel + this.gravity; if (this.xvel >= this.thrust) { this.gravity = 0.1; this.thrust = 1; this.xvel = -this.thrust; } }; fishObject2.prototype.yMovement = function () { if (!this.trackFlag) { this.clip._y = this.clip._y - this.yvel; if (this.clip._y < -500) { this.clip.removeMovieClip(); } } }; fishObject2.prototype.getXDistance = function () { return(Math.abs(this.targetEnemy._x - this.clip._x)); }; fishObject2.prototype.rotateObject = function () { this.clip._rotation = this.clip._rotation + this.rotationAngle; if (this.clip._rotation > 30) { this.rotationAngle = this.rotationAngle * -1; } else if (this.clip._rotation < -30) { this.rotationAngle = this.rotationAngle * -1; } }; fishObject2.prototype.checkCollision = function () { if ((this.clip.head.hitTest(this.targetEnemy.body) && (!_root.shieldStatus)) && (!_root.dieStatus)) { _root.heroBlood = _root.heroBlood - 15; this.targetEnemy.gotoAndStop("hit"); } }; fishObject2.prototype.fishMove = function () { this.yMovement(); this.xMovement(); }; fishObject2.prototype.reBounce = function () { this.xvel = this.xvel * -1; this.clip._y = 50 + random(400); this.clip._xscale = this.clip._xscale * -1; }; fishObject2.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.fishMove(); } this.objectRef.checkCollision(); }; fishObject3 = function () { this.objectRef = this; this.init(); }; fishObject3.prototype = new fishObject2(); fishObject3.prototype.init = function () { super.init(); }; fishObject3.prototype.yMovement = function () { if (!this.trackFlag) { this.clip._y = this.clip._y + this.yvel; if (this.clip._y > 500) { this.clip.removeMovieClip(); } } }; Object.registerClass("enemy2", fishObject2); Object.registerClass("enemy4", fishObject3); powerupObject = function () { this.objectRef = this; this.init(); }; powerupObject.prototype = new fishObject2(); powerupObject.protoype.init = function () { super.init(); }; powerupObject.prototype.checkCollision = function () { if (this.clip.lclip.head.hitTest(this.targetEnemy.body)) { this.clip.lclip.gotoAndStop("die"); } }; powerupObject.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.fishMove(); } this.objectRef.checkCollision(); }; Object.registerClass("bonusPowerup", powerupObject); Object.registerClass("freezePowerup", powerupObject); Object.registerClass("shieldPowerup", powerupObject); Object.registerClass("trackPowerup", powerupObject); Object.registerClass("lifePowerup", powerupObject); function createWeed() { if (!_root.freezeStatus) { _global.tempName = "weed" + _root.weedDepth; _global.xVal = (1 + random(9)) * 60; var _local4 = this.attachMovie("weed1", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:500, directiony:-1, yMove:3, xMove:0}); _root.weedArray.push(_local4); _root.weedNum = 1; _root.weedDepth++; } } function createWeed2() { if (!_root.freezeStatus) { _global.tempName = "weed" + _root.weedDepth; _global.xVal = ((1 + random(9)) * 60) * -1; var _local4 = this.attachMovie("weed1", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:500, directiony:-1, yMove:3, xMove:0}); _root.weedArray.push(_local4); _root.weedNum = 1; _root.weedDepth++; } } function createWeed3() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * 1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:600, inity:_global.yVal, directionx:-1, xMove:2, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createWeed4() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * 1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:-600, inity:_global.yVal, directionx:1, xMove:3, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createWeed5() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * -1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:-600, inity:_global.yVal, directionx:1, xMove:3, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createWeed6() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * -1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:-600, inity:_global.yVal, directionx:1, xMove:3, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createEnemy() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = ((1 + random(9)) * 50) * 1; var _local4 = this.attachMovie("enemy8", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:-650, inity:_global.yVal, direction:1, xMove:-10}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval7); } function createEnemy2() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = ((1 + random(9)) * 50) * -1; var _local4 = this.attachMovie("enemy6", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:650, inity:_global.yVal, direction:-1, xMove:13}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval8); } function createEnemy3() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = (1 + random(9)) * 50; var _local4 = this.attachMovie("enemy7", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:-650, inity:_global.yVal, direction:1, xMove:-12}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval9); } function createEnemy4() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = (1 + random(9)) * 50; var _local4 = this.attachMovie("enemy5", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:-650, inity:_global.yVal, direction:1, xMove:-11}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval10); } function createEnemy5() { if (!_root.freezeStatus) { _global.tempName = "enemy" + _root.enemyDepth; _global.xVal = ((1 + random(8)) * 60) * 1; var _local4 = this.attachMovie("enemy2", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; } } function createEnemy6() { if (!_root.freezeStatus) { _global.tempName = "enemy" + _root.enemyDepth; _global.xVal = ((1 + random(8)) * 60) * 1; var _local4 = this.attachMovie("enemy4", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:-700, direction:1, yMove:7}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; } } function getxVal() { var _local1 = random(2); trace(_local1); if (_local1 == 0) { val = 50 + (random(500) * 1); } else { val = 50 + (random(500) * -1); } return(val); } function createBonusPowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("bonusPowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createLifePowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("lifePowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createFreezePowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("freezePowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createShieldPowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("shieldPowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createTrackPowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("trackPowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function setFreeze() { clearInterval(_root.myInterval13); _root.freezeStatus = true; _root.myInterval13_1 = setInterval(this, "resetFreezePowerup", 8000); } function resetFreezePowerup() { clearInterval(_root.myInterval13_1); _root.myInterval13 = setInterval(this, "createFreezePowerup", 11400); _root.freezeStatus = false; } function setShield() { clearInterval(_root.myInterval14); _parent.hero_mc.shieldClip.gotoAndStop(2); _root.shieldStatus = true; _root.myInterval14_1 = setInterval(this, "resetShieldPowerup", 10000); } function resetShieldPowerup() { _parent.hero_mc.shieldClip.gotoAndStop(1); clearInterval(_root.myInterval14_1); _root.myInterval14 = setInterval(this, "createShieldPowerup", 15300); _root.shieldStatus = false; } function setLife() { _root.heroLife = _root.heroLife + 1; } function setTrack() { clearInterval(_root.myInterval15); _root.trackUserStatus = true; _root.myInterval15_1 = setInterval(this, "resetTrackPowerup", 2000); } function resetTrackPowerup() { clearInterval(_root.myInterval15_1); _root.myInterval15 = setInterval(this, "createTrackPowerup", 14200); _root.trackUserStatus = false; } stop(); if (!_root.createFish1Flag) { _global.tempName = "fish1"; this.attachMovie("fish01", _global.tempName, 50000, {clipRef:_global.tempName, initx:650, inity:-100, direction:-1, xMove:6}); _root.fishNum = 1; _root.createFish1Flag = true; } if (!_root.createFish2Flag) { _global.tempName = "fish2"; this.attachMovie("fish02", _global.tempName, 50001, {clipRef:_global.tempName, initx:-650, inity:100, direction:1, xMove:4}); _root.fishNum = 2; _root.createFish2Flag = true; } if (!_root.createFish3Flag) { _global.tempName = "fish3"; this.attachMovie("fish03", _global.tempName, 50002, {clipRef:_global.tempName, initx:-650, inity:-200, direction:1, xMove:6}); _root.fishNum = 3; _root.createFish3Flag = true; } if (!_root.createFish4Flag) { _global.tempName = "fish4"; this.attachMovie("fish04", _global.tempName, 50003, {clipRef:_global.tempName, initx:650, inity:200, direction:-1, xMove:5}); _root.fishNum = 4; _root.createFish4Flag = true; } _root.targetHeroClip = _parent.hero_mc; _root.weedCounter = 0; _root.weedDepth = 65000; _root.enemyDepth = 85000 /* 0x014C08 */; _root.enemyArray = new Array(); _root.weedArray = new Array(); _root.myInterval1 = setInterval(this, "createWeed", 1100); _root.myInterval2 = setInterval(this, "createWeed2", 2300); _root.myInterval3 = setInterval(this, "createWeed3", 1600); _root.myInterval4 = setInterval(this, "createWeed4", 2900); _root.myInterval5 = setInterval(this, "createWeed5", 1900); _root.myInterval6 = setInterval(this, "createWeed6", 1700); _root.myInterval7 = setInterval(this, "createEnemy", 3100); _root.myInterval8 = setInterval(this, "createEnemy2", 4100); _root.myInterval9 = setInterval(this, "createEnemy3", 10100); _root.myInterval10 = setInterval(this, "createEnemy4", 11100); _root.myInterval11 = setInterval(this, "createEnemy5", 12100); _root.myInterval21 = setInterval(this, "createEnemy6", 14100); _root.myInterval12 = setInterval(this, "createBonusPowerup", 9100); _root.myInterval14 = setInterval(this, "createLifePowerup", 31300); _root.myInterval15 = setInterval(this, "createTrackPowerup", 14200);
Symbol 446 MovieClip Frame 2
heliObject = function () { this.objectRef = this; this.init(); }; heliObject.prototype = new MovieClip(); heliObject.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.bulletFlag = false; this.bulletLocation = _root.stageMC; this.targetEnemy = _root.targetHeroClip; this.xvel = this.xMove; this.gravity = 0.1; this.thrust = 1; this.distance = 0; this.life = 60; this.dieFlag = false; this.rotationAngle = 1; this.bulletCounter = 0; this.blastFlag = false; this.bulletHitFlag = false; this.yvel = -this.thrust; this.trackFlag = false; }; heliObject.prototype.yMovement = function () { this.clip._y = this.clip._y + this.yvel; this.yvel = this.yvel + this.gravity; if (this.yvel >= this.thrust) { this.gravity = 0.1; this.thrust = 1; this.yvel = -this.thrust; } }; heliObject.prototype.xMovement = function () { if (!this.trackFlag) { this.clip._x = this.clip._x - this.xvel; if (this.clip._x < -650) { this.clip._x = -650; this.reBounce(); } else if (this.clip._x > 1220) { this.clip._x = 1220; this.reBounce(); } } }; heliObject.prototype.getXDistance = function () { return(Math.abs(this.targetEnemy._x - this.clip._x)); }; heliObject.prototype.rotateObject = function () { this.clip._rotation = this.clip._rotation + this.rotationAngle; if (this.clip._rotation > 3) { this.rotationAngle = this.rotationAngle * -1; } else if (this.clip._rotation < -3) { this.rotationAngle = this.rotationAngle * -1; } }; heliObject.prototype.heliMove = function () { this.yMovement(); this.xMovement(); this.rotateObject(); }; heliObject.prototype.reBounce = function () { this.xvel = this.xvel * -1; this.clip._y = this.inity; this.clip._xscale = this.clip._xscale * -1; }; heliObject.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.heliMove(); } }; Object.registerClass("fish01", heliObject); Object.registerClass("fish02", heliObject); Object.registerClass("fish03", heliObject); Object.registerClass("fish04", heliObject); weedObject = function () { this.objectRef = this; this.init(); }; weedObject.prototype = new MovieClip(); weedObject.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.xvel = this.xMove; this.yvel = this.yMove; this.minx = -600; this.maxx = 600; this.miny = -500; this.maxy = 500; this.targetEnemy = _root.targetHeroClip; this.rotationAngle = 1; var randomNum = random(4); if (randomNum == 0) { this.clip.gotoAndStop(5); } else { this.clip.gotoAndStop(1 + random(3)); } this.checkDirection(); }; weedObject.prototype.yMovement = function () { this.clip._y = this.clip._y - this.yvel; if (this.clip._y < this.miny) { _root.createWeed1Flag = false; this.removeMovieClip(); } if (this.clip._y > this.maxy) { _root.createWeed1Flag = false; this.removeMovieClip(); } }; weedObject.prototype.xMovement = function () { this.clip._x = this.clip._x - this.xvel; if (this.clip._x < this.minx) { _root.createWeed1Flag = false; this.removeMovieClip(); } if (this.clip._x > this.maxx) { _root.createWeed1Flag = false; this.removeMovieClip(); } }; weedObject.prototype.checkCollision = function () { if (this.clip.head.hitTest(this.targetEnemy.head)) { if (!this.clip.poisonStatus) { _root.weedCounter = _root.weedCounter + 0.5; this.removeClip(); } else { if (_root.weedCounter > 2) { } else { _root.weedCounter = 0; } this.removeClip2(); } } }; weedObject.prototype.removeClip = function () { this.clip.gotoAndStop("die"); _root.createWeed1Flag = false; }; weedObject.prototype.removeClip2 = function () { this.clip.gotoAndStop("die2"); _root.createWeed1Flag = false; }; weedObject.prototype.trackUser = function () { if (!this.clip.poisonStatus) { var _local2 = {x:_xmouse, y:_ymouse}; this.clip._x = this.clip._x + ((_local2.x - this.clip._x) / 10); this.clip._y = this.clip._y + ((_local2.y - this.clip._y) / 10); } }; weedObject.prototype.checkDirection = function () { if (this.directiony == -1) { this.yvel = this.yvel * 1; } else if (this.directiony == 1) { this.yvel = this.yvel * -1; } if (this.directionx == -1) { this.xvel = this.xvel * 1; } else if (this.directionx == 1) { this.xvel = this.xvel * -1; } }; weedObject.prototype.weedMove = function () { if (!_root.trackUserStatus) { if (yvel != 0) { this.yMovement(); } if (xvel != 0) { this.xMovement(); } } else { this.trackUser(); } }; weedObject.prototype.onEnterFrame = function () { trace("move"); if (!_root.freezeStatus) { this.objectRef.weedMove(); } this.objectRef.checkCollision(); }; Object.registerClass("weed1", weedObject); Object.registerClass("weed2", weedObject); fishObject = function () { this.objectRef = this; this.init(); }; fishObject.prototype = new MovieClip(); fishObject.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.bulletFlag = false; this.bulletLocation = _root.stageMC; this.targetEnemy = _root.targetHeroClip; this.xvel = this.xMove; this.gravity = 0.1; this.thrust = 1; this.distance = 0; this.life = 60; this.maxx = 970; this.minx = -970; this.dieFlag = false; this.rotationAngle = 5; this.bulletCounter = 0; this.blastFlag = false; this.bulletHitFlag = false; this.yvel = -this.thrust; this.trackFlag = false; if (this.direction == 1) { this.clip._xscale = 100; } else if (this.direction == -1) { this.clip._xscale = -100; } }; fishObject.prototype.yMovement = function () { this.clip._y = this.clip._y + this.yvel; this.yvel = this.yvel + this.gravity; if (this.yvel >= this.thrust) { this.gravity = 0.1; this.thrust = 1; this.yvel = -this.thrust; } }; fishObject.prototype.changeTrack = function () { if (this.trackFlag) { this.trackFlag = false; } else { this.trackFlag = true; } }; fishObject.prototype.xMovement = function () { if (!this.trackFlag) { this.clip._x = this.clip._x - this.xvel; if (this.clip._x < this.minx) { this.clip._x = this.minx; this.reBounce(); } else if (this.clip._x > this.maxx) { this.clip._x = this.maxx; this.reBounce(); } } else { this.clip._x = this.clip._x + ((_xmouse - this.clip._x) / 15); this.clip._y = this.clip._y + ((_ymouse - this.clip._y) / 15); dist_x = _xmouse - this.clip._x; dist_y = _ymouse - this.clip._y; angle = Math.atan(dist_y / dist_x) / (Math.PI/180); this._rotation = angle; } }; fishObject.prototype.getXDistance = function () { return(Math.abs(this.targetEnemy._x - this.clip._x)); }; fishObject.prototype.rotateObject = function () { this.clip._rotation = this.clip._rotation + this.rotationAngle; if (this.clip._rotation > 30) { this.rotationAngle = this.rotationAngle * -1; } else if (this.clip._rotation < -30) { this.rotationAngle = this.rotationAngle * -1; } }; fishObject.prototype.checkCollision = function () { if ((this.clip.head.hitTest(this.targetEnemy.body) && (!_root.shieldStatus)) && (!_root.dieStatus)) { _root.heroBlood = _root.heroBlood - 20; this.targetEnemy.gotoAndStop("hit"); } }; fishObject.prototype.fishMove = function () { this.yMovement(); this.xMovement(); }; fishObject.prototype.reBounce = function () { this.xvel = this.xvel * -1; var _local2 = random(10); if ((_local2 == 0) || (_local2 == 1)) { this.trackFlag = false; this.clip._y = 20 + (random(480) * 1); } else if ((_local2 == 2) || (_local2 == 3)) { this.trackFlag = false; this.clip._y = 20 + (random(480) * -1); } else { this.trackFlag = false; this.clip._y = _ymouse; if (this.clip._y > 500) { this.clip._y = 450; } else if (this.clip._y < -500) { this.clip._y = -450; } } this.clip._xscale = this.clip._xscale * -1; }; fishObject.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.fishMove(); } this.objectRef.checkCollision(); }; fishObject4 = function () { this.objectRef = this; this.init(); }; fishObject4.prototype = new fishObject(); fishObject4.prototype.init = function () { super.init(); this.maxx = 870; this.minx = -870; }; fishObject4.prototype.checkCollision = function () { if (((this.clip.head.hitTest(this.targetEnemy.body) && (!_root.shieldStatus)) && (!_root.dieStatus)) && (!this.clip.animation)) { if (_root.heroLife > 0) { if (_root.heroBlood > 0) { _root.heroLife = _root.heroLife - 1; _root.heroBlood = 100; } else { _root.heroLife = _root.heroLife - 1; } } else { _root.heroBlood = 0; } this.clip.gotoAndPlay("grab"); this.clip.animation = true; } }; fishObject5 = function () { this.objectRef = this; this.init(); }; fishObject5.prototype = new fishObject(); fishObject5.prototype.init = function () { super.init(); this.maxx = 1170; this.minx = -1170; }; fishObject5.prototype.checkCollision = function () { if (((this.clip.head.hitTest(this.targetEnemy.body) && (!_root.shieldStatus)) && (!_root.dieStatus)) && (!_root.crazyStatus)) { _root.controller = 30; _root.maxSpeed = 10; this.targetEnemy.crazyClip.gotoAndStop(2); _root.crazyStatus = true; _root.pufferInterval = setInterval(this, "restore", 15000); } }; fishObject5.prototype.restore = function () { clearInterval(_root.pufferInterval); _root.crazyStatus = false; this.targetEnemy.crazyClip.gotoAndStop(1); _root.controller = 4; _root.maxSpeed = 2; }; Object.registerClass("enemy1", fishObject); Object.registerClass("enemy7", fishObject); Object.registerClass("enemy8", fishObject); Object.registerClass("enemy5", fishObject4); Object.registerClass("enemy6", fishObject5); fishObject2 = function () { this.objectRef = this; this.init(); }; fishObject2.prototype = new MovieClip(); fishObject2.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.bulletFlag = false; this.bulletLocation = _root.stageMC; this.targetEnemy = _root.targetHeroClip; this.yvel = this.yMove; this.gravity = 0.1; this.thrust = 1; this.distance = 0; this.life = 60; this.dieFlag = false; this.rotationAngle = 5; this.bulletCounter = 0; this.blastFlag = false; this.bulletHitFlag = false; this.xvel = -this.thrust; this.trackFlag = false; }; fishObject2.prototype.xMovement = function () { this.clip._x = this.clip._x + this.xvel; this.xvel = this.xvel + this.gravity; if (this.xvel >= this.thrust) { this.gravity = 0.1; this.thrust = 1; this.xvel = -this.thrust; } }; fishObject2.prototype.yMovement = function () { if (!this.trackFlag) { this.clip._y = this.clip._y - this.yvel; if (this.clip._y < -500) { this.clip.removeMovieClip(); } } }; fishObject2.prototype.getXDistance = function () { return(Math.abs(this.targetEnemy._x - this.clip._x)); }; fishObject2.prototype.rotateObject = function () { this.clip._rotation = this.clip._rotation + this.rotationAngle; if (this.clip._rotation > 30) { this.rotationAngle = this.rotationAngle * -1; } else if (this.clip._rotation < -30) { this.rotationAngle = this.rotationAngle * -1; } }; fishObject2.prototype.checkCollision = function () { if ((this.clip.head.hitTest(this.targetEnemy.body) && (!_root.shieldStatus)) && (!_root.dieStatus)) { _root.heroBlood = _root.heroBlood - 15; this.targetEnemy.gotoAndStop("hit"); } }; fishObject2.prototype.fishMove = function () { this.yMovement(); this.xMovement(); }; fishObject2.prototype.reBounce = function () { this.xvel = this.xvel * -1; this.clip._y = 50 + random(400); this.clip._xscale = this.clip._xscale * -1; }; fishObject2.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.fishMove(); } this.objectRef.checkCollision(); }; fishObject3 = function () { this.objectRef = this; this.init(); }; fishObject3.prototype = new fishObject2(); fishObject3.prototype.init = function () { super.init(); }; fishObject3.prototype.yMovement = function () { if (!this.trackFlag) { this.clip._y = this.clip._y + this.yvel; if (this.clip._y > 500) { this.clip.removeMovieClip(); } } }; Object.registerClass("enemy2", fishObject2); Object.registerClass("enemy4", fishObject3); powerupObject = function () { this.objectRef = this; this.init(); }; powerupObject.prototype = new fishObject2(); powerupObject.protoype.init = function () { super.init(); }; powerupObject.prototype.checkCollision = function () { if (this.clip.lclip.head.hitTest(this.targetEnemy.body)) { this.clip.lclip.gotoAndStop("die"); } }; powerupObject.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.fishMove(); } this.objectRef.checkCollision(); }; Object.registerClass("bonusPowerup", powerupObject); Object.registerClass("freezePowerup", powerupObject); Object.registerClass("shieldPowerup", powerupObject); Object.registerClass("trackPowerup", powerupObject); Object.registerClass("lifePowerup", powerupObject); function createWeed() { if (!_root.freezeStatus) { _global.tempName = "weed" + _root.weedDepth; _global.xVal = (1 + random(9)) * 60; var _local4 = this.attachMovie("weed1", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:500, directiony:-1, yMove:3, xMove:0}); _root.weedArray.push(_local4); _root.weedNum = 1; _root.weedDepth++; } } function createWeed2() { if (!_root.freezeStatus) { _global.tempName = "weed" + _root.weedDepth; _global.xVal = ((1 + random(9)) * 60) * -1; var _local4 = this.attachMovie("weed1", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:500, directiony:-1, yMove:3, xMove:0}); _root.weedArray.push(_local4); _root.weedNum = 1; _root.weedDepth++; } } function createWeed3() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * 1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:600, inity:_global.yVal, directionx:-1, xMove:2, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createWeed4() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * 1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:-600, inity:_global.yVal, directionx:1, xMove:3, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createWeed5() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * -1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:-600, inity:_global.yVal, directionx:1, xMove:3, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createWeed6() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * -1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:-600, inity:_global.yVal, directionx:1, xMove:3, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createEnemy() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = ((1 + random(9)) * 50) * 1; var _local4 = this.attachMovie("enemy5", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:-650, inity:_global.yVal, direction:1, xMove:-12}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval7); } function createEnemy2() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = ((1 + random(9)) * 50) * -1; var _local4 = this.attachMovie("enemy6", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:650, inity:_global.yVal, direction:-1, xMove:13}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval8); } function createEnemy3() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = (1 + random(9)) * 50; var _local4 = this.attachMovie("enemy7", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:-650, inity:_global.yVal, direction:1, xMove:-13}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval9); } function createEnemy4() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = (1 + random(9)) * 50; var _local4 = this.attachMovie("enemy5", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:-650, inity:_global.yVal, direction:1, xMove:-13}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval10); } function createEnemy5() { if (!_root.freezeStatus) { _global.tempName = "enemy" + _root.enemyDepth; _global.xVal = ((1 + random(8)) * 60) * 1; var _local4 = this.attachMovie("enemy2", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; } } function createEnemy6() { if (!_root.freezeStatus) { _global.tempName = "enemy" + _root.enemyDepth; _global.xVal = ((1 + random(8)) * 60) * 1; var _local4 = this.attachMovie("enemy4", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:-700, direction:1, yMove:7}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; } } function getxVal() { var _local1 = random(2); trace(_local1); if (_local1 == 0) { val = 50 + (random(500) * 1); } else { val = 50 + (random(500) * -1); } return(val); } function createBonusPowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("bonusPowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createLifePowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("lifePowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createFreezePowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("freezePowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createShieldPowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("shieldPowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createTrackPowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("trackPowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function setFreeze() { clearInterval(_root.myInterval13); _root.freezeStatus = true; _root.myInterval13_1 = setInterval(this, "resetFreezePowerup", 8000); } function resetFreezePowerup() { clearInterval(_root.myInterval13_1); _root.myInterval13 = setInterval(this, "createFreezePowerup", 11400); _root.freezeStatus = false; } function setShield() { clearInterval(_root.myInterval14); _parent.hero_mc.shieldClip.gotoAndStop(2); _root.shieldStatus = true; _root.myInterval14_1 = setInterval(this, "resetShieldPowerup", 10000); } function resetShieldPowerup() { _parent.hero_mc.shieldClip.gotoAndStop(1); clearInterval(_root.myInterval14_1); _root.myInterval14 = setInterval(this, "createShieldPowerup", 15300); _root.shieldStatus = false; } function setLife() { _root.heroLife = _root.heroLife + 1; } function setTrack() { clearInterval(_root.myInterval15); _root.trackUserStatus = true; _root.myInterval15_1 = setInterval(this, "resetTrackPowerup", 2000); } function resetTrackPowerup() { clearInterval(_root.myInterval15_1); _root.myInterval15 = setInterval(this, "createTrackPowerup", 14200); _root.trackUserStatus = false; } stop(); if (!_root.createFish1Flag) { _global.tempName = "fish1"; this.attachMovie("fish01", _global.tempName, 50000, {clipRef:_global.tempName, initx:650, inity:-100, direction:-1, xMove:6}); _root.fishNum = 1; _root.createFish1Flag = true; } if (!_root.createFish2Flag) { _global.tempName = "fish2"; this.attachMovie("fish02", _global.tempName, 50001, {clipRef:_global.tempName, initx:-650, inity:100, direction:1, xMove:4}); _root.fishNum = 2; _root.createFish2Flag = true; } if (!_root.createFish3Flag) { _global.tempName = "fish3"; this.attachMovie("fish03", _global.tempName, 50002, {clipRef:_global.tempName, initx:-650, inity:-200, direction:1, xMove:6}); _root.fishNum = 3; _root.createFish3Flag = true; } if (!_root.createFish4Flag) { _global.tempName = "fish4"; this.attachMovie("fish04", _global.tempName, 50003, {clipRef:_global.tempName, initx:650, inity:200, direction:-1, xMove:5}); _root.fishNum = 4; _root.createFish4Flag = true; } _root.targetHeroClip = _parent.hero_mc; _root.weedCounter = 0; _root.weedDepth = 65000; _root.enemyDepth = 85000 /* 0x014C08 */; _root.enemyArray = new Array(); _root.weedArray = new Array(); _root.myInterval1 = setInterval(this, "createWeed", 1100); _root.myInterval2 = setInterval(this, "createWeed2", 2300); _root.myInterval3 = setInterval(this, "createWeed3", 1600); _root.myInterval4 = setInterval(this, "createWeed4", 2900); _root.myInterval5 = setInterval(this, "createWeed5", 1900); _root.myInterval6 = setInterval(this, "createWeed6", 1700); _root.myInterval7 = setInterval(this, "createEnemy", 3100); _root.myInterval8 = setInterval(this, "createEnemy2", 4100); _root.myInterval9 = setInterval(this, "createEnemy3", 10100); _root.myInterval10 = setInterval(this, "createEnemy4", 11100); _root.myInterval11 = setInterval(this, "createEnemy5", 12100); _root.myInterval21 = setInterval(this, "createEnemy6", 14100); _root.myInterval12 = setInterval(this, "createBonusPowerup", 9100); _root.myInterval14 = setInterval(this, "createShieldPowerup", 8300); _root.myInterval15 = setInterval(this, "createTrackPowerup", 14200); _root.myInterval16 = setInterval(this, "createLifePowerup", 31300);
Symbol 447 MovieClip Frame 41
stop();
Symbol 451 MovieClip Frame 105
stop();
Symbol 452 MovieClip Frame 2
heliObject = function () { this.objectRef = this; this.init(); }; heliObject.prototype = new MovieClip(); heliObject.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.bulletFlag = false; this.bulletLocation = _root.stageMC; this.targetEnemy = _root.targetHeroClip; this.xvel = this.xMove; this.gravity = 0.1; this.thrust = 1; this.distance = 0; this.life = 60; this.dieFlag = false; this.rotationAngle = 1; this.bulletCounter = 0; this.blastFlag = false; this.bulletHitFlag = false; this.yvel = -this.thrust; this.trackFlag = false; }; heliObject.prototype.yMovement = function () { this.clip._y = this.clip._y + this.yvel; this.yvel = this.yvel + this.gravity; if (this.yvel >= this.thrust) { this.gravity = 0.1; this.thrust = 1; this.yvel = -this.thrust; } }; heliObject.prototype.xMovement = function () { if (!this.trackFlag) { this.clip._x = this.clip._x - this.xvel; if (this.clip._x < -650) { this.clip._x = -650; this.reBounce(); } else if (this.clip._x > 1220) { this.clip._x = 1220; this.reBounce(); } } }; heliObject.prototype.getXDistance = function () { return(Math.abs(this.targetEnemy._x - this.clip._x)); }; heliObject.prototype.rotateObject = function () { this.clip._rotation = this.clip._rotation + this.rotationAngle; if (this.clip._rotation > 3) { this.rotationAngle = this.rotationAngle * -1; } else if (this.clip._rotation < -3) { this.rotationAngle = this.rotationAngle * -1; } }; heliObject.prototype.heliMove = function () { this.yMovement(); this.xMovement(); this.rotateObject(); }; heliObject.prototype.reBounce = function () { this.xvel = this.xvel * -1; this.clip._y = this.inity; this.clip._xscale = this.clip._xscale * -1; }; heliObject.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.heliMove(); } }; Object.registerClass("fish01", heliObject); Object.registerClass("fish02", heliObject); Object.registerClass("fish03", heliObject); Object.registerClass("fish04", heliObject); weedObject = function () { this.objectRef = this; this.init(); }; weedObject.prototype = new MovieClip(); weedObject.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.xvel = this.xMove; this.yvel = this.yMove; this.minx = -600; this.maxx = 600; this.miny = -500; this.maxy = 500; this.targetEnemy = _root.targetHeroClip; this.rotationAngle = 1; var randomNum = random(4); if (randomNum == 0) { this.clip.gotoAndStop(5); } else { this.clip.gotoAndStop(1 + random(3)); } this.checkDirection(); }; weedObject.prototype.yMovement = function () { this.clip._y = this.clip._y - this.yvel; if (this.clip._y < this.miny) { _root.createWeed1Flag = false; this.removeMovieClip(); } if (this.clip._y > this.maxy) { _root.createWeed1Flag = false; this.removeMovieClip(); } }; weedObject.prototype.xMovement = function () { this.clip._x = this.clip._x - this.xvel; if (this.clip._x < this.minx) { _root.createWeed1Flag = false; this.removeMovieClip(); } if (this.clip._x > this.maxx) { _root.createWeed1Flag = false; this.removeMovieClip(); } }; weedObject.prototype.checkCollision = function () { if (this.clip.head.hitTest(this.targetEnemy.head)) { if (!this.clip.poisonStatus) { this.removeClip(); } else { if (_root.weedCounter > 2) { } else { _root.weedCounter = 0; } this.removeClip2(); } } }; weedObject.prototype.removeClip = function () { this.clip.gotoAndStop("die"); _root.createWeed1Flag = false; }; weedObject.prototype.removeClip2 = function () { this.clip.gotoAndStop("die2"); _root.createWeed1Flag = false; }; weedObject.prototype.trackUser = function () { if (!this.clip.poisonStatus) { var _local2 = {x:_xmouse, y:_ymouse}; this.clip._x = this.clip._x + ((_local2.x - this.clip._x) / 10); this.clip._y = this.clip._y + ((_local2.y - this.clip._y) / 10); } }; weedObject.prototype.checkDirection = function () { if (this.directiony == -1) { this.yvel = this.yvel * 1; } else if (this.directiony == 1) { this.yvel = this.yvel * -1; } if (this.directionx == -1) { this.xvel = this.xvel * 1; } else if (this.directionx == 1) { this.xvel = this.xvel * -1; } }; weedObject.prototype.weedMove = function () { if (!_root.trackUserStatus) { if (yvel != 0) { this.yMovement(); } if (xvel != 0) { this.xMovement(); } } else { this.trackUser(); } }; weedObject.prototype.onEnterFrame = function () { trace("move"); if (!_root.freezeStatus) { this.objectRef.weedMove(); } this.objectRef.checkCollision(); }; Object.registerClass("weed1", weedObject); Object.registerClass("weed2", weedObject); fishObject = function () { this.objectRef = this; this.init(); }; fishObject.prototype = new MovieClip(); fishObject.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.bulletFlag = false; this.bulletLocation = _root.stageMC; this.targetEnemy = _root.targetHeroClip; this.xvel = this.xMove; this.gravity = 0.1; this.thrust = 1; this.distance = 0; this.life = 60; this.maxx = 970; this.minx = -970; this.dieFlag = false; this.rotationAngle = 5; this.bulletCounter = 0; this.blastFlag = false; this.bulletHitFlag = false; this.yvel = -this.thrust; this.trackFlag = false; if (this.direction == 1) { this.clip._xscale = 100; } else if (this.direction == -1) { this.clip._xscale = -100; } }; fishObject.prototype.yMovement = function () { this.clip._y = this.clip._y + this.yvel; this.yvel = this.yvel + this.gravity; if (this.yvel >= this.thrust) { this.gravity = 0.1; this.thrust = 1; this.yvel = -this.thrust; } }; fishObject.prototype.changeTrack = function () { if (this.trackFlag) { this.trackFlag = false; } else { this.trackFlag = true; } }; fishObject.prototype.xMovement = function () { if (!this.trackFlag) { this.clip._x = this.clip._x - this.xvel; if (this.clip._x < this.minx) { this.clip._x = this.minx; this.reBounce(); } else if (this.clip._x > this.maxx) { this.clip._x = this.maxx; this.reBounce(); } } else { this.clip._x = this.clip._x + ((_xmouse - this.clip._x) / 15); this.clip._y = this.clip._y + ((_ymouse - this.clip._y) / 15); dist_x = _xmouse - this.clip._x; dist_y = _ymouse - this.clip._y; angle = Math.atan(dist_y / dist_x) / (Math.PI/180); this._rotation = angle; } }; fishObject.prototype.getXDistance = function () { return(Math.abs(this.targetEnemy._x - this.clip._x)); }; fishObject.prototype.rotateObject = function () { this.clip._rotation = this.clip._rotation + this.rotationAngle; if (this.clip._rotation > 30) { this.rotationAngle = this.rotationAngle * -1; } else if (this.clip._rotation < -30) { this.rotationAngle = this.rotationAngle * -1; } }; fishObject.prototype.checkCollision = function () { if ((this.clip.head.hitTest(this.targetEnemy.body) && (!_root.shieldStatus)) && (!_root.dieStatus)) { _root.heroBlood = _root.heroBlood - 20; this.targetEnemy.gotoAndStop("hit"); } }; fishObject.prototype.fishMove = function () { this.yMovement(); this.xMovement(); }; fishObject.prototype.reBounce = function () { this.xvel = this.xvel * -1; var _local2 = random(10); if ((_local2 == 0) || (_local2 == 1)) { this.trackFlag = false; this.clip._y = 20 + (random(480) * 1); } else if ((_local2 == 2) || (_local2 == 3)) { this.trackFlag = false; this.clip._y = 20 + (random(480) * -1); } else { this.trackFlag = false; this.clip._y = _ymouse; if (this.clip._y > 500) { this.clip._y = 450; } else if (this.clip._y < -500) { this.clip._y = -450; } } this.clip._xscale = this.clip._xscale * -1; }; fishObject.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.fishMove(); } this.objectRef.checkCollision(); }; fishObject4 = function () { this.objectRef = this; this.init(); }; fishObject4.prototype = new fishObject(); fishObject4.prototype.init = function () { super.init(); this.maxx = 870; this.minx = -870; }; fishObject4.prototype.checkCollision = function () { if (((this.clip.head.hitTest(this.targetEnemy.body) && (!_root.shieldStatus)) && (!_root.dieStatus)) && (!this.clip.animation)) { if (_root.heroLife > 0) { if (_root.heroBlood > 0) { _root.heroLife = _root.heroLife - 1; _root.heroBlood = 100; } else { _root.heroLife = _root.heroLife - 1; } } else { _root.heroBlood = 0; } this.clip.gotoAndPlay("grab"); this.clip.animation = true; } }; fishObject5 = function () { this.objectRef = this; this.init(); }; fishObject5.prototype = new fishObject(); fishObject5.prototype.init = function () { super.init(); this.maxx = 1170; this.minx = -1170; }; fishObject5.prototype.checkCollision = function () { if (((this.clip.head.hitTest(this.targetEnemy.body) && (!_root.shieldStatus)) && (!_root.dieStatus)) && (!_root.crazyStatus)) { _root.controller = 30; _root.maxSpeed = 10; this.targetEnemy.crazyClip.gotoAndStop(2); _root.crazyStatus = true; _root.pufferInterval = setInterval(this, "restore", 15000); } }; fishObject5.prototype.restore = function () { clearInterval(_root.pufferInterval); _root.crazyStatus = false; this.targetEnemy.crazyClip.gotoAndStop(1); _root.controller = 4; _root.maxSpeed = 2; }; Object.registerClass("enemy1", fishObject); Object.registerClass("enemy7", fishObject); Object.registerClass("enemy8", fishObject); Object.registerClass("enemy5", fishObject4); Object.registerClass("enemy6", fishObject5); fishObject2 = function () { this.objectRef = this; this.init(); }; fishObject2.prototype = new MovieClip(); fishObject2.prototype.init = function () { this.clip = eval (this.clipRef); this.clip._x = this.initx; this.clip._y = this.inity; this.bulletFlag = false; this.bulletLocation = _root.stageMC; this.targetEnemy = _root.targetHeroClip; this.yvel = this.yMove; this.gravity = 0.1; this.thrust = 1; this.distance = 0; this.life = 60; this.dieFlag = false; this.rotationAngle = 5; this.bulletCounter = 0; this.blastFlag = false; this.bulletHitFlag = false; this.xvel = -this.thrust; this.trackFlag = false; }; fishObject2.prototype.xMovement = function () { this.clip._x = this.clip._x + this.xvel; this.xvel = this.xvel + this.gravity; if (this.xvel >= this.thrust) { this.gravity = 0.1; this.thrust = 1; this.xvel = -this.thrust; } }; fishObject2.prototype.yMovement = function () { if (!this.trackFlag) { this.clip._y = this.clip._y - this.yvel; if (this.clip._y < -500) { this.clip.removeMovieClip(); } } }; fishObject2.prototype.getXDistance = function () { return(Math.abs(this.targetEnemy._x - this.clip._x)); }; fishObject2.prototype.rotateObject = function () { this.clip._rotation = this.clip._rotation + this.rotationAngle; if (this.clip._rotation > 30) { this.rotationAngle = this.rotationAngle * -1; } else if (this.clip._rotation < -30) { this.rotationAngle = this.rotationAngle * -1; } }; fishObject2.prototype.checkCollision = function () { if ((this.clip.head.hitTest(this.targetEnemy.body) && (!_root.shieldStatus)) && (!_root.dieStatus)) { _root.heroBlood = _root.heroBlood - 15; this.targetEnemy.gotoAndStop("hit"); } }; fishObject2.prototype.fishMove = function () { this.yMovement(); this.xMovement(); }; fishObject2.prototype.reBounce = function () { this.xvel = this.xvel * -1; this.clip._y = 50 + random(400); this.clip._xscale = this.clip._xscale * -1; }; fishObject2.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.fishMove(); } this.objectRef.checkCollision(); }; fishObject3 = function () { this.objectRef = this; this.init(); }; fishObject3.prototype = new fishObject2(); fishObject3.prototype.init = function () { super.init(); }; fishObject3.prototype.yMovement = function () { if (!this.trackFlag) { this.clip._y = this.clip._y + this.yvel; if (this.clip._y > 500) { this.clip.removeMovieClip(); } } }; Object.registerClass("enemy2", fishObject2); Object.registerClass("enemy4", fishObject3); powerupObject = function () { this.objectRef = this; this.init(); }; powerupObject.prototype = new fishObject2(); powerupObject.protoype.init = function () { super.init(); }; powerupObject.prototype.checkCollision = function () { if (this.clip.lclip.head.hitTest(this.targetEnemy.body)) { this.clip.lclip.gotoAndStop("die"); } }; powerupObject.prototype.onEnterFrame = function () { if (!_root.freezeStatus) { this.objectRef.fishMove(); } this.objectRef.checkCollision(); }; Object.registerClass("bonusPowerup", powerupObject); Object.registerClass("freezePowerup", powerupObject); Object.registerClass("shieldPowerup", powerupObject); Object.registerClass("trackPowerup", powerupObject); Object.registerClass("lifePowerup", powerupObject); function createWeed() { if (!_root.freezeStatus) { _global.tempName = "weed" + _root.weedDepth; _global.xVal = (1 + random(9)) * 60; var _local4 = this.attachMovie("weed1", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:500, directiony:-1, yMove:3, xMove:0}); _root.weedArray.push(_local4); _root.weedNum = 1; _root.weedDepth++; } } function createWeed2() { if (!_root.freezeStatus) { _global.tempName = "weed" + _root.weedDepth; _global.xVal = ((1 + random(9)) * 60) * -1; var _local4 = this.attachMovie("weed1", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:500, directiony:-1, yMove:3, xMove:0}); _root.weedArray.push(_local4); _root.weedNum = 1; _root.weedDepth++; } } function createWeed3() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * 1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:600, inity:_global.yVal, directionx:-1, xMove:2, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createWeed4() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * 1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:-600, inity:_global.yVal, directionx:1, xMove:3, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createWeed5() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * -1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:-600, inity:_global.yVal, directionx:1, xMove:3, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createWeed6() { if (!_root.freezeStatus) { _global.tempName = "weed2_" + _root.weedDepth; _global.yVal = ((1 + random(8)) * 50) * -1; var _local4 = this.attachMovie("weed2", _global.tempName, _root.weedDepth, {clipRef:_global.tempName, initx:-600, inity:_global.yVal, directionx:1, xMove:3, yMove:0}); _root.weedArray.push(_local4); _root.weedNum = 2; _root.weedDepth++; } } function createEnemy() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = ((1 + random(9)) * 50) * 1; var _local4 = this.attachMovie("enemy5", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:-650, inity:_global.yVal, direction:1, xMove:-12}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval7); } function createEnemy2() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = ((1 + random(9)) * 50) * -1; var _local4 = this.attachMovie("enemy6", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:650, inity:_global.yVal, direction:-1, xMove:13}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval8); } function createEnemy3() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = (1 + random(9)) * 50; var _local4 = this.attachMovie("enemy7", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:-650, inity:_global.yVal, direction:1, xMove:-13}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval9); } function createEnemy4() { _global.tempName = "enemy" + _root.enemyDepth; _global.yVal = (1 + random(9)) * 50; var _local4 = this.attachMovie("enemy5", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:-650, inity:_global.yVal, direction:1, xMove:-13}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; clearInterval(_root.myInterval10); } function createEnemy5() { if (!_root.freezeStatus) { _global.tempName = "enemy" + _root.enemyDepth; _global.xVal = ((1 + random(8)) * 60) * 1; var _local4 = this.attachMovie("enemy2", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; } } function createEnemy6() { if (!_root.freezeStatus) { _global.tempName = "enemy" + _root.enemyDepth; _global.xVal = ((1 + random(8)) * 60) * 1; var _local4 = this.attachMovie("enemy4", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:-700, direction:1, yMove:7}); _root.enemyArray.push(_local4); _root.enemyNum = 1; _root.enemyDepth++; } } function getxVal() { var _local1 = random(2); trace(_local1); if (_local1 == 0) { val = 50 + (random(500) * 1); } else { val = 50 + (random(500) * -1); } return(val); } function createBonusPowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("bonusPowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createLifePowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("lifePowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createFreezePowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("freezePowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createShieldPowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("shieldPowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function createTrackPowerup() { if (!_root.freezeStatus) { _global.tempName = "powerup" + _root.enemyDepth; _global.xVal = getxVal(); this.attachMovie("trackPowerup", _global.tempName, _root.enemyDepth, {clipRef:_global.tempName, initx:_global.xVal, inity:700, direction:-1, yMove:6}); _root.enemyDepth++; } } function setFreeze() { clearInterval(_root.myInterval13); _root.freezeStatus = true; _root.myInterval13_1 = setInterval(this, "resetFreezePowerup", 8000); } function resetFreezePowerup() { clearInterval(_root.myInterval13_1); _root.myInterval13 = setInterval(this, "createFreezePowerup", 11400); _root.freezeStatus = false; } function setShield() { clearInterval(_root.myInterval14); _parent.hero_mc.shieldClip.gotoAndStop(2); _root.shieldStatus = true; _root.myInterval14_1 = setInterval(this, "resetShieldPowerup", 10000); } function resetShieldPowerup() { _parent.hero_mc.shieldClip.gotoAndStop(1); clearInterval(_root.myInterval14_1); _root.myInterval14 = setInterval(this, "createShieldPowerup", 15300); _root.shieldStatus = false; } function setLife() { _root.heroLife = _root.heroLife + 1; } function setTrack() { clearInterval(_root.myInterval15); _root.trackUserStatus = true; _root.myInterval15_1 = setInterval(this, "resetTrackPowerup", 2000); } function resetTrackPowerup() { clearInterval(_root.myInterval15_1); _root.myInterval15 = setInterval(this, "createTrackPowerup", 14200); _root.trackUserStatus = false; } stop(); if (!_root.createFish1Flag) { _global.tempName = "fish1"; this.attachMovie("fish01", _global.tempName, 50000, {clipRef:_global.tempName, initx:650, inity:-100, direction:-1, xMove:6}); _root.fishNum = 1; _root.createFish1Flag = true; } if (!_root.createFish2Flag) { _global.tempName = "fish2"; this.attachMovie("fish02", _global.tempName, 50001, {clipRef:_global.tempName, initx:-650, inity:100, direction:1, xMove:4}); _root.fishNum = 2; _root.createFish2Flag = true; } if (!_root.createFish3Flag) { _global.tempName = "fish3"; this.attachMovie("fish03", _global.tempName, 50002, {clipRef:_global.tempName, initx:-650, inity:-200, direction:1, xMove:6}); _root.fishNum = 3; _root.createFish3Flag = true; } if (!_root.createFish4Flag) { _global.tempName = "fish4"; this.attachMovie("fish04", _global.tempName, 50003, {clipRef:_global.tempName, initx:650, inity:200, direction:-1, xMove:5}); _root.fishNum = 4; _root.createFish4Flag = true; } _root.targetHeroClip = _parent.hero_mc; _root.weedCounter = 0; _root.weedDepth = 65000; _root.enemyDepth = 85000 /* 0x014C08 */; _root.enemyArray = new Array(); _root.weedArray = new Array(); _root.myInterval1 = setInterval(this, "createWeed", 1100); _root.myInterval2 = setInterval(this, "createWeed2", 2300); _root.myInterval3 = setInterval(this, "createWeed3", 1600); _root.myInterval4 = setInterval(this, "createWeed4", 2900); _root.myInterval5 = setInterval(this, "createWeed5", 1900); _root.myInterval6 = setInterval(this, "createWeed6", 1700); _root.myInterval7 = setInterval(this, "createEnemy", 3100); _root.myInterval8 = setInterval(this, "createEnemy2", 4100); _root.myInterval9 = setInterval(this, "createEnemy3", 10100); _root.myInterval10 = setInterval(this, "createEnemy4", 11100); _root.myInterval11 = setInterval(this, "createEnemy5", 12100); _root.myInterval21 = setInterval(this, "createEnemy6", 14100); _root.myInterval12 = setInterval(this, "createBonusPowerup", 9100); _root.myInterval14 = setInterval(this, "createShieldPowerup", 8300); _root.myInterval15 = setInterval(this, "createTrackPowerup", 14200); _root.myInterval16 = setInterval(this, "createLifePowerup", 31300);
Symbol 453 MovieClip Frame 1
function checkWeedCollected() { if (_root.weedClip._xscale < 100) { _root.weedClip._xscale = _root.weedCounter; } else { nextLevel(); } } function nextLevel() { i = 1; while (i < 25) { intervalNum = _root["myInterval" + i]; clearInterval(intervalNum); i++; } clearInterval(_root.myInterval13_1); clearInterval(_root.myInterval14_1); clearInterval(_root.myInterval15_1); i = 0; while (i <= _root.enemyArray.length) { _root.enemyArray[i].removeMovieClip(); i++; } i = 0; while (i <= _root.weedArray.length) { _root.weedArray[i].removeMovieClip(); i++; } _root.level = 2; gotoAndPlay ("levelup"); this.onEnterFrame = null; } function checkLifeRemaining() { if (_root.heroLife >= 1) { if (_root.lifeClip._xscale > 0) { _root.lifeClip._xscale = _root.heroBlood; } else { _root.heroLife = _root.heroLife - 1; _root.lifeClip._xscale = 100; _root.heroBlood = 100; return(undefined); } _root.lifeNum.text = _root.heroLife; } else { _root.lifeClip._xscale = 0; _root.heroBlood = 0; if (_root.lifeClip._xscale <= 0) { _root.lifeNum.text = 0; Mouse.show(); _root.gotoAndStop("end"); } } } function moveHero() { hero_mc._x = hero_mc._x + ((_xmouse - hero_mc._x) / _root.controller); hero_mc._y = hero_mc._y + ((_ymouse - hero_mc._y) / _root.controller); dist_x = hero_mc._x - 300; dist_y = hero_mc._y - 250; angledist = hero_mc._x - _xmouse; trace("angledist =" + angledist); angle = Math.atan(dist_y / dist_x) / (Math.PI/180); if (hero_mc._x < 30) { hero_mc._x = 30; } else if (hero_mc._x > 570) { hero_mc._x = 570; } if (hero_mc._y < 70) { hero_mc._y = 70; } else if (hero_mc._y > 450) { hero_mc._y = 450; } if (dist_x < 0) { hero_mc._xscale = -100; moveStatus = -1; } else if (dist_x > 0) { hero_mc._xscale = 100; moveStatus = 1; } hero_mc._rotation = angle; if (moveStatus == 1) { if (angle < 10) { hero_mc._rotation = 10; } } if (moveStatus == -1) { if (angle > -10) { hero_mc._rotation = -10; } } } function moveBG() { if (hero_mc._x > 300) { moveBGLeft(); } else { moveBGRight(); } if (hero_mc._y > 250) { moveBGUp(); } else { moveBGDown(); } } function moveBGLeft() { speed = Math.ceil(Math.abs(300 - hero_mc._x) / 100) * _root.maxSpeed; map._x = map._x - speed; if (map._x < 0) { map._x = 0; } } function moveBGUp() { speed = Math.ceil(Math.abs(250 - hero_mc._y) / 100) * _root.maxSpeed; map._y = map._y - speed; if (map._y < 0) { map._y = 0; } } function moveBGDown() { speed = Math.ceil(Math.abs(250 - hero_mc._y) / 100) * _root.maxSpeed; map._y = map._y + speed; if (map._y > 500) { map._y = 500; } } function moveBGRight() { speed = Math.ceil(Math.abs(300 - hero_mc._x) / 100) * _root.maxSpeed; map._x = map._x + speed; if (map._x > 600) { map._x = 600; } } function checkEnd() { _root.dieStatus = true; hero_mc._rotation = 0; hero_mc.crazyClip.gotoAndStop(1); _root.trackUserStatus = false; _root.freezeStatus = false; _root.shieldStatus = false; _root.crazyStatus = false; _root.map.resetShieldPowerup(); _root.map.resetFreezePowerup(); _root.map.resetTrackPowerup(); clearInterval(_root.pufferInterval); _root.controller = 4; _root.maxSpeed = 2; checkLifeRemaining(); } Mouse.hide(); _root.maxSpeed = 2; _root.weedClip._xscale = 0; _root.lifeClip._xscale = 100; _root.heroBlood = 100; _root.heroLife = 5; _root.score = 0; _root.weedCounter = 0; _root.controller = 4; _root.level = 1; _root.trackUserStatus = false; _root.freezeStatus = false; _root.shieldStatus = false; _global.gameBGSound.stop(); _global.gameBGSound = null; delete _root.gameBGSound; delete _global.soundFile; _global.soundFile = _root.createEmptyMovieClip("soundFile", 1000); _global.gameBGSound = new Sound(_global.soundFile); _global.gameBGSound.attachSound("introSound"); _global.gameBGSound.start(0, 50000); _global.gameBGSound.setVolume(80); this.onEnterFrame = function () { if (!_root.dieStatus) { moveHero(); moveBG(); checkWeedCollected(); checkLifeRemaining(); _root.scoreNum.text = _root.score; _root.levelNum.text = _root.level; } }; stop();
Symbol 453 MovieClip Frame 4
stop(); Mouse.show(); _global.gameBGSound.stop(); _global.gameBGSound = null; delete _root.gameBGSound; delete _global.soundFile;
Symbol 453 MovieClip Frame 5
function checkWeedCollected() { if (_root.weedClip._xscale < 100) { _root.weedClip._xscale = _root.weedCounter; } else { nextLevel(); } } function nextLevel() { i = 1; while (i < 25) { intervalNum = _root["myInterval" + i]; clearInterval(intervalNum); i++; } clearInterval(_root.myInterval13_1); clearInterval(_root.myInterval14_1); clearInterval(_root.myInterval15_1); i = 0; while (i <= _root.enemyArray.length) { _root.enemyArray[i].removeMovieClip(); i++; } i = 0; while (i <= _root.weedArray.length) { _root.weedArray[i].removeMovieClip(); i++; } _root.level = 3; gotoAndPlay ("levelup"); this.onEnterFrame = null; } function checkLifeRemaining() { if (_root.heroLife >= 1) { if (_root.lifeClip._xscale > 0) { _root.lifeClip._xscale = _root.heroBlood; } else { _root.heroLife = _root.heroLife - 1; _root.lifeClip._xscale = 100; _root.heroBlood = 100; return(undefined); } _root.lifeNum.text = _root.heroLife; } else { _root.lifeClip._xscale = 0; _root.heroBlood = 0; if (_root.lifeClip._xscale <= 0) { _root.lifeNum.text = 0; Mouse.show(); _root.gotoAndStop("end"); } } } function moveHero() { hero_mc._x = hero_mc._x + ((_xmouse - hero_mc._x) / _root.controller); hero_mc._y = hero_mc._y + ((_ymouse - hero_mc._y) / _root.controller); dist_x = hero_mc._x - 300; dist_y = hero_mc._y - 250; angledist = hero_mc._x - _xmouse; trace("angledist =" + angledist); angle = Math.atan(dist_y / dist_x) / (Math.PI/180); if (hero_mc._x < 30) { hero_mc._x = 30; } else if (hero_mc._x > 570) { hero_mc._x = 570; } if (hero_mc._y < 70) { hero_mc._y = 70; } else if (hero_mc._y > 450) { hero_mc._y = 450; } if (dist_x < 0) { hero_mc._xscale = -100; moveStatus = -1; } else if (dist_x > 0) { hero_mc._xscale = 100; moveStatus = 1; } hero_mc._rotation = angle; if (moveStatus == 1) { if (angle < 10) { hero_mc._rotation = 10; } } if (moveStatus == -1) { if (angle > -10) { hero_mc._rotation = -10; } } } function moveBG() { if (hero_mc._x > 300) { moveBGLeft(); } else { moveBGRight(); } if (hero_mc._y > 250) { moveBGUp(); } else { moveBGDown(); } } function moveBGLeft() { speed = Math.ceil(Math.abs(300 - hero_mc._x) / 100) * _root.maxSpeed; map._x = map._x - speed; if (map._x < 0) { map._x = 0; } } function moveBGUp() { speed = Math.ceil(Math.abs(250 - hero_mc._y) / 100) * _root.maxSpeed; map._y = map._y - speed; if (map._y < 0) { map._y = 0; } } function moveBGDown() { speed = Math.ceil(Math.abs(250 - hero_mc._y) / 100) * _root.maxSpeed; map._y = map._y + speed; if (map._y > 500) { map._y = 500; } } function moveBGRight() { speed = Math.ceil(Math.abs(300 - hero_mc._x) / 100) * _root.maxSpeed; map._x = map._x + speed; if (map._x > 600) { map._x = 600; } } function checkEnd() { _root.dieStatus = true; hero_mc._rotation = 0; hero_mc.crazyClip.gotoAndStop(1); _root.trackUserStatus = false; _root.freezeStatus = false; _root.shieldStatus = false; _root.crazyStatus = false; _root.map.resetShieldPowerup(); _root.map.resetFreezePowerup(); _root.map.resetTrackPowerup(); clearInterval(_root.pufferInterval); _root.controller = 4; _root.maxSpeed = 2; checkLifeRemaining(); } Mouse.hide(); _root.maxSpeed = 2; _root.weedClip._xscale = 0; _root.weedCounter = 0; _root.controller = 4; _root.level = 2; _root.trackUserStatus = false; _root.freezeStatus = false; _root.shieldStatus = false; _global.gameBGSound.stop(); _global.gameBGSound = null; delete _root.gameBGSound; delete _global.soundFile; _global.soundFile = _root.createEmptyMovieClip("soundFile", 1000); _global.gameBGSound = new Sound(_global.soundFile); _global.gameBGSound.attachSound("introSound"); _global.gameBGSound.start(0, 50000); _global.gameBGSound.setVolume(80); this.onEnterFrame = function () { if (!_root.dieStatus) { moveHero(); moveBG(); checkWeedCollected(); checkLifeRemaining(); _root.scoreNum.text = _root.score; _root.levelNum.text = _root.level; } }; stop();
Symbol 453 MovieClip Frame 7
function checkWeedCollected() { if (_root.weedClip._xscale < 100) { _root.weedClip._xscale = _root.weedCounter; } else { nextLevel(); } } function nextLevel() { i = 1; while (i < 25) { intervalNum = _root["myInterval" + i]; clearInterval(intervalNum); i++; } clearInterval(_root.myInterval13_1); clearInterval(_root.myInterval14_1); clearInterval(_root.myInterval15_1); i = 0; while (i <= _root.enemyArray.length) { _root.enemyArray[i].removeMovieClip(); i++; } i = 0; while (i <= _root.weedArray.length) { _root.weedArray[i].removeMovieClip(); i++; } _root.level = 4; gotoAndPlay ("levelup"); this.onEnterFrame = null; } function checkLifeRemaining() { if (_root.heroLife >= 1) { if (_root.lifeClip._xscale > 0) { _root.lifeClip._xscale = _root.heroBlood; } else { _root.heroLife = _root.heroLife - 1; _root.lifeClip._xscale = 100; _root.heroBlood = 100; return(undefined); } _root.lifeNum.text = _root.heroLife; } else { _root.lifeClip._xscale = 0; _root.heroBlood = 0; if (_root.lifeClip._xscale <= 0) { _root.lifeNum.text = 0; Mouse.show(); _root.gotoAndStop("end"); } } } function moveHero() { hero_mc._x = hero_mc._x + ((_xmouse - hero_mc._x) / _root.controller); hero_mc._y = hero_mc._y + ((_ymouse - hero_mc._y) / _root.controller); dist_x = hero_mc._x - 300; dist_y = hero_mc._y - 250; angledist = hero_mc._x - _xmouse; trace("angledist =" + angledist); angle = Math.atan(dist_y / dist_x) / (Math.PI/180); if (hero_mc._x < 30) { hero_mc._x = 30; } else if (hero_mc._x > 570) { hero_mc._x = 570; } if (hero_mc._y < 70) { hero_mc._y = 70; } else if (hero_mc._y > 450) { hero_mc._y = 450; } if (dist_x < 0) { hero_mc._xscale = -100; moveStatus = -1; } else if (dist_x > 0) { hero_mc._xscale = 100; moveStatus = 1; } hero_mc._rotation = angle; if (moveStatus == 1) { if (angle < 10) { hero_mc._rotation = 10; } } if (moveStatus == -1) { if (angle > -10) { hero_mc._rotation = -10; } } } function moveBG() { if (hero_mc._x > 300) { moveBGLeft(); } else { moveBGRight(); } if (hero_mc._y > 250) { moveBGUp(); } else { moveBGDown(); } } function moveBGLeft() { speed = Math.ceil(Math.abs(300 - hero_mc._x) / 100) * _root.maxSpeed; map._x = map._x - speed; if (map._x < 0) { map._x = 0; } } function moveBGUp() { speed = Math.ceil(Math.abs(250 - hero_mc._y) / 100) * _root.maxSpeed; map._y = map._y - speed; if (map._y < 0) { map._y = 0; } } function moveBGDown() { speed = Math.ceil(Math.abs(250 - hero_mc._y) / 100) * _root.maxSpeed; map._y = map._y + speed; if (map._y > 500) { map._y = 500; } } function moveBGRight() { speed = Math.ceil(Math.abs(300 - hero_mc._x) / 100) * _root.maxSpeed; map._x = map._x + speed; if (map._x > 600) { map._x = 600; } } function checkEnd() { _root.dieStatus = true; hero_mc._rotation = 0; hero_mc.crazyClip.gotoAndStop(1); _root.trackUserStatus = false; _root.freezeStatus = false; _root.shieldStatus = false; _root.crazyStatus = false; _root.map.resetShieldPowerup(); _root.map.resetFreezePowerup(); _root.map.resetTrackPowerup(); clearInterval(_root.pufferInterval); _root.controller = 4; _root.maxSpeed = 2; checkLifeRemaining(); } Mouse.hide(); _root.maxSpeed = 2; _root.weedClip._xscale = 0; _root.weedCounter = 0; _root.controller = 4; _root.level = 3; _root.trackUserStatus = false; _root.freezeStatus = false; _root.shieldStatus = false; _global.gameBGSound.stop(); _global.gameBGSound = null; delete _root.gameBGSound; delete _global.soundFile; _global.soundFile = _root.createEmptyMovieClip("soundFile", 1000); _global.gameBGSound = new Sound(_global.soundFile); _global.gameBGSound.attachSound("introSound"); _global.gameBGSound.start(0, 50000); _global.gameBGSound.setVolume(80); this.onEnterFrame = function () { if (!_root.dieStatus) { moveHero(); moveBG(); checkWeedCollected(); checkLifeRemaining(); _root.scoreNum.text = _root.score; _root.levelNum.text = _root.level; } }; stop();
Symbol 453 MovieClip Frame 9
function checkWeedCollected() { if (_root.weedClip._xscale < 100) { _root.weedClip._xscale = _root.weedCounter; } else { nextLevel(); } } function nextLevel() { i = 1; while (i < 25) { intervalNum = _root["myInterval" + i]; clearInterval(intervalNum); i++; } clearInterval(_root.myInterval13_1); clearInterval(_root.myInterval14_1); clearInterval(_root.myInterval15_1); i = 0; while (i <= _root.enemyArray.length) { _root.enemyArray[i].removeMovieClip(); i++; } i = 0; while (i <= _root.weedArray.length) { _root.weedArray[i].removeMovieClip(); i++; } _root.level = 5; gotoAndPlay ("levelup"); this.onEnterFrame = null; } function checkLifeRemaining() { if (_root.heroLife >= 1) { if (_root.lifeClip._xscale > 0) { _root.lifeClip._xscale = _root.heroBlood; } else { _root.heroLife = _root.heroLife - 1; _root.lifeClip._xscale = 100; _root.heroBlood = 100; return(undefined); } _root.lifeNum.text = _root.heroLife; } else { _root.lifeClip._xscale = 0; _root.heroBlood = 0; if (_root.lifeClip._xscale <= 0) { _root.lifeNum.text = 0; Mouse.show(); _root.gotoAndStop("end"); } } } function moveHero() { hero_mc._x = hero_mc._x + ((_xmouse - hero_mc._x) / _root.controller); hero_mc._y = hero_mc._y + ((_ymouse - hero_mc._y) / _root.controller); dist_x = hero_mc._x - 300; dist_y = hero_mc._y - 250; angledist = hero_mc._x - _xmouse; trace("angledist =" + angledist); angle = Math.atan(dist_y / dist_x) / (Math.PI/180); if (hero_mc._x < 30) { hero_mc._x = 30; } else if (hero_mc._x > 570) { hero_mc._x = 570; } if (hero_mc._y < 70) { hero_mc._y = 70; } else if (hero_mc._y > 450) { hero_mc._y = 450; } if (dist_x < 0) { hero_mc._xscale = -100; moveStatus = -1; } else if (dist_x > 0) { hero_mc._xscale = 100; moveStatus = 1; } hero_mc._rotation = angle; if (moveStatus == 1) { if (angle < 10) { hero_mc._rotation = 10; } } if (moveStatus == -1) { if (angle > -10) { hero_mc._rotation = -10; } } } function moveBG() { if (hero_mc._x > 300) { moveBGLeft(); } else { moveBGRight(); } if (hero_mc._y > 250) { moveBGUp(); } else { moveBGDown(); } } function moveBGLeft() { speed = Math.ceil(Math.abs(300 - hero_mc._x) / 100) * _root.maxSpeed; map._x = map._x - speed; if (map._x < 0) { map._x = 0; } } function moveBGUp() { speed = Math.ceil(Math.abs(250 - hero_mc._y) / 100) * _root.maxSpeed; map._y = map._y - speed; if (map._y < 0) { map._y = 0; } } function moveBGDown() { speed = Math.ceil(Math.abs(250 - hero_mc._y) / 100) * _root.maxSpeed; map._y = map._y + speed; if (map._y > 500) { map._y = 500; } } function moveBGRight() { speed = Math.ceil(Math.abs(300 - hero_mc._x) / 100) * _root.maxSpeed; map._x = map._x + speed; if (map._x > 600) { map._x = 600; } } function checkEnd() { _root.dieStatus = true; hero_mc._rotation = 0; hero_mc.crazyClip.gotoAndStop(1); _root.trackUserStatus = false; _root.freezeStatus = false; _root.shieldStatus = false; _root.crazyStatus = false; _root.map.resetShieldPowerup(); _root.map.resetFreezePowerup(); _root.map.resetTrackPowerup(); clearInterval(_root.pufferInterval); _root.controller = 4; _root.maxSpeed = 2; checkLifeRemaining(); } Mouse.hide(); _root.maxSpeed = 2; _root.weedClip._xscale = 0; _root.weedCounter = 0; _root.controller = 4; _root.level = 4; _root.trackUserStatus = false; _root.freezeStatus = false; _root.shieldStatus = false; _global.gameBGSound.stop(); _global.gameBGSound = null; delete _root.gameBGSound; delete _global.soundFile; _global.soundFile = _root.createEmptyMovieClip("soundFile", 1000); _global.gameBGSound = new Sound(_global.soundFile); _global.gameBGSound.attachSound("introSound"); _global.gameBGSound.start(0, 50000); _global.gameBGSound.setVolume(80); this.onEnterFrame = function () { if (!_root.dieStatus) { moveHero(); moveBG(); checkWeedCollected(); checkLifeRemaining(); _root.scoreNum.text = _root.score; _root.levelNum.text = _root.level; } }; stop();
Symbol 453 MovieClip Frame 11
function checkWeedCollected() { if (_root.weedClip._xscale < 100) { _root.weedClip._xscale = _root.weedCounter; } else { nextLevel(); } } function nextLevel() { i = 1; while (i < 25) { intervalNum = _root["myInterval" + i]; clearInterval(intervalNum); i++; } clearInterval(_root.myInterval13_1); clearInterval(_root.myInterval14_1); clearInterval(_root.myInterval15_1); i = 0; while (i <= _root.enemyArray.length) { _root.enemyArray[i].removeMovieClip(); i++; } i = 0; while (i <= _root.weedArray.length) { _root.weedArray[i].removeMovieClip(); i++; } _root.level = 6; gotoAndPlay ("levelup2"); this.onEnterFrame = null; } function checkLifeRemaining() { if (_root.heroLife >= 1) { if (_root.lifeClip._xscale > 0) { _root.lifeClip._xscale = _root.heroBlood; } else { _root.heroLife = _root.heroLife - 1; _root.lifeClip._xscale = 100; _root.heroBlood = 100; return(undefined); } _root.lifeNum.text = _root.heroLife; } else { _root.lifeClip._xscale = 0; _root.heroBlood = 0; if (_root.lifeClip._xscale <= 0) { _root.lifeNum.text = 0; Mouse.show(); _root.gotoAndStop("end"); } } } function moveHero() { hero_mc._x = hero_mc._x + ((_xmouse - hero_mc._x) / _root.controller); hero_mc._y = hero_mc._y + ((_ymouse - hero_mc._y) / _root.controller); dist_x = hero_mc._x - 300; dist_y = hero_mc._y - 250; angledist = hero_mc._x - _xmouse; trace("angledist =" + angledist); angle = Math.atan(dist_y / dist_x) / (Math.PI/180); if (hero_mc._x < 30) { hero_mc._x = 30; } else if (hero_mc._x > 570) { hero_mc._x = 570; } if (hero_mc._y < 70) { hero_mc._y = 70; } else if (hero_mc._y > 450) { hero_mc._y = 450; } if (dist_x < 0) { hero_mc._xscale = -100; moveStatus = -1; } else if (dist_x > 0) { hero_mc._xscale = 100; moveStatus = 1; } hero_mc._rotation = angle; if (moveStatus == 1) { if (angle < 10) { hero_mc._rotation = 10; } } if (moveStatus == -1) { if (angle > -10) { hero_mc._rotation = -10; } } } function moveBG() { if (hero_mc._x > 300) { moveBGLeft(); } else { moveBGRight(); } if (hero_mc._y > 250) { moveBGUp(); } else { moveBGDown(); } } function moveBGLeft() { speed = Math.ceil(Math.abs(300 - hero_mc._x) / 100) * _root.maxSpeed; map._x = map._x - speed; if (map._x < 0) { map._x = 0; } } function moveBGUp() { speed = Math.ceil(Math.abs(250 - hero_mc._y) / 100) * _root.maxSpeed; map._y = map._y - speed; if (map._y < 0) { map._y = 0; } } function moveBGDown() { speed = Math.ceil(Math.abs(250 - hero_mc._y) / 100) * _root.maxSpeed; map._y = map._y + speed; if (map._y > 500) { map._y = 500; } } function moveBGRight() { speed = Math.ceil(Math.abs(300 - hero_mc._x) / 100) * _root.maxSpeed; map._x = map._x + speed; if (map._x > 600) { map._x = 600; } } function checkEnd() { _root.dieStatus = true; hero_mc._rotation = 0; hero_mc.crazyClip.gotoAndStop(1); _root.trackUserStatus = false; _root.freezeStatus = false; _root.shieldStatus = false; _root.crazyStatus = false; _root.map.resetShieldPowerup(); _root.map.resetFreezePowerup(); _root.map.resetTrackPowerup(); clearInterval(_root.pufferInterval); _root.controller = 4; _root.maxSpeed = 2; checkLifeRemaining(); } Mouse.hide(); _root.maxSpeed = 2; _root.weedClip._xscale = 0; _root.weedCounter = 0; _root.controller = 4; _root.level = 5; _root.trackUserStatus = false; _root.freezeStatus = false; _root.shieldStatus = false; _global.gameBGSound.stop(); _global.gameBGSound = null; delete _root.gameBGSound; delete _global.soundFile; _global.soundFile = _root.createEmptyMovieClip("soundFile", 1000); _global.gameBGSound = new Sound(_global.soundFile); _global.gameBGSound.attachSound("introSound"); _global.gameBGSound.start(0, 50000); _global.gameBGSound.setVolume(80); this.onEnterFrame = function () { if (!_root.dieStatus) { moveHero(); moveBG(); checkWeedCollected(); checkLifeRemaining(); _root.scoreNum.text = _root.score; _root.levelNum.text = _root.level; } }; stop();
Symbol 453 MovieClip Frame 14
stop(); Mouse.show(); _global.gameBGSound.stop(); _global.gameBGSound = null; delete _root.gameBGSound; delete _global.soundFile;
Symbol 453 MovieClip Frame 15
function checkWeedCollected() { if (_root.weedClip._xscale < 100) { _root.weedClip._xscale = _root.weedCounter; } else { nextLevel(); } } function nextLevel() { i = 1; while (i < 25) { intervalNum = _root["myInterval" + i]; clearInterval(intervalNum); i++; } clearInterval(_root.myInterval13_1); clearInterval(_root.myInterval14_1); clearInterval(_root.myInterval15_1); i = 0; while (i <= _root.enemyArray.length) { _root.enemyArray[i].removeMovieClip(); i++; } i = 0; while (i <= _root.weedArray.length) { _root.weedArray[i].removeMovieClip(); i++; } this.onEnterFrame = null; } function checkLifeRemaining() { if (_root.heroLife >= 1) { if (_root.lifeClip._xscale > 0) { _root.lifeClip._xscale = _root.heroBlood; } else { _root.heroLife = _root.heroLife - 1; _root.lifeClip._xscale = 100; _root.heroBlood = 100; return(undefined); } _root.lifeNum.text = _root.heroLife; } else { _root.lifeClip._xscale = 0; _root.heroBlood = 0; if (_root.lifeClip._xscale <= 0) { _root.lifeNum.text = 0; Mouse.show(); _root.gotoAndStop("end"); } } } function moveHero() { hero_mc._x = hero_mc._x + ((_xmouse - hero_mc._x) / _root.controller); hero_mc._y = hero_mc._y + ((_ymouse - hero_mc._y) / _root.controller); dist_x = hero_mc._x - 300; dist_y = hero_mc._y - 250; angledist = hero_mc._x - _xmouse; trace("angledist =" + angledist); angle = Math.atan(dist_y / dist_x) / (Math.PI/180); if (hero_mc._x < 30) { hero_mc._x = 30; } else if (hero_mc._x > 570) { hero_mc._x = 570; } if (hero_mc._y < 70) { hero_mc._y = 70; } else if (hero_mc._y > 450) { hero_mc._y = 450; } if (dist_x < 0) { hero_mc._xscale = -100; moveStatus = -1; } else if (dist_x > 0) { hero_mc._xscale = 100; moveStatus = 1; } hero_mc._rotation = angle; if (moveStatus == 1) { if (angle < 10) { hero_mc._rotation = 10; } } if (moveStatus == -1) { if (angle > -10) { hero_mc._rotation = -10; } } } function moveBG() { if (hero_mc._x > 300) { moveBGLeft(); } else { moveBGRight(); } if (hero_mc._y > 250) { moveBGUp(); } else { moveBGDown(); } } function moveBGLeft() { speed = Math.ceil(Math.abs(300 - hero_mc._x) / 100) * _root.maxSpeed; map._x = map._x - speed; if (map._x < 0) { map._x = 0; } } function moveBGUp() { speed = Math.ceil(Math.abs(250 - hero_mc._y) / 100) * _root.maxSpeed; map._y = map._y - speed; if (map._y < 0) { map._y = 0; } } function moveBGDown() { speed = Math.ceil(Math.abs(250 - hero_mc._y) / 100) * _root.maxSpeed; map._y = map._y + speed; if (map._y > 500) { map._y = 500; } } function moveBGRight() { speed = Math.ceil(Math.abs(300 - hero_mc._x) / 100) * _root.maxSpeed; map._x = map._x + speed; if (map._x > 600) { map._x = 600; } } function checkEnd() { _root.dieStatus = true; hero_mc._rotation = 0; hero_mc.crazyClip.gotoAndStop(1); _root.trackUserStatus = false; _root.freezeStatus = false; _root.shieldStatus = false; _root.crazyStatus = false; _root.map.resetShieldPowerup(); _root.map.resetFreezePowerup(); _root.map.resetTrackPowerup(); clearInterval(_root.pufferInterval); _root.controller = 4; _root.maxSpeed = 2; checkLifeRemaining(); } Mouse.hide(); _root.maxSpeed = 2; _root.weedClip._xscale = 0; _root.weedCounter = 0; _root.controller = 4; _root.level = 6; _root.trackUserStatus = false; _root.freezeStatus = false; _root.shieldStatus = false; _global.gameBGSound.stop(); _global.gameBGSound = null; delete _root.gameBGSound; delete _global.soundFile; _global.soundFile = _root.createEmptyMovieClip("soundFile", 1000); _global.gameBGSound = new Sound(_global.soundFile); _global.gameBGSound.attachSound("introSound"); _global.gameBGSound.start(0, 50000); _global.gameBGSound.setVolume(80); this.onEnterFrame = function () { if (!_root.dieStatus) { moveHero(); moveBG(); checkWeedCollected(); checkLifeRemaining(); _root.scoreNum.text = _root.score; _root.levelNum.text = _root.level; } }; stop();
Symbol 456 MovieClip Frame 20
stop();
Symbol 458 MovieClip Frame 20
stop();
Symbol 460 MovieClip Frame 20
stop();
Symbol 462 MovieClip Frame 20
stop();
Symbol 464 MovieClip Frame 20
stop();
Symbol 465 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 4
stop();
Symbol 465 MovieClip Frame 7
stop();
Symbol 465 MovieClip Frame 10
stop();
Symbol 465 MovieClip Frame 13
stop();
Symbol 465 MovieClip Frame 16
stop();
Symbol 481 Button
on (release) { _root.gotoAndPlay("wel"); }
Symbol 504 MovieClip Frame 48
stop();
Symbol 519 Button
on (release) { if (((this.scoreName.text != "") && (_root.scoreSubmit == false)) && (Number(this.scoreText2.text) > 0)) { trans_btn._visible = false; var lv = new LoadVars(); var lvAnswer = new LoadVars(); this.message_text.text = "Saving your score..."; lv.scoreName = this.scoreName.text; lv.scoreText = this.scoreText2.text; lv.gameId = "ace014"; lv.gameName = "Underwater World"; lv.sendAndLoad("http://www.flasharcade.com/setscores.php", lvAnswer, "POST"); lvAnswer.onLoad = function (success) { if (lvAnswer.status1 == "success") { trans_btn._visible = true; _root.mainmc.message_text.text = "Your score is saved successfully."; _root.gotoAndPlay("highScore"); } else { trans_btn._visible = true; trans_btn.useHandCursor = false; _root.mainmc.message_text.text = "Your score could not be saved."; } }; } else if (Number(this.scoreText2.text) <= 0) { trace("scoreText ="); trace(Number(this.scoreText2.text)); trace(_root.score); message_text.text = "Your score is saved successfully."; } trans_btn._visible = true; trans_btn.useHandCursor = false; _root.scoreSubmit = true; }
Symbol 522 MovieClip Frame 41
this.scoreText2.text = Math.ceil(_root.score);
Instance of Symbol 514 MovieClip in Symbol 522 MovieClip Frame 41
onClipEvent (load) { _root.scoreSubmit = false; } onClipEvent (enterFrame) { if (_parent.scoreName.text != "") { _parent.trans_btn._visible = false; } else if (_root.scoreSubmit != true) { _parent.trans_btn.useHandCursor = false; _parent.trans_btn._visible = true; } }
Symbol 522 MovieClip Frame 48
stop(); _root.scoreSubmit = false; Selection.setFocus(this.scoreName); trans_btn.useHandCursor = false;
Symbol 559 MovieClip Frame 12
var lv = new LoadVars(); var lvAnswer = new LoadVars(); this.get_message_text.text = ""; lv.gameId = "ace014"; lv.sendAndLoad("http://www.flasharcade.com/getscores.php", lvAnswer, "POST"); lvAnswer.onLoad = function (success) { if (lvAnswer.status1 == "success") { _root.score_mc.name0.text = this.name0; _root.score_mc.name1.text = this.name1; _root.score_mc.name2.text = this.name2; _root.score_mc.name3.text = this.name3; _root.score_mc.name4.text = this.name4; _root.score_mc.name5.text = this.name5; _root.score_mc.name6.text = this.name6; _root.score_mc.name7.text = this.name7; _root.score_mc.name8.text = this.name8; _root.score_mc.name9.text = this.name9; _root.score_mc.score0.text = this.score0; _root.score_mc.score1.text = this.score1; _root.score_mc.score2.text = this.score2; _root.score_mc.score3.text = this.score3; _root.score_mc.score4.text = this.score4; _root.score_mc.score5.text = this.score5; _root.score_mc.score6.text = this.score6; _root.score_mc.score7.text = this.score7; _root.score_mc.score8.text = this.score8; _root.score_mc.score9.text = this.score9; _root.score_mc.date0.text = this.date0; _root.score_mc.date1.text = this.date1; _root.score_mc.date2.text = this.date2; _root.score_mc.date3.text = this.date3; _root.score_mc.date4.text = this.date4; _root.score_mc.date5.text = this.date5; _root.score_mc.date6.text = this.date6; _root.score_mc.date7.text = this.date7; _root.score_mc.date8.text = this.date8; _root.score_mc.date9.text = this.date9; } i = 0; while (i < 11) { var _local5 = _root.score_mc["date" + i].text; if (String(_local5) == "undefined") { _root.score_mc["date" + i].text = ""; } var _local4 = _root.score_mc["name" + i].text; if (String(_local4) == "undefined") { _root.score_mc["name" + i].text = ""; } var _local3 = _root.score_mc["score" + i].text; if (String(_local3) == "undefined") { _root.score_mc["score" + i].text = ""; } i++; } }; stop();

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:Timeline
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:56
Symbol 5 BitmapUsed by:6
Symbol 6 GraphicUses:5Used by:7
Symbol 7 MovieClipUses:6Used by:56
Symbol 8 SoundUsed by:56
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:9Used by:40 42 44
Symbol 11 SoundUsed by:40 456 458 460 462 464
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:12Used by:40 42 44
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:14Used by:40 42 44
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:16Used by:40 42 44
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:18Used by:40 42 44
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:20Used by:40 42 44
Symbol 22 SoundUsed by:40
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClipUses:23Used by:40 42 44
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClipUses:25Used by:40 42 44
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClipUses:27Used by:40 42 44
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClipUses:29Used by:40 42 44
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClipUses:31Used by:40 42 44
Symbol 33 SoundUsed by:40
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:34Used by:40 42 44
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:40 42 44
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClipUses:38Used by:40 42 44
Symbol 40 MovieClipUses:10 11 13 15 17 19 21 22 24 26 28 30 32 33 35 37 39Used by:56
Symbol 41 SoundUsed by:42
Symbol 42 MovieClipUses:39 37 35 32 30 28 21 26 24 10 13 15 17 19 41Used by:56
Symbol 43 SoundUsed by:56
Symbol 44 MovieClipUses:39 37 35 32 30 28 21 26 24 10 13 15 17 19Used by:56
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:45Used by:56
Symbol 47 GraphicUsed by:49
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:47 48Used by:56
Symbol 50 BitmapUsed by:51
Symbol 51 GraphicUses:50Used by:52
Symbol 52 MovieClipUses:51Used by:56
Symbol 53 FontUsed by:54
Symbol 54 TextUses:53Used by:55
Symbol 55 MovieClipUses:54Used by:56
Symbol 56 MovieClipUses:4 7 8 40 42 43 44 46 49 52 55Used by:Timeline
Symbol 57 GraphicUsed by:Timeline
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClipUses:58Used by:Timeline
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClipUses:60Used by:62
Symbol 62 MovieClipUses:61Used by:Timeline
Symbol 63 FontUsed by:64
Symbol 64 EditableTextUses:63Used by:65
Symbol 65 MovieClipUses:64Used by:Timeline
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClipUses:66Used by:Timeline
Symbol 68 BitmapUsed by:70 81 82 247 254 267
Symbol 69 BitmapUsed by:70 81 82
Symbol 70 GraphicUses:68 69Used by:71 84
Symbol 71 MovieClipUses:70Used by:85
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClipUses:72Used by:85 118 133 136 166 200 204 215 226 251 258 265 273 297 301 415
Symbol 74 ShapeTweeningUsed by:80
Symbol 75 BitmapUsed by:76
Symbol 76 GraphicUses:75Used by:77
Symbol 77 MovieClipUses:76Used by:80 133
Symbol 78 SoundUsed by:80
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClipUses:74 77 78 79Used by:84 250 257 264 272
Symbol 81 GraphicUses:68 69Used by:84
Symbol 82 GraphicUses:68 69Used by:84
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:70 80 81 82 83Used by:85
Symbol 85 MovieClipUses:71 73 84Used by:86 367
Symbol 86 MovieClip [bonusPowerup]Uses:85Used by:Timeline
Symbol 87 BitmapUsed by:89 134
Symbol 88 BitmapUsed by:89 134
Symbol 89 GraphicUses:87 88Used by:118
Symbol 90 BitmapUsed by:91
Symbol 91 GraphicUses:90Used by:92
Symbol 92 MovieClipUses:91Used by:93
Symbol 93 MovieClipUses:92Used by:118 136
Symbol 94 BitmapUsed by:95
Symbol 95 GraphicUses:94Used by:96
Symbol 96 MovieClipUses:95Used by:97
Symbol 97 MovieClipUses:96Used by:118 136
Symbol 98 GraphicUsed by:118
Symbol 99 BitmapUsed by:100
Symbol 100 GraphicUses:99Used by:103
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:101Used by:103
Symbol 103 MovieClipUses:100 102Used by:118 136
Symbol 104 BitmapUsed by:105 107
Symbol 105 GraphicUses:104Used by:106
Symbol 106 MovieClipUses:105Used by:117
Symbol 107 GraphicUses:104Used by:108
Symbol 108 MovieClipUses:107Used by:117
Symbol 109 BitmapUsed by:110
Symbol 110 GraphicUses:109Used by:111
Symbol 111 MovieClipUses:110Used by:117
Symbol 112 BitmapUsed by:113
Symbol 113 GraphicUses:112Used by:114
Symbol 114 MovieClipUses:113Used by:117
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClipUses:115Used by:117
Symbol 117 MovieClipUses:106 108 111 114 116Used by:118 136
Symbol 118 MovieClip [enemy1]Uses:89 93 97 98 103 117 73Used by:Timeline
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:119Used by:133
Symbol 121 ShapeTweeningUsed by:124
Symbol 122 ShapeTweeningUsed by:124
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClipUses:121 122 123Used by:133
Symbol 125 ShapeTweeningUsed by:128
Symbol 126 ShapeTweeningUsed by:128
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClipUses:125 126 127Used by:133
Symbol 129 ShapeTweeningUsed by:132
Symbol 130 ShapeTweeningUsed by:132
Symbol 131 GraphicUsed by:132
Symbol 132 MovieClipUses:129 130 131Used by:133
Symbol 133 MovieClip [enemy2]Uses:120 77 124 128 132 73Used by:Timeline
Symbol 134 GraphicUses:87 88Used by:136
Symbol 135 GraphicUsed by:136
Symbol 136 MovieClip [enemy3]Uses:134 93 97 135 103 117 73Used by:Timeline
Symbol 137 BitmapUsed by:138
Symbol 138 GraphicUses:137Used by:139
Symbol 139 MovieClipUses:138Used by:146
Symbol 140 BitmapUsed by:141
Symbol 141 GraphicUses:140Used by:142
Symbol 142 MovieClipUses:141Used by:146
Symbol 143 BitmapUsed by:144
Symbol 144 GraphicUses:143Used by:145
Symbol 145 MovieClipUses:144Used by:146
Symbol 146 MovieClipUses:139 142 145Used by:166
Symbol 147 BitmapUsed by:148
Symbol 148 GraphicUses:147Used by:149
Symbol 149 MovieClipUses:148Used by:159 160 161 162
Symbol 150 BitmapUsed by:151
Symbol 151 GraphicUses:150Used by:152
Symbol 152 MovieClipUses:151Used by:159 160 161 162
Symbol 153 BitmapUsed by:154
Symbol 154 GraphicUses:153Used by:155
Symbol 155 MovieClipUses:154Used by:159 160 161 162
Symbol 156 BitmapUsed by:157
Symbol 157 GraphicUses:156Used by:158
Symbol 158 MovieClipUses:157Used by:159
Symbol 159 MovieClipUses:149 152 155 158Used by:166
Symbol 160 MovieClipUses:149 155 152Used by:166
Symbol 161 MovieClipUses:149 155 152Used by:166
Symbol 162 MovieClipUses:149 155 152Used by:166
Symbol 163 BitmapUsed by:164
Symbol 164 GraphicUses:163Used by:165
Symbol 165 MovieClipUses:164Used by:166
Symbol 166 MovieClip [enemy4]Uses:146 159 160 161 162 165 73Used by:Timeline
Symbol 167 BitmapUsed by:168
Symbol 168 GraphicUses:167Used by:169
Symbol 169 MovieClipUses:168Used by:199 200 419
Symbol 170 BitmapUsed by:171
Symbol 171 GraphicUses:170Used by:172
Symbol 172 MovieClipUses:171Used by:199 200 419
Symbol 173 BitmapUsed by:174
Symbol 174 GraphicUses:173Used by:175
Symbol 175 MovieClipUses:174Used by:199 200 419
Symbol 176 GraphicUsed by:177
Symbol 177 MovieClipUses:176Used by:199 395 396 401
Symbol 178 GraphicUsed by:187
Symbol 179 GraphicUsed by:180
Symbol 180 MovieClipUses:179Used by:187
Symbol 181 GraphicUsed by:187 385 398
Symbol 182 ShapeTweeningUsed by:185
Symbol 183 ShapeTweeningUsed by:185
Symbol 184 GraphicUsed by:185
Symbol 185 MovieClipUses:182 183 184Used by:187 385 398
Symbol 186 GraphicUsed by:187
Symbol 187 MovieClipUses:178 180 181 185 186Used by:199 414
Symbol 188 BitmapUsed by:189
Symbol 189 GraphicUses:188Used by:190
Symbol 190 MovieClipUses:189Used by:199
Symbol 191 GraphicUsed by:199
Symbol 192 SoundUsed by:199
Symbol 193 GraphicUsed by:199
Symbol 194 GraphicUsed by:199
Symbol 195 GraphicUsed by:199
Symbol 196 GraphicUsed by:199
Symbol 197 GraphicUsed by:199
Symbol 198 GraphicUsed by:199
Symbol 199 MovieClipUses:169 172 175 177 187 190 191 192 193 194 195 196 197 198Used by:200
Symbol 200 MovieClip [enemy5]Uses:169 172 175 73 199Used by:Timeline
Symbol 201 BitmapUsed by:202
Symbol 202 GraphicUses:201Used by:203
Symbol 203 MovieClipUses:202Used by:204
Symbol 204 MovieClip [enemy6]Uses:203 73Used by:Timeline
Symbol 205 GraphicUsed by:215
Symbol 206 GraphicUsed by:215
Symbol 207 GraphicUsed by:215
Symbol 208 GraphicUsed by:215
Symbol 209 GraphicUsed by:215
Symbol 210 GraphicUsed by:215
Symbol 211 GraphicUsed by:215
Symbol 212 GraphicUsed by:215
Symbol 213 GraphicUsed by:215
Symbol 214 GraphicUsed by:215
Symbol 215 MovieClip [enemy7]Uses:205 206 207 208 73 209 210 211 212 213 214Used by:Timeline
Symbol 216 BitmapUsed by:217
Symbol 217 GraphicUses:216Used by:226
Symbol 218 BitmapUsed by:219
Symbol 219 GraphicUses:218Used by:226
Symbol 220 BitmapUsed by:221
Symbol 221 GraphicUses:220Used by:226
Symbol 222 BitmapUsed by:223
Symbol 223 GraphicUses:222Used by:226
Symbol 224 BitmapUsed by:225
Symbol 225 GraphicUses:224Used by:226
Symbol 226 MovieClip [enemy8]Uses:217 73 219 221 223 225Used by:Timeline
Symbol 227 BitmapUsed by:228
Symbol 228 GraphicUses:227Used by:236
Symbol 229 GraphicUsed by:230 406
Symbol 230 MovieClipUses:229Used by:231 232 233 234
Symbol 231 MovieClipUses:230Used by:235 392
Symbol 232 MovieClipUses:230Used by:235 392
Symbol 233 MovieClipUses:230Used by:235 392
Symbol 234 MovieClipUses:230Used by:235 392
Symbol 235 MovieClipUses:231 232 233 234Used by:236 239 242
Symbol 236 MovieClip [fish01]Uses:228 235Used by:Timeline
Symbol 237 BitmapUsed by:238
Symbol 238 GraphicUses:237Used by:239
Symbol 239 MovieClip [fish02]Uses:238 235Used by:Timeline
Symbol 240 BitmapUsed by:241
Symbol 241 GraphicUses:240Used by:242
Symbol 242 MovieClip [fish03]Uses:241 235Used by:Timeline
Symbol 243 BitmapUsed by:244
Symbol 244 GraphicUses:243Used by:245
Symbol 245 MovieClip [fish04]Uses:244Used by:Timeline
Symbol 246 BitmapUsed by:247
Symbol 247 GraphicUses:246 68Used by:248
Symbol 248 MovieClipUses:247Used by:249 250
Symbol 249 MovieClipUses:248Used by:251
Symbol 250 MovieClipUses:248 80Used by:251
Symbol 251 MovieClipUses:249 73 250Used by:252 367
Symbol 252 MovieClip [freezePowerup]Uses:251Used by:Timeline
Symbol 253 BitmapUsed by:254
Symbol 254 GraphicUses:253 68Used by:255
Symbol 255 MovieClipUses:254Used by:256 257
Symbol 256 MovieClipUses:255Used by:258
Symbol 257 MovieClipUses:255 80Used by:258
Symbol 258 MovieClipUses:256 73 257Used by:259 367
Symbol 259 MovieClip [lifePowerup]Uses:258Used by:Timeline
Symbol 260 BitmapUsed by:261
Symbol 261 GraphicUses:260Used by:262
Symbol 262 MovieClipUses:261Used by:263 264
Symbol 263 MovieClipUses:262Used by:265
Symbol 264 MovieClipUses:262 80Used by:265
Symbol 265 MovieClipUses:263 73 264Used by:266 367
Symbol 266 MovieClip [shieldPowerup]Uses:265Used by:Timeline
Symbol 267 GraphicUses:68Used by:270
Symbol 268 BitmapUsed by:269
Symbol 269 GraphicUses:268Used by:270
Symbol 270 MovieClipUses:267 269Used by:271 272 367
Symbol 271 MovieClipUses:270Used by:273
Symbol 272 MovieClipUses:270 80Used by:273
Symbol 273 MovieClipUses:271 73 272Used by:274
Symbol 274 MovieClip [trackPowerup]Uses:273Used by:Timeline
Symbol 275 BitmapUsed by:276
Symbol 276 GraphicUses:275Used by:277
Symbol 277 MovieClipUses:276Used by:297 301
Symbol 278 BitmapUsed by:279
Symbol 279 GraphicUses:278Used by:280
Symbol 280 MovieClipUses:279Used by:297 301
Symbol 281 BitmapUsed by:282
Symbol 282 GraphicUses:281Used by:283
Symbol 283 MovieClipUses:282Used by:297 301
Symbol 284 BitmapUsed by:285
Symbol 285 GraphicUses:284Used by:286
Symbol 286 MovieClipUses:285Used by:297 301
Symbol 287 BitmapUsed by:288
Symbol 288 GraphicUses:287Used by:289
Symbol 289 MovieClipUses:288Used by:297
Symbol 290 FontUsed by:291 294 319 344 469 470 471 525 526 527 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558
Symbol 291 TextUses:290Used by:293
Symbol 292 SoundUsed by:293
Symbol 293 MovieClipUses:291 292Used by:297 301
Symbol 294 TextUses:290Used by:296
Symbol 295 SoundUsed by:296
Symbol 296 MovieClipUses:294 295Used by:297
Symbol 297 MovieClip [weed1]Uses:277 73 280 283 286 289 293 296Used by:Timeline
Symbol 298 BitmapUsed by:299
Symbol 299 GraphicUses:298Used by:300
Symbol 300 MovieClipUses:299Used by:301
Symbol 301 MovieClip [weed2]Uses:277 73 280 283 300 286 293Used by:Timeline
Symbol 302 Sound [introSound]Used by:Timeline
Symbol 303 BitmapUsed by:304
Symbol 304 GraphicUses:303Used by:348
Symbol 305 BitmapUsed by:306 308
Symbol 306 GraphicUses:305Used by:309
Symbol 307 BitmapUsed by:308 312 316 365 440 480
Symbol 308 GraphicUses:305 307Used by:309
Symbol 309 ButtonUses:306 308Used by:348
Symbol 310 BitmapUsed by:311 312
Symbol 311 GraphicUses:310Used by:313
Symbol 312 GraphicUses:310 307Used by:313
Symbol 313 ButtonUses:311 312Used by:348
Symbol 314 BitmapUsed by:315 316
Symbol 315 GraphicUses:314Used by:317
Symbol 316 GraphicUses:314 307Used by:317
Symbol 317 ButtonUses:315 316Used by:348
Symbol 318 GraphicUsed by:343 347
Symbol 319 TextUses:290Used by:320
Symbol 320 MovieClipUses:319Used by:343
Symbol 321 GraphicUsed by:343 347
Symbol 322 GraphicUsed by:323
Symbol 323 MovieClipUses:322Used by:343 347
Symbol 324 GraphicUsed by:343 347
Symbol 325 GraphicUsed by:326
Symbol 326 MovieClipUses:325Used by:337
Symbol 327 GraphicUsed by:328
Symbol 328 MovieClipUses:327Used by:337
Symbol 329 GraphicUsed by:330
Symbol 330 MovieClipUses:329Used by:337
Symbol 331 FontUsed by:332 333 334 335
Symbol 332 TextUses:331Used by:336
Symbol 333 TextUses:331Used by:336
Symbol 334 TextUses:331Used by:336
Symbol 335 TextUses:331Used by:336
Symbol 336 MovieClipUses:332 333 334 335Used by:337
Symbol 337 MovieClipUses:326 328 330 336Used by:338
Symbol 338 MovieClipUses:337Used by:343
Symbol 339 GraphicUsed by:340 343 347
Symbol 340 MovieClipUses:339Used by:343 347
Symbol 341 BitmapUsed by:342
Symbol 342 GraphicUses:341Used by:343
Symbol 343 ButtonUses:318 320 321 323 324 338 340 342 339Used by:348 522 559  Timeline
Symbol 344 TextUses:290Used by:345
Symbol 345 MovieClipUses:344Used by:347
Symbol 346 GraphicUsed by:347
Symbol 347 ButtonUses:318 345 321 323 324 340 346 339Used by:348
Symbol 348 MovieClipUses:304 309 313 317 343 347Used by:Timeline
Symbol 349 BitmapUsed by:350
Symbol 350 GraphicUses:349Used by:367
Symbol 351 FontUsed by:352 353 354 355 356 357 358 359 360 361 362
Symbol 352 TextUses:351Used by:367
Symbol 353 TextUses:351Used by:367
Symbol 354 TextUses:351Used by:367
Symbol 355 TextUses:351Used by:367
Symbol 356 TextUses:351Used by:367
Symbol 357 TextUses:351Used by:367
Symbol 358 TextUses:351Used by:367
Symbol 359 TextUses:351Used by:367
Symbol 360 TextUses:351Used by:367
Symbol 361 TextUses:351Used by:367
Symbol 362 TextUses:351Used by:367
Symbol 363 BitmapUsed by:364 365
Symbol 364 GraphicUses:363Used by:366
Symbol 365 GraphicUses:363 307Used by:366
Symbol 366 ButtonUses:364 365Used by:367 559
Symbol 367 MovieClipUses:350 352 85 353 354 258 355 356 265 357 358 251 359 360 270 361 362 366Used by:Timeline
Symbol 368 BitmapUsed by:369
Symbol 369 GraphicUses:368Used by:370
Symbol 370 MovieClipUses:369Used by:373 443 444 445 446 452
Symbol 371 GraphicUsed by:372
Symbol 372 MovieClipUses:371Used by:373
Symbol 373 MovieClipUses:370 372Used by:453
Symbol 374 GraphicUsed by:375
Symbol 375 MovieClipUses:374Used by:395 396 401 414
Symbol 376 GraphicUsed by:377
Symbol 377 MovieClipUses:376Used by:395 396 401 414
Symbol 378 GraphicUsed by:385
Symbol 379 GraphicUsed by:383
Symbol 380 GraphicUsed by:383
Symbol 381 GraphicUsed by:383
Symbol 382 GraphicUsed by:383
Symbol 383 MovieClipUses:379 380 381 382Used by:385 398
Symbol 384 GraphicUsed by:385
Symbol 385 MovieClipUses:378 383 181 185 384Used by:395 396 414
Symbol 386 GraphicUsed by:387
Symbol 387 MovieClipUses:386Used by:395 396 401 414
Symbol 388 GraphicUsed by:389
Symbol 389 MovieClipUses:388Used by:395 396 401 414
Symbol 390 GraphicUsed by:391
Symbol 391 MovieClipUses:390Used by:395 396 401 414
Symbol 392 MovieClipUses:231 232 233 234Used by:395 396 401 414
Symbol 393 GraphicUsed by:394
Symbol 394 MovieClipUses:393Used by:395 396 401 414
Symbol 395 MovieClipUses:375 377 385 387 389 391 392 394 177Used by:402
Symbol 396 MovieClipUses:375 377 385 387 389 391 392 394 177Used by:402
Symbol 397 GraphicUsed by:398
Symbol 398 MovieClipUses:397 383 181 185Used by:401
Symbol 399 GraphicUsed by:400
Symbol 400 MovieClipUses:399Used by:401
Symbol 401 MovieClipUses:375 377 398 387 389 391 400 392 394 177Used by:402
Symbol 402 MovieClipUses:395 396 401Used by:415
Symbol 403 GraphicUsed by:405
Symbol 404 GraphicUsed by:405
Symbol 405 MovieClipUses:403 404Used by:415
Symbol 406 MovieClipUses:229Used by:415
Symbol 407 GraphicUsed by:408
Symbol 408 MovieClipUses:407Used by:414
Symbol 409 SoundUsed by:414
Symbol 410 GraphicUsed by:411
Symbol 411 MovieClipUses:410Used by:414
Symbol 412 GraphicUsed by:413
Symbol 413 MovieClipUses:412Used by:414
Symbol 414 MovieClipUses:375 377 385 387 389 391 392 394 408 409 411 187 413Used by:415
Symbol 415 MovieClipUses:402 405 406 73 414Used by:453
Symbol 416 BitmapUsed by:417
Symbol 417 GraphicUses:416Used by:418
Symbol 418 MovieClipUses:417Used by:442 451
Symbol 419 MovieClipUses:169 172 175Used by:442 451
Symbol 420 SoundUsed by:442 451
Symbol 421 BitmapUsed by:422
Symbol 422 GraphicUses:421Used by:423
Symbol 423 MovieClipUses:422Used by:442 447
Symbol 424 BitmapUsed by:425
Symbol 425 GraphicUses:424Used by:426
Symbol 426 MovieClipUses:425Used by:442 447
Symbol 427 BitmapUsed by:428
Symbol 428 GraphicUses:427Used by:429
Symbol 429 MovieClipUses:428Used by:442 447
Symbol 430 GraphicUsed by:431
Symbol 431 MovieClipUses:430Used by:442 447
Symbol 432 BitmapUsed by:433
Symbol 433 GraphicUses:432Used by:434
Symbol 434 MovieClipUses:433Used by:442 447
Symbol 435 BitmapUsed by:436
Symbol 436 GraphicUses:435Used by:437
Symbol 437 MovieClipUses:436Used by:442 447
Symbol 438 BitmapUsed by:439 440
Symbol 439 GraphicUses:438Used by:441
Symbol 440 GraphicUses:438 307Used by:441
Symbol 441 ButtonUses:439 440Used by:442 447
Symbol 442 MovieClipUses:418 419 420 423 426 429 431 434 437 441Used by:453
Symbol 443 MovieClipUses:370Used by:453
Symbol 444 MovieClipUses:370Used by:453
Symbol 445 MovieClipUses:370Used by:453
Symbol 446 MovieClipUses:370Used by:453
Symbol 447 MovieClipUses:423 426 429 431 434 437 441Used by:451
Symbol 448 FontUsed by:449
Symbol 449 TextUses:448Used by:450
Symbol 450 MovieClipUses:449Used by:451
Symbol 451 MovieClipUses:418 419 420 447 450Used by:453
Symbol 452 MovieClipUses:370Used by:453
Symbol 453 MovieClipUses:373 415 442 443 444 445 446 451 452Used by:Timeline
Symbol 454 FontUsed by:455 457 459 461 463
Symbol 455 TextUses:454Used by:456
Symbol 456 MovieClipUses:455 11Used by:465
Symbol 457 TextUses:454Used by:458
Symbol 458 MovieClipUses:457 11Used by:465
Symbol 459 TextUses:454Used by:460
Symbol 460 MovieClipUses:459 11Used by:465
Symbol 461 TextUses:454Used by:462
Symbol 462 MovieClipUses:461 11Used by:465
Symbol 463 TextUses:454Used by:464
Symbol 464 MovieClipUses:463 11Used by:465
Symbol 465 MovieClipUses:456 458 460 462 464Used by:Timeline
Symbol 466 BitmapUsed by:467
Symbol 467 GraphicUses:466Used by:468
Symbol 468 MovieClipUses:467Used by:Timeline
Symbol 469 EditableTextUses:290Used by:Timeline
Symbol 470 EditableTextUses:290Used by:Timeline
Symbol 471 EditableTextUses:290Used by:Timeline
Symbol 472 GraphicUsed by:473
Symbol 473 MovieClipUses:472Used by:Timeline
Symbol 474 GraphicUsed by:475
Symbol 475 MovieClipUses:474Used by:Timeline
Symbol 476 BitmapUsed by:477
Symbol 477 GraphicUses:476Used by:522
Symbol 478 BitmapUsed by:479 480
Symbol 479 GraphicUses:478Used by:481
Symbol 480 GraphicUses:478 307Used by:481
Symbol 481 ButtonUses:479 480Used by:522
Symbol 482 GraphicUsed by:483
Symbol 483 MovieClipUses:482Used by:496 499 504
Symbol 484 GraphicUsed by:485
Symbol 485 MovieClipUses:484Used by:497 504
Symbol 486 GraphicUsed by:487
Symbol 487 MovieClipUses:486Used by:498 504
Symbol 488 GraphicUsed by:489
Symbol 489 MovieClipUses:488Used by:500 504
Symbol 490 GraphicUsed by:491
Symbol 491 MovieClipUses:490Used by:501 504
Symbol 492 GraphicUsed by:493
Symbol 493 MovieClipUses:492Used by:502 504
Symbol 494 GraphicUsed by:495
Symbol 495 MovieClipUses:494Used by:503 504
Symbol 496 MovieClipUses:483Used by:504
Symbol 497 MovieClipUses:485Used by:504
Symbol 498 MovieClipUses:487Used by:504
Symbol 499 MovieClipUses:483Used by:504
Symbol 500 MovieClipUses:489Used by:504
Symbol 501 MovieClipUses:491Used by:504
Symbol 502 MovieClipUses:493Used by:504
Symbol 503 MovieClipUses:495Used by:504
Symbol 504 MovieClipUses:483 485 487 489 491 493 495 496 497 498 499 500 501 502 503Used by:522
Symbol 505 GraphicUsed by:522
Symbol 506 FontUsed by:507 508
Symbol 507 TextUses:506Used by:522
Symbol 508 TextUses:506Used by:522
Symbol 509 FontUsed by:510 511 512
Symbol 510 EditableTextUses:509Used by:522
Symbol 511 EditableTextUses:509Used by:522
Symbol 512 EditableTextUses:509Used by:522
Symbol 513 GraphicUsed by:514
Symbol 514 MovieClipUses:513Used by:522
Symbol 515 BitmapUsed by:516 517
Symbol 516 GraphicUses:515Used by:519
Symbol 517 GraphicUses:515Used by:519
Symbol 518 GraphicUsed by:519
Symbol 519 ButtonUses:516 517 518Used by:522
Symbol 520 GraphicUsed by:521
Symbol 521 ButtonUses:520Used by:522
Symbol 522 MovieClipUses:477 481 343 504 505 507 508 510 511 512 514 519 521Used by:Timeline
Symbol 523 BitmapUsed by:524
Symbol 524 GraphicUses:523Used by:559
Symbol 525 TextUses:290Used by:559
Symbol 526 TextUses:290Used by:559
Symbol 527 TextUses:290Used by:559
Symbol 528 GraphicUsed by:559
Symbol 529 EditableTextUses:290Used by:559
Symbol 530 EditableTextUses:290Used by:559
Symbol 531 EditableTextUses:290Used by:559
Symbol 532 EditableTextUses:290Used by:559
Symbol 533 EditableTextUses:290Used by:559
Symbol 534 EditableTextUses:290Used by:559
Symbol 535 EditableTextUses:290Used by:559
Symbol 536 EditableTextUses:290Used by:559
Symbol 537 EditableTextUses:290Used by:559
Symbol 538 EditableTextUses:290Used by:559
Symbol 539 EditableTextUses:290Used by:559
Symbol 540 EditableTextUses:290Used by:559
Symbol 541 EditableTextUses:290Used by:559
Symbol 542 EditableTextUses:290Used by:559
Symbol 543 EditableTextUses:290Used by:559
Symbol 544 EditableTextUses:290Used by:559
Symbol 545 EditableTextUses:290Used by:559
Symbol 546 EditableTextUses:290Used by:559
Symbol 547 EditableTextUses:290Used by:559
Symbol 548 EditableTextUses:290Used by:559
Symbol 549 EditableTextUses:290Used by:559
Symbol 550 EditableTextUses:290Used by:559
Symbol 551 EditableTextUses:290Used by:559
Symbol 552 EditableTextUses:290Used by:559
Symbol 553 EditableTextUses:290Used by:559
Symbol 554 EditableTextUses:290Used by:559
Symbol 555 EditableTextUses:290Used by:559
Symbol 556 EditableTextUses:290Used by:559
Symbol 557 EditableTextUses:290Used by:559
Symbol 558 EditableTextUses:290Used by:559
Symbol 559 MovieClipUses:524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 366 343Used by:Timeline

Instance Names

"bg"Frame 1Symbol 2 MovieClip
"animation"Frame 1Symbol 56 MovieClip
"progressBar_mc"Frame 1Symbol 59 MovieClip
"progressbar"Frame 1Symbol 62 MovieClip
"percenttext"Frame 1Symbol 65 MovieClip
"playmore"Frame 6Symbol 343 Button
"stage_mc"Frame 10Symbol 453 MovieClip
"powerupText"Frame 10Symbol 465 MovieClip
"scoreNum"Frame 10Symbol 469 EditableText
"levelNum"Frame 10Symbol 470 EditableText
"lifeNum"Frame 10Symbol 471 EditableText
"weedClip"Frame 10Symbol 473 MovieClip
"lifeClip"Frame 10Symbol 475 MovieClip
"main_mc"Frame 13Symbol 522 MovieClip
"score_mc"Frame 16Symbol 559 MovieClip
"bar_mc"Symbol 62 MovieClip Frame 1Symbol 61 MovieClip
"percentText"Symbol 65 MovieClip Frame 1Symbol 64 EditableText
"head"Symbol 85 MovieClip Frame 1Symbol 73 MovieClip
"lclip"Symbol 86 MovieClip [bonusPowerup] Frame 1Symbol 85 MovieClip
"head"Symbol 118 MovieClip [enemy1] Frame 1Symbol 73 MovieClip
"head"Symbol 133 MovieClip [enemy2] Frame 1Symbol 73 MovieClip
"head"Symbol 136 MovieClip [enemy3] Frame 1Symbol 73 MovieClip
"head"Symbol 166 MovieClip [enemy4] Frame 1Symbol 73 MovieClip
"head"Symbol 200 MovieClip [enemy5] Frame 1Symbol 73 MovieClip
"head"Symbol 204 MovieClip [enemy6] Frame 1Symbol 73 MovieClip
"head"Symbol 215 MovieClip [enemy7] Frame 1Symbol 73 MovieClip
"head"Symbol 226 MovieClip [enemy8] Frame 1Symbol 73 MovieClip
"head"Symbol 251 MovieClip Frame 1Symbol 73 MovieClip
"lclip"Symbol 252 MovieClip [freezePowerup] Frame 1Symbol 251 MovieClip
"head"Symbol 258 MovieClip Frame 1Symbol 73 MovieClip
"lclip"Symbol 259 MovieClip [lifePowerup] Frame 1Symbol 258 MovieClip
"head"Symbol 265 MovieClip Frame 1Symbol 73 MovieClip
"lclip"Symbol 266 MovieClip [shieldPowerup] Frame 1Symbol 265 MovieClip
"head"Symbol 273 MovieClip Frame 1Symbol 73 MovieClip
"lclip"Symbol 274 MovieClip [trackPowerup] Frame 1Symbol 273 MovieClip
"head"Symbol 297 MovieClip [weed1] Frame 1Symbol 73 MovieClip
"head"Symbol 301 MovieClip [weed2] Frame 1Symbol 73 MovieClip
"playmore"Symbol 348 MovieClip Frame 1Symbol 343 Button
"playmore"Symbol 348 MovieClip Frame 1Symbol 347 Button
"lclip"Symbol 367 MovieClip Frame 1Symbol 85 MovieClip
"lclip"Symbol 367 MovieClip Frame 1Symbol 258 MovieClip
"lclip"Symbol 367 MovieClip Frame 1Symbol 265 MovieClip
"lclip"Symbol 367 MovieClip Frame 1Symbol 251 MovieClip
"moveClip"Symbol 415 MovieClip Frame 1Symbol 402 MovieClip
"crazyClip"Symbol 415 MovieClip Frame 1Symbol 405 MovieClip
"shieldClip"Symbol 415 MovieClip Frame 1Symbol 406 MovieClip
"head"Symbol 415 MovieClip Frame 1Symbol 73 MovieClip
"body"Symbol 415 MovieClip Frame 1Symbol 73 MovieClip
"moveClip"Symbol 415 MovieClip Frame 39Symbol 402 MovieClip
"map"Symbol 453 MovieClip Frame 1Symbol 373 MovieClip
"hero_mc"Symbol 453 MovieClip Frame 1Symbol 415 MovieClip
"map"Symbol 453 MovieClip Frame 5Symbol 443 MovieClip
"hero_mc"Symbol 453 MovieClip Frame 5Symbol 415 MovieClip
"map"Symbol 453 MovieClip Frame 7Symbol 444 MovieClip
"hero_mc"Symbol 453 MovieClip Frame 7Symbol 415 MovieClip
"map"Symbol 453 MovieClip Frame 9Symbol 445 MovieClip
"hero_mc"Symbol 453 MovieClip Frame 9Symbol 415 MovieClip
"map"Symbol 453 MovieClip Frame 11Symbol 446 MovieClip
"hero_mc"Symbol 453 MovieClip Frame 11Symbol 415 MovieClip
"map"Symbol 453 MovieClip Frame 15Symbol 452 MovieClip
"hero_mc"Symbol 453 MovieClip Frame 15Symbol 415 MovieClip
"scoreText2"Symbol 522 MovieClip Frame 41Symbol 510 EditableText
"scoreName"Symbol 522 MovieClip Frame 41Symbol 511 EditableText
"message_text"Symbol 522 MovieClip Frame 41Symbol 512 EditableText
"submitScore"Symbol 522 MovieClip Frame 41Symbol 519 Button
"trans_btn"Symbol 522 MovieClip Frame 41Symbol 521 Button
"name0"Symbol 559 MovieClip Frame 1Symbol 529 EditableText
"name1"Symbol 559 MovieClip Frame 1Symbol 530 EditableText
"name2"Symbol 559 MovieClip Frame 1Symbol 531 EditableText
"name3"Symbol 559 MovieClip Frame 1Symbol 532 EditableText
"name4"Symbol 559 MovieClip Frame 1Symbol 533 EditableText
"name5"Symbol 559 MovieClip Frame 1Symbol 534 EditableText
"name6"Symbol 559 MovieClip Frame 1Symbol 535 EditableText
"name7"Symbol 559 MovieClip Frame 1Symbol 536 EditableText
"name8"Symbol 559 MovieClip Frame 1Symbol 537 EditableText
"date0"Symbol 559 MovieClip Frame 1Symbol 538 EditableText
"date1"Symbol 559 MovieClip Frame 1Symbol 539 EditableText
"date2"Symbol 559 MovieClip Frame 1Symbol 540 EditableText
"date3"Symbol 559 MovieClip Frame 1Symbol 541 EditableText
"date4"Symbol 559 MovieClip Frame 1Symbol 542 EditableText
"date5"Symbol 559 MovieClip Frame 1Symbol 543 EditableText
"date6"Symbol 559 MovieClip Frame 1Symbol 544 EditableText
"date7"Symbol 559 MovieClip Frame 1Symbol 545 EditableText
"date8"Symbol 559 MovieClip Frame 1Symbol 546 EditableText
"date9"Symbol 559 MovieClip Frame 1Symbol 547 EditableText
"score0"Symbol 559 MovieClip Frame 1Symbol 548 EditableText
"score1"Symbol 559 MovieClip Frame 1Symbol 549 EditableText
"score2"Symbol 559 MovieClip Frame 1Symbol 550 EditableText
"score3"Symbol 559 MovieClip Frame 1Symbol 551 EditableText
"score4"Symbol 559 MovieClip Frame 1Symbol 552 EditableText
"score5"Symbol 559 MovieClip Frame 1Symbol 553 EditableText
"score6"Symbol 559 MovieClip Frame 1Symbol 554 EditableText
"score7"Symbol 559 MovieClip Frame 1Symbol 555 EditableText
"score8"Symbol 559 MovieClip Frame 1Symbol 556 EditableText
"score9"Symbol 559 MovieClip Frame 1Symbol 557 EditableText
"name9"Symbol 559 MovieClip Frame 1Symbol 558 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 3Symbol 86 as "bonusPowerup"
ExportAssets (56)Timeline Frame 3Symbol 118 as "enemy1"
ExportAssets (56)Timeline Frame 3Symbol 133 as "enemy2"
ExportAssets (56)Timeline Frame 3Symbol 136 as "enemy3"
ExportAssets (56)Timeline Frame 3Symbol 166 as "enemy4"
ExportAssets (56)Timeline Frame 3Symbol 200 as "enemy5"
ExportAssets (56)Timeline Frame 3Symbol 204 as "enemy6"
ExportAssets (56)Timeline Frame 3Symbol 215 as "enemy7"
ExportAssets (56)Timeline Frame 3Symbol 226 as "enemy8"
ExportAssets (56)Timeline Frame 3Symbol 236 as "fish01"
ExportAssets (56)Timeline Frame 3Symbol 239 as "fish02"
ExportAssets (56)Timeline Frame 3Symbol 242 as "fish03"
ExportAssets (56)Timeline Frame 3Symbol 245 as "fish04"
ExportAssets (56)Timeline Frame 3Symbol 252 as "freezePowerup"
ExportAssets (56)Timeline Frame 3Symbol 259 as "lifePowerup"
ExportAssets (56)Timeline Frame 3Symbol 266 as "shieldPowerup"
ExportAssets (56)Timeline Frame 3Symbol 274 as "trackPowerup"
ExportAssets (56)Timeline Frame 3Symbol 297 as "weed1"
ExportAssets (56)Timeline Frame 3Symbol 301 as "weed2"
ExportAssets (56)Timeline Frame 3Symbol 302 as "introSound"

Labels

"wel"Frame 4
"inst"Frame 6
"main"Frame 10
"end"Frame 13
"highScore"Frame 16
"die"Symbol 85 MovieClip Frame 2
"grab"Symbol 200 MovieClip [enemy5] Frame 51
"die"Symbol 251 MovieClip Frame 2
"die"Symbol 258 MovieClip Frame 2
"die"Symbol 265 MovieClip Frame 2
"die"Symbol 273 MovieClip Frame 2
"die"Symbol 297 MovieClip [weed1] Frame 6
"die2"Symbol 297 MovieClip [weed1] Frame 7
"die"Symbol 301 MovieClip [weed2] Frame 6
"right"Symbol 402 MovieClip Frame 1
"left"Symbol 402 MovieClip Frame 4
"stand"Symbol 415 MovieClip Frame 1
"hit"Symbol 415 MovieClip Frame 2
"hit2"Symbol 415 MovieClip Frame 3
"lev1"Symbol 453 MovieClip Frame 1
"levelup"Symbol 453 MovieClip Frame 2
"lev2"Symbol 453 MovieClip Frame 5
"lev3"Symbol 453 MovieClip Frame 7
"lev4"Symbol 453 MovieClip Frame 9
"lev5"Symbol 453 MovieClip Frame 11
"levelup2"Symbol 453 MovieClip Frame 12
"lev6"Symbol 453 MovieClip Frame 15
"t1"Symbol 465 MovieClip Frame 2
"t2"Symbol 465 MovieClip Frame 5
"t3"Symbol 465 MovieClip Frame 8
"t4"Symbol 465 MovieClip Frame 11
"t5"Symbol 465 MovieClip Frame 14

Dynamic Text Variables

percentSymbol 64 EditableText"0 %"




http://swfchan.com/5/24860/info.shtml
Created: 24/5 -2019 10:29:32 Last modified: 24/5 -2019 10:29:32 Server time: 02/05 -2024 06:04:31