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

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

fish-me-up.swf

This is the info page for
Flash #116047

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


Text
Name

Weight

Time to

Catch

1

2

3

4

5

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

<p align="right"></p>

<p align="center"></p>

<p align="right"></p>

% loaded

Present

<p align="center"><font face="Shark Random Funnyness" size="30" color="#da251d" letterSpacing="0.000000" kerning="1"><b>on</b></font></p>

<p align="center"><font face="Shark Random Funnyness" size="30" color="#da251d" letterSpacing="0.000000" kerning="1"><b>on</b></font></p>

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

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

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

<p align="center"><font face="Shark Random Funnyness" size="32" color="#28166f" letterSpacing="0.000000" kerning="1"><b>Miami</b></font></p>

Next

Next

Next

Objective : catch minimal 4 fish and total weight 300 kg
Fish :
Red Snapper, Dog Snapper, Plane Snapper, Cooper Snapper,
Permit', Horse Eye Jack

Fish :

<p align="left"><font face="Shark Random Funnyness" size="14" color="#ffcc00" letterSpacing="0.000000" kerning="1">n/n</font></p>

weight :

<p align="left"><font face="Shark Random Funnyness" size="14" color="#ffcc00" letterSpacing="0.000000" kerning="1">2000/2000</font></p>

Name :

Weight :

Catch time :

Press SPACE to continue

<p align="left"><font face="Shark Random Funnyness_24pt_st" size="24" color="#0099cc" letterSpacing="0.000000" kerning="1"><b>00.00.00</b></font></p>

<p align="left"><font face="Shark Random Funnyness_24pt_st" size="24" color="#0099cc" letterSpacing="0.000000" kerning="1"><b>1200</b></font></p>

<p align="left"><font face="Shark Random Funnyness_24pt_st" size="24" color="#0099cc" letterSpacing="0.000000" kerning="1"><b>kakap merah</b></font></p>

Objective is completed !!!

<p align="center"><font face="Shark Random Funnyness" size="32" color="#28166f" letterSpacing="0.000000" kerning="1"><b>New Orleans</b></font></p>

Objective : catch minimal 4 fish and total weight 200 kg
Fish :
Red Snapper, Dog Snapper, Plane Snapper, Cooper Snapper

<p align="left"><font face="Shark Random Funnyness" size="14" color="#ffcc00" letterSpacing="0.000000" kerning="1">n/n</font></p>

<p align="left"><font face="Shark Random Funnyness" size="14" color="#ffcc00" letterSpacing="0.000000" kerning="1">2000/2000</font></p>

<p align="center"><font face="Shark Random Funnyness" size="32" color="#28166f" letterSpacing="0.000000" kerning="1"><b>San Fransisco</b></font></p>

Objective : catch minimal 4 fish and total weight 700 kg
Fish :
Plane Snapper, Permit, Horse Eye Jack, Big Eye Tuna

<p align="left"><font face="Shark Random Funnyness" size="14" color="#ffcc00" letterSpacing="0.000000" kerning="1">n/n</font></p>

<p align="left"><font face="Shark Random Funnyness" size="14" color="#ffcc00" letterSpacing="0.000000" kerning="1">2000/2000</font></p>

<p align="center"><font face="Shark Random Funnyness" size="32" color="#28166f" letterSpacing="0.000000" kerning="1"><b>Portland</b></font></p>

Objective : catch minimal 5 fish and total weight 1000 kg
Fish :
Permit, Horse Eye Jack, Big Eye Tuna, Black Fin Tuna, Mackaro

Fish :

<p align="left"><font face="Comic Sans MS" size="10" color="#ffcc00" letterSpacing="0.000000" kerning="1">n/n</font></p>

weight :

<p align="left"><font face="Comic Sans MS" size="10" color="#ffcc00" letterSpacing="0.000000" kerning="1">2000/2000</font></p>

<p align="center"><font face="Shark Random Funnyness" size="32" color="#28166f" letterSpacing="0.000000" kerning="1"><b>New York</b></font></p>

Objective : catch minimal 5 fish and total weight 2000 kg
Fish :
Big Eye Tuna, Black Fin Tuna, Mackaro, King Mackarel, Marlin

<p align="left"><font face="Shark Random Funnyness" size="14" color="#ffcc00" letterSpacing="0.000000" kerning="1">n/n</font></p>

<p align="left"><font face="Shark Random Funnyness" size="14" color="#ffcc00" letterSpacing="0.000000" kerning="1">2000/2000</font></p>

Esc - Menu

<p align="center"><font face="Shark Random Funnyness" size="32" color="#28166f" letterSpacing="0.000000" kerning="1"><b>Secret Spot</b></font></p>

Objective : try to catch fish you haven't catch yet  =)
Fish :
all fish is here......

<p align="left"><font face="Shark Random Funnyness" size="14" color="#ffcc00" letterSpacing="0.000000" kerning="1">n/n</font></p>

<p align="left"><font face="Shark Random Funnyness" size="14" color="#ffcc00" letterSpacing="0.000000" kerning="1">2000/2000</font></p>

PIRACY
kill a
baby
STOP IT!

click here
to redeem
your sin

click here
to redeem
your sin

ActionScript [AS3]

