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

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

Sea Survival.swf

This is the info page for
Flash #29530

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


Text
Ironically Pre-Loading the Game's Preloader

If you can read this, you need to get broadband.

(75 KB)

EviLudy.Net

New generation games series

(loading)

©

[ Original Concept '!Fishy!' by XGenStudios.com ]

Level Mode

Arcade Mode

Disaster Mode

Credits

More games 'n stuff

<p align="center"><font face="Cacophony Loud" size="15" color="#ffffff"><a href="http://www.eviludy.net/" target = "_blank"><b>[ EviLudy.Net :: Play the Game, Don&apos;t let the Game play you! ]</b></a></font></p>

Information

Original Concept
'!Fishy!' by XGenStudios.com

Design By
www.eviludy.net

Audio Management
Yoow of EviLudy.Net

Programming
Zero of EviLudy.Net

Graphics Department
Zero of EviLudy.Net

Beta Testing
Ryan Fernung
Jenna Troxler
Peter Muldrew

Beta Testing
Pieter Peereboom
Marieke Bosch

Music Credit
Merenguito by DAFILEMAN
Jazzloop Pop by Florian Ennemoser

Music Credit
New Spirit by Koen Paulissen
AfroLatin by Andarela

Special Thanks
Skye Boyes
www.xgenstudios.com
For making the original and agree to
be credited here.

Production Period
21 March 2005
16 April 2005

Back

This is you.
Use the arrow keys to move.

This is treasure.
Collect to recieve 1000 points.

These are enemy fish.
You can (unless in disaster mode)
eat all smaller fish, and you have to
dodge bigger fish. Fish with red
borders are bigger than you.

<< Press "P" to pause the game. >>

Play!

View scores!

Back to main!

Eat smaller Fish

Dodge Bigger Fish

Collect treasure for Bonus

30

0

30

0

1000

PAUSED

Retry

Enter Highscore

Back to Main menu

Name:

Submit

1.

2.

3.

4.

5.

6.

7.

8.

Dodge All Fish
Survive as long as possible

Every level has it's very own Instructions.
You have 1 life!

Level #1

Eat 5 Fish

Go for it!

Give Up!

:

Level #2

Eat 10 Fish

L

Le

Lev

Leve

Level

Level C

Level Co

Level Com

Level Comp

Level Compl

Level Comple

Level Complet

Level Complete

Level Complete!

Level #3

Collect 1 Chest

Level #4

Collect 3 Chests

Level #5

Survive 1 Minute

Level #6

Eat 25 Fish

Level #7

Eat 5 Fish in 2 minutes

Level #8

Collect 7 Chests

Level #9

Collect 9 Chests

Level #10

Eat 40 Fish

Level #11

Eat 50 Fish

Level #12

Eat 15 Fish in 5 minutes

Level #13

Collect 15 chests

Level #14

Eat 20 Fish, collect 5 chests

Level #15

Collect 5 chests in 10 minutes

Level #16

Eat 45 Fish in 15 minutes

Level #17

Collect 25 chests

Level #18

Survive 25 minutes

Level #19

Eat 75 Fish

Level #20

Eat 125 Fish, collect 25 chests

ActionScript [AS1/AS2]

