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

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

Battle Fish.swf

This is the info page for
Flash #48129

(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 355 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 357 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 359 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 361 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 364 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 374 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 382 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 457 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 462 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 457 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 457 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 457 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 491 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 495 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 514 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 516 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 522 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 539 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 355 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 357 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 359 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 553 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 355 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 357 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 359 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 563 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 355 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 357 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 359 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 573 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 355 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 357 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 359 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 583 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 355 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 357 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 359 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 593 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 355 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 357 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 359 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 603 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 357 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 359 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 355 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 462 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 491 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 495 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 514 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 516 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 522 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 612 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 355 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 357 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 359 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 621 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 355 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 357 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 359 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 630 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 355 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 357 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 359 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 639 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 355 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 357 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 359 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 648 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 355 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 357 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 359 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 657 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 355 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 357 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 359 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 666 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 355 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 357 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 675 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 355 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 357 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 359 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 684 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 355 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 357 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 359 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 693 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 355 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 357 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 359 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 702 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 355 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 357 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 359 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 711 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 355 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 357 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 720 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 355 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 357 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 729 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 355 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 357 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 738 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 355 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 357 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 747 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 355 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 357 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 756 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 355 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 357 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 765 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 355 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 357 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 774 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 355 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 357 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 783 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 355 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 357 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 792 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 355 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 357 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 801 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 355 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 357 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 361 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 364 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 374 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 382 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 457 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 457 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 457 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 457 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 462 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 491 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 495 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 514 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 516 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 522 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 355 MovieClip Frame 150
stop();
Symbol 373 MovieClip Frame 16
stop();
Symbol 374 MovieClip Frame 100
stop();
Symbol 456 MovieClip Frame 50
stop(); _root.gameover = _root.gameover - 1;
Symbol 457 MovieClip Frame 1
stop();
Symbol 457 MovieClip Frame 2
stop();
Symbol 457 MovieClip Frame 3
stop();
Symbol 457 MovieClip Frame 4
stop();
Symbol 457 MovieClip Frame 5
stop();
Symbol 457 MovieClip Frame 6
stop();
Symbol 457 MovieClip Frame 7
stop();
Symbol 457 MovieClip Frame 8
stop();
Symbol 457 MovieClip Frame 9
stop();
Symbol 457 MovieClip Frame 10
stop();
Symbol 461 MovieClip Frame 50
stop();
Symbol 462 MovieClip Frame 1
stop();
Symbol 462 MovieClip Frame 2
stop(); _root.cash = _root.cash + 3;
Symbol 490 MovieClip Frame 1
stop();
Instance of Symbol 466 MovieClip in Symbol 490 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 482 MovieClip in Symbol 490 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 491 MovieClip Frame 1
stop();
Symbol 491 MovieClip Frame 2
stop(); _root.cash = _root.cash + 5;
Symbol 495 MovieClip Frame 1
stop();
Symbol 495 MovieClip Frame 2
stop(); _root.cash = _root.cash + 10;
Instance of Symbol 373 MovieClip "bang" in Symbol 495 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 514 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip in Symbol 514 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 513 MovieClip in Symbol 514 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 513 MovieClip in Symbol 514 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 514 MovieClip Frame 2
stop(); _root.cash = _root.cash + 25;
Symbol 516 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip in Symbol 516 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 516 MovieClip Frame 2
stop(); _root.cash = _root.cash + 10;
Instance of Symbol 518 MovieClip in Symbol 519 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 522 MovieClip Frame 1
stop();
Symbol 522 MovieClip Frame 2
stop(); _root.cash = _root.cash + 30;
Symbol 525 MovieClip Frame 298
stop();
Symbol 539 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 551 MovieClip Frame 298
stop();
Symbol 553 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 561 MovieClip Frame 298
stop();
Symbol 563 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 571 MovieClip Frame 298
stop();
Symbol 573 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 581 MovieClip Frame 298
stop();
Symbol 583 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 591 MovieClip Frame 298
stop();
Symbol 593 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 601 MovieClip Frame 298
stop();
Symbol 603 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 610 MovieClip Frame 298
stop();
Symbol 612 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 619 MovieClip Frame 220
stop();
Symbol 621 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 628 MovieClip Frame 220
stop();
Symbol 630 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 637 MovieClip Frame 220
stop();
Symbol 639 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 646 MovieClip Frame 220
stop();
Symbol 648 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 655 MovieClip Frame 220
stop();
Symbol 657 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 664 MovieClip Frame 220
stop();
Symbol 666 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 673 MovieClip Frame 220
stop();
Symbol 675 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 682 MovieClip Frame 220
stop();
Symbol 684 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 691 MovieClip Frame 220
stop();
Symbol 693 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 700 MovieClip Frame 220
stop();
Symbol 702 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 709 MovieClip Frame 220
stop();
Symbol 711 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 718 MovieClip Frame 220
stop();
Symbol 720 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 727 MovieClip Frame 220
stop();
Symbol 729 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 736 MovieClip Frame 220
stop();
Symbol 738 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 745 MovieClip Frame 220
stop();
Symbol 747 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 754 MovieClip Frame 220
stop();
Symbol 756 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 763 MovieClip Frame 220
stop();
Symbol 765 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 772 MovieClip Frame 220
stop();
Symbol 774 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 781 MovieClip Frame 220
stop();
Symbol 783 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 790 MovieClip Frame 220
stop();
Symbol 792 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 799 MovieClip Frame 220
stop();
Symbol 801 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 808 MovieClip Frame 220
stop();
Symbol 812 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:495
Symbol 5 Sound [splat]Used by:457 462 491 514 516 522
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 457  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 523 526 527 528 529 530 531 532 533 534 535 536 538 540 541 542 543 544 545 546 547 548 552 554 555 556 557 558 562 564 565 566 567 568 572 574 575 576 577 578 582 584 585 586 587 588 592 594 595 596 597 598 602 604 605 606 607 608 611 613 614 615 616 617 620 622 623 624 625 626 629 631 632 633 634 635 638 640 641 642 643 644 647 649 650 651 652 653 656 658 659 660 661 662 665 667 668 669 670 671 674 676 677 678 679 680 683 685 686 687 688 689 692 694 695 696 697 698 701 703 704 705 706 707 710 712 713 714 715 716 719 721 722 723 724 725 728 730 731 732 733 734 737 739 740 741 742 743 746 748 749 750 751 752 755 757 758 759 760 761 764 766 767 768 769 770 773 775 776 777 778 779 782 784 785 786 787 788 791 793 794 795 796 797 800 802 803 804 805 806 809 810 811
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:355  Timeline
Symbol 173 TextUses:161Used by:Timeline
Symbol 174 GraphicUsed by:175
Symbol 175 MovieClipUses:174Used by:176
Symbol 176 MovieClipUses:175Used by:457 462 491 495 514 516 522  Timeline
Symbol 177 MovieClipUses:61Used by:457  Timeline
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClipUses:178Used by:457 462 495 514 516 522  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:462  Timeline
Symbol 215 TextUses:161Used by:Timeline
Symbol 216 TextUses:161Used by:220
Symbol 217 GraphicUsed by:218 220 224 812
Symbol 218 MovieClipUses:217Used by:220 224 812
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 457
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 361
Symbol 274 MovieClipUses:270 273Used by:277 285 323 334 344 389
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 374
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 457
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 457
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 411
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 539 553 563 573 583 593 603 612 621 630 639 648 657 666 675 684 693 702 711 720 729 738 747 756 765 774 783 792 801
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 MovieClipUses:172Used by:Timeline
Symbol 356 GraphicUsed by:357
Symbol 357 MovieClipUses:356Used by:Timeline
Symbol 358 GraphicUsed by:359
Symbol 359 MovieClipUses:358Used by:Timeline
Symbol 360 GraphicUsed by:361
Symbol 361 MovieClipUses:360 273Used by:Timeline
Symbol 362 GraphicUsed by:363
Symbol 363 MovieClipUses:362Used by:364
Symbol 364 MovieClipUses:363Used by:Timeline
Symbol 365 GraphicUsed by:366
Symbol 366 MovieClipUses:365Used by:373
Symbol 367 GraphicUsed by:368
Symbol 368 MovieClipUses:367Used by:373
Symbol 369 GraphicUsed by:370
Symbol 370 MovieClipUses:369Used by:373
Symbol 371 GraphicUsed by:372
Symbol 372 MovieClipUses:371Used by:373
Symbol 373 MovieClipUses:366 368 370 372Used by:374 495
Symbol 374 MovieClipUses:286 373Used by:Timeline
Symbol 375 GraphicUsed by:381
Symbol 376 GraphicUsed by:380
Symbol 377 GraphicUsed by:380
Symbol 378 GraphicUsed by:380
Symbol 379 GraphicUsed by:380
Symbol 380 MovieClipUses:376 377 378 379Used by:381
Symbol 381 MovieClipUses:375 380Used by:382
Symbol 382 MovieClipUses:381Used by:Timeline
Symbol 383 GraphicUsed by:384
Symbol 384 MovieClipUses:383Used by:457
Symbol 385 GraphicUsed by:457
Symbol 386 GraphicUsed by:457
Symbol 387 GraphicUsed by:388
Symbol 388 MovieClipUses:387Used by:389
Symbol 389 MovieClipUses:388 274Used by:457
Symbol 390 GraphicUsed by:457
Symbol 391 GraphicUsed by:398
Symbol 392 GraphicUsed by:398
Symbol 393 GraphicUsed by:398
Symbol 394 GraphicUsed by:398
Symbol 395 GraphicUsed by:398
Symbol 396 GraphicUsed by:398
Symbol 397 GraphicUsed by:398
Symbol 398 MovieClipUses:391 392 393 394 395 396 397Used by:457
Symbol 399 GraphicUsed by:400
Symbol 400 MovieClipUses:399Used by:457
Symbol 401 GraphicUsed by:411
Symbol 402 GraphicUsed by:411
Symbol 403 GraphicUsed by:411
Symbol 404 GraphicUsed by:411
Symbol 405 GraphicUsed by:411
Symbol 406 GraphicUsed by:411
Symbol 407 GraphicUsed by:411
Symbol 408 GraphicUsed by:411
Symbol 409 GraphicUsed by:411
Symbol 410 GraphicUsed by:411
Symbol 411 MovieClipUses:301 401 402 403 404 405 406 407 408 409 410Used by:412
Symbol 412 MovieClipUses:411Used by:457
Symbol 413 GraphicUsed by:456
Symbol 414 GraphicUsed by:424
Symbol 415 GraphicUsed by:424
Symbol 416 GraphicUsed by:424
Symbol 417 GraphicUsed by:424
Symbol 418 GraphicUsed by:424
Symbol 419 GraphicUsed by:424
Symbol 420 GraphicUsed by:424
Symbol 421 GraphicUsed by:424
Symbol 422 GraphicUsed by:424
Symbol 423 GraphicUsed by:424
Symbol 424 MovieClipUses:414 415 416 417 418 419 420 421 422 423Used by:456 461
Symbol 425 GraphicUsed by:436
Symbol 426 GraphicUsed by:436
Symbol 427 GraphicUsed by:436
Symbol 428 GraphicUsed by:436
Symbol 429 GraphicUsed by:436
Symbol 430 GraphicUsed by:436
Symbol 431 GraphicUsed by:436
Symbol 432 GraphicUsed by:436
Symbol 433 GraphicUsed by:436
Symbol 434 GraphicUsed by:436
Symbol 435 GraphicUsed by:436
Symbol 436 MovieClipUses:425 426 427 428 429 430 431 432 433 434 435Used by:456 461
Symbol 437 GraphicUsed by:453
Symbol 438 GraphicUsed by:453
Symbol 439 GraphicUsed by:453
Symbol 440 GraphicUsed by:453
Symbol 441 GraphicUsed by:453
Symbol 442 GraphicUsed by:453
Symbol 443 GraphicUsed by:453
Symbol 444 GraphicUsed by:453
Symbol 445 GraphicUsed by:453
Symbol 446 GraphicUsed by:453
Symbol 447 GraphicUsed by:453
Symbol 448 GraphicUsed by:453
Symbol 449 GraphicUsed by:453
Symbol 450 GraphicUsed by:453
Symbol 451 GraphicUsed by:453
Symbol 452 GraphicUsed by:453
Symbol 453 MovieClipUses:437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452Used by:456 461
Symbol 454 GraphicUsed by:456
Symbol 455 GraphicUsed by:456 461
Symbol 456 MovieClipUses:413 424 436 453 454 455Used by:457
Symbol 457 MovieClipUses:176 142 177 179 263 384 385 386 389 390 398 400 292 297 412 456 5Used by:Timeline
Symbol 458 GraphicUsed by:462
Symbol 459 GraphicUsed by:461
Symbol 460 GraphicUsed by:461
Symbol 461 MovieClipUses:459 424 436 453 460 455Used by:462 491 514 516 522
Symbol 462 MovieClipUses:176 458 214 179 461 5Used by:Timeline
Symbol 463 GraphicUsed by:490
Symbol 464 GraphicUsed by:466 490
Symbol 465 GraphicUsed by:490
Symbol 466 MovieClipUses:464Used by:490
Symbol 467 GraphicUsed by:490
Symbol 468 GraphicUsed by:490
Symbol 469 GraphicUsed by:490
Symbol 470 GraphicUsed by:490
Symbol 471 GraphicUsed by:490
Symbol 472 GraphicUsed by:490
Symbol 473 GraphicUsed by:490
Symbol 474 GraphicUsed by:490
Symbol 475 GraphicUsed by:490
Symbol 476 GraphicUsed by:490
Symbol 477 GraphicUsed by:490
Symbol 478 GraphicUsed by:490
Symbol 479 GraphicUsed by:490
Symbol 480 GraphicUsed by:490
Symbol 481 GraphicUsed by:482
Symbol 482 MovieClipUses:481Used by:490
Symbol 483 GraphicUsed by:490
Symbol 484 GraphicUsed by:490
Symbol 485 GraphicUsed by:490
Symbol 486 GraphicUsed by:490
Symbol 487 GraphicUsed by:490
Symbol 488 GraphicUsed by:490
Symbol 489 GraphicUsed by:490
Symbol 490 MovieClipUses:463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 482 483 484 485 486 487 488 489Used by:491
Symbol 491 MovieClipUses:176 490 461 5Used by:Timeline
Symbol 492 GraphicUsed by:493
Symbol 493 MovieClipUses:492Used by:494
Symbol 494 MovieClipUses:493Used by:495
Symbol 495 MovieClipUses:176 494 179 373 4Used by:Timeline
Symbol 496 GraphicUsed by:497
Symbol 497 MovieClipUses:496Used by:510
Symbol 498 GraphicUsed by:499
Symbol 499 MovieClipUses:498Used by:510
Symbol 500 GraphicUsed by:501
Symbol 501 MovieClipUses:500Used by:510
Symbol 502 GraphicUsed by:503
Symbol 503 MovieClipUses:502Used by:510
Symbol 504 GraphicUsed by:505
Symbol 505 MovieClipUses:504Used by:510
Symbol 506 GraphicUsed by:507
Symbol 507 MovieClipUses:506Used by:510
Symbol 508 GraphicUsed by:509
Symbol 509 MovieClipUses:508Used by:510
Symbol 510 MovieClipUses:497 499 501 503 505 507 509Used by:514
Symbol 511 GraphicUsed by:512
Symbol 512 MovieClipUses:511Used by:513
Symbol 513 MovieClipUses:512Used by:514 516
Symbol 514 MovieClipUses:176 510 513 179 461 5Used by:Timeline
Symbol 515 GraphicUsed by:516
Symbol 516 MovieClipUses:176 515 513 179 461 5Used by:Timeline
Symbol 517 GraphicUsed by:518
Symbol 518 MovieClipUses:517Used by:519
Symbol 519 MovieClipUses:518Used by:522
Symbol 520 GraphicUsed by:521
Symbol 521 MovieClipUses:520Used by:522
Symbol 522 MovieClipUses:176 519 521 179 461 5Used by:Timeline
Symbol 523 TextUses:161Used by:524
Symbol 524 MovieClipUses:523Used by:525 551 561 571 581 591 601 610 619 628 637 646 655 664 673 682 691 700 709 718 727 736 745 754 763 772 781 790 799 808
Symbol 525 MovieClipUses:524Used by:Timeline
Symbol 526 TextUses:161Used by:Timeline
Symbol 527 TextUses:161Used by:Timeline
Symbol 528 TextUses:161Used by:Timeline
Symbol 529 TextUses:161Used by:Timeline
Symbol 530 EditableTextUses:161Used by:Timeline
Symbol 531 EditableTextUses:161Used by:Timeline
Symbol 532 EditableTextUses:161Used by:Timeline
Symbol 533 EditableTextUses:161Used by:Timeline
Symbol 534 TextUses:161Used by:537
Symbol 535 TextUses:161Used by:537
Symbol 536 TextUses:161Used by:537
Symbol 537 MovieClipUses:534 535 536Used by:Timeline
Symbol 538 EditableTextUses:161Used by:Timeline
Symbol 539 MovieClipUses:345Used by:Timeline
Symbol 540 TextUses:161Used by:Timeline
Symbol 541 TextUses:161Used by:Timeline
Symbol 542 TextUses:161Used by:Timeline
Symbol 543 TextUses:161Used by:Timeline
Symbol 544 EditableTextUses:161Used by:Timeline
Symbol 545 EditableTextUses:161Used by:Timeline
Symbol 546 EditableTextUses:161Used by:Timeline
Symbol 547 EditableTextUses:161Used by:Timeline
Symbol 548 TextUses:161Used by:549 550
Symbol 549 MovieClipUses:548Used by:551
Symbol 550 MovieClipUses:548Used by:551
Symbol 551 MovieClipUses:549 550 524Used by:Timeline
Symbol 552 EditableTextUses:161Used by:Timeline
Symbol 553 MovieClipUses:345Used by:Timeline
Symbol 554 EditableTextUses:161Used by:Timeline
Symbol 555 EditableTextUses:161Used by:Timeline
Symbol 556 EditableTextUses:161Used by:Timeline
Symbol 557 EditableTextUses:161Used by:Timeline
Symbol 558 TextUses:161Used by:559 560
Symbol 559 MovieClipUses:558Used by:561
Symbol 560 MovieClipUses:558Used by:561
Symbol 561 MovieClipUses:559 560 524Used by:Timeline
Symbol 562 EditableTextUses:161Used by:Timeline
Symbol 563 MovieClipUses:345Used by:Timeline
Symbol 564 EditableTextUses:161Used by:Timeline
Symbol 565 EditableTextUses:161Used by:Timeline
Symbol 566 EditableTextUses:161Used by:Timeline
Symbol 567 EditableTextUses:161Used by:Timeline
Symbol 568 TextUses:161Used by:569 570
Symbol 569 MovieClipUses:568Used by:571
Symbol 570 MovieClipUses:568Used by:571
Symbol 571 MovieClipUses:569 570 524Used by:Timeline
Symbol 572 EditableTextUses:161Used by:Timeline
Symbol 573 MovieClipUses:345Used by:Timeline
Symbol 574 EditableTextUses:161Used by:Timeline
Symbol 575 EditableTextUses:161Used by:Timeline
Symbol 576 EditableTextUses:161Used by:Timeline
Symbol 577 EditableTextUses:161Used by:Timeline
Symbol 578 TextUses:161Used by:579 580
Symbol 579 MovieClipUses:578Used by:581
Symbol 580 MovieClipUses:578Used by:581
Symbol 581 MovieClipUses:579 580 524Used by:Timeline
Symbol 582 EditableTextUses:161Used by:Timeline
Symbol 583 MovieClipUses:345Used by:Timeline
Symbol 584 EditableTextUses:161Used by:Timeline
Symbol 585 EditableTextUses:161Used by:Timeline
Symbol 586 EditableTextUses:161Used by:Timeline
Symbol 587 EditableTextUses:161Used by:Timeline
Symbol 588 TextUses:161Used by:589 590
Symbol 589 MovieClipUses:588Used by:591
Symbol 590 MovieClipUses:588Used by:591
Symbol 591 MovieClipUses:589 590 524Used by:Timeline
Symbol 592 EditableTextUses:161Used by:Timeline
Symbol 593 MovieClipUses:345Used by:Timeline
Symbol 594 EditableTextUses:161Used by:Timeline
Symbol 595 EditableTextUses:161Used by:Timeline
Symbol 596 EditableTextUses:161Used by:Timeline
Symbol 597 EditableTextUses:161Used by:Timeline
Symbol 598 TextUses:161Used by:599 600
Symbol 599 MovieClipUses:598Used by:601
Symbol 600 MovieClipUses:598Used by:601 610
Symbol 601 MovieClipUses:599 600 524Used by:Timeline
Symbol 602 EditableTextUses:161Used by:Timeline
Symbol 603 MovieClipUses:345Used by:Timeline
Symbol 604 EditableTextUses:161Used by:Timeline
Symbol 605 EditableTextUses:161Used by:Timeline
Symbol 606 EditableTextUses:161Used by:Timeline
Symbol 607 EditableTextUses:161Used by:Timeline
Symbol 608 TextUses:161Used by:609
Symbol 609 MovieClipUses:608Used by:610
Symbol 610 MovieClipUses:609 600 524Used by:Timeline
Symbol 611 EditableTextUses:161Used by:Timeline
Symbol 612 MovieClipUses:345Used by:Timeline
Symbol 613 EditableTextUses:161Used by:Timeline
Symbol 614 EditableTextUses:161Used by:Timeline
Symbol 615 EditableTextUses:161Used by:Timeline
Symbol 616 EditableTextUses:161Used by:Timeline
Symbol 617 TextUses:161Used by:618
Symbol 618 MovieClipUses:617Used by:619
Symbol 619 MovieClipUses:618 524Used by:Timeline
Symbol 620 EditableTextUses:161Used by:Timeline
Symbol 621 MovieClipUses:345Used by:Timeline
Symbol 622 EditableTextUses:161Used by:Timeline
Symbol 623 EditableTextUses:161Used by:Timeline
Symbol 624 EditableTextUses:161Used by:Timeline
Symbol 625 EditableTextUses:161Used by:Timeline
Symbol 626 TextUses:161Used by:627
Symbol 627 MovieClipUses:626Used by:628
Symbol 628 MovieClipUses:627 524Used by:Timeline
Symbol 629 EditableTextUses:161Used by:Timeline
Symbol 630 MovieClipUses:345Used by:Timeline
Symbol 631 EditableTextUses:161Used by:Timeline
Symbol 632 EditableTextUses:161Used by:Timeline
Symbol 633 EditableTextUses:161Used by:Timeline
Symbol 634 EditableTextUses:161Used by:Timeline
Symbol 635 TextUses:161Used by:636
Symbol 636 MovieClipUses:635Used by:637
Symbol 637 MovieClipUses:636 524Used by:Timeline
Symbol 638 EditableTextUses:161Used by:Timeline
Symbol 639 MovieClipUses:345Used by:Timeline
Symbol 640 EditableTextUses:161Used by:Timeline
Symbol 641 EditableTextUses:161Used by:Timeline
Symbol 642 EditableTextUses:161Used by:Timeline
Symbol 643 EditableTextUses:161Used by:Timeline
Symbol 644 TextUses:161Used by:645
Symbol 645 MovieClipUses:644Used by:646
Symbol 646 MovieClipUses:645 524Used by:Timeline
Symbol 647 EditableTextUses:161Used by:Timeline
Symbol 648 MovieClipUses:345Used by:Timeline
Symbol 649 EditableTextUses:161Used by:Timeline
Symbol 650 EditableTextUses:161Used by:Timeline
Symbol 651 EditableTextUses:161Used by:Timeline
Symbol 652 EditableTextUses:161Used by:Timeline
Symbol 653 TextUses:161Used by:654
Symbol 654 MovieClipUses:653Used by:655
Symbol 655 MovieClipUses:654 524Used by:Timeline
Symbol 656 EditableTextUses:161Used by:Timeline
Symbol 657 MovieClipUses:345Used by:Timeline
Symbol 658 EditableTextUses:161Used by:Timeline
Symbol 659 EditableTextUses:161Used by:Timeline
Symbol 660 EditableTextUses:161Used by:Timeline
Symbol 661 EditableTextUses:161Used by:Timeline
Symbol 662 TextUses:161Used by:663
Symbol 663 MovieClipUses:662Used by:664
Symbol 664 MovieClipUses:663 524Used by:Timeline
Symbol 665 EditableTextUses:161Used by:Timeline
Symbol 666 MovieClipUses:345Used by:Timeline
Symbol 667 EditableTextUses:161Used by:Timeline
Symbol 668 EditableTextUses:161Used by:Timeline
Symbol 669 EditableTextUses:161Used by:Timeline
Symbol 670 EditableTextUses:161Used by:Timeline
Symbol 671 TextUses:161Used by:672
Symbol 672 MovieClipUses:671Used by:673
Symbol 673 MovieClipUses:672 524Used by:Timeline
Symbol 674 EditableTextUses:161Used by:Timeline
Symbol 675 MovieClipUses:345Used by:Timeline
Symbol 676 EditableTextUses:161Used by:Timeline
Symbol 677 EditableTextUses:161Used by:Timeline
Symbol 678 EditableTextUses:161Used by:Timeline
Symbol 679 EditableTextUses:161Used by:Timeline
Symbol 680 TextUses:161Used by:681
Symbol 681 MovieClipUses:680Used by:682
Symbol 682 MovieClipUses:681 524Used by:Timeline
Symbol 683 EditableTextUses:161Used by:Timeline
Symbol 684 MovieClipUses:345Used by:Timeline
Symbol 685 EditableTextUses:161Used by:Timeline
Symbol 686 EditableTextUses:161Used by:Timeline
Symbol 687 EditableTextUses:161Used by:Timeline
Symbol 688 EditableTextUses:161Used by:Timeline
Symbol 689 TextUses:161Used by:690
Symbol 690 MovieClipUses:689Used by:691
Symbol 691 MovieClipUses:690 524Used by:Timeline
Symbol 692 EditableTextUses:161Used by:Timeline
Symbol 693 MovieClipUses:345Used by:Timeline
Symbol 694 EditableTextUses:161Used by:Timeline
Symbol 695 EditableTextUses:161Used by:Timeline
Symbol 696 EditableTextUses:161Used by:Timeline
Symbol 697 EditableTextUses:161Used by:Timeline
Symbol 698 TextUses:161Used by:699
Symbol 699 MovieClipUses:698Used by:700
Symbol 700 MovieClipUses:699 524Used by:Timeline
Symbol 701 EditableTextUses:161Used by:Timeline
Symbol 702 MovieClipUses:345Used by:Timeline
Symbol 703 EditableTextUses:161Used by:Timeline
Symbol 704 EditableTextUses:161Used by:Timeline
Symbol 705 EditableTextUses:161Used by:Timeline
Symbol 706 EditableTextUses:161Used by:Timeline
Symbol 707 TextUses:161Used by:708
Symbol 708 MovieClipUses:707Used by:709
Symbol 709 MovieClipUses:708 524Used by:Timeline
Symbol 710 EditableTextUses:161Used by:Timeline
Symbol 711 MovieClipUses:345Used by:Timeline
Symbol 712 EditableTextUses:161Used by:Timeline
Symbol 713 EditableTextUses:161Used by:Timeline
Symbol 714 EditableTextUses:161Used by:Timeline
Symbol 715 EditableTextUses:161Used by:Timeline
Symbol 716 TextUses:161Used by:717
Symbol 717 MovieClipUses:716Used by:718
Symbol 718 MovieClipUses:717 524Used by:Timeline
Symbol 719 EditableTextUses:161Used by:Timeline
Symbol 720 MovieClipUses:345Used by:Timeline
Symbol 721 EditableTextUses:161Used by:Timeline
Symbol 722 EditableTextUses:161Used by:Timeline
Symbol 723 EditableTextUses:161Used by:Timeline
Symbol 724 EditableTextUses:161Used by:Timeline
Symbol 725 TextUses:161Used by:726
Symbol 726 MovieClipUses:725Used by:727
Symbol 727 MovieClipUses:726 524Used by:Timeline
Symbol 728 EditableTextUses:161Used by:Timeline
Symbol 729 MovieClipUses:345Used by:Timeline
Symbol 730 EditableTextUses:161Used by:Timeline
Symbol 731 EditableTextUses:161Used by:Timeline
Symbol 732 EditableTextUses:161Used by:Timeline
Symbol 733 EditableTextUses:161Used by:Timeline
Symbol 734 TextUses:161Used by:735
Symbol 735 MovieClipUses:734Used by:736
Symbol 736 MovieClipUses:735 524Used by:Timeline
Symbol 737 EditableTextUses:161Used by:Timeline
Symbol 738 MovieClipUses:345Used by:Timeline
Symbol 739 EditableTextUses:161Used by:Timeline
Symbol 740 EditableTextUses:161Used by:Timeline
Symbol 741 EditableTextUses:161Used by:Timeline
Symbol 742 EditableTextUses:161Used by:Timeline
Symbol 743 TextUses:161Used by:744
Symbol 744 MovieClipUses:743Used by:745
Symbol 745 MovieClipUses:744 524Used by:Timeline
Symbol 746 EditableTextUses:161Used by:Timeline
Symbol 747 MovieClipUses:345Used by:Timeline
Symbol 748 EditableTextUses:161Used by:Timeline
Symbol 749 EditableTextUses:161Used by:Timeline
Symbol 750 EditableTextUses:161Used by:Timeline
Symbol 751 EditableTextUses:161Used by:Timeline
Symbol 752 TextUses:161Used by:753
Symbol 753 MovieClipUses:752Used by:754
Symbol 754 MovieClipUses:753 524Used by:Timeline
Symbol 755 EditableTextUses:161Used by:Timeline
Symbol 756 MovieClipUses:345Used by:Timeline
Symbol 757 EditableTextUses:161Used by:Timeline
Symbol 758 EditableTextUses:161Used by:Timeline
Symbol 759 EditableTextUses:161Used by:Timeline
Symbol 760 EditableTextUses:161Used by:Timeline
Symbol 761 TextUses:161Used by:762
Symbol 762 MovieClipUses:761Used by:763
Symbol 763 MovieClipUses:762 524Used by:Timeline
Symbol 764 EditableTextUses:161Used by:Timeline
Symbol 765 MovieClipUses:345Used by:Timeline
Symbol 766 EditableTextUses:161Used by:Timeline
Symbol 767 EditableTextUses:161Used by:Timeline
Symbol 768 EditableTextUses:161Used by:Timeline
Symbol 769 EditableTextUses:161Used by:Timeline
Symbol 770 TextUses:161Used by:771
Symbol 771 MovieClipUses:770Used by:772
Symbol 772 MovieClipUses:771 524Used by:Timeline
Symbol 773 EditableTextUses:161Used by:Timeline
Symbol 774 MovieClipUses:345Used by:Timeline
Symbol 775 EditableTextUses:161Used by:Timeline
Symbol 776 EditableTextUses:161Used by:Timeline
Symbol 777 EditableTextUses:161Used by:Timeline
Symbol 778 EditableTextUses:161Used by:Timeline
Symbol 779 TextUses:161Used by:780
Symbol 780 MovieClipUses:779Used by:781
Symbol 781 MovieClipUses:780 524Used by:Timeline
Symbol 782 EditableTextUses:161Used by:Timeline
Symbol 783 MovieClipUses:345Used by:Timeline
Symbol 784 EditableTextUses:161Used by:Timeline
Symbol 785 EditableTextUses:161Used by:Timeline
Symbol 786 EditableTextUses:161Used by:Timeline
Symbol 787 EditableTextUses:161Used by:Timeline
Symbol 788 TextUses:161Used by:789
Symbol 789 MovieClipUses:788Used by:790
Symbol 790 MovieClipUses:789 524Used by:Timeline
Symbol 791 EditableTextUses:161Used by:Timeline
Symbol 792 MovieClipUses:345Used by:Timeline
Symbol 793 EditableTextUses:161Used by:Timeline
Symbol 794 EditableTextUses:161Used by:Timeline
Symbol 795 EditableTextUses:161Used by:Timeline
Symbol 796 EditableTextUses:161Used by:Timeline
Symbol 797 TextUses:161Used by:798
Symbol 798 MovieClipUses:797Used by:799
Symbol 799 MovieClipUses:798 524Used by:Timeline
Symbol 800 EditableTextUses:161Used by:Timeline
Symbol 801 MovieClipUses:345Used by:Timeline
Symbol 802 EditableTextUses:161Used by:Timeline
Symbol 803 EditableTextUses:161Used by:Timeline
Symbol 804 EditableTextUses:161Used by:Timeline
Symbol 805 EditableTextUses:161Used by:Timeline
Symbol 806 TextUses:161Used by:807
Symbol 807 MovieClipUses:806Used by:808
Symbol 808 MovieClipUses:807 524Used by:Timeline
Symbol 809 TextUses:161Used by:Timeline
Symbol 810 TextUses:161Used by:812
Symbol 811 TextUses:161Used by:812
Symbol 812 ButtonUses:810 218 811 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 355 MovieClip
"weapons"Frame 9Symbol 357 MovieClip
"pistol"Frame 9Symbol 359 MovieClip
"mine"Frame 9Symbol 361 MovieClip
"shotgun"Frame 9Symbol 364 MovieClip
"grenade"Frame 9Symbol 374 MovieClip
"rocket"Frame 9Symbol 382 MovieClip
"basicfish"Frame 9Symbol 457 MovieClip
"enemyfish"Frame 9Symbol 462 MovieClip
"basicfish2"Frame 9Symbol 457 MovieClip
"basicfish3"Frame 9Symbol 457 MovieClip
"basicfish4"Frame 9Symbol 457 MovieClip
"enemycrab"Frame 9Symbol 491 MovieClip
"enemybomb"Frame 9Symbol 495 MovieClip
"enemyocto"Frame 9Symbol 514 MovieClip
"enemyhorse"Frame 9Symbol 516 MovieClip
"enemyshark"Frame 9Symbol 522 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 539 MovieClip
"BFname"Frame 11Symbol 348 MovieClip
"BFname2"Frame 11Symbol 350 MovieClip
"BFname3"Frame 11Symbol 352 MovieClip
"BFname4"Frame 11Symbol 354 MovieClip
"ripple"Frame 11Symbol 355 MovieClip
"weapons"Frame 11Symbol 357 MovieClip
"pistol"Frame 11Symbol 359 MovieClip
"mine"Frame 11Symbol 361 MovieClip
"shotgun"Frame 11Symbol 364 MovieClip
"grenade"Frame 11Symbol 374 MovieClip
"rocket"Frame 11Symbol 382 MovieClip
"basicfish"Frame 11Symbol 457 MovieClip
"basicfish2"Frame 11Symbol 457 MovieClip
"basicfish3"Frame 11Symbol 457 MovieClip
"basicfish4"Frame 11Symbol 457 MovieClip
"enemyfish"Frame 11Symbol 462 MovieClip
"enemycrab"Frame 11Symbol 491 MovieClip
"enemybomb"Frame 11Symbol 495 MovieClip
"enemyocto"Frame 11Symbol 514 MovieClip
"enemyhorse"Frame 11Symbol 516 MovieClip
"enemyshark"Frame 11Symbol 522 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 553 MovieClip
"BFname"Frame 13Symbol 348 MovieClip
"BFname2"Frame 13Symbol 350 MovieClip
"BFname3"Frame 13Symbol 352 MovieClip
"BFname4"Frame 13Symbol 354 MovieClip
"ripple"Frame 13Symbol 355 MovieClip
"weapons"Frame 13Symbol 357 MovieClip
"pistol"Frame 13Symbol 359 MovieClip
"mine"Frame 13Symbol 361 MovieClip
"shotgun"Frame 13Symbol 364 MovieClip
"grenade"Frame 13Symbol 374 MovieClip
"rocket"Frame 13Symbol 382 MovieClip
"basicfish"Frame 13Symbol 457 MovieClip
"basicfish2"Frame 13Symbol 457 MovieClip
"basicfish3"Frame 13Symbol 457 MovieClip
"basicfish4"Frame 13Symbol 457 MovieClip
"enemyfish"Frame 13Symbol 462 MovieClip
"enemycrab"Frame 13Symbol 491 MovieClip
"enemybomb"Frame 13Symbol 495 MovieClip
"enemyocto"Frame 13Symbol 514 MovieClip
"enemyhorse"Frame 13Symbol 516 MovieClip
"enemyshark"Frame 13Symbol 522 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 563 MovieClip
"BFname"Frame 15Symbol 348 MovieClip
"BFname2"Frame 15Symbol 350 MovieClip
"BFname3"Frame 15Symbol 352 MovieClip
"BFname4"Frame 15Symbol 354 MovieClip
"ripple"Frame 15Symbol 355 MovieClip
"weapons"Frame 15Symbol 357 MovieClip
"pistol"Frame 15Symbol 359 MovieClip
"mine"Frame 15Symbol 361 MovieClip
"shotgun"Frame 15Symbol 364 MovieClip
"grenade"Frame 15Symbol 374 MovieClip
"rocket"Frame 15Symbol 382 MovieClip
"basicfish"Frame 15Symbol 457 MovieClip
"basicfish2"Frame 15Symbol 457 MovieClip
"basicfish3"Frame 15Symbol 457 MovieClip
"basicfish4"Frame 15Symbol 457 MovieClip
"enemyfish"Frame 15Symbol 462 MovieClip
"enemycrab"Frame 15Symbol 491 MovieClip
"enemybomb"Frame 15Symbol 495 MovieClip
"enemyocto"Frame 15Symbol 514 MovieClip
"enemyhorse"Frame 15Symbol 516 MovieClip
"enemyshark"Frame 15Symbol 522 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 573 MovieClip
"BFname"Frame 17Symbol 348 MovieClip
"BFname2"Frame 17Symbol 350 MovieClip
"BFname3"Frame 17Symbol 352 MovieClip
"BFname4"Frame 17Symbol 354 MovieClip
"ripple"Frame 17Symbol 355 MovieClip
"weapons"Frame 17Symbol 357 MovieClip
"pistol"Frame 17Symbol 359 MovieClip
"mine"Frame 17Symbol 361 MovieClip
"shotgun"Frame 17Symbol 364 MovieClip
"grenade"Frame 17Symbol 374 MovieClip
"rocket"Frame 17Symbol 382 MovieClip
"basicfish"Frame 17Symbol 457 MovieClip
"basicfish2"Frame 17Symbol 457 MovieClip
"basicfish3"Frame 17Symbol 457 MovieClip
"basicfish4"Frame 17Symbol 457 MovieClip
"enemyfish"Frame 17Symbol 462 MovieClip
"enemycrab"Frame 17Symbol 491 MovieClip
"enemybomb"Frame 17Symbol 495 MovieClip
"enemyocto"Frame 17Symbol 514 MovieClip
"enemyhorse"Frame 17Symbol 516 MovieClip
"enemyshark"Frame 17Symbol 522 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 583 MovieClip
"BFname"Frame 19Symbol 348 MovieClip
"BFname2"Frame 19Symbol 350 MovieClip
"BFname3"Frame 19Symbol 352 MovieClip
"BFname4"Frame 19Symbol 354 MovieClip
"ripple"Frame 19Symbol 355 MovieClip
"weapons"Frame 19Symbol 357 MovieClip
"pistol"Frame 19Symbol 359 MovieClip
"mine"Frame 19Symbol 361 MovieClip
"shotgun"Frame 19Symbol 364 MovieClip
"grenade"Frame 19Symbol 374 MovieClip
"rocket"Frame 19Symbol 382 MovieClip
"basicfish"Frame 19Symbol 457 MovieClip
"basicfish2"Frame 19Symbol 457 MovieClip
"basicfish3"Frame 19Symbol 457 MovieClip
"basicfish4"Frame 19Symbol 457 MovieClip
"enemyfish"Frame 19Symbol 462 MovieClip
"enemycrab"Frame 19Symbol 491 MovieClip
"enemybomb"Frame 19Symbol 495 MovieClip
"enemyocto"Frame 19Symbol 514 MovieClip
"enemyhorse"Frame 19Symbol 516 MovieClip
"enemyshark"Frame 19Symbol 522 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 593 MovieClip
"BFname"Frame 21Symbol 348 MovieClip
"BFname2"Frame 21Symbol 350 MovieClip
"BFname3"Frame 21Symbol 352 MovieClip
"BFname4"Frame 21Symbol 354 MovieClip
"ripple"Frame 21Symbol 355 MovieClip
"weapons"Frame 21Symbol 357 MovieClip
"pistol"Frame 21Symbol 359 MovieClip
"mine"Frame 21Symbol 361 MovieClip
"shotgun"Frame 21Symbol 364 MovieClip
"grenade"Frame 21Symbol 374 MovieClip
"rocket"Frame 21Symbol 382 MovieClip
"basicfish"Frame 21Symbol 457 MovieClip
"basicfish2"Frame 21Symbol 457 MovieClip
"basicfish3"Frame 21Symbol 457 MovieClip
"basicfish4"Frame 21Symbol 457 MovieClip
"enemyfish"Frame 21Symbol 462 MovieClip
"enemycrab"Frame 21Symbol 491 MovieClip
"enemybomb"Frame 21Symbol 495 MovieClip
"enemyocto"Frame 21Symbol 514 MovieClip
"enemyhorse"Frame 21Symbol 516 MovieClip
"enemyshark"Frame 21Symbol 522 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 603 MovieClip
"BFname"Frame 23Symbol 348 MovieClip
"BFname2"Frame 23Symbol 350 MovieClip
"BFname3"Frame 23Symbol 352 MovieClip
"BFname4"Frame 23Symbol 354 MovieClip
"weapons"Frame 23Symbol 357 MovieClip
"pistol"Frame 23Symbol 359 MovieClip
"mine"Frame 23Symbol 361 MovieClip
"shotgun"Frame 23Symbol 364 MovieClip
"grenade"Frame 23Symbol 374 MovieClip
"rocket"Frame 23Symbol 382 MovieClip
"basicfish"Frame 23Symbol 457 MovieClip
"basicfish2"Frame 23Symbol 457 MovieClip
"basicfish3"Frame 23Symbol 457 MovieClip
"basicfish4"Frame 23Symbol 457 MovieClip
"ripple"Frame 23Symbol 355 MovieClip
"enemyfish"Frame 23Symbol 462 MovieClip
"enemycrab"Frame 23Symbol 491 MovieClip
"enemybomb"Frame 23Symbol 495 MovieClip
"enemyocto"Frame 23Symbol 514 MovieClip
"enemyhorse"Frame 23Symbol 516 MovieClip
"enemyshark"Frame 23Symbol 522 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 612 MovieClip
"BFname"Frame 25Symbol 348 MovieClip
"BFname2"Frame 25Symbol 350 MovieClip
"BFname3"Frame 25Symbol 352 MovieClip
"BFname4"Frame 25Symbol 354 MovieClip
"ripple"Frame 25Symbol 355 MovieClip
"weapons"Frame 25Symbol 357 MovieClip
"pistol"Frame 25Symbol 359 MovieClip
"mine"Frame 25Symbol 361 MovieClip
"shotgun"Frame 25Symbol 364 MovieClip
"grenade"Frame 25Symbol 374 MovieClip
"rocket"Frame 25Symbol 382 MovieClip
"basicfish"Frame 25Symbol 457 MovieClip
"basicfish2"Frame 25Symbol 457 MovieClip
"basicfish3"Frame 25Symbol 457 MovieClip
"basicfish4"Frame 25Symbol 457 MovieClip
"enemyfish"Frame 25Symbol 462 MovieClip
"enemycrab"Frame 25Symbol 491 MovieClip
"enemybomb"Frame 25Symbol 495 MovieClip
"enemyocto"Frame 25Symbol 514 MovieClip
"enemyhorse"Frame 25Symbol 516 MovieClip
"enemyshark"Frame 25Symbol 522 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 621 MovieClip
"BFname"Frame 27Symbol 348 MovieClip
"BFname2"Frame 27Symbol 350 MovieClip
"BFname3"Frame 27Symbol 352 MovieClip
"BFname4"Frame 27Symbol 354 MovieClip
"ripple"Frame 27Symbol 355 MovieClip
"weapons"Frame 27Symbol 357 MovieClip
"pistol"Frame 27Symbol 359 MovieClip
"mine"Frame 27Symbol 361 MovieClip
"shotgun"Frame 27Symbol 364 MovieClip
"grenade"Frame 27Symbol 374 MovieClip
"rocket"Frame 27Symbol 382 MovieClip
"basicfish"Frame 27Symbol 457 MovieClip
"basicfish2"Frame 27Symbol 457 MovieClip
"basicfish3"Frame 27Symbol 457 MovieClip
"basicfish4"Frame 27Symbol 457 MovieClip
"enemyfish"Frame 27Symbol 462 MovieClip
"enemycrab"Frame 27Symbol 491 MovieClip
"enemybomb"Frame 27Symbol 495 MovieClip
"enemyocto"Frame 27Symbol 514 MovieClip
"enemyhorse"Frame 27Symbol 516 MovieClip
"enemyshark"Frame 27Symbol 522 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 630 MovieClip
"BFname"Frame 29Symbol 348 MovieClip
"BFname2"Frame 29Symbol 350 MovieClip
"BFname3"Frame 29Symbol 352 MovieClip
"BFname4"Frame 29Symbol 354 MovieClip
"ripple"Frame 29Symbol 355 MovieClip
"weapons"Frame 29Symbol 357 MovieClip
"pistol"Frame 29Symbol 359 MovieClip
"mine"Frame 29Symbol 361 MovieClip
"shotgun"Frame 29Symbol 364 MovieClip
"grenade"Frame 29Symbol 374 MovieClip
"rocket"Frame 29Symbol 382 MovieClip
"basicfish"Frame 29Symbol 457 MovieClip
"basicfish2"Frame 29Symbol 457 MovieClip
"basicfish3"Frame 29Symbol 457 MovieClip
"basicfish4"Frame 29Symbol 457 MovieClip
"enemyfish"Frame 29Symbol 462 MovieClip
"enemycrab"Frame 29Symbol 491 MovieClip
"enemybomb"Frame 29Symbol 495 MovieClip
"enemyocto"Frame 29Symbol 514 MovieClip
"enemyhorse"Frame 29Symbol 516 MovieClip
"enemyshark"Frame 29Symbol 522 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 639 MovieClip
"BFname"Frame 31Symbol 348 MovieClip
"BFname2"Frame 31Symbol 350 MovieClip
"BFname3"Frame 31Symbol 352 MovieClip
"BFname4"Frame 31Symbol 354 MovieClip
"ripple"Frame 31Symbol 355 MovieClip
"weapons"Frame 31Symbol 357 MovieClip
"pistol"Frame 31Symbol 359 MovieClip
"mine"Frame 31Symbol 361 MovieClip
"shotgun"Frame 31Symbol 364 MovieClip
"grenade"Frame 31Symbol 374 MovieClip
"rocket"Frame 31Symbol 382 MovieClip
"basicfish"Frame 31Symbol 457 MovieClip
"basicfish2"Frame 31Symbol 457 MovieClip
"basicfish3"Frame 31Symbol 457 MovieClip
"basicfish4"Frame 31Symbol 457 MovieClip
"enemyfish"Frame 31Symbol 462 MovieClip
"enemycrab"Frame 31Symbol 491 MovieClip
"enemybomb"Frame 31Symbol 495 MovieClip
"enemyocto"Frame 31Symbol 514 MovieClip
"enemyhorse"Frame 31Symbol 516 MovieClip
"enemyshark"Frame 31Symbol 522 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 648 MovieClip
"BFname"Frame 33Symbol 348 MovieClip
"BFname2"Frame 33Symbol 350 MovieClip
"BFname3"Frame 33Symbol 352 MovieClip
"BFname4"Frame 33Symbol 354 MovieClip
"ripple"Frame 33Symbol 355 MovieClip
"weapons"Frame 33Symbol 357 MovieClip
"pistol"Frame 33Symbol 359 MovieClip
"mine"Frame 33Symbol 361 MovieClip
"shotgun"Frame 33Symbol 364 MovieClip
"grenade"Frame 33Symbol 374 MovieClip
"rocket"Frame 33Symbol 382 MovieClip
"basicfish"Frame 33Symbol 457 MovieClip
"basicfish2"Frame 33Symbol 457 MovieClip
"basicfish3"Frame 33Symbol 457 MovieClip
"basicfish4"Frame 33Symbol 457 MovieClip
"enemyfish"Frame 33Symbol 462 MovieClip
"enemycrab"Frame 33Symbol 491 MovieClip
"enemybomb"Frame 33Symbol 495 MovieClip
"enemyocto"Frame 33Symbol 514 MovieClip
"enemyhorse"Frame 33Symbol 516 MovieClip
"enemyshark"Frame 33Symbol 522 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 657 MovieClip
"BFname"Frame 35Symbol 348 MovieClip
"BFname2"Frame 35Symbol 350 MovieClip
"BFname3"Frame 35Symbol 352 MovieClip
"BFname4"Frame 35Symbol 354 MovieClip
"ripple"Frame 35Symbol 355 MovieClip
"weapons"Frame 35Symbol 357 MovieClip
"pistol"Frame 35Symbol 359 MovieClip
"mine"Frame 35Symbol 361 MovieClip
"shotgun"Frame 35Symbol 364 MovieClip
"grenade"Frame 35Symbol 374 MovieClip
"rocket"Frame 35Symbol 382 MovieClip
"basicfish"Frame 35Symbol 457 MovieClip
"basicfish2"Frame 35Symbol 457 MovieClip
"basicfish3"Frame 35Symbol 457 MovieClip
"basicfish4"Frame 35Symbol 457 MovieClip
"enemyfish"Frame 35Symbol 462 MovieClip
"enemycrab"Frame 35Symbol 491 MovieClip
"enemybomb"Frame 35Symbol 495 MovieClip
"enemyocto"Frame 35Symbol 514 MovieClip
"enemyhorse"Frame 35Symbol 516 MovieClip
"enemyshark"Frame 35Symbol 522 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 666 MovieClip
"BFname"Frame 37Symbol 348 MovieClip
"BFname2"Frame 37Symbol 350 MovieClip
"BFname3"Frame 37Symbol 352 MovieClip
"BFname4"Frame 37Symbol 354 MovieClip
"ripple"Frame 37Symbol 355 MovieClip
"weapons"Frame 37Symbol 357 MovieClip
"mine"Frame 37Symbol 361 MovieClip
"shotgun"Frame 37Symbol 364 MovieClip
"grenade"Frame 37Symbol 374 MovieClip
"rocket"Frame 37Symbol 382 MovieClip
"basicfish"Frame 37Symbol 457 MovieClip
"basicfish2"Frame 37Symbol 457 MovieClip
"basicfish3"Frame 37Symbol 457 MovieClip
"basicfish4"Frame 37Symbol 457 MovieClip
"enemyfish"Frame 37Symbol 462 MovieClip
"enemycrab"Frame 37Symbol 491 MovieClip
"enemybomb"Frame 37Symbol 495 MovieClip
"enemyocto"Frame 37Symbol 514 MovieClip
"enemyhorse"Frame 37Symbol 516 MovieClip
"enemyshark"Frame 37Symbol 522 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 675 MovieClip
"BFname"Frame 39Symbol 348 MovieClip
"BFname2"Frame 39Symbol 350 MovieClip
"BFname3"Frame 39Symbol 352 MovieClip
"BFname4"Frame 39Symbol 354 MovieClip
"ripple"Frame 39Symbol 355 MovieClip
"weapons"Frame 39Symbol 357 MovieClip
"pistol"Frame 39Symbol 359 MovieClip
"mine"Frame 39Symbol 361 MovieClip
"shotgun"Frame 39Symbol 364 MovieClip
"grenade"Frame 39Symbol 374 MovieClip
"rocket"Frame 39Symbol 382 MovieClip
"basicfish"Frame 39Symbol 457 MovieClip
"basicfish2"Frame 39Symbol 457 MovieClip
"basicfish3"Frame 39Symbol 457 MovieClip
"basicfish4"Frame 39Symbol 457 MovieClip
"enemyfish"Frame 39Symbol 462 MovieClip
"enemycrab"Frame 39Symbol 491 MovieClip
"enemybomb"Frame 39Symbol 495 MovieClip
"enemyocto"Frame 39Symbol 514 MovieClip
"enemyhorse"Frame 39Symbol 516 MovieClip
"enemyshark"Frame 39Symbol 522 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 684 MovieClip
"BFname"Frame 41Symbol 348 MovieClip
"BFname2"Frame 41Symbol 350 MovieClip
"BFname3"Frame 41Symbol 352 MovieClip
"BFname4"Frame 41Symbol 354 MovieClip
"ripple"Frame 41Symbol 355 MovieClip
"weapons"Frame 41Symbol 357 MovieClip
"pistol"Frame 41Symbol 359 MovieClip
"mine"Frame 41Symbol 361 MovieClip
"shotgun"Frame 41Symbol 364 MovieClip
"grenade"Frame 41Symbol 374 MovieClip
"rocket"Frame 41Symbol 382 MovieClip
"basicfish"Frame 41Symbol 457 MovieClip
"basicfish2"Frame 41Symbol 457 MovieClip
"basicfish3"Frame 41Symbol 457 MovieClip
"basicfish4"Frame 41Symbol 457 MovieClip
"enemyfish"Frame 41Symbol 462 MovieClip
"enemycrab"Frame 41Symbol 491 MovieClip
"enemybomb"Frame 41Symbol 495 MovieClip
"enemyocto"Frame 41Symbol 514 MovieClip
"enemyhorse"Frame 41Symbol 516 MovieClip
"enemyshark"Frame 41Symbol 522 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 693 MovieClip
"BFname"Frame 43Symbol 348 MovieClip
"BFname2"Frame 43Symbol 350 MovieClip
"BFname3"Frame 43Symbol 352 MovieClip
"BFname4"Frame 43Symbol 354 MovieClip
"ripple"Frame 43Symbol 355 MovieClip
"weapons"Frame 43Symbol 357 MovieClip
"pistol"Frame 43Symbol 359 MovieClip
"mine"Frame 43Symbol 361 MovieClip
"shotgun"Frame 43Symbol 364 MovieClip
"grenade"Frame 43Symbol 374 MovieClip
"rocket"Frame 43Symbol 382 MovieClip
"basicfish"Frame 43Symbol 457 MovieClip
"basicfish2"Frame 43Symbol 457 MovieClip
"basicfish3"Frame 43Symbol 457 MovieClip
"basicfish4"Frame 43Symbol 457 MovieClip
"enemyfish"Frame 43Symbol 462 MovieClip
"enemycrab"Frame 43Symbol 491 MovieClip
"enemybomb"Frame 43Symbol 495 MovieClip
"enemyocto"Frame 43Symbol 514 MovieClip
"enemyhorse"Frame 43Symbol 516 MovieClip
"enemyshark"Frame 43Symbol 522 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 702 MovieClip
"BFname"Frame 45Symbol 348 MovieClip
"BFname2"Frame 45Symbol 350 MovieClip
"BFname3"Frame 45Symbol 352 MovieClip
"BFname4"Frame 45Symbol 354 MovieClip
"ripple"Frame 45Symbol 355 MovieClip
"weapons"Frame 45Symbol 357 MovieClip
"pistol"Frame 45Symbol 359 MovieClip
"mine"Frame 45Symbol 361 MovieClip
"shotgun"Frame 45Symbol 364 MovieClip
"grenade"Frame 45Symbol 374 MovieClip
"rocket"Frame 45Symbol 382 MovieClip
"basicfish"Frame 45Symbol 457 MovieClip
"basicfish2"Frame 45Symbol 457 MovieClip
"basicfish3"Frame 45Symbol 457 MovieClip
"basicfish4"Frame 45Symbol 457 MovieClip
"enemyfish"Frame 45Symbol 462 MovieClip
"enemycrab"Frame 45Symbol 491 MovieClip
"enemybomb"Frame 45Symbol 495 MovieClip
"enemyocto"Frame 45Symbol 514 MovieClip
"enemyhorse"Frame 45Symbol 516 MovieClip
"enemyshark"Frame 45Symbol 522 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 711 MovieClip
"BFname"Frame 47Symbol 348 MovieClip
"BFname2"Frame 47Symbol 350 MovieClip
"BFname3"Frame 47Symbol 352 MovieClip
"BFname4"Frame 47Symbol 354 MovieClip
"ripple"Frame 47Symbol 355 MovieClip
"weapons"Frame 47Symbol 357 MovieClip
"mine"Frame 47Symbol 361 MovieClip
"shotgun"Frame 47Symbol 364 MovieClip
"grenade"Frame 47Symbol 374 MovieClip
"rocket"Frame 47Symbol 382 MovieClip
"basicfish"Frame 47Symbol 457 MovieClip
"basicfish2"Frame 47Symbol 457 MovieClip
"basicfish3"Frame 47Symbol 457 MovieClip
"basicfish4"Frame 47Symbol 457 MovieClip
"enemyfish"Frame 47Symbol 462 MovieClip
"enemycrab"Frame 47Symbol 491 MovieClip
"enemybomb"Frame 47Symbol 495 MovieClip
"enemyocto"Frame 47Symbol 514 MovieClip
"enemyhorse"Frame 47Symbol 516 MovieClip
"enemyshark"Frame 47Symbol 522 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 720 MovieClip
"BFname"Frame 49Symbol 348 MovieClip
"BFname2"Frame 49Symbol 350 MovieClip
"BFname3"Frame 49Symbol 352 MovieClip
"BFname4"Frame 49Symbol 354 MovieClip
"ripple"Frame 49Symbol 355 MovieClip
"weapons"Frame 49Symbol 357 MovieClip
"mine"Frame 49Symbol 361 MovieClip
"shotgun"Frame 49Symbol 364 MovieClip
"grenade"Frame 49Symbol 374 MovieClip
"rocket"Frame 49Symbol 382 MovieClip
"basicfish"Frame 49Symbol 457 MovieClip
"basicfish2"Frame 49Symbol 457 MovieClip
"basicfish3"Frame 49Symbol 457 MovieClip
"basicfish4"Frame 49Symbol 457 MovieClip
"enemyfish"Frame 49Symbol 462 MovieClip
"enemycrab"Frame 49Symbol 491 MovieClip
"enemybomb"Frame 49Symbol 495 MovieClip
"enemyocto"Frame 49Symbol 514 MovieClip
"enemyhorse"Frame 49Symbol 516 MovieClip
"enemyshark"Frame 49Symbol 522 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 729 MovieClip
"BFname"Frame 51Symbol 348 MovieClip
"BFname2"Frame 51Symbol 350 MovieClip
"BFname3"Frame 51Symbol 352 MovieClip
"BFname4"Frame 51Symbol 354 MovieClip
"ripple"Frame 51Symbol 355 MovieClip
"weapons"Frame 51Symbol 357 MovieClip
"mine"Frame 51Symbol 361 MovieClip
"shotgun"Frame 51Symbol 364 MovieClip
"grenade"Frame 51Symbol 374 MovieClip
"rocket"Frame 51Symbol 382 MovieClip
"basicfish"Frame 51Symbol 457 MovieClip
"basicfish2"Frame 51Symbol 457 MovieClip
"basicfish3"Frame 51Symbol 457 MovieClip
"basicfish4"Frame 51Symbol 457 MovieClip
"enemyfish"Frame 51Symbol 462 MovieClip
"enemycrab"Frame 51Symbol 491 MovieClip
"enemybomb"Frame 51Symbol 495 MovieClip
"enemyocto"Frame 51Symbol 514 MovieClip
"enemyhorse"Frame 51Symbol 516 MovieClip
"enemyshark"Frame 51Symbol 522 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 738 MovieClip
"BFname"Frame 53Symbol 348 MovieClip
"BFname2"Frame 53Symbol 350 MovieClip
"BFname3"Frame 53Symbol 352 MovieClip
"BFname4"Frame 53Symbol 354 MovieClip
"ripple"Frame 53Symbol 355 MovieClip
"weapons"Frame 53Symbol 357 MovieClip
"mine"Frame 53Symbol 361 MovieClip
"shotgun"Frame 53Symbol 364 MovieClip
"grenade"Frame 53Symbol 374 MovieClip
"rocket"Frame 53Symbol 382 MovieClip
"basicfish"Frame 53Symbol 457 MovieClip
"basicfish2"Frame 53Symbol 457 MovieClip
"basicfish3"Frame 53Symbol 457 MovieClip
"basicfish4"Frame 53Symbol 457 MovieClip
"enemyfish"Frame 53Symbol 462 MovieClip
"enemycrab"Frame 53Symbol 491 MovieClip
"enemybomb"Frame 53Symbol 495 MovieClip
"enemyocto"Frame 53Symbol 514 MovieClip
"enemyhorse"Frame 53Symbol 516 MovieClip
"enemyshark"Frame 53Symbol 522 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 747 MovieClip
"BFname"Frame 55Symbol 348 MovieClip
"BFname2"Frame 55Symbol 350 MovieClip
"BFname3"Frame 55Symbol 352 MovieClip
"BFname4"Frame 55Symbol 354 MovieClip
"ripple"Frame 55Symbol 355 MovieClip
"weapons"Frame 55Symbol 357 MovieClip
"mine"Frame 55Symbol 361 MovieClip
"shotgun"Frame 55Symbol 364 MovieClip
"grenade"Frame 55Symbol 374 MovieClip
"rocket"Frame 55Symbol 382 MovieClip
"basicfish"Frame 55Symbol 457 MovieClip
"basicfish2"Frame 55Symbol 457 MovieClip
"basicfish3"Frame 55Symbol 457 MovieClip
"basicfish4"Frame 55Symbol 457 MovieClip
"enemyfish"Frame 55Symbol 462 MovieClip
"enemycrab"Frame 55Symbol 491 MovieClip
"enemybomb"Frame 55Symbol 495 MovieClip
"enemyocto"Frame 55Symbol 514 MovieClip
"enemyhorse"Frame 55Symbol 516 MovieClip
"enemyshark"Frame 55Symbol 522 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 756 MovieClip
"BFname"Frame 57Symbol 348 MovieClip
"BFname2"Frame 57Symbol 350 MovieClip
"BFname3"Frame 57Symbol 352 MovieClip
"BFname4"Frame 57Symbol 354 MovieClip
"ripple"Frame 57Symbol 355 MovieClip
"weapons"Frame 57Symbol 357 MovieClip
"mine"Frame 57Symbol 361 MovieClip
"shotgun"Frame 57Symbol 364 MovieClip
"grenade"Frame 57Symbol 374 MovieClip
"rocket"Frame 57Symbol 382 MovieClip
"basicfish"Frame 57Symbol 457 MovieClip
"basicfish2"Frame 57Symbol 457 MovieClip
"basicfish3"Frame 57Symbol 457 MovieClip
"basicfish4"Frame 57Symbol 457 MovieClip
"enemyfish"Frame 57Symbol 462 MovieClip
"enemycrab"Frame 57Symbol 491 MovieClip
"enemybomb"Frame 57Symbol 495 MovieClip
"enemyocto"Frame 57Symbol 514 MovieClip
"enemyhorse"Frame 57Symbol 516 MovieClip
"enemyshark"Frame 57Symbol 522 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 765 MovieClip
"BFname"Frame 59Symbol 348 MovieClip
"BFname2"Frame 59Symbol 350 MovieClip
"BFname3"Frame 59Symbol 352 MovieClip
"BFname4"Frame 59Symbol 354 MovieClip
"ripple"Frame 59Symbol 355 MovieClip
"weapons"Frame 59Symbol 357 MovieClip
"mine"Frame 59Symbol 361 MovieClip
"shotgun"Frame 59Symbol 364 MovieClip
"grenade"Frame 59Symbol 374 MovieClip
"rocket"Frame 59Symbol 382 MovieClip
"basicfish"Frame 59Symbol 457 MovieClip
"basicfish2"Frame 59Symbol 457 MovieClip
"basicfish3"Frame 59Symbol 457 MovieClip
"basicfish4"Frame 59Symbol 457 MovieClip
"enemyfish"Frame 59Symbol 462 MovieClip
"enemycrab"Frame 59Symbol 491 MovieClip
"enemybomb"Frame 59Symbol 495 MovieClip
"enemyocto"Frame 59Symbol 514 MovieClip
"enemyhorse"Frame 59Symbol 516 MovieClip
"enemyshark"Frame 59Symbol 522 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 774 MovieClip
"BFname"Frame 61Symbol 348 MovieClip
"BFname2"Frame 61Symbol 350 MovieClip
"BFname3"Frame 61Symbol 352 MovieClip
"BFname4"Frame 61Symbol 354 MovieClip
"ripple"Frame 61Symbol 355 MovieClip
"weapons"Frame 61Symbol 357 MovieClip
"mine"Frame 61Symbol 361 MovieClip
"shotgun"Frame 61Symbol 364 MovieClip
"grenade"Frame 61Symbol 374 MovieClip
"rocket"Frame 61Symbol 382 MovieClip
"basicfish"Frame 61Symbol 457 MovieClip
"basicfish2"Frame 61Symbol 457 MovieClip
"basicfish3"Frame 61Symbol 457 MovieClip
"basicfish4"Frame 61Symbol 457 MovieClip
"enemyfish"Frame 61Symbol 462 MovieClip
"enemycrab"Frame 61Symbol 491 MovieClip
"enemybomb"Frame 61Symbol 495 MovieClip
"enemyocto"Frame 61Symbol 514 MovieClip
"enemyhorse"Frame 61Symbol 516 MovieClip
"enemyshark"Frame 61Symbol 522 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 783 MovieClip
"BFname"Frame 63Symbol 348 MovieClip
"BFname2"Frame 63Symbol 350 MovieClip
"BFname3"Frame 63Symbol 352 MovieClip
"BFname4"Frame 63Symbol 354 MovieClip
"ripple"Frame 63Symbol 355 MovieClip
"weapons"Frame 63Symbol 357 MovieClip
"mine"Frame 63Symbol 361 MovieClip
"shotgun"Frame 63Symbol 364 MovieClip
"grenade"Frame 63Symbol 374 MovieClip
"rocket"Frame 63Symbol 382 MovieClip
"basicfish"Frame 63Symbol 457 MovieClip
"basicfish2"Frame 63Symbol 457 MovieClip
"basicfish3"Frame 63Symbol 457 MovieClip
"basicfish4"Frame 63Symbol 457 MovieClip
"enemyfish"Frame 63Symbol 462 MovieClip
"enemycrab"Frame 63Symbol 491 MovieClip
"enemybomb"Frame 63Symbol 495 MovieClip
"enemyocto"Frame 63Symbol 514 MovieClip
"enemyhorse"Frame 63Symbol 516 MovieClip
"enemyshark"Frame 63Symbol 522 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 792 MovieClip
"BFname"Frame 65Symbol 348 MovieClip
"BFname2"Frame 65Symbol 350 MovieClip
"BFname3"Frame 65Symbol 352 MovieClip
"BFname4"Frame 65Symbol 354 MovieClip
"ripple"Frame 65Symbol 355 MovieClip
"weapons"Frame 65Symbol 357 MovieClip
"mine"Frame 65Symbol 361 MovieClip
"shotgun"Frame 65Symbol 364 MovieClip
"grenade"Frame 65Symbol 374 MovieClip
"rocket"Frame 65Symbol 382 MovieClip
"basicfish"Frame 65Symbol 457 MovieClip
"basicfish2"Frame 65Symbol 457 MovieClip
"basicfish3"Frame 65Symbol 457 MovieClip
"basicfish4"Frame 65Symbol 457 MovieClip
"enemyfish"Frame 65Symbol 462 MovieClip
"enemycrab"Frame 65Symbol 491 MovieClip
"enemybomb"Frame 65Symbol 495 MovieClip
"enemyocto"Frame 65Symbol 514 MovieClip
"enemyhorse"Frame 65Symbol 516 MovieClip
"enemyshark"Frame 65Symbol 522 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 801 MovieClip
"BFname"Frame 67Symbol 348 MovieClip
"BFname2"Frame 67Symbol 350 MovieClip
"BFname3"Frame 67Symbol 352 MovieClip
"BFname4"Frame 67Symbol 354 MovieClip
"ripple"Frame 67Symbol 355 MovieClip
"weapons"Frame 67Symbol 357 MovieClip
"mine"Frame 67Symbol 361 MovieClip
"shotgun"Frame 67Symbol 364 MovieClip
"grenade"Frame 67Symbol 374 MovieClip
"rocket"Frame 67Symbol 382 MovieClip
"basicfish"Frame 67Symbol 457 MovieClip
"basicfish2"Frame 67Symbol 457 MovieClip
"basicfish3"Frame 67Symbol 457 MovieClip
"basicfish4"Frame 67Symbol 457 MovieClip
"enemyfish"Frame 67Symbol 462 MovieClip
"enemycrab"Frame 67Symbol 491 MovieClip
"enemybomb"Frame 67Symbol 495 MovieClip
"enemyocto"Frame 67Symbol 514 MovieClip
"enemyhorse"Frame 67Symbol 516 MovieClip
"enemyshark"Frame 67Symbol 522 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 373 MovieClip Frame 3Symbol 372 MovieClip
"bang"Symbol 374 MovieClip Frame 100Symbol 373 MovieClip
"hp"Symbol 457 MovieClip Frame 1Symbol 176 MovieClip
"right"Symbol 457 MovieClip Frame 1Symbol 177 MovieClip
"down"Symbol 457 MovieClip Frame 1Symbol 177 MovieClip
"up"Symbol 457 MovieClip Frame 1Symbol 177 MovieClip
"hit"Symbol 457 MovieClip Frame 1Symbol 179 MovieClip
"swinging"Symbol 457 MovieClip Frame 5Symbol 389 MovieClip
"laser"Symbol 457 MovieClip Frame 7Symbol 398 MovieClip
"ion"Symbol 457 MovieClip Frame 9Symbol 412 MovieClip
"blood"Symbol 457 MovieClip Frame 10Symbol 456 MovieClip
"hp"Symbol 462 MovieClip Frame 1Symbol 176 MovieClip
"hit"Symbol 462 MovieClip Frame 1Symbol 179 MovieClip
"hp"Symbol 491 MovieClip Frame 1Symbol 176 MovieClip
"hp"Symbol 495 MovieClip Frame 1Symbol 176 MovieClip
"hit"Symbol 495 MovieClip Frame 1Symbol 179 MovieClip
"bang"Symbol 495 MovieClip Frame 2Symbol 373 MovieClip
"hp"Symbol 514 MovieClip Frame 1Symbol 176 MovieClip
"hit"Symbol 514 MovieClip Frame 1Symbol 179 MovieClip
"hp"Symbol 516 MovieClip Frame 1Symbol 176 MovieClip
"hit"Symbol 516 MovieClip Frame 1Symbol 179 MovieClip
"hp"Symbol 522 MovieClip Frame 1Symbol 176 MovieClip
"hit"Symbol 522 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 530 EditableText"000"
amountofbubblesSymbol 531 EditableText"00"
amountofspikesSymbol 532 EditableText"00"
cashSymbol 533 EditableText"0000"
cashSymbol 538 EditableText"0000"
timeleftSymbol 544 EditableText"000"
amountofbubblesSymbol 545 EditableText"00"
amountofspikesSymbol 546 EditableText"00"
cashSymbol 547 EditableText"0000"
cashSymbol 552 EditableText"0000"
timeleftSymbol 554 EditableText"000"
amountofbubblesSymbol 555 EditableText"00"
amountofspikesSymbol 556 EditableText"00"
cashSymbol 557 EditableText"0000"
cashSymbol 562 EditableText"0000"
timeleftSymbol 564 EditableText"000"
amountofbubblesSymbol 565 EditableText"00"
amountofspikesSymbol 566 EditableText"00"
cashSymbol 567 EditableText"0000"
cashSymbol 572 EditableText"0000"
timeleftSymbol 574 EditableText"000"
amountofbubblesSymbol 575 EditableText"00"
amountofspikesSymbol 576 EditableText"00"
cashSymbol 577 EditableText"0000"
cashSymbol 582 EditableText"0000"
timeleftSymbol 584 EditableText"000"
amountofbubblesSymbol 585 EditableText"00"
amountofspikesSymbol 586 EditableText"00"
cashSymbol 587 EditableText"0000"
cashSymbol 592 EditableText"0000"
timeleftSymbol 594 EditableText"000"
amountofbubblesSymbol 595 EditableText"00"
amountofspikesSymbol 596 EditableText"00"
cashSymbol 597 EditableText"0000"
cashSymbol 602 EditableText"0000"
timeleftSymbol 604 EditableText"000"
amountofbubblesSymbol 605 EditableText"00"
amountofspikesSymbol 606 EditableText"00"
cashSymbol 607 EditableText"0000"
cashSymbol 611 EditableText"0000"
timeleftSymbol 613 EditableText"000"
amountofbubblesSymbol 614 EditableText"00"
amountofspikesSymbol 615 EditableText"00"
cashSymbol 616 EditableText"0000"
cashSymbol 620 EditableText"0000"
timeleftSymbol 622 EditableText"000"
amountofbubblesSymbol 623 EditableText"00"
amountofspikesSymbol 624 EditableText"00"
cashSymbol 625 EditableText"0000"
cashSymbol 629 EditableText"0000"
timeleftSymbol 631 EditableText"000"
amountofbubblesSymbol 632 EditableText"00"
amountofspikesSymbol 633 EditableText"00"
cashSymbol 634 EditableText"0000"
cashSymbol 638 EditableText"0000"
timeleftSymbol 640 EditableText"000"
amountofbubblesSymbol 641 EditableText"00"
amountofspikesSymbol 642 EditableText"00"
cashSymbol 643 EditableText"0000"
cashSymbol 647 EditableText"0000"
timeleftSymbol 649 EditableText"000"
amountofbubblesSymbol 650 EditableText"00"
amountofspikesSymbol 651 EditableText"00"
cashSymbol 652 EditableText"0000"
cashSymbol 656 EditableText"0000"
timeleftSymbol 658 EditableText"000"
amountofbubblesSymbol 659 EditableText"00"
amountofspikesSymbol 660 EditableText"00"
cashSymbol 661 EditableText"0000"
cashSymbol 665 EditableText"0000"
timeleftSymbol 667 EditableText"000"
amountofbubblesSymbol 668 EditableText"00"
amountofspikesSymbol 669 EditableText"00"
cashSymbol 670 EditableText"0000"
cashSymbol 674 EditableText"0000"
timeleftSymbol 676 EditableText"000"
amountofbubblesSymbol 677 EditableText"00"
amountofspikesSymbol 678 EditableText"00"
cashSymbol 679 EditableText"0000"
cashSymbol 683 EditableText"0000"
timeleftSymbol 685 EditableText"000"
amountofbubblesSymbol 686 EditableText"00"
amountofspikesSymbol 687 EditableText"00"
cashSymbol 688 EditableText"0000"
cashSymbol 692 EditableText"0000"
timeleftSymbol 694 EditableText"000"
amountofbubblesSymbol 695 EditableText"00"
amountofspikesSymbol 696 EditableText"00"
cashSymbol 697 EditableText"0000"
cashSymbol 701 EditableText"0000"
timeleftSymbol 703 EditableText"000"
amountofbubblesSymbol 704 EditableText"00"
amountofspikesSymbol 705 EditableText"00"
cashSymbol 706 EditableText"0000"
cashSymbol 710 EditableText"0000"
timeleftSymbol 712 EditableText"000"
amountofbubblesSymbol 713 EditableText"00"
amountofspikesSymbol 714 EditableText"00"
cashSymbol 715 EditableText"0000"
cashSymbol 719 EditableText"0000"
timeleftSymbol 721 EditableText"000"
amountofbubblesSymbol 722 EditableText"00"
amountofspikesSymbol 723 EditableText"00"
cashSymbol 724 EditableText"0000"
cashSymbol 728 EditableText"0000"
timeleftSymbol 730 EditableText"000"
amountofbubblesSymbol 731 EditableText"00"
amountofspikesSymbol 732 EditableText"00"
cashSymbol 733 EditableText"0000"
cashSymbol 737 EditableText"0000"
timeleftSymbol 739 EditableText"000"
amountofbubblesSymbol 740 EditableText"00"
amountofspikesSymbol 741 EditableText"00"
cashSymbol 742 EditableText"0000"
cashSymbol 746 EditableText"0000"
timeleftSymbol 748 EditableText"000"
amountofbubblesSymbol 749 EditableText"00"
amountofspikesSymbol 750 EditableText"00"
cashSymbol 751 EditableText"0000"
cashSymbol 755 EditableText"0000"
timeleftSymbol 757 EditableText"000"
amountofbubblesSymbol 758 EditableText"00"
amountofspikesSymbol 759 EditableText"00"
cashSymbol 760 EditableText"0000"
cashSymbol 764 EditableText"0000"
timeleftSymbol 766 EditableText"000"
amountofbubblesSymbol 767 EditableText"00"
amountofspikesSymbol 768 EditableText"00"
cashSymbol 769 EditableText"0000"
cashSymbol 773 EditableText"0000"
timeleftSymbol 775 EditableText"000"
amountofbubblesSymbol 776 EditableText"00"
amountofspikesSymbol 777 EditableText"00"
cashSymbol 778 EditableText"0000"
cashSymbol 782 EditableText"0000"
timeleftSymbol 784 EditableText"000"
amountofbubblesSymbol 785 EditableText"00"
amountofspikesSymbol 786 EditableText"00"
cashSymbol 787 EditableText"0000"
cashSymbol 791 EditableText"0000"
timeleftSymbol 793 EditableText"000"
amountofbubblesSymbol 794 EditableText"00"
amountofspikesSymbol 795 EditableText"00"
cashSymbol 796 EditableText"0000"
cashSymbol 800 EditableText"0000"
timeleftSymbol 802 EditableText"000"
amountofbubblesSymbol 803 EditableText"00"
amountofspikesSymbol 804 EditableText"00"
cashSymbol 805 EditableText"0000"




http://swfchan.com/10/48129/info.shtml
Created: 30/4 -2019 13:07:42 Last modified: 30/4 -2019 13:07:42 Server time: 22/05 -2024 02:26:55