Section 1
//AGlogo_mc_6 (fishing_fla.AGlogo_mc_6) package fishing_fla { import flash.display.*; public dynamic class AGlogo_mc_6 extends MovieClip { public var agButton_btn:SimpleButton; } }//package fishing_fla
Section 2
//AGteaser_mc_3 (fishing_fla.AGteaser_mc_3) package fishing_fla { import flash.events.*; import fl.transitions.*; import fl.transitions.easing.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class AGteaser_mc_3 extends MovieClip { public var smash:Smash; public var timer:Timer; public var p_in; public var AGpresented_mc:MovieClip; public var AGclick_btn:SimpleButton; public var AGlogo_mc:MovieClip; public function AGteaser_mc_3(){ addFrameScript(0, frame1); } function frame1(){ stop(); smash = new Smash(); AGpresented_mc.alpha = 0; AGclick_btn.visible = false; AGlogo_mc.y = -70; timer = new Timer(4000); timer.addEventListener(TimerEvent.TIMER, done); timer.start(); p_in = new Tween(AGpresented_mc, "alpha", Strong.easeIn, 0, 100, 12, false); p_in.addEventListener(TweenEvent.MOTION_FINISH, logo); AGclick_btn.addEventListener(MouseEvent.CLICK, loadAG); } public function done(_arg1:Event){ timer.stop(); } public function loadAG(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.addictinggames.com"); navigateToURL(_local2, "_blank"); } public function logo(_arg1:TweenEvent){ var logo_in:*; var crunch:Function; var event = _arg1; crunch = function (_arg1:TweenEvent){ smash.play(); AGclick_btn.visible = true; new Tween(AGlogo_mc, "y", Bounce.easeOut, 60, 85, 6, false); new Tween(AGlogo_mc, "x", Bounce.easeOut, 30, 50, 6, false); new Tween(AGpresented_mc, "y", Bounce.easeOut, 15, 25, 6, false); new Tween(AGpresented_mc, "x", Bounce.easeOut, 110, 100, 6, false); }; logo_in = new Tween(AGlogo_mc, "y", Strong.easeIn, -75, 85, 12, false); logo_in.addEventListener(TweenEvent.MOTION_FINISH, crunch); } } }//package fishing_fla
Section 3
//arafuruSea_71 (fishing_fla.arafuruSea_71) package fishing_fla { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class arafuruSea_71 extends MovieClip { public const fishName:Array; public const seaName:String = "papua"; public const minCatch:Number = 5; public const target:Number = 2000; public var backBubbleCont:MovieClip; public var popupMenu; public var record:Array; public var fightStat:String; public var qualified:Number; public var dummy:MovieClip; public var objConf:MovieClip; public var player:MovieClip; public var frontBubbleCont:MovieClip; public var isPulling:Boolean; public var putusSE:SE_putus; public var fishes:Array; public var catchCount:Number; public var menuCont:MovieClip; public var poleInstability:Number; public var resultDisp:MovieClip; public var gameStat:String; public var bubbles:Array; public var fightMeter:MovieClip; public var PoleY:Number; public var msg; public var lineTense:Number; public var poleX:Number; public var weightCount_txt:TextField; public var fishCont:MovieClip; public var poleSEchannel:SoundChannel; public var fishCount_txt:TextField; public var deepsea:MovieClip; public var poleMinReelSpeed:Number; public var baitCont:MovieClip; public function arafuruSea_71(){ fishName = ["Big Eye Tuna", "Black Fin Tuna", "Mackaro", "King Mackarel", "Marlin"]; super(); addFrameScript(0, frame1); } public function finalize(){ } function frame1(){ putusSE = new SE_putus(); } public function routine(_arg1, _arg2){ var _local3:Number; var _local4:*; var _local5:Object; var _local6:Number; var _local7:Number; if (gameStat != "pause"){ if (Math.random() < 0.1){ _local4 = new Bubble(); _local4.init(deepsea.y, deepsea.height); bubbles.push(_local4); if (Math.random() < 0.5){ frontBubbleCont.addChild(bubbles[(bubbles.length - 1)]); } else { backBubbleCont.addChild(bubbles[(bubbles.length - 1)]); }; }; _local3 = 0; while (_local3 < bubbles.length) { bubbles[_local3].routine(); if (bubbles[_local3].isNoMore){ if (frontBubbleCont.contains(bubbles[_local3])){ frontBubbleCont.removeChild(bubbles[_local3]); } else { if (backBubbleCont.contains(bubbles[_local3])){ backBubbleCont.removeChild(bubbles[_local3]); }; }; bubbles.splice(_local3, 1); _local3--; }; _local3++; }; _local3 = 0; while (_local3 < fishes.length) { fishes[_local3].routine(_arg1, this); _local3++; }; if (fishes.length < 5){ if (Math.random() < 0.2){ _local5 = new Tuna1(); } else { if (Math.random() < 0.4){ _local5 = new Tuna2(); } else { if (Math.random() < 0.6){ _local5 = new Mackarel1(); } else { if (Math.random() < 0.8){ _local5 = new Mackarel2(); } else { _local5 = new Marlin(); }; }; }; }; _local5.init(); fishes.push(_local5); fishCont.addChild(fishes[(fishes.length - 1)]); }; if (gameStat == "fight"){ if (((isPulling) && ((fightMeter.xCursor < 100)))){ fightMeter.xCursor = (fightMeter.xCursor + (poleMinReelSpeed + (Math.random() * poleInstability))); if (fightMeter.xCursor > 100){ fightMeter.xCursor = 100; }; fightMeter.updateCursor(fightMeter.xCursor); } else { if (((!(isPulling)) && ((fightMeter.xCursor > 0)))){ fightMeter.xCursor = (fightMeter.xCursor - (poleMinReelSpeed + (Math.random() * poleInstability))); if (fightMeter.xCursor < 0){ fightMeter.xCursor = 0; }; fightMeter.updateCursor(fightMeter.xCursor); }; }; if (lineTense <= 0){ if (_arg2){ poleSEchannel = putusSE.play(0, 1); }; gameStat = "loose"; msg = new Loose(); msg.x = 320; msg.y = 240; this.addChild(msg); fightMeter.alpha = 0; } else { if (lineTense >= 100){ if (_arg2){ poleSEchannel = putusSE.play(0, 1); }; gameStat = "lineBreak"; msg = new LineBreak(); msg.x = 320; msg.y = 240; this.addChild(msg); fightMeter.alpha = 0; }; }; } else { if ((((gameStat == "loose")) || ((gameStat == "lineBreak")))){ if (msg.isFinish){ trace(("before:" + numChildren)); this.removeChild(msg); trace(("before:" + numChildren)); baitCont.removeChildAt(1); baitCont.removeChildAt(1); gameStat = "toSurface"; player.routine("stand", player.facing); lineTense = 10; }; } else { if (gameStat == "catch"){ baitCont.removeChildAt(1); baitCont.removeChildAt(1); _local3 = 0; while (_local3 < fishes.length) { if (fishes[_local3].isCatched){ catchCount++; if (record["best"][fishes[_local3].nama] == null){ record["best"][fishes[_local3].nama] = fishes[_local3].weight; } else { record["best"][fishes[_local3].nama] = Math.max(fishes[_local3].weight, record["best"][fishes[_local3].nama]); }; resultDisp.init(fishes[_local3].nama, fishes[_local3].weight, fishes[_local3].timer); fishCont.removeChild(fishes[_local3]); if (record["nama"].length < 5){ record["nama"].push(fishes[_local3].nama); record["weight"].push(Math.round(fishes[_local3].weight)); record["time"].push(fishes[_local3].timer); } else { if ((((fishes[_local3].weight > record["weight"][4])) || ((((fishes[_local3].weight == record["weight"][4])) && ((fishes[_local3].timer < record["time"][4])))))){ record["nama"].pop(); record["weight"].pop(); record["time"].pop(); record["nama"].push(fishes[_local3].nama); record["weight"].push(Math.round(fishes[_local3].weight)); record["time"].push(fishes[_local3].timer); }; }; sortRecord(); _local6 = 0; _local7 = 0; while (_local7 < record["weight"].length) { _local6 = (_local6 + int(record["weight"][_local7])); if (_local6 > target){ _local6 = target; }; _local7++; }; weightCount_txt.text = ((_local6 + " / ") + target); if (catchCount > minCatch){ catchCount = minCatch; }; fishCount_txt.text = ((catchCount + " / ") + minCatch); if ((((_local6 >= target)) && ((catchCount >= minCatch)))){ record["next"] = "secret spot"; qualified++; }; fishes.splice(_local3, 1); break; }; _local3++; }; gameStat = "showResult"; resultDisp.alpha = 1; }; }; }; }; } public function vScroll(_arg1){ var _local2:Number; deepsea.y = (deepsea.y - _arg1); _local2 = 0; while (_local2 < bubbles.length) { bubbles[_local2].y = (bubbles[_local2].y - _arg1); _local2++; }; _local2 = 0; while (_local2 < fishes.length) { fishes[_local2].y = (fishes[_local2].y - _arg1); fishes[_local2].defY = (fishes[_local2].defY - _arg1); _local2++; }; player.y = (player.y - _arg1); } public function init(_arg1){ var _local2:Number; var _local3:Number; qualified = 0; if (_arg1 != null){ record = _arg1; if (record["weight"] == null){ record["nama"] = new Array(); record["weight"] = new Array(); record["time"] = new Array(); record["best"] = new Array(); }; } else { record = new Array(); record["nama"] = new Array(); record["weight"] = new Array(); record["time"] = new Array(); record["best"] = new Array(); record["next"] = ""; }; sortRecord(); catchCount = record["nama"].length; _local2 = 0; _local3 = 0; while (_local3 < record["weight"].length) { _local2 = (_local2 + int(record["weight"][_local3])); if (_local2 > target){ _local2 = target; }; _local3++; }; if ((((_local2 >= target)) && ((catchCount >= minCatch)))){ qualified = 2; }; weightCount_txt.text = ((_local2 + " / ") + target); if (catchCount > minCatch){ catchCount = minCatch; }; fishCount_txt.text = ((catchCount + " / ") + minCatch); bubbles = new Array(); fishes = new Array(); player.init(); fightMeter.alpha = 0; isPulling = false; fightStat = ""; lineTense = 10; poleInstability = 1; poleMinReelSpeed = 2; } public function sortRecord(){ var _local1:Array; var _local2:Number; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; _local1 = record["weight"]; _local2 = 0; while (_local2 < (_local1.length - 1)) { _local3 = (_local2 + 1); while (_local3 < _local1.length) { if ((((int(_local1[_local2]) < int(_local1[_local3]))) || ((((int(_local1[_local2]) == int(_local1[_local3]))) && ((int(record["time"][_local2]) > int(record["time"][_local3]))))))){ _local4 = record["nama"][_local2]; _local5 = _local1[_local2]; _local6 = record["time"][_local2]; record["nama"][_local2] = record["nama"][_local3]; _local1[_local2] = _local1[_local3]; record["time"][_local2] = record["time"][_local3]; record["nama"][_local3] = _local4; _local1[_local3] = _local5; record["time"][_local3] = _local6; }; _local3++; }; _local2++; }; record["weight"] = new Array(); record["weight"] = _local1; } public function reinit(){ fightStat = ""; lineTense = 10; poleInstability = 1; poleMinReelSpeed = 2; fightMeter.alpha = 0; isPulling = false; } } }//package fishing_fla
Section 4
//baliSea_67 (fishing_fla.baliSea_67) package fishing_fla { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class baliSea_67 extends MovieClip { public const fishName:Array; public const seaName:String = "bali"; public const minCatch:Number = 4; public const target:Number = 700; public var backBubbleCont:MovieClip; public var popupMenu; public var record:Array; public var fightStat:String; public var qualified:Number; public var dummy:MovieClip; public var objConf:MovieClip; public var player:MovieClip; public var frontBubbleCont:MovieClip; public var isPulling:Boolean; public var putusSE:SE_putus; public var fishes:Array; public var catchCount:Number; public var menuCont:MovieClip; public var poleInstability:Number; public var resultDisp:MovieClip; public var gameStat:String; public var bubbles:Array; public var fightMeter:MovieClip; public var PoleY:Number; public var msg; public var lineTense:Number; public var poleX:Number; public var weightCount_txt:TextField; public var fishCont:MovieClip; public var poleSEchannel:SoundChannel; public var fishCount_txt:TextField; public var deepsea:MovieClip; public var poleMinReelSpeed:Number; public var baitCont:MovieClip; public function baliSea_67(){ fishName = ["Plane Snapper", "Permit", "Horse Eye Jack", "Big Eye Tuna"]; super(); addFrameScript(0, frame1); } public function finalize(){ } function frame1(){ putusSE = new SE_putus(); } public function routine(_arg1, _arg2){ var _local3:Number; var _local4:*; var _local5:Object; var _local6:Number; var _local7:Number; if (gameStat != "pause"){ if (Math.random() < 0.1){ _local4 = new Bubble(); _local4.init(deepsea.y, deepsea.height); bubbles.push(_local4); if (Math.random() < 0.5){ frontBubbleCont.addChild(bubbles[(bubbles.length - 1)]); } else { backBubbleCont.addChild(bubbles[(bubbles.length - 1)]); }; }; _local3 = 0; while (_local3 < bubbles.length) { bubbles[_local3].routine(); if (bubbles[_local3].isNoMore){ if (frontBubbleCont.contains(bubbles[_local3])){ frontBubbleCont.removeChild(bubbles[_local3]); } else { if (backBubbleCont.contains(bubbles[_local3])){ backBubbleCont.removeChild(bubbles[_local3]); }; }; bubbles.splice(_local3, 1); _local3--; }; _local3++; }; _local3 = 0; while (_local3 < fishes.length) { fishes[_local3].routine(_arg1, this); _local3++; }; if (fishes.length < 5){ if (Math.random() < 0.25){ _local5 = new Kakap3(); } else { if (Math.random() < 0.5){ _local5 = new Kuwe1(); } else { if (Math.random() < 0.75){ _local5 = new Kuwe2(); } else { _local5 = new Tuna1(); }; }; }; _local5.init(); fishes.push(_local5); fishCont.addChild(fishes[(fishes.length - 1)]); }; if (gameStat == "fight"){ if (((isPulling) && ((fightMeter.xCursor < 100)))){ fightMeter.xCursor = (fightMeter.xCursor + (poleMinReelSpeed + (Math.random() * poleInstability))); if (fightMeter.xCursor > 100){ fightMeter.xCursor = 100; }; fightMeter.updateCursor(fightMeter.xCursor); } else { if (((!(isPulling)) && ((fightMeter.xCursor > 0)))){ fightMeter.xCursor = (fightMeter.xCursor - (poleMinReelSpeed + (Math.random() * poleInstability))); if (fightMeter.xCursor < 0){ fightMeter.xCursor = 0; }; fightMeter.updateCursor(fightMeter.xCursor); }; }; if (lineTense <= 0){ if (_arg2){ poleSEchannel = putusSE.play(0, 1); }; gameStat = "loose"; msg = new Loose(); msg.x = 320; msg.y = 240; this.addChild(msg); fightMeter.alpha = 0; } else { if (lineTense >= 100){ if (_arg2){ poleSEchannel = putusSE.play(0, 1); }; gameStat = "lineBreak"; msg = new LineBreak(); msg.x = 320; msg.y = 240; this.addChild(msg); fightMeter.alpha = 0; }; }; } else { if ((((gameStat == "loose")) || ((gameStat == "lineBreak")))){ if (msg.isFinish){ trace(("before:" + numChildren)); this.removeChild(msg); trace(("before:" + numChildren)); baitCont.removeChildAt(1); baitCont.removeChildAt(1); gameStat = "toSurface"; player.routine("stand", player.facing); lineTense = 10; }; } else { if (gameStat == "catch"){ baitCont.removeChildAt(1); baitCont.removeChildAt(1); _local3 = 0; while (_local3 < fishes.length) { if (fishes[_local3].isCatched){ catchCount++; if (record["best"][fishes[_local3].nama] == null){ record["best"][fishes[_local3].nama] = fishes[_local3].weight; } else { record["best"][fishes[_local3].nama] = Math.max(fishes[_local3].weight, record["best"][fishes[_local3].nama]); }; resultDisp.init(fishes[_local3].nama, fishes[_local3].weight, fishes[_local3].timer); fishCont.removeChild(fishes[_local3]); if (record["nama"].length < 5){ record["nama"].push(fishes[_local3].nama); record["weight"].push(Math.round(fishes[_local3].weight)); record["time"].push(fishes[_local3].timer); } else { if ((((fishes[_local3].weight > record["weight"][4])) || ((((fishes[_local3].weight == record["weight"][4])) && ((fishes[_local3].timer < record["time"][4])))))){ record["nama"].pop(); record["weight"].pop(); record["time"].pop(); record["nama"].push(fishes[_local3].nama); record["weight"].push(Math.round(fishes[_local3].weight)); record["time"].push(fishes[_local3].timer); }; }; sortRecord(); _local6 = 0; _local7 = 0; while (_local7 < record["weight"].length) { _local6 = (_local6 + int(record["weight"][_local7])); if (_local6 > target){ _local6 = target; }; _local7++; }; weightCount_txt.text = ((_local6 + " / ") + target); if (catchCount > minCatch){ catchCount = minCatch; }; trace(catchCount); fishCount_txt.text = ((catchCount + " / ") + minCatch); if ((((_local6 >= target)) && ((catchCount >= minCatch)))){ record["next"] = "manado"; qualified++; }; fishes.splice(_local3, 1); break; }; _local3++; }; gameStat = "showResult"; resultDisp.alpha = 1; }; }; }; }; } public function vScroll(_arg1){ var _local2:Number; deepsea.y = (deepsea.y - _arg1); _local2 = 0; while (_local2 < bubbles.length) { bubbles[_local2].y = (bubbles[_local2].y - _arg1); _local2++; }; _local2 = 0; while (_local2 < fishes.length) { fishes[_local2].y = (fishes[_local2].y - _arg1); fishes[_local2].defY = (fishes[_local2].defY - _arg1); _local2++; }; player.y = (player.y - _arg1); } public function init(_arg1){ var _local2:Number; var _local3:Number; qualified = 0; if (_arg1 != null){ record = _arg1; if (record["weight"] == null){ record["nama"] = new Array(); record["weight"] = new Array(); record["time"] = new Array(); record["best"] = new Array(); }; } else { record = new Array(); record["nama"] = new Array(); record["weight"] = new Array(); record["time"] = new Array(); record["best"] = new Array(); record["next"] = ""; }; sortRecord(); catchCount = record["nama"].length; _local2 = 0; _local3 = 0; while (_local3 < record["weight"].length) { _local2 = (_local2 + int(record["weight"][_local3])); if (_local2 > target){ _local2 = target; }; _local3++; }; if ((((_local2 >= target)) && ((catchCount >= minCatch)))){ qualified = 2; }; weightCount_txt.text = ((_local2 + " / ") + target); if (catchCount > minCatch){ catchCount = minCatch; }; fishCount_txt.text = ((catchCount + " / ") + minCatch); bubbles = new Array(); fishes = new Array(); player.init(); fightMeter.alpha = 0; isPulling = false; fightStat = ""; lineTense = 10; poleInstability = 1; poleMinReelSpeed = 2; } public function sortRecord(){ var _local1:Array; var _local2:Number; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; _local1 = record["weight"]; _local2 = 0; while (_local2 < (_local1.length - 1)) { _local3 = (_local2 + 1); while (_local3 < _local1.length) { if ((((int(_local1[_local2]) < int(_local1[_local3]))) || ((((int(_local1[_local2]) == int(_local1[_local3]))) && ((int(record["time"][_local2]) > int(record["time"][_local3]))))))){ _local4 = record["nama"][_local2]; _local5 = _local1[_local2]; _local6 = record["time"][_local2]; record["nama"][_local2] = record["nama"][_local3]; _local1[_local2] = _local1[_local3]; record["time"][_local2] = record["time"][_local3]; record["nama"][_local3] = _local4; _local1[_local3] = _local5; record["time"][_local3] = _local6; }; _local3++; }; _local2++; }; record["weight"] = new Array(); record["weight"] = _local1; } public function reinit(){ fightStat = ""; lineTense = 10; poleInstability = 1; poleMinReelSpeed = 2; fightMeter.alpha = 0; isPulling = false; } } }//package fishing_fla
Section 5
//BG3_27 (fishing_fla.BG3_27) package fishing_fla { import flash.display.*; public dynamic class BG3_27 extends MovieClip { public function BG3_27(){ addFrameScript(48, frame49); } function frame49(){ gotoAndPlay("loop"); } } }//package fishing_fla
Section 6
//dodgeMeter_55 (fishing_fla.dodgeMeter_55) package fishing_fla { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class dodgeMeter_55 extends MovieClip { public var dodgeArea:MovieClip; public var dodgeCursor:MovieClip; public var tenseBar:MovieClip; public var masker:MovieClip; public var maxMeter:Number; public var xCursor:Number; public var xMeter:Number; public function dodgeMeter_55(){ addFrameScript(0, frame1); } public function init(_arg1, _arg2, _arg3){ maxMeter = masker.width; xMeter = masker.x; xCursor = _arg3; dodgeArea.x = (xMeter + ((_arg1 * maxMeter) / 100)); dodgeArea.width = ((_arg2 * maxMeter) / 100); dodgeCursor.x = (xMeter + ((_arg3 * maxMeter) / 100)); tenseBar.setBar(20); } public function isHit():Boolean{ var _local1:Boolean; _local1 = false; if (dodgeArea.hitTestObject(dodgeCursor)){ _local1 = true; }; return (_local1); } function frame1(){ } public function updateCursor(_arg1){ dodgeCursor.x = (xMeter + ((_arg1 * maxMeter) / 100)); } public function isLoose():Boolean{ var _local1:Boolean; _local1 = false; if (((!(dodgeArea.hitTestObject(dodgeCursor))) && ((dodgeCursor.x < dodgeArea.x)))){ _local1 = true; }; return (_local1); } public function isToMuch():Boolean{ var _local1:Boolean; _local1 = false; if (((!(dodgeArea.hitTestObject(dodgeCursor))) && ((dodgeCursor.x > dodgeArea.x)))){ _local1 = true; }; return (_local1); } public function updateArea(_arg1){ dodgeArea.x = (xMeter + ((_arg1 * maxMeter) / 100)); } } }//package fishing_fla
Section 7
//highscore_38 (fishing_fla.highscore_38) package fishing_fla { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class highscore_38 extends MovieClip { public const recOnPage:Number = 4; public var next_btn:SimpleButton; public var pointer:Number; public var prev_btn:SimpleButton; public var fish:Array; public var fishfoto:Array; public var record:Array; public var rec1:MovieClip; public var rec2:MovieClip; public var loc:Array; public var rec3:MovieClip; public var rec0:MovieClip; public var img0:MovieClip; public var img1:MovieClip; public var img2:MovieClip; public var img3:MovieClip; public function highscore_38(){ addFrameScript(0, frame1); } public function init(_arg1, _arg2, _arg3){ var _local4:Number; prev_btn.addEventListener(MouseEvent.CLICK, prevPage); next_btn.addEventListener(MouseEvent.CLICK, nextPage); record = _arg2; fish = _arg1; loc = _arg3; pointer = 0; fishfoto = new Array(4); _local4 = 0; while (_local4 < 4) { if (((!((fishfoto[_local4] == null))) && ((this[("img" + _local4)].numChildren > 0)))){ this[("img" + _local4)].removeChild(fishfoto[_local4]); }; this[("rec" + _local4)].name_txt.text = ""; this[("rec" + _local4)].weight_txt.text = ""; this[("rec" + _local4)].loc_txt.text = ""; _local4++; }; _local4 = pointer; while ((((_local4 < (pointer + recOnPage))) && ((_local4 < fish.length)))) { trace(fish[_local4]); if (record[fish[_local4]] == 0){ fishfoto[(_local4 - pointer)] = new MbohFish(); this[("img" + (_local4 - pointer))].addChild(fishfoto[(_local4 - pointer)]); this[("rec" + (_local4 - pointer))].name_txt.text = "???"; this[("rec" + (_local4 - pointer))].weight_txt.text = "??? kg"; this[("rec" + (_local4 - pointer))].loc_txt.text = "???"; } else { fishfoto[(_local4 - pointer)] = getFishFoto(fish[_local4]); this[("img" + (_local4 - pointer))].addChild(fishfoto[(_local4 - pointer)]); this[("rec" + (_local4 - pointer))].name_txt.text = fish[_local4]; this[("rec" + (_local4 - pointer))].weight_txt.text = (record[fish[_local4]] + " kg"); this[("rec" + (_local4 - pointer))].loc_txt.text = loc[fish[_local4]]; }; _local4++; }; } public function finalize(){ prev_btn.removeEventListener(MouseEvent.CLICK, prevPage); next_btn.removeEventListener(MouseEvent.CLICK, nextPage); } public function nextPage(_arg1:MouseEvent){ var _local2:Number; if ((pointer + recOnPage) < fish.length){ pointer = (pointer + recOnPage); }; _local2 = 0; while (_local2 < 4) { if (((!((fishfoto[_local2] == null))) && ((this[("img" + _local2)].numChildren > 0)))){ this[("img" + _local2)].removeChild(fishfoto[_local2]); }; this[("rec" + _local2)].name_txt.text = ""; this[("rec" + _local2)].weight_txt.text = ""; this[("rec" + _local2)].loc_txt.text = ""; _local2++; }; _local2 = pointer; while ((((_local2 < (pointer + recOnPage))) && ((_local2 < fish.length)))) { trace(fish[_local2]); if (record[fish[_local2]] == 0){ fishfoto[(_local2 - pointer)] = new MbohFish(); this[("img" + (_local2 - pointer))].addChild(fishfoto[(_local2 - pointer)]); this[("rec" + (_local2 - pointer))].name_txt.text = "???"; this[("rec" + (_local2 - pointer))].weight_txt.text = "??? kg"; this[("rec" + (_local2 - pointer))].loc_txt.text = "???"; } else { fishfoto[(_local2 - pointer)] = getFishFoto(fish[_local2]); this[("img" + (_local2 - pointer))].addChild(fishfoto[(_local2 - pointer)]); this[("rec" + (_local2 - pointer))].name_txt.text = fish[_local2]; this[("rec" + (_local2 - pointer))].weight_txt.text = (record[fish[_local2]] + " kg"); this[("rec" + (_local2 - pointer))].loc_txt.text = loc[fish[_local2]]; }; _local2++; }; } function frame1(){ } public function prevPage(_arg1:MouseEvent){ var _local2:Number; if ((pointer - recOnPage) >= 0){ pointer = (pointer - recOnPage); }; _local2 = 0; while (_local2 < 4) { if (((!((fishfoto[_local2] == null))) && ((this[("img" + _local2)].numChildren > 0)))){ this[("img" + _local2)].removeChild(fishfoto[_local2]); }; this[("rec" + _local2)].name_txt.text = ""; this[("rec" + _local2)].weight_txt.text = ""; this[("rec" + _local2)].loc_txt.text = ""; _local2++; }; _local2 = pointer; while ((((_local2 < (pointer + recOnPage))) && ((_local2 < fish.length)))) { trace(fish[_local2]); if (record[fish[_local2]] == 0){ fishfoto[(_local2 - pointer)] = new MbohFish(); this[("img" + (_local2 - pointer))].addChild(fishfoto[(_local2 - pointer)]); this[("rec" + (_local2 - pointer))].name_txt.text = "???"; this[("rec" + (_local2 - pointer))].weight_txt.text = "??? kg"; this[("rec" + (_local2 - pointer))].loc_txt.text = "???"; } else { fishfoto[(_local2 - pointer)] = getFishFoto(fish[_local2]); this[("img" + (_local2 - pointer))].addChild(fishfoto[(_local2 - pointer)]); this[("rec" + (_local2 - pointer))].name_txt.text = fish[_local2]; this[("rec" + (_local2 - pointer))].weight_txt.text = (record[fish[_local2]] + " kg"); this[("rec" + (_local2 - pointer))].loc_txt.text = loc[fish[_local2]]; }; _local2++; }; } public function getFishFoto(_arg1):Object{ var _local2:Object; if (_arg1 == "Marlin"){ _local2 = new ImgMarlin(); } else { if (_arg1 == "Red Snapper"){ _local2 = new ImgRedSnap(); } else { if (_arg1 == "Dog Snapper"){ _local2 = new ImgDogSnap(); } else { if (_arg1 == "Cooper Snapper"){ _local2 = new ImgCopSnap(); } else { if (_arg1 == "Plane Snapper"){ _local2 = new ImgPlaSnap(); } else { if (_arg1 == "Permit"){ _local2 = new ImgPermit(); } else { if (_arg1 == "Horse Eye Jack"){ _local2 = new ImgHorEyeJack(); } else { if (_arg1 == "Big Eye Tuna"){ _local2 = new ImgBigEyeTuna(); } else { if (_arg1 == "Black Fin Tuna"){ _local2 = new ImgBlackFinTuna(); } else { if (_arg1 == "Mackaro"){ _local2 = new ImgMack(); } else { if (_arg1 == "King Mackarel"){ _local2 = new ImgKingMack(); } else { if (_arg1 == "Barracuda"){ _local2 = new ImgBarra(); } else { if (_arg1 == "Unknown"){ _local2 = new ImgUnknown(); } else { _local2 = new MbohFish(); }; }; }; }; }; }; }; }; }; }; }; }; }; return (_local2); } } }//package fishing_fla
Section 8
//highscoreRecordText_42 (fishing_fla.highscoreRecordText_42) package fishing_fla { import flash.display.*; import flash.text.*; public dynamic class highscoreRecordText_42 extends MovieClip { public var weight_txt:TextField; public var name_txt:TextField; public var loc_txt:TextField; } }//package fishing_fla
Section 9
//jakartaSea_65 (fishing_fla.jakartaSea_65) package fishing_fla { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class jakartaSea_65 extends MovieClip { public const fishName:Array; public const seaName:String = "jakarta"; public const minCatch:Number = 4; public const target:Number = 200; public var backBubbleCont:MovieClip; public var popupMenu; public var record:Array; public var fightStat:String; public var qualified:Number; public var dummy:MovieClip; public var objConf:MovieClip; public var player:MovieClip; public var frontBubbleCont:MovieClip; public var isPulling:Boolean; public var putusSE:SE_putus; public var fishes:Array; public var catchCount:Number; public var menuCont:MovieClip; public var poleInstability:Number; public var resultDisp:MovieClip; public var gameStat:String; public var bubbles:Array; public var fightMeter:MovieClip; public var PoleY:Number; public var msg; public var lineTense:Number; public var poleX:Number; public var weightCount_txt:TextField; public var fishCont:MovieClip; public var poleSEchannel:SoundChannel; public var fishCount_txt:TextField; public var deepsea:MovieClip; public var poleMinReelSpeed:Number; public var baitCont:MovieClip; public function jakartaSea_65(){ fishName = ["Red Snapper", "Dog Snapper", "Plane Snapper", "Cooper Snapper"]; super(); addFrameScript(0, frame1); } public function finalize(){ } function frame1(){ putusSE = new SE_putus(); } public function routine(_arg1, _arg2){ var _local3:Number; var _local4:*; var _local5:Object; var _local6:Number; var _local7:Number; if (gameStat != "pause"){ if (Math.random() < 0.1){ _local4 = new Bubble(); _local4.init(deepsea.y, deepsea.height); bubbles.push(_local4); if (Math.random() < 0.5){ frontBubbleCont.addChild(bubbles[(bubbles.length - 1)]); } else { backBubbleCont.addChild(bubbles[(bubbles.length - 1)]); }; }; _local3 = 0; while (_local3 < bubbles.length) { bubbles[_local3].routine(); if (bubbles[_local3].isNoMore){ if (frontBubbleCont.contains(bubbles[_local3])){ frontBubbleCont.removeChild(bubbles[_local3]); } else { if (backBubbleCont.contains(bubbles[_local3])){ backBubbleCont.removeChild(bubbles[_local3]); }; }; bubbles.splice(_local3, 1); _local3--; }; _local3++; }; _local3 = 0; while (_local3 < fishes.length) { fishes[_local3].routine(_arg1, this); _local3++; }; if (fishes.length < 5){ if (Math.random() < 0.25){ _local5 = new Kakap1(); } else { if (Math.random() < 0.5){ _local5 = new Kakap2(); } else { if (Math.random() < 0.75){ _local5 = new Kakap3(); } else { _local5 = new Kakap4(); }; }; }; _local5.init(); fishes.push(_local5); fishCont.addChild(fishes[(fishes.length - 1)]); }; if (gameStat == "fight"){ if (((isPulling) && ((fightMeter.xCursor < 100)))){ fightMeter.xCursor = (fightMeter.xCursor + (poleMinReelSpeed + (Math.random() * poleInstability))); if (fightMeter.xCursor > 100){ fightMeter.xCursor = 100; }; fightMeter.updateCursor(fightMeter.xCursor); } else { if (((!(isPulling)) && ((fightMeter.xCursor > 0)))){ fightMeter.xCursor = (fightMeter.xCursor - (poleMinReelSpeed + (Math.random() * poleInstability))); if (fightMeter.xCursor < 0){ fightMeter.xCursor = 0; }; fightMeter.updateCursor(fightMeter.xCursor); }; }; if (lineTense <= 0){ if (_arg2){ poleSEchannel = putusSE.play(0, 1); }; gameStat = "loose"; msg = new Loose(); msg.x = 320; msg.y = 240; this.addChild(msg); fightMeter.alpha = 0; } else { if (lineTense >= 100){ if (_arg2){ poleSEchannel = putusSE.play(0, 1); }; gameStat = "lineBreak"; msg = new LineBreak(); msg.x = 320; msg.y = 240; this.addChild(msg); fightMeter.alpha = 0; }; }; } else { if ((((gameStat == "loose")) || ((gameStat == "lineBreak")))){ if (msg.isFinish){ trace(("before:" + numChildren)); this.removeChild(msg); trace(("before:" + numChildren)); baitCont.removeChildAt(1); baitCont.removeChildAt(1); gameStat = "toSurface"; player.routine("stand", player.facing); lineTense = 10; }; } else { if (gameStat == "catch"){ baitCont.removeChildAt(1); baitCont.removeChildAt(1); _local3 = 0; while (_local3 < fishes.length) { if (fishes[_local3].isCatched){ catchCount++; if (record["best"][fishes[_local3].nama] == null){ record["best"][fishes[_local3].nama] = fishes[_local3].weight; } else { record["best"][fishes[_local3].nama] = Math.max(fishes[_local3].weight, record["best"][fishes[_local3].nama]); }; resultDisp.init(fishes[_local3].nama, fishes[_local3].weight, fishes[_local3].timer); fishCont.removeChild(fishes[_local3]); if (record["nama"].length < 5){ record["nama"].push(fishes[_local3].nama); record["weight"].push(Math.round(fishes[_local3].weight)); record["time"].push(fishes[_local3].timer); } else { if ((((fishes[_local3].weight > record["weight"][4])) || ((((fishes[_local3].weight == record["weight"][4])) && ((fishes[_local3].timer < record["time"][4])))))){ record["nama"].pop(); record["weight"].pop(); record["time"].pop(); record["nama"].push(fishes[_local3].nama); record["weight"].push(Math.round(fishes[_local3].weight)); record["time"].push(fishes[_local3].timer); }; }; sortRecord(); _local6 = 0; _local7 = 0; while (_local7 < record["weight"].length) { _local6 = (_local6 + int(record["weight"][_local7])); if (_local6 > target){ _local6 = target; }; _local7++; }; weightCount_txt.text = ((_local6 + " / ") + target); if (catchCount > minCatch){ catchCount = minCatch; }; fishCount_txt.text = ((catchCount + " / ") + minCatch); if ((((_local6 >= target)) && ((catchCount >= minCatch)))){ record["next"] = "krakatau"; qualified++; }; fishes.splice(_local3, 1); break; }; _local3++; }; gameStat = "showResult"; resultDisp.alpha = 1; }; }; }; }; } public function vScroll(_arg1){ var _local2:Number; deepsea.y = (deepsea.y - _arg1); _local2 = 0; while (_local2 < bubbles.length) { bubbles[_local2].y = (bubbles[_local2].y - _arg1); _local2++; }; _local2 = 0; while (_local2 < fishes.length) { fishes[_local2].y = (fishes[_local2].y - _arg1); fishes[_local2].defY = (fishes[_local2].defY - _arg1); _local2++; }; player.y = (player.y - _arg1); } public function init(_arg1){ var _local2:Number; var _local3:Number; qualified = 0; if (_arg1 != null){ record = _arg1; if (record["weight"] == null){ record["nama"] = new Array(); record["weight"] = new Array(); record["time"] = new Array(); record["best"] = new Array(); }; } else { record = new Array(); record["nama"] = new Array(); record["weight"] = new Array(); record["time"] = new Array(); record["best"] = new Array(); record["next"] = ""; }; sortRecord(); catchCount = record["nama"].length; _local2 = 0; _local3 = 0; while (_local3 < record["weight"].length) { _local2 = (_local2 + int(record["weight"][_local3])); if (_local2 > target){ _local2 = target; }; _local3++; }; if ((((_local2 >= target)) && ((catchCount >= minCatch)))){ qualified = 2; }; weightCount_txt.text = ((_local2 + " / ") + target); if (catchCount > minCatch){ catchCount = minCatch; }; fishCount_txt.text = ((catchCount + " / ") + minCatch); bubbles = new Array(); fishes = new Array(); player.init(); fightMeter.alpha = 0; isPulling = false; fightStat = ""; lineTense = 10; poleInstability = 1; poleMinReelSpeed = 2; } public function sortRecord(){ var _local1:Array; var _local2:Number; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; _local1 = record["weight"]; _local2 = 0; while (_local2 < (_local1.length - 1)) { _local3 = (_local2 + 1); while (_local3 < _local1.length) { if ((((int(_local1[_local2]) < int(_local1[_local3]))) || ((((int(_local1[_local2]) == int(_local1[_local3]))) && ((int(record["time"][_local2]) > int(record["time"][_local3]))))))){ _local4 = record["nama"][_local2]; _local5 = _local1[_local2]; _local6 = record["time"][_local2]; record["nama"][_local2] = record["nama"][_local3]; _local1[_local2] = _local1[_local3]; record["time"][_local2] = record["time"][_local3]; record["nama"][_local3] = _local4; _local1[_local3] = _local5; record["time"][_local3] = _local6; }; _local3++; }; _local2++; }; record["weight"] = new Array(); record["weight"] = _local1; } public function reinit(){ fightStat = ""; lineTense = 10; poleInstability = 1; poleMinReelSpeed = 2; fightMeter.alpha = 0; isPulling = false; } } }//package fishing_fla
Section 10
//krakatauSea_44 (fishing_fla.krakatauSea_44) package fishing_fla { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class krakatauSea_44 extends MovieClip { public const fishName:Array; public const seaName:String = "krakatau"; public const minCatch:Number = 4; public const target:Number = 300; public var backBubbleCont:MovieClip; public var popupMenu; public var record:Array; public var fightStat:String; public var qualified:Number; public var dummy:MovieClip; public var objConf:MovieClip; public var player:MovieClip; public var frontBubbleCont:MovieClip; public var isPulling:Boolean; public var putusSE:SE_putus; public var fishes:Array; public var catchCount:Number; public var menuCont:MovieClip; public var poleInstability:Number; public var resultDisp:MovieClip; public var gameStat:String; public var bubbles:Array; public var fightMeter:MovieClip; public var PoleY:Number; public var msg; public var lineTense:Number; public var poleX:Number; public var weightCount_txt:TextField; public var fishCont:MovieClip; public var poleSEchannel:SoundChannel; public var fishCount_txt:TextField; public var deepsea:MovieClip; public var poleMinReelSpeed:Number; public var baitCont:MovieClip; public function krakatauSea_44(){ fishName = ["Red Snapper", "Dog Snapper", "Plane Snapper", "Cooper Snapper", "Permit", "Horse Eye Jack"]; super(); addFrameScript(0, frame1); } public function finalize(){ } function frame1(){ putusSE = new SE_putus(); } public function routine(_arg1, _arg2){ var _local3:Number; var _local4:*; var _local5:Object; var _local6:Number; var _local7:Number; var _local8:Number; if (gameStat != "pause"){ if (Math.random() < 0.1){ _local4 = new Bubble(); _local4.init(deepsea.y, deepsea.height); bubbles.push(_local4); if (Math.random() < 0.5){ frontBubbleCont.addChild(bubbles[(bubbles.length - 1)]); } else { backBubbleCont.addChild(bubbles[(bubbles.length - 1)]); }; }; _local3 = 0; while (_local3 < bubbles.length) { bubbles[_local3].routine(); if (bubbles[_local3].isNoMore){ if (frontBubbleCont.contains(bubbles[_local3])){ frontBubbleCont.removeChild(bubbles[_local3]); } else { if (backBubbleCont.contains(bubbles[_local3])){ backBubbleCont.removeChild(bubbles[_local3]); }; }; bubbles.splice(_local3, 1); _local3--; }; _local3++; }; _local3 = 0; while (_local3 < fishes.length) { fishes[_local3].routine(_arg1, this); _local3++; }; if (fishes.length < 5){ if (Math.random() < 0.125){ _local5 = new Kakap1(); } else { if (Math.random() < 0.25){ _local5 = new Kakap2(); } else { if (Math.random() < 0.375){ _local5 = new Kakap3(); } else { if (Math.random() < 0.5){ _local5 = new Kakap4(); } else { if (Math.random() < 0.75){ _local5 = new Kuwe1(); } else { _local5 = new Kuwe2(); }; }; }; }; }; _local5.init(); fishes.push(_local5); fishCont.addChild(fishes[(fishes.length - 1)]); }; if (gameStat == "fight"){ if (((isPulling) && ((fightMeter.xCursor < 100)))){ fightMeter.xCursor = (fightMeter.xCursor + (poleMinReelSpeed + (Math.random() * poleInstability))); if (fightMeter.xCursor > 100){ fightMeter.xCursor = 100; }; fightMeter.updateCursor(fightMeter.xCursor); } else { if (((!(isPulling)) && ((fightMeter.xCursor > 0)))){ fightMeter.xCursor = (fightMeter.xCursor - (poleMinReelSpeed + (Math.random() * poleInstability))); if (fightMeter.xCursor < 0){ fightMeter.xCursor = 0; }; fightMeter.updateCursor(fightMeter.xCursor); }; }; if (lineTense <= 0){ if (_arg2){ poleSEchannel = putusSE.play(0, 1); }; gameStat = "loose"; msg = new Loose(); msg.x = 320; msg.y = 240; this.addChild(msg); fightMeter.alpha = 0; } else { if (lineTense >= 100){ if (_arg2){ poleSEchannel = putusSE.play(0, 1); }; gameStat = "lineBreak"; msg = new LineBreak(); msg.x = 320; msg.y = 240; this.addChild(msg); fightMeter.alpha = 0; }; }; } else { if ((((gameStat == "loose")) || ((gameStat == "lineBreak")))){ if (msg.isFinish){ trace(("before:" + numChildren)); this.removeChild(msg); trace(("before:" + numChildren)); baitCont.removeChildAt(1); baitCont.removeChildAt(1); gameStat = "toSurface"; player.routine("stand", player.facing); lineTense = 10; }; } else { if (gameStat == "catch"){ baitCont.removeChildAt(1); baitCont.removeChildAt(1); _local3 = 0; while (_local3 < fishes.length) { if (fishes[_local3].isCatched){ catchCount++; if (record["best"][fishes[_local3].nama] == null){ record["best"][fishes[_local3].nama] = fishes[_local3].weight; } else { record["best"][fishes[_local3].nama] = Math.max(fishes[_local3].weight, record["best"][fishes[_local3].nama]); }; resultDisp.init(fishes[_local3].nama, fishes[_local3].weight, fishes[_local3].timer); fishCont.removeChild(fishes[_local3]); if (record["nama"].length < 5){ record["nama"].push(fishes[_local3].nama); record["weight"].push(Math.round(fishes[_local3].weight)); record["time"].push(fishes[_local3].timer); } else { if ((((fishes[_local3].weight > record["weight"][4])) || ((((fishes[_local3].weight == record["weight"][4])) && ((fishes[_local3].timer < record["time"][4])))))){ record["nama"].pop(); record["weight"].pop(); record["time"].pop(); record["nama"].push(fishes[_local3].nama); record["weight"].push(Math.round(fishes[_local3].weight)); record["time"].push(fishes[_local3].timer); }; }; sortRecord(); _local6 = 0; _local7 = 0; while (_local7 < record["weight"].length) { _local8 = _local6; _local6 = (_local6 + int(record["weight"][_local7])); trace(((((((_local7 + ":") + _local8) + "+") + record["weight"][_local7]) + "=") + _local6)); if (_local6 > target){ _local6 = target; }; _local7++; }; weightCount_txt.text = ((_local6 + " / ") + target); if (catchCount > minCatch){ catchCount = minCatch; }; fishCount_txt.text = ((catchCount + " / ") + minCatch); if ((((_local6 >= target)) && ((catchCount >= minCatch)))){ record["next"] = "bali"; qualified++; }; fishes.splice(_local3, 1); break; }; _local3++; }; gameStat = "showResult"; resultDisp.alpha = 1; }; }; }; }; } public function vScroll(_arg1){ var _local2:Number; deepsea.y = (deepsea.y - _arg1); _local2 = 0; while (_local2 < bubbles.length) { bubbles[_local2].y = (bubbles[_local2].y - _arg1); _local2++; }; _local2 = 0; while (_local2 < fishes.length) { fishes[_local2].y = (fishes[_local2].y - _arg1); fishes[_local2].defY = (fishes[_local2].defY - _arg1); _local2++; }; player.y = (player.y - _arg1); } public function init(_arg1){ var _local2:Number; var _local3:Number; qualified = 0; if (_arg1 != null){ record = _arg1; if (record["weight"] == null){ record["nama"] = new Array(); record["weight"] = new Array(); record["time"] = new Array(); record["best"] = new Array(); }; } else { record = new Array(); record["nama"] = new Array(); record["weight"] = new Array(); record["time"] = new Array(); record["best"] = new Array(); record["next"] = ""; }; sortRecord(); catchCount = record["nama"].length; _local2 = 0; _local3 = 0; while (_local3 < record["weight"].length) { _local2 = (_local2 + int(record["weight"][_local3])); if (_local2 > target){ _local2 = target; }; _local3++; }; if ((((_local2 >= target)) && ((catchCount >= minCatch)))){ qualified = 2; }; weightCount_txt.text = ((_local2 + " / ") + target); if (catchCount > minCatch){ catchCount = minCatch; }; fishCount_txt.text = ((catchCount + " / ") + minCatch); bubbles = new Array(); fishes = new Array(); player.init(); fightMeter.alpha = 0; isPulling = false; fightStat = ""; lineTense = 10; poleInstability = 1; poleMinReelSpeed = 2; } public function sortRecord(){ var _local1:Array; var _local2:Number; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; _local1 = record["weight"]; _local2 = 0; while (_local2 < (_local1.length - 1)) { _local3 = (_local2 + 1); while (_local3 < _local1.length) { if ((((int(_local1[_local2]) < int(_local1[_local3]))) || ((((int(_local1[_local2]) == int(_local1[_local3]))) && ((int(record["time"][_local2]) > int(record["time"][_local3]))))))){ _local4 = record["nama"][_local2]; _local5 = _local1[_local2]; _local6 = record["time"][_local2]; record["nama"][_local2] = record["nama"][_local3]; _local1[_local2] = _local1[_local3]; record["time"][_local2] = record["time"][_local3]; record["nama"][_local3] = _local4; _local1[_local3] = _local5; record["time"][_local3] = _local6; }; _local3++; }; _local2++; }; record["weight"] = new Array(); record["weight"] = _local1; } public function reinit(){ fightStat = ""; lineTense = 10; poleInstability = 1; poleMinReelSpeed = 2; fightMeter.alpha = 0; isPulling = false; } } }//package fishing_fla
Section 11
//MainTimeline (fishing_fla.MainTimeline) package fishing_fla { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public const fish:Array; public const maxBubble:Number = 100; public const secretX:Array; public const secretY:Array; public const railSpeed:Number = 5; public var baitType:String; public var credit_btn:SimpleButton; public var musicStat:TextField; public var high_btn:SimpleButton; public var bubbleFinish:Number; public var on2_btn:SimpleButton; public var help_btn:SimpleButton; public var sea:MovieClip; public var Teaser:MovieClip; public var bar1:MovieClip; public var cookies:SharedObject; public var jakarta:ShineDotBtn; public var agButton_btn:SimpleButton; public var BGM:Array; public var secret; public var off2_btn:SimpleButton; public var statBuff:String; public var on1_btn:SimpleButton; public var opt_btn:SimpleButton; public var play_btn:SimpleButton; public var gameRecord:Array; public var krakatau:ShineDotBtn; public var BGMstat:String; public var back_btn:SimpleButton; public var HS:MovieClip; public var next_btn:SimpleButton; public var manado:ShineDotBtn; public var BGMindex:Number; public var redeem_btn:SimpleButton; public var off1_btn:SimpleButton; public var bubbleArray:Array; public var blackScreen:MovieClip; public var BGMchannel:SoundChannel; public var gameStat:String; public var papua:ShineDotBtn; public var percent_txt:TextField; public var effectStat:TextField; public var menuOut:String; public var SEstat:String; public var bait:Object; public var strike:Strike; public var difficulty:String; public var ret_btn:SimpleButton; public var AGskip_btn:SimpleButton; public var nylonString:Object; public var bubbleSE:SE_bubble; public var bubbleCount:Number; public var bubbleCont:MovieClip; public var btnClickSE:clickSE; public var bali:ShineDotBtn; public function MainTimeline(){ fish = ["Red Snapper", "Dog Snapper", "Plane Snapper", "Cooper Snapper", "Permit", "Horse Eye Jack", "Big Eye Tuna", "Black Fin Tuna", "Mackaro", "King Mackarel", "Marlin", "Barracuda", "Unknown"]; secretX = [340, 180, 75, 220, 520]; secretY = [190, 200, 240, 330, 200]; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 8, frame9, 21, frame22, 48, frame49, 60, frame61, 65, frame66, 70, frame71, 75, frame76, 80, frame81, 81, frame82, 82, frame83, 98, frame99, 99, frame100, 115, frame116, 116, frame117, 132, frame133, 133, frame134, 149, frame150, 150, frame151, 166, frame167, 167, frame168, 243, frame244); } function frame151(){ stop(); initGame(); } public function off1Click(_arg1:MouseEvent){ var _local2:SoundChannel; BGMstat = "off"; musicStat.text = BGMstat; if (BGMchannel != null){ BGMchannel.stop(); BGMchannel = null; }; if (SEstat == "on"){ _local2 = btnClickSE.play(0, 1); }; } function frame150(){ stop(); next_btn.addEventListener(MouseEvent.CLICK, next_click); } function frame167(){ stop(); next_btn.addEventListener(MouseEvent.CLICK, next_click); } function frame168(){ stop(); initGame(); } public function initCredit(){ stop(); ret_btn.addEventListener(MouseEvent.CLICK, creditToMenu); } public function initLocSel(){ var _local1:Number; stop(); if ((((BGMstat == "on")) && ((BGMchannel == null)))){ BGMchannel = BGM[0].play(); }; jakarta.btn.addEventListener(MouseEvent.CLICK, toJakarta); krakatau.btn.addEventListener(MouseEvent.CLICK, toKrakatau); bali.btn.addEventListener(MouseEvent.CLICK, toBali); manado.btn.addEventListener(MouseEvent.CLICK, toManado); papua.btn.addEventListener(MouseEvent.CLICK, toPapua); jakarta.shine.alpha = 1; if (gameRecord["jakarta"]["next"] == "krakatau"){ krakatau.shine.alpha = 1; krakatau.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0, 0, 0); } else { krakatau.shine.alpha = 0; krakatau.transform.colorTransform = new ColorTransform(0, 0, 0, 1, 128, 128, 128); }; if (gameRecord["krakatau"]["next"] == "bali"){ bali.shine.alpha = 1; bali.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0, 0, 0); } else { bali.shine.alpha = 0; bali.transform.colorTransform = new ColorTransform(0, 0, 0, 1, 128, 128, 128); }; if (gameRecord["bali"]["next"] == "manado"){ manado.shine.alpha = 1; manado.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0, 0, 0); } else { manado.shine.alpha = 0; manado.transform.colorTransform = new ColorTransform(0, 0, 0, 1, 128, 128, 128); }; if (gameRecord["manado"]["next"] == "papua"){ papua.shine.alpha = 1; papua.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0, 0, 0); } else { papua.shine.alpha = 0; papua.transform.colorTransform = new ColorTransform(0, 0, 0, 1, 128, 128, 128); }; if (gameRecord["papua"]["next"] == "secret spot"){ secret = new ShineDotBtn(); _local1 = Math.round((Math.random() * 4)); secret.x = 160; secret.y = 90; secret.shine.alpha = 1; secret.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0, 0, 0); this.addChild(secret); secret.btn.addEventListener(MouseEvent.CLICK, toSecret); }; } public function finalizeOption(){ musicStat.text = BGMstat; effectStat.text = SEstat; on1_btn.removeEventListener(MouseEvent.CLICK, on1Click); off1_btn.removeEventListener(MouseEvent.CLICK, off1Click); on2_btn.removeEventListener(MouseEvent.CLICK, on2Click); off2_btn.removeEventListener(MouseEvent.CLICK, off2Click); back_btn.removeEventListener(MouseEvent.CLICK, optToMainMenu); } public function updateLoader(_arg1:ProgressEvent):void{ var _local2:Number; _local2 = Math.floor(((_arg1.bytesLoaded * 100) / _arg1.bytesTotal)); bar1.updateBar((_local2 / 100)); percent_txt.text = String(_local2); if (_arg1.bytesLoaded >= _arg1.bytesTotal){ gotoAndPlay("AGTeaserMC"); }; } public function gotoCredit(_arg1:MouseEvent){ var _local2:SoundChannel; var _local3:SoundChannel; finalizeMenu(); menuOut = "credit"; setChildIndex(blackScreen, (numChildren - 1)); setChildIndex(bubbleCont, (numChildren - 1)); if (SEstat == "on"){ _local2 = btnClickSE.play(0, 1); }; Mouse.hide(); addEventListener("enterFrame", createBubble); if (SEstat == "on"){ _local3 = bubbleSE.play(0, 1); }; } function frame3(){ SEstat = "on"; BGMstat = "on"; btnClickSE = new clickSE(); bubbleSE = new SE_bubble(); BGM = new Array(); BGM.push(new BGMintro()); BGM.push(new Pantai1()); BGM.push(new Pantai2()); BGM.push(new StrikeBGM()); difficulty = "normal"; gameStat = ""; statBuff = ""; baitType = "squid"; cookies = SharedObject.getLocal("fishMeUp"); loadLocalData(); } function frame1(){ stop(); loaderInfo.addEventListener(ProgressEvent.PROGRESS, updateLoader); addEventListener("enterFrame", checkPiracy); stage.showDefaultContextMenu = false; } function frame22(){ } public function initHelp(){ stop(); ret_btn.addEventListener(MouseEvent.CLICK, helpToMenu); } function frame9(){ } function frame2(){ stop(); AGskip_btn.addEventListener(MouseEvent.CLICK, done1); } public function on1Click(_arg1:MouseEvent){ var _local2:SoundChannel; if (BGMstat == "off"){ BGMchannel = BGM[0].play(0, 999); }; BGMstat = "on"; musicStat.text = BGMstat; if (SEstat == "on"){ _local2 = btnClickSE.play(0, 1); }; } public function finalizeHelp(){ ret_btn.removeEventListener(MouseEvent.CLICK, helpToMenu); } public function gameKeyUp(_arg1:KeyboardEvent){ if (sea.player.action == "move"){ sea.player.routine("stand", sea.player.facing); }; if (sea.gameStat == "normalRail"){ bait.routine("idle"); }; if (sea.isPulling){ sea.isPulling = false; }; } public function toKrakatau(_arg1:MouseEvent){ if (gameRecord["jakarta"]["next"] == "krakatau"){ finalizeLocSel(); gotoAndStop("prekrakatau"); }; } public function finalizeMenu(){ play_btn.removeEventListener(MouseEvent.CLICK, playGame); opt_btn.removeEventListener(MouseEvent.CLICK, gotoOption); help_btn.removeEventListener(MouseEvent.CLICK, gotoHelp); credit_btn.removeEventListener(MouseEvent.CLICK, gotoCredit); high_btn.removeEventListener(MouseEvent.CLICK, gotoHigh); agButton_btn.removeEventListener(MouseEvent.MOUSE_DOWN, goToAG); } public function off2Click(_arg1:MouseEvent){ var _local2:SoundChannel; SEstat = "off"; effectStat.text = SEstat; if (SEstat == "on"){ _local2 = btnClickSE.play(0, 1); }; } public function createBubble(_arg1:Event){ var _local2:Number; var _local3:BigBubble; trace(((bubbleCount + "-") + bubbleFinish)); if ((((bubbleCount < maxBubble)) && ((Math.random() < 0.8)))){ _local2 = 0; while (_local2 < 2) { _local3 = new BigBubble(); _local3.init(); bubbleArray.push(_local3); bubbleCont.addChild(bubbleArray[(bubbleArray.length - 1)]); bubbleCount++; _local2++; }; }; blackScreen.alpha = (bubbleCount / maxBubble); _local2 = 0; while (_local2 < bubbleArray.length) { if (bubbleArray[_local2].isFinish){ bubbleFinish++; bubbleCont.removeChild(bubbleArray[_local2]); bubbleArray.splice(_local2, 1); _local2--; }; _local2++; }; if (bubbleFinish == maxBubble){ Mouse.show(); removeEventListener("enterFrame", createBubble); gotoAndPlay(menuOut); }; } public function initMenu(){ stop(); menuOut = ""; bubbleCount = 0; bubbleFinish = 0; blackScreen.alpha = 0; bubbleArray = new Array(); agButton_btn.addEventListener(MouseEvent.MOUSE_DOWN, goToAG); play_btn.addEventListener(MouseEvent.CLICK, playGame); opt_btn.addEventListener(MouseEvent.CLICK, gotoOption); help_btn.addEventListener(MouseEvent.CLICK, gotoHelp); credit_btn.addEventListener(MouseEvent.CLICK, gotoCredit); high_btn.addEventListener(MouseEvent.CLICK, gotoHigh); if ((((BGMstat == "on")) && ((BGMchannel == null)))){ BGMchannel = BGM[0].play(0, 1000); }; } public function finalizeLocSel(){ if (gameRecord["papua"]["next"] == "secret spot"){ this.removeChild(secret); secret.btn.removeEventListener(MouseEvent.CLICK, toSecret); }; jakarta.btn.removeEventListener(MouseEvent.CLICK, toJakarta); krakatau.btn.removeEventListener(MouseEvent.CLICK, toKrakatau); bali.btn.removeEventListener(MouseEvent.CLICK, toBali); manado.btn.removeEventListener(MouseEvent.CLICK, toManado); papua.btn.removeEventListener(MouseEvent.CLICK, toPapua); if (BGMchannel != null){ BGMchannel.stop(); BGMchannel = null; }; } function frame49(){ initMenu(); } public function finalizeCredit(){ ret_btn.removeEventListener(MouseEvent.CLICK, creditToMenu); } public function creditToMenu(_arg1:MouseEvent){ var _local2:SoundChannel; if (SEstat == "on"){ _local2 = btnClickSE.play(0, 1); }; finalizeCredit(); gotoAndStop("main menu"); } function frame61(){ initOption(); } public function goToAG(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.addictinggames.com"); navigateToURL(_local2); } function frame66(){ initCredit(); } public function done1(_arg1:Event){ Teaser.timer.stop(); gotoAndPlay("global variable and property"); } public function initHighscore(){ stop(); HS.init(fish, gameRecord["best"], gameRecord["bestLoc"]); ret_btn.addEventListener(MouseEvent.CLICK, highToMainMenu); } public function redeemClicked(_arg1:MouseEvent){ var _local2:URLRequest; _local2 = new URLRequest("http://www.flashgamelicense.com"); navigateToURL(_local2); } function frame71(){ initHelp(); } function frame76(){ initLocSel(); } public function on2Click(_arg1:MouseEvent){ var _local2:SoundChannel; SEstat = "on"; effectStat.text = SEstat; if (SEstat == "on"){ _local2 = btnClickSE.play(0, 1); }; } public function toSecret(_arg1:MouseEvent){ finalizeLocSel(); gotoAndStop("presecret spot"); } public function helpToMenu(_arg1:MouseEvent){ var _local2:SoundChannel; if (SEstat == "on"){ _local2 = btnClickSE.play(0, 1); }; finalizeHelp(); gotoAndStop("main menu"); } public function initGame(){ sea.init(gameRecord[sea.seaName]); addEventListener("enterFrame", mainLoop); addEventListener(KeyboardEvent.KEY_DOWN, gameKeyDown); addEventListener(KeyboardEvent.KEY_UP, gameKeyUp); addEventListener(MouseEvent.CLICK, gameMouseClick); sea.gameStat = "start"; BGMindex = (Math.round(Math.random()) + 1); if (BGMstat == "on"){ BGMchannel = BGM[BGMindex].play(0, 1000); }; } public function toBali(_arg1:MouseEvent){ if (gameRecord["krakatau"]["next"] == "bali"){ finalizeLocSel(); gotoAndStop("prebali"); }; } function frame82(){ stop(); next_btn.addEventListener(MouseEvent.CLICK, next_click); } function frame83(){ stop(); initGame(); } public function finalizeGame(){ var _local1:Number; var _local2:Number; if (((!((BGMchannel == null))) && ((BGMstat == "on")))){ BGMchannel.stop(); BGMchannel = null; }; removeEventListener("enterFrame", mainLoop); removeEventListener(KeyboardEvent.KEY_DOWN, gameKeyDown); removeEventListener(KeyboardEvent.KEY_UP, gameKeyUp); removeEventListener(MouseEvent.CLICK, gameMouseClick); gameRecord[sea.seaName] = sea.record; _local1 = 0; while (_local1 < sea.fishName.length) { _local2 = gameRecord["best"][sea.fishName[_local1]]; if (sea.record["best"][sea.fishName[_local1]] == null){ sea.record["best"][sea.fishName[_local1]] = 0; }; gameRecord["best"][sea.fishName[_local1]] = Math.max(_local2, Math.round(sea.record["best"][sea.fishName[_local1]])); if (_local2 != gameRecord["best"][sea.fishName[_local1]]){ gameRecord["bestLoc"][sea.fishName[_local1]] = sea.seaName; }; _local1++; }; cookies.data.gameRecord = gameRecord; sea.finalize(); } function frame81(){ initHighscore(); trace("masuk highscore"); } public function next_click(_arg1:MouseEvent){ next_btn.removeEventListener(MouseEvent.CLICK, next_click); play(); } public function gotoHelp(_arg1:MouseEvent){ var _local2:SoundChannel; var _local3:SoundChannel; finalizeMenu(); menuOut = "help"; setChildIndex(blackScreen, (numChildren - 1)); setChildIndex(bubbleCont, (numChildren - 1)); if (SEstat == "on"){ _local2 = btnClickSE.play(0, 1); }; Mouse.hide(); addEventListener("enterFrame", createBubble); if (SEstat == "on"){ _local3 = bubbleSE.play(0, 1); }; } public function cekMenu(_arg1:Event){ if (sea.popupMenu.isFinish){ sea.menuCont.removeChild(sea.popupMenu); removeEventListener("enterFrame", cekMenu); addEventListener(KeyboardEvent.KEY_DOWN, gameKeyDown); addEventListener(KeyboardEvent.KEY_UP, gameKeyUp); addEventListener(MouseEvent.CLICK, gameMouseClick); addEventListener("enterFrame", mainLoop); stage.focus = this; if (sea.popupMenu.action == "exit"){ finalizeGame(); gotoAndStop("main menu"); } else { if (sea.popupMenu.action == "changeLoc"){ finalizeGame(); gotoAndPlay("locSel"); }; }; }; } public function playGame(_arg1:MouseEvent){ var _local2:SoundChannel; var _local3:SoundChannel; finalizeMenu(); menuOut = "locSel"; setChildIndex(blackScreen, (numChildren - 1)); setChildIndex(bubbleCont, (numChildren - 1)); if (SEstat == "on"){ _local2 = btnClickSE.play(0, 1); }; Mouse.hide(); addEventListener("enterFrame", createBubble); if (SEstat == "on"){ _local3 = bubbleSE.play(0, 1); }; } public function gameKeyDown(_arg1:KeyboardEvent){ var _local2:Number; switch (_arg1.keyCode){ case Keyboard.LEFT: if ((((sea.gameStat == "start")) && (((sea.player.x - (sea.player.width / 2)) > -20)))){ sea.player.x = (sea.player.x - sea.player.boatspeed); sea.player.routine("move", "Left"); }; break; case Keyboard.RIGHT: if ((((sea.gameStat == "start")) && (((sea.player.x + (sea.player.width / 2)) < 660)))){ sea.player.x = (sea.player.x + sea.player.boatspeed); sea.player.routine("move", "Right"); }; break; case Keyboard.UP: if (sea.gameStat == "normalRail"){ if (sea.deepsea.y < 100){ if (bait.y > 150){ bait.y = (bait.y - railSpeed); bait.routine("up"); } else { sea.vScroll(-(railSpeed)); sea.poleY = (sea.poleY + railSpeed); bait.routine("up"); }; }; } else { if (sea.gameStat == "fight"){ sea.isPulling = true; }; }; break; case Keyboard.DOWN: if (sea.gameStat == "normalRail"){ if (sea.deepsea.y > -380){ sea.vScroll(railSpeed); sea.poleY = (sea.poleY - railSpeed); bait.routine("down"); } else { if (bait.y < 400){ bait.y = (bait.y + railSpeed); nylonString.y = bait.y; bait.routine("down"); }; }; }; break; case Keyboard.SPACE: if (sea.gameStat == "start"){ if (baitType == "squid"){ sea.player.routine("cast1", sea.player.facing); }; sea.gameStat = "cast"; }; if (sea.gameStat == "normalRail"){ sea.baitCont.removeChild(bait); sea.baitCont.removeChild(nylonString); sea.gameStat = "toSurface"; sea.player.routine("stand", sea.player.facing); _local2 = 0; while (_local2 < sea.fishes.length) { if ((((sea.fishes[_local2].action == "fight")) || ((sea.fishes[_local2].action == "up")))){ sea.fishes[_local2].adjustImage("swim", sea.fishes[_local2].facing); }; _local2++; }; }; if (sea.gameStat == "showResult"){ sea.reinit(); sea.player.routine("stand", sea.player.facing); sea.gameStat = "start"; sea.resultDisp.alpha = 0; if (BGMstat == "on"){ if (BGMchannel != null){ BGMchannel.stop(); }; BGMchannel = BGM[BGMindex].play(0, 1000); }; if (sea.qualified == 1){ sea.objConf.alpha = 1; sea.gameStat = "confirm"; sea.objConf.init(); }; }; break; case Keyboard.ESCAPE: if (sea.gameStat != "cast"){ removeEventListener("enterFrame", mainLoop); removeEventListener(KeyboardEvent.KEY_DOWN, gameKeyDown); removeEventListener(KeyboardEvent.KEY_UP, gameKeyUp); removeEventListener(MouseEvent.CLICK, gameMouseClick); sea.popupMenu = new MenuCont(); sea.menuCont.addChild(sea.popupMenu); sea.popupMenu.setData(sea.record); addEventListener("enterFrame", cekMenu); }; break; }; } function frame99(){ stop(); next_btn.addEventListener(MouseEvent.CLICK, next_click); } public function optToMainMenu(_arg1:MouseEvent){ var _local2:SoundChannel; if (SEstat == "on"){ _local2 = btnClickSE.play(0, 1); }; finalizeOption(); gotoAndStop("main menu"); } public function loadLocalData(){ var _local1:Number; if (cookies.size != 0){ gameRecord = cookies.data.gameRecord; } else { gameRecord = new Array(); gameRecord["jakarta"] = new Array(); gameRecord["krakatau"] = new Array(); gameRecord["bali"] = new Array(); gameRecord["manado"] = new Array(); gameRecord["papua"] = new Array(); gameRecord["best"] = new Array(); gameRecord["bestLoc"] = new Array(); _local1 = 0; while (_local1 < fish.length) { gameRecord["best"][fish[_local1]] = 0; gameRecord["bestLoc"][fish[_local1]] = ""; _local1++; }; gameRecord["jakarta"]["next"] = ""; gameRecord["krakatau"]["next"] = ""; gameRecord["bali"]["next"] = ""; gameRecord["manado"]["next"] = ""; gameRecord["papua"]["next"] = ""; }; } function frame100(){ stop(); initGame(); } public function gameMouseClick(_arg1:MouseEvent){ stage.focus = this; } public function toJakarta(_arg1:MouseEvent){ finalizeLocSel(); gotoAndStop("prejakarta"); } function frame116(){ stop(); next_btn.addEventListener(MouseEvent.CLICK, next_click); } function frame117(){ stop(); initGame(); } public function toManado(_arg1:MouseEvent){ if (gameRecord["bali"]["next"] == "manado"){ finalizeLocSel(); gotoAndStop("premanado"); }; } public function checkPiracy(_arg1:Event){ var _local2:Number; var _local3:Number; var _local4:String; var _local5:Number; var _local6:Number; _local2 = (loaderInfo.url.indexOf("://") + 3); _local3 = loaderInfo.url.indexOf("/", _local2); _local4 = loaderInfo.url.substring(_local2, _local3); _local5 = (_local4.lastIndexOf(".") - 1); _local6 = (_local4.lastIndexOf(".", _local5) + 1); _local4 = _local4.substring(_local6, _local4.length); } public function highToMainMenu(_arg1:MouseEvent){ var _local2:SoundChannel; if (SEstat == "on"){ _local2 = btnClickSE.play(0, 1); }; finalizeHighscore(); gotoAndStop("main menu"); } public function gotoHigh(_arg1:MouseEvent){ var _local2:SoundChannel; var _local3:SoundChannel; finalizeMenu(); menuOut = "highscore"; setChildIndex(blackScreen, (numChildren - 1)); setChildIndex(bubbleCont, (numChildren - 1)); if (SEstat == "on"){ _local2 = btnClickSE.play(0, 1); }; Mouse.hide(); addEventListener("enterFrame", createBubble); if (SEstat == "on"){ _local3 = bubbleSE.play(0, 1); }; } public function initOption(){ stop(); musicStat.text = BGMstat; effectStat.text = SEstat; on1_btn.addEventListener(MouseEvent.CLICK, on1Click); off1_btn.addEventListener(MouseEvent.CLICK, off1Click); on2_btn.addEventListener(MouseEvent.CLICK, on2Click); off2_btn.addEventListener(MouseEvent.CLICK, off2Click); back_btn.addEventListener(MouseEvent.CLICK, optToMainMenu); } public function toPapua(_arg1:MouseEvent){ if (gameRecord["manado"]["next"] == "papua"){ finalizeLocSel(); gotoAndStop("prepapua"); }; } public function finalizeHighscore(){ HS.finalize(); ret_btn.removeEventListener(MouseEvent.CLICK, highToMainMenu); } function frame244(){ redeem_btn.addEventListener(MouseEvent.CLICK, redeemClicked); } function frame134(){ stop(); initGame(); } public function gotoOption(_arg1:MouseEvent){ var _local2:SoundChannel; var _local3:SoundChannel; finalizeMenu(); menuOut = "option"; setChildIndex(blackScreen, (numChildren - 1)); setChildIndex(bubbleCont, (numChildren - 1)); if (SEstat == "on"){ _local2 = btnClickSE.play(0, 1); }; Mouse.hide(); addEventListener("enterFrame", createBubble); if (SEstat == "on"){ _local3 = bubbleSE.play(0, 1); }; } function frame133(){ stop(); next_btn.addEventListener(MouseEvent.CLICK, next_click); } public function waitForStrike(_arg1:Event){ if (strike.isFinish){ this.removeChild(strike); sea.gameStat = "fight"; removeEventListener("enterFrame", waitForStrike); addEventListener("enterFrame", mainLoop); }; } public function mainLoop(_arg1:Event){ var _local2:String; var _local3:Boolean; var _local4:Number; var _local5:Number; _local2 = sea.gameStat; if (SEstat == "on"){ _local3 = true; } else { _local3 = false; }; sea.routine(bait, _local3); if (bait != null){ bait.updateLine(nylonString, sea.poleX, sea.poleY); }; if (sea.gameStat == "cast"){ if (((!((sea.player.fisherman == null))) && (sea.player.fisherman.isFinish))){ nylonString = new NylonString(); sea.baitCont.addChild(nylonString); sea.player.routine("fishing", sea.player.facing); if (baitType == "squid"){ bait = new SquidBait(); bait.init((sea.player.x + (sea.player.facingDec * sea.player.xBait)), 150); sea.baitCont.addChild(bait); }; nylonString.x = bait.x; nylonString.y = bait.y; sea.poleX = (sea.player.x + (sea.player.poleX[0] * sea.player.facingDec)); sea.poleY = (sea.player.y + sea.player.poleY[0]); _local4 = Math.atan(((sea.poleY - nylonString.y) / (sea.poleX - nylonString.x))); if (sea.poleX < nylonString.x){ _local4 = (_local4 + Math.PI); }; _local5 = Math.round(((_local4 * 360) / (2 * Math.PI))); nylonString.rotation = 0; nylonString.width = Math.sqrt((Math.pow((nylonString.y - sea.poleY), 2) + Math.pow((sea.poleX - nylonString.x), 2))); nylonString.rotation = _local5; bait.poleX = sea.poleX; bait.poleY = sea.poleY; sea.gameStat = "normalRail"; }; } else { if (sea.gameStat == "toSurface"){ if (sea.deepsea.y < 100){ sea.vScroll(-10); } else { sea.gameStat = "start"; }; } else { if (sea.gameStat == "normalRail"){ if (bait.action == "bitten"){ sea.fightMeter.alpha = 1; sea.gameStat = "fight"; }; } else { if ((((sea.gameStat == "fight")) && ((sea.fightMeter.alpha == 1)))){ if (sea.fightMeter.isHit()){ sea.fightStat = "isHit"; } else { if (sea.fightMeter.isLoose()){ sea.fightStat = "isLoose"; } else { if (sea.fightMeter.isToMuch()){ sea.fightStat = "isTooMuch"; }; }; }; } else { if (sea.gameStat == "confirm"){ if (sea.objConf.cmd == "next"){ finalizeGame(); gotoAndStop(("pre" + sea.record["next"])); } else { if (sea.objConf.cmd == "stay"){ sea.gameStat = "start"; }; }; }; }; }; }; }; if (((((!((sea == null))) && (!((_local2 == "fight"))))) && ((sea.gameStat == "fight")))){ if (BGMstat == "on"){ if (BGMchannel != null){ BGMchannel.stop(); }; BGMchannel = BGM[3].play(0, 1000); }; strike = new Strike(); strike.x = 320; strike.y = 240; this.addChild(strike); sea.gameStat = "wait"; removeEventListener("enterFrame", mainLoop); addEventListener("enterFrame", waitForStrike); }; if (((((!((sea == null))) && ((_local2 == "fight")))) && ((((sea.gameStat == "loose")) || ((sea.gameStat == "lineBreak")))))){ if (BGMstat == "on"){ if (BGMchannel != null){ BGMchannel.stop(); }; BGMchannel = BGM[BGMindex].play(0, 1000); }; }; } } }//package fishing_fla
Section 12
//manadoSea_69 (fishing_fla.manadoSea_69) package fishing_fla { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class manadoSea_69 extends MovieClip { public const fishName:Array; public const seaName:String = "manado"; public const minCatch:Number = 5; public const target:Number = 1000; public var backBubbleCont:MovieClip; public var popupMenu; public var record:Array; public var fightStat:String; public var qualified:Number; public var dummy:MovieClip; public var objConf:MovieClip; public var player:MovieClip; public var frontBubbleCont:MovieClip; public var isPulling:Boolean; public var putusSE:SE_putus; public var fishes:Array; public var catchCount:Number; public var menuCont:MovieClip; public var poleInstability:Number; public var resultDisp:MovieClip; public var gameStat:String; public var bubbles:Array; public var fightMeter:MovieClip; public var PoleY:Number; public var msg; public var lineTense:Number; public var poleX:Number; public var weightCount_txt:TextField; public var fishCont:MovieClip; public var poleSEchannel:SoundChannel; public var fishCount_txt:TextField; public var deepsea:MovieClip; public var poleMinReelSpeed:Number; public var baitCont:MovieClip; public function manadoSea_69(){ fishName = ["Permit", "Horse Eye Jack", "Big Eye Tuna", "Black Fin Tuna", "Mackaro"]; super(); addFrameScript(0, frame1); } public function finalize(){ } function frame1(){ putusSE = new SE_putus(); } public function routine(_arg1, _arg2){ var _local3:Number; var _local4:*; var _local5:Object; var _local6:Number; var _local7:Number; if (gameStat != "pause"){ if (Math.random() < 0.1){ _local4 = new Bubble(); _local4.init(deepsea.y, deepsea.height); bubbles.push(_local4); if (Math.random() < 0.5){ frontBubbleCont.addChild(bubbles[(bubbles.length - 1)]); } else { backBubbleCont.addChild(bubbles[(bubbles.length - 1)]); }; }; _local3 = 0; while (_local3 < bubbles.length) { bubbles[_local3].routine(); if (bubbles[_local3].isNoMore){ if (frontBubbleCont.contains(bubbles[_local3])){ frontBubbleCont.removeChild(bubbles[_local3]); } else { if (backBubbleCont.contains(bubbles[_local3])){ backBubbleCont.removeChild(bubbles[_local3]); }; }; bubbles.splice(_local3, 1); _local3--; }; _local3++; }; _local3 = 0; while (_local3 < fishes.length) { fishes[_local3].routine(_arg1, this); _local3++; }; if (fishes.length < 5){ if (Math.random() < 0.2){ _local5 = new Kuwe1(); } else { if (Math.random() < 0.4){ _local5 = new Kuwe2(); } else { if (Math.random() < 0.6){ _local5 = new Tuna1(); } else { if (Math.random() < 0.8){ _local5 = new Tuna2(); } else { _local5 = new Mackarel1(); }; }; }; }; _local5.init(); fishes.push(_local5); fishCont.addChild(fishes[(fishes.length - 1)]); }; if (gameStat == "fight"){ if (((isPulling) && ((fightMeter.xCursor < 100)))){ fightMeter.xCursor = (fightMeter.xCursor + (poleMinReelSpeed + (Math.random() * poleInstability))); if (fightMeter.xCursor > 100){ fightMeter.xCursor = 100; }; fightMeter.updateCursor(fightMeter.xCursor); } else { if (((!(isPulling)) && ((fightMeter.xCursor > 0)))){ fightMeter.xCursor = (fightMeter.xCursor - (poleMinReelSpeed + (Math.random() * poleInstability))); if (fightMeter.xCursor < 0){ fightMeter.xCursor = 0; }; fightMeter.updateCursor(fightMeter.xCursor); }; }; if (lineTense <= 0){ if (_arg2){ poleSEchannel = putusSE.play(0, 1); }; gameStat = "loose"; msg = new Loose(); msg.x = 320; msg.y = 240; this.addChild(msg); fightMeter.alpha = 0; } else { if (lineTense >= 100){ if (_arg2){ poleSEchannel = putusSE.play(0, 1); }; gameStat = "lineBreak"; msg = new LineBreak(); msg.x = 320; msg.y = 240; this.addChild(msg); fightMeter.alpha = 0; }; }; } else { if ((((gameStat == "loose")) || ((gameStat == "lineBreak")))){ if (msg.isFinish){ trace(("before:" + numChildren)); this.removeChild(msg); trace(("before:" + numChildren)); baitCont.removeChildAt(1); baitCont.removeChildAt(1); gameStat = "toSurface"; player.routine("stand", player.facing); lineTense = 10; }; } else { if (gameStat == "catch"){ baitCont.removeChildAt(1); baitCont.removeChildAt(1); _local3 = 0; while (_local3 < fishes.length) { if (fishes[_local3].isCatched){ catchCount++; if (record["best"][fishes[_local3].nama] == null){ record["best"][fishes[_local3].nama] = fishes[_local3].weight; } else { record["best"][fishes[_local3].nama] = Math.max(fishes[_local3].weight, record["best"][fishes[_local3].nama]); }; resultDisp.init(fishes[_local3].nama, fishes[_local3].weight, fishes[_local3].timer); fishCont.removeChild(fishes[_local3]); if (record["nama"].length < 5){ record["nama"].push(fishes[_local3].nama); record["weight"].push(Math.round(fishes[_local3].weight)); record["time"].push(fishes[_local3].timer); } else { if ((((fishes[_local3].weight > record["weight"][4])) || ((((fishes[_local3].weight == record["weight"][4])) && ((fishes[_local3].timer < record["time"][4])))))){ record["nama"].pop(); record["weight"].pop(); record["time"].pop(); record["nama"].push(fishes[_local3].nama); record["weight"].push(Math.round(fishes[_local3].weight)); record["time"].push(fishes[_local3].timer); }; }; sortRecord(); _local6 = 0; _local7 = 0; while (_local7 < record["weight"].length) { _local6 = (_local6 + int(record["weight"][_local7])); if (_local6 > target){ _local6 = target; }; _local7++; }; weightCount_txt.text = ((_local6 + " / ") + target); if (catchCount > minCatch){ catchCount = minCatch; }; fishCount_txt.text = ((catchCount + " / ") + minCatch); if ((((_local6 >= target)) && ((catchCount >= minCatch)))){ record["next"] = "papua"; qualified++; }; fishes.splice(_local3, 1); break; }; _local3++; }; gameStat = "showResult"; resultDisp.alpha = 1; }; }; }; }; } public function vScroll(_arg1){ var _local2:Number; deepsea.y = (deepsea.y - _arg1); _local2 = 0; while (_local2 < bubbles.length) { bubbles[_local2].y = (bubbles[_local2].y - _arg1); _local2++; }; _local2 = 0; while (_local2 < fishes.length) { fishes[_local2].y = (fishes[_local2].y - _arg1); fishes[_local2].defY = (fishes[_local2].defY - _arg1); _local2++; }; player.y = (player.y - _arg1); } public function init(_arg1){ var _local2:Number; var _local3:Number; qualified = 0; if (_arg1 != null){ record = _arg1; if (record["weight"] == null){ record["nama"] = new Array(); record["weight"] = new Array(); record["time"] = new Array(); record["best"] = new Array(); }; } else { record = new Array(); record["nama"] = new Array(); record["weight"] = new Array(); record["time"] = new Array(); record["best"] = new Array(); record["next"] = ""; }; sortRecord(); catchCount = record["nama"].length; _local2 = 0; _local3 = 0; while (_local3 < record["weight"].length) { _local2 = (_local2 + int(record["weight"][_local3])); if (_local2 > target){ _local2 = target; }; _local3++; }; if ((((_local2 >= target)) && ((catchCount >= minCatch)))){ qualified = 2; }; weightCount_txt.text = ((_local2 + " / ") + target); if (catchCount > minCatch){ catchCount = minCatch; }; fishCount_txt.text = ((catchCount + " / ") + minCatch); bubbles = new Array(); fishes = new Array(); player.init(); fightMeter.alpha = 0; isPulling = false; fightStat = ""; lineTense = 10; poleInstability = 1; poleMinReelSpeed = 2; } public function sortRecord(){ var _local1:Array; var _local2:Number; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; _local1 = record["weight"]; _local2 = 0; while (_local2 < (_local1.length - 1)) { _local3 = (_local2 + 1); while (_local3 < _local1.length) { if ((((int(_local1[_local2]) < int(_local1[_local3]))) || ((((int(_local1[_local2]) == int(_local1[_local3]))) && ((int(record["time"][_local2]) > int(record["time"][_local3]))))))){ _local4 = record["nama"][_local2]; _local5 = _local1[_local2]; _local6 = record["time"][_local2]; record["nama"][_local2] = record["nama"][_local3]; _local1[_local2] = _local1[_local3]; record["time"][_local2] = record["time"][_local3]; record["nama"][_local3] = _local4; _local1[_local3] = _local5; record["time"][_local3] = _local6; }; _local3++; }; _local2++; }; record["weight"] = new Array(); record["weight"] = _local1; } public function reinit(){ fightStat = ""; lineTense = 10; poleInstability = 1; poleMinReelSpeed = 2; fightMeter.alpha = 0; isPulling = false; } } }//package fishing_fla
Section 13
//nextCon_62 (fishing_fla.nextCon_62) package fishing_fla { import flash.events.*; import flash.display.*; public dynamic class nextCon_62 extends MovieClip { public var n_btn:SimpleButton; public var isFinish:Boolean; public var s_btn:SimpleButton; public var cmd:String; public function nextCon_62(){ addFrameScript(0, frame1); } public function init(){ x = 320; y = 240; isFinish = false; cmd = ""; n_btn.addEventListener(MouseEvent.CLICK, nextL); s_btn.addEventListener(MouseEvent.CLICK, stayH); } public function finalize(){ y = -500; alpha = 0; isFinish = true; n_btn.removeEventListener(MouseEvent.CLICK, nextL); s_btn.removeEventListener(MouseEvent.CLICK, stayH); } public function stayH(_arg1:MouseEvent){ cmd = "stay"; finalize(); } function frame1(){ } public function nextL(_arg1:MouseEvent){ cmd = "next"; finalize(); } } }//package fishing_fla
Section 14
//player_46 (fishing_fla.player_46) package fishing_fla { import flash.display.*; public dynamic class player_46 extends MovieClip { public const boatspeed:Number = 5; public const poleY:Array; public const poleX:Array; public const xBait:Number = 85; public var activeFrame:String; public var fisherman:MovieClip; public var action:String; public var facingDec:Number; public var facing:String; public function player_46(){ poleX = [72, -43.6, 16.1]; poleY = [-100, -93.9, -91.5]; super(); addFrameScript(0, frame1); } public function init(){ action = "stand"; facing = "Right"; facingDec = 1; gotoAndStop((action + facing)); } public function finalize(){ } function frame1(){ } public function routine(_arg1, _arg2){ if (_arg1 != action){ action = _arg1; gotoAndStop((action + facing)); }; if (_arg2 != facing){ facingDec = (facingDec * -1); facing = _arg2; gotoAndStop((action + facing)); }; } } }//package fishing_fla
Section 15
//playercast_50 (fishing_fla.playercast_50) package fishing_fla { import flash.display.*; public dynamic class playercast_50 extends MovieClip { public var isFinish:Boolean; public function playercast_50(){ addFrameScript(0, frame1, 15, frame16); } function frame16(){ isFinish = true; } function frame1(){ isFinish = false; } } }//package fishing_fla
Section 16
//playercast2_52 (fishing_fla.playercast2_52) package fishing_fla { import flash.display.*; public dynamic class playercast2_52 extends MovieClip { public var isFinish:Boolean; public function playercast2_52(){ addFrameScript(0, frame1, 15, frame16); } function frame16(){ isFinish = true; } function frame1(){ isFinish = false; } } }//package fishing_fla
Section 17
//playercast3_53 (fishing_fla.playercast3_53) package fishing_fla { import flash.display.*; public dynamic class playercast3_53 extends MovieClip { public var isFinish:Boolean; public function playercast3_53(){ addFrameScript(0, frame1, 15, frame16); } function frame16(){ isFinish = true; } function frame1(){ isFinish = false; } } }//package fishing_fla
Section 18
//progressBar_1 (fishing_fla.progressBar_1) package fishing_fla { import flash.display.*; public dynamic class progressBar_1 extends MovieClip { public var line:MovieClip; public function progressBar_1(){ addFrameScript(0, frame1); } function frame1(){ stop(); } public function updateBar(_arg1){ line.width = (_arg1 * 200); } } }//package fishing_fla
Section 19
//resultDisplay_60 (fishing_fla.resultDisplay_60) package fishing_fla { import flash.display.*; import flash.text.*; public dynamic class resultDisplay_60 extends MovieClip { public var foto:MovieClip; public var time_txt:TextField; public var weight_txt:TextField; public var fishfoto; public var name_txt:TextField; public function resultDisplay_60(){ addFrameScript(0, frame1); } public function init(_arg1, _arg2, _arg3){ var _local4:Number; var _local5:Number; var _local6:Number; name_txt.text = _arg1; name_txt.alpha = 1; weight_txt.text = (Math.round(_arg2) + " kg"); _local4 = (_arg3 % stage.frameRate); _local4 = Math.round(((_local4 * 100) / stage.frameRate)); _local5 = Math.floor((_arg3 / stage.frameRate)); _local6 = Math.floor((_local5 / 60)); _local5 = (_local5 % 60); time_txt.text = ((((_local6 + " : ") + _local5) + " . ") + _local4); if (_arg1 == "Marlin"){ if (fishfoto != null){ foto.removeChild(fishfoto); }; fishfoto = new ImageMarlin(); foto.addChild(fishfoto); } else { if (_arg1 == "Red Snapper"){ if (fishfoto != null){ foto.removeChild(fishfoto); }; fishfoto = new ImageKakapMerah(); foto.addChild(fishfoto); } else { if (_arg1 == "Dog Snapper"){ if (fishfoto != null){ foto.removeChild(fishfoto); }; fishfoto = new ImageDogSnapper(); foto.addChild(fishfoto); } else { if (_arg1 == "Cooper Snapper"){ if (fishfoto != null){ foto.removeChild(fishfoto); }; fishfoto = new ImageCooperSnapper(); foto.addChild(fishfoto); } else { if (_arg1 == "Plane Snapper"){ if (fishfoto != null){ foto.removeChild(fishfoto); }; fishfoto = new ImagePlaneSnapper(); foto.addChild(fishfoto); } else { if (_arg1 == "Permit"){ if (fishfoto != null){ foto.removeChild(fishfoto); }; fishfoto = new ImagePermit(); foto.addChild(fishfoto); } else { if (_arg1 == "Horse Eye Jack"){ if (fishfoto != null){ foto.removeChild(fishfoto); }; fishfoto = new ImageHorseEyeJack(); foto.addChild(fishfoto); } else { if (_arg1 == "Big Eye Tuna"){ if (fishfoto != null){ foto.removeChild(fishfoto); }; fishfoto = new ImageBigEyeTuna(); foto.addChild(fishfoto); } else { if (_arg1 == "Black Fin Tuna"){ if (fishfoto != null){ foto.removeChild(fishfoto); }; fishfoto = new ImageBlackFinTuna(); foto.addChild(fishfoto); } else { if (_arg1 == "Mackaro"){ if (fishfoto != null){ foto.removeChild(fishfoto); }; fishfoto = new ImageMackaro(); foto.addChild(fishfoto); } else { if (_arg1 == "King Mackarel"){ if (fishfoto != null){ foto.removeChild(fishfoto); }; fishfoto = new ImageKingMackeral(); foto.addChild(fishfoto); } else { if (_arg1 == "Barracuda"){ if (fishfoto != null){ foto.removeChild(fishfoto); }; fishfoto = new ImageBarracuda(); foto.addChild(fishfoto); } else { if (_arg1 == "Unknown"){ if (fishfoto != null){ foto.removeChild(fishfoto); }; fishfoto = new ImageUnknown(); foto.addChild(fishfoto); }; }; }; }; }; }; }; }; }; }; }; }; }; } function frame1(){ stop(); } } }//package fishing_fla
Section 20
//secretspot_73 (fishing_fla.secretspot_73) package fishing_fla { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class secretspot_73 extends MovieClip { public const fishName:Array; public const seaName:String = "secret spot"; public const minCatch:Number = 5; public const target:Number = 2000000; public var backBubbleCont:MovieClip; public var popupMenu; public var record:Array; public var fightStat:String; public var qualified:Number; public var dummy:MovieClip; public var objConf:MovieClip; public var player:MovieClip; public var frontBubbleCont:MovieClip; public var isPulling:Boolean; public var putusSE:SE_putus; public var fishes:Array; public var catchCount:Number; public var menuCont:MovieClip; public var poleInstability:Number; public var resultDisp:MovieClip; public var gameStat:String; public var bubbles:Array; public var fightMeter:MovieClip; public var PoleY:Number; public var msg; public var lineTense:Number; public var poleX:Number; public var weightCount_txt:TextField; public var fishCont:MovieClip; public var poleSEchannel:SoundChannel; public var fishCount_txt:TextField; public var deepsea:MovieClip; public var poleMinReelSpeed:Number; public var baitCont:MovieClip; public function secretspot_73(){ fishName = ["Red Snapper", "Dog Snapper", "Plane Snapper", "Cooper Snapper", "Permit", "Horse Eye Jack", "Big Eye Tuna", "Black Fin Tuna", "Mackaro", "King Mackarel", "Marlin", "Barracuda", "Unknown"]; super(); addFrameScript(0, frame1); } public function finalize(){ } function frame1(){ putusSE = new SE_putus(); } public function routine(_arg1, _arg2){ var _local3:Number; var _local4:*; var _local5:Object; if (gameStat != "pause"){ if (Math.random() < 0.1){ _local4 = new Bubble(); _local4.init(deepsea.y, deepsea.height); bubbles.push(_local4); if (Math.random() < 0.5){ frontBubbleCont.addChild(bubbles[(bubbles.length - 1)]); } else { backBubbleCont.addChild(bubbles[(bubbles.length - 1)]); }; }; _local3 = 0; while (_local3 < bubbles.length) { bubbles[_local3].routine(); if (bubbles[_local3].isNoMore){ if (frontBubbleCont.contains(bubbles[_local3])){ frontBubbleCont.removeChild(bubbles[_local3]); } else { if (backBubbleCont.contains(bubbles[_local3])){ backBubbleCont.removeChild(bubbles[_local3]); }; }; bubbles.splice(_local3, 1); _local3--; }; _local3++; }; _local3 = 0; while (_local3 < fishes.length) { fishes[_local3].routine(_arg1, this); _local3++; }; if (fishes.length < 5){ if (Math.random() < 0.05){ _local5 = new Kakap1(); } else { if (Math.random() < 0.1){ _local5 = new Kakap2(); } else { if (Math.random() < 0.15){ _local5 = new Kakap3(); } else { if (Math.random() < 0.2){ _local5 = new Kakap4(); } else { if (Math.random() < 0.25){ _local5 = new Kuwe1(); } else { if (Math.random() < 0.3){ _local5 = new Kuwe2(); } else { if (Math.random() < 0.35){ _local5 = new Tuna1(); } else { if (Math.random() < 0.4){ _local5 = new Tuna2(); } else { if (Math.random() < 0.45){ _local5 = new Mackarel1(); } else { if (Math.random() < 0.5){ _local5 = new Mackarel2(); } else { if (Math.random() < 0.7){ _local5 = new Marlin(); } else { if (Math.random() < 0.85){ _local5 = new Barracuda(); } else { _local5 = new Unknown(); }; }; }; }; }; }; }; }; }; }; }; }; _local5.init(); fishes.push(_local5); fishCont.addChild(fishes[(fishes.length - 1)]); }; if (gameStat == "fight"){ if (((isPulling) && ((fightMeter.xCursor < 100)))){ fightMeter.xCursor = (fightMeter.xCursor + (poleMinReelSpeed + (Math.random() * poleInstability))); if (fightMeter.xCursor > 100){ fightMeter.xCursor = 100; }; fightMeter.updateCursor(fightMeter.xCursor); } else { if (((!(isPulling)) && ((fightMeter.xCursor > 0)))){ fightMeter.xCursor = (fightMeter.xCursor - (poleMinReelSpeed + (Math.random() * poleInstability))); if (fightMeter.xCursor < 0){ fightMeter.xCursor = 0; }; fightMeter.updateCursor(fightMeter.xCursor); }; }; if (lineTense <= 0){ if (_arg2){ poleSEchannel = putusSE.play(0, 1); }; gameStat = "loose"; msg = new Loose(); msg.x = 320; msg.y = 240; this.addChild(msg); fightMeter.alpha = 0; } else { if (lineTense >= 100){ if (_arg2){ poleSEchannel = putusSE.play(0, 1); }; gameStat = "lineBreak"; msg = new LineBreak(); msg.x = 320; msg.y = 240; this.addChild(msg); fightMeter.alpha = 0; }; }; } else { if ((((gameStat == "loose")) || ((gameStat == "lineBreak")))){ if (msg.isFinish){ trace(("before:" + numChildren)); this.removeChild(msg); trace(("before:" + numChildren)); baitCont.removeChildAt(1); baitCont.removeChildAt(1); gameStat = "toSurface"; player.routine("stand", player.facing); lineTense = 10; }; } else { if (gameStat == "catch"){ baitCont.removeChildAt(1); baitCont.removeChildAt(1); _local3 = 0; while (_local3 < fishes.length) { if (fishes[_local3].isCatched){ catchCount++; if (record["best"][fishes[_local3].nama] == null){ record["best"][fishes[_local3].nama] = fishes[_local3].weight; } else { record["best"][fishes[_local3].nama] = Math.max(fishes[_local3].weight, record["best"][fishes[_local3].nama]); }; resultDisp.init(fishes[_local3].nama, fishes[_local3].weight, fishes[_local3].timer); fishCont.removeChild(fishes[_local3]); if (record["nama"].length < 5){ record["nama"].push(fishes[_local3].nama); record["weight"].push(Math.round(fishes[_local3].weight)); record["time"].push(fishes[_local3].timer); } else { if ((((fishes[_local3].weight > record["weight"][4])) || ((((fishes[_local3].weight == record["weight"][4])) && ((fishes[_local3].timer < record["time"][4])))))){ record["nama"].pop(); record["weight"].pop(); record["time"].pop(); record["nama"].push(fishes[_local3].nama); record["weight"].push(Math.round(fishes[_local3].weight)); record["time"].push(fishes[_local3].timer); }; }; sortRecord(); fishes.splice(_local3, 1); break; }; _local3++; }; gameStat = "showResult"; resultDisp.alpha = 1; }; }; }; }; } public function vScroll(_arg1){ var _local2:Number; deepsea.y = (deepsea.y - _arg1); _local2 = 0; while (_local2 < bubbles.length) { bubbles[_local2].y = (bubbles[_local2].y - _arg1); _local2++; }; _local2 = 0; while (_local2 < fishes.length) { fishes[_local2].y = (fishes[_local2].y - _arg1); fishes[_local2].defY = (fishes[_local2].defY - _arg1); _local2++; }; player.y = (player.y - _arg1); } public function init(_arg1){ qualified = 0; if (_arg1 != null){ record = _arg1; if (record["weight"] == null){ record["nama"] = new Array(); record["weight"] = new Array(); record["time"] = new Array(); record["best"] = new Array(); }; } else { record = new Array(); record["nama"] = new Array(); record["weight"] = new Array(); record["time"] = new Array(); record["best"] = new Array(); record["next"] = ""; }; sortRecord(); weightCount_txt.text = "- / -"; fishCount_txt.text = "- / -"; bubbles = new Array(); fishes = new Array(); player.init(); fightMeter.alpha = 0; isPulling = false; fightStat = ""; lineTense = 10; poleInstability = 1; poleMinReelSpeed = 2; } public function sortRecord(){ var _local1:Array; var _local2:Number; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; _local1 = record["weight"]; _local2 = 0; while (_local2 < (_local1.length - 1)) { _local3 = (_local2 + 1); while (_local3 < _local1.length) { if ((((int(_local1[_local2]) < int(_local1[_local3]))) || ((((int(_local1[_local2]) == int(_local1[_local3]))) && ((int(record["time"][_local2]) > int(record["time"][_local3]))))))){ _local4 = record["nama"][_local2]; _local5 = _local1[_local2]; _local6 = record["time"][_local2]; record["nama"][_local2] = record["nama"][_local3]; _local1[_local2] = _local1[_local3]; record["time"][_local2] = record["time"][_local3]; record["nama"][_local3] = _local4; _local1[_local3] = _local5; record["time"][_local3] = _local6; }; _local3++; }; _local2++; }; record["weight"] = new Array(); record["weight"] = _local1; } public function reinit(){ fightStat = ""; lineTense = 10; poleInstability = 1; poleMinReelSpeed = 2; fightMeter.alpha = 0; isPulling = false; } } }//package fishing_fla
Section 21
//shakingHS_23 (fishing_fla.shakingHS_23) package fishing_fla { import flash.display.*; public dynamic class shakingHS_23 extends MovieClip { public function shakingHS_23(){ addFrameScript(35, frame36); } function frame36(){ gotoAndPlay("loop"); } } }//package fishing_fla
Section 22
//squidbaitdown_83 (fishing_fla.squidbaitdown_83) package fishing_fla { import flash.display.*; public dynamic class squidbaitdown_83 extends MovieClip { public function squidbaitdown_83(){ addFrameScript(6, frame7); } function frame7(){ stop(); } } }//package fishing_fla
Section 23
//squidbaitup_85 (fishing_fla.squidbaitup_85) package fishing_fla { import flash.display.*; public dynamic class squidbaitup_85 extends MovieClip { public function squidbaitup_85(){ addFrameScript(6, frame7); } function frame7(){ stop(); } } }//package fishing_fla
Section 24
//subrec_77 (fishing_fla.subrec_77) package fishing_fla { import flash.display.*; import flash.text.*; public dynamic class subrec_77 extends MovieClip { public var time_txt:TextField; public var weight_txt:TextField; public var name_txt:TextField; public function subrec_77(){ addFrameScript(0, frame1); } public function init(_arg1, _arg2, _arg3){ var _local4:Number; var _local5:Number; var _local6:Number; name_txt.text = _arg1; weight_txt.text = (Math.round(_arg2) + "kg"); _local4 = (_arg3 % stage.frameRate); _local4 = Math.round(((_local4 * 100) / stage.frameRate)); _local5 = Math.floor((_arg3 / stage.frameRate)); _local6 = Math.floor((_local5 / 60)); _local5 = (_local5 % 60); time_txt.text = ((((_local6 + ".") + _local5) + ".") + _local4); } function frame1(){ } } }//package fishing_fla
Section 25
//tenseBar_56 (fishing_fla.tenseBar_56) package fishing_fla { import flash.display.*; public dynamic class tenseBar_56 extends MovieClip { public function tenseBar_56(){ addFrameScript(0, frame1); } public function setBar(_arg1){ gotoAndStop(_arg1); } function frame1(){ } } }//package fishing_fla
Section 26
//Bounce (fl.transitions.easing.Bounce) package fl.transitions.easing { public class Bounce { public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); if (_arg1 < (1 / 2.75)){ return (((_arg3 * ((7.5625 * _arg1) * _arg1)) + _arg2)); }; if (_arg1 < (2 / 2.75)){ _arg1 = (_arg1 - (1.5 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.75)) + _arg2)); }; if (_arg1 < (2.5 / 2.75)){ _arg1 = (_arg1 - (2.25 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.9375)) + _arg2)); }; _arg1 = (_arg1 - (2.625 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.984375)) + _arg2)); } public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (((_arg3 - easeOut((_arg4 - _arg1), 0, _arg3, _arg4)) + _arg2)); } public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ if (_arg1 < (_arg4 / 2)){ return (((easeIn((_arg1 * 2), 0, _arg3, _arg4) * 0.5) + _arg2)); }; return ((((easeOut(((_arg1 * 2) - _arg4), 0, _arg3, _arg4) * 0.5) + (_arg3 * 0.5)) + _arg2)); } } }//package fl.transitions.easing
Section 27
//Strong (fl.transitions.easing.Strong) package fl.transitions.easing { public class Strong { public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2)); } } }//package fl.transitions.easing
Section 28
//Tween (fl.transitions.Tween) package fl.transitions { import flash.events.*; import flash.utils.*; import flash.display.*; public class Tween extends EventDispatcher { private var _position:Number;// = NAN public var prevTime:Number;// = NAN public var prevPos:Number;// = NAN public var isPlaying:Boolean;// = false public var begin:Number;// = NAN private var _fps:Number;// = NAN private var _time:Number;// = NAN public var change:Number;// = NAN private var _finish:Number;// = NAN public var looping:Boolean;// = false private var _intervalID:uint;// = 0 public var func:Function; private var _timer:Timer;// = null private var _startTime:Number;// = NAN public var prop:String;// = "" private var _duration:Number;// = NAN public var obj:Object;// = null public var useSeconds:Boolean;// = false protected static var _mc:MovieClip = new MovieClip(); public function Tween(_arg1:Object, _arg2:String, _arg3:Function, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Boolean=false){ isPlaying = false; obj = null; prop = ""; func = function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((_arg3 * _arg1) / _arg4) + _arg2)); }; begin = NaN; change = NaN; useSeconds = false; prevTime = NaN; prevPos = NaN; looping = false; _duration = NaN; _time = NaN; _fps = NaN; _position = NaN; _startTime = NaN; _intervalID = 0; _finish = NaN; _timer = null; super(); if (!arguments.length){ return; }; this.obj = _arg1; this.prop = _arg2; this.begin = _arg4; this.position = _arg4; this.duration = _arg6; this.useSeconds = _arg7; if ((_arg3 is Function)){ this.func = _arg3; }; this.finish = _arg5; this._timer = new Timer(100); this.start(); } public function continueTo(_arg1:Number, _arg2:Number):void{ this.begin = this.position; this.finish = _arg1; if (!isNaN(_arg2)){ this.duration = _arg2; }; this.start(); } public function stop():void{ this.stopEnterFrame(); this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_STOP, this._time, this._position)); } private function fixTime():void{ if (this.useSeconds){ this._startTime = (getTimer() - (this._time * 1000)); }; } public function set FPS(_arg1:Number):void{ var _local2:Boolean; _local2 = this.isPlaying; this.stopEnterFrame(); this._fps = _arg1; if (_local2){ this.startEnterFrame(); }; } public function get finish():Number{ return ((this.begin + this.change)); } public function get duration():Number{ return (this._duration); } protected function startEnterFrame():void{ var _local1:Number; if (isNaN(this._fps)){ _mc.addEventListener(Event.ENTER_FRAME, this.onEnterFrame, false, 0, true); } else { _local1 = (1000 / this._fps); this._timer.delay = _local1; this._timer.addEventListener(TimerEvent.TIMER, this.timerHandler, false, 0, true); this._timer.start(); }; this.isPlaying = true; } public function set time(_arg1:Number):void{ this.prevTime = this._time; if (_arg1 > this.duration){ if (this.looping){ this.rewind((_arg1 - this._duration)); this.update(); this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_LOOP, this._time, this._position)); } else { if (this.useSeconds){ this._time = this._duration; this.update(); }; this.stop(); this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_FINISH, this._time, this._position)); }; } else { if (_arg1 < 0){ this.rewind(); this.update(); } else { this._time = _arg1; this.update(); }; }; } protected function stopEnterFrame():void{ if (isNaN(this._fps)){ _mc.removeEventListener(Event.ENTER_FRAME, this.onEnterFrame); } else { this._timer.stop(); }; this.isPlaying = false; } public function getPosition(_arg1:Number=NaN):Number{ if (isNaN(_arg1)){ _arg1 = this._time; }; return (this.func(_arg1, this.begin, this.change, this._duration)); } public function set finish(_arg1:Number):void{ this.change = (_arg1 - this.begin); } public function set duration(_arg1:Number):void{ this._duration = ((_arg1)<=0) ? Infinity : _arg1; } public function setPosition(_arg1:Number):void{ this.prevPos = this._position; if (this.prop.length){ this.obj[this.prop] = (this._position = _arg1); }; this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_CHANGE, this._time, this._position)); } public function resume():void{ this.fixTime(); this.startEnterFrame(); this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_RESUME, this._time, this._position)); } public function fforward():void{ this.time = this._duration; this.fixTime(); } protected function onEnterFrame(_arg1:Event):void{ this.nextFrame(); } public function get position():Number{ return (this.getPosition(this._time)); } public function yoyo():void{ this.continueTo(this.begin, this.time); } public function nextFrame():void{ if (this.useSeconds){ this.time = ((getTimer() - this._startTime) / 1000); } else { this.time = (this._time + 1); }; } protected function timerHandler(_arg1:TimerEvent):void{ this.nextFrame(); _arg1.updateAfterEvent(); } public function get FPS():Number{ return (this._fps); } public function rewind(_arg1:Number=0):void{ this._time = _arg1; this.fixTime(); this.update(); } public function set position(_arg1:Number):void{ this.setPosition(_arg1); } public function get time():Number{ return (this._time); } private function update():void{ this.setPosition(this.getPosition(this._time)); } public function start():void{ this.rewind(); this.startEnterFrame(); this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_START, this._time, this._position)); } public function prevFrame():void{ if (!this.useSeconds){ this.time = (this._time - 1); }; } } }//package fl.transitions
Section 29
//TweenEvent (fl.transitions.TweenEvent) package fl.transitions { import flash.events.*; public class TweenEvent extends Event { public var time:Number;// = NAN public var position:Number;// = NAN public static const MOTION_START:String = "motionStart"; public static const MOTION_STOP:String = "motionStop"; public static const MOTION_LOOP:String = "motionLoop"; public static const MOTION_CHANGE:String = "motionChange"; public static const MOTION_FINISH:String = "motionFinish"; public static const MOTION_RESUME:String = "motionResume"; public function TweenEvent(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Boolean=false){ time = NaN; position = NaN; super(_arg1, _arg4, _arg5); this.time = _arg2; this.position = _arg3; } override public function clone():Event{ return (new TweenEvent(this.type, this.time, this.position, this.bubbles, this.cancelable)); } } }//package fl.transitions
Section 30
//Barracuda (Barracuda) package { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class Barracuda extends MovieClip { public const varAngle:Number = 1.5707963267949; public const instability:Number = 3; public const changeOfInstability:Number = 0.15; public const minSpamY:Number = 480; public const tenseUp:Number = 3; public const varSpamY:Number = 20; public const relaxDown:Number = 1; public const minWeight:Number = 100; public const maxSwimSpd:Number = 30; public const nama:String = "Barracuda"; public const startAngle:Number = 0.785398163397448; public const varWeight:Number = 700; public const minSwimSpd:Number = 0; public const hitTolerance:Number = 20; public var swimSpd:Number; public var tolerancePos:Number; public var isCatched:Boolean; public var defY:Number; public var aggArea:MovieClip; public var action; public var timer:Number; public var weight:Number; public var dy:Number; public var angle:Number; public var facing:String; public var bite:MovieClip; public function Barracuda(){ addFrameScript(0, frame1); } public function init(){ timer = 0; weight = (minWeight + (Math.random() * varWeight)); isCatched = false; action = "swim"; angle = (startAngle - (Math.random() * varAngle)); swimSpd = (maxSwimSpd - (Math.random() * 15)); if (Math.random() < 0.5){ facing = "Left"; x = 740; } else { facing = "Right"; x = -100; }; gotoAndStop((action + facing)); y = Math.round((minSpamY + (Math.floor((Math.random() * varSpamY)) * 20))); defY = y; tolerancePos = (50 - (hitTolerance / 2)); } public function adjustImage(_arg1, _arg2){ if (action != _arg1){ action = _arg1; gotoAndStop((action + facing)); }; if (facing != _arg2){ facing = _arg2; gotoAndStop((action + facing)); }; } public function finalize(){ } function frame1(){ } public function routine(_arg1, _arg2){ var _local3:Number; var _local4:Number; if (action == "swim"){ if (((((!((_arg1 == null))) && (aggArea.hitTestObject(_arg1.dummy)))) && (!((_arg1.action == "bitten"))))){ if (_arg2.deepsea.y > -100){ if (facing == "Left"){ adjustImage("return", "Right"); } else { adjustImage("return", "Left"); }; } else { _local3 = (Math.sqrt((Math.pow(((x + bite.x) - _arg1.x), 2) + Math.pow(((y + bite.y) - _arg1.y), 2))) / 3); _local4 = Math.atan(((_arg1.y - (y + bite.y)) / (_arg1.x - (x + bite.x)))); if (_arg1.x < (x + bite.x)){ _local4 = (_local4 + Math.PI); }; x = (x + (_local3 * Math.cos(_local4))); y = (y + (_local3 * Math.sin(_local4))); if (bite.hitTestObject(_arg1.dummy)){ adjustImage("fight", facing); _arg1.routine("bitten"); timer = 0; _arg2.fightMeter.init(tolerancePos, hitTolerance, (tolerancePos + (hitTolerance / 2))); _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); }; }; } else { if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (aggArea.hitTestObject(_arg1.noise)))){ if (facing == "Left"){ adjustImage("run", "Right"); } else { adjustImage("run", "Left"); }; } else { if (facing == "Left"){ x = (x - (swimSpd * Math.cos(angle))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (swimSpd * Math.cos(angle))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + (swimSpd * Math.sin(angle))); if ((y - _arg2.deepsea.y) < 200){ angle = (angle + Math.abs((angle * 2))); }; if ((y - _arg2.deepsea.y) > 800){ angle = (angle - Math.abs((angle * 2))); }; swimSpd = (swimSpd - 0.2); if (swimSpd <= 0){ swimSpd = (maxSwimSpd - (Math.random() * 15)); angle = (startAngle - (Math.random() * varAngle)); }; }; }; } else { if ((((action == "fight")) || ((action == "up")))){ timer++; if (Math.random() < changeOfInstability){ if (facing == "Left"){ adjustImage(action, "Right"); } else { adjustImage(action, "Left"); }; }; if (x < _arg1.poleX){ if ((((facing == "Left")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); } else { if ((((facing == "Right")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); }; }; } else { if ((((facing == "Left")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); } else { if ((((facing == "Right")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); }; }; }; if (facing == "Left"){ x = (x - instability); } else { x = (x + instability); }; _arg2.fightMeter.updateArea(tolerancePos); if (_arg2.fightStat == "isHit"){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; adjustImage("up", facing); } else { if (_arg2.fightStat == "isLoose"){ _arg2.lineTense = (_arg2.lineTense - relaxDown); if (_arg2.lineTense >= 0){ x = (x + (-10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y > -380){ y = (y - (10 * Math.sin(_arg1.pullAngle))); _arg2.vScroll(Math.round((-10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((-10 * Math.sin(_arg1.pullAngle)))); } else { if (_arg1.y < 400){ y = (y - (10 * Math.sin(_arg1.pullAngle))); if (y > 400){ y = 400; }; }; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("fight", facing); } else { adjustImage("return", facing); }; } else { if (_arg2.fightStat == "isTooMuch"){ _arg2.lineTense = (_arg2.lineTense + tenseUp); if (_arg2.lineTense <= 100){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("up", facing); } else { adjustImage("return", facing); }; }; }; }; _arg1.x = (x + bite.x); _arg1.y = (y + bite.y); } else { if (action == "return"){ if (y < defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + 5); if (y > defY){ y = defY; }; } else { if (y > defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y - (0.8 * 5)); if (y < defY){ y = defY; }; } else { if (y == defY){ adjustImage("swim", facing); }; }; }; } else { if (action == "run"){ if (facing == "Left"){ x = (x - (maxSwimSpd * 2)); } else { x = (x + (maxSwimSpd * 2)); }; if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (!(aggArea.hitTestObject(_arg1.noise))))){ adjustImage("swim", facing); }; }; }; }; }; } } }//package
Section 31
//BGMintro (BGMintro) package { import flash.media.*; public dynamic class BGMintro extends Sound { } }//package
Section 32
//BigBubble (BigBubble) package { import flash.display.*; public dynamic class BigBubble extends MovieClip { public var isFinish:Boolean; public function BigBubble(){ addFrameScript(0, frame1, 35, frame36); } public function init(){ x = ((Math.random() * 600) + 20); y = 480; } function frame1(){ isFinish = false; } function frame36(){ stop(); isFinish = true; } } }//package
Section 33
//Bubble (Bubble) package { import flash.display.*; public dynamic class Bubble extends MovieClip { public const dxmod:Number = 1; public var defX:Number; public var baitDepth; public var isNoMore:Boolean; public var dy:Number; public var dx; public var lifeTime; public function Bubble(){ addFrameScript(0, frame1, 19, frame20); } public function init(_arg1, _arg2){ lifeTime = ((Math.random() * 20) + 60); baitDepth = _arg1; x = ((Math.random() * 600) + 20); defX = x; y = ((_arg2 + baitDepth) - ((Math.random() * 100) + 20)); dx = (((Math.floor((Math.random() * 2)) * 2) - 1) * 3); isNoMore = false; } public function finalize(){ } function frame1(){ } function frame20(){ stop(); } public function routine(){ dy = -(((Math.random() * 5) + 2)); lifeTime--; if (lifeTime <= 0){ isNoMore = true; }; y = (y + dy); x = (x + dx); if (x > defX){ dx = (dx - dxmod); } else { if (x < defX){ dx = (dx + dxmod); }; }; } } }//package
Section 34
//clickSE (clickSE) package { import flash.media.*; public dynamic class clickSE extends Sound { } }//package
Section 35
//ImageBarracuda (ImageBarracuda) package { import flash.display.*; public dynamic class ImageBarracuda extends MovieClip { } }//package
Section 36
//ImageBigEyeTuna (ImageBigEyeTuna) package { import flash.display.*; public dynamic class ImageBigEyeTuna extends MovieClip { } }//package
Section 37
//ImageBlackFinTuna (ImageBlackFinTuna) package { import flash.display.*; public dynamic class ImageBlackFinTuna extends MovieClip { } }//package
Section 38
//ImageCooperSnapper (ImageCooperSnapper) package { import flash.display.*; public dynamic class ImageCooperSnapper extends MovieClip { } }//package
Section 39
//ImageDogSnapper (ImageDogSnapper) package { import flash.display.*; public dynamic class ImageDogSnapper extends MovieClip { } }//package
Section 40
//ImageHorseEyeJack (ImageHorseEyeJack) package { import flash.display.*; public dynamic class ImageHorseEyeJack extends MovieClip { } }//package
Section 41
//ImageKakapMerah (ImageKakapMerah) package { import flash.display.*; public dynamic class ImageKakapMerah extends MovieClip { } }//package
Section 42
//ImageKingMackeral (ImageKingMackeral) package { import flash.display.*; public dynamic class ImageKingMackeral extends MovieClip { } }//package
Section 43
//ImageMackaro (ImageMackaro) package { import flash.display.*; public dynamic class ImageMackaro extends MovieClip { } }//package
Section 44
//ImageMarlin (ImageMarlin) package { import flash.display.*; public dynamic class ImageMarlin extends MovieClip { } }//package
Section 45
//ImagePermit (ImagePermit) package { import flash.display.*; public dynamic class ImagePermit extends MovieClip { } }//package
Section 46
//ImagePlaneSnapper (ImagePlaneSnapper) package { import flash.display.*; public dynamic class ImagePlaneSnapper extends MovieClip { } }//package
Section 47
//ImageUnknown (ImageUnknown) package { import flash.display.*; public dynamic class ImageUnknown extends MovieClip { } }//package
Section 48
//ImgBarra (ImgBarra) package { import flash.display.*; public dynamic class ImgBarra extends MovieClip { } }//package
Section 49
//ImgBigEyeTuna (ImgBigEyeTuna) package { import flash.display.*; public dynamic class ImgBigEyeTuna extends MovieClip { } }//package
Section 50
//ImgBlackFinTuna (ImgBlackFinTuna) package { import flash.display.*; public dynamic class ImgBlackFinTuna extends MovieClip { } }//package
Section 51
//ImgCopSnap (ImgCopSnap) package { import flash.display.*; public dynamic class ImgCopSnap extends MovieClip { } }//package
Section 52
//ImgDogSnap (ImgDogSnap) package { import flash.display.*; public dynamic class ImgDogSnap extends MovieClip { } }//package
Section 53
//ImgHorEyeJack (ImgHorEyeJack) package { import flash.display.*; public dynamic class ImgHorEyeJack extends MovieClip { } }//package
Section 54
//ImgKingMack (ImgKingMack) package { import flash.display.*; public dynamic class ImgKingMack extends MovieClip { } }//package
Section 55
//ImgMack (ImgMack) package { import flash.display.*; public dynamic class ImgMack extends MovieClip { } }//package
Section 56
//ImgMarlin (ImgMarlin) package { import flash.display.*; public dynamic class ImgMarlin extends MovieClip { } }//package
Section 57
//ImgPermit (ImgPermit) package { import flash.display.*; public dynamic class ImgPermit extends MovieClip { } }//package
Section 58
//ImgPlaSnap (ImgPlaSnap) package { import flash.display.*; public dynamic class ImgPlaSnap extends MovieClip { } }//package
Section 59
//ImgRedSnap (ImgRedSnap) package { import flash.display.*; public dynamic class ImgRedSnap extends MovieClip { } }//package
Section 60
//ImgUnknown (ImgUnknown) package { import flash.display.*; public dynamic class ImgUnknown extends MovieClip { } }//package
Section 61
//Kakap1 (Kakap1) package { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class Kakap1 extends MovieClip { public const varAngle:Number = 1.5707963267949; public const minSpamY:Number = 480; public const instability:Number = 1; public const changeOfInstability:Number = 0.05; public const tenseUp:Number = 2; public const varSpamY:Number = 20; public const relaxDown:Number = 0.5; public const minWeight:Number = 20; public const maxSwimSpd:Number = 15; public const nama:String = "Red Snapper"; public const startAngle:Number = 0.785398163397448; public const varWeight:Number = 80; public const minSwimSpd:Number = 0; public const hitTolerance:Number = 30; public var swimSpd:Number; public var tolerancePos:Number; public var isCatched:Boolean; public var defY:Number; public var aggArea:MovieClip; public var action; public var timer:Number; public var weight:Number; public var dy:Number; public var angle:Number; public var facing:String; public var bite:MovieClip; public function Kakap1(){ addFrameScript(0, frame1); } public function init(){ timer = 0; weight = (minWeight + (Math.random() * varWeight)); isCatched = false; action = "swim"; angle = (startAngle - (Math.random() * varAngle)); swimSpd = (maxSwimSpd - (Math.random() * 15)); if (Math.random() < 0.5){ facing = "Left"; x = 740; } else { facing = "Right"; x = -100; }; gotoAndStop((action + facing)); y = Math.round((minSpamY + (Math.floor((Math.random() * varSpamY)) * 20))); defY = y; tolerancePos = (50 - (hitTolerance / 2)); } public function adjustImage(_arg1, _arg2){ if (action != _arg1){ action = _arg1; gotoAndStop((action + facing)); }; if (facing != _arg2){ facing = _arg2; gotoAndStop((action + facing)); }; } public function finalize(){ } function frame1(){ } public function routine(_arg1, _arg2){ var _local3:Number; var _local4:Number; if (action == "swim"){ if (((((!((_arg1 == null))) && (aggArea.hitTestObject(_arg1.dummy)))) && (!((_arg1.action == "bitten"))))){ if (_arg2.deepsea.y > -100){ if (facing == "Left"){ adjustImage("return", "Right"); } else { adjustImage("return", "Left"); }; } else { _local3 = (Math.sqrt((Math.pow(((x + bite.x) - _arg1.x), 2) + Math.pow(((y + bite.y) - _arg1.y), 2))) / 3); _local4 = Math.atan(((_arg1.y - (y + bite.y)) / (_arg1.x - (x + bite.x)))); if (_arg1.x < (x + bite.x)){ _local4 = (_local4 + Math.PI); }; x = (x + (_local3 * Math.cos(_local4))); y = (y + (_local3 * Math.sin(_local4))); if (bite.hitTestObject(_arg1.dummy)){ adjustImage("fight", facing); _arg1.routine("bitten"); timer = 0; _arg2.fightMeter.init(tolerancePos, hitTolerance, (tolerancePos + (hitTolerance / 2))); _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); }; }; } else { if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (aggArea.hitTestObject(_arg1.noise)))){ if (facing == "Left"){ adjustImage("run", "Right"); } else { adjustImage("run", "Left"); }; } else { if (facing == "Left"){ x = (x - (swimSpd * Math.cos(angle))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (swimSpd * Math.cos(angle))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + (swimSpd * Math.sin(angle))); if ((y - _arg2.deepsea.y) < 200){ angle = (angle + Math.abs((angle * 2))); }; if ((y - _arg2.deepsea.y) > 800){ angle = (angle - Math.abs((angle * 2))); }; swimSpd = (swimSpd - 0.2); if (swimSpd <= 0){ swimSpd = (maxSwimSpd - (Math.random() * 15)); angle = (startAngle - (Math.random() * varAngle)); }; }; }; } else { if ((((action == "fight")) || ((action == "up")))){ timer++; if (Math.random() < changeOfInstability){ if (facing == "Left"){ adjustImage(action, "Right"); } else { adjustImage(action, "Left"); }; }; if (x < _arg1.poleX){ if ((((facing == "Left")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); } else { if ((((facing == "Right")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); }; }; } else { if ((((facing == "Left")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); } else { if ((((facing == "Right")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); }; }; }; if (facing == "Left"){ x = (x - instability); } else { x = (x + instability); }; _arg2.fightMeter.updateArea(tolerancePos); if (_arg2.fightStat == "isHit"){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; adjustImage("up", facing); } else { if (_arg2.fightStat == "isLoose"){ _arg2.lineTense = (_arg2.lineTense - relaxDown); if (_arg2.lineTense >= 0){ x = (x + (-10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y > -380){ y = (y - (10 * Math.sin(_arg1.pullAngle))); _arg2.vScroll(Math.round((-10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((-10 * Math.sin(_arg1.pullAngle)))); } else { if (_arg1.y < 400){ y = (y - (10 * Math.sin(_arg1.pullAngle))); if (y > 400){ y = 400; }; }; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("fight", facing); } else { adjustImage("return", facing); }; } else { if (_arg2.fightStat == "isTooMuch"){ _arg2.lineTense = (_arg2.lineTense + tenseUp); if (_arg2.lineTense <= 100){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("up", facing); } else { adjustImage("return", facing); }; }; }; }; _arg1.x = (x + bite.x); _arg1.y = (y + bite.y); } else { if (action == "return"){ if (y < defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + 5); if (y > defY){ y = defY; }; } else { if (y > defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y - (0.8 * 5)); if (y < defY){ y = defY; }; } else { if (y == defY){ adjustImage("swim", facing); }; }; }; } else { if (action == "run"){ if (facing == "Left"){ x = (x - (maxSwimSpd * 2)); } else { x = (x + (maxSwimSpd * 2)); }; if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (!(aggArea.hitTestObject(_arg1.noise))))){ adjustImage("swim", facing); }; }; }; }; }; } } }//package
Section 62
//Kakap2 (Kakap2) package { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class Kakap2 extends MovieClip { public const varAngle:Number = 1.5707963267949; public const instability:Number = 1; public const changeOfInstability:Number = 0.05; public const minSpamY:Number = 480; public const tenseUp:Number = 2; public const varSpamY:Number = 20; public const relaxDown:Number = 0.5; public const minWeight:Number = 20; public const maxSwimSpd:Number = 15; public const nama:String = "Cooper Snapper"; public const startAngle:Number = 0.785398163397448; public const varWeight:Number = 80; public const minSwimSpd:Number = 0; public const hitTolerance:Number = 30; public var swimSpd:Number; public var tolerancePos:Number; public var isCatched:Boolean; public var defY:Number; public var aggArea:MovieClip; public var action; public var timer:Number; public var weight:Number; public var dy:Number; public var angle:Number; public var facing:String; public var bite:MovieClip; public function Kakap2(){ addFrameScript(0, frame1); } public function init(){ timer = 0; weight = (minWeight + (Math.random() * varWeight)); isCatched = false; action = "swim"; angle = (startAngle - (Math.random() * varAngle)); swimSpd = (maxSwimSpd - (Math.random() * 15)); if (Math.random() < 0.5){ facing = "Left"; x = 740; } else { facing = "Right"; x = -100; }; gotoAndStop((action + facing)); y = Math.round((minSpamY + (Math.floor((Math.random() * varSpamY)) * 20))); defY = y; tolerancePos = (50 - (hitTolerance / 2)); } public function adjustImage(_arg1, _arg2){ if (action != _arg1){ action = _arg1; gotoAndStop((action + facing)); }; if (facing != _arg2){ facing = _arg2; gotoAndStop((action + facing)); }; } public function finalize(){ } function frame1(){ } public function routine(_arg1, _arg2){ var _local3:Number; var _local4:Number; if (action == "swim"){ if (((((!((_arg1 == null))) && (aggArea.hitTestObject(_arg1.dummy)))) && (!((_arg1.action == "bitten"))))){ if (_arg2.deepsea.y > -100){ if (facing == "Left"){ adjustImage("return", "Right"); } else { adjustImage("return", "Left"); }; } else { _local3 = (Math.sqrt((Math.pow(((x + bite.x) - _arg1.x), 2) + Math.pow(((y + bite.y) - _arg1.y), 2))) / 3); _local4 = Math.atan(((_arg1.y - (y + bite.y)) / (_arg1.x - (x + bite.x)))); if (_arg1.x < (x + bite.x)){ _local4 = (_local4 + Math.PI); }; x = (x + (_local3 * Math.cos(_local4))); y = (y + (_local3 * Math.sin(_local4))); if (bite.hitTestObject(_arg1.dummy)){ adjustImage("fight", facing); _arg1.routine("bitten"); timer = 0; _arg2.fightMeter.init(tolerancePos, hitTolerance, (tolerancePos + (hitTolerance / 2))); _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); }; }; } else { if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (aggArea.hitTestObject(_arg1.noise)))){ if (facing == "Left"){ adjustImage("run", "Right"); } else { adjustImage("run", "Left"); }; } else { if (facing == "Left"){ x = (x - (swimSpd * Math.cos(angle))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (swimSpd * Math.cos(angle))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + (swimSpd * Math.sin(angle))); if ((y - _arg2.deepsea.y) < 200){ angle = (angle + Math.abs((angle * 2))); }; if ((y - _arg2.deepsea.y) > 800){ angle = (angle - Math.abs((angle * 2))); }; swimSpd = (swimSpd - 0.2); if (swimSpd <= 0){ swimSpd = (maxSwimSpd - (Math.random() * 15)); angle = (startAngle - (Math.random() * varAngle)); }; }; }; } else { if ((((action == "fight")) || ((action == "up")))){ timer++; if (Math.random() < changeOfInstability){ if (facing == "Left"){ adjustImage(action, "Right"); } else { adjustImage(action, "Left"); }; }; if (x < _arg1.poleX){ if ((((facing == "Left")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); } else { if ((((facing == "Right")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); }; }; } else { if ((((facing == "Left")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); } else { if ((((facing == "Right")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); }; }; }; if (facing == "Left"){ x = (x - instability); } else { x = (x + instability); }; _arg2.fightMeter.updateArea(tolerancePos); if (_arg2.fightStat == "isHit"){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; adjustImage("up", facing); } else { if (_arg2.fightStat == "isLoose"){ _arg2.lineTense = (_arg2.lineTense - relaxDown); if (_arg2.lineTense >= 0){ x = (x + (-10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y > -380){ y = (y - (10 * Math.sin(_arg1.pullAngle))); _arg2.vScroll(Math.round((-10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((-10 * Math.sin(_arg1.pullAngle)))); } else { if (_arg1.y < 400){ y = (y - (10 * Math.sin(_arg1.pullAngle))); if (y > 400){ y = 400; }; }; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("fight", facing); } else { adjustImage("return", facing); }; } else { if (_arg2.fightStat == "isTooMuch"){ _arg2.lineTense = (_arg2.lineTense + tenseUp); if (_arg2.lineTense <= 100){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("up", facing); } else { adjustImage("return", facing); }; }; }; }; _arg1.x = (x + bite.x); _arg1.y = (y + bite.y); } else { if (action == "return"){ if (y < defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + 5); if (y > defY){ y = defY; }; } else { if (y > defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y - (0.8 * 5)); if (y < defY){ y = defY; }; } else { if (y == defY){ adjustImage("swim", facing); }; }; }; } else { if (action == "run"){ if (facing == "Left"){ x = (x - (maxSwimSpd * 2)); } else { x = (x + (maxSwimSpd * 2)); }; if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (!(aggArea.hitTestObject(_arg1.noise))))){ adjustImage("swim", facing); }; }; }; }; }; } } }//package
Section 63
//Kakap3 (Kakap3) package { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class Kakap3 extends MovieClip { public const varAngle:Number = 1.5707963267949; public const instability:Number = 1; public const changeOfInstability:Number = 0.05; public const minSpamY:Number = 480; public const tenseUp:Number = 2; public const varSpamY:Number = 20; public const relaxDown:Number = 0.5; public const minWeight:Number = 20; public const maxSwimSpd:Number = 15; public const nama:String = "Plane Snapper"; public const startAngle:Number = 0.785398163397448; public const varWeight:Number = 80; public const minSwimSpd:Number = 0; public const hitTolerance:Number = 30; public var swimSpd:Number; public var tolerancePos:Number; public var isCatched:Boolean; public var defY:Number; public var aggArea:MovieClip; public var action; public var timer:Number; public var weight:Number; public var dy:Number; public var angle:Number; public var facing:String; public var bite:MovieClip; public function Kakap3(){ addFrameScript(0, frame1); } public function init(){ timer = 0; weight = (minWeight + (Math.random() * varWeight)); isCatched = false; action = "swim"; angle = (startAngle - (Math.random() * varAngle)); swimSpd = (maxSwimSpd - (Math.random() * 15)); if (Math.random() < 0.5){ facing = "Left"; x = 740; } else { facing = "Right"; x = -100; }; gotoAndStop((action + facing)); y = Math.round((minSpamY + (Math.floor((Math.random() * varSpamY)) * 20))); defY = y; tolerancePos = (50 - (hitTolerance / 2)); } public function adjustImage(_arg1, _arg2){ if (action != _arg1){ action = _arg1; gotoAndStop((action + facing)); }; if (facing != _arg2){ facing = _arg2; gotoAndStop((action + facing)); }; } public function finalize(){ } function frame1(){ } public function routine(_arg1, _arg2){ var _local3:Number; var _local4:Number; if (action == "swim"){ if (((((!((_arg1 == null))) && (aggArea.hitTestObject(_arg1.dummy)))) && (!((_arg1.action == "bitten"))))){ if (_arg2.deepsea.y > -100){ if (facing == "Left"){ adjustImage("return", "Right"); } else { adjustImage("return", "Left"); }; } else { _local3 = (Math.sqrt((Math.pow(((x + bite.x) - _arg1.x), 2) + Math.pow(((y + bite.y) - _arg1.y), 2))) / 3); _local4 = Math.atan(((_arg1.y - (y + bite.y)) / (_arg1.x - (x + bite.x)))); if (_arg1.x < (x + bite.x)){ _local4 = (_local4 + Math.PI); }; x = (x + (_local3 * Math.cos(_local4))); y = (y + (_local3 * Math.sin(_local4))); if (bite.hitTestObject(_arg1.dummy)){ adjustImage("fight", facing); _arg1.routine("bitten"); timer = 0; _arg2.fightMeter.init(tolerancePos, hitTolerance, (tolerancePos + (hitTolerance / 2))); _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); }; }; } else { if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (aggArea.hitTestObject(_arg1.noise)))){ if (facing == "Left"){ adjustImage("run", "Right"); } else { adjustImage("run", "Left"); }; } else { if (facing == "Left"){ x = (x - (swimSpd * Math.cos(angle))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (swimSpd * Math.cos(angle))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + (swimSpd * Math.sin(angle))); if ((y - _arg2.deepsea.y) < 200){ angle = (angle + Math.abs((angle * 2))); }; if ((y - _arg2.deepsea.y) > 800){ angle = (angle - Math.abs((angle * 2))); }; swimSpd = (swimSpd - 0.2); if (swimSpd <= 0){ swimSpd = (maxSwimSpd - (Math.random() * 15)); angle = (startAngle - (Math.random() * varAngle)); }; }; }; } else { if ((((action == "fight")) || ((action == "up")))){ timer++; if (Math.random() < changeOfInstability){ if (facing == "Left"){ adjustImage(action, "Right"); } else { adjustImage(action, "Left"); }; }; if (x < _arg1.poleX){ if ((((facing == "Left")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); } else { if ((((facing == "Right")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); }; }; } else { if ((((facing == "Left")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); } else { if ((((facing == "Right")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); }; }; }; if (facing == "Left"){ x = (x - instability); } else { x = (x + instability); }; _arg2.fightMeter.updateArea(tolerancePos); if (_arg2.fightStat == "isHit"){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; adjustImage("up", facing); } else { if (_arg2.fightStat == "isLoose"){ _arg2.lineTense = (_arg2.lineTense - relaxDown); if (_arg2.lineTense >= 0){ x = (x + (-10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y > -380){ y = (y - (10 * Math.sin(_arg1.pullAngle))); _arg2.vScroll(Math.round((-10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((-10 * Math.sin(_arg1.pullAngle)))); } else { if (_arg1.y < 400){ y = (y - (10 * Math.sin(_arg1.pullAngle))); if (y > 400){ y = 400; }; }; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("fight", facing); } else { adjustImage("return", facing); }; } else { if (_arg2.fightStat == "isTooMuch"){ _arg2.lineTense = (_arg2.lineTense + tenseUp); if (_arg2.lineTense <= 100){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("up", facing); } else { adjustImage("return", facing); }; }; }; }; _arg1.x = (x + bite.x); _arg1.y = (y + bite.y); } else { if (action == "return"){ if (y < defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + 5); if (y > defY){ y = defY; }; } else { if (y > defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y - (0.8 * 5)); if (y < defY){ y = defY; }; } else { if (y == defY){ adjustImage("swim", facing); }; }; }; } else { if (action == "run"){ if (facing == "Left"){ x = (x - (maxSwimSpd * 2)); } else { x = (x + (maxSwimSpd * 2)); }; if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (!(aggArea.hitTestObject(_arg1.noise))))){ adjustImage("swim", facing); }; }; }; }; }; } } }//package
Section 64
//Kakap4 (Kakap4) package { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class Kakap4 extends MovieClip { public const varAngle:Number = 1.5707963267949; public const minSpamY:Number = 480; public const instability:Number = 1; public const changeOfInstability:Number = 0.05; public const tenseUp:Number = 2; public const varSpamY:Number = 20; public const relaxDown:Number = 0.5; public const minWeight:Number = 20; public const maxSwimSpd:Number = 15; public const nama:String = "Dog Snapper"; public const startAngle:Number = 0.785398163397448; public const varWeight:Number = 80; public const minSwimSpd:Number = 0; public const hitTolerance:Number = 30; public var swimSpd:Number; public var tolerancePos:Number; public var isCatched:Boolean; public var defY:Number; public var aggArea:MovieClip; public var action; public var timer:Number; public var weight:Number; public var dy:Number; public var angle:Number; public var facing:String; public var bite:MovieClip; public function Kakap4(){ addFrameScript(0, frame1); } public function init(){ timer = 0; weight = (minWeight + (Math.random() * varWeight)); isCatched = false; action = "swim"; angle = (startAngle - (Math.random() * varAngle)); swimSpd = (maxSwimSpd - (Math.random() * 15)); if (Math.random() < 0.5){ facing = "Left"; x = 740; } else { facing = "Right"; x = -100; }; gotoAndStop((action + facing)); y = Math.round((minSpamY + (Math.floor((Math.random() * varSpamY)) * 20))); defY = y; tolerancePos = (50 - (hitTolerance / 2)); } public function adjustImage(_arg1, _arg2){ if (action != _arg1){ action = _arg1; gotoAndStop((action + facing)); }; if (facing != _arg2){ facing = _arg2; gotoAndStop((action + facing)); }; } public function finalize(){ } function frame1(){ } public function routine(_arg1, _arg2){ var _local3:Number; var _local4:Number; if (action == "swim"){ if (((((!((_arg1 == null))) && (aggArea.hitTestObject(_arg1.dummy)))) && (!((_arg1.action == "bitten"))))){ if (_arg2.deepsea.y > -100){ if (facing == "Left"){ adjustImage("return", "Right"); } else { adjustImage("return", "Left"); }; } else { _local3 = (Math.sqrt((Math.pow(((x + bite.x) - _arg1.x), 2) + Math.pow(((y + bite.y) - _arg1.y), 2))) / 3); _local4 = Math.atan(((_arg1.y - (y + bite.y)) / (_arg1.x - (x + bite.x)))); if (_arg1.x < (x + bite.x)){ _local4 = (_local4 + Math.PI); }; x = (x + (_local3 * Math.cos(_local4))); y = (y + (_local3 * Math.sin(_local4))); if (bite.hitTestObject(_arg1.dummy)){ adjustImage("fight", facing); _arg1.routine("bitten"); timer = 0; _arg2.fightMeter.init(tolerancePos, hitTolerance, (tolerancePos + (hitTolerance / 2))); _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); }; }; } else { if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (aggArea.hitTestObject(_arg1.noise)))){ if (facing == "Left"){ adjustImage("run", "Right"); } else { adjustImage("run", "Left"); }; } else { if (facing == "Left"){ x = (x - (swimSpd * Math.cos(angle))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (swimSpd * Math.cos(angle))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + (swimSpd * Math.sin(angle))); if ((y - _arg2.deepsea.y) < 200){ angle = (angle + Math.abs((angle * 2))); }; if ((y - _arg2.deepsea.y) > 800){ angle = (angle - Math.abs((angle * 2))); }; swimSpd = (swimSpd - 0.2); if (swimSpd <= 0){ swimSpd = (maxSwimSpd - (Math.random() * 15)); angle = (startAngle - (Math.random() * varAngle)); }; }; }; } else { if ((((action == "fight")) || ((action == "up")))){ timer++; if (Math.random() < changeOfInstability){ if (facing == "Left"){ adjustImage(action, "Right"); } else { adjustImage(action, "Left"); }; }; if (x < _arg1.poleX){ if ((((facing == "Left")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); } else { if ((((facing == "Right")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); }; }; } else { if ((((facing == "Left")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); } else { if ((((facing == "Right")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); }; }; }; if (facing == "Left"){ x = (x - instability); } else { x = (x + instability); }; _arg2.fightMeter.updateArea(tolerancePos); if (_arg2.fightStat == "isHit"){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; adjustImage("up", facing); } else { if (_arg2.fightStat == "isLoose"){ _arg2.lineTense = (_arg2.lineTense - relaxDown); if (_arg2.lineTense >= 0){ x = (x + (-10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y > -380){ y = (y - (10 * Math.sin(_arg1.pullAngle))); _arg2.vScroll(Math.round((-10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((-10 * Math.sin(_arg1.pullAngle)))); } else { if (_arg1.y < 400){ y = (y - (10 * Math.sin(_arg1.pullAngle))); if (y > 400){ y = 400; }; }; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("fight", facing); } else { adjustImage("return", facing); }; } else { if (_arg2.fightStat == "isTooMuch"){ _arg2.lineTense = (_arg2.lineTense + tenseUp); if (_arg2.lineTense <= 100){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("up", facing); } else { adjustImage("return", facing); }; }; }; }; _arg1.x = (x + bite.x); _arg1.y = (y + bite.y); } else { if (action == "return"){ if (y < defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + 5); if (y > defY){ y = defY; }; } else { if (y > defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y - (0.8 * 5)); if (y < defY){ y = defY; }; } else { if (y == defY){ adjustImage("swim", facing); }; }; }; } else { if (action == "run"){ if (facing == "Left"){ x = (x - (maxSwimSpd * 2)); } else { x = (x + (maxSwimSpd * 2)); }; if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (!(aggArea.hitTestObject(_arg1.noise))))){ adjustImage("swim", facing); }; }; }; }; }; } } }//package
Section 65
//Kuwe1 (Kuwe1) package { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class Kuwe1 extends MovieClip { public const varAngle:Number = 1.5707963267949; public const minSpamY:Number = 480; public const instability:Number = 2; public const changeOfInstability:Number = 0.3; public const tenseUp:Number = 2; public const varSpamY:Number = 20; public const relaxDown:Number = 0.5; public const minWeight:Number = 80; public const maxSwimSpd:Number = 20; public const nama:String = "Permit"; public const startAngle:Number = 0.785398163397448; public const varWeight:Number = 120; public const minSwimSpd:Number = 0; public const hitTolerance:Number = 30; public var swimSpd:Number; public var tolerancePos:Number; public var isCatched:Boolean; public var defY:Number; public var aggArea:MovieClip; public var action; public var timer:Number; public var weight:Number; public var dy:Number; public var angle:Number; public var facing:String; public var bite:MovieClip; public function Kuwe1(){ addFrameScript(0, frame1); } public function init(){ timer = 0; weight = (minWeight + (Math.random() * varWeight)); isCatched = false; action = "swim"; angle = (startAngle - (Math.random() * varAngle)); swimSpd = (maxSwimSpd - (Math.random() * 15)); if (Math.random() < 0.5){ facing = "Left"; x = 740; } else { facing = "Right"; x = -100; }; gotoAndStop((action + facing)); y = Math.round((minSpamY + (Math.floor((Math.random() * varSpamY)) * 20))); defY = y; tolerancePos = (50 - (hitTolerance / 2)); } public function adjustImage(_arg1, _arg2){ if (action != _arg1){ action = _arg1; gotoAndStop((action + facing)); }; if (facing != _arg2){ facing = _arg2; gotoAndStop((action + facing)); }; } public function finalize(){ } function frame1(){ } public function routine(_arg1, _arg2){ var _local3:Number; var _local4:Number; if (action == "swim"){ if (((((!((_arg1 == null))) && (aggArea.hitTestObject(_arg1.dummy)))) && (!((_arg1.action == "bitten"))))){ if (_arg2.deepsea.y > -100){ if (facing == "Left"){ adjustImage("return", "Right"); } else { adjustImage("return", "Left"); }; } else { _local3 = (Math.sqrt((Math.pow(((x + bite.x) - _arg1.x), 2) + Math.pow(((y + bite.y) - _arg1.y), 2))) / 3); _local4 = Math.atan(((_arg1.y - (y + bite.y)) / (_arg1.x - (x + bite.x)))); if (_arg1.x < (x + bite.x)){ _local4 = (_local4 + Math.PI); }; x = (x + (_local3 * Math.cos(_local4))); y = (y + (_local3 * Math.sin(_local4))); if (bite.hitTestObject(_arg1.dummy)){ adjustImage("fight", facing); _arg1.routine("bitten"); timer = 0; _arg2.fightMeter.init(tolerancePos, hitTolerance, (tolerancePos + (hitTolerance / 2))); _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); }; }; } else { if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (aggArea.hitTestObject(_arg1.noise)))){ if (facing == "Left"){ adjustImage("run", "Right"); } else { adjustImage("run", "Left"); }; } else { if (facing == "Left"){ x = (x - (swimSpd * Math.cos(angle))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (swimSpd * Math.cos(angle))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + (swimSpd * Math.sin(angle))); if ((y - _arg2.deepsea.y) < 200){ angle = (angle + Math.abs((angle * 2))); }; if ((y - _arg2.deepsea.y) > 800){ angle = (angle - Math.abs((angle * 2))); }; swimSpd = (swimSpd - 0.2); if (swimSpd <= 0){ swimSpd = (maxSwimSpd - (Math.random() * 15)); angle = (startAngle - (Math.random() * varAngle)); }; }; }; } else { if ((((action == "fight")) || ((action == "up")))){ timer++; if (Math.random() < changeOfInstability){ if (facing == "Left"){ adjustImage(action, "Right"); } else { adjustImage(action, "Left"); }; }; if (x < _arg1.poleX){ if ((((facing == "Left")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); } else { if ((((facing == "Right")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); }; }; } else { if ((((facing == "Left")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); } else { if ((((facing == "Right")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); }; }; }; if (facing == "Left"){ x = (x - instability); } else { x = (x + instability); }; _arg2.fightMeter.updateArea(tolerancePos); if (_arg2.fightStat == "isHit"){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; adjustImage("up", facing); } else { if (_arg2.fightStat == "isLoose"){ _arg2.lineTense = (_arg2.lineTense - relaxDown); if (_arg2.lineTense >= 0){ x = (x + (-10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y > -380){ y = (y - (10 * Math.sin(_arg1.pullAngle))); _arg2.vScroll(Math.round((-10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((-10 * Math.sin(_arg1.pullAngle)))); } else { if (_arg1.y < 400){ y = (y - (10 * Math.sin(_arg1.pullAngle))); if (y > 400){ y = 400; }; }; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("fight", facing); } else { adjustImage("return", facing); }; } else { if (_arg2.fightStat == "isTooMuch"){ _arg2.lineTense = (_arg2.lineTense + tenseUp); if (_arg2.lineTense <= 100){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("up", facing); } else { adjustImage("return", facing); }; }; }; }; _arg1.x = (x + bite.x); _arg1.y = (y + bite.y); } else { if (action == "return"){ if (y < defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + 5); if (y > defY){ y = defY; }; } else { if (y > defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y - (0.8 * 5)); if (y < defY){ y = defY; }; } else { if (y == defY){ adjustImage("swim", facing); }; }; }; } else { if (action == "run"){ if (facing == "Left"){ x = (x - (maxSwimSpd * 2)); } else { x = (x + (maxSwimSpd * 2)); }; if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (!(aggArea.hitTestObject(_arg1.noise))))){ adjustImage("swim", facing); }; }; }; }; }; } } }//package
Section 66
//Kuwe2 (Kuwe2) package { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class Kuwe2 extends MovieClip { public const varAngle:Number = 1.5707963267949; public const minSpamY:Number = 480; public const instability:Number = 2; public const changeOfInstability:Number = 0.3; public const tenseUp:Number = 2; public const varSpamY:Number = 20; public const relaxDown:Number = 0.5; public const minWeight:Number = 80; public const maxSwimSpd:Number = 15; public const nama:String = "Horse Eye Jack"; public const startAngle:Number = 0.785398163397448; public const varWeight:Number = 120; public const minSwimSpd:Number = 0; public const hitTolerance:Number = 30; public var swimSpd:Number; public var tolerancePos:Number; public var isCatched:Boolean; public var defY:Number; public var aggArea:MovieClip; public var action; public var timer:Number; public var weight:Number; public var dy:Number; public var angle:Number; public var facing:String; public var bite:MovieClip; public function Kuwe2(){ addFrameScript(0, frame1); } public function init(){ timer = 0; weight = (minWeight + (Math.random() * varWeight)); isCatched = false; action = "swim"; angle = (startAngle - (Math.random() * varAngle)); swimSpd = (maxSwimSpd - (Math.random() * 20)); if (Math.random() < 0.5){ facing = "Left"; x = 740; } else { facing = "Right"; x = -100; }; gotoAndStop((action + facing)); y = Math.round((minSpamY + (Math.floor((Math.random() * varSpamY)) * 20))); defY = y; tolerancePos = (50 - (hitTolerance / 2)); } public function adjustImage(_arg1, _arg2){ if (action != _arg1){ action = _arg1; gotoAndStop((action + facing)); }; if (facing != _arg2){ facing = _arg2; gotoAndStop((action + facing)); }; } public function finalize(){ } function frame1(){ } public function routine(_arg1, _arg2){ var _local3:Number; var _local4:Number; if (action == "swim"){ if (((((!((_arg1 == null))) && (aggArea.hitTestObject(_arg1.dummy)))) && (!((_arg1.action == "bitten"))))){ if (_arg2.deepsea.y > -100){ if (facing == "Left"){ adjustImage("return", "Right"); } else { adjustImage("return", "Left"); }; } else { _local3 = (Math.sqrt((Math.pow(((x + bite.x) - _arg1.x), 2) + Math.pow(((y + bite.y) - _arg1.y), 2))) / 3); _local4 = Math.atan(((_arg1.y - (y + bite.y)) / (_arg1.x - (x + bite.x)))); if (_arg1.x < (x + bite.x)){ _local4 = (_local4 + Math.PI); }; x = (x + (_local3 * Math.cos(_local4))); y = (y + (_local3 * Math.sin(_local4))); if (bite.hitTestObject(_arg1.dummy)){ adjustImage("fight", facing); _arg1.routine("bitten"); timer = 0; _arg2.fightMeter.init(tolerancePos, hitTolerance, (tolerancePos + (hitTolerance / 2))); _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); }; }; } else { if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (aggArea.hitTestObject(_arg1.noise)))){ if (facing == "Left"){ adjustImage("run", "Right"); } else { adjustImage("run", "Left"); }; } else { if (facing == "Left"){ x = (x - (swimSpd * Math.cos(angle))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (swimSpd * Math.cos(angle))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + (swimSpd * Math.sin(angle))); if ((y - _arg2.deepsea.y) < 200){ angle = (angle + Math.abs((angle * 2))); }; if ((y - _arg2.deepsea.y) > 800){ angle = (angle - Math.abs((angle * 2))); }; swimSpd = (swimSpd - 0.2); if (swimSpd <= 0){ swimSpd = (maxSwimSpd - (Math.random() * 15)); angle = (startAngle - (Math.random() * varAngle)); }; }; }; } else { if ((((action == "fight")) || ((action == "up")))){ timer++; if (Math.random() < changeOfInstability){ if (facing == "Left"){ adjustImage(action, "Right"); } else { adjustImage(action, "Left"); }; }; if (x < _arg1.poleX){ if ((((facing == "Left")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); } else { if ((((facing == "Right")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); }; }; } else { if ((((facing == "Left")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); } else { if ((((facing == "Right")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); }; }; }; if (facing == "Left"){ x = (x - instability); } else { x = (x + instability); }; _arg2.fightMeter.updateArea(tolerancePos); if (_arg2.fightStat == "isHit"){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; adjustImage("up", facing); } else { if (_arg2.fightStat == "isLoose"){ _arg2.lineTense = (_arg2.lineTense - relaxDown); if (_arg2.lineTense >= 0){ x = (x + (-10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y > -380){ y = (y - (10 * Math.sin(_arg1.pullAngle))); _arg2.vScroll(Math.round((-10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((-10 * Math.sin(_arg1.pullAngle)))); } else { if (_arg1.y < 400){ y = (y - (10 * Math.sin(_arg1.pullAngle))); if (y > 400){ y = 400; }; }; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("fight", facing); } else { adjustImage("return", facing); }; } else { if (_arg2.fightStat == "isTooMuch"){ _arg2.lineTense = (_arg2.lineTense + tenseUp); if (_arg2.lineTense <= 100){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("up", facing); } else { adjustImage("return", facing); }; }; }; }; _arg1.x = (x + bite.x); _arg1.y = (y + bite.y); } else { if (action == "return"){ if (y < defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + 5); if (y > defY){ y = defY; }; } else { if (y > defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y - (0.8 * 5)); if (y < defY){ y = defY; }; } else { if (y == defY){ adjustImage("swim", facing); }; }; }; } else { if (action == "run"){ if (facing == "Left"){ x = (x - (maxSwimSpd * 2)); } else { x = (x + (maxSwimSpd * 2)); }; if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (!(aggArea.hitTestObject(_arg1.noise))))){ adjustImage("swim", facing); }; }; }; }; }; } } }//package
Section 67
//LineBreak (LineBreak) package { import flash.display.*; public dynamic class LineBreak extends MovieClip { public var isFinish:Boolean; public function LineBreak(){ addFrameScript(0, frame1, 21, frame22); } function frame1(){ isFinish = false; } function frame22(){ isFinish = true; } } }//package
Section 68
//Loose (Loose) package { import flash.display.*; public dynamic class Loose extends MovieClip { public var isFinish:Boolean; public function Loose(){ addFrameScript(0, frame1, 21, frame22); } function frame1(){ isFinish = false; } function frame22(){ isFinish = true; } } }//package
Section 69
//Mackarel1 (Mackarel1) package { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class Mackarel1 extends MovieClip { public const varAngle:Number = 1.5707963267949; public const minSpamY:Number = 480; public const instability:Number = 2.5; public const changeOfInstability:Number = 0.15; public const tenseUp:Number = 2; public const varSpamY:Number = 20; public const relaxDown:Number = 0.5; public const minWeight:Number = 150; public const maxSwimSpd:Number = 25; public const nama:String = "Mackaro"; public const startAngle:Number = 0.785398163397448; public const varWeight:Number = 350; public const minSwimSpd:Number = 0; public const hitTolerance:Number = 25; public var swimSpd:Number; public var tolerancePos:Number; public var isCatched:Boolean; public var defY:Number; public var aggArea:MovieClip; public var action; public var timer:Number; public var weight:Number; public var dy:Number; public var angle:Number; public var facing:String; public var bite:MovieClip; public function Mackarel1(){ addFrameScript(0, frame1); } public function init(){ timer = 0; weight = (minWeight + (Math.random() * varWeight)); isCatched = false; action = "swim"; angle = (startAngle - (Math.random() * varAngle)); swimSpd = (maxSwimSpd - (Math.random() * 15)); if (Math.random() < 0.5){ facing = "Left"; x = 740; } else { facing = "Right"; x = -100; }; gotoAndStop((action + facing)); y = Math.round((minSpamY + (Math.floor((Math.random() * varSpamY)) * 20))); defY = y; tolerancePos = (50 - (hitTolerance / 2)); } public function adjustImage(_arg1, _arg2){ if (action != _arg1){ action = _arg1; gotoAndStop((action + facing)); }; if (facing != _arg2){ facing = _arg2; gotoAndStop((action + facing)); }; } public function finalize(){ } function frame1(){ } public function routine(_arg1, _arg2){ var _local3:Number; var _local4:Number; if (action == "swim"){ if (((((!((_arg1 == null))) && (aggArea.hitTestObject(_arg1.dummy)))) && (!((_arg1.action == "bitten"))))){ if (_arg2.deepsea.y > -100){ if (facing == "Left"){ adjustImage("return", "Right"); } else { adjustImage("return", "Left"); }; } else { _local3 = (Math.sqrt((Math.pow(((x + bite.x) - _arg1.x), 2) + Math.pow(((y + bite.y) - _arg1.y), 2))) / 3); _local4 = Math.atan(((_arg1.y - (y + bite.y)) / (_arg1.x - (x + bite.x)))); if (_arg1.x < (x + bite.x)){ _local4 = (_local4 + Math.PI); }; x = (x + (_local3 * Math.cos(_local4))); y = (y + (_local3 * Math.sin(_local4))); if (bite.hitTestObject(_arg1.dummy)){ adjustImage("fight", facing); _arg1.routine("bitten"); timer = 0; _arg2.fightMeter.init(tolerancePos, hitTolerance, (tolerancePos + (hitTolerance / 2))); _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); }; }; } else { if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (aggArea.hitTestObject(_arg1.noise)))){ if (facing == "Left"){ adjustImage("run", "Right"); } else { adjustImage("run", "Left"); }; } else { if (facing == "Left"){ x = (x - (swimSpd * Math.cos(angle))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (swimSpd * Math.cos(angle))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + (swimSpd * Math.sin(angle))); if ((y - _arg2.deepsea.y) < 200){ angle = (angle + Math.abs((angle * 2))); }; if ((y - _arg2.deepsea.y) > 800){ angle = (angle - Math.abs((angle * 2))); }; swimSpd = (swimSpd - 0.2); if (swimSpd <= 0){ swimSpd = (maxSwimSpd - (Math.random() * 15)); angle = (startAngle - (Math.random() * varAngle)); }; }; }; } else { if ((((action == "fight")) || ((action == "up")))){ timer++; if (Math.random() < changeOfInstability){ if (facing == "Left"){ adjustImage(action, "Right"); } else { adjustImage(action, "Left"); }; }; if (x < _arg1.poleX){ if ((((facing == "Left")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); } else { if ((((facing == "Right")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); }; }; } else { if ((((facing == "Left")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); } else { if ((((facing == "Right")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); }; }; }; if (facing == "Left"){ x = (x - instability); } else { x = (x + instability); }; _arg2.fightMeter.updateArea(tolerancePos); if (_arg2.fightStat == "isHit"){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; adjustImage("up", facing); } else { if (_arg2.fightStat == "isLoose"){ _arg2.lineTense = (_arg2.lineTense - relaxDown); if (_arg2.lineTense >= 0){ x = (x + (-10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y > -380){ y = (y - (10 * Math.sin(_arg1.pullAngle))); _arg2.vScroll(Math.round((-10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((-10 * Math.sin(_arg1.pullAngle)))); } else { if (_arg1.y < 400){ y = (y - (10 * Math.sin(_arg1.pullAngle))); if (y > 400){ y = 400; }; }; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("fight", facing); } else { adjustImage("return", facing); }; } else { if (_arg2.fightStat == "isTooMuch"){ _arg2.lineTense = (_arg2.lineTense + tenseUp); if (_arg2.lineTense <= 100){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("up", facing); } else { adjustImage("return", facing); }; }; }; }; _arg1.x = (x + bite.x); _arg1.y = (y + bite.y); } else { if (action == "return"){ if (y < defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + 5); if (y > defY){ y = defY; }; } else { if (y > defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y - (0.8 * 5)); if (y < defY){ y = defY; }; } else { if (y == defY){ adjustImage("swim", facing); }; }; }; } else { if (action == "run"){ if (facing == "Left"){ x = (x - (maxSwimSpd * 2)); } else { x = (x + (maxSwimSpd * 2)); }; if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (!(aggArea.hitTestObject(_arg1.noise))))){ adjustImage("swim", facing); }; }; }; }; }; } } }//package
Section 70
//Mackarel2 (Mackarel2) package { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class Mackarel2 extends MovieClip { public const varAngle:Number = 1.5707963267949; public const minSpamY:Number = 480; public const instability:Number = 3; public const changeOfInstability:Number = 0.1; public const tenseUp:Number = 2; public const varSpamY:Number = 20; public const relaxDown:Number = 0.5; public const minWeight:Number = 200; public const maxSwimSpd:Number = 25; public const nama:String = "King Mackarel"; public const startAngle:Number = 0.785398163397448; public const varWeight:Number = 400; public const minSwimSpd:Number = 0; public const hitTolerance:Number = 25; public var swimSpd:Number; public var tolerancePos:Number; public var isCatched:Boolean; public var defY:Number; public var aggArea:MovieClip; public var action; public var timer:Number; public var weight:Number; public var dy:Number; public var angle:Number; public var facing:String; public var bite:MovieClip; public function Mackarel2(){ addFrameScript(0, frame1); } public function init(){ timer = 0; weight = (minWeight + (Math.random() * varWeight)); isCatched = false; action = "swim"; angle = (startAngle - (Math.random() * varAngle)); swimSpd = (maxSwimSpd - (Math.random() * 15)); if (Math.random() < 0.5){ facing = "Left"; x = 740; } else { facing = "Right"; x = -100; }; gotoAndStop((action + facing)); y = Math.round((minSpamY + (Math.floor((Math.random() * varSpamY)) * 20))); defY = y; tolerancePos = (50 - (hitTolerance / 2)); } public function adjustImage(_arg1, _arg2){ if (action != _arg1){ action = _arg1; gotoAndStop((action + facing)); }; if (facing != _arg2){ facing = _arg2; gotoAndStop((action + facing)); }; } public function finalize(){ } function frame1(){ } public function routine(_arg1, _arg2){ var _local3:Number; var _local4:Number; if (action == "swim"){ if (((((!((_arg1 == null))) && (aggArea.hitTestObject(_arg1.dummy)))) && (!((_arg1.action == "bitten"))))){ if (_arg2.deepsea.y > -100){ if (facing == "Left"){ adjustImage("return", "Right"); } else { adjustImage("return", "Left"); }; } else { _local3 = (Math.sqrt((Math.pow(((x + bite.x) - _arg1.x), 2) + Math.pow(((y + bite.y) - _arg1.y), 2))) / 3); _local4 = Math.atan(((_arg1.y - (y + bite.y)) / (_arg1.x - (x + bite.x)))); if (_arg1.x < (x + bite.x)){ _local4 = (_local4 + Math.PI); }; x = (x + (_local3 * Math.cos(_local4))); y = (y + (_local3 * Math.sin(_local4))); if (bite.hitTestObject(_arg1.dummy)){ adjustImage("fight", facing); _arg1.routine("bitten"); timer = 0; _arg2.fightMeter.init(tolerancePos, hitTolerance, (tolerancePos + (hitTolerance / 2))); _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); }; }; } else { if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (aggArea.hitTestObject(_arg1.noise)))){ if (facing == "Left"){ adjustImage("run", "Right"); } else { adjustImage("run", "Left"); }; } else { if (facing == "Left"){ x = (x - (swimSpd * Math.cos(angle))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (swimSpd * Math.cos(angle))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + (swimSpd * Math.sin(angle))); if ((y - _arg2.deepsea.y) < 200){ angle = (angle + Math.abs((angle * 2))); }; if ((y - _arg2.deepsea.y) > 800){ angle = (angle - Math.abs((angle * 2))); }; swimSpd = (swimSpd - 0.2); if (swimSpd <= 0){ swimSpd = (maxSwimSpd - (Math.random() * 15)); angle = (startAngle - (Math.random() * varAngle)); }; }; }; } else { if ((((action == "fight")) || ((action == "up")))){ timer++; if (Math.random() < changeOfInstability){ if (facing == "Left"){ adjustImage(action, "Right"); } else { adjustImage(action, "Left"); }; }; if (x < _arg1.poleX){ if ((((facing == "Left")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); } else { if ((((facing == "Right")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); }; }; } else { if ((((facing == "Left")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); } else { if ((((facing == "Right")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); }; }; }; if (facing == "Left"){ x = (x - instability); } else { x = (x + instability); }; _arg2.fightMeter.updateArea(tolerancePos); if (_arg2.fightStat == "isHit"){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; adjustImage("up", facing); } else { if (_arg2.fightStat == "isLoose"){ _arg2.lineTense = (_arg2.lineTense - relaxDown); if (_arg2.lineTense >= 0){ x = (x + (-10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y > -380){ y = (y - (10 * Math.sin(_arg1.pullAngle))); _arg2.vScroll(Math.round((-10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((-10 * Math.sin(_arg1.pullAngle)))); } else { if (_arg1.y < 400){ y = (y - (10 * Math.sin(_arg1.pullAngle))); if (y > 400){ y = 400; }; }; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("fight", facing); } else { adjustImage("return", facing); }; } else { if (_arg2.fightStat == "isTooMuch"){ _arg2.lineTense = (_arg2.lineTense + tenseUp); if (_arg2.lineTense <= 100){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("up", facing); } else { adjustImage("return", facing); }; }; }; }; _arg1.x = (x + bite.x); _arg1.y = (y + bite.y); } else { if (action == "return"){ if (y < defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + 5); if (y > defY){ y = defY; }; } else { if (y > defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y - (0.8 * 5)); if (y < defY){ y = defY; }; } else { if (y == defY){ adjustImage("swim", facing); }; }; }; } else { if (action == "run"){ if (facing == "Left"){ x = (x - (maxSwimSpd * 2)); } else { x = (x + (maxSwimSpd * 2)); }; if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (!(aggArea.hitTestObject(_arg1.noise))))){ adjustImage("swim", facing); }; }; }; }; }; } } }//package
Section 71
//Marlin (Marlin) package { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class Marlin extends MovieClip { public const varAngle:Number = 1.5707963267949; public const minSpamY:Number = 480; public const instability:Number = 2; public const changeOfInstability:Number = 0.1; public const tenseUp:Number = 2; public const varSpamY:Number = 20; public const relaxDown:Number = 0.5; public const minWeight:Number = 100; public const maxSwimSpd:Number = 25; public const nama:String = "Marlin"; public const startAngle:Number = 0.785398163397448; public const varWeight:Number = 1100; public const minSwimSpd:Number = 0; public const hitTolerance:Number = 20; public var swimSpd:Number; public var tolerancePos:Number; public var isCatched:Boolean; public var defY:Number; public var aggArea:MovieClip; public var action; public var timer:Number; public var weight:Number; public var dy:Number; public var angle:Number; public var facing:String; public var bite:MovieClip; public function Marlin(){ addFrameScript(0, frame1); } public function init(){ timer = 0; weight = (minWeight + (Math.random() * varWeight)); isCatched = false; action = "swim"; angle = (startAngle - (Math.random() * varAngle)); swimSpd = (maxSwimSpd - (Math.random() * 15)); if (Math.random() < 0.5){ facing = "Left"; x = 740; } else { facing = "Right"; x = -100; }; gotoAndStop((action + facing)); y = Math.round((minSpamY + (Math.floor((Math.random() * varSpamY)) * 20))); defY = y; tolerancePos = (50 - (hitTolerance / 2)); } public function adjustImage(_arg1, _arg2){ if (action != _arg1){ action = _arg1; gotoAndStop((action + facing)); }; if (facing != _arg2){ facing = _arg2; gotoAndStop((action + facing)); }; } public function finalize(){ } function frame1(){ } public function routine(_arg1, _arg2){ var _local3:Number; var _local4:Number; if (action == "swim"){ if (((((!((_arg1 == null))) && (aggArea.hitTestObject(_arg1.dummy)))) && (!((_arg1.action == "bitten"))))){ if (_arg2.deepsea.y > -100){ if (facing == "Left"){ adjustImage("return", "Right"); } else { adjustImage("return", "Left"); }; } else { _local3 = (Math.sqrt((Math.pow(((x + bite.x) - _arg1.x), 2) + Math.pow(((y + bite.y) - _arg1.y), 2))) / 3); _local4 = Math.atan(((_arg1.y - (y + bite.y)) / (_arg1.x - (x + bite.x)))); if (_arg1.x < (x + bite.x)){ _local4 = (_local4 + Math.PI); }; x = (x + (_local3 * Math.cos(_local4))); y = (y + (_local3 * Math.sin(_local4))); if (bite.hitTestObject(_arg1.dummy)){ adjustImage("fight", facing); _arg1.routine("bitten"); timer = 0; _arg2.fightMeter.init(tolerancePos, hitTolerance, (tolerancePos + (hitTolerance / 2))); _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); }; }; } else { if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (aggArea.hitTestObject(_arg1.noise)))){ if (facing == "Left"){ adjustImage("run", "Right"); } else { adjustImage("run", "Left"); }; } else { if (facing == "Left"){ x = (x - (swimSpd * Math.cos(angle))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (swimSpd * Math.cos(angle))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + (swimSpd * Math.sin(angle))); if ((y - _arg2.deepsea.y) < 200){ angle = (angle + Math.abs((angle * 2))); }; if ((y - _arg2.deepsea.y) > 800){ angle = (angle - Math.abs((angle * 2))); }; swimSpd = (swimSpd - 0.2); if (swimSpd <= 0){ swimSpd = (maxSwimSpd - (Math.random() * 15)); angle = (startAngle - (Math.random() * varAngle)); }; }; }; } else { if ((((action == "fight")) || ((action == "up")))){ timer++; if (Math.random() < changeOfInstability){ if (facing == "Left"){ adjustImage(action, "Right"); } else { adjustImage(action, "Left"); }; }; if (x < _arg1.poleX){ if ((((facing == "Left")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); } else { if ((((facing == "Right")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); }; }; } else { if ((((facing == "Left")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); } else { if ((((facing == "Right")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); }; }; }; if (facing == "Left"){ x = (x - instability); } else { x = (x + instability); }; _arg2.fightMeter.updateArea(tolerancePos); if (_arg2.fightStat == "isHit"){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; adjustImage("up", facing); } else { if (_arg2.fightStat == "isLoose"){ _arg2.lineTense = (_arg2.lineTense - relaxDown); if (_arg2.lineTense >= 0){ x = (x + (-10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y > -380){ y = (y - (10 * Math.sin(_arg1.pullAngle))); _arg2.vScroll(Math.round((-10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((-10 * Math.sin(_arg1.pullAngle)))); } else { if (_arg1.y < 400){ y = (y - (10 * Math.sin(_arg1.pullAngle))); if (y > 400){ y = 400; }; }; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("fight", facing); } else { adjustImage("return", facing); }; } else { if (_arg2.fightStat == "isTooMuch"){ _arg2.lineTense = (_arg2.lineTense + tenseUp); if (_arg2.lineTense <= 100){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("up", facing); } else { adjustImage("return", facing); }; }; }; }; _arg1.x = (x + bite.x); _arg1.y = (y + bite.y); } else { if (action == "return"){ if (y < defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + 5); if (y > defY){ y = defY; }; } else { if (y > defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y - (0.8 * 5)); if (y < defY){ y = defY; }; } else { if (y == defY){ adjustImage("swim", facing); }; }; }; } else { if (action == "run"){ if (facing == "Left"){ x = (x - (maxSwimSpd * 2)); } else { x = (x + (maxSwimSpd * 2)); }; if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (!(aggArea.hitTestObject(_arg1.noise))))){ adjustImage("swim", facing); }; }; }; }; }; } } }//package
Section 72
//MbohFish (MbohFish) package { import flash.display.*; public dynamic class MbohFish extends MovieClip { } }//package
Section 73
//MenuCont (MenuCont) package { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class MenuCont extends MovieClip { public var action:String; public var summary_btn:SimpleButton; public var isFinish:Boolean; public var record:Array; public var change_btn:SimpleButton; public var exit_btn:SimpleButton; public var ret_btn:SimpleButton; public var summHolder; public var summCont:MovieClip; public function MenuCont(){ addFrameScript(0, frame1, 22, frame23, 45, frame46); } public function mouseClick(_arg1:MouseEvent){ } public function init(){ change_btn.addEventListener(MouseEvent.CLICK, changeLoc); summary_btn.addEventListener(MouseEvent.CLICK, showSummary); exit_btn.addEventListener(MouseEvent.CLICK, toMainMenu); ret_btn.addEventListener(MouseEvent.CLICK, backToGame); addEventListener(MouseEvent.CLICK, mouseClick); } public function finalize(){ change_btn.removeEventListener(MouseEvent.CLICK, changeLoc); summary_btn.removeEventListener(MouseEvent.CLICK, showSummary); exit_btn.removeEventListener(MouseEvent.CLICK, toMainMenu); ret_btn.removeEventListener(MouseEvent.CLICK, backToGame); removeEventListener(MouseEvent.CLICK, mouseClick); } public function setData(_arg1){ record = _arg1; gotoAndPlay(1); } public function toMainMenu(_arg1:MouseEvent){ action = "exit"; finalize(); play(); } public function changeLoc(_arg1:MouseEvent){ action = "changeLoc"; finalize(); play(); } function frame23(){ stop(); init(); } function frame1(){ isFinish = false; action = ""; } function frame46(){ isFinish = true; stop(); } public function checkSummClosed(_arg1:Event){ if (summHolder.isFinish){ summCont.removeChild(summHolder); }; } public function backToGame(_arg1:MouseEvent){ finalize(); play(); } public function showSummary(_arg1:MouseEvent){ summHolder = new Summary(); summCont.addChild(summHolder); summHolder.setData(record); addEventListener(Event.ENTER_FRAME, checkSummClosed); } } }//package
Section 74
//NylonString (NylonString) package { import flash.display.*; public dynamic class NylonString extends MovieClip { } }//package
Section 75
//Pantai1 (Pantai1) package { import flash.media.*; public dynamic class Pantai1 extends Sound { } }//package
Section 76
//Pantai2 (Pantai2) package { import flash.media.*; public dynamic class Pantai2 extends Sound { } }//package
Section 77
//SE_bubble (SE_bubble) package { import flash.media.*; public dynamic class SE_bubble extends Sound { } }//package
Section 78
//SE_putus (SE_putus) package { import flash.media.*; public dynamic class SE_putus extends Sound { } }//package
Section 79
//ShineDotBtn (ShineDotBtn) package { import flash.display.*; public dynamic class ShineDotBtn extends MovieClip { public var btn:SimpleButton; public var shine:MovieClip; } }//package
Section 80
//Smash (Smash) package { import flash.media.*; public dynamic class Smash extends Sound { } }//package
Section 81
//SquidBait (SquidBait) package { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class SquidBait extends MovieClip { public var noise:MovieClip; public var action:String; public var pullAngle:Number; public var poleY:Number; public var poleX; public var dummy:MovieClip; public function SquidBait(){ addFrameScript(0, frame1); } public function init(_arg1, _arg2){ x = _arg1; y = _arg2; action = "idle"; pullAngle = 0; gotoAndStop(action); } public function finalize(){ } public function updateLine(_arg1, _arg2, _arg3){ var _local4:Number; var _local5:Number; poleX = _arg2; poleY = _arg3; _arg1.x = x; _arg1.y = y; _local4 = Math.atan(((_arg1.y - poleY) / (_arg1.x - poleX))); if (poleX < _arg1.x){ _local4 = (_local4 + Math.PI); }; _local5 = Math.round(((_local4 * 360) / (2 * Math.PI))); pullAngle = _local4; _arg1.rotation = 0; _arg1.width = Math.sqrt((Math.pow((_arg1.y - poleY), 2) + Math.pow((poleX - _arg1.x), 2))); _arg1.rotation = _local5; } function frame1(){ } public function routine(_arg1){ if (action != _arg1){ action = _arg1; gotoAndStop(action); }; } } }//package
Section 82
//Strike (Strike) package { import flash.display.*; public dynamic class Strike extends MovieClip { public var isFinish:Boolean; public function Strike(){ addFrameScript(0, frame1, 19, frame20); } function frame1(){ isFinish = false; } function frame20(){ isFinish = true; } } }//package
Section 83
//StrikeBGM (StrikeBGM) package { import flash.media.*; public dynamic class StrikeBGM extends Sound { } }//package
Section 84
//Summary (Summary) package { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class Summary extends MovieClip { public var isFinish:Boolean; public var close_btn:SimpleButton; public var rec1:MovieClip; public var rec2:MovieClip; public var rec5:MovieClip; public var rec4:MovieClip; public var rec3:MovieClip; public function Summary(){ addFrameScript(0, frame1, 24, frame25, 49, frame50); } public function init(){ close_btn.addEventListener(MouseEvent.CLICK, backToCaller); } public function finalize(){ close_btn.removeEventListener(MouseEvent.CLICK, backToCaller); } public function setData(_arg1){ var _local2:Number; _local2 = 0; while (_local2 < _arg1["nama"].length) { this[("rec" + (_local2 + 1))].init(_arg1["nama"][_local2], _arg1["weight"][_local2], _arg1["time"][_local2]); _local2++; }; gotoAndPlay(1); } function frame1(){ isFinish = false; } function frame25(){ stop(); init(); } function frame50(){ isFinish = true; } public function backToCaller(_arg1:MouseEvent){ finalize(); play(); } } }//package
Section 85
//Tuna1 (Tuna1) package { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class Tuna1 extends MovieClip { public const varAngle:Number = 1.5707963267949; public const minSpamY:Number = 480; public const instability:Number = 2; public const changeOfInstability:Number = 0.1; public const tenseUp:Number = 2; public const varSpamY:Number = 20; public const relaxDown:Number = 0.5; public const minWeight:Number = 100; public const maxSwimSpd:Number = 20; public const nama:String = "Big Eye Tuna"; public const startAngle:Number = 0.785398163397448; public const varWeight:Number = 1100; public const minSwimSpd:Number = 0; public const hitTolerance:Number = 20; public var swimSpd:Number; public var tolerancePos:Number; public var isCatched:Boolean; public var defY:Number; public var aggArea:MovieClip; public var action; public var timer:Number; public var weight:Number; public var dy:Number; public var angle:Number; public var facing:String; public var bite:MovieClip; public function Tuna1(){ addFrameScript(0, frame1); } public function init(){ timer = 0; weight = (minWeight + (Math.random() * varWeight)); isCatched = false; action = "swim"; angle = (startAngle - (Math.random() * varAngle)); swimSpd = (maxSwimSpd - (Math.random() * 15)); if (Math.random() < 0.5){ facing = "Left"; x = 740; } else { facing = "Right"; x = -100; }; gotoAndStop((action + facing)); y = Math.round((minSpamY + (Math.floor((Math.random() * varSpamY)) * 20))); defY = y; tolerancePos = (50 - (hitTolerance / 2)); } public function adjustImage(_arg1, _arg2){ if (action != _arg1){ action = _arg1; gotoAndStop((action + facing)); }; if (facing != _arg2){ facing = _arg2; gotoAndStop((action + facing)); }; } public function finalize(){ } function frame1(){ } public function routine(_arg1, _arg2){ var _local3:Number; var _local4:Number; if (action == "swim"){ if (((((!((_arg1 == null))) && (aggArea.hitTestObject(_arg1.dummy)))) && (!((_arg1.action == "bitten"))))){ if (_arg2.deepsea.y > -100){ if (facing == "Left"){ adjustImage("return", "Right"); } else { adjustImage("return", "Left"); }; } else { _local3 = (Math.sqrt((Math.pow(((x + bite.x) - _arg1.x), 2) + Math.pow(((y + bite.y) - _arg1.y), 2))) / 3); _local4 = Math.atan(((_arg1.y - (y + bite.y)) / (_arg1.x - (x + bite.x)))); if (_arg1.x < (x + bite.x)){ _local4 = (_local4 + Math.PI); }; x = (x + (_local3 * Math.cos(_local4))); y = (y + (_local3 * Math.sin(_local4))); if (bite.hitTestObject(_arg1.dummy)){ adjustImage("fight", facing); _arg1.routine("bitten"); timer = 0; _arg2.fightMeter.init(tolerancePos, hitTolerance, (tolerancePos + (hitTolerance / 2))); _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); }; }; } else { if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (aggArea.hitTestObject(_arg1.noise)))){ if (facing == "Left"){ adjustImage("run", "Right"); } else { adjustImage("run", "Left"); }; } else { if (facing == "Left"){ x = (x - (swimSpd * Math.cos(angle))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (swimSpd * Math.cos(angle))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + (swimSpd * Math.sin(angle))); if ((y - _arg2.deepsea.y) < 200){ angle = (angle + Math.abs((angle * 2))); }; if ((y - _arg2.deepsea.y) > 800){ angle = (angle - Math.abs((angle * 2))); }; swimSpd = (swimSpd - 0.2); if (swimSpd <= 0){ swimSpd = (maxSwimSpd - (Math.random() * 15)); angle = (startAngle - (Math.random() * varAngle)); }; }; }; } else { if ((((action == "fight")) || ((action == "up")))){ timer++; if (Math.random() < changeOfInstability){ if (facing == "Left"){ adjustImage(action, "Right"); } else { adjustImage(action, "Left"); }; }; if (x < _arg1.poleX){ if ((((facing == "Left")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); } else { if ((((facing == "Right")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); }; }; } else { if ((((facing == "Left")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); } else { if ((((facing == "Right")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); }; }; }; if (facing == "Left"){ x = (x - instability); } else { x = (x + instability); }; _arg2.fightMeter.updateArea(tolerancePos); if (_arg2.fightStat == "isHit"){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; adjustImage("up", facing); } else { if (_arg2.fightStat == "isLoose"){ _arg2.lineTense = (_arg2.lineTense - relaxDown); if (_arg2.lineTense >= 0){ x = (x + (-10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y > -380){ y = (y - (10 * Math.sin(_arg1.pullAngle))); _arg2.vScroll(Math.round((-10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((-10 * Math.sin(_arg1.pullAngle)))); } else { if (_arg1.y < 400){ y = (y - (10 * Math.sin(_arg1.pullAngle))); if (y > 400){ y = 400; }; }; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("fight", facing); } else { adjustImage("return", facing); }; } else { if (_arg2.fightStat == "isTooMuch"){ _arg2.lineTense = (_arg2.lineTense + tenseUp); if (_arg2.lineTense <= 100){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("up", facing); } else { adjustImage("return", facing); }; }; }; }; _arg1.x = (x + bite.x); _arg1.y = (y + bite.y); } else { if (action == "return"){ if (y < defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + 5); if (y > defY){ y = defY; }; } else { if (y > defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y - (0.8 * 5)); if (y < defY){ y = defY; }; } else { if (y == defY){ adjustImage("swim", facing); }; }; }; } else { if (action == "run"){ if (facing == "Left"){ x = (x - (maxSwimSpd * 2)); } else { x = (x + (maxSwimSpd * 2)); }; if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (!(aggArea.hitTestObject(_arg1.noise))))){ adjustImage("swim", facing); }; }; }; }; }; } } }//package
Section 86
//Tuna2 (Tuna2) package { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class Tuna2 extends MovieClip { public const varAngle:Number = 1.5707963267949; public const minSpamY:Number = 480; public const instability:Number = 2; public const changeOfInstability:Number = 0.1; public const tenseUp:Number = 2; public const varSpamY:Number = 22; public const relaxDown:Number = 0.5; public const minWeight:Number = 100; public const maxSwimSpd:Number = 15; public const nama:String = "Black Fin Tuna"; public const startAngle:Number = 0.785398163397448; public const varWeight:Number = 1100; public const minSwimSpd:Number = 0; public const hitTolerance:Number = 20; public var swimSpd:Number; public var tolerancePos:Number; public var isCatched:Boolean; public var defY:Number; public var aggArea:MovieClip; public var action; public var timer:Number; public var weight:Number; public var dy:Number; public var angle:Number; public var facing:String; public var bite:MovieClip; public function Tuna2(){ addFrameScript(0, frame1); } public function init(){ timer = 0; weight = (minWeight + (Math.random() * varWeight)); isCatched = false; action = "swim"; angle = (startAngle - (Math.random() * varAngle)); swimSpd = (maxSwimSpd - (Math.random() * 15)); if (Math.random() < 0.5){ facing = "Left"; x = 740; } else { facing = "Right"; x = -100; }; gotoAndStop((action + facing)); y = Math.round((minSpamY + (Math.floor((Math.random() * varSpamY)) * 20))); defY = y; tolerancePos = (50 - (hitTolerance / 2)); } public function adjustImage(_arg1, _arg2){ if (action != _arg1){ action = _arg1; gotoAndStop((action + facing)); }; if (facing != _arg2){ facing = _arg2; gotoAndStop((action + facing)); }; } public function finalize(){ } function frame1(){ } public function routine(_arg1, _arg2){ var _local3:Number; var _local4:Number; if (action == "swim"){ if (((((!((_arg1 == null))) && (aggArea.hitTestObject(_arg1.dummy)))) && (!((_arg1.action == "bitten"))))){ if (_arg2.deepsea.y > -100){ if (facing == "Left"){ adjustImage("return", "Right"); } else { adjustImage("return", "Left"); }; } else { _local3 = (Math.sqrt((Math.pow(((x + bite.x) - _arg1.x), 2) + Math.pow(((y + bite.y) - _arg1.y), 2))) / 3); _local4 = Math.atan(((_arg1.y - (y + bite.y)) / (_arg1.x - (x + bite.x)))); if (_arg1.x < (x + bite.x)){ _local4 = (_local4 + Math.PI); }; x = (x + (_local3 * Math.cos(_local4))); y = (y + (_local3 * Math.sin(_local4))); if (bite.hitTestObject(_arg1.dummy)){ adjustImage("fight", facing); _arg1.routine("bitten"); timer = 0; _arg2.fightMeter.init(tolerancePos, hitTolerance, (tolerancePos + (hitTolerance / 2))); _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); }; }; } else { if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (aggArea.hitTestObject(_arg1.noise)))){ if (facing == "Left"){ adjustImage("run", "Right"); } else { adjustImage("run", "Left"); }; } else { if (facing == "Left"){ x = (x - (swimSpd * Math.cos(angle))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (swimSpd * Math.cos(angle))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + (swimSpd * Math.sin(angle))); if ((y - _arg2.deepsea.y) < 200){ angle = (angle + Math.abs((angle * 2))); }; if ((y - _arg2.deepsea.y) > 800){ angle = (angle - Math.abs((angle * 2))); }; swimSpd = (swimSpd - 0.2); if (swimSpd <= 0){ swimSpd = (maxSwimSpd - (Math.random() * 15)); angle = (startAngle - (Math.random() * varAngle)); }; }; }; } else { if ((((action == "fight")) || ((action == "up")))){ timer++; if (Math.random() < changeOfInstability){ if (facing == "Left"){ adjustImage(action, "Right"); } else { adjustImage(action, "Left"); }; }; if (x < _arg1.poleX){ if ((((facing == "Left")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); } else { if ((((facing == "Right")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); }; }; } else { if ((((facing == "Left")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); } else { if ((((facing == "Right")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); }; }; }; if (facing == "Left"){ x = (x - instability); } else { x = (x + instability); }; _arg2.fightMeter.updateArea(tolerancePos); if (_arg2.fightStat == "isHit"){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; adjustImage("up", facing); } else { if (_arg2.fightStat == "isLoose"){ _arg2.lineTense = (_arg2.lineTense - relaxDown); if (_arg2.lineTense >= 0){ x = (x + (-10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y > -380){ y = (y - (10 * Math.sin(_arg1.pullAngle))); _arg2.vScroll(Math.round((-10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((-10 * Math.sin(_arg1.pullAngle)))); } else { if (_arg1.y < 400){ y = (y - (10 * Math.sin(_arg1.pullAngle))); if (y > 400){ y = 400; }; }; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("fight", facing); } else { adjustImage("return", facing); }; } else { if (_arg2.fightStat == "isTooMuch"){ _arg2.lineTense = (_arg2.lineTense + tenseUp); if (_arg2.lineTense <= 100){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("up", facing); } else { adjustImage("return", facing); }; }; }; }; _arg1.x = (x + bite.x); _arg1.y = (y + bite.y); } else { if (action == "return"){ if (y < defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + 5); if (y > defY){ y = defY; }; } else { if (y > defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y - (0.8 * 5)); if (y < defY){ y = defY; }; } else { if (y == defY){ adjustImage("swim", facing); }; }; }; } else { if (action == "run"){ if (facing == "Left"){ x = (x - (maxSwimSpd * 2)); } else { x = (x + (maxSwimSpd * 2)); }; if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (!(aggArea.hitTestObject(_arg1.noise))))){ adjustImage("swim", facing); }; }; }; }; }; } } }//package
Section 87
//Unknown (Unknown) package { import flash.events.*; import flash.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class Unknown extends MovieClip { public const varAngle:Number = 1.5707963267949; public const minSpamY:Number = 480; public const instability:Number = 3; public const changeOfInstability:Number = 0.15; public const tenseUp:Number = 3; public const varSpamY:Number = 20; public const relaxDown:Number = 1; public const minWeight:Number = 500; public const maxSwimSpd:Number = 25; public const nama:String = "Unknown"; public const startAngle:Number = 0.785398163397448; public const varWeight:Number = 1500; public const minSwimSpd:Number = 0; public const hitTolerance:Number = 10; public var swimSpd:Number; public var tolerancePos:Number; public var isCatched:Boolean; public var defY:Number; public var aggArea:MovieClip; public var action; public var timer:Number; public var weight:Number; public var dy:Number; public var angle:Number; public var facing:String; public var bite:MovieClip; public function Unknown(){ addFrameScript(0, frame1); } public function init(){ timer = 0; weight = (minWeight + (Math.random() * varWeight)); isCatched = false; action = "swim"; angle = (startAngle - (Math.random() * varAngle)); swimSpd = (maxSwimSpd - (Math.random() * 15)); if (Math.random() < 0.5){ facing = "Left"; x = 740; } else { facing = "Right"; x = -100; }; gotoAndStop((action + facing)); y = Math.round((minSpamY + (Math.floor((Math.random() * varSpamY)) * 20))); defY = y; tolerancePos = (50 - (hitTolerance / 2)); } public function adjustImage(_arg1, _arg2){ if (action != _arg1){ action = _arg1; gotoAndStop((action + facing)); }; if (facing != _arg2){ facing = _arg2; gotoAndStop((action + facing)); }; } public function finalize(){ } function frame1(){ } public function routine(_arg1, _arg2){ var _local3:Number; var _local4:Number; if (action == "swim"){ if (((((!((_arg1 == null))) && (aggArea.hitTestObject(_arg1.dummy)))) && (!((_arg1.action == "bitten"))))){ if (_arg2.deepsea.y > -100){ if (facing == "Left"){ adjustImage("return", "Right"); } else { adjustImage("return", "Left"); }; } else { _local3 = (Math.sqrt((Math.pow(((x + bite.x) - _arg1.x), 2) + Math.pow(((y + bite.y) - _arg1.y), 2))) / 3); _local4 = Math.atan(((_arg1.y - (y + bite.y)) / (_arg1.x - (x + bite.x)))); if (_arg1.x < (x + bite.x)){ _local4 = (_local4 + Math.PI); }; x = (x + (_local3 * Math.cos(_local4))); y = (y + (_local3 * Math.sin(_local4))); if (bite.hitTestObject(_arg1.dummy)){ adjustImage("fight", facing); _arg1.routine("bitten"); timer = 0; _arg2.fightMeter.init(tolerancePos, hitTolerance, (tolerancePos + (hitTolerance / 2))); _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); }; }; } else { if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (aggArea.hitTestObject(_arg1.noise)))){ if (facing == "Left"){ adjustImage("run", "Right"); } else { adjustImage("run", "Left"); }; } else { if (facing == "Left"){ x = (x - (swimSpd * Math.cos(angle))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (swimSpd * Math.cos(angle))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + (swimSpd * Math.sin(angle))); if ((y - _arg2.deepsea.y) < 200){ angle = (angle + Math.abs((angle * 2))); }; if ((y - _arg2.deepsea.y) > 800){ angle = (angle - Math.abs((angle * 2))); }; swimSpd = (swimSpd - 0.2); if (swimSpd <= 0){ swimSpd = (maxSwimSpd - (Math.random() * 15)); angle = (startAngle - (Math.random() * varAngle)); }; }; }; } else { if ((((action == "fight")) || ((action == "up")))){ timer++; if (Math.random() < changeOfInstability){ if (facing == "Left"){ adjustImage(action, "Right"); } else { adjustImage(action, "Left"); }; }; if (x < _arg1.poleX){ if ((((facing == "Left")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); } else { if ((((facing == "Right")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); }; }; } else { if ((((facing == "Left")) && ((tolerancePos < (100 - hitTolerance))))){ tolerancePos = (tolerancePos + instability); } else { if ((((facing == "Right")) && ((tolerancePos > 0)))){ tolerancePos = (tolerancePos - instability); }; }; }; if (facing == "Left"){ x = (x - instability); } else { x = (x + instability); }; _arg2.fightMeter.updateArea(tolerancePos); if (_arg2.fightStat == "isHit"){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; adjustImage("up", facing); } else { if (_arg2.fightStat == "isLoose"){ _arg2.lineTense = (_arg2.lineTense - relaxDown); if (_arg2.lineTense >= 0){ x = (x + (-10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y > -380){ y = (y - (10 * Math.sin(_arg1.pullAngle))); _arg2.vScroll(Math.round((-10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((-10 * Math.sin(_arg1.pullAngle)))); } else { if (_arg1.y < 400){ y = (y - (10 * Math.sin(_arg1.pullAngle))); if (y > 400){ y = 400; }; }; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("fight", facing); } else { adjustImage("return", facing); }; } else { if (_arg2.fightStat == "isTooMuch"){ _arg2.lineTense = (_arg2.lineTense + tenseUp); if (_arg2.lineTense <= 100){ x = (x + (10 * Math.cos(_arg1.pullAngle))); if (_arg2.deepsea.y < 100){ if (_arg1.y > 150){ y = (y + (10 * Math.sin(_arg1.pullAngle))); if (_arg1.y < 150){ _arg2.vScroll((_arg1.y - 150)); _arg2.poleY = (_arg2.poleY - (_arg1.y - 150)); _arg1.y = 150; }; } else { _arg2.vScroll(Math.round((10 * Math.sin(_arg1.pullAngle)))); _arg2.poleY = (_arg2.poleY - Math.round((10 * Math.sin(_arg1.pullAngle)))); }; } else { _arg2.gameStat = "catch"; isCatched = true; }; _arg2.fightMeter.tenseBar.setBar(Math.round(_arg2.lineTense)); adjustImage("up", facing); } else { adjustImage("return", facing); }; }; }; }; _arg1.x = (x + bite.x); _arg1.y = (y + bite.y); } else { if (action == "return"){ if (y < defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y + 5); if (y > defY){ y = defY; }; } else { if (y > defY){ if (facing == "Left"){ x = (x - (minSwimSpd + (Math.random() * maxSwimSpd))); if (x <= -100){ adjustImage(action, "Right"); }; } else { if (facing == "Right"){ x = (x + (minSwimSpd + (Math.random() * maxSwimSpd))); if (x >= 740){ adjustImage(action, "Left"); }; }; }; y = (y - (0.8 * 5)); if (y < defY){ y = defY; }; } else { if (y == defY){ adjustImage("swim", facing); }; }; }; } else { if (action == "run"){ if (facing == "Left"){ x = (x - (maxSwimSpd * 2)); } else { x = (x + (maxSwimSpd * 2)); }; if (((((((!((_arg1 == null))) && (!(aggArea.hitTestObject(_arg1.dummy))))) && ((_arg1.action == "bitten")))) && (!(aggArea.hitTestObject(_arg1.noise))))){ adjustImage("swim", facing); }; }; }; }; }; } } }//package