Frame 1
stop();
Instance of Symbol 13 MovieClip in Frame 1
onClipEvent (enterFrame) { _root.b_loaded = _root.getBytesLoaded(); _root.b_total = _root.getBytesTotal(); _root.percent = Math.round((_root.b_loaded / _root.b_total) * 100); if (_root.percent >= 25) { _root.play(); } }
Frame 2
stage.showMenu = false; stop();
Instance of Symbol 67 MovieClip "load" in Frame 2
on (release, releaseOutside) { getURL ("http://www.eviludy.net/", "_blank"); }
Frame 3
function button1(obj:Object, item:ContextMenuItem) { toggleHighQuality(); } function button9(obj:Object, item:ContextMenuItem) { stopAllSounds(); music4 = new Sound(); music4.attachSound("music4"); music4.start(0, 50000); } function button4(obj:Object, item:ContextMenuItem) { stopAllSounds(); } function button6(obj:Object, item:ContextMenuIteme) { } function button5(obj:Object, item:ContextMenuIteme) { getURL ("http://www.eviludy.net/", "_blank"); } function button8(obj:Object, item:ContextMenuIteme) { } function button2(obj:Object, item:ContextMenuItem) { getURL ("http://www.eviludy.net/", "_blank"); } function button3(obj:Object, item:ContextMenuItem) { getURL ("http://www.xgenstudios.com/", "_blank"); } stop(); cm = new ContextMenu(); cm.hideBuiltInItems(); cm.customItems.push(new ContextMenuItem("Toggle Quality", button1)); cm.customItems.push(new ContextMenuItem("Start Music", button9)); cm.customItems.push(new ContextMenuItem("Stop Music", button4)); cm.customItems.push(new ContextMenuItem("------------", button6)); cm.customItems.push(new ContextMenuItem("More Games 'n Stuff", button5)); cm.customItems.push(new ContextMenuItem("-------------", button8)); cm.customItems.push(new ContextMenuItem("EviLudy Games", button2)); cm.customItems.push(new ContextMenuItem("Xgen Studios", button3)); _root.menu = cm; function (gameOver) { _root.nextFrame(); }; stage.showMenu = true; stop(); stopAllSounds(); music4 = new Sound(); music4.attachSound("music4"); music4.start(0, 50000);
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 3
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 3
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 3
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 6
function button1(obj:Object, item:ContextMenuItem) { toggleHighQuality(); } function button9(obj:Object, item:ContextMenuItem) { stopAllSounds(); music = new Sound(); music.attachSound("music"); music.start(0, 50000); } function button4(obj:Object, item:ContextMenuItem) { stopAllSounds(); } function button6(obj:Object, item:ContextMenuIteme) { } function button5(obj:Object, item:ContextMenuIteme) { getURL ("http://www.eviludy.net/", "_blank"); } function button8(obj:Object, item:ContextMenuIteme) { } function button2(obj:Object, item:ContextMenuItem) { getURL ("http://www.eviludy.net/", "_blank"); } function button3(obj:Object, item:ContextMenuItem) { getURL ("http://www.xgenstudios.com/", "_blank"); } cm = new ContextMenu(); cm.hideBuiltInItems(); cm.customItems.push(new ContextMenuItem("Toggle Quality", button1)); cm.customItems.push(new ContextMenuItem("Start Music", button9)); cm.customItems.push(new ContextMenuItem("Stop Music", button4)); cm.customItems.push(new ContextMenuItem("------------", button6)); cm.customItems.push(new ContextMenuItem("More Games 'n Stuff", button5)); cm.customItems.push(new ContextMenuItem("-------------", button8)); cm.customItems.push(new ContextMenuItem("EviLudy Games", button2)); cm.customItems.push(new ContextMenuItem("Xgen Studios", button3)); _root.menu = cm; function (gameOver) { _root.nextFrame(); }; stopAllSounds(); music = new Sound(); music.attachSound("music"); music.start(0, 50000); stop(); _root.score = 0; _root.quality = "HIGH"; _root.paused = 0;
Instance of Symbol 156 MovieClip "blub1" in Frame 6
onClipEvent (enterFrame) { this._y = this._y - 3.5; if (this._y < 0) { this._y = 350; this._x = Math.random() * 600; sizevar = (Math.random() * 5) + 3; this._width = sizevar; this._height = sizevar; } }
Instance of Symbol 156 MovieClip "blub2" in Frame 6
onClipEvent (enterFrame) { this._y = this._y - 2; if (this._y < 0) { this._y = 350; this._x = Math.random() * 600; sizevar = (Math.random() * 9) + 7; this._width = sizevar; this._height = sizevar; } }
Instance of Symbol 156 MovieClip "bubble" in Frame 6
onClipEvent (enterFrame) { this._y = this._y - 3; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 6
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 6
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 6
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 174 MovieClip in Frame 6
onClipEvent (enterFrame) { this.swapDepths(16010); }
Frame 7
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 3) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 10) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 15) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.autoadjust = 1;
Instance of Symbol 156 MovieClip "blub1" in Frame 7
onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y - 3.5; if (this._y < 0) { this._y = 350; this._x = Math.random() * 600; sizevar = (Math.random() * 5) + 3; this._width = sizevar; this._height = sizevar; } } }
Instance of Symbol 156 MovieClip "blub2" in Frame 7
onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y - 2; if (this._y < 0) { this._y = 350; this._x = Math.random() * 600; sizevar = (Math.random() * 9) + 7; this._width = sizevar; this._height = sizevar; } } }
Instance of Symbol 156 MovieClip "bubble" in Frame 7
onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y - 3; } }
Instance of Symbol 190 MovieClip "fish" in Frame 7
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 7
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { _root.nextFrame(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = this._width / _root.fish._width; adding = adding / 4; _root.fish._width = _root.fish._width + adding; this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 7
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { _root.nextFrame(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = this._width / _root.fish._width; adding = adding / 4; _root.fish._width = _root.fish._width + adding; this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 7
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { _root.nextFrame(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = this._width / _root.fish._width; adding = adding / 4; _root.fish._width = _root.fish._width + adding; this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 7
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 209 MovieClip "chest" in Frame 7
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 212 MovieClip in Frame 7
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Frame 8
a = 1; while (a <= 3) { _root["enemyfish_1_" + a]._visible = false; _root["enemyfish_1_" + a].removeMovieClip(); a++; } b = 9; while (b <= 10) { _root["enemyfish_2_" + b]._visible = false; _root["enemyfish_2_" + b].removeMovieClip(); b++; } c = 15; while (c <= 15) { _root["enemyfish_3_" + c]._visible = false; _root["enemyfish_3_" + c].removeMovieClip(); c++; }
Instance of Symbol 156 MovieClip "blub1" in Frame 8
onClipEvent (enterFrame) { this._y = this._y - 3.5; if (this._y < 0) { this._y = 350; this._x = Math.random() * 600; sizevar = (Math.random() * 5) + 3; this._width = sizevar; this._height = sizevar; } }
Instance of Symbol 156 MovieClip "blub2" in Frame 8
onClipEvent (enterFrame) { this._y = this._y - 2; if (this._y < 0) { this._y = 350; this._x = Math.random() * 600; sizevar = (Math.random() * 9) + 7; this._width = sizevar; this._height = sizevar; } }
Instance of Symbol 156 MovieClip "bubble" in Frame 8
onClipEvent (enterFrame) { this._y = this._y - 3; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 8
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 8
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 8
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 9
_root.scoretable.filename = "scores/arcade.sco"; _root.scoretable.scoresize = 8; _root.scoretable.action = "VIEW"; _root.scoretable.viewtype = "FLASH"; _root.scoretable.loadVariables("http://www.eviludy.net/games/flashsetting/scores.php", "GET");
Frame 10
function button1(obj:Object, item:ContextMenuItem) { toggleHighQuality(); } function button9(obj:Object, item:ContextMenuItem) { stopAllSounds(); music3 = new Sound(); music3.attachSound("music3"); music3.start(0, 50000); } function button4(obj:Object, item:ContextMenuItem) { stopAllSounds(); } function button6(obj:Object, item:ContextMenuIteme) { } function button5(obj:Object, item:ContextMenuIteme) { getURL ("http://www.eviludy.net/", "_blank"); } function button8(obj:Object, item:ContextMenuIteme) { } function button2(obj:Object, item:ContextMenuItem) { getURL ("http://www.eviludy.net/", "_blank"); } function button3(obj:Object, item:ContextMenuItem) { getURL ("http://www.xgenstudios.com/", "_blank"); } cm = new ContextMenu(); cm.hideBuiltInItems(); cm.customItems.push(new ContextMenuItem("Toggle Quality", button1)); cm.customItems.push(new ContextMenuItem("Start Music", button9)); cm.customItems.push(new ContextMenuItem("Stop Music", button4)); cm.customItems.push(new ContextMenuItem("------------", button6)); cm.customItems.push(new ContextMenuItem("More Games 'n Stuff", button5)); cm.customItems.push(new ContextMenuItem("-------------", button8)); cm.customItems.push(new ContextMenuItem("EviLudy Games", button2)); cm.customItems.push(new ContextMenuItem("Xgen Studios", button3)); _root.menu = cm; function (gameOver) { _root.nextFrame(); }; stop(); stopAllSounds(); music3 = new Sound(); music3.attachSound("music3"); music3.start(0, 50000); stop(); _root.score = 0; _root.quality = "HIGH"; _root.paused = 0;
Instance of Symbol 156 MovieClip "blub1" in Frame 10
onClipEvent (enterFrame) { this._y = this._y - 3.5; if (this._y < 0) { this._y = 350; this._x = Math.random() * 600; sizevar = (Math.random() * 5) + 3; this._width = sizevar; this._height = sizevar; } }
Instance of Symbol 156 MovieClip "blub2" in Frame 10
onClipEvent (enterFrame) { this._y = this._y - 2; if (this._y < 0) { this._y = 350; this._x = Math.random() * 600; sizevar = (Math.random() * 9) + 7; this._width = sizevar; this._height = sizevar; } }
Instance of Symbol 156 MovieClip "bubble" in Frame 10
onClipEvent (enterFrame) { this._y = this._y - 3; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 10
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 10
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 10
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 174 MovieClip in Frame 10
onClipEvent (enterFrame) { this.swapDepths(16010); }
Frame 11
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 6) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 13) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 17) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.autoadjust = 1;
Instance of Symbol 156 MovieClip "blub1" in Frame 11
onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y - 3.5; if (this._y < 0) { this._y = 350; this._x = Math.random() * 600; sizevar = (Math.random() * 5) + 3; this._width = sizevar; this._height = sizevar; } } }
Instance of Symbol 156 MovieClip "blub2" in Frame 11
onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y - 2; if (this._y < 0) { this._y = 350; this._x = Math.random() * 600; sizevar = (Math.random() * 9) + 7; this._width = sizevar; this._height = sizevar; } } }
Instance of Symbol 156 MovieClip "bubble" in Frame 11
onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y - 3; } }
Instance of Symbol 190 MovieClip "fish" in Frame 11
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; sx = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } if (_root.paused == 0) { sx++; if (sx == 30) { _root.score = _root.score + 1; sx = 0; } } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 11
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 5; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { _root.nextFrame(); } else if (this._width < _root.fish._width) { _root.nextFrame(); } } } inside._visible = false; if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 5; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 11
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 4; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { _root.nextFrame(); } else if (this._width < _root.fish._width) { _root.nextFrame(); } } } inside._visible = false; if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 4; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 11
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { _root.nextFrame(); } else if (this._width < _root.fish._width) { _root.nextFrame(); } } } inside._visible = false; if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 11
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 212 MovieClip in Frame 11
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Frame 12
a = 1; while (a <= 6) { _root["enemyfish_1_" + a]._visible = false; _root["enemyfish_1_" + a].removeMovieClip(); a++; } b = 9; while (b <= 13) { _root["enemyfish_2_" + b]._visible = false; _root["enemyfish_2_" + b].removeMovieClip(); b++; } c = 15; while (c <= 17) { _root["enemyfish_3_" + c]._visible = false; _root["enemyfish_3_" + c].removeMovieClip(); c++; }
Instance of Symbol 156 MovieClip "blub1" in Frame 12
onClipEvent (enterFrame) { this._y = this._y - 3.5; if (this._y < 0) { this._y = 350; this._x = Math.random() * 600; sizevar = (Math.random() * 5) + 3; this._width = sizevar; this._height = sizevar; } }
Instance of Symbol 156 MovieClip "blub2" in Frame 12
onClipEvent (enterFrame) { this._y = this._y - 2; if (this._y < 0) { this._y = 350; this._x = Math.random() * 600; sizevar = (Math.random() * 9) + 7; this._width = sizevar; this._height = sizevar; } }
Instance of Symbol 156 MovieClip "bubble" in Frame 12
onClipEvent (enterFrame) { this._y = this._y - 3; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 12
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 12
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 12
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 13
_root.scoretable.filename = "scores/disaster.sco"; _root.scoretable.scoresize = 8; _root.scoretable.action = "VIEW"; _root.scoretable.viewtype = "FLASH"; _root.scoretable.loadVariables("http://www.eviludy.net/games/flashsetting/scores.php", "GET");
Frame 14
function button1(obj:Object, item:ContextMenuItem) { toggleHighQuality(); } function button9(obj:Object, item:ContextMenuItem) { stopAllSounds(); music2 = new Sound(); music2.attachSound("music2"); music2.start(0, 50000); } function button4(obj:Object, item:ContextMenuItem) { stopAllSounds(); } function button6(obj:Object, item:ContextMenuIteme) { } function button5(obj:Object, item:ContextMenuIteme) { getURL ("http://www.eviludy.net/", "_blank"); } function button8(obj:Object, item:ContextMenuIteme) { } function button2(obj:Object, item:ContextMenuItem) { getURL ("http://www.eviludy.net/", "_blank"); } function button3(obj:Object, item:ContextMenuItem) { getURL ("http://www.xgenstudios.com/", "_blank"); } cm = new ContextMenu(); cm.hideBuiltInItems(); cm.customItems.push(new ContextMenuItem("Toggle Quality", button1)); cm.customItems.push(new ContextMenuItem("Start Music", button9)); cm.customItems.push(new ContextMenuItem("Stop Music", button4)); cm.customItems.push(new ContextMenuItem("------------", button6)); cm.customItems.push(new ContextMenuItem("More Games 'n Stuff", button5)); cm.customItems.push(new ContextMenuItem("-------------", button8)); cm.customItems.push(new ContextMenuItem("EviLudy Games", button2)); cm.customItems.push(new ContextMenuItem("Xgen Studios", button3)); _root.menu = cm; function (gameOver) { _root.nextFrame(); }; stop(); function over_func() { gotoAndStop (55); } stopAllSounds(); music2 = new Sound(); music2.attachSound("music2"); music2.start(0, 50000); stop(); _root.score = 0; _root.quality = "HIGH"; _root.paused = 0;
Instance of Symbol 156 MovieClip "blub1" in Frame 14
onClipEvent (enterFrame) { this._y = this._y - 3.5; if (this._y < 0) { this._y = 350; this._x = Math.random() * 600; sizevar = (Math.random() * 5) + 3; this._width = sizevar; this._height = sizevar; } }
Instance of Symbol 156 MovieClip "blub2" in Frame 14
onClipEvent (enterFrame) { this._y = this._y - 2; if (this._y < 0) { this._y = 350; this._x = Math.random() * 600; sizevar = (Math.random() * 9) + 7; this._width = sizevar; this._height = sizevar; } }
Instance of Symbol 156 MovieClip "bubble" in Frame 14
onClipEvent (enterFrame) { this._y = this._y - 3; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 14
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 14
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 14
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 174 MovieClip in Frame 14
onClipEvent (enterFrame) { this.swapDepths(16010); }
Frame 16
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 2) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 10) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 15) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.fisheaten = 0; _root.chestcollected = 0; _root.surviveseconds = 0; _root.surviveminutes = 0; _root.autoadjust = 1;
Instance of Symbol 156 MovieClip "blub1" in Frame 16
onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y - 3.5; if (this._y < 0) { this._y = 350; this._x = Math.random() * 600; sizevar = (Math.random() * 5) + 3; this._width = sizevar; this._height = sizevar; } } }
Instance of Symbol 156 MovieClip "blub2" in Frame 16
onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y - 2; if (this._y < 0) { this._y = 350; this._x = Math.random() * 600; sizevar = (Math.random() * 9) + 7; this._width = sizevar; this._height = sizevar; } } }
Instance of Symbol 156 MovieClip "bubble" in Frame 16
onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y - 3; } }
Instance of Symbol 190 MovieClip "fish" in Frame 16
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 16
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 16
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 16
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 16
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 279 MovieClip "chest" in Frame 16
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 284 MovieClip in Frame 16
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 30) { _root.surviveseconds++; count = 0; } if (_root.surviveseconds == 60) { _root.surviveminutes++; _root.surviveseconds = 0; } }
Instance of Symbol 284 MovieClip in Frame 16
onClipEvent (enterFrame) { if (_root.fisheaten == 5) { _root.score = _root.score + 100; _root.nextFrame(); } }
Instance of Symbol 212 MovieClip in Frame 16
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 17
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 17
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 17
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 18
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 3) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 10) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 15) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.fisheaten = 0; _root.chestcollected = 0; _root.surviveseconds = 0; _root.surviveminutes = 0; _root.autoadjust = 1;
Instance of Symbol 190 MovieClip "fish" in Frame 18
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 18
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 279 MovieClip "chest" in Frame 18
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 284 MovieClip in Frame 18
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 30) { _root.surviveseconds++; count = 0; } if (_root.surviveseconds == 60) { _root.surviveminutes++; _root.surviveseconds = 0; } }
Instance of Symbol 284 MovieClip in Frame 18
onClipEvent (enterFrame) { if (_root.fisheaten == 10) { _root.score = _root.score + 200; _root.nextFrame(); } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 18
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 18
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 18
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 212 MovieClip in Frame 18
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 19
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 19
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 19
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 20
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 3) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 11) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 15) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.fisheaten = 0; _root.chestcollected = 0; _root.surviveseconds = 0; _root.surviveminutes = 0; _root.autoadjust = 1;
Instance of Symbol 190 MovieClip "fish" in Frame 20
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 20
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 279 MovieClip "chest" in Frame 20
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 284 MovieClip in Frame 20
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 30) { _root.surviveseconds++; count = 0; } if (_root.surviveseconds == 60) { _root.surviveminutes++; _root.surviveseconds = 0; } }
Instance of Symbol 284 MovieClip in Frame 20
onClipEvent (enterFrame) { if (_root.chestcollected == 1) { _root.score = _root.score + 300; _root.nextFrame(); } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 20
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 20
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 20
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 212 MovieClip in Frame 20
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 21
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 21
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 21
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 22
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 4) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 11) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 15) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.fisheaten = 0; _root.chestcollected = 0; _root.surviveseconds = 0; _root.surviveminutes = 0; _root.autoadjust = 1;
Instance of Symbol 190 MovieClip "fish" in Frame 22
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 22
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 279 MovieClip "chest" in Frame 22
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 284 MovieClip in Frame 22
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 30) { _root.surviveseconds++; count = 0; } if (_root.surviveseconds == 60) { _root.surviveminutes++; _root.surviveseconds = 0; } }
Instance of Symbol 284 MovieClip in Frame 22
onClipEvent (enterFrame) { if (_root.chestcollected == 3) { _root.score = _root.score + 400; _root.nextFrame(); } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 22
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 22
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 22
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 212 MovieClip in Frame 22
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 23
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 23
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 23
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 24
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 4) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 11) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 16) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.fisheaten = 0; _root.chestcollected = 0; _root.surviveseconds = 0; _root.surviveminutes = 0; _root.autoadjust = 1;
Instance of Symbol 190 MovieClip "fish" in Frame 24
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 24
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 279 MovieClip "chest" in Frame 24
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 284 MovieClip in Frame 24
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 30) { _root.surviveseconds++; count = 0; } if (_root.surviveseconds == 60) { _root.surviveminutes++; _root.surviveseconds = 0; } }
Instance of Symbol 284 MovieClip in Frame 24
onClipEvent (enterFrame) { if (_root.surviveminutes == 1) { _root.score = _root.score + 500; _root.nextFrame(); } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 24
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 24
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 24
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 212 MovieClip in Frame 24
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 25
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 25
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 25
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 26
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 5) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 11) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 16) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.fisheaten = 0; _root.chestcollected = 0; _root.surviveseconds = 0; _root.surviveminutes = 0; _root.autoadjust = 1;
Instance of Symbol 190 MovieClip "fish" in Frame 26
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 26
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 279 MovieClip "chest" in Frame 26
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 284 MovieClip in Frame 26
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 30) { _root.surviveseconds++; count = 0; } if (_root.surviveseconds == 60) { _root.surviveminutes++; _root.surviveseconds = 0; } }
Instance of Symbol 284 MovieClip in Frame 26
onClipEvent (enterFrame) { if (_root.fisheaten == 25) { _root.score = _root.score + 600; _root.nextFrame(); } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 26
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 26
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 26
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 212 MovieClip in Frame 26
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 27
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 27
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 27
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 28
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 4) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 12) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 16) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.fisheaten = 0; _root.chestcollected = 0; _root.surviveseconds = 0; _root.surviveminutes = 0; _root.autoadjust = 1;
Instance of Symbol 190 MovieClip "fish" in Frame 28
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 28
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 279 MovieClip "chest" in Frame 28
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 284 MovieClip in Frame 28
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 30) { _root.surviveseconds++; count = 0; } if (_root.surviveseconds == 60) { _root.surviveminutes++; _root.surviveseconds = 0; } }
Instance of Symbol 284 MovieClip in Frame 28
onClipEvent (enterFrame) { if ((_root.fisheaten == 5) && (_root.surviveminutes < 2)) { _root.score = _root.score + 700; _root.nextFrame(); } if (_root.surviveminutes >= 2) { _root.gotoAndStop("levels", 42); } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 28
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 28
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 28
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 212 MovieClip in Frame 28
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 29
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 29
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 29
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 30
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 4) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 12) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 17) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.fisheaten = 0; _root.chestcollected = 0; _root.surviveseconds = 0; _root.surviveminutes = 0; _root.autoadjust = 1;
Instance of Symbol 190 MovieClip "fish" in Frame 30
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 30
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 279 MovieClip "chest" in Frame 30
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 284 MovieClip in Frame 30
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 30) { _root.surviveseconds++; count = 0; } if (_root.surviveseconds == 60) { _root.surviveminutes++; _root.surviveseconds = 0; } }
Instance of Symbol 284 MovieClip in Frame 30
onClipEvent (enterFrame) { if (_root.chestcollected == 7) { _root.score = _root.score + 800; _root.nextFrame(); } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 30
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 30
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 30
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 212 MovieClip in Frame 30
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 31
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 31
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 31
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 32
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 5) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 12) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 17) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.fisheaten = 0; _root.chestcollected = 0; _root.surviveseconds = 0; _root.surviveminutes = 0; _root.autoadjust = 1;
Instance of Symbol 190 MovieClip "fish" in Frame 32
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 32
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 279 MovieClip "chest" in Frame 32
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 284 MovieClip in Frame 32
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 30) { _root.surviveseconds++; count = 0; } if (_root.surviveseconds == 60) { _root.surviveminutes++; _root.surviveseconds = 0; } }
Instance of Symbol 284 MovieClip in Frame 32
onClipEvent (enterFrame) { if (_root.chestcollected == 9) { _root.score = _root.score + 900; _root.nextFrame(); } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 32
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 32
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 32
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 212 MovieClip in Frame 32
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 33
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 33
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 33
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 34
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 5) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 13) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 17) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.fisheaten = 0; _root.chestcollected = 0; _root.surviveseconds = 0; _root.surviveminutes = 0; _root.autoadjust = 1;
Instance of Symbol 190 MovieClip "fish" in Frame 34
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 34
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 279 MovieClip "chest" in Frame 34
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 284 MovieClip in Frame 34
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 30) { _root.surviveseconds++; count = 0; } if (_root.surviveseconds == 60) { _root.surviveminutes++; _root.surviveseconds = 0; } }
Instance of Symbol 284 MovieClip in Frame 34
onClipEvent (enterFrame) { if (_root.fisheaten == 40) { _root.score = _root.score + 1000; _root.nextFrame(); } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 34
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 34
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 34
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 212 MovieClip in Frame 34
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 35
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 35
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 35
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 36
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 5) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 13) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 17) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.fisheaten = 0; _root.chestcollected = 0; _root.surviveseconds = 0; _root.surviveminutes = 0; _root.autoadjust = 1;
Instance of Symbol 190 MovieClip "fish" in Frame 36
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 36
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 279 MovieClip "chest" in Frame 36
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 284 MovieClip in Frame 36
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 30) { _root.surviveseconds++; count = 0; } if (_root.surviveseconds == 60) { _root.surviveminutes++; _root.surviveseconds = 0; } }
Instance of Symbol 284 MovieClip in Frame 36
onClipEvent (enterFrame) { if (_root.fisheaten == 50) { _root.score = _root.score + 1100; _root.nextFrame(); } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 36
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 36
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 36
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 212 MovieClip in Frame 36
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 37
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 37
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 37
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 38
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 5) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 13) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 17) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.fisheaten = 0; _root.chestcollected = 0; _root.surviveseconds = 0; _root.surviveminutes = 0; _root.autoadjust = 1;
Instance of Symbol 190 MovieClip "fish" in Frame 38
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 38
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 279 MovieClip "chest" in Frame 38
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 284 MovieClip in Frame 38
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 30) { _root.surviveseconds++; count = 0; } if (_root.surviveseconds == 60) { _root.surviveminutes++; _root.surviveseconds = 0; } }
Instance of Symbol 284 MovieClip in Frame 38
onClipEvent (enterFrame) { if ((_root.fisheaten == 15) && (_root.surviveminutes < 5)) { _root.score = _root.score + 1200; _root.nextFrame(); } if (_root.surviveminutes >= 2) { _root.gotoAndStop("levels", 42); } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 38
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 38
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 38
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 212 MovieClip in Frame 38
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 39
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 39
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 39
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 40
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 5) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 13) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 17) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.fisheaten = 0; _root.chestcollected = 0; _root.surviveseconds = 0; _root.surviveminutes = 0; _root.autoadjust = 1;
Instance of Symbol 190 MovieClip "fish" in Frame 40
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 40
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 279 MovieClip "chest" in Frame 40
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 284 MovieClip in Frame 40
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 30) { _root.surviveseconds++; count = 0; } if (_root.surviveseconds == 60) { _root.surviveminutes++; _root.surviveseconds = 0; } }
Instance of Symbol 284 MovieClip in Frame 40
onClipEvent (enterFrame) { if (_root.chestcollected == 15) { _root.score = _root.score + 1300; _root.nextFrame(); } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 40
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 40
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 40
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 212 MovieClip in Frame 40
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 41
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 41
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 41
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 42
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 5) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 13) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 17) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.fisheaten = 0; _root.chestcollected = 0; _root.surviveseconds = 0; _root.surviveminutes = 0; _root.autoadjust = 1;
Instance of Symbol 190 MovieClip "fish" in Frame 42
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 42
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 279 MovieClip "chest" in Frame 42
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 284 MovieClip in Frame 42
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 30) { _root.surviveseconds++; count = 0; } if (_root.surviveseconds == 60) { _root.surviveminutes++; _root.surviveseconds = 0; } }
Instance of Symbol 284 MovieClip in Frame 42
onClipEvent (enterFrame) { if ((_root.fisheaten == 20) && (_root.chestcollected == 5)) { _root.score = _root.score + 1400; _root.nextFrame(); } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 42
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 42
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 42
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 212 MovieClip in Frame 42
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 43
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 43
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 43
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 44
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 5) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 13) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 17) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.fisheaten = 0; _root.chestcollected = 0; _root.surviveseconds = 0; _root.surviveminutes = 0; _root.autoadjust = 1;
Instance of Symbol 190 MovieClip "fish" in Frame 44
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 44
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 279 MovieClip "chest" in Frame 44
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 284 MovieClip in Frame 44
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 30) { _root.surviveseconds++; count = 0; } if (_root.surviveseconds == 60) { _root.surviveminutes++; _root.surviveseconds = 0; } }
Instance of Symbol 284 MovieClip in Frame 44
onClipEvent (enterFrame) { if ((chestcollected == 5) && (_root.surviveminutes < 10)) { _root.score = _root.score + 1500; _root.nextFrame(); } if (_root.surviveminutes >= 2) { _root.gotoAndStop("levels", 42); } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 44
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 44
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 44
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 212 MovieClip in Frame 44
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 45
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 45
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 45
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 46
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 6) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 13) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 17) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.fisheaten = 0; _root.chestcollected = 0; _root.surviveseconds = 0; _root.surviveminutes = 0; _root.autoadjust = 1;
Instance of Symbol 190 MovieClip "fish" in Frame 46
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 46
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 279 MovieClip "chest" in Frame 46
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 284 MovieClip in Frame 46
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 30) { _root.surviveseconds++; count = 0; } if (_root.surviveseconds == 60) { _root.surviveminutes++; _root.surviveseconds = 0; } }
Instance of Symbol 284 MovieClip in Frame 46
onClipEvent (enterFrame) { if ((_root.fisheaten == 45) && (_root.surviveminutes < 15)) { _root.score = _root.score + 1600; _root.nextFrame(); } if (_root.surviveminutes >= 2) { _root.gotoAndStop("levels", 42); } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 46
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 46
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 46
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 212 MovieClip in Frame 46
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 47
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 47
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 47
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 48
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 6) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 14) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 17) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.fisheaten = 0; _root.chestcollected = 0; _root.surviveseconds = 0; _root.surviveminutes = 0; _root.autoadjust = 1;
Instance of Symbol 190 MovieClip "fish" in Frame 48
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 48
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 279 MovieClip "chest" in Frame 48
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 284 MovieClip in Frame 48
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 30) { _root.surviveseconds++; count = 0; } if (_root.surviveseconds == 60) { _root.surviveminutes++; _root.surviveseconds = 0; } }
Instance of Symbol 284 MovieClip in Frame 48
onClipEvent (enterFrame) { if (_root.chestcollected == 15) { _root.score = _root.score + 1700; _root.nextFrame(); } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 48
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 48
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 48
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 212 MovieClip in Frame 48
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 49
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 49
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 49
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 50
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 6) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 14) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 18) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.fisheaten = 0; _root.chestcollected = 0; _root.surviveseconds = 0; _root.surviveminutes = 0; _root.autoadjust = 1;
Instance of Symbol 190 MovieClip "fish" in Frame 50
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 50
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 279 MovieClip "chest" in Frame 50
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 284 MovieClip in Frame 50
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 30) { _root.surviveseconds++; count = 0; } if (_root.surviveseconds == 60) { _root.surviveminutes++; _root.surviveseconds = 0; } }
Instance of Symbol 284 MovieClip in Frame 50
onClipEvent (enterFrame) { if (_root.surviveminutes == 25) { _root.score = _root.score + 1800; _root.nextFrame(); } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 50
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 50
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 50
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 212 MovieClip in Frame 50
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 51
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 51
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 51
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 52
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 6) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 14) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 18) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.fisheaten = 0; _root.chestcollected = 0; _root.surviveseconds = 0; _root.surviveminutes = 0; _root.autoadjust = 1;
Instance of Symbol 190 MovieClip "fish" in Frame 52
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 52
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 279 MovieClip "chest" in Frame 52
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 284 MovieClip in Frame 52
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 30) { _root.surviveseconds++; count = 0; } if (_root.surviveseconds == 60) { _root.surviveminutes++; _root.surviveseconds = 0; } }
Instance of Symbol 284 MovieClip in Frame 52
onClipEvent (enterFrame) { if (_root.fisheaten == 75) { _root.score = _root.score + 1900; _root.nextFrame(); } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 52
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 52
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 52
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 212 MovieClip in Frame 52
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 53
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 53
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 53
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 54
xsetdepth = 10000; stop(); _root.a = 0; _root.fishOnScreen = 0; i = 1; while (i < 3) { _root.blub1.duplicateMovieClip("blub1" + i, xsetdepth); _root["blub1" + i]._x = Math.random() * 600; vali1 = i * 75; vali2 = 365 - vali1; _root["blub1" + i]._y = vali2; sizevar = (Math.random() * 5) + 3; _root["blub1" + i]._width = _root.sizevar; _root["blub1" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } i = 1; while (i < 2) { _root.blub1.duplicateMovieClip("blub2" + i, xsetdepth); _root["blub2" + i]._x = Math.random() * 600; vali1 = i * 100; vali2 = 365 - vali1; _root["blub2" + i]._y = vali2; sizevar = (Math.random() * 9) + 7; _root["blub2" + i]._width = _root.sizevar; _root["blub2" + i]._height = _root.sizevar; xsetdepth = xsetdepth + 1; i++; } a = 1; while (a <= 6) { _root.enemyFish1.duplicateMovieClip("enemyfish_1_" + a, a + 100); a++; } b = 9; while (b <= 14) { _root.enemyFish2.duplicateMovieClip("enemyfish_2_" + b, b + 100); b++; } c = 15; while (c <= 18) { _root.enemyFish3.duplicateMovieClip("enemyfish_3_" + c, c + 100); c++; } _root.fisheaten = 0; _root.chestcollected = 0; _root.surviveseconds = 0; _root.surviveminutes = 0; _root.autoadjust = 1;
Instance of Symbol 190 MovieClip "fish" in Frame 54
onClipEvent (load) { xspeed = (yspeed = 0); goingDown = (goingForward = false); acceleration = 0.35; maxSpeed = 8; varY = 1; facingRight = false; countdowner = 0; countnow = false; } onClipEvent (enterFrame) { if (_root.paused == 0) { varY = varY + 1; if (varY >= 60) { _root.bubble.duplicateMovieClip("bubble" + _root.a, 11000 + _root.a); _root["bubble" + _root.a]._x = this._x; _root["bubble" + _root.a]._y = this._y; if (lastpr == 1) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x - styler; } else if (lastpr == 2) { _root["bubble" + _root.a]._x = _root["bubble" + _root.a]._x + styler; } _root.a++; varY = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { this._height = this._width * 0.58490566; _x = (_x - xspeed); _y = (_y - yspeed); if (Key.isDown(37)) { this.gotoAndStop(1); lastpr = 1; goingForward = true; if (xspeed < maxSpeed) { xspeed = xspeed + acceleration; } } else if (Key.isDown(39)) { this.gotoAndStop(2); lastpr = 2; goingForward = false; if (xspeed > (-maxSpeed)) { xspeed = xspeed - acceleration; } } else if (goingForward) { if (xspeed > 0) { xspeed = xspeed - acceleration; } else if (xspeed < 0) { xspeed = xspeed + acceleration; } } else if (xspeed < 0) { xspeed = xspeed + acceleration; } else if (xspeed > 0) { xspeed = xspeed - acceleration; } if (Key.isDown(38)) { goingDown = true; if (yspeed < maxSpeed) { yspeed = yspeed + acceleration; } } else if (Key.isDown(40)) { goingDown = false; if (yspeed > (-maxSpeed)) { yspeed = yspeed - acceleration; } } else if (goingDown) { if (yspeed > 0) { yspeed = yspeed - acceleration; } else if (yspeed < 0) { yspeed = yspeed + acceleration; } } else if (yspeed < 0) { yspeed = yspeed + acceleration; } else if (yspeed > 0) { yspeed = yspeed - acceleration; } stghoog = Stage.height; stgwijd = Stage.width; styler = this._width / 2; stylerb = this._height / 2; if (this._x < (-styler)) { this._x = stgwijd; this._x = this._x + styler; } if (this._x > (stgwijd + styler)) { this._x = -styler; } if (this._y < 0) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 0; } if (this._y > 310) { xspeed = (yspeed = 0); goingDown = (goingForward = false); this._y = 310; } } } onClipEvent (enterFrame) { if (((_root.paused == 0) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 1; countnow = true; } else if (((_root.paused == 1) && (Key.isDown(80))) && (countdowner == 0)) { _root.paused = 0; countnow = true; } if (countnow == true) { countdowner = countdowner + 1; } if (countdowner == 15) { countdowner = 0; countnow = false; } }
Instance of Symbol 202 MovieClip "fpscounter" in Frame 54
onClipEvent (load) { swapDepths(1000007); } onClipEvent (enterFrame) { with (this) { f = Math.round(1000 / (getTimer() - t)); fff = f; t = getTimer(); this.fps2 = f; _root.framez = this.fps2; } }
Instance of Symbol 279 MovieClip "chest" in Frame 54
onClipEvent (load) { this._x = (Math.random() * 599) + 1; setting = 0; count = 0; this._y = -2500; } onClipEvent (enterFrame) { if (_root.paused == 0) { this._y = this._y + 5; if ((this._y >= 320) && (setting == 0)) { setting = 1; } if (setting == 1) { this._y = this._y - 5; count = count + 1; } if ((count == 150) && (setting == 1)) { setting = 2; } if ((this._y >= 350) && (setting == 2)) { this._y = -2500; this.gotoAndStop(1); this._x = (Math.random() * 599) + 1; setting = 0; count = 0; } } }
Instance of Symbol 284 MovieClip in Frame 54
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 30) { _root.surviveseconds++; count = 0; } if (_root.surviveseconds == 60) { _root.surviveminutes++; _root.surviveseconds = 0; } }
Instance of Symbol 284 MovieClip in Frame 54
onClipEvent (enterFrame) { if ((_root.fisheaten == 125) && (_root.chestcollected == 25)) { _root.score = _root.score + 50000; _root.nextFrame(); } }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 54
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 54
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if (((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 54
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; da = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (_root.paused == 0) { if (this.hitTest(_root.fish)) { if ((((((((((((((((((((((_root.fish.hitTest(this.dot1) || (_root.fish.hitTest(this.dot2))) || (_root.fish.hitTest(this.dot3))) || (_root.fish.hitTest(this.dot4))) || (_root.fish.hitTest(this.dot5))) || (_root.fish.hitTest(this.dot6))) || (_root.fish.hitTest(this.dot7))) || (_root.fish.hitTest(this.dot8))) || (_root.fish.hitTest(this.dot9))) || (_root.fish.hitTest(this.dot10))) || (_root.fish.hitTest(this.dot11))) || (_root.fish.hitTest(this.dot12))) || (_root.fish.hitTest(this.dot13))) || (_root.fish.hitTest(this.dot14))) || (_root.fish.hitTest(_root.fish.dot15))) || (_root.fish.hitTest(this.dot16))) || (_root.fish.hitTest(this.dot17))) || (_root.fish.hitTest(this.dot18))) || (_root.fish.hitTest(this.dot19))) || (_root.fish.hitTest(this.dot20))) || (_root.fish.hitTest(this.dot21))) || (_root.fish.hitTest(this.dot22))) || (_root.fish.hitTest(this.dot23))) { if (this._width >= _root.fish._width) { trace("lol die"); _root.over_func(); } else if (this._width < _root.fish._width) { eat = new Sound(); eat.attachSound("eat"); eat.start(0, 0); setting = 0; setting = this._width / 10; setting = setting + 10; setting = setting * 2; setting = Math.round(setting); _root.score = _root.score + setting; adding = _root.fish._width / this._width; adding = adding / 8; _root.fish._width = _root.fish._width + adding; if (da == 0) { _root.fisheaten = _root.fisheaten + 1; da = 1; } this._visible = false; } } } if (this._width < _root.fish._width) { inside._visible = false; } else if (this._width >= _root.fish.width) { inside._visible = true; } if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; da = 0; this._visible = true; } } }
Instance of Symbol 212 MovieClip in Frame 54
onClipEvent (enterFrame) { if (_root.paused == 0) { this._visible = false; } else if (_root.paused == 1) { this._visible = true; } this.swapDepths(16009); } onClipEvent (load) { this._visible = false; }
Frame 55
a = 1; while (a <= 6) { _root["enemyfish_1_" + a]._visible = false; _root["enemyfish_1_" + a].removeMovieClip(); a++; } b = 9; while (b <= 13) { _root["enemyfish_2_" + b]._visible = false; _root["enemyfish_2_" + b].removeMovieClip(); b++; } c = 15; while (c <= 17) { _root["enemyfish_3_" + c]._visible = false; _root["enemyfish_3_" + c].removeMovieClip(); c++; }
Instance of Symbol 156 MovieClip "blub1" in Frame 55
onClipEvent (enterFrame) { this._y = this._y - 3.5; if (this._y < 0) { this._y = 350; this._x = Math.random() * 600; sizevar = (Math.random() * 5) + 3; this._width = sizevar; this._height = sizevar; } }
Instance of Symbol 156 MovieClip "blub2" in Frame 55
onClipEvent (enterFrame) { this._y = this._y - 2; if (this._y < 0) { this._y = 350; this._x = Math.random() * 600; sizevar = (Math.random() * 9) + 7; this._width = sizevar; this._height = sizevar; } }
Instance of Symbol 156 MovieClip "bubble" in Frame 55
onClipEvent (enterFrame) { this._y = this._y - 3; }
Instance of Symbol 87 MovieClip "enemyFish2" in Frame 55
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 120) + 150; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 270) { r = 270; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 9) + 3; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 40) + 15; this._width = sizevar; sizevar2 = sizevar * 0.513; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 100 MovieClip "enemyFish1" in Frame 55
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -300 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 900 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 300) + 120; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 420) { r = 420; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 7) + 2; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 45) + 40; this._width = sizevar; sizevar2 = sizevar * 0.5882; this._height = sizevar2; this._visible = true; } }
Instance of Symbol 106 MovieClip "enemyFish3" in Frame 55
onClipEvent (load) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -100 - this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 700 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 75) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; } onClipEvent (enterFrame) { if (prry == 1) { this._x = this._x + sSpeed; } else if (prry == 2) { this._x = this._x - sSpeed; } if (((this._x > 0) && (this._x < stgwijd)) && (thisset == 0)) { _root.fishOnScreen = _root.fishOnScreen + 1; thisset = 1; } else if ((this._x < 0) || (this._x > stgwijd)) { if (thisset == 1) { _root.fishOnScreen = _root.fishOnScreen - 1; thisset = 2; outside = 1; } } if (outside == 1) { respawn = (Math.random() * 100) + 75; respawn = Math.round(respawn); outside = 3; } if (outside == 3) { r++; } if (r > 175) { r = 175; } if (r > respawn) { this._y = Math.random() * 305; this._y = this._y + 10; thisset = 0; outside = 0; respawn = 0; r = 0; stgwijd = Stage.width; sSpeed = (Math.random() * 5) + 1; sSpeed = Math.round(sSpeed); select = Math.random() * 2; select = Math.round(select); if (select == 2) { prry = 1; this._x = -this._width; } else if ((select == 1) || (select == 0)) { prry = 2; this._x = 600 + this._width; } if (prry == 1) { this.gotoAndStop(1); } else if (prry == 2) { this.gotoAndStop(2); } sizevar = (Math.random() * 55) + 85; this._width = sizevar; sizevar2 = sizevar * 0.5046; this._height = sizevar2; this._visible = true; } }
Frame 56
_root.scoretable.filename = "scores/level.sco"; _root.scoretable.scoresize = 8; _root.scoretable.action = "VIEW"; _root.scoretable.viewtype = "FLASH"; _root.scoretable.loadVariables("http://www.eviludy.net/games/flashsetting/scores.php", "GET");
Symbol 66 MovieClip Frame 243
stop(); _root.nextFrame();
Symbol 67 MovieClip Frame 1
stop();
Instance of Symbol 21 MovieClip in Symbol 67 MovieClip Frame 1
onClipEvent (enterFrame) { _root.b_loaded = _root.getBytesLoaded(); _root.b_total = _root.getBytesTotal(); _root.percent = Math.round((_root.b_loaded / _root.b_total) * 100); this._width = _root.percent * 3; if (_root.percent == 100) { _root.load.play(); } }
Symbol 67 MovieClip Frame 15
stop();
Instance of Symbol 66 MovieClip in Symbol 67 MovieClip Frame 15
on (release, releaseOutside) { getURL ("http://www.eviludy.net/", "_blank"); }
Symbol 118 Button
on (release) { gotoAndStop (14); }
Symbol 120 Button
on (release) { gotoAndStop (6); }
Symbol 122 Button
on (release) { gotoAndStop (10); }
Symbol 124 Button
on (release) { _root.nextFrame(); }
Symbol 126 Button
on (release) { getURL ("http://www.eviludy.net/", "_blank"); }
Symbol 129 Button
on (release) { gotoAndStop (5); }
Symbol 147 Button
on (release) { _root.prevFrame(); }
Symbol 154 Button
on (release) { gotoAndStop (3); }
Symbol 160 Button
on (release) { nextFrame(); }
Symbol 162 Button
on (release) { gotoAndStop (9); }
Symbol 164 Button
on (release) { stopAllSounds(); gotoAndStop (3); }
Symbol 190 MovieClip Frame 1
stop();
Instance of Symbol 192 MovieClip "meter" in Symbol 199 MovieClip Frame 1
onClipEvent (load) { highfps = 0; } onClipEvent (enterFrame) { nowfps = _parent._parent.f; this._yscale = (nowfps * 100) / 30; }
Instance of Symbol 199 MovieClip in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.autoadjust == 1) { if ((_root.framez < 25) && (_root.framez > 18)) { _root._quality = "MEDIUM"; _root.autoadjust = 0; } else if (_root.framez < 19) { _root._quality = "LOW"; _root.autoadjust = 0; } } }
Symbol 209 MovieClip Frame 1
stop();
Instance of Symbol 203 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.fish)) { getchest = new Sound(); getchest.attachSound("getchest"); getchest.start(0, 0); _root.score = _root.score + 1000; _root.chest.play(); } }
Symbol 209 MovieClip Frame 12
stop();
Symbol 215 Button
on (release) { gotoAndStop (6); }
Symbol 217 Button
on (release) { nextFrame(); }
Symbol 224 Button
on (release) { _root.scoretable.filename = "scores/arcade.sco"; _root.scoretable.scoresize = 8; _root.scoretable.action = "INSERT"; _root.scoretable.viewtype = "FLASH"; _root.scoretable.winname = _root.alias; _root.scoretable.winscore = _root.score; _root.scoretable.loadVariables("http://www.eviludy.net/games/flashsetting/scores.php", "GET"); _root.submitscore._visible = false; }
Symbol 253 MovieClip Frame 1
stop();
Symbol 258 Button
on (release) { gotoAndStop (13); }
Symbol 259 Button
on (release) { gotoAndStop (10); }
Symbol 260 Button
on (release) { _root.score = Math.round(_root.score); gotoAndStop (13); }
Symbol 262 Button
on (release) { _root.scoretable.filename = "scores/disaster.sco"; _root.scoretable.scoresize = 8; _root.scoretable.action = "INSERT"; _root.scoretable.viewtype = "FLASH"; _root.scoretable.winname = _root.alias; _root.scoretable.winscore = _root.score; _root.scoretable.loadVariables("http://www.eviludy.net/games/flashsetting/scores.php", "GET"); _root.submitscore._visible = false; }
Symbol 268 Button
on (release) { gotoAndStop (56); }
Symbol 279 MovieClip Frame 1
stop();
Instance of Symbol 203 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.fish)) { getchest = new Sound(); getchest.attachSound("getchest"); getchest.start(0, 0); _root.score = _root.score + 1000; _root.chest.play(); } }
Symbol 279 MovieClip Frame 12
stop(); _root.chestcollected = _root.chestcollected + 1;
Symbol 302 MovieClip Frame 41
stop();
Symbol 395 Button
on (release) { gotoAndStop (14); }
Symbol 396 Button
on (release) { _root.scoretable.filename = "scores/level.sco"; _root.scoretable.scoresize = 8; _root.scoretable.action = "INSERT"; _root.scoretable.viewtype = "FLASH"; _root.scoretable.winname = _root.alias; _root.scoretable.winscore = _root.score; _root.scoretable.loadVariables("http://www.eviludy.net/games/flashsetting/scores.php", "GET"); _root.submitscore._visible = false; }

