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

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

Battle Fish - fight other fish to earn money and buy upgrades.swf

This is the info page for
Flash #93278

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


Text
O

2

KILL

not

DOPPLER

EGGY

octomon

octomon

not

DOPPLER

EGGYS GAMES

hatching new games reguarlary

eight times the goodness

PLAY

PLAY

INSTRUCTIONS

INSTRUCTIONS

Music by C-Storm

Click here to spawn bubbles these will
keep fish alive, even the bad ones. Click
And hold to make bigger bubbles that heal more

Click here to spawn bombs that hurt
fish, use these to kill enemies. Click
And Hold to make bigger bombs that do
more damage.

Your Fishs HP will constantly go down
keep giving them bubbles to keep them
alive and use the the ripple to guide them away
from danger

Play

Play

If Enemy Fish touch yours they will
hurt them, drop spike on them or
guide your fish with weapons at them
Killing enemies gives you money

Click the water to make
a ripple so the fish swim
away from it, though they
may not always listen

Right click to change quality if
it's lagging

Game Over.
All your fishies
are dead.

Play Again

Play Again

More Games

More Games

Begin
Level

Begin
Level

Cash

0000

$

Name Nam

Liza

$

BUY?

$100

Terry

Johnny

RENAME YOUR FISH!

FISH

WEAPONS

GENERAL

$20

Pistol

$35

Mines

$50

Shotgun

$100

Spike
Swinger

$200

Grenades

$450

Laser

$700

Rockets

$1000

Ion

Buy

<Click to buy, click again to equip>

Name Nam

Name Nam

Name Nam

Name Nam

EQUIPPED

Current
Bubble Limit

00

00

$

00

$

Current
Spike Limit

00

Piggles

Liza

Giggles

Johnny

Level 1
Keep at least one of your fishs alive for 30 seconds

Bubbles

Spikes

Cash

Time Left

000

00

00

0000

Click and hold down here to make bubbles to heal
your fish, Click and hold to make bigger, which
will heal your fish more.

Click in the water make
a ripple to nudge your fish
in a different direction

Click here to make spikes to
kill enemy fish, Click and hold
to make them bigger to do more dmg
Killing enemies gives you cash

0000

Bubbles

Spikes

Cash

Time Left

000

00

00

0000

Level 2
Keep at least one of your fishs alive for 30 seconds

0000

000

00

00

0000

Level 3
Keep at least one of your fishs alive for 30 seconds

0000

000

00

00

0000

Level 4
Keep at least one of your fishs alive for 30 seconds

0000

000

00

00

0000

Level 5
Keep at least one of your fishs alive for 30 seconds

0000

000

00

00

0000

Level 6
Keep at least one of your fishs alive for 30 seconds

0000

000

00

00

0000

Level 7
Keep at least one of your fishs alive for 30 seconds

0000

000

00

00

0000

Level 8
Keep at least one of your fishs alive for 30 seconds

0000

000

00

00

0000

Level 9
Keep at least one of your fishs alive for 30 seconds

0000

000

00

00

0000

Level 10
Keep at least one of your fishs alive for 40 seconds

0000

000

00

00

0000

Level 11
Keep at least one of your fishs alive for 40 seconds

0000

000

00

00

0000

Level 12
Keep at least one of your fishs alive for 40 seconds

0000

000

00

00

0000

Level 13
Keep at least one of your fishs alive for 40 seconds

0000

000

00

00

0000

Level 14
Keep at least one of your fishs alive for 40 seconds

0000

000

00

00

0000

Level 15
Keep at least one of your fishs alive for 50 seconds

0000

000

00

00

0000

Level 16
Keep at least one of your fishs alive for 50 seconds

0000

000

00

00

0000

Level 17
Keep at least one of your fishs alive for 50 seconds

0000

000

00

00

0000

Level 18
Keep at least one of your fishs alive for 50 seconds

0000

000

00

00

0000

Level 19
Keep at least one of your fishs alive for 50 seconds

0000

000

00

00

0000

Level 20
Keep at least one of your fishs alive for 60 seconds

0000

000

00

00

0000

Level 21
Keep at least one of your fishs alive for 60 seconds

0000

000

00

00

0000

Level 22
Keep at least one of your fishs alive for 60 seconds

0000

000

00

00

0000

Level 23
Keep at least one of your fishs alive for 60 seconds

0000

000

00

00

0000

Level 24
Keep at least one of your fishs alive for 60 seconds

0000

000

00

00

0000

Level 25
Keep at least one of your fishs alive for 60 seconds

0000

000

00

00

0000

Level 26
Keep at least one of your fishs alive for 70 seconds

0000

000

00

00

0000

Level 27
Keep at least one of your fishs alive for 70 seconds

0000

000

00

00

0000

Level 28
Keep at least one of your fishs alive for 70 seconds

0000

000

00

00

0000

Level 29
Keep at least one of your fishs alive for 80 seconds

0000

000

00

00

0000

Level 30
Keep at least one of your fishs alive for 90 seconds

Congratulations you
have beaten Battle Fish.
Your Fish can now live
free in the world and
persue there careers

Back to Menu

Back to Menu

ActionScript [AS1/AS2]