Library Items

Symbol 1 Sound {StrikeBGM}
Symbol 2 Sound {SE_putus}
Symbol 3 Sound {SE_bubble}
Symbol 4 Sound {clickSE}
Symbol 5 Sound {Pantai2}
Symbol 6 Sound {Pantai1}
Symbol 7 Sound {BGMintro}
Symbol 8 Sound {Smash}
Symbol 9 GraphicUsed by:13
Symbol 10 BitmapUsed by:11
Symbol 11 GraphicUses:10Used by:13
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClip {Strike}Uses:9 11 12
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClip {BigBubble}Uses:14
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClip {MbohFish}Uses:16
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClip {ImgUnknown}Uses:18
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClip {ImgBlackFinTuna}Uses:20
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClip {ImgBigEyeTuna}Uses:22
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClip {ImgMarlin}Uses:24
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClip {ImgKingMack}Uses:26
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClip {ImgMack}Uses:28
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClip {ImgHorEyeJack}Uses:30
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClip {ImgPermit}Uses:32
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClip {ImgDogSnap}Uses:34
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClip {ImgPlaSnap}Uses:36
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClip {ImgCopSnap}Uses:38
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClip {ImgRedSnap}Uses:40
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClip {ImgBarra}Uses:42
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClip {ImageUnknown}Uses:44
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClip {ImageBarracuda}Uses:46
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClip {ImageKingMackeral}Uses:48
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClip {ImageMackaro}Uses:50
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClip {ImageBlackFinTuna}Uses:52
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClip {ImageBigEyeTuna}Uses:54
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClip {ImagePermit}Uses:56
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClip {ImageHorseEyeJack}Uses:58
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClip {ImageDogSnapper}Uses:60
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClip {ImagePlaneSnapper}Uses:62
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClip {ImageCooperSnapper}Uses:64
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClip {ImageKakapMerah}Uses:66
Symbol 68 GraphicUsed by:71 76
Symbol 69 GraphicUsed by:71
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClip {Loose}Uses:68 69 70
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClip {ImageMarlin}Uses:72
Symbol 74 GraphicUsed by:76
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClip {LineBreak}Uses:68 74 75
Symbol 77 GraphicUsed by:80 87
Symbol 78 GraphicUsed by:80
Symbol 79 GraphicUsed by:80 87
Symbol 80 MovieClipUses:77 78 79Used by:88
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:81Used by:88 98 108 118 128 138 148 158 168 178 188 198 215 225
Symbol 83 GraphicUsed by:86
Symbol 84 GraphicUsed by:86
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClipUses:83 84 85Used by:88
Symbol 87 MovieClipUses:77 79Used by:88
Symbol 88 MovieClip {Unknown}Uses:80 82 86 87
Symbol 89 GraphicUsed by:92 97
Symbol 90 GraphicUsed by:92
Symbol 91 GraphicUsed by:92 97
Symbol 92 MovieClipUses:89 90 91Used by:98
Symbol 93 GraphicUsed by:96
Symbol 94 GraphicUsed by:96
Symbol 95 GraphicUsed by:96
Symbol 96 MovieClipUses:93 94 95Used by:98
Symbol 97 MovieClipUses:89 91Used by:98
Symbol 98 MovieClip {Barracuda}Uses:92 82 96 97
Symbol 99 GraphicUsed by:102 107
Symbol 100 GraphicUsed by:102
Symbol 101 GraphicUsed by:102 107
Symbol 102 MovieClipUses:99 100 101Used by:108
Symbol 103 GraphicUsed by:106
Symbol 104 GraphicUsed by:106
Symbol 105 GraphicUsed by:106
Symbol 106 MovieClipUses:103 104 105Used by:108
Symbol 107 MovieClipUses:99 101Used by:108
Symbol 108 MovieClip {Mackarel2}Uses:102 82 106 107
Symbol 109 GraphicUsed by:112 117
Symbol 110 GraphicUsed by:112
Symbol 111 GraphicUsed by:112 117
Symbol 112 MovieClipUses:109 110 111Used by:118
Symbol 113 GraphicUsed by:116
Symbol 114 GraphicUsed by:116
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClipUses:113 114 115Used by:118
Symbol 117 MovieClipUses:109 111Used by:118
Symbol 118 MovieClip {Mackarel1}Uses:112 82 116 117
Symbol 119 GraphicUsed by:122 127
Symbol 120 GraphicUsed by:122
Symbol 121 GraphicUsed by:122 127
Symbol 122 MovieClipUses:119 120 121Used by:128
Symbol 123 GraphicUsed by:126
Symbol 124 GraphicUsed by:126
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClipUses:123 124 125Used by:128
Symbol 127 MovieClipUses:119 121Used by:128
Symbol 128 MovieClip {Tuna2}Uses:122 82 126 127
Symbol 129 GraphicUsed by:132 137
Symbol 130 GraphicUsed by:132
Symbol 131 GraphicUsed by:132 137
Symbol 132 MovieClipUses:129 130 131Used by:138
Symbol 133 GraphicUsed by:136
Symbol 134 GraphicUsed by:136
Symbol 135 GraphicUsed by:136
Symbol 136 MovieClipUses:133 134 135Used by:138
Symbol 137 MovieClipUses:129 131Used by:138
Symbol 138 MovieClip {Tuna1}Uses:132 82 136 137
Symbol 139 GraphicUsed by:142 147
Symbol 140 GraphicUsed by:142
Symbol 141 GraphicUsed by:142 147
Symbol 142 MovieClipUses:139 140 141Used by:148
Symbol 143 GraphicUsed by:146
Symbol 144 GraphicUsed by:146
Symbol 145 GraphicUsed by:146
Symbol 146 MovieClipUses:143 144 145Used by:148
Symbol 147 MovieClipUses:139 141Used by:148
Symbol 148 MovieClip {Kuwe2}Uses:142 82 146 147
Symbol 149 GraphicUsed by:152 157
Symbol 150 GraphicUsed by:152
Symbol 151 GraphicUsed by:152 157
Symbol 152 MovieClipUses:149 150 151Used by:158
Symbol 153 GraphicUsed by:156
Symbol 154 GraphicUsed by:156
Symbol 155 GraphicUsed by:156
Symbol 156 MovieClipUses:153 154 155Used by:158
Symbol 157 MovieClipUses:149 151Used by:158
Symbol 158 MovieClip {Kuwe1}Uses:152 82 156 157
Symbol 159 GraphicUsed by:162 167
Symbol 160 GraphicUsed by:162
Symbol 161 GraphicUsed by:162 167
Symbol 162 MovieClipUses:159 160 161Used by:168
Symbol 163 GraphicUsed by:166
Symbol 164 GraphicUsed by:166
Symbol 165 GraphicUsed by:166
Symbol 166 MovieClipUses:163 164 165Used by:168
Symbol 167 MovieClipUses:159 161Used by:168
Symbol 168 MovieClip {Kakap4}Uses:162 82 166 167
Symbol 169 GraphicUsed by:172 177
Symbol 170 GraphicUsed by:172
Symbol 171 GraphicUsed by:172 177
Symbol 172 MovieClipUses:169 170 171Used by:178
Symbol 173 GraphicUsed by:176
Symbol 174 GraphicUsed by:176
Symbol 175 GraphicUsed by:176
Symbol 176 MovieClipUses:173 174 175Used by:178
Symbol 177 MovieClipUses:169 171Used by:178
Symbol 178 MovieClip {Kakap3}Uses:172 82 176 177
Symbol 179 GraphicUsed by:182 187
Symbol 180 GraphicUsed by:182
Symbol 181 GraphicUsed by:182 187
Symbol 182 MovieClipUses:179 180 181Used by:188
Symbol 183 GraphicUsed by:186
Symbol 184 GraphicUsed by:186
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClipUses:183 184 185Used by:188
Symbol 187 MovieClipUses:179 181Used by:188
Symbol 188 MovieClip {Kakap2}Uses:182 82 186 187
Symbol 189 GraphicUsed by:192 197
Symbol 190 GraphicUsed by:192
Symbol 191 GraphicUsed by:192 197
Symbol 192 MovieClipUses:189 190 191Used by:198
Symbol 193 GraphicUsed by:196
Symbol 194 GraphicUsed by:196
Symbol 195 GraphicUsed by:196
Symbol 196 MovieClipUses:193 194 195Used by:198
Symbol 197 MovieClipUses:189 191Used by:198
Symbol 198 MovieClip {Kakap1}Uses:192 82 196 197
Symbol 199 GraphicUsed by:208 213
Symbol 200 GraphicUsed by:208 213 214
Symbol 201 GraphicUsed by:208
Symbol 202 GraphicUsed by:208
Symbol 203 GraphicUsed by:208 213
Symbol 204 GraphicUsed by:208 213 214
Symbol 205 GraphicUsed by:208
Symbol 206 GraphicUsed by:208
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClipUses:199 200 201 202 203 204 205 206 207Used by:215
Symbol 209 GraphicUsed by:212
Symbol 210 GraphicUsed by:212
Symbol 211 GraphicUsed by:212
Symbol 212 MovieClipUses:209 210 211Used by:215
Symbol 213 MovieClipUses:199 200 203 204Used by:215
Symbol 214 MovieClipUses:200 204Used by:215
Symbol 215 MovieClip {Marlin}Uses:208 82 212 213 214
Symbol 216 GraphicUsed by:217
Symbol 217 MovieClip {Bubble}Uses:216
Symbol 218 GraphicUsed by:221 222 223 225 406 408 410
Symbol 219 GraphicUsed by:221 222 223
Symbol 220 GraphicUsed by:221 222 223
Symbol 221 MovieClip {fishing_fla.squidbaitdown_83}Uses:218 219 220Used by:225
Symbol 222 MovieClip {fishing_fla.squidbaitup_85}Uses:220 219 218Used by:225
Symbol 223 MovieClipUses:220 219 218Used by:225
Symbol 224 GraphicUsed by:225
Symbol 225 MovieClip {SquidBait}Uses:221 82 222 223 218 224
Symbol 226 GraphicUsed by:244
Symbol 227 GraphicUsed by:236 238 240 242 375 377
Symbol 228 GraphicUsed by:236
Symbol 229 GraphicUsed by:233
Symbol 230 GraphicUsed by:233
Symbol 231 GraphicUsed by:233
Symbol 232 GraphicUsed by:233
Symbol 233 MovieClip {fishing_fla.BG3_27}Uses:229 230 231 232Used by:236 238 240 242 375 377
Symbol 234 GraphicUsed by:236 238 240 242 375 377
Symbol 235 GraphicUsed by:236 238 240 242 375 377
Symbol 236 ButtonUses:227 228 233 234 235Used by:244 264  Timeline
Symbol 237 GraphicUsed by:238
Symbol 238 ButtonUses:227 237 233 234 235Used by:244
Symbol 239 GraphicUsed by:240
Symbol 240 ButtonUses:227 239 233 234 235Used by:244
Symbol 241 GraphicUsed by:242
Symbol 242 ButtonUses:227 241 233 234 235Used by:244
Symbol 243 MovieClipUsed by:244 438 446 454 462 473 482 490
Symbol 244 MovieClip {MenuCont}Uses:226 236 238 240 242 243
Symbol 245 BitmapUsed by:247
Symbol 246 BitmapUsed by:247
Symbol 247 GraphicUses:245 246Used by:264
Symbol 248 FontUsed by:249 250 251 252 379 380 381 391 414 415 416 417 449 452 453 457 460 461 465 476 479 480 481 485 488 489
Symbol 249 TextUses:248Used by:264
Symbol 250 TextUses:248Used by:264
Symbol 251 TextUses:248Used by:264
Symbol 252 TextUses:248Used by:264
Symbol 253 FontUsed by:254 255 256 257 258
Symbol 254 TextUses:253Used by:264
Symbol 255 TextUses:253Used by:264
Symbol 256 TextUses:253Used by:264
Symbol 257 TextUses:253Used by:264
Symbol 258 TextUses:253Used by:264
Symbol 259 FontUsed by:260 261 262
Symbol 260 EditableTextUses:259Used by:263
Symbol 261 EditableTextUses:259Used by:263
Symbol 262 EditableTextUses:259Used by:263
Symbol 263 MovieClip {fishing_fla.subrec_77}Uses:260 261 262Used by:264
Symbol 264 MovieClip {Summary}Uses:247 249 250 251 252 254 255 256 257 258 236 263
Symbol 265 GraphicUsed by:266 288 307
Symbol 266 MovieClip {NylonString}Uses:265Used by:406
Symbol 267 GraphicUsed by:268
Symbol 268 MovieClipUses:267Used by:277
Symbol 269 GraphicUsed by:272 274
Symbol 270 GraphicUsed by:271
Symbol 271 MovieClipUses:270Used by:272 274
Symbol 272 MovieClipUses:269 271Used by:276
Symbol 273 GraphicUsed by:274
Symbol 274 MovieClipUses:269 273 271Used by:276
Symbol 275 GraphicUsed by:276
Symbol 276 ButtonUses:272 274 275Used by:277
Symbol 277 MovieClip {ShineDotBtn}Uses:268 276Used by:Timeline
Symbol 278 FontUsed by:279 280 317 491 492 493
Symbol 279 EditableTextUses:278Used by:Timeline
Symbol 280 TextUses:278Used by:Timeline
Symbol 281 GraphicUsed by:282
Symbol 282 MovieClipUses:281Used by:283
Symbol 283 MovieClip {fishing_fla.progressBar_1}Uses:282Used by:Timeline
Symbol 284 GraphicUsed by:288
Symbol 285 GraphicUsed by:288
Symbol 286 GraphicUsed by:288
Symbol 287 GraphicUsed by:288
Symbol 288 ButtonUses:265 284 285 286 287Used by:307
Symbol 289 GraphicUsed by:290
Symbol 290 MovieClipUses:289Used by:307
Symbol 291 GraphicUsed by:303 305 346 347
Symbol 292 GraphicUsed by:303 305 346 347
Symbol 293 GraphicUsed by:303 305 346 347
Symbol 294 GraphicUsed by:303 305 346 347
Symbol 295 GraphicUsed by:303 305 346 347
Symbol 296 GraphicUsed by:303 305 346 347
Symbol 297 GraphicUsed by:303 305 346 347
Symbol 298 GraphicUsed by:303 305 346 347
Symbol 299 GraphicUsed by:303 305 346 347
Symbol 300 GraphicUsed by:303 305 346 347
Symbol 301 GraphicUsed by:303 305 346 347
Symbol 302 GraphicUsed by:303 305 346 347
Symbol 303 MovieClipUses:291 292 293 294 295 296 297 298 299 300 301 302Used by:305
Symbol 304 GraphicUsed by:305 347
Symbol 305 ButtonUses:303 304 291 292 293 294 295 296 297 298 299 300 301 302Used by:306
Symbol 306 MovieClip {fishing_fla.AGlogo_mc_6}Uses:305Used by:307
Symbol 307 MovieClip {fishing_fla.AGteaser_mc_3}Uses:265 288 290 306Used by:Timeline
Symbol 308 GraphicUsed by:313
Symbol 309 GraphicUsed by:313
Symbol 310 GraphicUsed by:313
Symbol 311 GraphicUsed by:313
Symbol 312 GraphicUsed by:313
Symbol 313 ButtonUses:308 309 310 311 312Used by:Timeline
Symbol 314 GraphicUsed by:Timeline
Symbol 315 GraphicUsed by:316
Symbol 316 MovieClipUses:315Used by:Timeline
Symbol 317 TextUses:278Used by:318
Symbol 318 MovieClipUses:317Used by:Timeline
Symbol 319 GraphicUsed by:320 321 446 454 462 473 482 490
Symbol 320 MovieClipUses:319Used by:Timeline
Symbol 321 MovieClipUses:319Used by:446 454 462 473 482 490  Timeline
Symbol 322 BitmapUsed by:323
Symbol 323 GraphicUses:322Used by:Timeline
Symbol 324 GraphicUsed by:328
Symbol 325 GraphicUsed by:326
Symbol 326 MovieClipUses:325Used by:328
Symbol 327 GraphicUsed by:328 332 336 340 345 357 360 442 444
Symbol 328 ButtonUses:324 326 327Used by:Timeline
Symbol 329 GraphicUsed by:332
Symbol 330 GraphicUsed by:331  Timeline
Symbol 331 MovieClipUses:330Used by:332
Symbol 332 ButtonUses:329 331 327Used by:Timeline
Symbol 333 GraphicUsed by:336
Symbol 334 GraphicUsed by:335  Timeline
Symbol 335 MovieClipUses:334Used by:336
Symbol 336 ButtonUses:333 335 327Used by:Timeline
Symbol 337 GraphicUsed by:340
Symbol 338 GraphicUsed by:339  Timeline
Symbol 339 MovieClipUses:338Used by:340
Symbol 340 ButtonUses:337 339 327Used by:Timeline
Symbol 341 GraphicUsed by:345
Symbol 342 GraphicUsed by:344 383
Symbol 343 GraphicUsed by:344 383
Symbol 344 MovieClip {fishing_fla.shakingHS_23}Uses:342 343Used by:345
Symbol 345 ButtonUses:341 344 327Used by:Timeline
Symbol 346 MovieClipUses:291 292 293 294 295 296 297 298 299 300 301 302Used by:347
Symbol 347 ButtonUses:346 304 291 292 293 294 295 296 297 298 299 300 301 302Used by:Timeline
Symbol 348 BitmapUsed by:350
Symbol 349 BitmapUsed by:350
Symbol 350 GraphicUses:348 349Used by:Timeline
Symbol 351 GraphicUsed by:Timeline
Symbol 352 FontUsed by:353 354 385 386 387 388 415 417 430 431 432 433 440 448 452 453 456 460 461 464 475 479 480 484 488 489
Symbol 353 EditableTextUses:352Used by:Timeline
Symbol 354 EditableTextUses:352Used by:Timeline
Symbol 355 GraphicUsed by:356 357
Symbol 356 MovieClipUses:355Used by:357
Symbol 357 ButtonUses:355 356 327Used by:Timeline
Symbol 358 GraphicUsed by:359 360
Symbol 359 MovieClipUses:358Used by:360
Symbol 360 ButtonUses:358 359 327Used by:Timeline
Symbol 361 GraphicUsed by:Timeline
Symbol 362 BitmapUsed by:364 384 447 455 463 474 483
Symbol 363 BitmapUsed by:364 384 447 455 463 474 483
Symbol 364 GraphicUses:362 363Used by:Timeline
Symbol 365 GraphicUsed by:Timeline
Symbol 366 BitmapUsed by:368
Symbol 367 BitmapUsed by:368
Symbol 368 GraphicUses:366 367Used by:Timeline
Symbol 369 BitmapUsed by:370
Symbol 370 GraphicUses:369Used by:Timeline
Symbol 371 BitmapUsed by:373
Symbol 372 BitmapUsed by:373
Symbol 373 GraphicUses:371 372Used by:383
Symbol 374 GraphicUsed by:375
Symbol 375 ButtonUses:227 374 233 234 235Used by:383
Symbol 376 GraphicUsed by:377
Symbol 377 ButtonUses:227 376 233 234 235Used by:383
Symbol 378 MovieClipUsed by:383
Symbol 379 EditableTextUses:248Used by:382
Symbol 380 EditableTextUses:248Used by:382
Symbol 381 EditableTextUses:248Used by:382
Symbol 382 MovieClip {fishing_fla.highscoreRecordText_42}Uses:379 380 381Used by:383
Symbol 383 MovieClip {fishing_fla.highscore_38}Uses:373 343 342 375 377 378 382Used by:Timeline
Symbol 384 GraphicUses:362 363Used by:Timeline
Symbol 385 EditableTextUses:352Used by:Timeline
Symbol 386 TextUses:352Used by:390
Symbol 387 TextUses:352Used by:390
Symbol 388 TextUses:352Used by:390
Symbol 389 GraphicUsed by:390
Symbol 390 ButtonUses:386 387 388 389Used by:Timeline
Symbol 391 TextUses:248Used by:Timeline
Symbol 392 GraphicUsed by:393
Symbol 393 MovieClipUses:392Used by:446
Symbol 394 GraphicUsed by:395
Symbol 395 MovieClipUses:394Used by:396
Symbol 396 MovieClipUses:395Used by:412
Symbol 397 GraphicUsed by:412
Symbol 398 GraphicUsed by:401
Symbol 399 GraphicUsed by:401
Symbol 400 GraphicUsed by:401
Symbol 401 MovieClipUses:398 399 400Used by:412
Symbol 402 GraphicUsed by:406 408 410 412
Symbol 403 GraphicUsed by:406 408 410 411
Symbol 404 GraphicUsed by:406 408 410 411
Symbol 405 GraphicUsed by:406
Symbol 406 MovieClip {fishing_fla.playercast_50}Uses:402 218 403 404 405 266Used by:412
Symbol 407 GraphicUsed by:408
Symbol 408 MovieClip {fishing_fla.playercast2_52}Uses:402 218 403 404 407Used by:412
Symbol 409 GraphicUsed by:410
Symbol 410 MovieClip {fishing_fla.playercast3_53}Uses:402 218 403 404 409Used by:412
Symbol 411 MovieClipUses:403 404Used by:412
Symbol 412 MovieClip {fishing_fla.player_46}Uses:396 397 401 406 408 410 402 411Used by:446 454 462 473 482 490
Symbol 413 GraphicUsed by:446 454 462 473 482 490
Symbol 414 TextUses:248Used by:446 454 462 482 490
Symbol 415 EditableTextUses:248 352Used by:446
Symbol 416 TextUses:248Used by:446 454 462 482 490
Symbol 417 EditableTextUses:248 352Used by:446
Symbol 418 GraphicUsed by:419
Symbol 419 MovieClip {fishing_fla.tenseBar_56}Uses:418Used by:428
Symbol 420 GraphicUsed by:428
Symbol 421 GraphicUsed by:422 428
Symbol 422 MovieClipUses:421Used by:428
Symbol 423 GraphicUsed by:424
Symbol 424 MovieClipUses:423Used by:428
Symbol 425 GraphicUsed by:426
Symbol 426 MovieClipUses:425Used by:428
Symbol 427 GraphicUsed by:428
Symbol 428 MovieClip {fishing_fla.dodgeMeter_55}Uses:419 420 421 422 424 426 427Used by:446 454 462 473 482 490
Symbol 429 GraphicUsed by:438
Symbol 430 TextUses:352Used by:438
Symbol 431 TextUses:352Used by:438
Symbol 432 TextUses:352Used by:438
Symbol 433 TextUses:352Used by:438
Symbol 434 FontUsed by:435 436 437
Symbol 435 EditableTextUses:434Used by:438
Symbol 436 EditableTextUses:434Used by:438
Symbol 437 EditableTextUses:434Used by:438
Symbol 438 MovieClip {fishing_fla.resultDisplay_60}Uses:429 243 430 431 432 433 435 436 437Used by:446 454 462 473 482 490
Symbol 439 GraphicUsed by:445
Symbol 440 TextUses:352Used by:445
Symbol 441 GraphicUsed by:442
Symbol 442 ButtonUses:441 327Used by:445
Symbol 443 GraphicUsed by:444
Symbol 444 ButtonUses:443 327Used by:445
Symbol 445 MovieClip {fishing_fla.nextCon_62}Uses:439 440 442 444Used by:446 454 462 473 482 490
Symbol 446 MovieClip {fishing_fla.krakatauSea_44}Uses:319 393 321 412 413 414 415 416 417 428 438 243 445Used by:Timeline
Symbol 447 GraphicUses:362 363Used by:Timeline
Symbol 448 EditableTextUses:352Used by:Timeline
Symbol 449 TextUses:248Used by:Timeline
Symbol 450 GraphicUsed by:451
Symbol 451 MovieClipUses:450Used by:454
Symbol 452 EditableTextUses:248 352Used by:454
Symbol 453 EditableTextUses:248 352Used by:454
Symbol 454 MovieClip {fishing_fla.jakartaSea_65}Uses:319 321 451 412 428 413 414 452 416 453 438 243 445Used by:Timeline
Symbol 455 GraphicUses:362 363Used by:Timeline
Symbol 456 EditableTextUses:352Used by:Timeline
Symbol 457 TextUses:248Used by:Timeline
Symbol 458 GraphicUsed by:459
Symbol 459 MovieClipUses:458Used by:462
Symbol 460 EditableTextUses:248 352Used by:462
Symbol 461 EditableTextUses:248 352Used by:462
Symbol 462 MovieClip {fishing_fla.baliSea_67}Uses:319 321 459 412 413 414 460 416 461 428 438 243 445Used by:Timeline
Symbol 463 GraphicUses:362 363Used by:Timeline
Symbol 464 EditableTextUses:352Used by:Timeline
Symbol 465 TextUses:248Used by:Timeline
Symbol 466 GraphicUsed by:467
Symbol 467 MovieClipUses:466Used by:473
Symbol 468 FontUsed by:469 470 471 472
Symbol 469 TextUses:468Used by:473
Symbol 470 EditableTextUses:468Used by:473
Symbol 471 TextUses:468Used by:473
Symbol 472 EditableTextUses:468Used by:473
Symbol 473 MovieClip {fishing_fla.manadoSea_69}Uses:319 321 467 412 428 438 413 469 470 471 472 243 445Used by:Timeline
Symbol 474 GraphicUses:362 363Used by:Timeline
Symbol 475 EditableTextUses:352Used by:Timeline
Symbol 476 TextUses:248Used by:Timeline
Symbol 477 GraphicUsed by:478
Symbol 478 MovieClipUses:477Used by:482
Symbol 479 EditableTextUses:248 352Used by:482
Symbol 480 EditableTextUses:248 352Used by:482
Symbol 481 TextUses:248Used by:482
Symbol 482 MovieClip {fishing_fla.arafuruSea_71}Uses:319 321 478 412 428 438 413 414 479 416 480 481 243 445Used by:Timeline
Symbol 483 GraphicUses:362 363Used by:Timeline
Symbol 484 EditableTextUses:352Used by:Timeline
Symbol 485 TextUses:248Used by:Timeline
Symbol 486 GraphicUsed by:487
Symbol 487 MovieClipUses:486Used by:490
Symbol 488 EditableTextUses:248 352Used by:490
Symbol 489 EditableTextUses:248 352Used by:490
Symbol 490 MovieClip {fishing_fla.secretspot_73}Uses:319 321 487 412 428 438 413 414 488 416 489 243 445Used by:Timeline
Symbol 491 TextUses:278Used by:Timeline
Symbol 492 TextUses:278Used by:494
Symbol 493 TextUses:278Used by:494
Symbol 494 ButtonUses:492 493Used by:Timeline