Library Items

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

Instance Names

"load"Frame 2Symbol 67 MovieClip
"enemyFish2"Frame 3Symbol 87 MovieClip
"enemyFish1"Frame 3Symbol 100 MovieClip
"enemyFish3"Frame 3Symbol 106 MovieClip
"blub1"Frame 6Symbol 156 MovieClip
"blub2"Frame 6Symbol 156 MovieClip
"bubble"Frame 6Symbol 156 MovieClip
"enemyFish2"Frame 6Symbol 87 MovieClip
"enemyFish1"Frame 6Symbol 100 MovieClip
"enemyFish3"Frame 6Symbol 106 MovieClip
"blub1"Frame 7Symbol 156 MovieClip
"blub2"Frame 7Symbol 156 MovieClip
"bubble"Frame 7Symbol 156 MovieClip
"fish"Frame 7Symbol 190 MovieClip
"enemyFish2"Frame 7Symbol 87 MovieClip
"enemyFish1"Frame 7Symbol 100 MovieClip
"enemyFish3"Frame 7Symbol 106 MovieClip
"fpscounter"Frame 7Symbol 202 MovieClip
"chest"Frame 7Symbol 209 MovieClip
"blub1"Frame 8Symbol 156 MovieClip
"blub2"Frame 8Symbol 156 MovieClip
"bubble"Frame 8Symbol 156 MovieClip
"enemyFish2"Frame 8Symbol 87 MovieClip
"enemyFish1"Frame 8Symbol 100 MovieClip
"enemyFish3"Frame 8Symbol 106 MovieClip
"submitscore"Frame 9Symbol 227 MovieClip
"scoretable"Frame 9Symbol 253 MovieClip
"blub1"Frame 10Symbol 156 MovieClip
"blub2"Frame 10Symbol 156 MovieClip
"bubble"Frame 10Symbol 156 MovieClip
"enemyFish2"Frame 10Symbol 87 MovieClip
"enemyFish1"Frame 10Symbol 100 MovieClip
"enemyFish3"Frame 10Symbol 106 MovieClip
"blub1"Frame 11Symbol 156 MovieClip
"blub2"Frame 11Symbol 156 MovieClip
"bubble"Frame 11Symbol 156 MovieClip
"fish"Frame 11Symbol 190 MovieClip
"enemyFish2"Frame 11Symbol 87 MovieClip
"enemyFish1"Frame 11Symbol 100 MovieClip
"enemyFish3"Frame 11Symbol 106 MovieClip
"fpscounter"Frame 11Symbol 202 MovieClip
"blub1"Frame 12Symbol 156 MovieClip
"blub2"Frame 12Symbol 156 MovieClip
"bubble"Frame 12Symbol 156 MovieClip
"enemyFish2"Frame 12Symbol 87 MovieClip
"enemyFish1"Frame 12Symbol 100 MovieClip
"enemyFish3"Frame 12Symbol 106 MovieClip
"submitscore"Frame 13Symbol 264 MovieClip
"scoretable"Frame 13Symbol 253 MovieClip
"blub1"Frame 14Symbol 156 MovieClip
"blub2"Frame 14Symbol 156 MovieClip
"bubble"Frame 14Symbol 156 MovieClip
"enemyFish2"Frame 14Symbol 87 MovieClip
"enemyFish1"Frame 14Symbol 100 MovieClip
"enemyFish3"Frame 14Symbol 106 MovieClip
"blub1"Frame 16Symbol 156 MovieClip
"blub2"Frame 16Symbol 156 MovieClip
"bubble"Frame 16Symbol 156 MovieClip
"fish"Frame 16Symbol 190 MovieClip
"fpscounter"Frame 16Symbol 202 MovieClip
"enemyFish2"Frame 16Symbol 87 MovieClip
"enemyFish1"Frame 16Symbol 100 MovieClip
"enemyFish3"Frame 16Symbol 106 MovieClip
"chest"Frame 16Symbol 279 MovieClip
"enemyFish2"Frame 17Symbol 87 MovieClip
"enemyFish1"Frame 17Symbol 100 MovieClip
"enemyFish3"Frame 17Symbol 106 MovieClip
"fish"Frame 18Symbol 190 MovieClip
"fpscounter"Frame 18Symbol 202 MovieClip
"chest"Frame 18Symbol 279 MovieClip
"enemyFish2"Frame 18Symbol 87 MovieClip
"enemyFish1"Frame 18Symbol 100 MovieClip
"enemyFish3"Frame 18Symbol 106 MovieClip
"enemyFish2"Frame 19Symbol 87 MovieClip
"enemyFish1"Frame 19Symbol 100 MovieClip
"enemyFish3"Frame 19Symbol 106 MovieClip
"fish"Frame 20Symbol 190 MovieClip
"fpscounter"Frame 20Symbol 202 MovieClip
"chest"Frame 20Symbol 279 MovieClip
"enemyFish2"Frame 20Symbol 87 MovieClip
"enemyFish1"Frame 20Symbol 100 MovieClip
"enemyFish3"Frame 20Symbol 106 MovieClip
"enemyFish2"Frame 21Symbol 87 MovieClip
"enemyFish1"Frame 21Symbol 100 MovieClip
"enemyFish3"Frame 21Symbol 106 MovieClip
"fish"Frame 22Symbol 190 MovieClip
"fpscounter"Frame 22Symbol 202 MovieClip
"chest"Frame 22Symbol 279 MovieClip
"enemyFish2"Frame 22Symbol 87 MovieClip
"enemyFish1"Frame 22Symbol 100 MovieClip
"enemyFish3"Frame 22Symbol 106 MovieClip
"enemyFish2"Frame 23Symbol 87 MovieClip
"enemyFish1"Frame 23Symbol 100 MovieClip
"enemyFish3"Frame 23Symbol 106 MovieClip
"fish"Frame 24Symbol 190 MovieClip
"fpscounter"Frame 24Symbol 202 MovieClip
"chest"Frame 24Symbol 279 MovieClip
"enemyFish2"Frame 24Symbol 87 MovieClip
"enemyFish1"Frame 24Symbol 100 MovieClip
"enemyFish3"Frame 24Symbol 106 MovieClip
"enemyFish2"Frame 25Symbol 87 MovieClip
"enemyFish1"Frame 25Symbol 100 MovieClip
"enemyFish3"Frame 25Symbol 106 MovieClip
"fish"Frame 26Symbol 190 MovieClip
"fpscounter"Frame 26Symbol 202 MovieClip
"chest"Frame 26Symbol 279 MovieClip
"enemyFish2"Frame 26Symbol 87 MovieClip
"enemyFish1"Frame 26Symbol 100 MovieClip
"enemyFish3"Frame 26Symbol 106 MovieClip
"enemyFish2"Frame 27Symbol 87 MovieClip
"enemyFish1"Frame 27Symbol 100 MovieClip
"enemyFish3"Frame 27Symbol 106 MovieClip
"fish"Frame 28Symbol 190 MovieClip
"fpscounter"Frame 28Symbol 202 MovieClip
"chest"Frame 28Symbol 279 MovieClip
"enemyFish2"Frame 28Symbol 87 MovieClip
"enemyFish1"Frame 28Symbol 100 MovieClip
"enemyFish3"Frame 28Symbol 106 MovieClip
"enemyFish2"Frame 29Symbol 87 MovieClip
"enemyFish1"Frame 29Symbol 100 MovieClip
"enemyFish3"Frame 29Symbol 106 MovieClip
"fish"Frame 30Symbol 190 MovieClip
"fpscounter"Frame 30Symbol 202 MovieClip
"chest"Frame 30Symbol 279 MovieClip
"enemyFish2"Frame 30Symbol 87 MovieClip
"enemyFish1"Frame 30Symbol 100 MovieClip
"enemyFish3"Frame 30Symbol 106 MovieClip
"enemyFish2"Frame 31Symbol 87 MovieClip
"enemyFish1"Frame 31Symbol 100 MovieClip
"enemyFish3"Frame 31Symbol 106 MovieClip
"fish"Frame 32Symbol 190 MovieClip
"fpscounter"Frame 32Symbol 202 MovieClip
"chest"Frame 32Symbol 279 MovieClip
"enemyFish2"Frame 32Symbol 87 MovieClip
"enemyFish1"Frame 32Symbol 100 MovieClip
"enemyFish3"Frame 32Symbol 106 MovieClip
"enemyFish2"Frame 33Symbol 87 MovieClip
"enemyFish1"Frame 33Symbol 100 MovieClip
"enemyFish3"Frame 33Symbol 106 MovieClip
"fish"Frame 34Symbol 190 MovieClip
"fpscounter"Frame 34Symbol 202 MovieClip
"chest"Frame 34Symbol 279 MovieClip
"enemyFish2"Frame 34Symbol 87 MovieClip
"enemyFish1"Frame 34Symbol 100 MovieClip
"enemyFish3"Frame 34Symbol 106 MovieClip
"enemyFish2"Frame 35Symbol 87 MovieClip
"enemyFish1"Frame 35Symbol 100 MovieClip
"enemyFish3"Frame 35Symbol 106 MovieClip
"fish"Frame 36Symbol 190 MovieClip
"fpscounter"Frame 36Symbol 202 MovieClip
"chest"Frame 36Symbol 279 MovieClip
"enemyFish2"Frame 36Symbol 87 MovieClip
"enemyFish1"Frame 36Symbol 100 MovieClip
"enemyFish3"Frame 36Symbol 106 MovieClip
"enemyFish2"Frame 37Symbol 87 MovieClip
"enemyFish1"Frame 37Symbol 100 MovieClip
"enemyFish3"Frame 37Symbol 106 MovieClip
"fish"Frame 38Symbol 190 MovieClip
"fpscounter"Frame 38Symbol 202 MovieClip
"chest"Frame 38Symbol 279 MovieClip
"enemyFish2"Frame 38Symbol 87 MovieClip
"enemyFish1"Frame 38Symbol 100 MovieClip
"enemyFish3"Frame 38Symbol 106 MovieClip
"enemyFish2"Frame 39Symbol 87 MovieClip
"enemyFish1"Frame 39Symbol 100 MovieClip
"enemyFish3"Frame 39Symbol 106 MovieClip
"fish"Frame 40Symbol 190 MovieClip
"fpscounter"Frame 40Symbol 202 MovieClip
"chest"Frame 40Symbol 279 MovieClip
"enemyFish2"Frame 40Symbol 87 MovieClip
"enemyFish1"Frame 40Symbol 100 MovieClip
"enemyFish3"Frame 40Symbol 106 MovieClip
"enemyFish2"Frame 41Symbol 87 MovieClip
"enemyFish1"Frame 41Symbol 100 MovieClip
"enemyFish3"Frame 41Symbol 106 MovieClip
"fish"Frame 42Symbol 190 MovieClip
"fpscounter"Frame 42Symbol 202 MovieClip
"chest"Frame 42Symbol 279 MovieClip
"enemyFish2"Frame 42Symbol 87 MovieClip
"enemyFish1"Frame 42Symbol 100 MovieClip
"enemyFish3"Frame 42Symbol 106 MovieClip
"enemyFish2"Frame 43Symbol 87 MovieClip
"enemyFish1"Frame 43Symbol 100 MovieClip
"enemyFish3"Frame 43Symbol 106 MovieClip
"fish"Frame 44Symbol 190 MovieClip
"fpscounter"Frame 44Symbol 202 MovieClip
"chest"Frame 44Symbol 279 MovieClip
"enemyFish2"Frame 44Symbol 87 MovieClip
"enemyFish1"Frame 44Symbol 100 MovieClip
"enemyFish3"Frame 44Symbol 106 MovieClip
"enemyFish2"Frame 45Symbol 87 MovieClip
"enemyFish1"Frame 45Symbol 100 MovieClip
"enemyFish3"Frame 45Symbol 106 MovieClip
"fish"Frame 46Symbol 190 MovieClip
"fpscounter"Frame 46Symbol 202 MovieClip
"chest"Frame 46Symbol 279 MovieClip
"enemyFish2"Frame 46Symbol 87 MovieClip
"enemyFish1"Frame 46Symbol 100 MovieClip
"enemyFish3"Frame 46Symbol 106 MovieClip
"enemyFish2"Frame 47Symbol 87 MovieClip
"enemyFish1"Frame 47Symbol 100 MovieClip
"enemyFish3"Frame 47Symbol 106 MovieClip
"fish"Frame 48Symbol 190 MovieClip
"fpscounter"Frame 48Symbol 202 MovieClip
"chest"Frame 48Symbol 279 MovieClip
"enemyFish2"Frame 48Symbol 87 MovieClip
"enemyFish1"Frame 48Symbol 100 MovieClip
"enemyFish3"Frame 48Symbol 106 MovieClip
"enemyFish2"Frame 49Symbol 87 MovieClip
"enemyFish1"Frame 49Symbol 100 MovieClip
"enemyFish3"Frame 49Symbol 106 MovieClip
"fish"Frame 50Symbol 190 MovieClip
"fpscounter"Frame 50Symbol 202 MovieClip
"chest"Frame 50Symbol 279 MovieClip
"enemyFish2"Frame 50Symbol 87 MovieClip
"enemyFish1"Frame 50Symbol 100 MovieClip
"enemyFish3"Frame 50Symbol 106 MovieClip
"enemyFish2"Frame 51Symbol 87 MovieClip
"enemyFish1"Frame 51Symbol 100 MovieClip
"enemyFish3"Frame 51Symbol 106 MovieClip
"fish"Frame 52Symbol 190 MovieClip
"fpscounter"Frame 52Symbol 202 MovieClip
"chest"Frame 52Symbol 279 MovieClip
"enemyFish2"Frame 52Symbol 87 MovieClip
"enemyFish1"Frame 52Symbol 100 MovieClip
"enemyFish3"Frame 52Symbol 106 MovieClip
"enemyFish2"Frame 53Symbol 87 MovieClip
"enemyFish1"Frame 53Symbol 100 MovieClip
"enemyFish3"Frame 53Symbol 106 MovieClip
"fish"Frame 54Symbol 190 MovieClip
"fpscounter"Frame 54Symbol 202 MovieClip
"chest"Frame 54Symbol 279 MovieClip
"enemyFish2"Frame 54Symbol 87 MovieClip
"enemyFish1"Frame 54Symbol 100 MovieClip
"enemyFish3"Frame 54Symbol 106 MovieClip
"blub1"Frame 55Symbol 156 MovieClip
"blub2"Frame 55Symbol 156 MovieClip
"bubble"Frame 55Symbol 156 MovieClip
"enemyFish2"Frame 55Symbol 87 MovieClip
"enemyFish1"Frame 55Symbol 100 MovieClip
"enemyFish3"Frame 55Symbol 106 MovieClip
"submitscore"Frame 56Symbol 398 MovieClip
"scoretable"Frame 56Symbol 253 MovieClip
"dot1"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"dot2"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"dot16"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"dot3"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"dot4"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"dot1"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"dot5"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"dot1"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"dot6"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"dot1"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"dot7"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"dot8"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"dot9"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"dot10"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"dot1"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"dot13"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"dot1"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"dot11"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"dot12"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"dot14"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"dot15"Symbol 87 MovieClip Frame 1Symbol 79 MovieClip
"inside"Symbol 87 MovieClip Frame 1Symbol 86 MovieClip
"dot17"Symbol 100 MovieClip Frame 1Symbol 79 MovieClip
"dot1"Symbol 100 MovieClip Frame 1Symbol 79 MovieClip
"dot17"Symbol 100 MovieClip Frame 1Symbol 79 MovieClip
"dot16"Symbol 100 MovieClip Frame 1Symbol 79 MovieClip
"dot15"Symbol 100 MovieClip Frame 1Symbol 79 MovieClip
"dot14"Symbol 100 MovieClip Frame 1Symbol 79 MovieClip
"dot12"Symbol 100 MovieClip Frame 1Symbol 79 MovieClip
"dot13"Symbol 100 MovieClip Frame 1Symbol 79 MovieClip
"dot11"Symbol 100 MovieClip Frame 1Symbol 79 MovieClip
"dot9"Symbol 100 MovieClip Frame 1Symbol 79 MovieClip
"dot8"Symbol 100 MovieClip Frame 1Symbol 79 MovieClip
"dot6"Symbol 100 MovieClip Frame 1Symbol 79 MovieClip
"dot7"Symbol 100 MovieClip Frame 1Symbol 79 MovieClip
"dot5"Symbol 100 MovieClip Frame 1Symbol 79 MovieClip
"dot4"Symbol 100 MovieClip Frame 1Symbol 79 MovieClip
"dot3"Symbol 100 MovieClip Frame 1Symbol 79 MovieClip
"dot2"Symbol 100 MovieClip Frame 1Symbol 79 MovieClip
"dot18"Symbol 100 MovieClip Frame 1Symbol 79 MovieClip
"dot10"Symbol 100 MovieClip Frame 1Symbol 79 MovieClip
"inside"Symbol 100 MovieClip Frame 1Symbol 99 MovieClip
"dot1"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"dot2"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"dot4"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"dot5"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"dot6"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"dot7"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"dot8"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"dot10"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"dot11"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"dot13"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"dot12"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"dot14"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"dot15"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"dot16"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"dot17"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"dot18"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"dot21"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"dot22"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"dot23"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"dot3"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"dot9"Symbol 106 MovieClip Frame 1Symbol 79 MovieClip
"inside"Symbol 106 MovieClip Frame 1Symbol 104 MovieClip
"meter"Symbol 199 MovieClip Frame 1Symbol 192 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "music2"
ExportAssets (56)Timeline Frame 1Symbol 2 as "music"
ExportAssets (56)Timeline Frame 1Symbol 3 as "music3"
ExportAssets (56)Timeline Frame 1Symbol 4 as "eat"
ExportAssets (56)Timeline Frame 1Symbol 5 as "getchest"
ExportAssets (56)Timeline Frame 1Symbol 6 as "music4"