Frame 1
function doSomething() { getURL ("http://www.eggysgames", "_blank"); } function doSomething2() { getURL ("http://octomon.wordpress.com/", "blank"); } function doSomething3() { getURL ("http://www.notdoppler.com", "_blank"); } Mouse.hide(); _root.BHOLD = 10; _root.SHOLD = 10; MENU.customItems.push(Functioned2); MENU = new ContextMenu(); MENU.hideBuiltInItems(); Functioned = new ContextMenuItem("Eggys Games", doSomething); Functioned2 = new ContextMenuItem("Octomon", doSomething2); Functioned3 = new ContextMenuItem("Not Doppler", doSomething3); MENU.customItems.push(Functioned); MENU.customItems.push(Functioned2); MENU.customItems.push(Functioned3); MENU.builtInItems.quality = true; _root.menu = MENU;
Instance of Symbol 23 MovieClip "cursor" in Frame 1
onClipEvent (load) { i = 0; } onClipEvent (enterFrame) { if (_root.bubblespawn.hitTest(this)) { gotoAndStop (2); } else if (_root.spikespawn.hitTest(this)) { gotoAndStop (3); } else { gotoAndStop (1); } if (i > 19) { i = 0; } keepup = _root.getNextHighestDepth(); swapDepths(keepup); _x = _root._xmouse; _y = _root._ymouse; } onClipEvent (mouseDown) { Mouse.hide(); if (((_y > 320) and (_root.amountofbubbles > 0)) and (_currentframe == 2)) { _root.amountofbubbles = _root.amountofbubbles - 1; _root.mousebubbledown = true; duplicateMovieClip (_root.bubble, "newbubble" + i, _root.getNextHighestDepth()); i = i + 1; } if ((_y < 80) and (_root.amountofspikes > 0)) { _root.amountofspikes = _root.amountofspikes - 1; _root.mousebombdown = true; duplicateMovieClip (_root.bomb, "newspike" + i, _root.getNextHighestDepth()); i = i + 1; } } onClipEvent (mouseUp) { _root.mousebubbledown = false; _root.mousebombdown = false; _rotation = 0; }
Frame 2
stop();
Frame 3
stop();
Instance of Symbol 86 MovieClip in Frame 3
on (press) { getURL ("http://www.eggysgames.com", "blank"); }
Frame 4
stop();
Instance of Symbol 98 MovieClip in Frame 4
on (press) { getURL ("http://octomon.wordpress.com/", "blank"); }
Frame 5
function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version)); u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } stop(); __com_mochibot__("c54a181f", this, 10301, true);
Frame 6
stop();
Frame 7
stop(); _root.timeleft = 0;
Frame 8
stop(); _root.bubblelimit = 5; _root.spikelimit = 5; _root.cash = 15; _root.timeleft = 0; _root.upgrade.amountofbubbles = 5; _root.upgrade.amountofspikes = 5; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit; _root.upgrade.basicfishname = "Piggles"; _root.john = "Piggles"; _root.upgrade.buyfish2.basicfishname2 = "Liza"; _root.bob = "Liza"; _root.upgrade.buyfish3.basicfishname3 = "Terry"; _root.fred = "Terry"; _root.upgrade.buyfish4.basicfishname4 = "Johnny"; _root.ted = "Johnny"; _root.boughtfish2 = false; _root.boughtfish3 = false; _root.boughtfish4 = false; _root.whatequip = 0; _root.whatequip2 = 0; _root.whatequip3 = 0; _root.whatequip4 = 0; _root.basicfishpistol = false; _root.basicfish2pistol = false; _root.basicfish3pistol = false; _root.basicfish4pistol = false; _root.basicfishmines = false; _root.basicfish2mines = false; _root.basicfish3mines = false; _root.basicfish4mines = false; _root.basicfishshotgun = false; _root.basicfish2shotgun = false; _root.basicfish3shotgun = false; _root.basicfish4shotgun = false; _root.basicfishswinging = false; _root.basicfish2swinging = false; _root.basicfish3swinging = false; _root.basicfish4swinging = false; _root.basicfishgrenade = false; _root.basicfish2grenade = false; _root.basicfish3grenade = false; _root.basicfish4grenade = false; _root.basicfishlaser = false; _root.basicfish2laser = false; _root.basicfish3laser = false; _root.basicfish4laser = false; _root.basicfishrocket = false; _root.basicfish2rocket = false; _root.basicfish3rocket = false; _root.basicfish4rocket = false; _root.basicfishion = false; _root.basicfish2ion = false; _root.basicfish3ion = false; _root.basicfish4ion = false;
Frame 9
Mouse.hide(); stop(); _root.timeleft = 30; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 9
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 9
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 346 MovieClip "enemies" in Frame 9
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 9
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 9
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 9
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 9
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 9
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if ((((_root._ymouse < 330) and (_root._ymouse > 80)) and (_currentframe == 150)) and (_root.cursor._currentframe == 1)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 9
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 360 MovieClip "pistol" in Frame 9
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "pistol") { if (dir == true) { _x = (_x + 5); } if (dir == false) { _x = (_x - 5); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 362 MovieClip "mine" in Frame 9
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 9
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 9
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } if ((bang._currentframe == 2) and (_name != "grenade")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 9
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 9
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 9
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 9
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 9
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 9
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 9
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 9
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 9
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 9
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 9
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 10
stop(); _root.cash = _root.cash + 5; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 11
Mouse.hide(); stop(); _root.timeleft = 30; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 11
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 11
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 540 MovieClip "enemies" in Frame 11
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 11
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 11
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 11
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 11
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 11
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 11
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 360 MovieClip "pistol" in Frame 11
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "pistol") { if (dir == true) { _x = (_x + 5); } if (dir == false) { _x = (_x - 5); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 362 MovieClip "mine" in Frame 11
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 11
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 11
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 11
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 11
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 11
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 11
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 11
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 11
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 11
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 11
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 11
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 11
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 11
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 12
stop(); _root.cash = _root.cash + 10; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 13
Mouse.hide(); stop(); _root.timeleft = 30; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 13
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 13
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 554 MovieClip "enemies" in Frame 13
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 13
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 13
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 13
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 13
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 13
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 13
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 360 MovieClip "pistol" in Frame 13
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "pistol") { if (dir == true) { _x = (_x + 5); } if (dir == false) { _x = (_x - 5); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 362 MovieClip "mine" in Frame 13
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 13
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 13
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 13
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 13
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 13
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 13
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 13
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 13
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 13
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 13
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 13
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 13
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 13
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 14
stop(); _root.cash = _root.cash + 15; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 15
Mouse.hide(); stop(); _root.timeleft = 30; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 15
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 15
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 564 MovieClip "enemies" in Frame 15
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 15
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 15
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 15
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 15
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 15
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 15
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 360 MovieClip "pistol" in Frame 15
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "pistol") { if (dir == true) { _x = (_x + 5); } if (dir == false) { _x = (_x - 5); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 362 MovieClip "mine" in Frame 15
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 15
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 15
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 15
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 15
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 15
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 15
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 15
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 15
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 15
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 15
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 15
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 15
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 15
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 16
stop(); _root.cash = _root.cash + 20; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 17
Mouse.hide(); stop(); _root.timeleft = 30; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 17
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 17
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 574 MovieClip "enemies" in Frame 17
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 17
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 17
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 17
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 17
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 17
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 17
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 360 MovieClip "pistol" in Frame 17
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "pistol") { if (dir == true) { _x = (_x + 5); } if (dir == false) { _x = (_x - 5); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 362 MovieClip "mine" in Frame 17
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 17
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 17
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 17
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 17
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 17
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 17
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 17
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 17
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 17
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 17
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 17
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 17
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 17
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 18
stop(); _root.cash = _root.cash + 25; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 19
Mouse.hide(); stop(); _root.timeleft = 30; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 19
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 19
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 584 MovieClip "enemies" in Frame 19
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 19
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 19
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 19
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 19
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 19
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 19
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 360 MovieClip "pistol" in Frame 19
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "pistol") { if (dir == true) { _x = (_x + 5); } if (dir == false) { _x = (_x - 5); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 362 MovieClip "mine" in Frame 19
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 19
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 19
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 19
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 19
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 19
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 19
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 19
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 19
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 19
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 19
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 19
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 19
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 19
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 20
stop(); _root.cash = _root.cash + 30; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 21
Mouse.hide(); stop(); _root.timeleft = 30; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 21
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 21
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 594 MovieClip "enemies" in Frame 21
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 21
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 21
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 21
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 21
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 21
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 21
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 360 MovieClip "pistol" in Frame 21
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "pistol") { if (dir == true) { _x = (_x + 5); } if (dir == false) { _x = (_x - 5); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 362 MovieClip "mine" in Frame 21
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 21
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 21
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 21
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 21
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 21
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 21
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 21
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 21
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 21
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 21
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 21
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 21
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 21
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 22
stop(); _root.cash = _root.cash + 35; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 23
Mouse.hide(); stop(); _root.timeleft = 30; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 23
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 23
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 604 MovieClip "enemies" in Frame 23
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 23
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 23
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 23
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 23
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 358 MovieClip "weapons" in Frame 23
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 360 MovieClip "pistol" in Frame 23
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "pistol") { if (dir == true) { _x = (_x + 5); } if (dir == false) { _x = (_x - 5); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 362 MovieClip "mine" in Frame 23
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 23
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 23
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 23
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 23
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 23
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 23
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 23
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 356 MovieClip "ripple" in Frame 23
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 23
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 23
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 23
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 23
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 23
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 23
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 24
stop(); _root.cash = _root.cash + 40; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 25
Mouse.hide(); stop(); _root.timeleft = 30; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 25
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 25
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 613 MovieClip "enemies" in Frame 25
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 25
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 25
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 25
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 25
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 25
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 25
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 360 MovieClip "pistol" in Frame 25
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "pistol") { if (dir == true) { _x = (_x + 5); } if (dir == false) { _x = (_x - 5); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 362 MovieClip "mine" in Frame 25
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 25
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 25
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 25
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 25
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 25
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 25
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 25
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 25
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 25
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 25
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 25
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 25
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 25
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 26
stop(); _root.cash = _root.cash + 45; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 27
Mouse.hide(); stop(); _root.timeleft = 40; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 27
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 27
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 622 MovieClip "enemies" in Frame 27
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 27
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 27
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 27
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 27
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 27
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 27
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 360 MovieClip "pistol" in Frame 27
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "pistol") { if (dir == true) { _x = (_x + 5); } if (dir == false) { _x = (_x - 5); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 362 MovieClip "mine" in Frame 27
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 27
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 27
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 27
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 27
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 27
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 27
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 27
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 27
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 27
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 27
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 27
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 27
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 27
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 28
stop(); _root.cash = _root.cash + 50; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 29
Mouse.hide(); stop(); _root.timeleft = 40; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 29
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 29
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 631 MovieClip "enemies" in Frame 29
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 29
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 29
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 29
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 29
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 29
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 29
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 360 MovieClip "pistol" in Frame 29
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "pistol") { if (dir == true) { _x = (_x + 5); } if (dir == false) { _x = (_x - 5); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 362 MovieClip "mine" in Frame 29
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 29
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 29
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 29
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 29
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 29
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 29
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 29
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 29
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 29
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 29
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 29
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 29
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 29
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 30
stop(); _root.cash = _root.cash + 55; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 31
Mouse.hide(); stop(); _root.timeleft = 40; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 31
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 31
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 640 MovieClip "enemies" in Frame 31
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 31
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 31
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 31
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 31
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 31
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 31
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 360 MovieClip "pistol" in Frame 31
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "pistol") { if (dir == true) { _x = (_x + 5); } if (dir == false) { _x = (_x - 5); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 362 MovieClip "mine" in Frame 31
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 31
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 31
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 31
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 31
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 31
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 31
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 31
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 31
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 31
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 31
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 31
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 31
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 31
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 32
stop(); _root.cash = _root.cash + 60; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 33
Mouse.hide(); stop(); _root.timeleft = 40; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 33
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 33
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 649 MovieClip "enemies" in Frame 33
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 33
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 33
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 33
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 33
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 33
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 33
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 360 MovieClip "pistol" in Frame 33
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "pistol") { if (dir == true) { _x = (_x + 5); } if (dir == false) { _x = (_x - 5); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 362 MovieClip "mine" in Frame 33
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 33
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 33
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 33
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 33
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 33
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 33
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 33
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 33
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 33
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 33
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 33
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 33
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 33
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 34
stop(); _root.cash = _root.cash + 65; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 35
Mouse.hide(); stop(); _root.timeleft = 40; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 35
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 35
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 658 MovieClip "enemies" in Frame 35
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 35
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 35
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 35
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 35
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 35
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 35
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 360 MovieClip "pistol" in Frame 35
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "pistol") { if (dir == true) { _x = (_x + 5); } if (dir == false) { _x = (_x - 5); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 362 MovieClip "mine" in Frame 35
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 35
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 35
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 35
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 35
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 35
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 35
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 35
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 35
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 35
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 35
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 35
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 35
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 35
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 36
stop(); _root.cash = _root.cash + 70; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 37
Mouse.hide(); stop(); _root.timeleft = 50; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 37
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 37
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 667 MovieClip "enemies" in Frame 37
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 37
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 37
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 37
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 37
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 37
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 37
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 362 MovieClip "mine" in Frame 37
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 37
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 37
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 37
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 37
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 37
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 37
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 37
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 37
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 37
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 37
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 37
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 37
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 37
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 38
stop(); _root.cash = _root.cash + 75; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 39
Mouse.hide(); stop(); _root.timeleft = 50; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 39
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 39
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 676 MovieClip "enemies" in Frame 39
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 39
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 39
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 39
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 39
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 39
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 39
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 360 MovieClip "pistol" in Frame 39
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "pistol") { if (dir == true) { _x = (_x + 5); } if (dir == false) { _x = (_x - 5); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 362 MovieClip "mine" in Frame 39
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 39
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 39
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 39
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 39
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 39
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 39
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 39
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 39
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 39
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 39
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 39
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 39
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 39
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 40
stop(); _root.cash = _root.cash + 80; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 41
Mouse.hide(); stop(); _root.timeleft = 50; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 41
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 41
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 685 MovieClip "enemies" in Frame 41
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 41
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 41
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 41
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 41
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 41
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 41
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 360 MovieClip "pistol" in Frame 41
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "pistol") { if (dir == true) { _x = (_x + 5); } if (dir == false) { _x = (_x - 5); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 362 MovieClip "mine" in Frame 41
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 41
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 41
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 41
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 41
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 41
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 41
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 41
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 41
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 41
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 41
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 41
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 41
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 41
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 42
stop(); _root.cash = _root.cash + 85; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 43
Mouse.hide(); stop(); _root.timeleft = 50; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 43
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 43
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 694 MovieClip "enemies" in Frame 43
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 43
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 43
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 43
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 43
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 43
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 43
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 360 MovieClip "pistol" in Frame 43
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "pistol") { if (dir == true) { _x = (_x + 5); } if (dir == false) { _x = (_x - 5); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 362 MovieClip "mine" in Frame 43
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 43
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 43
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 43
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 43
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 43
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 43
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 43
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 43
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 43
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 43
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 43
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 43
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 43
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 44
stop(); _root.cash = _root.cash + 90; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 45
Mouse.hide(); stop(); _root.timeleft = 50; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 45
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 45
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 703 MovieClip "enemies" in Frame 45
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 45
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 45
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 45
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 45
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 45
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 45
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 360 MovieClip "pistol" in Frame 45
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "pistol") { if (dir == true) { _x = (_x + 5); } if (dir == false) { _x = (_x - 5); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 362 MovieClip "mine" in Frame 45
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 45
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 45
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 45
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 45
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 45
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 45
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 45
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 45
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 45
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 45
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 45
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 45
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 45
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 46
stop(); _root.cash = _root.cash + 95; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 47
Mouse.hide(); stop(); _root.timeleft = 60; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 47
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 47
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 712 MovieClip "enemies" in Frame 47
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 47
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 47
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 47
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 47
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 47
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 47
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 362 MovieClip "mine" in Frame 47
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 47
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 47
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 47
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 47
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 47
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 47
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 47
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 47
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 47
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 47
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 47
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 47
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 47
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 48
stop(); _root.cash = _root.cash + 100; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 49
Mouse.hide(); stop(); _root.timeleft = 60; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 49
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 49
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 721 MovieClip "enemies" in Frame 49
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 49
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 49
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 49
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 49
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 49
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 49
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 362 MovieClip "mine" in Frame 49
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 49
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 49
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 49
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 49
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 49
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 49
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 49
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 49
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 49
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 49
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 49
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 49
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 49
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 50
stop(); _root.cash = _root.cash + 105; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 51
Mouse.hide(); stop(); _root.timeleft = 60; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 51
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 51
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 730 MovieClip "enemies" in Frame 51
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 51
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 51
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 51
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 51
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 51
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 51
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 362 MovieClip "mine" in Frame 51
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 51
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 51
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 51
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 51
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 51
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 51
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 51
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 51
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 51
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 51
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 51
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 51
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 51
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 52
stop(); _root.cash = _root.cash + 110; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 53
Mouse.hide(); stop(); _root.timeleft = 60; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 53
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 53
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 739 MovieClip "enemies" in Frame 53
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 53
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 53
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 53
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 53
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 53
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 53
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 362 MovieClip "mine" in Frame 53
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 53
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 53
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 53
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 53
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 53
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 53
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 53
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 53
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 53
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 53
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 53
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 53
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 53
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 54
stop(); _root.cash = _root.cash + 115; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 55
Mouse.hide(); stop(); _root.timeleft = 60; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 55
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 55
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 748 MovieClip "enemies" in Frame 55
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 55
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 55
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 55
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 55
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 55
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 55
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 362 MovieClip "mine" in Frame 55
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 55
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 55
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 55
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 55
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 55
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 55
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 55
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 55
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 55
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 55
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 55
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 55
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 55
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 56
stop(); _root.cash = _root.cash + 120; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 57
Mouse.hide(); stop(); _root.timeleft = 60; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 57
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 57
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 757 MovieClip "enemies" in Frame 57
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 57
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 57
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 57
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 57
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 57
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 57
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 362 MovieClip "mine" in Frame 57
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 57
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 57
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 57
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 57
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 57
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 57
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 57
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 57
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 57
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 57
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 57
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 57
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 57
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 58
stop(); _root.cash = _root.cash + 125; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 59
Mouse.hide(); stop(); _root.timeleft = 70; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 59
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 59
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 766 MovieClip "enemies" in Frame 59
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 59
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 59
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 59
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 59
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 59
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 59
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 362 MovieClip "mine" in Frame 59
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 59
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 59
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 59
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 59
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 59
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 59
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 59
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 59
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 59
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 59
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 59
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 59
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 59
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 60
stop(); _root.cash = _root.cash + 125; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 61
Mouse.hide(); stop(); _root.timeleft = 70; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 61
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 61
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 775 MovieClip "enemies" in Frame 61
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 61
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 61
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 61
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 61
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 61
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 61
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 362 MovieClip "mine" in Frame 61
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 61
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 61
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 61
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 61
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 61
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 61
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 61
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 61
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 61
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 61
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 61
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 61
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 61
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 62
stop(); _root.cash = _root.cash + 125; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 63
Mouse.hide(); stop(); _root.timeleft = 70; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 63
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 63
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 784 MovieClip "enemies" in Frame 63
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 63
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 63
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 63
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 63
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 63
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 63
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 362 MovieClip "mine" in Frame 63
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 63
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 63
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 63
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 63
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 63
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 63
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 63
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 63
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 63
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 63
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 63
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 63
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 63
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 64
stop(); _root.cash = _root.cash + 125; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 65
Mouse.hide(); stop(); _root.timeleft = 80; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 65
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 65
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 793 MovieClip "enemies" in Frame 65
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 65
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 65
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 65
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 65
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 65
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 65
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 362 MovieClip "mine" in Frame 65
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 65
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 65
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 65
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 65
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 65
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 65
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 65
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 65
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 65
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 65
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 65
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 65
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 65
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 66
stop(); _root.cash = _root.cash + 125; _root.timeleft = 0; _root.fade.gotoAndPlay(1); _root.i = 0; _root.upgrade.amountofbubbles = _root.bubblelimit; _root.upgrade.amountofspikes = _root.spikelimit;
Frame 67
Mouse.hide(); stop(); _root.timeleft = 90; _root.amountofbubbles = _root.bubblelimit; _root.amountofspikes = _root.spikelimit; _root.BFname.thename = _root.john; _root.BFname2.thename2 = _root.bob; _root.BFname3.thename3 = _root.fred; _root.BFname4.thename4 = _root.ted; _root.fade.gotoAndPlay(1); _root.gameover = 0; _root.i = 0;
Instance of Symbol 343 MovieClip "bubble" in Frame 67
onClipEvent (load) { onlyonce = false; if (_name != "bubble") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y < -50) { _root.amountofbubbles = _root.amountofbubbles + 1; removeMovieClip(this); } if (_name != "bubble") { if ((_root.mousebubbledown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebubbledown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y - (_width / 15)); } } }
Instance of Symbol 344 MovieClip "bomb" in Frame 67
onClipEvent (load) { onlyonce = false; if (_name != "bomb") { _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_y > 450) { _root.amountofspikes = _root.amountofspikes + 1; removeMovieClip(this); } if (_name != "bomb") { if ((_root.mousebombdown == true) and (onlyonce == false)) { mousedown = true; onlyonce = true; } if (_root.mousebombdown == false) { mousedown = false; } if (_width > 80) { _width = 80; } if (_height > 80) { _height = 80; } if (mousedown == true) { _width = (_width + 1); _height = (_height + 1); } else if (mousedown == false) { _y = (_y + (_width / 15)); } } }
Instance of Symbol 802 MovieClip "enemies" in Frame 67
onClipEvent (enterFrame) { if (_root.gameover == 0) { _root.gotoAndStop(7); } }
Instance of Symbol 348 MovieClip "BFname" in Frame 67
onClipEvent (enterFrame) { _x = _root.basicfish._x; _y = (_root.basicfish._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 350 MovieClip "BFname2" in Frame 67
onClipEvent (enterFrame) { _x = _root.basicfish2._x; _y = (_root.basicfish2._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 352 MovieClip "BFname3" in Frame 67
onClipEvent (enterFrame) { _x = _root.basicfish3._x; _y = (_root.basicfish3._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 354 MovieClip "BFname4" in Frame 67
onClipEvent (enterFrame) { _x = _root.basicfish4._x; _y = (_root.basicfish4._y - 30); if (_root.timeleft == 0) { _visible = false; } }
Instance of Symbol 356 MovieClip "ripple" in Frame 67
onClipEvent (load) { gotoAndStop (150); } onClipEvent (mouseDown) { if (((_root._ymouse < 330) and (_root._ymouse > 70)) and (_currentframe == 150)) { _x = _root._xmouse; _y = _root._ymouse; gotoAndPlay (2); } }
Instance of Symbol 358 MovieClip "weapons" in Frame 67
onClipEvent (load) { i = 0; timer = random(100); timer2 = random(100); timer3 = random(100); timer4 = random(100); } onClipEvent (enterFrame) { if (i > 20) { i = 0; } timer--; timer2--; timer3--; timer4--; if (((_root.whatequip == 1) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish._x; _root["newpistol" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 1) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish2._x; _root["newpistol" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 1) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish3._x; _root["newpistol" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 1) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.pistol, "newpistol" + i, _root.getNextHighestDepth()); _root["newpistol" + i]._x = _root.basicfish4._x; _root["newpistol" + i]._y = _root.basicfish4._y; timer4 = 100; } if (((_root.whatequip == 2) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish._x; _root["newmine" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 2) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish2._x; _root["newmine" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 2) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish3._x; _root["newmine" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 2) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.mine, "newmine" + i, _root.getNextHighestDepth()); _root["newmine" + i]._x = _root.basicfish4._x; _root["newmine" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } if (((_root.whatequip == 3) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish._x; _root["newshotgun" + i]._y = _root.basicfish._y; timer = 100; i = i + 1; } if (((_root.whatequip2 == 3) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish2._x; _root["newshotgun" + i]._y = _root.basicfish2._y; timer2 = 100; i = i + 1; } if (((_root.whatequip3 == 3) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish3._x; _root["newshotgun" + i]._y = _root.basicfish3._y; timer3 = 100; i = i + 1; } if (((_root.whatequip4 == 3) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.shotgun, "newshotgun" + i, _root.getNextHighestDepth()); _root["newshotgun" + i]._x = _root.basicfish4._x; _root["newshotgun" + i]._y = _root.basicfish4._y; timer4 = 100; i = i + 1; } if (((_root.whatequip == 5) and (timer < 0)) and (_root.fish1dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish._x; _root["newgrenade" + i]._y = _root.basicfish._y; timer = 300; i = i + 1; } if (((_root.whatequip2 == 5) and (timer2 < 0)) and (_root.fish2dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish2._x; _root["newgrenade" + i]._y = _root.basicfish2._y; timer2 = 300; i = i + 1; } if (((_root.whatequip3 == 5) and (timer3 < 0)) and (_root.fish3dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish3._x; _root["newgrenade" + i]._y = _root.basicfish3._y; timer3 = 300; i = i + 1; } if (((_root.whatequip4 == 5) and (timer4 < 0)) and (_root.fish4dead == false)) { duplicateMovieClip (_root.grenade, "newgrenade" + i, _root.getNextHighestDepth()); _root["newgrenade" + i]._x = _root.basicfish4._x; _root["newgrenade" + i]._y = _root.basicfish4._y; timer4 = 300; i = i + 1; } if (((_root.whatequip == 7) and (timer < 0)) and (_root.fish1dead == false)) { if (_root.dir1 == true) { _root.Bdir = true; } if (_root.dir1 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish._x; _root["newrocket" + i]._y = _root.basicfish._y; timer = 200; i = i + 1; } if (((_root.whatequip2 == 7) and (timer2 < 0)) and (_root.fish2dead == false)) { if (_root.dir2 == true) { _root.Bdir = true; } if (_root.dir2 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish2._x; _root["newrocket" + i]._y = _root.basicfish2._y; timer2 = 200; i = i + 1; } if (((_root.whatequip3 == 7) and (timer3 < 0)) and (_root.fish3dead == false)) { if (_root.dir3 == true) { _root.Bdir = true; } if (_root.dir3 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish3._x; _root["newrocket" + i]._y = _root.basicfish3._y; timer3 = 200; i = i + 1; } if (((_root.whatequip4 == 7) and (timer4 < 0)) and (_root.fish4dead == false)) { if (_root.dir4 == true) { _root.Bdir = true; } if (_root.dir4 == false) { _root.Bdir = false; } duplicateMovieClip (_root.rocket, "newrocket" + i, _root.getNextHighestDepth()); _root["newrocket" + i]._x = _root.basicfish4._x; _root["newrocket" + i]._y = _root.basicfish4._y; timer4 = 200; i = i + 1; } }
Instance of Symbol 362 MovieClip "mine" in Frame 67
onClipEvent (load) { speed = 1; } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "mine") { _y = (_y + speed); if (_y > 550) { removeMovieClip(this); } } }
Instance of Symbol 365 MovieClip "shotgun" in Frame 67
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_name != "shotgun") { if (dir == true) { _x = (_x + 4); } if (dir == false) { _x = (_x - 4); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 375 MovieClip "grenade" in Frame 67
onClipEvent (enterFrame) { if (_root.timeleft <= 0) { removeMovieClip(this); } if (_currentframe != 50) { _y = (_y - 1); _rotation = (_rotation + 1); } if (bang._currentframe == 16) { removeMovieClip(this); } }
Instance of Symbol 383 MovieClip "rocket" in Frame 67
onClipEvent (load) { if (_root.Bdir == true) { dir = true; } if (_root.Bdir == false) { dir = false; } } onClipEvent (enterFrame) { if (_name != "rocket") { if (_root.timeleft <= 0) { removeMovieClip(this); } if (dir == true) { _x = (_x + 6); } if (dir == false) { _x = (_x - 6); } if (_x < 0) { removeMovieClip(this); } if (_x > 550) { removeMovieClip(this); } } }
Instance of Symbol 458 MovieClip "basicfish" in Frame 67
onClipEvent (load) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish1dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir1 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir1 = false; } } onClipEvent (enterFrame) { if ((_root.whatequip == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname._visible = false; _root.fish1dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir1 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir1 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (_root.ripple._currentframe < 50) { if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir1 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir1 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } }
Instance of Symbol 458 MovieClip "basicfish2" in Frame 67
onClipEvent (load) { if (_root.boughtfish2 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish2dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir2 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir2 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish2 == true) { if ((_root.whatequip2 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip2 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip2 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip2 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip2 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip2 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip2 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip2 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname2._visible = false; _root.fish2dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir2 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir2 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir2 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir2 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish3" in Frame 67
onClipEvent (load) { if (_root.boughtfish3 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish3dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir3 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir3 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish3 == true) { if ((_root.whatequip3 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip3 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip3 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip3 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip3 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip3 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip3 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip3 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname3._visible = false; _root.fish3dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir3 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir3 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir3 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir3 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 458 MovieClip "basicfish4" in Frame 67
onClipEvent (load) { if (_root.boughtfish4 == true) { speed = Math.random() + 0.4; _root.gameover = _root.gameover + 1; _root.fish4dead = false; _x = (random(200) + 50); _y = (random(200) + 80); switcher = 0; timer = 0; scale = _xscale; _root.dir4 = true; Xswitcher = random(2) + 1; Yswitcher = random(2) + 1; if (Xswitcher == 2) { _xscale = (-scale); _root.dir4 = false; } } } onClipEvent (enterFrame) { if (_root.boughtfish4 == true) { if ((_root.whatequip4 == 1) and (_currentframe != 10)) { this.gotoAndStop(2); } if ((_root.whatequip4 == 2) and (_currentframe != 10)) { this.gotoAndStop(3); } if ((_root.whatequip4 == 3) and (_currentframe != 10)) { this.gotoAndStop(4); } if ((_root.whatequip4 == 4) and (_currentframe != 10)) { this.gotoAndStop(5); } if ((_root.whatequip4 == 5) and (_currentframe != 10)) { this.gotoAndStop(6); } if ((_root.whatequip4 == 6) and (_currentframe != 10)) { this.gotoAndStop(7); } if ((_root.whatequip4 == 7) and (_currentframe != 10)) { this.gotoAndStop(8); } if ((_root.whatequip4 == 8) and (_currentframe != 10)) { this.gotoAndStop(9); } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } hp._xscale = hp._xscale - 0.02; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { _root.BFname4._visible = false; _root.fish4dead = true; gotoAndStop (10); } timer++; if (timer == 200) { timer = 0; } if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if (_x < 30) { Xswitcher = 1; _root.dir4 = true; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _root.dir4 = false; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } nudgeonce--; if (nudgeonce <= 0) { if (right.hitTest(_root.ripple) and (Xswitcher == 1)) { Xswitcher = 2; _xscale = (-scale); _root.dir4 = false; nudgeonce = 100; } if (right.hitTest(_root.ripple) and (Xswitcher == 2)) { Xswitcher = 1; _xscale = scale; _root.dir4 = true; nudgeonce = 100; } } if (up.hitTest(_root.ripple)) { Yswitcher = 1; nudgeonce = 100; } if (down.hitTest(_root.ripple)) { Yswitcher = 2; nudgeonce = 100; } if (_y > 360) { _y = 360; } if (_y < 60) { _y = 60; } } }
Instance of Symbol 463 MovieClip "enemyfish" in Frame 67
onClipEvent (load) { time = 100; if (_name != "enemyfish") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; Xswitcher = 1; _xscale = scale; } if (sideswap == 2) { _x = 600; Xswitcher = 2; _xscale = (-scale); } Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { hp._xscale = hp._xscale - 30; removeMovieClip(_root["newpistol" + i]); } if (this.hitTest(_root["newmine" + i])) { hp._xscale = hp._xscale - 40; removeMovieClip(_root["newmine" + i]); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - 50; } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - 10; } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - 90; } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - 1; } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - 20; } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - 200; } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } if (_root.basicfish.hit.hitTest(this) and (timer == 0)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; timer = 100; } if (_root.basicfish2.hit.hitTest(this) and (timer == 0)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; timer = 100; } if (_root.basicfish3.hit.hitTest(this) and (timer == 0)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; timer = 100; } if (_root.basicfish4.hit.hitTest(this) and (timer == 0)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; timer = 100; } } }
Instance of Symbol 492 MovieClip "enemycrab" in Frame 67
onClipEvent (load) { time = 100; resistance = 3; if (_name != "enemycrab") { _y = 375; _x = 585; timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemycrab") { if (pincer._currentframe < 80) { _x = (_x - 1); } if (_x < 0) { removeMovieClip(this); } i = 0; while (i < 22) { if (hit.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (hit.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (hit.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (hit.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (hit.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 30) { hp._xscale = 30; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 496 MovieClip "enemybomb" in Frame 67
onClipEvent (load) { time = 100; BOOM = random(200) + 30; resistance = 0; if (_name != "enemybomb") { _y = (random(330) + 70); sideswap = random(2) + 1; if (sideswap == 1) { _x = -50; } if (sideswap == 2) { _x = 600; } timer = 0; attacking = false; speed = 1; switcher = 0; } } onClipEvent (enterFrame) { if (_name != "enemybomb") { if (bang._currentframe == 16) { removeMovieClip(this); } if (_currentframe == 1) { if (sideswap == 1) { _x = (_x + 2.5); } if (sideswap == 2) { _x = (_x - 2.5); } } BOOM--; if (BOOM <= 0) { if ((bang._currentframe == 2) and (_name != "enemybomb")) { someSound = new Sound(); someSound.attachSound("bang", this); someSound.start(0, 1); } gotoAndStop (2); } i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 20) { hp._xscale = 20; } if (hp._xscale < 2) { gotoAndStop (2); } timer--; if (timer < 0) { timer = 0; } } }
Instance of Symbol 515 MovieClip "enemyocto" in Frame 67
onClipEvent (load) { time = 100; resistance = 6; if (_name != "enemyocto") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 0.5; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyocto") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 517 MovieClip "enemyhorse" in Frame 67
onClipEvent (load) { time = 100; resistance = 2; if (_name != "enemyhorse") { _y = (random(320) + 80); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Ytimer = 100; posswitch = true; } } onClipEvent (enterFrame) { Ytimer--; if (Ytimer < 0) { if (posswitch == true) { posswitch = false; Ytimer = 100; } else if (posswitch == false) { posswitch = true; Ytimer = 100; } } if (posswitch == true) { _y = (_y - 0.5); } else if (posswitch == false) { _y = (_y + 0.5); } if (_name != "enemyhorse") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); } timer--; if (timer < 0) { timer = 0; } } } }
Instance of Symbol 523 MovieClip "enemyshark" in Frame 67
onClipEvent (load) { time = 100; resistance = 8; if (_name != "enemyshark") { _y = (random(200) + 50); _x = (-random(100)); timer = 0; attacking = false; speed = 1; switcher = 0; scale = _xscale; Xswitcher = 1; Yswitcher = random(2) + 1; } } onClipEvent (enterFrame) { if (_name != "enemyshark") { i = 0; while (i < 22) { if (this.hitTest(_root["newpistol" + i])) { removeMovieClip(_root["newpistol" + i]); hp._xscale = hp._xscale - (30 / resistance); } if (this.hitTest(_root["newmine" + i])) { removeMovieClip(_root["newmine" + i]); hp._xscale = hp._xscale - (40 / resistance); } if (this.hitTest(_root["newshotgun" + i])) { removeMovieClip(_root["newshotgun" + i]); hp._xscale = hp._xscale - (50 / resistance); } if (this.hitTest(_root["newgrenade" + i].bang)) { removeMovieClip(_root["newgrenade" + i].bang); hp._xscale = hp._xscale - (10 / resistance); } if (this.hitTest(_root["newrocket" + i])) { removeMovieClip(_root["newrocket" + i]); hp._xscale = hp._xscale - (90 / resistance); } i++; } i = 0; while (i < 21) { if (hit.hitTest(_root["newbubble" + i])) { someSound = new Sound(); someSound.attachSound("pop", this); someSound.start(0, 1); _root.amountofbubbles = _root.amountofbubbles + 1; hp._xscale = hp._xscale + (_root["newbubble" + i]._width / 3); removeMovieClip(_root["newbubble" + i]); } if (hit.hitTest(_root["newspike" + i])) { someSound = new Sound(); someSound.attachSound("hit", this); someSound.start(0, 1); _root.amountofspikes = _root.amountofspikes + 1; hp._xscale = hp._xscale - (_root["newspike" + i]._width / 3); removeMovieClip(_root["newspike" + i]); } i++; } if (_root.basicfish.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish2.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish3.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish4.swinging.hitTest(this)) { hp._xscale = hp._xscale - (1 / resistance); } if (_root.basicfish.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish2.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish3.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish4.laser.hitTest(this)) { hp._xscale = hp._xscale - (20 / resistance); } if (_root.basicfish.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish2.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish3.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.basicfish4.ion.hitTest(this)) { hp._xscale = hp._xscale - (50 / resistance); } if (_root.timeleft <= 0) { removeMovieClip(this); } time--; if (hp._xscale > 70) { hp._xscale = 70; } if (hp._xscale < 2) { gotoAndStop (2); } if (attacking == false) { if (Xswitcher == 1) { _x = (_x + speed); } if (Xswitcher == 2) { _x = (_x - speed); } if (Yswitcher == 1) { _y = (_y + speed); } if (Yswitcher == 2) { _y = (_y - speed); } if ((_x < 30) and (time < 0)) { Xswitcher = 1; _xscale = scale; Yswitcher = random(2) + 1; } if (_x > 500) { Xswitcher = 2; _xscale = (-scale); Yswitcher = random(2) + 1; } if (_y < 100) { Yswitcher = 1; } if (_y > 350) { Yswitcher = 2; } timer--; if (timer < 0) { timer = 0; } } } }
Frame 68
stop(); _root.timeleft = 0;
Symbol 14 MovieClip Frame 1
stop();
Symbol 23 MovieClip Frame 1
stop();
Symbol 23 MovieClip Frame 2
stop();
Symbol 23 MovieClip Frame 3
stop();
Symbol 31 Button
on (release) { getURL ("http://www.notdoppler.com", "_blank"); }
Symbol 37 Button
on (release) { getURL ("http://www.eggysgames.com/", "blank"); }
Symbol 44 Button
on (release) { getURL ("http://octomon.wordpress.com/", "blank"); }
Symbol 47 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { _root.gotoAndStop(2); }
Symbol 47 MovieClip Frame 2
gotoAndPlay (1);
Symbol 52 MovieClip Frame 6
stop();
Symbol 53 Button
on (release) { getURL ("http://www.notdoppler.com", "_blank"); }
Symbol 68 MovieClip Frame 372
stop(); _root.nextFrame();
Symbol 77 MovieClip Frame 58
stop();
Symbol 86 MovieClip Frame 212
stopAllSounds(); _root.nextFrame();
Symbol 98 MovieClip Frame 143
stop(); _root.nextFrame();
Symbol 107 Button
on (press) { _root.gotoAndStop(8); }
Symbol 112 Button
on (press) { _root.nextFrame(); }
Symbol 169 Button
on (press) { _root.gotoAndStop(8); }
Symbol 176 MovieClip Frame 1
stop();
Symbol 220 Button
on (press) { _root.gotoAndStop(8); }
Symbol 224 Button
on (release) { getURL ("http://www.notdoppler.com", "_blank"); }
Symbol 229 Button
on (press) { if (_root.upgrade._currentframe == 1) { _root.john = _root.upgrade.basicfishname; _root.bob = _root.upgrade.buyfish2.basicfishname2; _root.fred = _root.upgrade.buyfish3.basicfishname3; _root.ted = _root.upgrade.buyfish4.basicfishname4; } _root.nextFrame(); }
Symbol 236 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 2
stop(); if (_root.upgrade.buyfish2.basicfishname2 == "undefined") { _root.bob = "Liza"; } _root.upgrade.buyfish2.basicfishname2 = _root.bob;
Symbol 243 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 2
stop(); if (_root.upgrade.buyfish3.basicfishname3 == "undefined") { _root.fred = "Giggles"; } _root.upgrade.buyfish3.basicfishname3 = _root.fred;
Symbol 247 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 2
stop(); if (_root.upgrade.buyfish2.basicfishname2 == "undefined") { _root.ted = "Johnny"; } _root.upgrade.buyfish4.basicfishname4 = _root.ted;
Symbol 269 MovieClip Frame 1
stop();
Instance of Symbol 265 MovieClip "pistol" in Symbol 269 MovieClip Frame 1
onClipEvent (load) { if (_root.basicfishpistol == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 20) and (_currentframe == 1)) { _root.cash = _root.cash - 20; _root.basicfishpistol = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip = 1; } }
Symbol 269 MovieClip Frame 2
stop();
Symbol 277 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 2
stop();
Symbol 281 MovieClip Frame 1
stop();
Symbol 281 MovieClip Frame 2
stop();
Symbol 285 MovieClip Frame 1
stop();
Symbol 285 MovieClip Frame 2
stop();
Symbol 290 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 2
stop();
Symbol 295 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 2
stop();
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 2
stop();
Symbol 305 MovieClip Frame 1
stop();
Symbol 305 MovieClip Frame 2
stop();
Symbol 306 MovieClip Frame 1
stop();
Instance of Symbol 269 MovieClip "pistol" in Symbol 306 MovieClip Frame 1
onClipEvent (load) { if (_root.basicfishpistol == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 20) and (_currentframe == 1)) { someSound = new Sound(); someSound.attachSound("mon", this); someSound.start(0, 1); _root.cash = _root.cash - 20; _root.basicfishpistol = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip = 1; } }
Instance of Symbol 277 MovieClip "mines" in Symbol 306 MovieClip Frame 1
onClipEvent (load) { if (_root.basicfishmines == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 25) and (_currentframe == 1)) { _root.cash = _root.cash - 25; _root.basicfishmines = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip = 2; } }
Instance of Symbol 281 MovieClip "shotgun" in Symbol 306 MovieClip Frame 1
onClipEvent (load) { if (_root.basicfishshotgun == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 50) and (_currentframe == 1)) { _root.cash = _root.cash - 50; _root.basicfishshotgun = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip = 3; } }
Instance of Symbol 285 MovieClip "swinging" in Symbol 306 MovieClip Frame 1
onClipEvent (load) { if (_root.basicfishswinging == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 100) and (_currentframe == 1)) { _root.cash = _root.cash - 100; _root.basicfishswinging = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip = 4; } }
Instance of Symbol 290 MovieClip "grenade" in Symbol 306 MovieClip Frame 1
onClipEvent (load) { if (_root.basicfishgrenade == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 200) and (_currentframe == 1)) { _root.cash = _root.cash - 200; _root.basicfishgrenade = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip = 5; } }
Instance of Symbol 295 MovieClip "laser" in Symbol 306 MovieClip Frame 1
onClipEvent (load) { if (_root.basicfishlaser == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 450) and (_currentframe == 1)) { _root.cash = _root.cash - 450; _root.basicfishlaser = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip = 6; } }
Instance of Symbol 300 MovieClip "rocket" in Symbol 306 MovieClip Frame 1
onClipEvent (load) { if (_root.basicfishrocket == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 700) and (_currentframe == 1)) { _root.cash = _root.cash - 700; _root.basicfishrocket = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip = 7; } }
Instance of Symbol 305 MovieClip "ion" in Symbol 306 MovieClip Frame 1
onClipEvent (load) { if (_root.basicfishion == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 1000) and (_currentframe == 1)) { _root.cash = _root.cash - 1000; _root.basicfishion = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip = 8; } }
Symbol 306 MovieClip Frame 2
stop();
Instance of Symbol 269 MovieClip "pistol" in Symbol 306 MovieClip Frame 2
onClipEvent (load) { if (_root.basicfish2pistol == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash > 20) and (_currentframe == 1)) { _root.cash = _root.cash - 20; _root.basicfish2pistol = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip2 = 1; } }
Instance of Symbol 277 MovieClip "mines" in Symbol 306 MovieClip Frame 2
onClipEvent (load) { if (_root.basicfish2mines == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 25) and (_currentframe == 1)) { _root.cash = _root.cash - 25; _root.basicfish2mines = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip2 = 2; } }
Instance of Symbol 281 MovieClip "shotgun" in Symbol 306 MovieClip Frame 2
onClipEvent (load) { if (_root.basicfish2shotgun == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 50) and (_currentframe == 1)) { _root.cash = _root.cash - 50; _root.basicfish2shotgun = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip2 = 3; } }
Instance of Symbol 285 MovieClip "swinging" in Symbol 306 MovieClip Frame 2
onClipEvent (load) { if (_root.basicfish2swinging == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 100) and (_currentframe == 1)) { _root.cash = _root.cash - 100; _root.basicfish2swinging = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip2 = 4; } }
Instance of Symbol 290 MovieClip "grenade" in Symbol 306 MovieClip Frame 2
onClipEvent (load) { if (_root.basicfish2grenade == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 200) and (_currentframe == 1)) { _root.cash = _root.cash - 200; _root.basicfish2grenade = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip2 = 5; } }
Instance of Symbol 295 MovieClip "laser" in Symbol 306 MovieClip Frame 2
onClipEvent (load) { if (_root.basicfish2laser == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 450) and (_currentframe == 1)) { _root.cash = _root.cash - 450; _root.basicfish2laser = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip2 = 6; } }
Instance of Symbol 300 MovieClip "rocket" in Symbol 306 MovieClip Frame 2
onClipEvent (load) { if (_root.basicfish2rocket == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 700) and (_currentframe == 1)) { _root.cash = _root.cash - 700; _root.basicfish2rocket = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip2 = 7; } }
Instance of Symbol 305 MovieClip "ion" in Symbol 306 MovieClip Frame 2
onClipEvent (load) { if (_root.basicfish2ion == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 1000) and (_currentframe == 1)) { _root.cash = _root.cash - 1000; _root.basicfish2ion = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip2 = 8; } }
Symbol 306 MovieClip Frame 3
stop();
Instance of Symbol 269 MovieClip "pistol" in Symbol 306 MovieClip Frame 3
onClipEvent (load) { if (_root.basicfish3pistol == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash > 20) and (_currentframe == 1)) { _root.cash = _root.cash - 20; _root.basicfish3pistol = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip3 = 1; } }
Instance of Symbol 277 MovieClip "mines" in Symbol 306 MovieClip Frame 3
onClipEvent (load) { if (_root.basicfish3mines == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 25) and (_currentframe == 1)) { _root.cash = _root.cash - 25; _root.basicfish3mines = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip3 = 2; } }
Instance of Symbol 281 MovieClip "shotgun" in Symbol 306 MovieClip Frame 3
onClipEvent (load) { if (_root.basicfish3shotgun == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 50) and (_currentframe == 1)) { _root.cash = _root.cash - 50; _root.basicfish3shotgun = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip3 = 3; } }
Instance of Symbol 285 MovieClip "swinging" in Symbol 306 MovieClip Frame 3
onClipEvent (load) { if (_root.basicfish3swinging == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 100) and (_currentframe == 1)) { _root.cash = _root.cash - 100; _root.basicfish3swinging = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip3 = 4; } }
Instance of Symbol 290 MovieClip "grenade" in Symbol 306 MovieClip Frame 3
onClipEvent (load) { if (_root.basicfish3grenade == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 200) and (_currentframe == 1)) { _root.cash = _root.cash - 200; _root.basicfish3grenade = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip3 = 5; } }
Instance of Symbol 295 MovieClip "laser" in Symbol 306 MovieClip Frame 3
onClipEvent (load) { if (_root.basicfish3laser == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 450) and (_currentframe == 1)) { _root.cash = _root.cash - 450; _root.basicfish3laser = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip3 = 6; } }
Instance of Symbol 300 MovieClip "rocket" in Symbol 306 MovieClip Frame 3
onClipEvent (load) { if (_root.basicfish3rocket == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 700) and (_currentframe == 1)) { _root.cash = _root.cash - 700; _root.basicfish3rocket = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip3 = 7; } }
Instance of Symbol 305 MovieClip "ion" in Symbol 306 MovieClip Frame 3
onClipEvent (load) { if (_root.basicfish3ion == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 1000) and (_currentframe == 1)) { _root.cash = _root.cash - 1000; _root.basicfish3ion = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip3 = 8; } }
Symbol 306 MovieClip Frame 4
stop();
Instance of Symbol 269 MovieClip "pistol" in Symbol 306 MovieClip Frame 4
onClipEvent (load) { if (_root.basicfish4pistol == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash > 20) and (_currentframe == 1)) { _root.cash = _root.cash - 20; _root.basicfish4pistol = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip4 = 1; } }
Instance of Symbol 277 MovieClip "mines" in Symbol 306 MovieClip Frame 4
onClipEvent (load) { if (_root.basicfish4mines == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 25) and (_currentframe == 1)) { _root.cash = _root.cash - 25; _root.basicfish4mines = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip4 = 2; } }
Instance of Symbol 281 MovieClip "shotgun" in Symbol 306 MovieClip Frame 4
onClipEvent (load) { if (_root.basicfish4shotgun == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 50) and (_currentframe == 1)) { _root.cash = _root.cash - 50; _root.basicfish4shotgun = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip4 = 3; } }
Instance of Symbol 285 MovieClip "swinging" in Symbol 306 MovieClip Frame 4
onClipEvent (load) { if (_root.basicfish4swinging == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 100) and (_currentframe == 1)) { _root.cash = _root.cash - 100; _root.basicfish4swinging = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip4 = 4; } }
Instance of Symbol 290 MovieClip "grenade" in Symbol 306 MovieClip Frame 4
onClipEvent (load) { if (_root.basicfish4grenade == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 200) and (_currentframe == 1)) { _root.cash = _root.cash - 200; _root.basicfish4grenade = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip4 = 5; } }
Instance of Symbol 295 MovieClip "laser" in Symbol 306 MovieClip Frame 4
onClipEvent (load) { if (_root.basicfish4laser == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 450) and (_currentframe == 1)) { _root.cash = _root.cash - 450; _root.basicfish4laser = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip4 = 6; } }
Instance of Symbol 300 MovieClip "rocket" in Symbol 306 MovieClip Frame 4
onClipEvent (load) { if (_root.basicfish4rocket == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 700) and (_currentframe == 1)) { _root.cash = _root.cash - 700; _root.basicfish4rocket = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip4 = 7; } }
Instance of Symbol 305 MovieClip "ion" in Symbol 306 MovieClip Frame 4
onClipEvent (load) { if (_root.basicfish4ion == true) { this.gotoAndStop(2); } } on (press) { if ((_root.cash >= 1000) and (_currentframe == 1)) { _root.cash = _root.cash - 1000; _root.basicfish4ion = true; this.gotoAndStop(2); } if (_currentframe == 2) { _root.whatequip4 = 8; } }
Symbol 313 Button
on (press) { if ((_root.upgrade.currentfish._currentframe == 1) and (_root.boughtfish2 == true)) { _root.upgrade.currentfish.nextFrame(); _root.upgrade.buy.nextFrame(); _root.upgrade.equip.nextFrame(); } else if ((_root.upgrade.currentfish._currentframe == 2) and (_root.boughtfish3 == true)) { _root.upgrade.currentfish.nextFrame(); _root.upgrade.buy.nextFrame(); _root.upgrade.equip.nextFrame(); } else if ((_root.upgrade.currentfish._currentframe == 3) and (_root.boughtfish4 == true)) { _root.upgrade.currentfish.nextFrame(); _root.upgrade.buy.nextFrame(); _root.upgrade.equip.nextFrame(); } }
Symbol 320 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 2
stop();
Symbol 320 MovieClip Frame 3
stop();
Symbol 320 MovieClip Frame 4
stop();
Symbol 323 MovieClip Frame 1
stop();
Symbol 323 MovieClip Frame 2
stop();
Symbol 323 MovieClip Frame 3
stop();
Symbol 323 MovieClip Frame 4
stop();
Symbol 323 MovieClip Frame 5
stop();
Symbol 323 MovieClip Frame 6
stop();
Symbol 323 MovieClip Frame 7
stop();
Symbol 323 MovieClip Frame 8
stop();
Symbol 323 MovieClip Frame 9
stop();
Symbol 324 MovieClip Frame 1
stop();
Instance of Symbol 323 MovieClip "equipped" in Symbol 324 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.whatequip == 0) { this.gotoAndStop(1); } if (_root.whatequip == 1) { this.gotoAndStop(2); } if (_root.whatequip == 2) { this.gotoAndStop(3); } if (_root.whatequip == 3) { this.gotoAndStop(4); } if (_root.whatequip == 4) { this.gotoAndStop(5); } if (_root.whatequip == 5) { this.gotoAndStop(6); } if (_root.whatequip == 6) { this.gotoAndStop(7); } if (_root.whatequip == 7) { this.gotoAndStop(8); } if (_root.whatequip == 8) { this.gotoAndStop(9); } }
Symbol 324 MovieClip Frame 2
stop();
Instance of Symbol 323 MovieClip "equipped" in Symbol 324 MovieClip Frame 2
onClipEvent (enterFrame) { if (_root.whatequip2 == 0) { this.gotoAndStop(1); } if (_root.whatequip2 == 1) { this.gotoAndStop(2); } if (_root.whatequip2 == 2) { this.gotoAndStop(3); } if (_root.whatequip2 == 3) { this.gotoAndStop(4); } if (_root.whatequip2 == 4) { this.gotoAndStop(5); } if (_root.whatequip2 == 5) { this.gotoAndStop(6); } if (_root.whatequip2 == 6) { this.gotoAndStop(7); } if (_root.whatequip2 == 7) { this.gotoAndStop(8); } if (_root.whatequip2 == 8) { this.gotoAndStop(9); } }
Symbol 324 MovieClip Frame 3
stop();
Instance of Symbol 323 MovieClip "equipped" in Symbol 324 MovieClip Frame 3
onClipEvent (enterFrame) { if (_root.whatequip3 == 0) { this.gotoAndStop(1); } if (_root.whatequip3 == 1) { this.gotoAndStop(2); } if (_root.whatequip3 == 2) { this.gotoAndStop(3); } if (_root.whatequip3 == 3) { this.gotoAndStop(4); } if (_root.whatequip3 == 4) { this.gotoAndStop(5); } if (_root.whatequip3 == 5) { this.gotoAndStop(6); } if (_root.whatequip3 == 6) { this.gotoAndStop(7); } if (_root.whatequip3 == 7) { this.gotoAndStop(8); } if (_root.whatequip3 == 8) { this.gotoAndStop(9); } }
Symbol 324 MovieClip Frame 4
stop();
Instance of Symbol 323 MovieClip "equipped" in Symbol 324 MovieClip Frame 4
onClipEvent (enterFrame) { if (_root.whatequip4 == 0) { this.gotoAndStop(1); } if (_root.whatequip4 == 1) { this.gotoAndStop(2); } if (_root.whatequip4 == 2) { this.gotoAndStop(3); } if (_root.whatequip4 == 3) { this.gotoAndStop(4); } if (_root.whatequip4 == 4) { this.gotoAndStop(5); } if (_root.whatequip4 == 5) { this.gotoAndStop(6); } if (_root.whatequip4 == 6) { this.gotoAndStop(7); } if (_root.whatequip4 == 7) { this.gotoAndStop(8); } if (_root.whatequip4 == 8) { this.gotoAndStop(9); } }
Symbol 337 MovieClip Frame 1
stop(); _root.upgrade.basicfishname = _root.john;
Instance of Symbol 236 MovieClip "buyfish2" in Symbol 337 MovieClip Frame 1
onClipEvent (load) { if (_root.boughtfish2 == true) { gotoAndStop (2); } }
Instance of Symbol 243 MovieClip in Symbol 337 MovieClip Frame 1
on (press) { if (((_root.cash > 100) and (_currentframe == 1)) and (_root.boughtfish2 == true)) { _root.upgrade.buyfish3.basicfishname3 = "Terry"; _root.fred = "Terry"; _root.cash = _root.cash - 100; _root.boughtfish3 = true; _root.upgrade.buyfish3.gotoAndStop(2); _visible = false; } } onClipEvent (load) { if (_root.boughtfish3 == true) { _visible = false; } }
Instance of Symbol 243 MovieClip in Symbol 337 MovieClip Frame 1
on (press) { if (((_root.cash > 100) and (_currentframe == 1)) and (_root.boughtfish3 == true)) { _root.upgrade.buyfish4.basicfishname4 = "Johnny"; _root.ted = "Johnny"; _root.cash = _root.cash - 100; _root.boughtfish4 = true; _root.upgrade.buyfish4.gotoAndStop(2); _visible = false; } } onClipEvent (load) { if (_root.boughtfish4 == true) { _visible = false; } }
Instance of Symbol 245 MovieClip "buyfish3" in Symbol 337 MovieClip Frame 1
onClipEvent (load) { if (_root.boughtfish3 == true) { gotoAndStop (2); } }
Instance of Symbol 247 MovieClip "buyfish4" in Symbol 337 MovieClip Frame 1
onClipEvent (load) { if (_root.boughtfish4 == true) { gotoAndStop (2); } }
Instance of Symbol 243 MovieClip in Symbol 337 MovieClip Frame 1
on (press) { if ((_root.cash > 100) and (_currentframe == 1)) { _root.upgrade.buyfish2.basicfishname2 = "Liza"; _root.bob = "Liza"; _root.cash = _root.cash - 100; _root.boughtfish2 = true; _root.upgrade.buyfish2.gotoAndStop(2); _visible = false; } } onClipEvent (load) { if (_root.boughtfish2 == true) { _visible = false; } }
Instance of Symbol 256 MovieClip in Symbol 337 MovieClip Frame 1
on (press) { _root.john = _root.upgrade.basicfishname; _root.bob = _root.upgrade.buyfish2.basicfishname2; _root.fred = _root.upgrade.buyfish3.basicfishname3; _root.ted = _root.upgrade.buyfish4.basicfishname4; _root.upgrade.gotoAndStop(2); }
Instance of Symbol 257 MovieClip in Symbol 337 MovieClip Frame 1
on (press) { _root.upgrade.gotoAndStop(1); }
Instance of Symbol 258 MovieClip in Symbol 337 MovieClip Frame 1
on (press) { _root.john = _root.upgrade.basicfishname; _root.bob = _root.upgrade.buyfish2.basicfishname2; _root.fred = _root.upgrade.buyfish3.basicfishname3; _root.ted = _root.upgrade.buyfish4.basicfishname4; _root.upgrade.gotoAndStop(3); }
Symbol 337 MovieClip Frame 2
stop(); _root.upgrade.currentfish.basicfishname = _root.john; _root.upgrade.currentfish.basicfishname2 = _root.bob; _root.upgrade.currentfish.basicfishname3 = _root.fred; _root.upgrade.currentfish.basicfishname4 = _root.ted;
Instance of Symbol 315 MovieClip in Symbol 337 MovieClip Frame 2
on (press) { if ((_root.upgrade.currentfish._currentframe == 2) and (_root.boughtfish2 == true)) { _root.upgrade.currentfish.prevFrame(); _root.upgrade.buy.prevFrame(); _root.upgrade.equip.prevFrame(); } else if ((_root.upgrade.currentfish._currentframe == 3) and (_root.boughtfish3 == true)) { _root.upgrade.currentfish.prevFrame(); _root.upgrade.buy.prevFrame(); _root.upgrade.equip.prevFrame(); } else if ((_root.upgrade.currentfish._currentframe == 4) and (_root.boughtfish4 == true)) { _root.upgrade.currentfish.prevFrame(); _root.upgrade.buy.prevFrame(); _root.upgrade.equip.prevFrame(); } }
Instance of Symbol 256 MovieClip in Symbol 337 MovieClip Frame 2
on (press) { _root.upgrade.gotoAndStop(2); }
Instance of Symbol 257 MovieClip in Symbol 337 MovieClip Frame 2
on (press) { _root.upgrade.gotoAndStop(1); }
Instance of Symbol 258 MovieClip in Symbol 337 MovieClip Frame 2
on (press) { _root.upgrade.gotoAndStop(3); }
Symbol 337 MovieClip Frame 3
stop(); _root.upgrade.currentfish.basicfishname = _root.john; _root.upgrade.currentfish.basicfishname2 = _root.bob; _root.upgrade.currentfish.basicfishname3 = _root.fred; _root.upgrade.currentfish.basicfishname4 = _root.ted; _root.upgrade.bb.bup = _root.BHOLD; _root.upgrade.ss.sup = _root.SHOLD;
Instance of Symbol 331 MovieClip "bb" in Symbol 337 MovieClip Frame 3
on (press) { if ((_root.cash >= _root.upgrade.bb.bup) and (_root.upgrade.bb.bup < 90)) { _root.cash = _root.cash - _root.upgrade.bb.bup; _root.upgrade.bb.bup = _root.upgrade.bb.bup + 10; _root.BHOLD = _root.BHOLD + 10; _root.upgrade.amountofbubbles = _root.upgrade.amountofbubbles + 1; _root.bubblelimit = _root.bubblelimit + 1; } }
Instance of Symbol 334 MovieClip "ss" in Symbol 337 MovieClip Frame 3
on (press) { if ((_root.cash >= _root.upgrade.ss.sup) and (_root.upgrade.ss.sup < 90)) { _root.cash = _root.cash - _root.upgrade.ss.sup; _root.upgrade.ss.sup = _root.upgrade.ss.sup + 10; _root.SHOLD = _root.SHOLD + 10; _root.upgrade.amountofspikes = _root.upgrade.amountofspikes + 1; _root.spikelimit = _root.spikelimit + 1; } }
Instance of Symbol 257 MovieClip in Symbol 337 MovieClip Frame 3
on (press) { _root.upgrade.gotoAndStop(1); }
Instance of Symbol 258 MovieClip in Symbol 337 MovieClip Frame 3
on (press) { _root.upgrade.gotoAndStop(3); }
Symbol 338 MovieClip Frame 60
stop();
Symbol 343 MovieClip Frame 1
stop();
Symbol 346 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 20) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 348 MovieClip Frame 1
stop();
Symbol 350 MovieClip Frame 1
stop();
Symbol 352 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 150
stop();
Symbol 374 MovieClip Frame 16
stop();
Symbol 375 MovieClip Frame 100
stop();
Symbol 457 MovieClip Frame 50
stop(); _root.gameover = _root.gameover - 1;
Symbol 458 MovieClip Frame 1
stop();
Symbol 458 MovieClip Frame 2
stop();
Symbol 458 MovieClip Frame 3
stop();
Symbol 458 MovieClip Frame 4
stop();
Symbol 458 MovieClip Frame 5
stop();
Symbol 458 MovieClip Frame 6
stop();
Symbol 458 MovieClip Frame 7
stop();
Symbol 458 MovieClip Frame 8
stop();
Symbol 458 MovieClip Frame 9
stop();
Symbol 458 MovieClip Frame 10
stop();
Symbol 462 MovieClip Frame 50
stop();
Symbol 463 MovieClip Frame 1
stop();
Symbol 463 MovieClip Frame 2
stop(); _root.cash = _root.cash + 3;
Symbol 491 MovieClip Frame 1
stop();
Instance of Symbol 467 MovieClip in Symbol 491 MovieClip Frame 3
onClipEvent (enterFrame) { if (_root.basicfish.hit.hitTest(_x, _y, true)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; } if (_root.basicfish2.hit.hitTest(_x, _y, true)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; } if (_root.basicfish3.hit.hitTest(_x, _y, true)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; } if (_root.basicfish4.hit.hitTest(_x, _y, true)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; } }
Instance of Symbol 483 MovieClip in Symbol 491 MovieClip Frame 20
onClipEvent (enterFrame) { if (_root.basicfish.hit.hitTest(_x, _y, true)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 10; } if (_root.basicfish2.hit.hitTest(_x, _y, true)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 10; } if (_root.basicfish3.hit.hitTest(_x, _y, true)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 10; } if (_root.basicfish4.hit.hitTest(_x, _y, true)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 10; } }
Symbol 492 MovieClip Frame 1
stop();
Symbol 492 MovieClip Frame 2
stop(); _root.cash = _root.cash + 5;
Symbol 496 MovieClip Frame 1
stop();
Symbol 496 MovieClip Frame 2
stop(); _root.cash = _root.cash + 10;
Instance of Symbol 374 MovieClip "bang" in Symbol 496 MovieClip Frame 2
onClipEvent (enterFrame) { if (_root.basicfish.hit.hitTest(this)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - 2.5; } if (_root.basicfish2.hit.hitTest(this)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - 2.5; } if (_root.basicfish3.hit.hitTest(this)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - 2.5; } if (_root.basicfish4.hit.hitTest(this)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - 2.5; } }
Symbol 515 MovieClip Frame 1
stop();
Instance of Symbol 514 MovieClip in Symbol 515 MovieClip Frame 1
onClipEvent (load) { damage = 1; } onClipEvent (enterFrame) { if (_root.basicfish.hit.hitTest(this)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - damage; } if (_root.basicfish2.hit.hitTest(this)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - damage; } if (_root.basicfish3.hit.hitTest(this)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - damage; } if (_root.basicfish4.hit.hitTest(this)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - damage; } }
Instance of Symbol 514 MovieClip in Symbol 515 MovieClip Frame 1
onClipEvent (load) { damage = 1; } onClipEvent (enterFrame) { if (_root.basicfish.hit.hitTest(this)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - damage; } if (_root.basicfish2.hit.hitTest(this)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - damage; } if (_root.basicfish3.hit.hitTest(this)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - damage; } if (_root.basicfish4.hit.hitTest(this)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - damage; } }
Instance of Symbol 514 MovieClip in Symbol 515 MovieClip Frame 1
onClipEvent (load) { damage = 1; } onClipEvent (enterFrame) { if (_root.basicfish.hit.hitTest(this)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - damage; } if (_root.basicfish2.hit.hitTest(this)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - damage; } if (_root.basicfish3.hit.hitTest(this)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - damage; } if (_root.basicfish4.hit.hitTest(this)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - damage; } }
Symbol 515 MovieClip Frame 2
stop(); _root.cash = _root.cash + 25;
Symbol 517 MovieClip Frame 1
stop();
Instance of Symbol 514 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) { damage = 1; } onClipEvent (enterFrame) { if (_root.basicfish.hit.hitTest(this)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - damage; } if (_root.basicfish2.hit.hitTest(this)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - damage; } if (_root.basicfish3.hit.hitTest(this)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - damage; } if (_root.basicfish4.hit.hitTest(this)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - damage; } }
Symbol 517 MovieClip Frame 2
stop(); _root.cash = _root.cash + 10;
Instance of Symbol 519 MovieClip in Symbol 520 MovieClip Frame 1
onClipEvent (load) { damage = 10; } onClipEvent (enterFrame) { if (_root.basicfish.hit.hitTest(this)) { _root.basicfish.hp._xscale = _root.basicfish.hp._xscale - damage; } if (_root.basicfish2.hit.hitTest(this)) { _root.basicfish2.hp._xscale = _root.basicfish2.hp._xscale - damage; } if (_root.basicfish3.hit.hitTest(this)) { _root.basicfish3.hp._xscale = _root.basicfish3.hp._xscale - damage; } if (_root.basicfish4.hit.hitTest(this)) { _root.basicfish4.hp._xscale = _root.basicfish4.hp._xscale - damage; } }
Symbol 523 MovieClip Frame 1
stop();
Symbol 523 MovieClip Frame 2
stop(); _root.cash = _root.cash + 30;
Symbol 526 MovieClip Frame 298
stop();
Symbol 540 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 28) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); } _root.i = _root.i + 1; if (_root.timeleft == 12) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); } _root.i = _root.i + 1;
Symbol 552 MovieClip Frame 298
stop();
Symbol 554 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 27) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 19) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); } _root.i = _root.i + 1; if (_root.timeleft == 9) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); } _root.i = _root.i + 1;
Symbol 562 MovieClip Frame 298
stop();
Symbol 564 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 29) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 20) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 15) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 8) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 572 MovieClip Frame 298
stop();
Symbol 574 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 29) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 20) { duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 16) { duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 10) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1;
Symbol 582 MovieClip Frame 298
stop();
Symbol 584 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 29) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 27) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 16) { duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 10) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1;
Symbol 592 MovieClip Frame 298
stop();
Symbol 594 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 27) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 24) { duplicateMovieClip (_root.enemyhorse, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 18) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 12) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 6) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 602 MovieClip Frame 298
stop();
Symbol 604 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 28) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 24) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 15) { duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 12) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 6) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 611 MovieClip Frame 298
stop();
Symbol 613 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 29) { duplicateMovieClip (_root.enemyhorse, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 24) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 18) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 15) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 3) { duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 620 MovieClip Frame 220
stop();
Symbol 622 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 38) { duplicateMovieClip (_root.enemycrab, "newenemyocto" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 32) { duplicateMovieClip (_root.enemyfish, "newenemyocto" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 27) { duplicateMovieClip (_root.enemyocto, "newenemyocto" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 18) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 13) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 9) { duplicateMovieClip (_root.enemycrab, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 4) { duplicateMovieClip (_root.enemycrab, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 629 MovieClip Frame 220
stop();
Symbol 631 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 38) { duplicateMovieClip (_root.enemyfish, "newenemyocto" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyocto" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 34) { duplicateMovieClip (_root.enemyhorse, "newenemyocto" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 28) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 25) { duplicateMovieClip (_root.enemyhorse, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 10) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 7) { duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1;
Symbol 638 MovieClip Frame 220
stop();
Symbol 640 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 37) { duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 34) { duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 27) { duplicateMovieClip (_root.enemyhorse, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 22) { duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 21) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 20) { duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 18) { duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 13) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 9) { duplicateMovieClip (_root.enemyocto, "newenemyocto" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1;
Symbol 647 MovieClip Frame 220
stop();
Symbol 649 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 32) { duplicateMovieClip (_root.enemyocto, "newenemyocto" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 30) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 27) { duplicateMovieClip (_root.enemyhorse, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1; if (_root.timeleft == 22) { duplicateMovieClip (_root.enemyocto, "newenemyocto" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 16) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 12) { duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 6) { duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } _root.i = _root.i + 1;
Symbol 656 MovieClip Frame 220
stop();
Symbol 658 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 39) { duplicateMovieClip (_root.enemyfish, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 29) { duplicateMovieClip (_root.enemycrab, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 20) { duplicateMovieClip (_root.enemyfish, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 10) { duplicateMovieClip (_root.enemyhorse, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 665 MovieClip Frame 220
stop();
Symbol 667 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 48) { duplicateMovieClip (_root.enemyshark, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 674 MovieClip Frame 220
stop();
Symbol 676 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 48) { duplicateMovieClip (_root.enemyocto, "newenemyocto" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 42) { duplicateMovieClip (_root.enemycrab, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 37) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 29) { duplicateMovieClip (_root.enemyhorse, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 24) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 18) { duplicateMovieClip (_root.enemyhorse, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 12) { duplicateMovieClip (_root.enemyhorse, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 683 MovieClip Frame 220
stop();
Symbol 685 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 48) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 40) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 36) { duplicateMovieClip (_root.enemybomb, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 29) { duplicateMovieClip (_root.enemybomb, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 24) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 18) { duplicateMovieClip (_root.enemyhorse, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 12) { duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 692 MovieClip Frame 220
stop();
Symbol 694 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 47) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 29) { duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 24) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 18) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 12) { duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 701 MovieClip Frame 220
stop();
Symbol 703 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 46) { duplicateMovieClip (_root.enemyhorse, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 39) { duplicateMovieClip (_root.enemyshark, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 36) { duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 30) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 24) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 18) { duplicateMovieClip (_root.enemyhorse, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 14) { duplicateMovieClip (_root.enemyocto, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 710 MovieClip Frame 220
stop();
Symbol 712 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 57) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 48) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 40) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 30) { duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 25) { duplicateMovieClip (_root.enemyshark, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 24) { duplicateMovieClip (_root.enemyocto, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 18) { duplicateMovieClip (_root.enemyhorse, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 14) { duplicateMovieClip (_root.enemyocto, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 719 MovieClip Frame 220
stop();
Symbol 721 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 55) { duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 49) { duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 37) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 33) { duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 28) { duplicateMovieClip (_root.enemyshark, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 18) { duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 14) { duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 728 MovieClip Frame 220
stop();
Symbol 730 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 56) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 49) { duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 40) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 35) { duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 25) { duplicateMovieClip (_root.enemyshark, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 18) { duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 14) { duplicateMovieClip (_root.enemyhorse, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 737 MovieClip Frame 220
stop();
Symbol 739 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 56) { duplicateMovieClip (_root.enemyshark, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 47) { duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 42) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 34) { duplicateMovieClip (_root.enemyocto, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 25) { duplicateMovieClip (_root.enemyshark, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 18) { duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 14) { duplicateMovieClip (_root.enemyhorse, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 746 MovieClip Frame 220
stop();
Symbol 748 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 57) { duplicateMovieClip (_root.enemyocto, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 48) { duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 40) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 35) { duplicateMovieClip (_root.enemyocto, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 28) { duplicateMovieClip (_root.enemyshark, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 10) { duplicateMovieClip (_root.enemyhorse, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 5) { duplicateMovieClip (_root.enemyocto, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 755 MovieClip Frame 220
stop();
Symbol 757 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 58) { duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 52) { duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 43) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 35) { duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 25) { duplicateMovieClip (_root.enemycrab, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 18) { duplicateMovieClip (_root.enemyhorse, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 14) { duplicateMovieClip (_root.enemyhorse, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 764 MovieClip Frame 220
stop();
Symbol 766 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 68) { duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemyocto" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 58) { duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 52) { duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 43) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 35) { duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 25) { duplicateMovieClip (_root.enemycrab, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 18) { duplicateMovieClip (_root.enemyhorse, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 14) { duplicateMovieClip (_root.enemyhorse, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 773 MovieClip Frame 220
stop();
Symbol 775 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 67) { duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 59) { duplicateMovieClip (_root.enemycrab, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 52) { duplicateMovieClip (_root.enemyocto, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 49) { duplicateMovieClip (_root.enemyhorse, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 44) { duplicateMovieClip (_root.enemyhorse, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemyocto" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 42) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 39) { duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 27) { duplicateMovieClip (_root.enemyfish, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 15) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemyocto" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 9) { duplicateMovieClip (_root.enemyshark, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 782 MovieClip Frame 220
stop();
Symbol 784 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 65) { duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 58) { duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 52) { duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 43) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 35) { duplicateMovieClip (_root.enemyocto, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 22) { duplicateMovieClip (_root.enemycrab, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 18) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 14) { duplicateMovieClip (_root.enemyhorse, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 791 MovieClip Frame 220
stop();
Symbol 793 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 80) { duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 75) { duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 68) { duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 58) { duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 52) { duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 43) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 35) { duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 25) { duplicateMovieClip (_root.enemycrab, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 18) { duplicateMovieClip (_root.enemyocto, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 14) { duplicateMovieClip (_root.enemyhorse, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 5) { duplicateMovieClip (_root.enemyshark, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 800 MovieClip Frame 220
stop();
Symbol 802 MovieClip Frame 60
_root.timeleft = _root.timeleft - 1; if (_root.timeleft == 0) { _root.nextFrame(); } if (_root.timeleft == 80) { duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 70) { duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 66) { duplicateMovieClip (_root.enemycrab, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 58) { duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 52) { duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 43) { duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemyfish" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 35) { duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemycrab, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 25) { duplicateMovieClip (_root.enemycrab, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyfish, "newenemyshark" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 18) { duplicateMovieClip (_root.enemycrab, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyhorse, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyocto, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemycrab" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 14) { duplicateMovieClip (_root.enemyhorse, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemybomb, "newenemybomb" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; } if (_root.timeleft == 5) { duplicateMovieClip (_root.enemyshark, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; duplicateMovieClip (_root.enemyshark, "newenemyhorse" + _root.i, _root.getNextHighestDepth()); _root.i = _root.i + 1; }
Symbol 809 MovieClip Frame 220
stop();
Symbol 813 Button
on (press) { stopAllSounds(); _root.gotoAndStop(5); }

Library Items

Symbol 1 Sound [hit]
Symbol 2 Sound [mon]
Symbol 3 Sound [pop]
Symbol 4 Sound [bang]Used by:496
Symbol 5 Sound [splat]Used by:458 463 492 515 517 523
Symbol 6 Sound [click]Used by:31 37 44
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:Timeline
Symbol 9 GraphicUsed by:Timeline
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:10Used by:Timeline
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:12Used by:14
Symbol 14 MovieClipUses:13Used by:23
Symbol 15 GraphicUsed by:19
Symbol 16 FontUsed by:17 18 21 34 101 104 108 111 237 238 248 249 251 253 264 275 279 283 288 293 298 303 321
Symbol 17 TextUses:16Used by:19
Symbol 18 TextUses:16Used by:19
Symbol 19 MovieClipUses:15 17 18Used by:23
Symbol 20 GraphicUsed by:22
Symbol 21 TextUses:16Used by:22
Symbol 22 MovieClipUses:20 21Used by:23
Symbol 23 MovieClipUses:14 19 22Used by:Timeline
Symbol 24 GraphicUsed by:25 31
Symbol 25 MovieClipUses:24Used by:30 31
Symbol 26 FontUsed by:27 28 64 65
Symbol 27 TextUses:26Used by:30 31
Symbol 28 TextUses:26Used by:30 31
Symbol 29 GraphicUsed by:31
Symbol 30 MovieClipUses:25 27 28Used by:31
Symbol 31 ButtonUses:25 27 28 29 30 24 6Used by:Timeline
Symbol 32 GraphicUsed by:36 37
Symbol 33 GraphicUsed by:37 44
Symbol 34 TextUses:16Used by:35 36 37
Symbol 35 MovieClipUses:34Used by:37
Symbol 36 MovieClipUses:32 34Used by:37
Symbol 37 ButtonUses:32 33 35 36 34 6Used by:Timeline
Symbol 38 GraphicUsed by:39 44 90
Symbol 39 MovieClipUses:38Used by:42 44
Symbol 40 FontUsed by:41 43
Symbol 41 TextUses:40Used by:42
Symbol 42 MovieClipUses:39 41Used by:44
Symbol 43 TextUses:40Used by:44 98
Symbol 44 ButtonUses:42 33 39 43 38 6Used by:Timeline
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:45Used by:47
Symbol 47 MovieClipUses:46Used by:Timeline
Symbol 48 ShapeTweeningUsed by:68
Symbol 49 GraphicUsed by:53
Symbol 50 ShapeTweeningUsed by:52 53
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:50 51Used by:53
Symbol 53 ButtonUses:49 52 50Used by:68
Symbol 54 GraphicUsed by:68
Symbol 55 GraphicUsed by:68
Symbol 56 ShapeTweeningUsed by:68
Symbol 57 GraphicUsed by:68
Symbol 58 ShapeTweeningUsed by:68
Symbol 59 GraphicUsed by:68
Symbol 60 ShapeTweeningUsed by:68
Symbol 61 GraphicUsed by:68 177 338
Symbol 62 ShapeTweeningUsed by:68
Symbol 63 GraphicUsed by:68
Symbol 64 TextUses:26Used by:66
Symbol 65 TextUses:26Used by:66
Symbol 66 MovieClipUses:64 65Used by:68
Symbol 67 ShapeTweeningUsed by:68
Symbol 68 MovieClipUses:48 53 54 55 56 57 58 59 60 61 62 63 66 67 SS1Used by:Timeline
Symbol 69 GraphicUsed by:86
Symbol 70 VideoUsed by:86
Symbol 71 GraphicUsed by:73
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClipUses:71 72Used by:77
Symbol 74 FontUsed by:75 78
Symbol 75 TextUses:74Used by:76
Symbol 76 MovieClipUses:75Used by:77 86
Symbol 77 MovieClipUses:73 76Used by:86
Symbol 78 TextUses:74Used by:79
Symbol 79 MovieClipUses:78Used by:86
Symbol 80 BitmapUsed by:81
Symbol 81 GraphicUses:80Used by:82
Symbol 82 MovieClipUses:81Used by:86
Symbol 83 BitmapUsed by:84
Symbol 84 GraphicUses:83Used by:85
Symbol 85 MovieClipUses:84Used by:86
Symbol 86 MovieClipUses:69 70 77 76 79 82 85 SS2Used by:Timeline
Symbol 87 GraphicUsed by:98
Symbol 88 FontUsed by:89
Symbol 89 TextUses:88Used by:98
Symbol 90 ButtonUses:38Used by:91
Symbol 91 MovieClipUses:90Used by:98
Symbol 92 GraphicUsed by:93
Symbol 93 ButtonUses:92Used by:98
Symbol 94 ShapeTweeningUsed by:98
Symbol 95 ShapeTweeningUsed by:98
Symbol 96 ShapeTweeningUsed by:98
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:87 43 89 91 93 94 95 96 97 SS3Used by:Timeline
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:Timeline
Symbol 101 TextUses:16Used by:107
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClipUses:102Used by:107
Symbol 104 TextUses:16Used by:107
Symbol 105 GraphicUsed by:107 112 265 277 285 290 295 300 305 320 323 334
Symbol 106 SoundUsed by:107 112 169 220 224 229
Symbol 107 ButtonUses:101 103 104 105 106Used by:Timeline
Symbol 108 TextUses:16Used by:112
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:109Used by:112
Symbol 111 TextUses:16Used by:112
Symbol 112 ButtonUses:108 110 111 105 106Used by:Timeline
Symbol 113 GraphicUsed by:142
Symbol 114 ShapeTweeningUsed by:120
Symbol 115 ShapeTweeningUsed by:120
Symbol 116 GraphicUsed by:120
Symbol 117 ShapeTweeningUsed by:120
Symbol 118 ShapeTweeningUsed by:120
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:114 115 116 117 118 119Used by:142
Symbol 121 ShapeTweeningUsed by:127
Symbol 122 ShapeTweeningUsed by:127
Symbol 123 GraphicUsed by:127
Symbol 124 ShapeTweeningUsed by:127
Symbol 125 ShapeTweeningUsed by:127
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClipUses:121 122 123 124 125 126Used by:142
Symbol 128 ShapeTweeningUsed by:134
Symbol 129 ShapeTweeningUsed by:134
Symbol 130 GraphicUsed by:134
Symbol 131 ShapeTweeningUsed by:134
Symbol 132 ShapeTweeningUsed by:134
Symbol 133 GraphicUsed by:134
Symbol 134 MovieClipUses:128 129 130 131 132 133Used by:142
Symbol 135 ShapeTweeningUsed by:141
Symbol 136 GraphicUsed by:141
Symbol 137 ShapeTweeningUsed by:141
Symbol 138 GraphicUsed by:141
Symbol 139 ShapeTweeningUsed by:141
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClipUses:135 136 137 138 139 140Used by:142
Symbol 142 MovieClipUses:113 120 127 134 141Used by:236 245 247 320 337 458  Timeline
Symbol 143 FontUsed by:144
Symbol 144 TextUses:143Used by:Timeline
Symbol 145 SoundUsed by:Timeline
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClipUses:146Used by:Timeline
Symbol 148 GraphicUsed by:151
Symbol 149 GraphicUsed by:150
Symbol 150 MovieClipUses:149Used by:151
Symbol 151 MovieClipUses:148 150Used by:Timeline
Symbol 152 ShapeTweeningUsed by:159
Symbol 153 GraphicUsed by:154
Symbol 154 MovieClipUses:153Used by:159
Symbol 155 GraphicUsed by:156
Symbol 156 MovieClipUses:155Used by:159
Symbol 157 ShapeTweeningUsed by:159
Symbol 158 GraphicUsed by:159
Symbol 159 MovieClipUses:152 154 156 157 158Used by:Timeline
Symbol 160 GraphicUsed by:Timeline
Symbol 161 FontUsed by:162 163 164 165 168 170 171 173 215 216 219 222 223 225 228 230 231 232 234 235 240 244 246 266 276 280 284 289 294 299 304 310 311 316 317 318 319 326 327 329 330 332 333 335 336 347 349 351 353 524 527 528 529 530 531 532 533 534 535 536 537 539 541 542 543 544 545 546 547 548 549 553 555 556 557 558 559 563 565 566 567 568 569 573 575 576 577 578 579 583 585 586 587 588 589 593 595 596 597 598 599 603 605 606 607 608 609 612 614 615 616 617 618 621 623 624 625 626 627 630 632 633 634 635 636 639 641 642 643 644 645 648 650 651 652 653 654 657 659 660 661 662 663 666 668 669 670 671 672 675 677 678 679 680 681 684 686 687 688 689 690 693 695 696 697 698 699 702 704 705 706 707 708 711 713 714 715 716 717 720 722 723 724 725 726 729 731 732 733 734 735 738 740 741 742 743 744 747 749 750 751 752 753 756 758 759 760 761 762 765 767 768 769 770 771 774 776 777 778 779 780 783 785 786 787 788 789 792 794 795 796 797 798 801 803 804 805 806 807 810 811 812
Symbol 162 TextUses:161Used by:Timeline
Symbol 163 TextUses:161Used by:Timeline
Symbol 164 TextUses:161Used by:Timeline
Symbol 165 TextUses:161Used by:169
Symbol 166 GraphicUsed by:167 169
Symbol 167 MovieClipUses:166Used by:169
Symbol 168 TextUses:161Used by:169
Symbol 169 ButtonUses:165 167 168 166 106Used by:Timeline
Symbol 170 TextUses:161Used by:Timeline
Symbol 171 TextUses:161Used by:Timeline
Symbol 172 GraphicUsed by:356  Timeline
Symbol 173 TextUses:161Used by:Timeline
Symbol 174 GraphicUsed by:175
Symbol 175 MovieClipUses:174Used by:176
Symbol 176 MovieClipUses:175Used by:458 463 492 496 515 517 523  Timeline
Symbol 177 MovieClipUses:61Used by:458  Timeline
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClipUses:178Used by:458 463 496 515 517 523  Timeline
Symbol 180 GraphicUsed by:Timeline
Symbol 181 GraphicUsed by:214
Symbol 182 GraphicUsed by:183
Symbol 183 MovieClipUses:182Used by:214
Symbol 184 ShapeTweeningUsed by:190
Symbol 185 ShapeTweeningUsed by:190
Symbol 186 GraphicUsed by:190
Symbol 187 ShapeTweeningUsed by:190
Symbol 188 ShapeTweeningUsed by:190
Symbol 189 GraphicUsed by:190
Symbol 190 MovieClipUses:184 185 186 187 188 189Used by:214
Symbol 191 ShapeTweeningUsed by:197
Symbol 192 ShapeTweeningUsed by:197
Symbol 193 GraphicUsed by:197
Symbol 194 ShapeTweeningUsed by:197
Symbol 195 ShapeTweeningUsed by:197
Symbol 196 GraphicUsed by:197
Symbol 197 MovieClipUses:191 192 193 194 195 196Used by:214
Symbol 198 ShapeTweeningUsed by:204
Symbol 199 ShapeTweeningUsed by:204
Symbol 200 GraphicUsed by:204
Symbol 201 ShapeTweeningUsed by:204
Symbol 202 ShapeTweeningUsed by:204
Symbol 203 GraphicUsed by:204
Symbol 204 MovieClipUses:198 199 200 201 202 203Used by:214
Symbol 205 ShapeTweeningUsed by:213
Symbol 206 GraphicUsed by:213
Symbol 207 ShapeTweeningUsed by:213
Symbol 208 GraphicUsed by:213
Symbol 209 ShapeTweeningUsed by:213
Symbol 210 GraphicUsed by:213
Symbol 211 ShapeTweeningUsed by:213
Symbol 212 GraphicUsed by:213
Symbol 213 MovieClipUses:205 206 207 208 209 210 211 212Used by:214
Symbol 214 MovieClipUses:181 183 190 197 204 213Used by:463  Timeline
Symbol 215 TextUses:161Used by:Timeline
Symbol 216 TextUses:161Used by:220
Symbol 217 GraphicUsed by:218 220 224 813
Symbol 218 MovieClipUses:217Used by:220 224 813
Symbol 219 TextUses:161Used by:220
Symbol 220 ButtonUses:216 218 219 217 106Used by:Timeline
Symbol 221 GraphicUsed by:Timeline
Symbol 222 TextUses:161Used by:224
Symbol 223 TextUses:161Used by:224
Symbol 224 ButtonUses:222 218 223 217 106Used by:Timeline
Symbol 225 TextUses:161Used by:229
Symbol 226 GraphicUsed by:227 229
Symbol 227 MovieClipUses:226Used by:229
Symbol 228 TextUses:161Used by:229
Symbol 229 ButtonUses:225 227 228 226 106Used by:Timeline
Symbol 230 TextUses:161Used by:Timeline
Symbol 231 EditableTextUses:161Used by:Timeline
Symbol 232 TextUses:161Used by:Timeline
Symbol 233 GraphicUsed by:337
Symbol 234 EditableTextUses:161Used by:337
Symbol 235 EditableTextUses:161Used by:236
Symbol 236 MovieClipUses:235 142Used by:337
Symbol 237 TextUses:16Used by:243
Symbol 238 TextUses:16Used by:239
Symbol 239 MovieClipUses:238Used by:243
Symbol 240 TextUses:161Used by:243
Symbol 241 GraphicUsed by:242
Symbol 242 MovieClipUses:241Used by:243
Symbol 243 MovieClipUses:237 239 240 242Used by:337
Symbol 244 EditableTextUses:161Used by:245
Symbol 245 MovieClipUses:244 142Used by:337
Symbol 246 EditableTextUses:161Used by:247
Symbol 247 MovieClipUses:246 142Used by:337
Symbol 248 TextUses:16Used by:337
Symbol 249 TextUses:16Used by:250 307
Symbol 250 MovieClipUses:249Used by:337
Symbol 251 TextUses:16Used by:252 308
Symbol 252 MovieClipUses:251Used by:337
Symbol 253 TextUses:16Used by:254 309
Symbol 254 MovieClipUses:253Used by:337
Symbol 255 GraphicUsed by:256 257 258
Symbol 256 MovieClipUses:255Used by:337
Symbol 257 MovieClipUses:255Used by:337
Symbol 258 MovieClipUses:255Used by:337
Symbol 259 GraphicUsed by:260
Symbol 260 MovieClipUses:259Used by:337
Symbol 261 GraphicUsed by:337
Symbol 262 GraphicUsed by:263
Symbol 263 MovieClipUses:262Used by:265 323 458
Symbol 264 TextUses:16Used by:265
Symbol 265 MovieClipUses:105 263 264Used by:269
Symbol 266 TextUses:161Used by:269
Symbol 267 GraphicUsed by:268
Symbol 268 MovieClipUses:267Used by:269 277 281 285 290 295 300 305
Symbol 269 MovieClipUses:265 266 268Used by:306
Symbol 270 GraphicUsed by:274
Symbol 271 GraphicUsed by:272
Symbol 272 MovieClipUses:271Used by:273
Symbol 273 MovieClipUses:272Used by:274 362
Symbol 274 MovieClipUses:270 273Used by:277 285 323 334 344 390
Symbol 275 TextUses:16Used by:277
Symbol 276 TextUses:161Used by:277
Symbol 277 MovieClipUses:105 274 275 276 268Used by:306
Symbol 278 GraphicUsed by:281
Symbol 279 TextUses:16Used by:281
Symbol 280 TextUses:161Used by:281
Symbol 281 MovieClipUses:278 279 280 268Used by:306
Symbol 282 GraphicUsed by:285 323
Symbol 283 TextUses:16Used by:285
Symbol 284 TextUses:161Used by:285
Symbol 285 MovieClipUses:105 274 282 283 284 268Used by:306
Symbol 286 GraphicUsed by:287 375
Symbol 287 MovieClipUses:286Used by:290 323
Symbol 288 TextUses:16Used by:290
Symbol 289 TextUses:161Used by:290
Symbol 290 MovieClipUses:105 287 288 289 268Used by:306
Symbol 291 GraphicUsed by:292
Symbol 292 MovieClipUses:291Used by:295 323 458
Symbol 293 TextUses:16Used by:295
Symbol 294 TextUses:161Used by:295
Symbol 295 MovieClipUses:105 292 293 294 268Used by:306
Symbol 296 GraphicUsed by:297
Symbol 297 MovieClipUses:296Used by:300 323 458
Symbol 298 TextUses:16Used by:300
Symbol 299 TextUses:161Used by:300
Symbol 300 MovieClipUses:105 297 298 299 268Used by:306
Symbol 301 GraphicUsed by:302 412
Symbol 302 MovieClipUses:301Used by:305 323
Symbol 303 TextUses:16Used by:305
Symbol 304 TextUses:161Used by:305
Symbol 305 MovieClipUses:105 302 303 304 268Used by:306
Symbol 306 MovieClipUses:269 277 281 285 290 295 300 305Used by:337
Symbol 307 ButtonUses:249Used by:337
Symbol 308 ButtonUses:251Used by:337
Symbol 309 ButtonUses:253Used by:337
Symbol 310 TextUses:161Used by:337
Symbol 311 TextUses:161Used by:337
Symbol 312 GraphicUsed by:313
Symbol 313 ButtonUses:312Used by:337
Symbol 314 GraphicUsed by:315
Symbol 315 MovieClipUses:314Used by:337
Symbol 316 EditableTextUses:161Used by:320
Symbol 317 EditableTextUses:161Used by:320
Symbol 318 EditableTextUses:161Used by:320
Symbol 319 EditableTextUses:161Used by:320
Symbol 320 MovieClipUses:105 316 142 317 318 319Used by:337
Symbol 321 TextUses:16Used by:337
Symbol 322 GraphicUsed by:323
Symbol 323 MovieClipUses:105 263 274 322 282 287 292 297 302Used by:324
Symbol 324 MovieClipUses:323Used by:337
Symbol 325 GraphicUsed by:337
Symbol 326 TextUses:161Used by:337
Symbol 327 EditableTextUses:161Used by:337
Symbol 328 GraphicUsed by:331
Symbol 329 EditableTextUses:161Used by:331
Symbol 330 TextUses:161Used by:331
Symbol 331 MovieClipUses:328 329 330Used by:337
Symbol 332 EditableTextUses:161Used by:334
Symbol 333 EditableTextUses:161Used by:334
Symbol 334 MovieClipUses:105 274 332 333Used by:337
Symbol 335 TextUses:161Used by:337
Symbol 336 EditableTextUses:161Used by:337
Symbol 337 MovieClipUses:233 234 236 243 245 247 248 250 252 254 142 256 257 258 260 261 306 307 308 309 310 311 313 315 320 321 324 325 326 327 331 334 335 336Used by:Timeline
Symbol 338 MovieClipUses:61Used by:Timeline
Symbol 339 GraphicUsed by:340
Symbol 340 MovieClipUses:339Used by:Timeline
Symbol 341 GraphicUsed by:342
Symbol 342 MovieClipUses:341Used by:343
Symbol 343 MovieClipUses:342Used by:Timeline
Symbol 344 MovieClipUses:274Used by:Timeline
Symbol 345 GraphicUsed by:346 540 554 564 574 584 594 604 613 622 631 640 649 658 667 676 685 694 703 712 721 730 739 748 757 766 775 784 793 802
Symbol 346 MovieClipUses:345Used by:Timeline
Symbol 347 EditableTextUses:161Used by:348
Symbol 348 MovieClipUses:347Used by:Timeline
Symbol 349 EditableTextUses:161Used by:350
Symbol 350 MovieClipUses:349Used by:Timeline
Symbol 351 EditableTextUses:161Used by:352
Symbol 352 MovieClipUses:351Used by:Timeline
Symbol 353 EditableTextUses:161Used by:354
Symbol 354 MovieClipUses:353Used by:Timeline
Symbol 355 GraphicUsed by:356
Symbol 356 MovieClipUses:172 355Used by:Timeline
Symbol 357 GraphicUsed by:358
Symbol 358 MovieClipUses:357Used by:Timeline
Symbol 359 GraphicUsed by:360
Symbol 360 MovieClipUses:359Used by:Timeline
Symbol 361 GraphicUsed by:362
Symbol 362 MovieClipUses:361 273Used by:Timeline
Symbol 363 GraphicUsed by:364
Symbol 364 MovieClipUses:363Used by:365
Symbol 365 MovieClipUses:364Used by:Timeline
Symbol 366 GraphicUsed by:367
Symbol 367 MovieClipUses:366Used by:374
Symbol 368 GraphicUsed by:369
Symbol 369 MovieClipUses:368Used by:374
Symbol 370 GraphicUsed by:371
Symbol 371 MovieClipUses:370Used by:374
Symbol 372 GraphicUsed by:373
Symbol 373 MovieClipUses:372Used by:374
Symbol 374 MovieClipUses:367 369 371 373Used by:375 496
Symbol 375 MovieClipUses:286 374Used by:Timeline
Symbol 376 GraphicUsed by:382
Symbol 377 GraphicUsed by:381
Symbol 378 GraphicUsed by:381
Symbol 379 GraphicUsed by:381
Symbol 380 GraphicUsed by:381
Symbol 381 MovieClipUses:377 378 379 380Used by:382
Symbol 382 MovieClipUses:376 381Used by:383
Symbol 383 MovieClipUses:382Used by:Timeline
Symbol 384 GraphicUsed by:385
Symbol 385 MovieClipUses:384Used by:458
Symbol 386 GraphicUsed by:458
Symbol 387 GraphicUsed by:458
Symbol 388 GraphicUsed by:389
Symbol 389 MovieClipUses:388Used by:390
Symbol 390 MovieClipUses:389 274Used by:458
Symbol 391 GraphicUsed by:458
Symbol 392 GraphicUsed by:399
Symbol 393 GraphicUsed by:399
Symbol 394 GraphicUsed by:399
Symbol 395 GraphicUsed by:399
Symbol 396 GraphicUsed by:399
Symbol 397 GraphicUsed by:399
Symbol 398 GraphicUsed by:399
Symbol 399 MovieClipUses:392 393 394 395 396 397 398Used by:458
Symbol 400 GraphicUsed by:401
Symbol 401 MovieClipUses:400Used by:458
Symbol 402 GraphicUsed by:412
Symbol 403 GraphicUsed by:412
Symbol 404 GraphicUsed by:412
Symbol 405 GraphicUsed by:412
Symbol 406 GraphicUsed by:412
Symbol 407 GraphicUsed by:412
Symbol 408 GraphicUsed by:412
Symbol 409 GraphicUsed by:412
Symbol 410 GraphicUsed by:412
Symbol 411 GraphicUsed by:412
Symbol 412 MovieClipUses:301 402 403 404 405 406 407 408 409 410 411Used by:413
Symbol 413 MovieClipUses:412Used by:458
Symbol 414 GraphicUsed by:457
Symbol 415 GraphicUsed by:425
Symbol 416 GraphicUsed by:425
Symbol 417 GraphicUsed by:425
Symbol 418 GraphicUsed by:425
Symbol 419 GraphicUsed by:425
Symbol 420 GraphicUsed by:425
Symbol 421 GraphicUsed by:425
Symbol 422 GraphicUsed by:425
Symbol 423 GraphicUsed by:425
Symbol 424 GraphicUsed by:425
Symbol 425 MovieClipUses:415 416 417 418 419 420 421 422 423 424Used by:457 462
Symbol 426 GraphicUsed by:437
Symbol 427 GraphicUsed by:437
Symbol 428 GraphicUsed by:437
Symbol 429 GraphicUsed by:437
Symbol 430 GraphicUsed by:437
Symbol 431 GraphicUsed by:437
Symbol 432 GraphicUsed by:437
Symbol 433 GraphicUsed by:437
Symbol 434 GraphicUsed by:437
Symbol 435 GraphicUsed by:437
Symbol 436 GraphicUsed by:437
Symbol 437 MovieClipUses:426 427 428 429 430 431 432 433 434 435 436Used by:457 462
Symbol 438 GraphicUsed by:454
Symbol 439 GraphicUsed by:454
Symbol 440 GraphicUsed by:454
Symbol 441 GraphicUsed by:454
Symbol 442 GraphicUsed by:454
Symbol 443 GraphicUsed by:454
Symbol 444 GraphicUsed by:454
Symbol 445 GraphicUsed by:454
Symbol 446 GraphicUsed by:454
Symbol 447 GraphicUsed by:454
Symbol 448 GraphicUsed by:454
Symbol 449 GraphicUsed by:454
Symbol 450 GraphicUsed by:454
Symbol 451 GraphicUsed by:454
Symbol 452 GraphicUsed by:454
Symbol 453 GraphicUsed by:454
Symbol 454 MovieClipUses:438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453Used by:457 462
Symbol 455 GraphicUsed by:457
Symbol 456 GraphicUsed by:457 462
Symbol 457 MovieClipUses:414 425 437 454 455 456Used by:458
Symbol 458 MovieClipUses:176 142 177 179 263 385 386 387 390 391 399 401 292 297 413 457 5Used by:Timeline
Symbol 459 GraphicUsed by:463
Symbol 460 GraphicUsed by:462
Symbol 461 GraphicUsed by:462
Symbol 462 MovieClipUses:460 425 437 454 461 456Used by:463 492 515 517 523
Symbol 463 MovieClipUses:176 459 214 179 462 5Used by:Timeline
Symbol 464 GraphicUsed by:491
Symbol 465 GraphicUsed by:467 491
Symbol 466 GraphicUsed by:491
Symbol 467 MovieClipUses:465Used by:491
Symbol 468 GraphicUsed by:491
Symbol 469 GraphicUsed by:491
Symbol 470 GraphicUsed by:491
Symbol 471 GraphicUsed by:491
Symbol 472 GraphicUsed by:491
Symbol 473 GraphicUsed by:491
Symbol 474 GraphicUsed by:491
Symbol 475 GraphicUsed by:491
Symbol 476 GraphicUsed by:491
Symbol 477 GraphicUsed by:491
Symbol 478 GraphicUsed by:491
Symbol 479 GraphicUsed by:491
Symbol 480 GraphicUsed by:491
Symbol 481 GraphicUsed by:491
Symbol 482 GraphicUsed by:483
Symbol 483 MovieClipUses:482Used by:491
Symbol 484 GraphicUsed by:491
Symbol 485 GraphicUsed by:491
Symbol 486 GraphicUsed by:491
Symbol 487 GraphicUsed by:491
Symbol 488 GraphicUsed by:491
Symbol 489 GraphicUsed by:491
Symbol 490 GraphicUsed by:491
Symbol 491 MovieClipUses:464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 483 484 485 486 487 488 489 490Used by:492
Symbol 492 MovieClipUses:176 491 462 5Used by:Timeline
Symbol 493 GraphicUsed by:494
Symbol 494 MovieClipUses:493Used by:495
Symbol 495 MovieClipUses:494Used by:496
Symbol 496 MovieClipUses:176 495 179 374 4Used by:Timeline
Symbol 497 GraphicUsed by:498
Symbol 498 MovieClipUses:497Used by:511
Symbol 499 GraphicUsed by:500
Symbol 500 MovieClipUses:499Used by:511
Symbol 501 GraphicUsed by:502
Symbol 502 MovieClipUses:501Used by:511
Symbol 503 GraphicUsed by:504
Symbol 504 MovieClipUses:503Used by:511
Symbol 505 GraphicUsed by:506
Symbol 506 MovieClipUses:505Used by:511
Symbol 507 GraphicUsed by:508
Symbol 508 MovieClipUses:507Used by:511
Symbol 509 GraphicUsed by:510
Symbol 510 MovieClipUses:509Used by:511
Symbol 511 MovieClipUses:498 500 502 504 506 508 510Used by:515
Symbol 512 GraphicUsed by:513
Symbol 513 MovieClipUses:512Used by:514
Symbol 514 MovieClipUses:513Used by:515 517
Symbol 515 MovieClipUses:176 511 514 179 462 5Used by:Timeline
Symbol 516 GraphicUsed by:517
Symbol 517 MovieClipUses:176 516 514 179 462 5Used by:Timeline
Symbol 518 GraphicUsed by:519
Symbol 519 MovieClipUses:518Used by:520
Symbol 520 MovieClipUses:519Used by:523
Symbol 521 GraphicUsed by:522
Symbol 522 MovieClipUses:521Used by:523
Symbol 523 MovieClipUses:176 520 522 179 462 5Used by:Timeline
Symbol 524 TextUses:161Used by:525
Symbol 525 MovieClipUses:524Used by:526 552 562 572 582 592 602 611 620 629 638 647 656 665 674 683 692 701 710 719 728 737 746 755 764 773 782 791 800 809
Symbol 526 MovieClipUses:525Used by:Timeline
Symbol 527 TextUses:161Used by:Timeline
Symbol 528 TextUses:161Used by:Timeline
Symbol 529 TextUses:161Used by:Timeline
Symbol 530 TextUses:161Used by:Timeline
Symbol 531 EditableTextUses:161Used by:Timeline
Symbol 532 EditableTextUses:161Used by:Timeline
Symbol 533 EditableTextUses:161Used by:Timeline
Symbol 534 EditableTextUses:161Used by:Timeline
Symbol 535 TextUses:161Used by:538
Symbol 536 TextUses:161Used by:538
Symbol 537 TextUses:161Used by:538
Symbol 538 MovieClipUses:535 536 537Used by:Timeline
Symbol 539 EditableTextUses:161Used by:Timeline
Symbol 540 MovieClipUses:345Used by:Timeline
Symbol 541 TextUses:161Used by:Timeline
Symbol 542 TextUses:161Used by:Timeline
Symbol 543 TextUses:161Used by:Timeline
Symbol 544 TextUses:161Used by:Timeline
Symbol 545 EditableTextUses:161Used by:Timeline
Symbol 546 EditableTextUses:161Used by:Timeline
Symbol 547 EditableTextUses:161Used by:Timeline
Symbol 548 EditableTextUses:161Used by:Timeline
Symbol 549 TextUses:161Used by:550 551
Symbol 550 MovieClipUses:549Used by:552
Symbol 551 MovieClipUses:549Used by:552
Symbol 552 MovieClipUses:550 551 525Used by:Timeline
Symbol 553 EditableTextUses:161Used by:Timeline
Symbol 554 MovieClipUses:345Used by:Timeline
Symbol 555 EditableTextUses:161Used by:Timeline
Symbol 556 EditableTextUses:161Used by:Timeline
Symbol 557 EditableTextUses:161Used by:Timeline
Symbol 558 EditableTextUses:161Used by:Timeline
Symbol 559 TextUses:161Used by:560 561
Symbol 560 MovieClipUses:559Used by:562
Symbol 561 MovieClipUses:559Used by:562
Symbol 562 MovieClipUses:560 561 525Used by:Timeline
Symbol 563 EditableTextUses:161Used by:Timeline
Symbol 564 MovieClipUses:345Used by:Timeline
Symbol 565 EditableTextUses:161Used by:Timeline
Symbol 566 EditableTextUses:161Used by:Timeline
Symbol 567 EditableTextUses:161Used by:Timeline
Symbol 568 EditableTextUses:161Used by:Timeline
Symbol 569 TextUses:161Used by:570 571
Symbol 570 MovieClipUses:569Used by:572
Symbol 571 MovieClipUses:569Used by:572
Symbol 572 MovieClipUses:570 571 525Used by:Timeline
Symbol 573 EditableTextUses:161Used by:Timeline
Symbol 574 MovieClipUses:345Used by:Timeline
Symbol 575 EditableTextUses:161Used by:Timeline
Symbol 576 EditableTextUses:161Used by:Timeline
Symbol 577 EditableTextUses:161Used by:Timeline
Symbol 578 EditableTextUses:161Used by:Timeline
Symbol 579 TextUses:161Used by:580 581
Symbol 580 MovieClipUses:579Used by:582
Symbol 581 MovieClipUses:579Used by:582
Symbol 582 MovieClipUses:580 581 525Used by:Timeline
Symbol 583 EditableTextUses:161Used by:Timeline
Symbol 584 MovieClipUses:345Used by:Timeline
Symbol 585 EditableTextUses:161Used by:Timeline
Symbol 586 EditableTextUses:161Used by:Timeline
Symbol 587 EditableTextUses:161Used by:Timeline
Symbol 588 EditableTextUses:161Used by:Timeline
Symbol 589 TextUses:161Used by:590 591
Symbol 590 MovieClipUses:589Used by:592
Symbol 591 MovieClipUses:589Used by:592
Symbol 592 MovieClipUses:590 591 525Used by:Timeline
Symbol 593 EditableTextUses:161Used by:Timeline
Symbol 594 MovieClipUses:345Used by:Timeline
Symbol 595 EditableTextUses:161Used by:Timeline
Symbol 596 EditableTextUses:161Used by:Timeline
Symbol 597 EditableTextUses:161Used by:Timeline
Symbol 598 EditableTextUses:161Used by:Timeline
Symbol 599 TextUses:161Used by:600 601
Symbol 600 MovieClipUses:599Used by:602
Symbol 601 MovieClipUses:599Used by:602 611
Symbol 602 MovieClipUses:600 601 525Used by:Timeline
Symbol 603 EditableTextUses:161Used by:Timeline
Symbol 604 MovieClipUses:345Used by:Timeline
Symbol 605 EditableTextUses:161Used by:Timeline
Symbol 606 EditableTextUses:161Used by:Timeline
Symbol 607 EditableTextUses:161Used by:Timeline
Symbol 608 EditableTextUses:161Used by:Timeline
Symbol 609 TextUses:161Used by:610
Symbol 610 MovieClipUses:609Used by:611
Symbol 611 MovieClipUses:610 601 525Used by:Timeline
Symbol 612 EditableTextUses:161Used by:Timeline
Symbol 613 MovieClipUses:345Used by:Timeline
Symbol 614 EditableTextUses:161Used by:Timeline
Symbol 615 EditableTextUses:161Used by:Timeline
Symbol 616 EditableTextUses:161Used by:Timeline
Symbol 617 EditableTextUses:161Used by:Timeline
Symbol 618 TextUses:161Used by:619
Symbol 619 MovieClipUses:618Used by:620
Symbol 620 MovieClipUses:619 525Used by:Timeline
Symbol 621 EditableTextUses:161Used by:Timeline
Symbol 622 MovieClipUses:345Used by:Timeline
Symbol 623 EditableTextUses:161Used by:Timeline
Symbol 624 EditableTextUses:161Used by:Timeline
Symbol 625 EditableTextUses:161Used by:Timeline
Symbol 626 EditableTextUses:161Used by:Timeline
Symbol 627 TextUses:161Used by:628
Symbol 628 MovieClipUses:627Used by:629
Symbol 629 MovieClipUses:628 525Used by:Timeline
Symbol 630 EditableTextUses:161Used by:Timeline
Symbol 631 MovieClipUses:345Used by:Timeline
Symbol 632 EditableTextUses:161Used by:Timeline
Symbol 633 EditableTextUses:161Used by:Timeline
Symbol 634 EditableTextUses:161Used by:Timeline
Symbol 635 EditableTextUses:161Used by:Timeline
Symbol 636 TextUses:161Used by:637
Symbol 637 MovieClipUses:636Used by:638
Symbol 638 MovieClipUses:637 525Used by:Timeline
Symbol 639 EditableTextUses:161Used by:Timeline
Symbol 640 MovieClipUses:345Used by:Timeline
Symbol 641 EditableTextUses:161Used by:Timeline
Symbol 642 EditableTextUses:161Used by:Timeline
Symbol 643 EditableTextUses:161Used by:Timeline
Symbol 644 EditableTextUses:161Used by:Timeline
Symbol 645 TextUses:161Used by:646
Symbol 646 MovieClipUses:645Used by:647
Symbol 647 MovieClipUses:646 525Used by:Timeline
Symbol 648 EditableTextUses:161Used by:Timeline
Symbol 649 MovieClipUses:345Used by:Timeline
Symbol 650 EditableTextUses:161Used by:Timeline
Symbol 651 EditableTextUses:161Used by:Timeline
Symbol 652 EditableTextUses:161Used by:Timeline
Symbol 653 EditableTextUses:161Used by:Timeline
Symbol 654 TextUses:161Used by:655
Symbol 655 MovieClipUses:654Used by:656
Symbol 656 MovieClipUses:655 525Used by:Timeline
Symbol 657 EditableTextUses:161Used by:Timeline
Symbol 658 MovieClipUses:345Used by:Timeline
Symbol 659 EditableTextUses:161Used by:Timeline
Symbol 660 EditableTextUses:161Used by:Timeline
Symbol 661 EditableTextUses:161Used by:Timeline
Symbol 662 EditableTextUses:161Used by:Timeline
Symbol 663 TextUses:161Used by:664
Symbol 664 MovieClipUses:663Used by:665
Symbol 665 MovieClipUses:664 525Used by:Timeline
Symbol 666 EditableTextUses:161Used by:Timeline
Symbol 667 MovieClipUses:345Used by:Timeline
Symbol 668 EditableTextUses:161Used by:Timeline
Symbol 669 EditableTextUses:161Used by:Timeline
Symbol 670 EditableTextUses:161Used by:Timeline
Symbol 671 EditableTextUses:161Used by:Timeline
Symbol 672 TextUses:161Used by:673
Symbol 673 MovieClipUses:672Used by:674
Symbol 674 MovieClipUses:673 525Used by:Timeline
Symbol 675 EditableTextUses:161Used by:Timeline
Symbol 676 MovieClipUses:345Used by:Timeline
Symbol 677 EditableTextUses:161Used by:Timeline
Symbol 678 EditableTextUses:161Used by:Timeline
Symbol 679 EditableTextUses:161Used by:Timeline
Symbol 680 EditableTextUses:161Used by:Timeline
Symbol 681 TextUses:161Used by:682
Symbol 682 MovieClipUses:681Used by:683
Symbol 683 MovieClipUses:682 525Used by:Timeline
Symbol 684 EditableTextUses:161Used by:Timeline
Symbol 685 MovieClipUses:345Used by:Timeline
Symbol 686 EditableTextUses:161Used by:Timeline
Symbol 687 EditableTextUses:161Used by:Timeline
Symbol 688 EditableTextUses:161Used by:Timeline
Symbol 689 EditableTextUses:161Used by:Timeline
Symbol 690 TextUses:161Used by:691
Symbol 691 MovieClipUses:690Used by:692
Symbol 692 MovieClipUses:691 525Used by:Timeline
Symbol 693 EditableTextUses:161Used by:Timeline
Symbol 694 MovieClipUses:345Used by:Timeline
Symbol 695 EditableTextUses:161Used by:Timeline
Symbol 696 EditableTextUses:161Used by:Timeline
Symbol 697 EditableTextUses:161Used by:Timeline
Symbol 698 EditableTextUses:161Used by:Timeline
Symbol 699 TextUses:161Used by:700
Symbol 700 MovieClipUses:699Used by:701
Symbol 701 MovieClipUses:700 525Used by:Timeline
Symbol 702 EditableTextUses:161Used by:Timeline
Symbol 703 MovieClipUses:345Used by:Timeline
Symbol 704 EditableTextUses:161Used by:Timeline
Symbol 705 EditableTextUses:161Used by:Timeline
Symbol 706 EditableTextUses:161Used by:Timeline
Symbol 707 EditableTextUses:161Used by:Timeline
Symbol 708 TextUses:161Used by:709
Symbol 709 MovieClipUses:708Used by:710
Symbol 710 MovieClipUses:709 525Used by:Timeline
Symbol 711 EditableTextUses:161Used by:Timeline
Symbol 712 MovieClipUses:345Used by:Timeline
Symbol 713 EditableTextUses:161Used by:Timeline
Symbol 714 EditableTextUses:161Used by:Timeline
Symbol 715 EditableTextUses:161Used by:Timeline
Symbol 716 EditableTextUses:161Used by:Timeline
Symbol 717 TextUses:161Used by:718
Symbol 718 MovieClipUses:717Used by:719
Symbol 719 MovieClipUses:718 525Used by:Timeline
Symbol 720 EditableTextUses:161Used by:Timeline
Symbol 721 MovieClipUses:345Used by:Timeline
Symbol 722 EditableTextUses:161Used by:Timeline
Symbol 723 EditableTextUses:161Used by:Timeline
Symbol 724 EditableTextUses:161Used by:Timeline
Symbol 725 EditableTextUses:161Used by:Timeline
Symbol 726 TextUses:161Used by:727
Symbol 727 MovieClipUses:726Used by:728
Symbol 728 MovieClipUses:727 525Used by:Timeline
Symbol 729 EditableTextUses:161Used by:Timeline
Symbol 730 MovieClipUses:345Used by:Timeline
Symbol 731 EditableTextUses:161Used by:Timeline
Symbol 732 EditableTextUses:161Used by:Timeline
Symbol 733 EditableTextUses:161Used by:Timeline
Symbol 734 EditableTextUses:161Used by:Timeline
Symbol 735 TextUses:161Used by:736
Symbol 736 MovieClipUses:735Used by:737
Symbol 737 MovieClipUses:736 525Used by:Timeline
Symbol 738 EditableTextUses:161Used by:Timeline
Symbol 739 MovieClipUses:345Used by:Timeline
Symbol 740 EditableTextUses:161Used by:Timeline
Symbol 741 EditableTextUses:161Used by:Timeline
Symbol 742 EditableTextUses:161Used by:Timeline
Symbol 743 EditableTextUses:161Used by:Timeline
Symbol 744 TextUses:161Used by:745
Symbol 745 MovieClipUses:744Used by:746
Symbol 746 MovieClipUses:745 525Used by:Timeline
Symbol 747 EditableTextUses:161Used by:Timeline
Symbol 748 MovieClipUses:345Used by:Timeline
Symbol 749 EditableTextUses:161Used by:Timeline
Symbol 750 EditableTextUses:161Used by:Timeline
Symbol 751 EditableTextUses:161Used by:Timeline
Symbol 752 EditableTextUses:161Used by:Timeline
Symbol 753 TextUses:161Used by:754
Symbol 754 MovieClipUses:753Used by:755
Symbol 755 MovieClipUses:754 525Used by:Timeline
Symbol 756 EditableTextUses:161Used by:Timeline
Symbol 757 MovieClipUses:345Used by:Timeline
Symbol 758 EditableTextUses:161Used by:Timeline
Symbol 759 EditableTextUses:161Used by:Timeline
Symbol 760 EditableTextUses:161Used by:Timeline
Symbol 761 EditableTextUses:161Used by:Timeline
Symbol 762 TextUses:161Used by:763
Symbol 763 MovieClipUses:762Used by:764
Symbol 764 MovieClipUses:763 525Used by:Timeline
Symbol 765 EditableTextUses:161Used by:Timeline
Symbol 766 MovieClipUses:345Used by:Timeline
Symbol 767 EditableTextUses:161Used by:Timeline
Symbol 768 EditableTextUses:161Used by:Timeline
Symbol 769 EditableTextUses:161Used by:Timeline
Symbol 770 EditableTextUses:161Used by:Timeline
Symbol 771 TextUses:161Used by:772
Symbol 772 MovieClipUses:771Used by:773
Symbol 773 MovieClipUses:772 525Used by:Timeline
Symbol 774 EditableTextUses:161Used by:Timeline
Symbol 775 MovieClipUses:345Used by:Timeline
Symbol 776 EditableTextUses:161Used by:Timeline
Symbol 777 EditableTextUses:161Used by:Timeline
Symbol 778 EditableTextUses:161Used by:Timeline
Symbol 779 EditableTextUses:161Used by:Timeline
Symbol 780 TextUses:161Used by:781
Symbol 781 MovieClipUses:780Used by:782
Symbol 782 MovieClipUses:781 525Used by:Timeline
Symbol 783 EditableTextUses:161Used by:Timeline
Symbol 784 MovieClipUses:345Used by:Timeline
Symbol 785 EditableTextUses:161Used by:Timeline
Symbol 786 EditableTextUses:161Used by:Timeline
Symbol 787 EditableTextUses:161Used by:Timeline
Symbol 788 EditableTextUses:161Used by:Timeline
Symbol 789 TextUses:161Used by:790
Symbol 790 MovieClipUses:789Used by:791
Symbol 791 MovieClipUses:790 525Used by:Timeline
Symbol 792 EditableTextUses:161Used by:Timeline
Symbol 793 MovieClipUses:345Used by:Timeline
Symbol 794 EditableTextUses:161Used by:Timeline
Symbol 795 EditableTextUses:161Used by:Timeline
Symbol 796 EditableTextUses:161Used by:Timeline
Symbol 797 EditableTextUses:161Used by:Timeline
Symbol 798 TextUses:161Used by:799
Symbol 799 MovieClipUses:798Used by:800
Symbol 800 MovieClipUses:799 525Used by:Timeline
Symbol 801 EditableTextUses:161Used by:Timeline
Symbol 802 MovieClipUses:345Used by:Timeline
Symbol 803 EditableTextUses:161Used by:Timeline
Symbol 804 EditableTextUses:161Used by:Timeline
Symbol 805 EditableTextUses:161Used by:Timeline
Symbol 806 EditableTextUses:161Used by:Timeline
Symbol 807 TextUses:161Used by:808
Symbol 808 MovieClipUses:807Used by:809
Symbol 809 MovieClipUses:808 525Used by:Timeline
Symbol 810 TextUses:161Used by:Timeline
Symbol 811 TextUses:161Used by:813
Symbol 812 TextUses:161Used by:813
Symbol 813 ButtonUses:811 218 812 217Used by:Timeline
Streaming Sound 1Used by:Symbol 68 MovieClip
Streaming Sound 2Used by:Symbol 86 MovieClip
Streaming Sound 3Used by:Symbol 98 MovieClip

Instance Names

"cursor"Frame 1Symbol 23 MovieClip
"clouds"Frame 6Symbol 151 MovieClip
"hp"Frame 6Symbol 176 MovieClip
"right"Frame 6Symbol 177 MovieClip
"down"Frame 6Symbol 177 MovieClip
"up"Frame 6Symbol 177 MovieClip
"hit"Frame 6Symbol 179 MovieClip
"hp"Frame 6Symbol 176 MovieClip
"hit"Frame 6Symbol 179 MovieClip
"upgrade"Frame 8Symbol 337 MovieClip
"fade"Frame 8Symbol 338 MovieClip
"spikespawn"Frame 9Symbol 340 MovieClip
"bubblespawn"Frame 9Symbol 340 MovieClip
"clouds"Frame 9Symbol 151 MovieClip
"bubble"Frame 9Symbol 343 MovieClip
"bomb"Frame 9Symbol 344 MovieClip
"enemies"Frame 9Symbol 346 MovieClip
"BFname"Frame 9Symbol 348 MovieClip
"BFname2"Frame 9Symbol 350 MovieClip
"BFname3"Frame 9Symbol 352 MovieClip
"BFname4"Frame 9Symbol 354 MovieClip
"ripple"Frame 9Symbol 356 MovieClip
"weapons"Frame 9Symbol 358 MovieClip
"pistol"Frame 9Symbol 360 MovieClip
"mine"Frame 9Symbol 362 MovieClip
"shotgun"Frame 9Symbol 365 MovieClip
"grenade"Frame 9Symbol 375 MovieClip
"rocket"Frame 9Symbol 383 MovieClip
"basicfish"Frame 9Symbol 458 MovieClip
"enemyfish"Frame 9Symbol 463 MovieClip
"basicfish2"Frame 9Symbol 458 MovieClip
"basicfish3"Frame 9Symbol 458 MovieClip
"basicfish4"Frame 9Symbol 458 MovieClip
"enemycrab"Frame 9Symbol 492 MovieClip
"enemybomb"Frame 9Symbol 496 MovieClip
"enemyocto"Frame 9Symbol 515 MovieClip
"enemyhorse"Frame 9Symbol 517 MovieClip
"enemyshark"Frame 9Symbol 523 MovieClip
"upgrade"Frame 10Symbol 337 MovieClip
"spikespawn"Frame 11Symbol 340 MovieClip
"bubblespawn"Frame 11Symbol 340 MovieClip
"clouds"Frame 11Symbol 151 MovieClip
"bubble"Frame 11Symbol 343 MovieClip
"bomb"Frame 11Symbol 344 MovieClip
"enemies"Frame 11Symbol 540 MovieClip
"BFname"Frame 11Symbol 348 MovieClip
"BFname2"Frame 11Symbol 350 MovieClip
"BFname3"Frame 11Symbol 352 MovieClip
"BFname4"Frame 11Symbol 354 MovieClip
"ripple"Frame 11Symbol 356 MovieClip
"weapons"Frame 11Symbol 358 MovieClip
"pistol"Frame 11Symbol 360 MovieClip
"mine"Frame 11Symbol 362 MovieClip
"shotgun"Frame 11Symbol 365 MovieClip
"grenade"Frame 11Symbol 375 MovieClip
"rocket"Frame 11Symbol 383 MovieClip
"basicfish"Frame 11Symbol 458 MovieClip
"basicfish2"Frame 11Symbol 458 MovieClip
"basicfish3"Frame 11Symbol 458 MovieClip
"basicfish4"Frame 11Symbol 458 MovieClip
"enemyfish"Frame 11Symbol 463 MovieClip
"enemycrab"Frame 11Symbol 492 MovieClip
"enemybomb"Frame 11Symbol 496 MovieClip
"enemyocto"Frame 11Symbol 515 MovieClip
"enemyhorse"Frame 11Symbol 517 MovieClip
"enemyshark"Frame 11Symbol 523 MovieClip
"upgrade"Frame 12Symbol 337 MovieClip
"clouds"Frame 13Symbol 151 MovieClip
"spikespawn"Frame 13Symbol 340 MovieClip
"bubblespawn"Frame 13Symbol 340 MovieClip
"bubble"Frame 13Symbol 343 MovieClip
"bomb"Frame 13Symbol 344 MovieClip
"enemies"Frame 13Symbol 554 MovieClip
"BFname"Frame 13Symbol 348 MovieClip
"BFname2"Frame 13Symbol 350 MovieClip
"BFname3"Frame 13Symbol 352 MovieClip
"BFname4"Frame 13Symbol 354 MovieClip
"ripple"Frame 13Symbol 356 MovieClip
"weapons"Frame 13Symbol 358 MovieClip
"pistol"Frame 13Symbol 360 MovieClip
"mine"Frame 13Symbol 362 MovieClip
"shotgun"Frame 13Symbol 365 MovieClip
"grenade"Frame 13Symbol 375 MovieClip
"rocket"Frame 13Symbol 383 MovieClip
"basicfish"Frame 13Symbol 458 MovieClip
"basicfish2"Frame 13Symbol 458 MovieClip
"basicfish3"Frame 13Symbol 458 MovieClip
"basicfish4"Frame 13Symbol 458 MovieClip
"enemyfish"Frame 13Symbol 463 MovieClip
"enemycrab"Frame 13Symbol 492 MovieClip
"enemybomb"Frame 13Symbol 496 MovieClip
"enemyocto"Frame 13Symbol 515 MovieClip
"enemyhorse"Frame 13Symbol 517 MovieClip
"enemyshark"Frame 13Symbol 523 MovieClip
"upgrade"Frame 14Symbol 337 MovieClip
"clouds"Frame 15Symbol 151 MovieClip
"spikespawn"Frame 15Symbol 340 MovieClip
"bubblespawn"Frame 15Symbol 340 MovieClip
"bubble"Frame 15Symbol 343 MovieClip
"bomb"Frame 15Symbol 344 MovieClip
"enemies"Frame 15Symbol 564 MovieClip
"BFname"Frame 15Symbol 348 MovieClip
"BFname2"Frame 15Symbol 350 MovieClip
"BFname3"Frame 15Symbol 352 MovieClip
"BFname4"Frame 15Symbol 354 MovieClip
"ripple"Frame 15Symbol 356 MovieClip
"weapons"Frame 15Symbol 358 MovieClip
"pistol"Frame 15Symbol 360 MovieClip
"mine"Frame 15Symbol 362 MovieClip
"shotgun"Frame 15Symbol 365 MovieClip
"grenade"Frame 15Symbol 375 MovieClip
"rocket"Frame 15Symbol 383 MovieClip
"basicfish"Frame 15Symbol 458 MovieClip
"basicfish2"Frame 15Symbol 458 MovieClip
"basicfish3"Frame 15Symbol 458 MovieClip
"basicfish4"Frame 15Symbol 458 MovieClip
"enemyfish"Frame 15Symbol 463 MovieClip
"enemycrab"Frame 15Symbol 492 MovieClip
"enemybomb"Frame 15Symbol 496 MovieClip
"enemyocto"Frame 15Symbol 515 MovieClip
"enemyhorse"Frame 15Symbol 517 MovieClip
"enemyshark"Frame 15Symbol 523 MovieClip
"upgrade"Frame 16Symbol 337 MovieClip
"clouds"Frame 17Symbol 151 MovieClip
"spikespawn"Frame 17Symbol 340 MovieClip
"bubblespawn"Frame 17Symbol 340 MovieClip
"bubble"Frame 17Symbol 343 MovieClip
"bomb"Frame 17Symbol 344 MovieClip
"enemies"Frame 17Symbol 574 MovieClip
"BFname"Frame 17Symbol 348 MovieClip
"BFname2"Frame 17Symbol 350 MovieClip
"BFname3"Frame 17Symbol 352 MovieClip
"BFname4"Frame 17Symbol 354 MovieClip
"ripple"Frame 17Symbol 356 MovieClip
"weapons"Frame 17Symbol 358 MovieClip
"pistol"Frame 17Symbol 360 MovieClip
"mine"Frame 17Symbol 362 MovieClip
"shotgun"Frame 17Symbol 365 MovieClip
"grenade"Frame 17Symbol 375 MovieClip
"rocket"Frame 17Symbol 383 MovieClip
"basicfish"Frame 17Symbol 458 MovieClip
"basicfish2"Frame 17Symbol 458 MovieClip
"basicfish3"Frame 17Symbol 458 MovieClip
"basicfish4"Frame 17Symbol 458 MovieClip
"enemyfish"Frame 17Symbol 463 MovieClip
"enemycrab"Frame 17Symbol 492 MovieClip
"enemybomb"Frame 17Symbol 496 MovieClip
"enemyocto"Frame 17Symbol 515 MovieClip
"enemyhorse"Frame 17Symbol 517 MovieClip
"enemyshark"Frame 17Symbol 523 MovieClip
"upgrade"Frame 18Symbol 337 MovieClip
"clouds"Frame 19Symbol 151 MovieClip
"spikespawn"Frame 19Symbol 340 MovieClip
"bubblespawn"Frame 19Symbol 340 MovieClip
"bubble"Frame 19Symbol 343 MovieClip
"bomb"Frame 19Symbol 344 MovieClip
"enemies"Frame 19Symbol 584 MovieClip
"BFname"Frame 19Symbol 348 MovieClip
"BFname2"Frame 19Symbol 350 MovieClip
"BFname3"Frame 19Symbol 352 MovieClip
"BFname4"Frame 19Symbol 354 MovieClip
"ripple"Frame 19Symbol 356 MovieClip
"weapons"Frame 19Symbol 358 MovieClip
"pistol"Frame 19Symbol 360 MovieClip
"mine"Frame 19Symbol 362 MovieClip
"shotgun"Frame 19Symbol 365 MovieClip
"grenade"Frame 19Symbol 375 MovieClip
"rocket"Frame 19Symbol 383 MovieClip
"basicfish"Frame 19Symbol 458 MovieClip
"basicfish2"Frame 19Symbol 458 MovieClip
"basicfish3"Frame 19Symbol 458 MovieClip
"basicfish4"Frame 19Symbol 458 MovieClip
"enemyfish"Frame 19Symbol 463 MovieClip
"enemycrab"Frame 19Symbol 492 MovieClip
"enemybomb"Frame 19Symbol 496 MovieClip
"enemyocto"Frame 19Symbol 515 MovieClip
"enemyhorse"Frame 19Symbol 517 MovieClip
"enemyshark"Frame 19Symbol 523 MovieClip
"upgrade"Frame 20Symbol 337 MovieClip
"clouds"Frame 21Symbol 151 MovieClip
"spikespawn"Frame 21Symbol 340 MovieClip
"bubblespawn"Frame 21Symbol 340 MovieClip
"bubble"Frame 21Symbol 343 MovieClip
"bomb"Frame 21Symbol 344 MovieClip
"enemies"Frame 21Symbol 594 MovieClip
"BFname"Frame 21Symbol 348 MovieClip
"BFname2"Frame 21Symbol 350 MovieClip
"BFname3"Frame 21Symbol 352 MovieClip
"BFname4"Frame 21Symbol 354 MovieClip
"ripple"Frame 21Symbol 356 MovieClip
"weapons"Frame 21Symbol 358 MovieClip
"pistol"Frame 21Symbol 360 MovieClip
"mine"Frame 21Symbol 362 MovieClip
"shotgun"Frame 21Symbol 365 MovieClip
"grenade"Frame 21Symbol 375 MovieClip
"rocket"Frame 21Symbol 383 MovieClip
"basicfish"Frame 21Symbol 458 MovieClip
"basicfish2"Frame 21Symbol 458 MovieClip
"basicfish3"Frame 21Symbol 458 MovieClip
"basicfish4"Frame 21Symbol 458 MovieClip
"enemyfish"Frame 21Symbol 463 MovieClip
"enemycrab"Frame 21Symbol 492 MovieClip
"enemybomb"Frame 21Symbol 496 MovieClip
"enemyocto"Frame 21Symbol 515 MovieClip
"enemyhorse"Frame 21Symbol 517 MovieClip
"enemyshark"Frame 21Symbol 523 MovieClip
"upgrade"Frame 22Symbol 337 MovieClip
"clouds"Frame 23Symbol 151 MovieClip
"spikespawn"Frame 23Symbol 340 MovieClip
"bubblespawn"Frame 23Symbol 340 MovieClip
"bubble"Frame 23Symbol 343 MovieClip
"bomb"Frame 23Symbol 344 MovieClip
"enemies"Frame 23Symbol 604 MovieClip
"BFname"Frame 23Symbol 348 MovieClip
"BFname2"Frame 23Symbol 350 MovieClip
"BFname3"Frame 23Symbol 352 MovieClip
"BFname4"Frame 23Symbol 354 MovieClip
"weapons"Frame 23Symbol 358 MovieClip
"pistol"Frame 23Symbol 360 MovieClip
"mine"Frame 23Symbol 362 MovieClip
"shotgun"Frame 23Symbol 365 MovieClip
"grenade"Frame 23Symbol 375 MovieClip
"rocket"Frame 23Symbol 383 MovieClip
"basicfish"Frame 23Symbol 458 MovieClip
"basicfish2"Frame 23Symbol 458 MovieClip
"basicfish3"Frame 23Symbol 458 MovieClip
"basicfish4"Frame 23Symbol 458 MovieClip
"ripple"Frame 23Symbol 356 MovieClip
"enemyfish"Frame 23Symbol 463 MovieClip
"enemycrab"Frame 23Symbol 492 MovieClip
"enemybomb"Frame 23Symbol 496 MovieClip
"enemyocto"Frame 23Symbol 515 MovieClip
"enemyhorse"Frame 23Symbol 517 MovieClip
"enemyshark"Frame 23Symbol 523 MovieClip
"upgrade"Frame 24Symbol 337 MovieClip
"clouds"Frame 25Symbol 151 MovieClip
"spikespawn"Frame 25Symbol 340 MovieClip
"bubblespawn"Frame 25Symbol 340 MovieClip
"bubble"Frame 25Symbol 343 MovieClip
"bomb"Frame 25Symbol 344 MovieClip
"enemies"Frame 25Symbol 613 MovieClip
"BFname"Frame 25Symbol 348 MovieClip
"BFname2"Frame 25Symbol 350 MovieClip
"BFname3"Frame 25Symbol 352 MovieClip
"BFname4"Frame 25Symbol 354 MovieClip
"ripple"Frame 25Symbol 356 MovieClip
"weapons"Frame 25Symbol 358 MovieClip
"pistol"Frame 25Symbol 360 MovieClip
"mine"Frame 25Symbol 362 MovieClip
"shotgun"Frame 25Symbol 365 MovieClip
"grenade"Frame 25Symbol 375 MovieClip
"rocket"Frame 25Symbol 383 MovieClip
"basicfish"Frame 25Symbol 458 MovieClip
"basicfish2"Frame 25Symbol 458 MovieClip
"basicfish3"Frame 25Symbol 458 MovieClip
"basicfish4"Frame 25Symbol 458 MovieClip
"enemyfish"Frame 25Symbol 463 MovieClip
"enemycrab"Frame 25Symbol 492 MovieClip
"enemybomb"Frame 25Symbol 496 MovieClip
"enemyocto"Frame 25Symbol 515 MovieClip
"enemyhorse"Frame 25Symbol 517 MovieClip
"enemyshark"Frame 25Symbol 523 MovieClip
"upgrade"Frame 26Symbol 337 MovieClip
"clouds"Frame 27Symbol 151 MovieClip
"spikespawn"Frame 27Symbol 340 MovieClip
"bubblespawn"Frame 27Symbol 340 MovieClip
"bubble"Frame 27Symbol 343 MovieClip
"bomb"Frame 27Symbol 344 MovieClip
"enemies"Frame 27Symbol 622 MovieClip
"BFname"Frame 27Symbol 348 MovieClip
"BFname2"Frame 27Symbol 350 MovieClip
"BFname3"Frame 27Symbol 352 MovieClip
"BFname4"Frame 27Symbol 354 MovieClip
"ripple"Frame 27Symbol 356 MovieClip
"weapons"Frame 27Symbol 358 MovieClip
"pistol"Frame 27Symbol 360 MovieClip
"mine"Frame 27Symbol 362 MovieClip
"shotgun"Frame 27Symbol 365 MovieClip
"grenade"Frame 27Symbol 375 MovieClip
"rocket"Frame 27Symbol 383 MovieClip
"basicfish"Frame 27Symbol 458 MovieClip
"basicfish2"Frame 27Symbol 458 MovieClip
"basicfish3"Frame 27Symbol 458 MovieClip
"basicfish4"Frame 27Symbol 458 MovieClip
"enemyfish"Frame 27Symbol 463 MovieClip
"enemycrab"Frame 27Symbol 492 MovieClip
"enemybomb"Frame 27Symbol 496 MovieClip
"enemyocto"Frame 27Symbol 515 MovieClip
"enemyhorse"Frame 27Symbol 517 MovieClip
"enemyshark"Frame 27Symbol 523 MovieClip
"upgrade"Frame 28Symbol 337 MovieClip
"clouds"Frame 29Symbol 151 MovieClip
"spikespawn"Frame 29Symbol 340 MovieClip
"bubblespawn"Frame 29Symbol 340 MovieClip
"bubble"Frame 29Symbol 343 MovieClip
"bomb"Frame 29Symbol 344 MovieClip
"enemies"Frame 29Symbol 631 MovieClip
"BFname"Frame 29Symbol 348 MovieClip
"BFname2"Frame 29Symbol 350 MovieClip
"BFname3"Frame 29Symbol 352 MovieClip
"BFname4"Frame 29Symbol 354 MovieClip
"ripple"Frame 29Symbol 356 MovieClip
"weapons"Frame 29Symbol 358 MovieClip
"pistol"Frame 29Symbol 360 MovieClip
"mine"Frame 29Symbol 362 MovieClip
"shotgun"Frame 29Symbol 365 MovieClip
"grenade"Frame 29Symbol 375 MovieClip
"rocket"Frame 29Symbol 383 MovieClip
"basicfish"Frame 29Symbol 458 MovieClip
"basicfish2"Frame 29Symbol 458 MovieClip
"basicfish3"Frame 29Symbol 458 MovieClip
"basicfish4"Frame 29Symbol 458 MovieClip
"enemyfish"Frame 29Symbol 463 MovieClip
"enemycrab"Frame 29Symbol 492 MovieClip
"enemybomb"Frame 29Symbol 496 MovieClip
"enemyocto"Frame 29Symbol 515 MovieClip
"enemyhorse"Frame 29Symbol 517 MovieClip
"enemyshark"Frame 29Symbol 523 MovieClip
"upgrade"Frame 30Symbol 337 MovieClip
"clouds"Frame 31Symbol 151 MovieClip
"spikespawn"Frame 31Symbol 340 MovieClip
"bubblespawn"Frame 31Symbol 340 MovieClip
"bubble"Frame 31Symbol 343 MovieClip
"bomb"Frame 31Symbol 344 MovieClip
"enemies"Frame 31Symbol 640 MovieClip
"BFname"Frame 31Symbol 348 MovieClip
"BFname2"Frame 31Symbol 350 MovieClip
"BFname3"Frame 31Symbol 352 MovieClip
"BFname4"Frame 31Symbol 354 MovieClip
"ripple"Frame 31Symbol 356 MovieClip
"weapons"Frame 31Symbol 358 MovieClip
"pistol"Frame 31Symbol 360 MovieClip
"mine"Frame 31Symbol 362 MovieClip
"shotgun"Frame 31Symbol 365 MovieClip
"grenade"Frame 31Symbol 375 MovieClip
"rocket"Frame 31Symbol 383 MovieClip
"basicfish"Frame 31Symbol 458 MovieClip
"basicfish2"Frame 31Symbol 458 MovieClip
"basicfish3"Frame 31Symbol 458 MovieClip
"basicfish4"Frame 31Symbol 458 MovieClip
"enemyfish"Frame 31Symbol 463 MovieClip
"enemycrab"Frame 31Symbol 492 MovieClip
"enemybomb"Frame 31Symbol 496 MovieClip
"enemyocto"Frame 31Symbol 515 MovieClip
"enemyhorse"Frame 31Symbol 517 MovieClip
"enemyshark"Frame 31Symbol 523 MovieClip
"upgrade"Frame 32Symbol 337 MovieClip
"clouds"Frame 33Symbol 151 MovieClip
"spikespawn"Frame 33Symbol 340 MovieClip
"bubblespawn"Frame 33Symbol 340 MovieClip
"bubble"Frame 33Symbol 343 MovieClip
"bomb"Frame 33Symbol 344 MovieClip
"enemies"Frame 33Symbol 649 MovieClip
"BFname"Frame 33Symbol 348 MovieClip
"BFname2"Frame 33Symbol 350 MovieClip
"BFname3"Frame 33Symbol 352 MovieClip
"BFname4"Frame 33Symbol 354 MovieClip
"ripple"Frame 33Symbol 356 MovieClip
"weapons"Frame 33Symbol 358 MovieClip
"pistol"Frame 33Symbol 360 MovieClip
"mine"Frame 33Symbol 362 MovieClip
"shotgun"Frame 33Symbol 365 MovieClip
"grenade"Frame 33Symbol 375 MovieClip
"rocket"Frame 33Symbol 383 MovieClip
"basicfish"Frame 33Symbol 458 MovieClip
"basicfish2"Frame 33Symbol 458 MovieClip
"basicfish3"Frame 33Symbol 458 MovieClip
"basicfish4"Frame 33Symbol 458 MovieClip
"enemyfish"Frame 33Symbol 463 MovieClip
"enemycrab"Frame 33Symbol 492 MovieClip
"enemybomb"Frame 33Symbol 496 MovieClip
"enemyocto"Frame 33Symbol 515 MovieClip
"enemyhorse"Frame 33Symbol 517 MovieClip
"enemyshark"Frame 33Symbol 523 MovieClip
"upgrade"Frame 34Symbol 337 MovieClip
"clouds"Frame 35Symbol 151 MovieClip
"spikespawn"Frame 35Symbol 340 MovieClip
"bubblespawn"Frame 35Symbol 340 MovieClip
"bubble"Frame 35Symbol 343 MovieClip
"bomb"Frame 35Symbol 344 MovieClip
"enemies"Frame 35Symbol 658 MovieClip
"BFname"Frame 35Symbol 348 MovieClip
"BFname2"Frame 35Symbol 350 MovieClip
"BFname3"Frame 35Symbol 352 MovieClip
"BFname4"Frame 35Symbol 354 MovieClip
"ripple"Frame 35Symbol 356 MovieClip
"weapons"Frame 35Symbol 358 MovieClip
"pistol"Frame 35Symbol 360 MovieClip
"mine"Frame 35Symbol 362 MovieClip
"shotgun"Frame 35Symbol 365 MovieClip
"grenade"Frame 35Symbol 375 MovieClip
"rocket"Frame 35Symbol 383 MovieClip
"basicfish"Frame 35Symbol 458 MovieClip
"basicfish2"Frame 35Symbol 458 MovieClip
"basicfish3"Frame 35Symbol 458 MovieClip
"basicfish4"Frame 35Symbol 458 MovieClip
"enemyfish"Frame 35Symbol 463 MovieClip
"enemycrab"Frame 35Symbol 492 MovieClip
"enemybomb"Frame 35Symbol 496 MovieClip
"enemyocto"Frame 35Symbol 515 MovieClip
"enemyhorse"Frame 35Symbol 517 MovieClip
"enemyshark"Frame 35Symbol 523 MovieClip
"upgrade"Frame 36Symbol 337 MovieClip
"clouds"Frame 37Symbol 151 MovieClip
"spikespawn"Frame 37Symbol 340 MovieClip
"bubblespawn"Frame 37Symbol 340 MovieClip
"bubble"Frame 37Symbol 343 MovieClip
"bomb"Frame 37Symbol 344 MovieClip
"enemies"Frame 37Symbol 667 MovieClip
"BFname"Frame 37Symbol 348 MovieClip
"BFname2"Frame 37Symbol 350 MovieClip
"BFname3"Frame 37Symbol 352 MovieClip
"BFname4"Frame 37Symbol 354 MovieClip
"ripple"Frame 37Symbol 356 MovieClip
"weapons"Frame 37Symbol 358 MovieClip
"mine"Frame 37Symbol 362 MovieClip
"shotgun"Frame 37Symbol 365 MovieClip
"grenade"Frame 37Symbol 375 MovieClip
"rocket"Frame 37Symbol 383 MovieClip
"basicfish"Frame 37Symbol 458 MovieClip
"basicfish2"Frame 37Symbol 458 MovieClip
"basicfish3"Frame 37Symbol 458 MovieClip
"basicfish4"Frame 37Symbol 458 MovieClip
"enemyfish"Frame 37Symbol 463 MovieClip
"enemycrab"Frame 37Symbol 492 MovieClip
"enemybomb"Frame 37Symbol 496 MovieClip
"enemyocto"Frame 37Symbol 515 MovieClip
"enemyhorse"Frame 37Symbol 517 MovieClip
"enemyshark"Frame 37Symbol 523 MovieClip
"upgrade"Frame 38Symbol 337 MovieClip
"clouds"Frame 39Symbol 151 MovieClip
"spikespawn"Frame 39Symbol 340 MovieClip
"bubblespawn"Frame 39Symbol 340 MovieClip
"bubble"Frame 39Symbol 343 MovieClip
"bomb"Frame 39Symbol 344 MovieClip
"enemies"Frame 39Symbol 676 MovieClip
"BFname"Frame 39Symbol 348 MovieClip
"BFname2"Frame 39Symbol 350 MovieClip
"BFname3"Frame 39Symbol 352 MovieClip
"BFname4"Frame 39Symbol 354 MovieClip
"ripple"Frame 39Symbol 356 MovieClip
"weapons"Frame 39Symbol 358 MovieClip
"pistol"Frame 39Symbol 360 MovieClip
"mine"Frame 39Symbol 362 MovieClip
"shotgun"Frame 39Symbol 365 MovieClip
"grenade"Frame 39Symbol 375 MovieClip
"rocket"Frame 39Symbol 383 MovieClip
"basicfish"Frame 39Symbol 458 MovieClip
"basicfish2"Frame 39Symbol 458 MovieClip
"basicfish3"Frame 39Symbol 458 MovieClip
"basicfish4"Frame 39Symbol 458 MovieClip
"enemyfish"Frame 39Symbol 463 MovieClip
"enemycrab"Frame 39Symbol 492 MovieClip
"enemybomb"Frame 39Symbol 496 MovieClip
"enemyocto"Frame 39Symbol 515 MovieClip
"enemyhorse"Frame 39Symbol 517 MovieClip
"enemyshark"Frame 39Symbol 523 MovieClip
"upgrade"Frame 40Symbol 337 MovieClip
"clouds"Frame 41Symbol 151 MovieClip
"spikespawn"Frame 41Symbol 340 MovieClip
"bubblespawn"Frame 41Symbol 340 MovieClip
"bubble"Frame 41Symbol 343 MovieClip
"bomb"Frame 41Symbol 344 MovieClip
"enemies"Frame 41Symbol 685 MovieClip
"BFname"Frame 41Symbol 348 MovieClip
"BFname2"Frame 41Symbol 350 MovieClip
"BFname3"Frame 41Symbol 352 MovieClip
"BFname4"Frame 41Symbol 354 MovieClip
"ripple"Frame 41Symbol 356 MovieClip
"weapons"Frame 41Symbol 358 MovieClip
"pistol"Frame 41Symbol 360 MovieClip
"mine"Frame 41Symbol 362 MovieClip
"shotgun"Frame 41Symbol 365 MovieClip
"grenade"Frame 41Symbol 375 MovieClip
"rocket"Frame 41Symbol 383 MovieClip
"basicfish"Frame 41Symbol 458 MovieClip
"basicfish2"Frame 41Symbol 458 MovieClip
"basicfish3"Frame 41Symbol 458 MovieClip
"basicfish4"Frame 41Symbol 458 MovieClip
"enemyfish"Frame 41Symbol 463 MovieClip
"enemycrab"Frame 41Symbol 492 MovieClip
"enemybomb"Frame 41Symbol 496 MovieClip
"enemyocto"Frame 41Symbol 515 MovieClip
"enemyhorse"Frame 41Symbol 517 MovieClip
"enemyshark"Frame 41Symbol 523 MovieClip
"upgrade"Frame 42Symbol 337 MovieClip
"clouds"Frame 43Symbol 151 MovieClip
"spikespawn"Frame 43Symbol 340 MovieClip
"bubblespawn"Frame 43Symbol 340 MovieClip
"bubble"Frame 43Symbol 343 MovieClip
"bomb"Frame 43Symbol 344 MovieClip
"enemies"Frame 43Symbol 694 MovieClip
"BFname"Frame 43Symbol 348 MovieClip
"BFname2"Frame 43Symbol 350 MovieClip
"BFname3"Frame 43Symbol 352 MovieClip
"BFname4"Frame 43Symbol 354 MovieClip
"ripple"Frame 43Symbol 356 MovieClip
"weapons"Frame 43Symbol 358 MovieClip
"pistol"Frame 43Symbol 360 MovieClip
"mine"Frame 43Symbol 362 MovieClip
"shotgun"Frame 43Symbol 365 MovieClip
"grenade"Frame 43Symbol 375 MovieClip
"rocket"Frame 43Symbol 383 MovieClip
"basicfish"Frame 43Symbol 458 MovieClip
"basicfish2"Frame 43Symbol 458 MovieClip
"basicfish3"Frame 43Symbol 458 MovieClip
"basicfish4"Frame 43Symbol 458 MovieClip
"enemyfish"Frame 43Symbol 463 MovieClip
"enemycrab"Frame 43Symbol 492 MovieClip
"enemybomb"Frame 43Symbol 496 MovieClip
"enemyocto"Frame 43Symbol 515 MovieClip
"enemyhorse"Frame 43Symbol 517 MovieClip
"enemyshark"Frame 43Symbol 523 MovieClip
"upgrade"Frame 44Symbol 337 MovieClip
"clouds"Frame 45Symbol 151 MovieClip
"spikespawn"Frame 45Symbol 340 MovieClip
"bubblespawn"Frame 45Symbol 340 MovieClip
"bubble"Frame 45Symbol 343 MovieClip
"bomb"Frame 45Symbol 344 MovieClip
"enemies"Frame 45Symbol 703 MovieClip
"BFname"Frame 45Symbol 348 MovieClip
"BFname2"Frame 45Symbol 350 MovieClip
"BFname3"Frame 45Symbol 352 MovieClip
"BFname4"Frame 45Symbol 354 MovieClip
"ripple"Frame 45Symbol 356 MovieClip
"weapons"Frame 45Symbol 358 MovieClip
"pistol"Frame 45Symbol 360 MovieClip
"mine"Frame 45Symbol 362 MovieClip
"shotgun"Frame 45Symbol 365 MovieClip
"grenade"Frame 45Symbol 375 MovieClip
"rocket"Frame 45Symbol 383 MovieClip
"basicfish"Frame 45Symbol 458 MovieClip
"basicfish2"Frame 45Symbol 458 MovieClip
"basicfish3"Frame 45Symbol 458 MovieClip
"basicfish4"Frame 45Symbol 458 MovieClip
"enemyfish"Frame 45Symbol 463 MovieClip
"enemycrab"Frame 45Symbol 492 MovieClip
"enemybomb"Frame 45Symbol 496 MovieClip
"enemyocto"Frame 45Symbol 515 MovieClip
"enemyhorse"Frame 45Symbol 517 MovieClip
"enemyshark"Frame 45Symbol 523 MovieClip
"upgrade"Frame 46Symbol 337 MovieClip
"clouds"Frame 47Symbol 151 MovieClip
"spikespawn"Frame 47Symbol 340 MovieClip
"bubblespawn"Frame 47Symbol 340 MovieClip
"bubble"Frame 47Symbol 343 MovieClip
"bomb"Frame 47Symbol 344 MovieClip
"enemies"Frame 47Symbol 712 MovieClip
"BFname"Frame 47Symbol 348 MovieClip
"BFname2"Frame 47Symbol 350 MovieClip
"BFname3"Frame 47Symbol 352 MovieClip
"BFname4"Frame 47Symbol 354 MovieClip
"ripple"Frame 47Symbol 356 MovieClip
"weapons"Frame 47Symbol 358 MovieClip
"mine"Frame 47Symbol 362 MovieClip
"shotgun"Frame 47Symbol 365 MovieClip
"grenade"Frame 47Symbol 375 MovieClip
"rocket"Frame 47Symbol 383 MovieClip
"basicfish"Frame 47Symbol 458 MovieClip
"basicfish2"Frame 47Symbol 458 MovieClip
"basicfish3"Frame 47Symbol 458 MovieClip
"basicfish4"Frame 47Symbol 458 MovieClip
"enemyfish"Frame 47Symbol 463 MovieClip
"enemycrab"Frame 47Symbol 492 MovieClip
"enemybomb"Frame 47Symbol 496 MovieClip
"enemyocto"Frame 47Symbol 515 MovieClip
"enemyhorse"Frame 47Symbol 517 MovieClip
"enemyshark"Frame 47Symbol 523 MovieClip
"upgrade"Frame 48Symbol 337 MovieClip
"clouds"Frame 49Symbol 151 MovieClip
"spikespawn"Frame 49Symbol 340 MovieClip
"bubblespawn"Frame 49Symbol 340 MovieClip
"bubble"Frame 49Symbol 343 MovieClip
"bomb"Frame 49Symbol 344 MovieClip
"enemies"Frame 49Symbol 721 MovieClip
"BFname"Frame 49Symbol 348 MovieClip
"BFname2"Frame 49Symbol 350 MovieClip
"BFname3"Frame 49Symbol 352 MovieClip
"BFname4"Frame 49Symbol 354 MovieClip
"ripple"Frame 49Symbol 356 MovieClip
"weapons"Frame 49Symbol 358 MovieClip
"mine"Frame 49Symbol 362 MovieClip
"shotgun"Frame 49Symbol 365 MovieClip
"grenade"Frame 49Symbol 375 MovieClip
"rocket"Frame 49Symbol 383 MovieClip
"basicfish"Frame 49Symbol 458 MovieClip
"basicfish2"Frame 49Symbol 458 MovieClip
"basicfish3"Frame 49Symbol 458 MovieClip
"basicfish4"Frame 49Symbol 458 MovieClip
"enemyfish"Frame 49Symbol 463 MovieClip
"enemycrab"Frame 49Symbol 492 MovieClip
"enemybomb"Frame 49Symbol 496 MovieClip
"enemyocto"Frame 49Symbol 515 MovieClip
"enemyhorse"Frame 49Symbol 517 MovieClip
"enemyshark"Frame 49Symbol 523 MovieClip
"upgrade"Frame 50Symbol 337 MovieClip
"clouds"Frame 51Symbol 151 MovieClip
"spikespawn"Frame 51Symbol 340 MovieClip
"bubblespawn"Frame 51Symbol 340 MovieClip
"bubble"Frame 51Symbol 343 MovieClip
"bomb"Frame 51Symbol 344 MovieClip
"enemies"Frame 51Symbol 730 MovieClip
"BFname"Frame 51Symbol 348 MovieClip
"BFname2"Frame 51Symbol 350 MovieClip
"BFname3"Frame 51Symbol 352 MovieClip
"BFname4"Frame 51Symbol 354 MovieClip
"ripple"Frame 51Symbol 356 MovieClip
"weapons"Frame 51Symbol 358 MovieClip
"mine"Frame 51Symbol 362 MovieClip
"shotgun"Frame 51Symbol 365 MovieClip
"grenade"Frame 51Symbol 375 MovieClip
"rocket"Frame 51Symbol 383 MovieClip
"basicfish"Frame 51Symbol 458 MovieClip
"basicfish2"Frame 51Symbol 458 MovieClip
"basicfish3"Frame 51Symbol 458 MovieClip
"basicfish4"Frame 51Symbol 458 MovieClip
"enemyfish"Frame 51Symbol 463 MovieClip
"enemycrab"Frame 51Symbol 492 MovieClip
"enemybomb"Frame 51Symbol 496 MovieClip
"enemyocto"Frame 51Symbol 515 MovieClip
"enemyhorse"Frame 51Symbol 517 MovieClip
"enemyshark"Frame 51Symbol 523 MovieClip
"upgrade"Frame 52Symbol 337 MovieClip
"clouds"Frame 53Symbol 151 MovieClip
"spikespawn"Frame 53Symbol 340 MovieClip
"bubblespawn"Frame 53Symbol 340 MovieClip
"bubble"Frame 53Symbol 343 MovieClip
"bomb"Frame 53Symbol 344 MovieClip
"enemies"Frame 53Symbol 739 MovieClip
"BFname"Frame 53Symbol 348 MovieClip
"BFname2"Frame 53Symbol 350 MovieClip
"BFname3"Frame 53Symbol 352 MovieClip
"BFname4"Frame 53Symbol 354 MovieClip
"ripple"Frame 53Symbol 356 MovieClip
"weapons"Frame 53Symbol 358 MovieClip
"mine"Frame 53Symbol 362 MovieClip
"shotgun"Frame 53Symbol 365 MovieClip
"grenade"Frame 53Symbol 375 MovieClip
"rocket"Frame 53Symbol 383 MovieClip
"basicfish"Frame 53Symbol 458 MovieClip
"basicfish2"Frame 53Symbol 458 MovieClip
"basicfish3"Frame 53Symbol 458 MovieClip
"basicfish4"Frame 53Symbol 458 MovieClip
"enemyfish"Frame 53Symbol 463 MovieClip
"enemycrab"Frame 53Symbol 492 MovieClip
"enemybomb"Frame 53Symbol 496 MovieClip
"enemyocto"Frame 53Symbol 515 MovieClip
"enemyhorse"Frame 53Symbol 517 MovieClip
"enemyshark"Frame 53Symbol 523 MovieClip
"upgrade"Frame 54Symbol 337 MovieClip
"clouds"Frame 55Symbol 151 MovieClip
"spikespawn"Frame 55Symbol 340 MovieClip
"bubblespawn"Frame 55Symbol 340 MovieClip
"bubble"Frame 55Symbol 343 MovieClip
"bomb"Frame 55Symbol 344 MovieClip
"enemies"Frame 55Symbol 748 MovieClip
"BFname"Frame 55Symbol 348 MovieClip
"BFname2"Frame 55Symbol 350 MovieClip
"BFname3"Frame 55Symbol 352 MovieClip
"BFname4"Frame 55Symbol 354 MovieClip
"ripple"Frame 55Symbol 356 MovieClip
"weapons"Frame 55Symbol 358 MovieClip
"mine"Frame 55Symbol 362 MovieClip
"shotgun"Frame 55Symbol 365 MovieClip
"grenade"Frame 55Symbol 375 MovieClip
"rocket"Frame 55Symbol 383 MovieClip
"basicfish"Frame 55Symbol 458 MovieClip
"basicfish2"Frame 55Symbol 458 MovieClip
"basicfish3"Frame 55Symbol 458 MovieClip
"basicfish4"Frame 55Symbol 458 MovieClip
"enemyfish"Frame 55Symbol 463 MovieClip
"enemycrab"Frame 55Symbol 492 MovieClip
"enemybomb"Frame 55Symbol 496 MovieClip
"enemyocto"Frame 55Symbol 515 MovieClip
"enemyhorse"Frame 55Symbol 517 MovieClip
"enemyshark"Frame 55Symbol 523 MovieClip
"upgrade"Frame 56Symbol 337 MovieClip
"clouds"Frame 57Symbol 151 MovieClip
"spikespawn"Frame 57Symbol 340 MovieClip
"bubblespawn"Frame 57Symbol 340 MovieClip
"bubble"Frame 57Symbol 343 MovieClip
"bomb"Frame 57Symbol 344 MovieClip
"enemies"Frame 57Symbol 757 MovieClip
"BFname"Frame 57Symbol 348 MovieClip
"BFname2"Frame 57Symbol 350 MovieClip
"BFname3"Frame 57Symbol 352 MovieClip
"BFname4"Frame 57Symbol 354 MovieClip
"ripple"Frame 57Symbol 356 MovieClip
"weapons"Frame 57Symbol 358 MovieClip
"mine"Frame 57Symbol 362 MovieClip
"shotgun"Frame 57Symbol 365 MovieClip
"grenade"Frame 57Symbol 375 MovieClip
"rocket"Frame 57Symbol 383 MovieClip
"basicfish"Frame 57Symbol 458 MovieClip
"basicfish2"Frame 57Symbol 458 MovieClip
"basicfish3"Frame 57Symbol 458 MovieClip
"basicfish4"Frame 57Symbol 458 MovieClip
"enemyfish"Frame 57Symbol 463 MovieClip
"enemycrab"Frame 57Symbol 492 MovieClip
"enemybomb"Frame 57Symbol 496 MovieClip
"enemyocto"Frame 57Symbol 515 MovieClip
"enemyhorse"Frame 57Symbol 517 MovieClip
"enemyshark"Frame 57Symbol 523 MovieClip
"upgrade"Frame 58Symbol 337 MovieClip
"clouds"Frame 59Symbol 151 MovieClip
"spikespawn"Frame 59Symbol 340 MovieClip
"bubblespawn"Frame 59Symbol 340 MovieClip
"bubble"Frame 59Symbol 343 MovieClip
"bomb"Frame 59Symbol 344 MovieClip
"enemies"Frame 59Symbol 766 MovieClip
"BFname"Frame 59Symbol 348 MovieClip
"BFname2"Frame 59Symbol 350 MovieClip
"BFname3"Frame 59Symbol 352 MovieClip
"BFname4"Frame 59Symbol 354 MovieClip
"ripple"Frame 59Symbol 356 MovieClip
"weapons"Frame 59Symbol 358 MovieClip
"mine"Frame 59Symbol 362 MovieClip
"shotgun"Frame 59Symbol 365 MovieClip
"grenade"Frame 59Symbol 375 MovieClip
"rocket"Frame 59Symbol 383 MovieClip
"basicfish"Frame 59Symbol 458 MovieClip
"basicfish2"Frame 59Symbol 458 MovieClip
"basicfish3"Frame 59Symbol 458 MovieClip
"basicfish4"Frame 59Symbol 458 MovieClip
"enemyfish"Frame 59Symbol 463 MovieClip
"enemycrab"Frame 59Symbol 492 MovieClip
"enemybomb"Frame 59Symbol 496 MovieClip
"enemyocto"Frame 59Symbol 515 MovieClip
"enemyhorse"Frame 59Symbol 517 MovieClip
"enemyshark"Frame 59Symbol 523 MovieClip
"upgrade"Frame 60Symbol 337 MovieClip
"clouds"Frame 61Symbol 151 MovieClip
"spikespawn"Frame 61Symbol 340 MovieClip
"bubblespawn"Frame 61Symbol 340 MovieClip
"bubble"Frame 61Symbol 343 MovieClip
"bomb"Frame 61Symbol 344 MovieClip
"enemies"Frame 61Symbol 775 MovieClip
"BFname"Frame 61Symbol 348 MovieClip
"BFname2"Frame 61Symbol 350 MovieClip
"BFname3"Frame 61Symbol 352 MovieClip
"BFname4"Frame 61Symbol 354 MovieClip
"ripple"Frame 61Symbol 356 MovieClip
"weapons"Frame 61Symbol 358 MovieClip
"mine"Frame 61Symbol 362 MovieClip
"shotgun"Frame 61Symbol 365 MovieClip
"grenade"Frame 61Symbol 375 MovieClip
"rocket"Frame 61Symbol 383 MovieClip
"basicfish"Frame 61Symbol 458 MovieClip
"basicfish2"Frame 61Symbol 458 MovieClip
"basicfish3"Frame 61Symbol 458 MovieClip
"basicfish4"Frame 61Symbol 458 MovieClip
"enemyfish"Frame 61Symbol 463 MovieClip
"enemycrab"Frame 61Symbol 492 MovieClip
"enemybomb"Frame 61Symbol 496 MovieClip
"enemyocto"Frame 61Symbol 515 MovieClip
"enemyhorse"Frame 61Symbol 517 MovieClip
"enemyshark"Frame 61Symbol 523 MovieClip
"upgrade"Frame 62Symbol 337 MovieClip
"clouds"Frame 63Symbol 151 MovieClip
"spikespawn"Frame 63Symbol 340 MovieClip
"bubblespawn"Frame 63Symbol 340 MovieClip
"bubble"Frame 63Symbol 343 MovieClip
"bomb"Frame 63Symbol 344 MovieClip
"enemies"Frame 63Symbol 784 MovieClip
"BFname"Frame 63Symbol 348 MovieClip
"BFname2"Frame 63Symbol 350 MovieClip
"BFname3"Frame 63Symbol 352 MovieClip
"BFname4"Frame 63Symbol 354 MovieClip
"ripple"Frame 63Symbol 356 MovieClip
"weapons"Frame 63Symbol 358 MovieClip
"mine"Frame 63Symbol 362 MovieClip
"shotgun"Frame 63Symbol 365 MovieClip
"grenade"Frame 63Symbol 375 MovieClip
"rocket"Frame 63Symbol 383 MovieClip
"basicfish"Frame 63Symbol 458 MovieClip
"basicfish2"Frame 63Symbol 458 MovieClip
"basicfish3"Frame 63Symbol 458 MovieClip
"basicfish4"Frame 63Symbol 458 MovieClip
"enemyfish"Frame 63Symbol 463 MovieClip
"enemycrab"Frame 63Symbol 492 MovieClip
"enemybomb"Frame 63Symbol 496 MovieClip
"enemyocto"Frame 63Symbol 515 MovieClip
"enemyhorse"Frame 63Symbol 517 MovieClip
"enemyshark"Frame 63Symbol 523 MovieClip
"upgrade"Frame 64Symbol 337 MovieClip
"clouds"Frame 65Symbol 151 MovieClip
"spikespawn"Frame 65Symbol 340 MovieClip
"bubblespawn"Frame 65Symbol 340 MovieClip
"bubble"Frame 65Symbol 343 MovieClip
"bomb"Frame 65Symbol 344 MovieClip
"enemies"Frame 65Symbol 793 MovieClip
"BFname"Frame 65Symbol 348 MovieClip
"BFname2"Frame 65Symbol 350 MovieClip
"BFname3"Frame 65Symbol 352 MovieClip
"BFname4"Frame 65Symbol 354 MovieClip
"ripple"Frame 65Symbol 356 MovieClip
"weapons"Frame 65Symbol 358 MovieClip
"mine"Frame 65Symbol 362 MovieClip
"shotgun"Frame 65Symbol 365 MovieClip
"grenade"Frame 65Symbol 375 MovieClip
"rocket"Frame 65Symbol 383 MovieClip
"basicfish"Frame 65Symbol 458 MovieClip
"basicfish2"Frame 65Symbol 458 MovieClip
"basicfish3"Frame 65Symbol 458 MovieClip
"basicfish4"Frame 65Symbol 458 MovieClip
"enemyfish"Frame 65Symbol 463 MovieClip
"enemycrab"Frame 65Symbol 492 MovieClip
"enemybomb"Frame 65Symbol 496 MovieClip
"enemyocto"Frame 65Symbol 515 MovieClip
"enemyhorse"Frame 65Symbol 517 MovieClip
"enemyshark"Frame 65Symbol 523 MovieClip
"upgrade"Frame 66Symbol 337 MovieClip
"clouds"Frame 67Symbol 151 MovieClip
"spikespawn"Frame 67Symbol 340 MovieClip
"bubblespawn"Frame 67Symbol 340 MovieClip
"bubble"Frame 67Symbol 343 MovieClip
"bomb"Frame 67Symbol 344 MovieClip
"enemies"Frame 67Symbol 802 MovieClip
"BFname"Frame 67Symbol 348 MovieClip
"BFname2"Frame 67Symbol 350 MovieClip
"BFname3"Frame 67Symbol 352 MovieClip
"BFname4"Frame 67Symbol 354 MovieClip
"ripple"Frame 67Symbol 356 MovieClip
"weapons"Frame 67Symbol 358 MovieClip
"mine"Frame 67Symbol 362 MovieClip
"shotgun"Frame 67Symbol 365 MovieClip
"grenade"Frame 67Symbol 375 MovieClip
"rocket"Frame 67Symbol 383 MovieClip
"basicfish"Frame 67Symbol 458 MovieClip
"basicfish2"Frame 67Symbol 458 MovieClip
"basicfish3"Frame 67Symbol 458 MovieClip
"basicfish4"Frame 67Symbol 458 MovieClip
"enemyfish"Frame 67Symbol 463 MovieClip
"enemycrab"Frame 67Symbol 492 MovieClip
"enemybomb"Frame 67Symbol 496 MovieClip
"enemyocto"Frame 67Symbol 515 MovieClip
"enemyhorse"Frame 67Symbol 517 MovieClip
"enemyshark"Frame 67Symbol 523 MovieClip
"bar"Symbol 47 MovieClip Frame 1Symbol 46 MovieClip
"pistol"Symbol 269 MovieClip Frame 1Symbol 265 MovieClip
"pistol"Symbol 306 MovieClip Frame 1Symbol 269 MovieClip
"mines"Symbol 306 MovieClip Frame 1Symbol 277 MovieClip
"shotgun"Symbol 306 MovieClip Frame 1Symbol 281 MovieClip
"swinging"Symbol 306 MovieClip Frame 1Symbol 285 MovieClip
"grenade"Symbol 306 MovieClip Frame 1Symbol 290 MovieClip
"laser"Symbol 306 MovieClip Frame 1Symbol 295 MovieClip
"rocket"Symbol 306 MovieClip Frame 1Symbol 300 MovieClip
"ion"Symbol 306 MovieClip Frame 1Symbol 305 MovieClip
"pistol"Symbol 306 MovieClip Frame 2Symbol 269 MovieClip
"mines"Symbol 306 MovieClip Frame 2Symbol 277 MovieClip
"shotgun"Symbol 306 MovieClip Frame 2Symbol 281 MovieClip
"swinging"Symbol 306 MovieClip Frame 2Symbol 285 MovieClip
"grenade"Symbol 306 MovieClip Frame 2Symbol 290 MovieClip
"laser"Symbol 306 MovieClip Frame 2Symbol 295 MovieClip
"rocket"Symbol 306 MovieClip Frame 2Symbol 300 MovieClip
"ion"Symbol 306 MovieClip Frame 2Symbol 305 MovieClip
"pistol"Symbol 306 MovieClip Frame 3Symbol 269 MovieClip
"mines"Symbol 306 MovieClip Frame 3Symbol 277 MovieClip
"shotgun"Symbol 306 MovieClip Frame 3Symbol 281 MovieClip
"swinging"Symbol 306 MovieClip Frame 3Symbol 285 MovieClip
"grenade"Symbol 306 MovieClip Frame 3Symbol 290 MovieClip
"laser"Symbol 306 MovieClip Frame 3Symbol 295 MovieClip
"rocket"Symbol 306 MovieClip Frame 3Symbol 300 MovieClip
"ion"Symbol 306 MovieClip Frame 3Symbol 305 MovieClip
"pistol"Symbol 306 MovieClip Frame 4Symbol 269 MovieClip
"mines"Symbol 306 MovieClip Frame 4Symbol 277 MovieClip
"shotgun"Symbol 306 MovieClip Frame 4Symbol 281 MovieClip
"swinging"Symbol 306 MovieClip Frame 4Symbol 285 MovieClip
"grenade"Symbol 306 MovieClip Frame 4Symbol 290 MovieClip
"laser"Symbol 306 MovieClip Frame 4Symbol 295 MovieClip
"rocket"Symbol 306 MovieClip Frame 4Symbol 300 MovieClip
"ion"Symbol 306 MovieClip Frame 4Symbol 305 MovieClip
"equipped"Symbol 324 MovieClip Frame 1Symbol 323 MovieClip
"equipped"Symbol 324 MovieClip Frame 2Symbol 323 MovieClip
"equipped"Symbol 324 MovieClip Frame 3Symbol 323 MovieClip
"equipped"Symbol 324 MovieClip Frame 4Symbol 323 MovieClip
"buyfish2"Symbol 337 MovieClip Frame 1Symbol 236 MovieClip
"buyfish3"Symbol 337 MovieClip Frame 1Symbol 245 MovieClip
"buyfish4"Symbol 337 MovieClip Frame 1Symbol 247 MovieClip
"buy"Symbol 337 MovieClip Frame 2Symbol 306 MovieClip
"currentfish"Symbol 337 MovieClip Frame 2Symbol 320 MovieClip
"equip"Symbol 337 MovieClip Frame 2Symbol 324 MovieClip
"bb"Symbol 337 MovieClip Frame 3Symbol 331 MovieClip
"ss"Symbol 337 MovieClip Frame 3Symbol 334 MovieClip
"explodmg"Symbol 374 MovieClip Frame 3Symbol 373 MovieClip
"bang"Symbol 375 MovieClip Frame 100Symbol 374 MovieClip
"hp"Symbol 458 MovieClip Frame 1Symbol 176 MovieClip
"right"Symbol 458 MovieClip Frame 1Symbol 177 MovieClip
"down"Symbol 458 MovieClip Frame 1Symbol 177 MovieClip
"up"Symbol 458 MovieClip Frame 1Symbol 177 MovieClip
"hit"Symbol 458 MovieClip Frame 1Symbol 179 MovieClip
"swinging"Symbol 458 MovieClip Frame 5Symbol 390 MovieClip
"laser"Symbol 458 MovieClip Frame 7Symbol 399 MovieClip
"ion"Symbol 458 MovieClip Frame 9Symbol 413 MovieClip
"blood"Symbol 458 MovieClip Frame 10Symbol 457 MovieClip
"hp"Symbol 463 MovieClip Frame 1Symbol 176 MovieClip
"hit"Symbol 463 MovieClip Frame 1Symbol 179 MovieClip
"hp"Symbol 492 MovieClip Frame 1Symbol 176 MovieClip
"hp"Symbol 496 MovieClip Frame 1Symbol 176 MovieClip
"hit"Symbol 496 MovieClip Frame 1Symbol 179 MovieClip
"bang"Symbol 496 MovieClip Frame 2Symbol 374 MovieClip
"hp"Symbol 515 MovieClip Frame 1Symbol 176 MovieClip
"hit"Symbol 515 MovieClip Frame 1Symbol 179 MovieClip
"hp"Symbol 517 MovieClip Frame 1Symbol 176 MovieClip
"hit"Symbol 517 MovieClip Frame 1Symbol 179 MovieClip
"hp"Symbol 523 MovieClip Frame 1Symbol 176 MovieClip
"hit"Symbol 523 MovieClip Frame 1Symbol 179 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "hit"
ExportAssets (56)Timeline Frame 1Symbol 2 as "mon"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pop"
ExportAssets (56)Timeline Frame 1Symbol 4 as "bang"
ExportAssets (56)Timeline Frame 1Symbol 5 as "splat"
ExportAssets (56)Timeline Frame 1Symbol 6 as "click"

Dynamic Text Variables

cashSymbol 231 EditableText"0000"
basicfishnameSymbol 234 EditableText"Name Nam"
basicfishname2Symbol 235 EditableText"Liza"
basicfishname3Symbol 244 EditableText"Terry"
basicfishname4Symbol 246 EditableText"Johnny"
basicfishnameSymbol 316 EditableText"Name Nam"
basicfishname2Symbol 317 EditableText"Name Nam"
basicfishname3Symbol 318 EditableText"Name Nam"
basicfishname4Symbol 319 EditableText"Name Nam"
amountofbubblesSymbol 327 EditableText"00"
bupSymbol 329 EditableText"00"
supSymbol 332 EditableText"00"
amountofspikesSymbol 336 EditableText"00"
thenameSymbol 347 EditableText"Piggles"
thename2Symbol 349 EditableText"Liza"
thename3Symbol 351 EditableText"Giggles"
thename4Symbol 353 EditableText"Johnny"
timeleftSymbol 531 EditableText"000"
amountofbubblesSymbol 532 EditableText"00"
amountofspikesSymbol 533 EditableText"00"
cashSymbol 534 EditableText"0000"
cashSymbol 539 EditableText"0000"
timeleftSymbol 545 EditableText"000"
amountofbubblesSymbol 546 EditableText"00"
amountofspikesSymbol 547 EditableText"00"
cashSymbol 548 EditableText"0000"
cashSymbol 553 EditableText"0000"
timeleftSymbol 555 EditableText"000"
amountofbubblesSymbol 556 EditableText"00"
amountofspikesSymbol 557 EditableText"00"
cashSymbol 558 EditableText"0000"
cashSymbol 563 EditableText"0000"
timeleftSymbol 565 EditableText"000"
amountofbubblesSymbol 566 EditableText"00"
amountofspikesSymbol 567 EditableText"00"
cashSymbol 568 EditableText"0000"
cashSymbol 573 EditableText"0000"
timeleftSymbol 575 EditableText"000"
amountofbubblesSymbol 576 EditableText"00"
amountofspikesSymbol 577 EditableText"00"
cashSymbol 578 EditableText"0000"
cashSymbol 583 EditableText"0000"
timeleftSymbol 585 EditableText"000"
amountofbubblesSymbol 586 EditableText"00"
amountofspikesSymbol 587 EditableText"00"
cashSymbol 588 EditableText"0000"
cashSymbol 593 EditableText"0000"
timeleftSymbol 595 EditableText"000"
amountofbubblesSymbol 596 EditableText"00"
amountofspikesSymbol 597 EditableText"00"
cashSymbol 598 EditableText"0000"
cashSymbol 603 EditableText"0000"
timeleftSymbol 605 EditableText"000"
amountofbubblesSymbol 606 EditableText"00"
amountofspikesSymbol 607 EditableText"00"
cashSymbol 608 EditableText"0000"
cashSymbol 612 EditableText"0000"
timeleftSymbol 614 EditableText"000"
amountofbubblesSymbol 615 EditableText"00"
amountofspikesSymbol 616 EditableText"00"
cashSymbol 617 EditableText"0000"
cashSymbol 621 EditableText"0000"
timeleftSymbol 623 EditableText"000"
amountofbubblesSymbol 624 EditableText"00"
amountofspikesSymbol 625 EditableText"00"
cashSymbol 626 EditableText"0000"
cashSymbol 630 EditableText"0000"
timeleftSymbol 632 EditableText"000"
amountofbubblesSymbol 633 EditableText"00"
amountofspikesSymbol 634 EditableText"00"
cashSymbol 635 EditableText"0000"
cashSymbol 639 EditableText"0000"
timeleftSymbol 641 EditableText"000"
amountofbubblesSymbol 642 EditableText"00"
amountofspikesSymbol 643 EditableText"00"
cashSymbol 644 EditableText"0000"
cashSymbol 648 EditableText"0000"
timeleftSymbol 650 EditableText"000"
amountofbubblesSymbol 651 EditableText"00"
amountofspikesSymbol 652 EditableText"00"
cashSymbol 653 EditableText"0000"
cashSymbol 657 EditableText"0000"
timeleftSymbol 659 EditableText"000"
amountofbubblesSymbol 660 EditableText"00"
amountofspikesSymbol 661 EditableText"00"
cashSymbol 662 EditableText"0000"
cashSymbol 666 EditableText"0000"
timeleftSymbol 668 EditableText"000"
amountofbubblesSymbol 669 EditableText"00"
amountofspikesSymbol 670 EditableText"00"
cashSymbol 671 EditableText"0000"
cashSymbol 675 EditableText"0000"
timeleftSymbol 677 EditableText"000"
amountofbubblesSymbol 678 EditableText"00"
amountofspikesSymbol 679 EditableText"00"
cashSymbol 680 EditableText"0000"
cashSymbol 684 EditableText"0000"
timeleftSymbol 686 EditableText"000"
amountofbubblesSymbol 687 EditableText"00"
amountofspikesSymbol 688 EditableText"00"
cashSymbol 689 EditableText"0000"
cashSymbol 693 EditableText"0000"
timeleftSymbol 695 EditableText"000"
amountofbubblesSymbol 696 EditableText"00"
amountofspikesSymbol 697 EditableText"00"
cashSymbol 698 EditableText"0000"
cashSymbol 702 EditableText"0000"
timeleftSymbol 704 EditableText"000"
amountofbubblesSymbol 705 EditableText"00"
amountofspikesSymbol 706 EditableText"00"
cashSymbol 707 EditableText"0000"
cashSymbol 711 EditableText"0000"
timeleftSymbol 713 EditableText"000"
amountofbubblesSymbol 714 EditableText"00"
amountofspikesSymbol 715 EditableText"00"
cashSymbol 716 EditableText"0000"
cashSymbol 720 EditableText"0000"
timeleftSymbol 722 EditableText"000"
amountofbubblesSymbol 723 EditableText"00"
amountofspikesSymbol 724 EditableText"00"
cashSymbol 725 EditableText"0000"
cashSymbol 729 EditableText"0000"
timeleftSymbol 731 EditableText"000"
amountofbubblesSymbol 732 EditableText"00"
amountofspikesSymbol 733 EditableText"00"
cashSymbol 734 EditableText"0000"
cashSymbol 738 EditableText"0000"
timeleftSymbol 740 EditableText"000"
amountofbubblesSymbol 741 EditableText"00"
amountofspikesSymbol 742 EditableText"00"
cashSymbol 743 EditableText"0000"
cashSymbol 747 EditableText"0000"
timeleftSymbol 749 EditableText"000"
amountofbubblesSymbol 750 EditableText"00"
amountofspikesSymbol 751 EditableText"00"
cashSymbol 752 EditableText"0000"
cashSymbol 756 EditableText"0000"
timeleftSymbol 758 EditableText"000"
amountofbubblesSymbol 759 EditableText"00"
amountofspikesSymbol 760 EditableText"00"
cashSymbol 761 EditableText"0000"
cashSymbol 765 EditableText"0000"
timeleftSymbol 767 EditableText"000"
amountofbubblesSymbol 768 EditableText"00"
amountofspikesSymbol 769 EditableText"00"
cashSymbol 770 EditableText"0000"
cashSymbol 774 EditableText"0000"
timeleftSymbol 776 EditableText"000"
amountofbubblesSymbol 777 EditableText"00"
amountofspikesSymbol 778 EditableText"00"
cashSymbol 779 EditableText"0000"
cashSymbol 783 EditableText"0000"
timeleftSymbol 785 EditableText"000"
amountofbubblesSymbol 786 EditableText"00"
amountofspikesSymbol 787 EditableText"00"
cashSymbol 788 EditableText"0000"
cashSymbol 792 EditableText"0000"
timeleftSymbol 794 EditableText"000"
amountofbubblesSymbol 795 EditableText"00"
amountofspikesSymbol 796 EditableText"00"
cashSymbol 797 EditableText"0000"
cashSymbol 801 EditableText"0000"
timeleftSymbol 803 EditableText"000"
amountofbubblesSymbol 804 EditableText"00"
amountofspikesSymbol 805 EditableText"00"
cashSymbol 806 EditableText"0000"




http://swfchan.com/19/93278/info.shtml
Created: 27/3 -2019 00:36:56 Last modified: 27/3 -2019 00:36:56 Server time: 14/11 -2024 18:38:12