Instance Names

"percent_txt"Frame 1Symbol 279 EditableText
"bar1"Frame 1Symbol 283 MovieClip {fishing_fla.progressBar_1}
"Teaser"Frame 2Symbol 307 MovieClip {fishing_fla.AGteaser_mc_3}
"AGskip_btn"Frame 2Symbol 313 Button
"blackScreen"Frame 49Symbol 320 MovieClip
"bubbleCont"Frame 49Symbol 321 MovieClip
"play_btn"Frame 49Symbol 328 Button
"opt_btn"Frame 49Symbol 332 Button
"help_btn"Frame 49Symbol 336 Button
"credit_btn"Frame 49Symbol 340 Button
"high_btn"Frame 49Symbol 345 Button
"agButton_btn"Frame 49Symbol 347 Button
"effectStat"Frame 61Symbol 353 EditableText
"musicStat"Frame 61Symbol 354 EditableText
"back_btn"Frame 61Symbol 236 Button
"on2_btn"Frame 61Symbol 357 Button
"off2_btn"Frame 61Symbol 360 Button
"on1_btn"Frame 61Symbol 357 Button
"off1_btn"Frame 61Symbol 360 Button
"ret_btn"Frame 66Symbol 236 Button
"ret_btn"Frame 71Symbol 236 Button
"ret_btn"Frame 71Symbol 236 Button
"jakarta"Frame 76Symbol 277 MovieClip {ShineDotBtn}
"krakatau"Frame 76Symbol 277 MovieClip {ShineDotBtn}
"bali"Frame 76Symbol 277 MovieClip {ShineDotBtn}
"manado"Frame 76Symbol 277 MovieClip {ShineDotBtn}
"papua"Frame 76Symbol 277 MovieClip {ShineDotBtn}
"HS"Frame 77Symbol 383 MovieClip {fishing_fla.highscore_38}
"HS"Frame 81Symbol 383 MovieClip {fishing_fla.highscore_38}
"ret_btn"Frame 81Symbol 236 Button
"next_btn"Frame 82Symbol 390 Button
"sea"Frame 83Symbol 446 MovieClip {fishing_fla.krakatauSea_44}
"next_btn"Frame 99Symbol 390 Button
"sea"Frame 100Symbol 454 MovieClip {fishing_fla.jakartaSea_65}
"next_btn"Frame 116Symbol 390 Button
"sea"Frame 117Symbol 462 MovieClip {fishing_fla.baliSea_67}
"next_btn"Frame 133Symbol 390 Button
"sea"Frame 134Symbol 473 MovieClip {fishing_fla.manadoSea_69}
"next_btn"Frame 150Symbol 390 Button
"sea"Frame 151Symbol 482 MovieClip {fishing_fla.arafuruSea_71}
"next_btn"Frame 167Symbol 390 Button
"sea"Frame 168Symbol 490 MovieClip {fishing_fla.secretspot_73}
"redeem_btn"Frame 244Symbol 494 Button
"aggArea"Symbol 88 MovieClip {Unknown} Frame 1Symbol 82 MovieClip
"bite"Symbol 88 MovieClip {Unknown} Frame 1Symbol 82 MovieClip
"aggArea"Symbol 98 MovieClip {Barracuda} Frame 1Symbol 82 MovieClip
"bite"Symbol 98 MovieClip {Barracuda} Frame 1Symbol 82 MovieClip
"aggArea"Symbol 108 MovieClip {Mackarel2} Frame 1Symbol 82 MovieClip
"bite"Symbol 108 MovieClip {Mackarel2} Frame 1Symbol 82 MovieClip
"aggArea"Symbol 118 MovieClip {Mackarel1} Frame 1Symbol 82 MovieClip
"bite"Symbol 118 MovieClip {Mackarel1} Frame 1Symbol 82 MovieClip
"aggArea"Symbol 128 MovieClip {Tuna2} Frame 1Symbol 82 MovieClip
"bite"Symbol 128 MovieClip {Tuna2} Frame 1Symbol 82 MovieClip
"aggArea"Symbol 138 MovieClip {Tuna1} Frame 1Symbol 82 MovieClip
"bite"Symbol 138 MovieClip {Tuna1} Frame 1Symbol 82 MovieClip
"aggArea"Symbol 148 MovieClip {Kuwe2} Frame 1Symbol 82 MovieClip
"bite"Symbol 148 MovieClip {Kuwe2} Frame 1Symbol 82 MovieClip
"aggArea"Symbol 158 MovieClip {Kuwe1} Frame 1Symbol 82 MovieClip
"bite"Symbol 158 MovieClip {Kuwe1} Frame 1Symbol 82 MovieClip
"aggArea"Symbol 168 MovieClip {Kakap4} Frame 1Symbol 82 MovieClip
"bite"Symbol 168 MovieClip {Kakap4} Frame 1Symbol 82 MovieClip
"aggArea"Symbol 178 MovieClip {Kakap3} Frame 1Symbol 82 MovieClip
"bite"Symbol 178 MovieClip {Kakap3} Frame 1Symbol 82 MovieClip
"aggArea"Symbol 188 MovieClip {Kakap2} Frame 1Symbol 82 MovieClip
"bite"Symbol 188 MovieClip {Kakap2} Frame 1Symbol 82 MovieClip
"aggArea"Symbol 198 MovieClip {Kakap1} Frame 1Symbol 82 MovieClip
"bite"Symbol 198 MovieClip {Kakap1} Frame 1Symbol 82 MovieClip
"aggArea"Symbol 215 MovieClip {Marlin} Frame 1Symbol 82 MovieClip
"bite"Symbol 215 MovieClip {Marlin} Frame 1Symbol 82 MovieClip
"dummy"Symbol 225 MovieClip {SquidBait} Frame 1Symbol 82 MovieClip
"noise"Symbol 225 MovieClip {SquidBait} Frame 1Symbol 82 MovieClip
"ret_btn"Symbol 244 MovieClip {MenuCont} Frame 1Symbol 236 Button
"exit_btn"Symbol 244 MovieClip {MenuCont} Frame 1Symbol 238 Button
"summary_btn"Symbol 244 MovieClip {MenuCont} Frame 1Symbol 240 Button
"change_btn"Symbol 244 MovieClip {MenuCont} Frame 1Symbol 242 Button
"summCont"Symbol 244 MovieClip {MenuCont} Frame 1Symbol 243 MovieClip
"name_txt"Symbol 263 MovieClip {fishing_fla.subrec_77} Frame 1Symbol 260 EditableText
"weight_txt"Symbol 263 MovieClip {fishing_fla.subrec_77} Frame 1Symbol 261 EditableText
"time_txt"Symbol 263 MovieClip {fishing_fla.subrec_77} Frame 1Symbol 262 EditableText
"close_btn"Symbol 264 MovieClip {Summary} Frame 1Symbol 236 Button
"rec5"Symbol 264 MovieClip {Summary} Frame 1Symbol 263 MovieClip {fishing_fla.subrec_77}
"rec4"Symbol 264 MovieClip {Summary} Frame 1Symbol 263 MovieClip {fishing_fla.subrec_77}
"rec3"Symbol 264 MovieClip {Summary} Frame 1Symbol 263 MovieClip {fishing_fla.subrec_77}
"rec2"Symbol 264 MovieClip {Summary} Frame 1Symbol 263 MovieClip {fishing_fla.subrec_77}
"rec1"Symbol 264 MovieClip {Summary} Frame 1Symbol 263 MovieClip {fishing_fla.subrec_77}
"shine"Symbol 277 MovieClip {ShineDotBtn} Frame 1Symbol 268 MovieClip
"btn"Symbol 277 MovieClip {ShineDotBtn} Frame 1Symbol 276 Button
"line"Symbol 283 MovieClip {fishing_fla.progressBar_1} Frame 1Symbol 282 MovieClip
"agButton_btn"Symbol 306 MovieClip {fishing_fla.AGlogo_mc_6} Frame 1Symbol 305 Button
"AGclick_btn"Symbol 307 MovieClip {fishing_fla.AGteaser_mc_3} Frame 1Symbol 288 Button
"AGpresented_mc"Symbol 307 MovieClip {fishing_fla.AGteaser_mc_3} Frame 1Symbol 290 MovieClip
"AGlogo_mc"Symbol 307 MovieClip {fishing_fla.AGteaser_mc_3} Frame 1Symbol 306 MovieClip {fishing_fla.AGlogo_mc_6}
"name_txt"Symbol 382 MovieClip {fishing_fla.highscoreRecordText_42} Frame 1Symbol 379 EditableText
"weight_txt"Symbol 382 MovieClip {fishing_fla.highscoreRecordText_42} Frame 1Symbol 380 EditableText
"loc_txt"Symbol 382 MovieClip {fishing_fla.highscoreRecordText_42} Frame 1Symbol 381 EditableText
"prev_btn"Symbol 383 MovieClip {fishing_fla.highscore_38} Frame 1Symbol 375 Button
"next_btn"Symbol 383 MovieClip {fishing_fla.highscore_38} Frame 1Symbol 377 Button
"img0"Symbol 383 MovieClip {fishing_fla.highscore_38} Frame 1Symbol 378 MovieClip
"img1"Symbol 383 MovieClip {fishing_fla.highscore_38} Frame 1Symbol 378 MovieClip
"img2"Symbol 383 MovieClip {fishing_fla.highscore_38} Frame 1Symbol 378 MovieClip
"img3"Symbol 383 MovieClip {fishing_fla.highscore_38} Frame 1Symbol 378 MovieClip
"rec0"Symbol 383 MovieClip {fishing_fla.highscore_38} Frame 1Symbol 382 MovieClip {fishing_fla.highscoreRecordText_42}
"rec1"Symbol 383 MovieClip {fishing_fla.highscore_38} Frame 1Symbol 382 MovieClip {fishing_fla.highscoreRecordText_42}
"rec2"Symbol 383 MovieClip {fishing_fla.highscore_38} Frame 1Symbol 382 MovieClip {fishing_fla.highscoreRecordText_42}
"rec3"Symbol 383 MovieClip {fishing_fla.highscore_38} Frame 1Symbol 382 MovieClip {fishing_fla.highscoreRecordText_42}
"fisherman"Symbol 412 MovieClip {fishing_fla.player_46} Frame 3Symbol 401 MovieClip
"fisherman"Symbol 412 MovieClip {fishing_fla.player_46} Frame 5Symbol 406 MovieClip {fishing_fla.playercast_50}
"fisherman"Symbol 412 MovieClip {fishing_fla.player_46} Frame 7Symbol 408 MovieClip {fishing_fla.playercast2_52}
"fisherman"Symbol 412 MovieClip {fishing_fla.player_46} Frame 9Symbol 410 MovieClip {fishing_fla.playercast3_53}
"tenseBar"Symbol 428 MovieClip {fishing_fla.dodgeMeter_55} Frame 1Symbol 419 MovieClip {fishing_fla.tenseBar_56}
"masker"Symbol 428 MovieClip {fishing_fla.dodgeMeter_55} Frame 1Symbol 422 MovieClip
"dodgeArea"Symbol 428 MovieClip {fishing_fla.dodgeMeter_55} Frame 1Symbol 424 MovieClip
"dodgeCursor"Symbol 428 MovieClip {fishing_fla.dodgeMeter_55} Frame 1Symbol 426 MovieClip
"foto"Symbol 438 MovieClip {fishing_fla.resultDisplay_60} Frame 1Symbol 243 MovieClip
"time_txt"Symbol 438 MovieClip {fishing_fla.resultDisplay_60} Frame 1Symbol 435 EditableText
"weight_txt"Symbol 438 MovieClip {fishing_fla.resultDisplay_60} Frame 1Symbol 436 EditableText
"name_txt"Symbol 438 MovieClip {fishing_fla.resultDisplay_60} Frame 1Symbol 437 EditableText
"n_btn"Symbol 445 MovieClip {fishing_fla.nextCon_62} Frame 1Symbol 442 Button
"s_btn"Symbol 445 MovieClip {fishing_fla.nextCon_62} Frame 1Symbol 444 Button
"deepsea"Symbol 446 MovieClip {fishing_fla.krakatauSea_44} Frame 1Symbol 393 MovieClip
"dummy"Symbol 446 MovieClip {fishing_fla.krakatauSea_44} Frame 1Symbol 321 MovieClip
"backBubbleCont"Symbol 446 MovieClip {fishing_fla.krakatauSea_44} Frame 1Symbol 321 MovieClip
"player"Symbol 446 MovieClip {fishing_fla.krakatauSea_44} Frame 1Symbol 412 MovieClip {fishing_fla.player_46}
"baitCont"Symbol 446 MovieClip {fishing_fla.krakatauSea_44} Frame 1Symbol 321 MovieClip
"fishCont"Symbol 446 MovieClip {fishing_fla.krakatauSea_44} Frame 1Symbol 321 MovieClip
"frontBubbleCont"Symbol 446 MovieClip {fishing_fla.krakatauSea_44} Frame 1Symbol 321 MovieClip
"fishCount_txt"Symbol 446 MovieClip {fishing_fla.krakatauSea_44} Frame 1Symbol 415 EditableText
"weightCount_txt"Symbol 446 MovieClip {fishing_fla.krakatauSea_44} Frame 1Symbol 417 EditableText
"fightMeter"Symbol 446 MovieClip {fishing_fla.krakatauSea_44} Frame 1Symbol 428 MovieClip {fishing_fla.dodgeMeter_55}
"resultDisp"Symbol 446 MovieClip {fishing_fla.krakatauSea_44} Frame 1Symbol 438 MovieClip {fishing_fla.resultDisplay_60}
"menuCont"Symbol 446 MovieClip {fishing_fla.krakatauSea_44} Frame 1Symbol 243 MovieClip
"objConf"Symbol 446 MovieClip {fishing_fla.krakatauSea_44} Frame 1Symbol 445 MovieClip {fishing_fla.nextCon_62}
"dummy"Symbol 454 MovieClip {fishing_fla.jakartaSea_65} Frame 1Symbol 321 MovieClip
"deepsea"Symbol 454 MovieClip {fishing_fla.jakartaSea_65} Frame 1Symbol 451 MovieClip
"backBubbleCont"Symbol 454 MovieClip {fishing_fla.jakartaSea_65} Frame 1Symbol 321 MovieClip
"player"Symbol 454 MovieClip {fishing_fla.jakartaSea_65} Frame 1Symbol 412 MovieClip {fishing_fla.player_46}
"baitCont"Symbol 454 MovieClip {fishing_fla.jakartaSea_65} Frame 1Symbol 321 MovieClip
"fishCont"Symbol 454 MovieClip {fishing_fla.jakartaSea_65} Frame 1Symbol 321 MovieClip
"frontBubbleCont"Symbol 454 MovieClip {fishing_fla.jakartaSea_65} Frame 1Symbol 321 MovieClip
"fightMeter"Symbol 454 MovieClip {fishing_fla.jakartaSea_65} Frame 1Symbol 428 MovieClip {fishing_fla.dodgeMeter_55}
"fishCount_txt"Symbol 454 MovieClip {fishing_fla.jakartaSea_65} Frame 1Symbol 452 EditableText
"weightCount_txt"Symbol 454 MovieClip {fishing_fla.jakartaSea_65} Frame 1Symbol 453 EditableText
"resultDisp"Symbol 454 MovieClip {fishing_fla.jakartaSea_65} Frame 1Symbol 438 MovieClip {fishing_fla.resultDisplay_60}
"menuCont"Symbol 454 MovieClip {fishing_fla.jakartaSea_65} Frame 1Symbol 243 MovieClip
"objConf"Symbol 454 MovieClip {fishing_fla.jakartaSea_65} Frame 1Symbol 445 MovieClip {fishing_fla.nextCon_62}
"dummy"Symbol 462 MovieClip {fishing_fla.baliSea_67} Frame 1Symbol 321 MovieClip
"deepsea"Symbol 462 MovieClip {fishing_fla.baliSea_67} Frame 1Symbol 459 MovieClip
"backBubbleCont"Symbol 462 MovieClip {fishing_fla.baliSea_67} Frame 1Symbol 321 MovieClip
"player"Symbol 462 MovieClip {fishing_fla.baliSea_67} Frame 1Symbol 412 MovieClip {fishing_fla.player_46}
"baitCont"Symbol 462 MovieClip {fishing_fla.baliSea_67} Frame 1Symbol 321 MovieClip
"fishCont"Symbol 462 MovieClip {fishing_fla.baliSea_67} Frame 1Symbol 321 MovieClip
"frontBubbleCont"Symbol 462 MovieClip {fishing_fla.baliSea_67} Frame 1Symbol 321 MovieClip
"fishCount_txt"Symbol 462 MovieClip {fishing_fla.baliSea_67} Frame 1Symbol 460 EditableText
"weightCount_txt"Symbol 462 MovieClip {fishing_fla.baliSea_67} Frame 1Symbol 461 EditableText
"fightMeter"Symbol 462 MovieClip {fishing_fla.baliSea_67} Frame 1Symbol 428 MovieClip {fishing_fla.dodgeMeter_55}
"resultDisp"Symbol 462 MovieClip {fishing_fla.baliSea_67} Frame 1Symbol 438 MovieClip {fishing_fla.resultDisplay_60}
"menuCont"Symbol 462 MovieClip {fishing_fla.baliSea_67} Frame 1Symbol 243 MovieClip
"objConf"Symbol 462 MovieClip {fishing_fla.baliSea_67} Frame 1Symbol 445 MovieClip {fishing_fla.nextCon_62}
"dummy"Symbol 473 MovieClip {fishing_fla.manadoSea_69} Frame 1Symbol 321 MovieClip
"deepsea"Symbol 473 MovieClip {fishing_fla.manadoSea_69} Frame 1Symbol 467 MovieClip
"backBubbleCont"Symbol 473 MovieClip {fishing_fla.manadoSea_69} Frame 1Symbol 321 MovieClip
"player"Symbol 473 MovieClip {fishing_fla.manadoSea_69} Frame 1Symbol 412 MovieClip {fishing_fla.player_46}
"baitCont"Symbol 473 MovieClip {fishing_fla.manadoSea_69} Frame 1Symbol 321 MovieClip
"fishCont"Symbol 473 MovieClip {fishing_fla.manadoSea_69} Frame 1Symbol 321 MovieClip
"frontBubbleCont"Symbol 473 MovieClip {fishing_fla.manadoSea_69} Frame 1Symbol 321 MovieClip
"fightMeter"Symbol 473 MovieClip {fishing_fla.manadoSea_69} Frame 1Symbol 428 MovieClip {fishing_fla.dodgeMeter_55}
"resultDisp"Symbol 473 MovieClip {fishing_fla.manadoSea_69} Frame 1Symbol 438 MovieClip {fishing_fla.resultDisplay_60}
"fishCount_txt"Symbol 473 MovieClip {fishing_fla.manadoSea_69} Frame 1Symbol 470 EditableText
"weightCount_txt"Symbol 473 MovieClip {fishing_fla.manadoSea_69} Frame 1Symbol 472 EditableText
"menuCont"Symbol 473 MovieClip {fishing_fla.manadoSea_69} Frame 1Symbol 243 MovieClip
"objConf"Symbol 473 MovieClip {fishing_fla.manadoSea_69} Frame 1Symbol 445 MovieClip {fishing_fla.nextCon_62}
"dummy"Symbol 482 MovieClip {fishing_fla.arafuruSea_71} Frame 1Symbol 321 MovieClip
"deepsea"Symbol 482 MovieClip {fishing_fla.arafuruSea_71} Frame 1Symbol 478 MovieClip
"backBubbleCont"Symbol 482 MovieClip {fishing_fla.arafuruSea_71} Frame 1Symbol 321 MovieClip
"player"Symbol 482 MovieClip {fishing_fla.arafuruSea_71} Frame 1Symbol 412 MovieClip {fishing_fla.player_46}
"baitCont"Symbol 482 MovieClip {fishing_fla.arafuruSea_71} Frame 1Symbol 321 MovieClip
"fishCont"Symbol 482 MovieClip {fishing_fla.arafuruSea_71} Frame 1Symbol 321 MovieClip
"frontBubbleCont"Symbol 482 MovieClip {fishing_fla.arafuruSea_71} Frame 1Symbol 321 MovieClip
"fightMeter"Symbol 482 MovieClip {fishing_fla.arafuruSea_71} Frame 1Symbol 428 MovieClip {fishing_fla.dodgeMeter_55}
"resultDisp"Symbol 482 MovieClip {fishing_fla.arafuruSea_71} Frame 1Symbol 438 MovieClip {fishing_fla.resultDisplay_60}
"fishCount_txt"Symbol 482 MovieClip {fishing_fla.arafuruSea_71} Frame 1Symbol 479 EditableText
"weightCount_txt"Symbol 482 MovieClip {fishing_fla.arafuruSea_71} Frame 1Symbol 480 EditableText
"menuCont"Symbol 482 MovieClip {fishing_fla.arafuruSea_71} Frame 1Symbol 243 MovieClip
"objConf"Symbol 482 MovieClip {fishing_fla.arafuruSea_71} Frame 1Symbol 445 MovieClip {fishing_fla.nextCon_62}
"dummy"Symbol 490 MovieClip {fishing_fla.secretspot_73} Frame 1Symbol 321 MovieClip
"deepsea"Symbol 490 MovieClip {fishing_fla.secretspot_73} Frame 1Symbol 487 MovieClip
"backBubbleCont"Symbol 490 MovieClip {fishing_fla.secretspot_73} Frame 1Symbol 321 MovieClip
"player"Symbol 490 MovieClip {fishing_fla.secretspot_73} Frame 1Symbol 412 MovieClip {fishing_fla.player_46}
"baitCont"Symbol 490 MovieClip {fishing_fla.secretspot_73} Frame 1Symbol 321 MovieClip
"fishCont"Symbol 490 MovieClip {fishing_fla.secretspot_73} Frame 1Symbol 321 MovieClip
"frontBubbleCont"Symbol 490 MovieClip {fishing_fla.secretspot_73} Frame 1Symbol 321 MovieClip
"fightMeter"Symbol 490 MovieClip {fishing_fla.secretspot_73} Frame 1Symbol 428 MovieClip {fishing_fla.dodgeMeter_55}
"resultDisp"Symbol 490 MovieClip {fishing_fla.secretspot_73} Frame 1Symbol 438 MovieClip {fishing_fla.resultDisplay_60}
"fishCount_txt"Symbol 490 MovieClip {fishing_fla.secretspot_73} Frame 1Symbol 488 EditableText
"weightCount_txt"Symbol 490 MovieClip {fishing_fla.secretspot_73} Frame 1Symbol 489 EditableText
"menuCont"Symbol 490 MovieClip {fishing_fla.secretspot_73} Frame 1Symbol 243 MovieClip
"objConf"Symbol 490 MovieClip {fishing_fla.secretspot_73} Frame 1Symbol 445 MovieClip {fishing_fla.nextCon_62}

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.
Tag 0x0FF (255)Timeline Frame 11 bytes " "