Dynamic Text Variables

_root.scoreSymbol 172 EditableText""
fps2Symbol 200 EditableText""
fps2Symbol 201 EditableText""
_root.aliasSymbol 226 EditableText""
NAME0Symbol 229 EditableText""
SCORE0Symbol 231 EditableText""
NAME1Symbol 232 EditableText""
NAME2Symbol 234 EditableText""
NAME3Symbol 236 EditableText""
NAME4Symbol 238 EditableText""
NAME5Symbol 240 EditableText""
NAME6Symbol 242 EditableText""
NAME7Symbol 244 EditableText""
SCORE2Symbol 246 EditableText""
SCORE1Symbol 247 EditableText""
SCORE3Symbol 248 EditableText""
SCORE4Symbol 249 EditableText""
SCORE5Symbol 250 EditableText""
SCORE6Symbol 251 EditableText""
SCORE7Symbol 252 EditableText""
_root.aliasSymbol 263 EditableText""
_root.surviveminutesSymbol 280 EditableText""
_root.survivesecondsSymbol 282 EditableText""
_root.surviveminutesSymbol 303 EditableText""
_root.survivesecondsSymbol 304 EditableText""
_root.surviveminutesSymbol 308 EditableText""
_root.survivesecondsSymbol 309 EditableText""
_root.surviveminutesSymbol 313 EditableText""
_root.survivesecondsSymbol 314 EditableText""
_root.surviveminutesSymbol 318 EditableText""
_root.survivesecondsSymbol 319 EditableText""
_root.surviveminutesSymbol 323 EditableText""
_root.survivesecondsSymbol 324 EditableText""
_root.surviveminutesSymbol 328 EditableText""
_root.survivesecondsSymbol 329 EditableText""
_root.surviveminutesSymbol 333 EditableText""
_root.survivesecondsSymbol 334 EditableText""
_root.surviveminutesSymbol 338 EditableText""
_root.survivesecondsSymbol 339 EditableText""
_root.surviveminutesSymbol 343 EditableText""
_root.survivesecondsSymbol 344 EditableText""
_root.surviveminutesSymbol 348 EditableText""
_root.survivesecondsSymbol 349 EditableText""
_root.surviveminutesSymbol 353 EditableText""
_root.survivesecondsSymbol 354 EditableText""
_root.surviveminutesSymbol 358 EditableText""
_root.survivesecondsSymbol 359 EditableText""
_root.surviveminutesSymbol 363 EditableText""
_root.survivesecondsSymbol 364 EditableText""
_root.surviveminutesSymbol 368 EditableText""
_root.survivesecondsSymbol 369 EditableText""
_root.surviveminutesSymbol 373 EditableText""
_root.survivesecondsSymbol 374 EditableText""
_root.surviveminutesSymbol 378 EditableText""
_root.survivesecondsSymbol 379 EditableText""
_root.surviveminutesSymbol 383 EditableText""
_root.survivesecondsSymbol 384 EditableText""
_root.surviveminutesSymbol 388 EditableText""
_root.survivesecondsSymbol 389 EditableText""
_root.surviveminutesSymbol 393 EditableText""
_root.survivesecondsSymbol 394 EditableText""
_root.aliasSymbol 397 EditableText""




http://swfchan.com/6/29530/info.shtml
Created: 19/5 -2019 22:02:23 Last modified: 19/5 -2019 22:02:23 Server time: 27/04 -2024 11:37:33