Labels

"preloader"Frame 1
"AGTeaserMC"Frame 2
"global variable and property"Frame 3
"game script"Frame 9
"startScreen"Frame 9
"for other script"Frame 22
"main menu"Frame 49
"option"Frame 57
"credit"Frame 62
"help"Frame 67
"locSel"Frame 72
"highscore"Frame 77
"prekrakatau"Frame 82
"Krakatau"Frame 83
"prejakarta"Frame 99
"Jakarta"Frame 100
"prebali"Frame 116
"Bali"Frame 117
"premanado"Frame 133
"Manado"Frame 134
"prepapua"Frame 150
"Papua"Frame 151
"presecret spot"Frame 167
"Secretspot"Frame 168
"game over"Frame 236
"piracy"Frame 244
"swimRight"Symbol 88 MovieClip {Unknown} Frame 1
"swimLeft"Symbol 88 MovieClip {Unknown} Frame 2
"fightLeft"Symbol 88 MovieClip {Unknown} Frame 3
"fightRight"Symbol 88 MovieClip {Unknown} Frame 4
"returnRight"Symbol 88 MovieClip {Unknown} Frame 5
"returnLeft"Symbol 88 MovieClip {Unknown} Frame 6
"upLeft"Symbol 88 MovieClip {Unknown} Frame 7
"upRight"Symbol 88 MovieClip {Unknown} Frame 8
"runRight"Symbol 88 MovieClip {Unknown} Frame 9
"runLeft"Symbol 88 MovieClip {Unknown} Frame 10
"swimRight"Symbol 98 MovieClip {Barracuda} Frame 1
"swimLeft"Symbol 98 MovieClip {Barracuda} Frame 2
"fightLeft"Symbol 98 MovieClip {Barracuda} Frame 3
"fightRight"Symbol 98 MovieClip {Barracuda} Frame 4
"returnRight"Symbol 98 MovieClip {Barracuda} Frame 5
"returnLeft"Symbol 98 MovieClip {Barracuda} Frame 6
"upLeft"Symbol 98 MovieClip {Barracuda} Frame 7
"upRight"Symbol 98 MovieClip {Barracuda} Frame 8
"runRight"Symbol 98 MovieClip {Barracuda} Frame 9
"runLeft"Symbol 98 MovieClip {Barracuda} Frame 10
"swimRight"Symbol 108 MovieClip {Mackarel2} Frame 1
"swimLeft"Symbol 108 MovieClip {Mackarel2} Frame 2
"fightLeft"Symbol 108 MovieClip {Mackarel2} Frame 3
"fightRight"Symbol 108 MovieClip {Mackarel2} Frame 4
"returnRight"Symbol 108 MovieClip {Mackarel2} Frame 5
"returnLeft"Symbol 108 MovieClip {Mackarel2} Frame 6
"upLeft"Symbol 108 MovieClip {Mackarel2} Frame 7
"upRight"Symbol 108 MovieClip {Mackarel2} Frame 8
"runRight"Symbol 108 MovieClip {Mackarel2} Frame 9
"runLeft"Symbol 108 MovieClip {Mackarel2} Frame 10
"swimRight"Symbol 118 MovieClip {Mackarel1} Frame 1
"swimLeft"Symbol 118 MovieClip {Mackarel1} Frame 2
"fightLeft"Symbol 118 MovieClip {Mackarel1} Frame 3
"fightRight"Symbol 118 MovieClip {Mackarel1} Frame 4
"returnRight"Symbol 118 MovieClip {Mackarel1} Frame 5
"returnLeft"Symbol 118 MovieClip {Mackarel1} Frame 6
"upLeft"Symbol 118 MovieClip {Mackarel1} Frame 7
"upRight"Symbol 118 MovieClip {Mackarel1} Frame 8
"runRight"Symbol 118 MovieClip {Mackarel1} Frame 9
"runLeft"Symbol 118 MovieClip {Mackarel1} Frame 10
"swimRight"Symbol 128 MovieClip {Tuna2} Frame 1
"swimLeft"Symbol 128 MovieClip {Tuna2} Frame 2
"fightLeft"Symbol 128 MovieClip {Tuna2} Frame 3
"fightRight"Symbol 128 MovieClip {Tuna2} Frame 4
"returnRight"Symbol 128 MovieClip {Tuna2} Frame 5
"returnLeft"Symbol 128 MovieClip {Tuna2} Frame 6
"upLeft"Symbol 128 MovieClip {Tuna2} Frame 7
"upRight"Symbol 128 MovieClip {Tuna2} Frame 8
"runRight"Symbol 128 MovieClip {Tuna2} Frame 9
"runLeft"Symbol 128 MovieClip {Tuna2} Frame 10
"swimRight"Symbol 138 MovieClip {Tuna1} Frame 1
"swimLeft"Symbol 138 MovieClip {Tuna1} Frame 2
"fightLeft"Symbol 138 MovieClip {Tuna1} Frame 3
"fightRight"Symbol 138 MovieClip {Tuna1} Frame 4
"returnRight"Symbol 138 MovieClip {Tuna1} Frame 5
"returnLeft"Symbol 138 MovieClip {Tuna1} Frame 6
"upLeft"Symbol 138 MovieClip {Tuna1} Frame 7
"upRight"Symbol 138 MovieClip {Tuna1} Frame 8
"runRight"Symbol 138 MovieClip {Tuna1} Frame 9
"runLeft"Symbol 138 MovieClip {Tuna1} Frame 10
"swimRight"Symbol 148 MovieClip {Kuwe2} Frame 1
"swimLeft"Symbol 148 MovieClip {Kuwe2} Frame 2
"fightLeft"Symbol 148 MovieClip {Kuwe2} Frame 3
"fightRight"Symbol 148 MovieClip {Kuwe2} Frame 4
"returnRight"Symbol 148 MovieClip {Kuwe2} Frame 5
"returnLeft"Symbol 148 MovieClip {Kuwe2} Frame 6
"upLeft"Symbol 148 MovieClip {Kuwe2} Frame 7
"upRight"Symbol 148 MovieClip {Kuwe2} Frame 8
"runRight"Symbol 148 MovieClip {Kuwe2} Frame 9
"runLeft"Symbol 148 MovieClip {Kuwe2} Frame 10
"swimRight"Symbol 158 MovieClip {Kuwe1} Frame 1
"swimLeft"Symbol 158 MovieClip {Kuwe1} Frame 2
"fightLeft"Symbol 158 MovieClip {Kuwe1} Frame 3
"fightRight"Symbol 158 MovieClip {Kuwe1} Frame 4
"returnRight"Symbol 158 MovieClip {Kuwe1} Frame 5
"returnLeft"Symbol 158 MovieClip {Kuwe1} Frame 6
"upLeft"Symbol 158 MovieClip {Kuwe1} Frame 7
"upRight"Symbol 158 MovieClip {Kuwe1} Frame 8
"runRight"Symbol 158 MovieClip {Kuwe1} Frame 9
"runLeft"Symbol 158 MovieClip {Kuwe1} Frame 10
"swimRight"Symbol 168 MovieClip {Kakap4} Frame 1
"swimLeft"Symbol 168 MovieClip {Kakap4} Frame 2
"fightLeft"Symbol 168 MovieClip {Kakap4} Frame 3
"fightRight"Symbol 168 MovieClip {Kakap4} Frame 4
"returnRight"Symbol 168 MovieClip {Kakap4} Frame 5
"returnLeft"Symbol 168 MovieClip {Kakap4} Frame 6
"upLeft"Symbol 168 MovieClip {Kakap4} Frame 7
"upRight"Symbol 168 MovieClip {Kakap4} Frame 8
"runRight"Symbol 168 MovieClip {Kakap4} Frame 9
"runLeft"Symbol 168 MovieClip {Kakap4} Frame 10
"swimRight"Symbol 178 MovieClip {Kakap3} Frame 1
"swimLeft"Symbol 178 MovieClip {Kakap3} Frame 2
"fightLeft"Symbol 178 MovieClip {Kakap3} Frame 3
"fightRight"Symbol 178 MovieClip {Kakap3} Frame 4
"returnRight"Symbol 178 MovieClip {Kakap3} Frame 5
"returnLeft"Symbol 178 MovieClip {Kakap3} Frame 6
"upLeft"Symbol 178 MovieClip {Kakap3} Frame 7
"upRight"Symbol 178 MovieClip {Kakap3} Frame 8
"runRight"Symbol 178 MovieClip {Kakap3} Frame 9
"runLeft"Symbol 178 MovieClip {Kakap3} Frame 10
"swimRight"Symbol 188 MovieClip {Kakap2} Frame 1
"swimLeft"Symbol 188 MovieClip {Kakap2} Frame 2
"fightLeft"Symbol 188 MovieClip {Kakap2} Frame 3
"fightRight"Symbol 188 MovieClip {Kakap2} Frame 4
"returnRight"Symbol 188 MovieClip {Kakap2} Frame 5
"returnLeft"Symbol 188 MovieClip {Kakap2} Frame 6
"upLeft"Symbol 188 MovieClip {Kakap2} Frame 7
"upRight"Symbol 188 MovieClip {Kakap2} Frame 8
"runRight"Symbol 188 MovieClip {Kakap2} Frame 9
"runLeft"Symbol 188 MovieClip {Kakap2} Frame 10
"swimRight"Symbol 198 MovieClip {Kakap1} Frame 1
"swimLeft"Symbol 198 MovieClip {Kakap1} Frame 2
"fightLeft"Symbol 198 MovieClip {Kakap1} Frame 3
"fightRight"Symbol 198 MovieClip {Kakap1} Frame 4
"returnRight"Symbol 198 MovieClip {Kakap1} Frame 5
"returnLeft"Symbol 198 MovieClip {Kakap1} Frame 6
"upLeft"Symbol 198 MovieClip {Kakap1} Frame 7
"upRight"Symbol 198 MovieClip {Kakap1} Frame 8
"runRight"Symbol 198 MovieClip {Kakap1} Frame 9
"runLeft"Symbol 198 MovieClip {Kakap1} Frame 10
"swimRight"Symbol 215 MovieClip {Marlin} Frame 1
"swimLeft"Symbol 215 MovieClip {Marlin} Frame 2
"fightLeft"Symbol 215 MovieClip {Marlin} Frame 3
"fightRight"Symbol 215 MovieClip {Marlin} Frame 4
"returnRight"Symbol 215 MovieClip {Marlin} Frame 5
"returnLeft"Symbol 215 MovieClip {Marlin} Frame 6
"upLeft"Symbol 215 MovieClip {Marlin} Frame 7
"upRight"Symbol 215 MovieClip {Marlin} Frame 8
"runRight"Symbol 215 MovieClip {Marlin} Frame 9
"runLeft"Symbol 215 MovieClip {Marlin} Frame 10
"down"Symbol 225 MovieClip {SquidBait} Frame 1
"up"Symbol 225 MovieClip {SquidBait} Frame 2
"idle"Symbol 225 MovieClip {SquidBait} Frame 3
"stop"Symbol 225 MovieClip {SquidBait} Frame 4
"bitten"Symbol 225 MovieClip {SquidBait} Frame 5
"loop"Symbol 233 MovieClip {fishing_fla.BG3_27} Frame 5
"loop"Symbol 344 MovieClip {fishing_fla.shakingHS_23} Frame 17
"standRight"Symbol 412 MovieClip {fishing_fla.player_46} Frame 1
"standLeft"Symbol 412 MovieClip {fishing_fla.player_46} Frame 2
"moveRight"Symbol 412 MovieClip {fishing_fla.player_46} Frame 3
"moveLeft"Symbol 412 MovieClip {fishing_fla.player_46} Frame 4
"cast1Right"Symbol 412 MovieClip {fishing_fla.player_46} Frame 5
"cast1Left"Symbol 412 MovieClip {fishing_fla.player_46} Frame 6
"cast2Right"Symbol 412 MovieClip {fishing_fla.player_46} Frame 7
"cast2Left"Symbol 412 MovieClip {fishing_fla.player_46} Frame 8
"cast3Right"Symbol 412 MovieClip {fishing_fla.player_46} Frame 9
"cast3Left"Symbol 412 MovieClip {fishing_fla.player_46} Frame 10
"fishingRight"Symbol 412 MovieClip {fishing_fla.player_46} Frame 11
"fishingLeft"Symbol 412 MovieClip {fishing_fla.player_46} Frame 12
"fightRight"Symbol 412 MovieClip {fishing_fla.player_46} Frame 13
"fightLeft"Symbol 412 MovieClip {fishing_fla.player_46} Frame 14




http://swfchan.com/24/116047/info.shtml
Created: 9/3 -2019 03:59:27 Last modified: 9/3 -2019 03:59:27 Server time: 03/05 -2024 13:49:23