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

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

treasureofcutlassreef12.swf

This is the info page for
Flash #2165

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


Text
Play Free Games and Chat with Friends!

ArcadeBliss.com

How to play?

Load Game

New Game

High Scores

More Games

Credits

© GameInABottle.com - 2007

v. 1.2

<p align="left"><font face="Times New Roman" size="22" color="#dbd604" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="18" color="#fbf537" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="22" color="#dbd604" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="18" color="#fbf537" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="22" color="#dbd604" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="18" color="#fbf537" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="22" color="#dbd604" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="18" color="#fbf537" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="22" color="#dbd604" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="18" color="#fbf537" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="22" color="#dbd604" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="18" color="#fbf537" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="22" color="#dbd604" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="18" color="#fbf537" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="22" color="#dbd604" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="18" color="#fbf537" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="22" color="#dbd604" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="18" color="#fbf537" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="22" color="#dbd604" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="18" color="#fbf537" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

High Scores

TODO communicate w server

Back

Captain

Colonel

Admiral

Today

All-time

aaa

Load game

Save game

Load

Save

Empty

Gold:

aaa

Next level:

aaa

Difficulty:

aaa

Select difficulty:

Captain

Colonel

Admiral

You are the commander of this pirate ship.

You are the commander of this infamous pirate ship.

You can move and rotate with the A, W, D or the arrow keys.

To fire the cannons, press the Space, F or Ctrl key.
You can also fire "downwards", press V to switch.

Your goal: Destroy the enemy fleet guarding the treasure!
You can see the carried gold, ship integrity, number of cannons and crew of the enemy
ships in an info panel next to them.

You can plunder (and then sink) a wrecked ship by going close to it.

You can also engage enemy
ships in close combat. If all the
enemy crew is taken out, you
can plunder the ship.

Press P during battle to pause the game and enter the options screen.
You can greatly improve the performance of the game by reducing the render quality and
the number of particles to show.

Now you know enough to start the battle.
But do you have what it takes to win?
Good luck!

Back to the Menu

Next

Back

Start the battle!

<p align="center"><font face="Times New Roman_11pt_st" size="11" color="#000000" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="center"><font face="Times New Roman_11pt_st" size="11" color="#000000" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="center"><font face="Times New Roman_11pt_st" size="11" color="#000000" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="center"><font face="Times New Roman_11pt_st" size="11" color="#000000" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="center"><font face="Times New Roman_11pt_st" size="11" color="#000000" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="center"><font face="Times New Roman_11pt_st" size="11" color="#000000" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="center"><font face="Times New Roman_11pt_st" size="11" color="#000000" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

Done

Save game

<p align="center"><font face="Times New Roman" size="24" color="#ffffb9" letterSpacing="0.000000" kerning="1">aaa</font></p>

<p align="justify"><font face="Times New Roman" size="16" color="#faf5c0" letterSpacing="0.000000" kerning="1">aaa</font></p>

Submit Score

Final score:

Enter your name:

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

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

Sending score...

Your score has been sent.

The High Scores panel can be accessed from the Main Menu.

An error occured while attempting to send the score.

The server may be down at the moment. We apologize for the inconvenience.

Treasure of Cutlass Reef

Some of the sounds used in this game are based on sound materials provided by the following
members of Freesound:
AGFX, Dynamicell, Erdie, HardPCM, Jon285, acclivity, cajo, digifishmusic, efksound, ermine,
farbin, freesound, gim-audio, Halleck, hazure, Heigh-hoo, hello_flowers, inferno, jobro,
l0calh05t, linse, ljudman, lostchocolatelab, man, martian, nofeedbak, pauliep83, pcaeldries,
tigersound, volivieri.

Game

in a

Bottle

.com

© GameInABottle.com - 2007

aaa

aaa

aaa

aaa

sounds

aaa

aaa

aaa

aaa

Play More at ArcadeBliss.com

<p align="center"><font face="Times New Roman_20pt_st" size="20" color="#ffffff" letterSpacing="0.000000" kerning="1">aaa</font></p>

<p align="center"><font face="Times New Roman_26pt_st" size="26" color="#fbf5b7" letterSpacing="0.000000" kerning="1"><b><i>aaa</i></b></font></p>

Enemy flagship:

Defeat!

<p align="left"><font face="Times New Roman" size="18" color="#000000" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

Back to the Menu

Final score:

Enter your name:

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

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

Submit Score

Sending score...

Your score has been sent.

The High Scores panel can be accessed from the Main Menu.

An error occured while attempting to send the score.

The server may be down at the moment. We apologize for the inconvenience.

Victory!

Gold plundered:

<p align="center"><font face="Times New Roman" size="22" color="#fdfb9f" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

Cannonballs hit/shot:

<p align="center"><font face="Times New Roman" size="18" color="#fdfb9f" letterSpacing="0.000000" kerning="1">aaa</font></p>

Done

<p align="center"><font face="Times New Roman" size="18" color="#ebd938" letterSpacing="0.000000" kerning="1"><b><i>Accuracy bonus:</i></b></font></p>

<p align="center"><font face="Times New Roman" size="22" color="#fdfb9f" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

Gold earned in this battle:

<p align="center"><font face="Times New Roman" size="26" color="#fdfb9f" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

Total score so far:

<p align="center"><font face="Times New Roman" size="26" color="#000000" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

Maximum total number of particles:

Maximum number of particles per type:

Rendering quality:

Sound volume:

<p align="left"><font face="Times New Roman" size="20" color="#fcf845" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="20" color="#fcf845" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="20" color="#fcf845" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

<p align="left"><font face="Times New Roman" size="20" color="#fcf845" letterSpacing="0.000000" kerning="1"><b>aaa</b></font></p>

Return to the Menu

Continue playing

Game Paused

(shortcut key: "P")

Options

Options

next level: (0..11)

gold:

<p align="left"><font face="Times New Roman" size="18" color="#000000" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="Times New Roman" size="18" color="#000000" letterSpacing="0.000000" kerning="1">0</font></p>

load

difficulty: (0..2)

<p align="left"><font face="Times New Roman" size="18" color="#000000" letterSpacing="0.000000" kerning="1">0</font></p>

--cheating/testing panel--

Instant victory

Instant defeat

ActionScript [AS1/AS2]

Frame 1
var _cm = new ContextMenu(); _cm.hideBuiltInItems(); this.menu = _cm; stop();
Frame 2
Frame 3
this.main = new com.gameInABottle.games.treasureOfCutlassReef.Main(this);
Frame 4
stop();
Symbol 11 MovieClip Frame 1
this.onEnterFrame = function () { if (loaded) { _root.gotoAndPlay(2); } else { timeProgressPercent = ((getTimer() - startTime) / 5000) * 100; percent = Math.min(timeProgressPercent, Math.min(100, Math.max(Math.floor(((_root.getBytesLoaded() - 10000) / (_root.getBytesTotal() - 10000)) * 100), 0))); loaderbar._width = percent * 5; if (percent == 100) { this.afterLoadStep++; if (this.afterLoadStep > 60) { this._alpha = this._alpha - 5; } if (this._alpha < 1) { this.loaded = true; } } } }; this.startTime = getTimer(); this.loaded = false; this.afterLoadStep = 0; stop();
Instance of Symbol 10 MovieClip in Symbol 11 MovieClip Frame 1
on (release) { getURL ("http://www.arcadebliss.com/", "_blank"); }
Symbol 562 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.Main] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.Main { var isIntroOver, mcRoot, mcwRoot, btnOptions, mcOptions, optStep, isOptionsDragging, isPaused, preferences, vfxEngine, staticData, player, zCurrSoundMc, ctrlUpgrades, ctrlLoadSave, ctrlIngame, ctrlTutorial, ctrlModeSelector, ctrlMainMenu, ctrlCredits, ctrlMap, ctrlHighScores, ctrlEndGame, ctrlStartup, nextScreen, currentScreen, sounds, sndAmbient, sndBlast1, sndBlast2, sndBlast3, sndBlastBig, sndCannon1, sndCannon2, sndCannon3, sndCannon4, sndCannon5, sndCannon6, sndCannon7, sndCannon8, sndCannon9, sndCannon10, sndCannon11, sndCannon12, sndCloseCombat, sndTickOver, sndTickPress, sndPlunder, sndUpgrade, sndIngameDoorOpen, sndIngameDoorClose, sndIngameDoorCloseEnd; function Main (pMcRoot) { var vThis = this; isIntroOver = false; var _local3 = _root.createEmptyMovieClip("mainLoop", com.gameInABottle.games.treasureOfCutlassReef.constants.Z.MAIN_LOOP); _local3.onEnterFrame = function () { vThis.doEnterFrame(); }; mcRoot = pMcRoot; mcwRoot = new com.gameInABottle.games.treasureOfCutlassReef.mcw.McwRoot(mcRoot); btnOptions = mcRoot.attachMovie("btnOptions", "btnOptions", com.gameInABottle.games.treasureOfCutlassReef.constants.Z.BTN_OPTIONS); btnOptions._y = -480; mcOptions = mcRoot.attachMovie("mcOptions", "mcOptions", com.gameInABottle.games.treasureOfCutlassReef.constants.Z.MC_OPTIONS); mcOptions._visible = false; mcOptions._y = -480; optStep = 10; isOptionsDragging = false; isPaused = false; initiateOptionsPanel(); preferences = new com.gameInABottle.games.treasureOfCutlassReef.entity.Preferences(); vfxEngine = new com.gameInABottle.games.treasureOfCutlassReef.util.VfxEngine(preferences); staticData = new com.gameInABottle.games.treasureOfCutlassReef.constants.StaticData(this); player = new com.gameInABottle.games.treasureOfCutlassReef.entity.Player(); zCurrSoundMc = com.gameInABottle.games.treasureOfCutlassReef.constants.Z.SOUNDS_MIN; initiateSoundObjects(); ctrlUpgrades = new com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlUpgrades(mcwRoot.mcwUpgrades, this); ctrlLoadSave = new com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlLoadSave(mcwRoot.mcwLoadSave, this); ctrlIngame = new com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlIngame(mcwRoot.mcwIngame, this); ctrlTutorial = new com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlTutorial(mcwRoot.mcwTutorial, this); ctrlModeSelector = new com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlModeSelector(mcwRoot.mcwModeSelector, this); ctrlMainMenu = new com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlMainMenu(mcwRoot.mcwMainMenu, this); ctrlCredits = new com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlCredits(mcwRoot.mcwCredits, this); ctrlMap = new com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlMap(mcwRoot.mcwMap, this); ctrlHighScores = new com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlHighScores(mcwRoot.mcwHighScores, this); ctrlEndGame = new com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlEndGame(mcwRoot.mcwEndGame, this); ctrlStartup = new com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlStartup(mcwRoot.mcwStartup, this); nextScreen = SCR_STARTUP; switchScreenVisibility(); renderOptions(); setAllSoundsVolume(); } function doEnterFrame() { if (isPaused) { if (isOptionsDragging) { renderOptions(); } } else { var _local3 = (640 - _root._xmouse) + _root._ymouse; if (_local3 > 110) { optStep = Math.min(10, optStep + 1); } if (_local3 < 80) { optStep = Math.max(0, optStep - 1); } if (isIntroOver) { btnOptions._x = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeInOut(10 - optStep, 585, -72, 10); btnOptions._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeInOut(10 - optStep, -37, 20, 10); btnOptions.mcTf._xscale = (btnOptions.mcTf._yscale = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeInOut(10 - optStep, 40, 60, 10)); btnOptions.mcTf._x = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeInOut(10 - optStep, 8, 9, 10); } if (currentScreen == SCR_MAINMENU) { ctrlMainMenu.doEnterFrame(); } else if (currentScreen == SCR_MODESELECTOR) { ctrlModeSelector.doEnterFrame(); } else if (currentScreen == SCR_CREDITS) { ctrlCredits.doEnterFrame(); } else if (currentScreen == SCR_MAP) { ctrlMap.doEnterFrame(); } else if (currentScreen == SCR_TUTORIAL) { ctrlTutorial.doEnterFrame(); } else if (currentScreen == SCR_INGAME) { ctrlIngame.doEnterFrame(); } else if (currentScreen == SCR_UPGRADES) { ctrlUpgrades.doEnterFrame(); } else if (currentScreen == SCR_HIGHSCORES) { ctrlHighScores.doEnterFrame(); } else if ((currentScreen == SCR_LOADSAVE_LOAD) || (currentScreen == SCR_LOADSAVE_SAVE)) { ctrlLoadSave.doEnterFrame(); } else if (currentScreen == SCR_ENDGAME) { ctrlEndGame.doEnterFrame(); } else if (currentScreen == SCR_STARTUP) { ctrlStartup.doEnterFrame(); } } } function switchScreenVisibility() { vfxEngine.removeAllVfx(); Key.removeListener(ctrlIngame.keyListener); ctrlIngame.mcTexts.removeMovieClip(); ctrlIngame.pnlOutcome.removeMovieClip(); ctrlIngame.pnlLevelInfo.removeMovieClip(); currentScreen = nextScreen; mcwRoot.mcEndGame._visible = false; mcwRoot.mcMainMenu._visible = false; mcwRoot.mcMap._visible = false; mcwRoot.mcTutorial._visible = false; mcwRoot.mcUpgrades._visible = false; mcwRoot.mcIngame._visible = false; mcwRoot.mcCredits._visible = false; mcwRoot.mcModeSelector._visible = false; mcwRoot.mcLoadSave._visible = false; mcwRoot.mcHighScores._visible = false; mcwRoot.mcStartup._visible = false; mcwRoot.mcIngameDoor._visible = false; if (currentScreen == SCR_ENDGAME) { ctrlEndGame.initiate(); } else if (currentScreen == SCR_MAINMENU) { ctrlMainMenu.initiate(); } else if (currentScreen == SCR_MAP) { ctrlMap.initiate(); } else if (currentScreen == SCR_TUTORIAL) { ctrlTutorial.initiate(); } else if (currentScreen == SCR_UPGRADES) { ctrlUpgrades.initiate(); } else if (currentScreen == SCR_INGAME) { ctrlIngame.initiate(); } else if (currentScreen == SCR_CREDITS) { ctrlCredits.initiate(); } else if (currentScreen == SCR_MODESELECTOR) { ctrlModeSelector.initiate(); } else if ((currentScreen == SCR_LOADSAVE_LOAD) || (currentScreen == SCR_LOADSAVE_SAVE)) { ctrlLoadSave.initiate(); } else if (currentScreen == SCR_HIGHSCORES) { ctrlHighScores.initiate(); } else if (currentScreen == SCR_STARTUP) { ctrlStartup.initiate(); } } function initiateSoundObjects() { sounds = new Array(); sndAmbient = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndAmbient", zCurrSoundMc++)); pushSound(sndAmbient, "ambient.wav"); sndBlast1 = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndBlast1", zCurrSoundMc++)); pushSound(sndBlast1, "blast1.wav"); sndBlast2 = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndBlast2", zCurrSoundMc++)); pushSound(sndBlast2, "blast2.wav"); sndBlast3 = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndBlast3", zCurrSoundMc++)); pushSound(sndBlast3, "blast3.wav"); sndBlastBig = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndBlastBig", zCurrSoundMc++)); pushSound(sndBlastBig, "blastBig.wav"); sndCannon1 = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndCannon1", zCurrSoundMc++)); pushSound(sndCannon1, "cannon1.wav"); sndCannon2 = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndCannon2", zCurrSoundMc++)); pushSound(sndCannon2, "cannon2.wav"); sndCannon3 = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndCannon3", zCurrSoundMc++)); pushSound(sndCannon3, "cannon3.wav"); sndCannon4 = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndCannon4", zCurrSoundMc++)); pushSound(sndCannon4, "cannon4.wav"); sndCannon5 = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndCannon5", zCurrSoundMc++)); pushSound(sndCannon5, "cannon5.wav"); sndCannon6 = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndCannon6", zCurrSoundMc++)); pushSound(sndCannon6, "cannon6.wav"); sndCannon7 = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndCannon7", zCurrSoundMc++)); pushSound(sndCannon7, "cannon7.wav"); sndCannon8 = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndCannon8", zCurrSoundMc++)); pushSound(sndCannon8, "cannon8.wav"); sndCannon9 = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndCannon9", zCurrSoundMc++)); pushSound(sndCannon9, "cannon9.wav"); sndCannon10 = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndCannon10", zCurrSoundMc++)); pushSound(sndCannon10, "cannon10.wav"); sndCannon11 = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndCannon11", zCurrSoundMc++)); pushSound(sndCannon11, "cannon11.wav"); sndCannon12 = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndCannon12", zCurrSoundMc++)); pushSound(sndCannon12, "cannon12.wav"); sndCloseCombat = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndCloseCombat", zCurrSoundMc++)); pushSound(sndCloseCombat, "closecombat.wav"); sndTickOver = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndTickOver", zCurrSoundMc++)); pushSound(sndTickOver, "tickOver.wav"); sndTickPress = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndTickPress", zCurrSoundMc++)); pushSound(sndTickPress, "tickPress.wav"); sndPlunder = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndPlunder", zCurrSoundMc++)); pushSound(sndPlunder, "plunder.wav"); sndUpgrade = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndUpgrade", zCurrSoundMc++)); pushSound(sndUpgrade, "upgrade.wav"); sndIngameDoorOpen = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndIngameDoorOpen", zCurrSoundMc++)); pushSound(sndIngameDoorOpen, "ingameDoorOpen.wav"); sndIngameDoorClose = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndIngameDoorClose", zCurrSoundMc++)); pushSound(sndIngameDoorClose, "ingameDoorClose.wav"); sndIngameDoorCloseEnd = new Sound(mcwRoot.mc.createEmptyMovieClip("mc_sndIngameDoorCloseEnd", zCurrSoundMc++)); pushSound(sndIngameDoorCloseEnd, "ingameDoorCloseEnd.wav"); } function pushSound(pSnd, pId) { pSnd.attachSound(pId); Object(pSnd).id = pId; sounds.push(pSnd); } function setAllSoundsVolume() { if (!isPaused) { var _local2 = 0; while (_local2 < sounds.length) { Sound(sounds[_local2]).setVolume(preferences.soundVolume); _local2++; } } else { var _local2 = 0; while (_local2 < sounds.length) { Sound(sounds[_local2]).setVolume(0); _local2++; } } } function switchOptions() { if (isPaused) { if (!isOptionsDragging) { preferences.flush(); isPaused = false; mcOptions._visible = false; mcOptions._y = -500; btnOptions._x = 630; btnOptions._y = -52; } } else { if (currentScreen == SCR_INGAME) { mcOptions.mcTfPaused.gotoAndStop(1); mcOptions.btnContinue._visible = true; mcOptions.btnReturn._visible = true; mcOptions.btnDone._visible = false; } else { mcOptions.mcTfPaused.gotoAndStop(2); mcOptions.btnContinue._visible = false; mcOptions.btnReturn._visible = false; mcOptions.btnDone._visible = true; } isPaused = true; renderOptions(); mcOptions._visible = true; mcOptions._y = 0; } setAllSoundsVolume(); } function initiateOptionsPanel() { var vThis = this; btnOptions.onPress = function () { vThis.sndTickPress.start(); vThis.switchOptions(); }; mcOptions.btnDone.onPress = function () { vThis.switchOptions(); vThis.sndTickPress.start(); }; mcOptions.btnContinue.onPress = function () { vThis.switchOptions(); vThis.sndTickPress.start(); }; mcOptions.btnReturn.onPress = function () { vThis.ctrlIngame.returnToMainMenu(); vThis.switchOptions(); vThis.sndTickPress.start(); }; mcOptions.btnQuality.onPress = function () { MovieClip(this).startDrag(false, 94, MovieClip(this)._y, 544, MovieClip(this)._y); vThis.isOptionsDragging = true; }; mcOptions.btnQuality.onRelease = function () { MovieClip(this).stopDrag(); vThis.isOptionsDragging = false; }; mcOptions.btnQuality.onReleaseOutside = function () { MovieClip(this).stopDrag(); vThis.isOptionsDragging = false; }; mcOptions.btnVfxNum.onPress = function () { MovieClip(this).startDrag(false, 94, MovieClip(this)._y, 544, MovieClip(this)._y); vThis.isOptionsDragging = true; }; mcOptions.btnVfxNum.onRelease = function () { MovieClip(this).stopDrag(); vThis.isOptionsDragging = false; }; mcOptions.btnVfxNum.onReleaseOutside = function () { MovieClip(this).stopDrag(); vThis.isOptionsDragging = false; }; mcOptions.btnVfxNumPerType.onPress = function () { MovieClip(this).startDrag(false, 94, MovieClip(this)._y, 544, MovieClip(this)._y); vThis.isOptionsDragging = true; }; mcOptions.btnVfxNumPerType.onRelease = function () { MovieClip(this).stopDrag(); vThis.isOptionsDragging = false; }; mcOptions.btnVfxNumPerType.onReleaseOutside = function () { MovieClip(this).stopDrag(); vThis.isOptionsDragging = false; }; mcOptions.btnSoundVolume.onPress = function () { MovieClip(this).startDrag(false, 94, MovieClip(this)._y, 544, MovieClip(this)._y); vThis.isOptionsDragging = true; }; mcOptions.btnSoundVolume.onRelease = function () { MovieClip(this).stopDrag(); vThis.isOptionsDragging = false; }; mcOptions.btnSoundVolume.onReleaseOutside = function () { MovieClip(this).stopDrag(); vThis.isOptionsDragging = false; }; renderOptions(); } function renderOptions() { if (isOptionsDragging) { preferences.soundVolumeBase = com.gameInABottle.games.treasureOfCutlassReef.util.MathToolbox.convertCoord(94, 544, mcOptions.btnSoundVolume._x, 0, 100); preferences.qualityBase = com.gameInABottle.games.treasureOfCutlassReef.util.MathToolbox.convertCoord(94, 544, mcOptions.btnQuality._x, 0, 100); preferences.vfxNumBase = com.gameInABottle.games.treasureOfCutlassReef.util.MathToolbox.convertCoord(94, 544, mcOptions.btnVfxNum._x, 0, 100); preferences.vfxNumPerTypeBase = com.gameInABottle.games.treasureOfCutlassReef.util.MathToolbox.convertCoord(94, 544, mcOptions.btnVfxNumPerType._x, 0, 100); } else { mcOptions.btnSoundVolume._x = com.gameInABottle.games.treasureOfCutlassReef.util.MathToolbox.convertCoord(0, 100, preferences.soundVolumeBase, 94, 544); mcOptions.btnQuality._x = com.gameInABottle.games.treasureOfCutlassReef.util.MathToolbox.convertCoord(0, 100, preferences.qualityBase, 94, 544); mcOptions.btnVfxNum._x = com.gameInABottle.games.treasureOfCutlassReef.util.MathToolbox.convertCoord(0, 100, preferences.vfxNumBase, 94, 544); mcOptions.btnVfxNumPerType._x = com.gameInABottle.games.treasureOfCutlassReef.util.MathToolbox.convertCoord(0, 100, preferences.vfxNumPerTypeBase, 94, 544); } preferences.soundVolume = Math.round(preferences.soundVolumeBase); preferences.quality = ((preferences.qualityBase < 33) ? 0 : (((preferences.qualityBase < 66) ? 1 : (((preferences.qualityBase < 95) ? 2 : 3))))); preferences.vfxNum = ((preferences.vfxNumBase > 99) ? 100000 : (Math.round(preferences.vfxNumBase))); preferences.vfxNumPerType = ((preferences.vfxNumPerTypeBase > 99) ? 100000 : (Math.round(preferences.vfxNumPerTypeBase))); mcOptions.tfSoundVolume.text = preferences.soundVolume.toString(); mcOptions.tfQuality.text = ((preferences.quality == 0) ? "low" : (((preferences.quality == 1) ? "medium" : (((preferences.quality == 2) ? "high" : "high+clouds"))))); _root._quality = ((preferences.quality == 0) ? "LOW" : (((preferences.quality == 1) ? "MEDIUM" : "HIGH"))); mcOptions.tfVfxNum.text = ((preferences.vfxNum == 100000) ? "unlimited" : (preferences.vfxNum.toString())); mcOptions.tfVfxNumPerType.text = ((preferences.vfxNumPerType == 100000) ? "unlimited" : (preferences.vfxNumPerType.toString())); } var SCR_STARTUP = "SCR_STARTUP"; var SCR_MAINMENU = "SCR_MAINMENU"; var SCR_ENDGAME = "SCR_ENDGAME"; var SCR_MAP = "SCR_MAP"; var SCR_INGAME = "SCR_INGAME"; var SCR_UPGRADES = "SCR_UPGRADES"; var SCR_TUTORIAL = "SCR_TUTORIAL"; var SCR_CREDITS = "SCR_CREDITS"; var SCR_MODESELECTOR = "SCR_MODESELECTOR"; var SCR_LOADSAVE_LOAD = "SCR_LOADSAVE_LOAD"; var SCR_LOADSAVE_SAVE = "SCR_LOADSAVE_SAVE"; var SCR_HIGHSCORES = "SCR_HIGHSCORES"; var URL_HIGHSCORELIST = "http://www.arcadebliss.com/featured_games/treasure_of_cutlass_reef_highscores.php"; var URL_MOREGAMES = "http://www.arcadebliss.com/"; }
Symbol 563 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwRoot] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.mcw.McwRoot { var mc, mcwMainMenu, mcMainMenu, mcwEndGame, mcEndGame, mcwMap, mcMap, mcwTutorial, mcTutorial, mcwUpgrades, mcUpgrades, mcwCredits, mcCredits, mcwIngame, mcIngame, mcwModeSelector, mcModeSelector, mcwHighScores, mcHighScores, mcwLoadSave, mcLoadSave, mcwStartup, mcStartup, mcIngameDoor; function McwRoot (pSource) { mc = pSource; for (var _local3 in pSource) { this[_local3] = pSource[_local3]; } for (var _local3 in this) { if (((this[_local3] instanceof MovieClip) || (this[_local3] instanceof TextField)) || (this[_local3] instanceof Button)) { this[_local3].useHandCursor = false; this[_local3].tabEnabled = false; this[_local3].tabChildren = false; } if (MovieClip(this[_local3])._name.indexOf("btn") == 0) { this[_local3].useHandCursor = true; } } mcwMainMenu = new com.gameInABottle.games.treasureOfCutlassReef.mcw.McwMainMenu(mcMainMenu); mcwEndGame = new com.gameInABottle.games.treasureOfCutlassReef.mcw.McwEndGame(mcEndGame); mcwMap = new com.gameInABottle.games.treasureOfCutlassReef.mcw.McwMap(mcMap); mcwTutorial = new com.gameInABottle.games.treasureOfCutlassReef.mcw.McwTutorial(mcTutorial); mcwUpgrades = new com.gameInABottle.games.treasureOfCutlassReef.mcw.McwUpgrades(mcUpgrades); mcwCredits = new com.gameInABottle.games.treasureOfCutlassReef.mcw.McwCredits(mcCredits); mcwIngame = new com.gameInABottle.games.treasureOfCutlassReef.mcw.McwIngame(mcIngame); mcwModeSelector = new com.gameInABottle.games.treasureOfCutlassReef.mcw.McwModeSelector(mcModeSelector); mcwHighScores = new com.gameInABottle.games.treasureOfCutlassReef.mcw.McwHighScores(mcHighScores); mcwLoadSave = new com.gameInABottle.games.treasureOfCutlassReef.mcw.McwLoadSave(mcLoadSave); mcwStartup = new com.gameInABottle.games.treasureOfCutlassReef.mcw.McwStartup(mcStartup); mcIngameDoor = mc.attachMovie("ingameDoor", "ingameDoor", com.gameInABottle.games.treasureOfCutlassReef.constants.Z.INGAME_DOOR); mcIngameDoor._visible = false; mcIngameDoor._x = 320; mcIngameDoor._y = 240; adjustDepths(); } function adjustDepths() { } }
Symbol 564 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwMainMenu] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.mcw.McwMainMenu { var mc; function McwMainMenu (pSource) { mc = pSource; for (var _local3 in pSource) { this[_local3] = pSource[_local3]; } for (var _local3 in this) { if (((this[_local3] instanceof MovieClip) || (this[_local3] instanceof TextField)) || (this[_local3] instanceof Button)) { this[_local3].useHandCursor = false; this[_local3].tabEnabled = false; this[_local3].tabChildren = false; } if (MovieClip(this[_local3])._name.indexOf("btn") == 0) { this[_local3].useHandCursor = true; } } adjustDepths(); } function adjustDepths() { } }
Symbol 565 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwEndGame] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.mcw.McwEndGame { var mc, tfName; function McwEndGame (pSource) { mc = pSource; for (var _local3 in pSource) { this[_local3] = pSource[_local3]; } for (var _local3 in this) { if (((this[_local3] instanceof MovieClip) || (this[_local3] instanceof TextField)) || (this[_local3] instanceof Button)) { this[_local3].useHandCursor = false; this[_local3].tabEnabled = false; this[_local3].tabChildren = false; } if (MovieClip(this[_local3])._name.indexOf("btn") == 0) { this[_local3].useHandCursor = true; } } tfName.restrict = "A-Z a-z"; tfName.maxChars = 16; adjustDepths(); } function adjustDepths() { } }
Symbol 566 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwMap] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.mcw.McwMap { var mc; function McwMap (pSource) { mc = pSource; for (var _local3 in pSource) { this[_local3] = pSource[_local3]; } for (var _local3 in this) { if (((this[_local3] instanceof MovieClip) || (this[_local3] instanceof TextField)) || (this[_local3] instanceof Button)) { this[_local3].useHandCursor = false; this[_local3].tabEnabled = false; this[_local3].tabChildren = false; } if (MovieClip(this[_local3])._name.indexOf("btn") == 0) { this[_local3].useHandCursor = true; } } adjustDepths(); } function adjustDepths() { } }
Symbol 567 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwTutorial] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.mcw.McwTutorial { var mc; function McwTutorial (pSource) { mc = pSource; for (var _local3 in pSource) { this[_local3] = pSource[_local3]; } for (var _local3 in this) { if (((this[_local3] instanceof MovieClip) || (this[_local3] instanceof TextField)) || (this[_local3] instanceof Button)) { this[_local3].useHandCursor = false; this[_local3].tabEnabled = false; this[_local3].tabChildren = false; } if (MovieClip(this[_local3])._name.indexOf("btn") == 0) { this[_local3].useHandCursor = true; } } adjustDepths(); } function adjustDepths() { } }
Symbol 568 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwUpgrades] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.mcw.McwUpgrades { var mc; function McwUpgrades (pSource) { mc = pSource; for (var _local3 in pSource) { this[_local3] = pSource[_local3]; } for (var _local3 in this) { if (((this[_local3] instanceof MovieClip) || (this[_local3] instanceof TextField)) || (this[_local3] instanceof Button)) { this[_local3].useHandCursor = false; this[_local3].tabEnabled = false; this[_local3].tabChildren = false; } if (MovieClip(this[_local3])._name.indexOf("btn") == 0) { this[_local3].useHandCursor = true; } } adjustDepths(); } function adjustDepths() { } }
Symbol 569 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwCredits] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.mcw.McwCredits { var mc; function McwCredits (pSource) { mc = pSource; for (var _local3 in pSource) { this[_local3] = pSource[_local3]; } for (var _local3 in this) { if (((this[_local3] instanceof MovieClip) || (this[_local3] instanceof TextField)) || (this[_local3] instanceof Button)) { this[_local3].useHandCursor = false; this[_local3].tabEnabled = false; this[_local3].tabChildren = false; } if (MovieClip(this[_local3])._name.indexOf("btn") == 0) { this[_local3].useHandCursor = true; } } adjustDepths(); } function adjustDepths() { } }
Symbol 570 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwIngame] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.mcw.McwIngame { var mc; function McwIngame (pSource) { mc = pSource; for (var _local3 in pSource) { this[_local3] = pSource[_local3]; } for (var _local3 in this) { if (((this[_local3] instanceof MovieClip) || (this[_local3] instanceof TextField)) || (this[_local3] instanceof Button)) { this[_local3].useHandCursor = false; this[_local3].tabEnabled = false; this[_local3].tabChildren = false; } if (MovieClip(this[_local3])._name.indexOf("btn") == 0) { this[_local3].useHandCursor = true; } } adjustDepths(); } function adjustDepths() { } }
Symbol 571 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwModeSelector] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.mcw.McwModeSelector { var mc; function McwModeSelector (pSource) { mc = pSource; for (var _local3 in pSource) { this[_local3] = pSource[_local3]; } for (var _local3 in this) { if (((this[_local3] instanceof MovieClip) || (this[_local3] instanceof TextField)) || (this[_local3] instanceof Button)) { this[_local3].useHandCursor = false; this[_local3].tabEnabled = false; this[_local3].tabChildren = false; } if (MovieClip(this[_local3])._name.indexOf("btn") == 0) { this[_local3].useHandCursor = true; } } adjustDepths(); } function adjustDepths() { } }
Symbol 572 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwHighScores] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.mcw.McwHighScores { var mc; function McwHighScores (pSource) { mc = pSource; for (var _local3 in pSource) { this[_local3] = pSource[_local3]; } for (var _local3 in this) { if (((this[_local3] instanceof MovieClip) || (this[_local3] instanceof TextField)) || (this[_local3] instanceof Button)) { this[_local3].useHandCursor = false; this[_local3].tabEnabled = false; this[_local3].tabChildren = false; } if (MovieClip(this[_local3])._name.indexOf("btn") == 0) { this[_local3].useHandCursor = true; } } adjustDepths(); } function adjustDepths() { } }
Symbol 573 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwLoadSave] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.mcw.McwLoadSave { var mc; function McwLoadSave (pSource) { mc = pSource; for (var _local3 in pSource) { this[_local3] = pSource[_local3]; } for (var _local3 in this) { if (((this[_local3] instanceof MovieClip) || (this[_local3] instanceof TextField)) || (this[_local3] instanceof Button)) { this[_local3].useHandCursor = false; this[_local3].tabEnabled = false; this[_local3].tabChildren = false; } if (MovieClip(this[_local3])._name.indexOf("btn") == 0) { this[_local3].useHandCursor = true; } } adjustDepths(); } function adjustDepths() { } }
Symbol 574 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwStartup] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.mcw.McwStartup { var mc; function McwStartup (pSource) { mc = pSource; for (var _local3 in pSource) { this[_local3] = pSource[_local3]; } for (var _local3 in this) { if (((this[_local3] instanceof MovieClip) || (this[_local3] instanceof TextField)) || (this[_local3] instanceof Button)) { this[_local3].useHandCursor = false; this[_local3].tabEnabled = false; this[_local3].tabChildren = false; } if (MovieClip(this[_local3])._name.indexOf("btn") == 0) { this[_local3].useHandCursor = true; } } adjustDepths(); } function adjustDepths() { } }
Symbol 575 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.constants.Z] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.constants.Z { function Z () { } static var CHEATPANEL_INGAME = 999301; static var CHEATPANEL_LOADSAVE = 999300; static var MC_OPTIONS = 999200; static var BTN_OPTIONS = 999100; static var INGAME_DOOR = 999000; static var LEVELOUTCOMEPANEL = 510000; static var LEVELINFOPANEL = 500000; static var SEA_TEXTS = 400000; static var INFOPANEL_MIN = 360000; static var VFX_HIGH_MIN = 350000; static var VFX_MIN = 300000; static var CANNONBALL_MIN = 200000; static var ENEMYSHIP_MIN = 102000; static var PIRATESHIP = 100000; static var VFX_DEEP_MIN = 50000; static var BATTLEWHEEL_MIN = 40000; static var MAPSHIP_MIN = 500; static var SOUNDS_MIN = 10; static var MAIN_LOOP = 1; }
Symbol 576 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.util.VfxEngine] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.util.VfxEngine { var z, zDeep, zHigh, blasts, blackSmokes, whiteSmokes, debris, splashes, infoPanelBlasts, clouds, totalVfxNum, preferences; function VfxEngine (pPrefs) { z = com.gameInABottle.games.treasureOfCutlassReef.constants.Z.VFX_MIN; zDeep = com.gameInABottle.games.treasureOfCutlassReef.constants.Z.VFX_DEEP_MIN; zHigh = com.gameInABottle.games.treasureOfCutlassReef.constants.Z.VFX_HIGH_MIN; blasts = new Array(); blackSmokes = new Array(); whiteSmokes = new Array(); debris = new Array(); splashes = new Array(); infoPanelBlasts = new Array(); clouds = new Array(); totalVfxNum = 0; preferences = pPrefs; } function doEnterFrame() { var _local2 = 0; while (_local2 < blackSmokes.length) { blackSmokes[_local2]._alpha = blackSmokes[_local2]._alpha - ((Math.random() * 3) + 1.5); blackSmokes[_local2]._xscale = blackSmokes[_local2]._xscale + 3; blackSmokes[_local2]._yscale = blackSmokes[_local2]._yscale + 3; if (blackSmokes[_local2]._alpha < 1) { blackSmokes[_local2].removeMovieClip(); blackSmokes.splice(_local2, 1); _local2--; totalVfxNum--; } _local2++; } _local2 = 0; while (_local2 < blasts.length) { blasts[_local2]._alpha = blasts[_local2]._alpha - 10; if (blasts[_local2]._alpha < 1) { blasts[_local2].removeMovieClip(); blasts.splice(_local2, 1); _local2--; totalVfxNum--; } _local2++; } _local2 = 0; while (_local2 < whiteSmokes.length) { whiteSmokes[_local2]._alpha = whiteSmokes[_local2]._alpha - 5; if (whiteSmokes[_local2]._alpha < 1) { whiteSmokes[_local2].removeMovieClip(); whiteSmokes.splice(_local2, 1); _local2--; totalVfxNum--; } _local2++; } _local2 = 0; while (_local2 < debris.length) { debris[_local2]._alpha = debris[_local2]._alpha - 0.14; debris[_local2].energy--; if (debris[_local2].energy > 0) { debris[_local2]._x = debris[_local2]._x + debris[_local2].speedX; debris[_local2]._y = debris[_local2]._y + debris[_local2].speedY; debris[_local2]._rotation = debris[_local2]._rotation + debris[_local2].spin; } else if (debris[_local2].isSplashed != true) { debris[_local2].isSplashed = true; createSplash(debris[_local2]._x, debris[_local2]._y); } if (debris[_local2]._alpha < 1) { debris[_local2].removeMovieClip(); debris.splice(_local2, 1); _local2--; totalVfxNum--; } _local2++; } _local2 = 0; while (_local2 < splashes.length) { splashes[_local2]._alpha = splashes[_local2]._alpha - 5; splashes[_local2]._xscale = splashes[_local2]._xscale + 10; splashes[_local2]._yscale = splashes[_local2]._yscale + 10; if (splashes[_local2]._alpha < 1) { splashes[_local2].removeMovieClip(); splashes.splice(_local2, 1); _local2--; totalVfxNum--; } _local2++; } _local2 = 0; while (_local2 < infoPanelBlasts.length) { infoPanelBlasts[_local2]._alpha = infoPanelBlasts[_local2]._alpha - 5; infoPanelBlasts[_local2]._xscale = infoPanelBlasts[_local2]._xscale + 5; infoPanelBlasts[_local2]._yscale = infoPanelBlasts[_local2]._yscale + 5; if (infoPanelBlasts[_local2]._alpha < 1) { infoPanelBlasts[_local2].removeMovieClip(); infoPanelBlasts.splice(_local2, 1); _local2--; } _local2++; } _local2 = 0; while (_local2 < clouds.length) { clouds[_local2]._y = clouds[_local2]._y + clouds[_local2].speed; if (clouds[_local2]._y > 700) { clouds[_local2].removeMovieClip(); clouds.splice(_local2, 1); _local2--; totalVfxNum--; } _local2++; } } function createBlast(pX, pY) { if ((preferences.vfxNum > 0) && (preferences.vfxNumPerType > 0)) { if ((totalVfxNum < (preferences.vfxNum * 0.5)) || (Math.round() > (totalVfxNum / preferences.vfxNum))) { if ((blackSmokes.length < (preferences.vfxNumPerType * 0.5)) || (Math.round() > (blackSmokes.length / preferences.vfxNumPerType))) { var _local7 = _root.attachMovie("mcVfxSmokeBlack", "vfx" + z, z++); _local7._rotation = Math.random() * 360; _local7._x = pX; _local7._y = pY; blackSmokes.push(_local7); totalVfxNum++; } if ((blasts.length < (preferences.vfxNumPerType * 0.5)) || (Math.round() > (blasts.length / preferences.vfxNumPerType))) { var _local8 = _root.attachMovie("mcBlast", "vfx" + z, z++); _local8._rotation = Math.random() * 360; _local8._x = pX; _local8._y = pY; blasts.push(_local8); totalVfxNum++; if (z > (com.gameInABottle.games.treasureOfCutlassReef.constants.Z.VFX_MIN + 10000)) { z = com.gameInABottle.games.treasureOfCutlassReef.constants.Z.VFX_MIN; } } if ((debris.length < (preferences.vfxNumPerType * 0.5)) || (Math.round() > (debris.length / preferences.vfxNumPerType))) { var _local4 = 0; while (_local4 < 2) { var _local3 = _root.attachMovie("mcDebris", "vfxDeep" + zDeep, zDeep++); _local3._rotation = Math.random() * 360; _local3._x = pX; _local3._y = pY; _local3.speedX = (Math.random() * 6) - 3; _local3.speedY = (Math.random() * 6) - 3; _local3.energy = Math.floor(Math.random() * 20) + 20; _local3.spin = (Math.random() * 60) - 30; if (Math.random() > 0.5) { _local3.gotoAndStop(2); } debris.push(_local3); totalVfxNum++; _local4++; } if (zDeep > (com.gameInABottle.games.treasureOfCutlassReef.constants.Z.VFX_DEEP_MIN + 10000)) { zDeep = com.gameInABottle.games.treasureOfCutlassReef.constants.Z.VFX_DEEP_MIN; } } } } } function createWhiteSmoke(pX, pY) { if ((preferences.vfxNum > 0) && (preferences.vfxNumPerType > 0)) { if ((totalVfxNum < (preferences.vfxNum * 0.6)) || (Math.round() > (totalVfxNum / preferences.vfxNum))) { if ((whiteSmokes.length < (preferences.vfxNumPerType * 0.6)) || (Math.round() > (whiteSmokes.length / preferences.vfxNumPerType))) { if (Math.random() > 0.33) { var _local3 = _root.attachMovie("mcVfxSmokeWhite", "vfx" + zDeep, zDeep++); _local3._rotation = Math.random() * 360; _local3._x = (pX + (Math.random() * 3)) - 1.5; _local3._y = (pY + (Math.random() * 3)) - 1.5; _local3._xscale = 125; _local3._yscale = 125; } else { var _local3 = _root.attachMovie("mcVfxSmokeWhite", "vfx" + z, z++); _local3._rotation = Math.random() * 360; _local3._x = (pX + (Math.random() * 3)) - 1.5; _local3._y = (pY + (Math.random() * 3)) - 1.5; _local3._xscale = 125; _local3._yscale = 125; _local3._alpha = 65; } whiteSmokes.push(_local3); if (zDeep > (com.gameInABottle.games.treasureOfCutlassReef.constants.Z.VFX_DEEP_MIN + 10000)) { zDeep = com.gameInABottle.games.treasureOfCutlassReef.constants.Z.VFX_DEEP_MIN; } if (z > (com.gameInABottle.games.treasureOfCutlassReef.constants.Z.VFX_MIN + 10000)) { z = com.gameInABottle.games.treasureOfCutlassReef.constants.Z.VFX_MIN; } } } } } function createSplash(pX, pY) { if ((preferences.vfxNum > 0) && (preferences.vfxNumPerType > 0)) { if ((totalVfxNum < (preferences.vfxNum * 0.6)) || (Math.round() > (totalVfxNum / preferences.vfxNum))) { if ((splashes.length < (preferences.vfxNumPerType * 0.6)) || (Math.round() > (splashes.length / preferences.vfxNumPerType))) { var _local3 = _root.attachMovie("mcSplash", "vfx" + zDeep, zDeep++); _local3._x = pX; _local3._y = pY; _local3._xscale = 10; _local3._yscale = 10; _local3._alpha = 70; splashes.push(_local3); if (zDeep > (com.gameInABottle.games.treasureOfCutlassReef.constants.Z.VFX_DEEP_MIN + 10000)) { zDeep = com.gameInABottle.games.treasureOfCutlassReef.constants.Z.VFX_DEEP_MIN; } totalVfxNum++; } } } } function createCloud() { if ((preferences.vfxNum > 0) && (preferences.vfxNumPerType > 0)) { if ((totalVfxNum < (preferences.vfxNum * 0.6)) || (Math.round() > (totalVfxNum / preferences.vfxNum))) { if ((clouds.length < (preferences.vfxNumPerType * 0.6)) || (Math.round() > (clouds.length / preferences.vfxNumPerType))) { var _local3 = _root.attachMovie("cloud", "vfx" + zHigh, zHigh++); if (Math.random() > 0.5) { _local3._x = Math.random() * 100; } else { _local3._x = 540 + (Math.random() * 100); } _local3._y = -300; var _local5 = (Math.random() * 80) + 80; _local3.gotoAndStop(Math.floor(Math.random() * 4.99) + 1); _local3._xscale = _local5; _local3._yscale = _local5; _local3._alpha = (Math.random() * 50) + 50; _local3.speed = (Math.random() * 2) + 3.5; _local3._rotation = Math.random() * 360; var _local4 = new Array(); _local4.push(new flash.filters.DropShadowFilter(220, 45, 0, 250, 5, 5, 1, 1, false, false)); _local3.filters = _local4; clouds.push(_local3); if (zHigh > (com.gameInABottle.games.treasureOfCutlassReef.constants.Z.VFX_HIGH_MIN + 10000)) { zHigh = com.gameInABottle.games.treasureOfCutlassReef.constants.Z.VFX_HIGH_MIN; } totalVfxNum++; } } } } function createInfoPanelBlast(pX, pY) { var _local3 = _root.attachMovie("vfxInfoPanelBlast", "vfx" + z, z++); _local3._x = pX + 21; _local3._y = pY + 8.5; infoPanelBlasts.push(_local3); if (z > (com.gameInABottle.games.treasureOfCutlassReef.constants.Z.VFX_MIN + 10000)) { z = com.gameInABottle.games.treasureOfCutlassReef.constants.Z.VFX_MIN; } } function removeAllVfx() { var _local2 = 0; while (_local2 < blasts.length) { MovieClip(blasts[_local2]).removeMovieClip(); _local2++; } _local2 = 0; while (_local2 < blackSmokes.length) { MovieClip(blackSmokes[_local2]).removeMovieClip(); _local2++; } _local2 = 0; while (_local2 < whiteSmokes.length) { MovieClip(whiteSmokes[_local2]).removeMovieClip(); _local2++; } _local2 = 0; while (_local2 < debris.length) { MovieClip(debris[_local2]).removeMovieClip(); _local2++; } _local2 = 0; while (_local2 < splashes.length) { MovieClip(splashes[_local2]).removeMovieClip(); _local2++; } _local2 = 0; while (_local2 < infoPanelBlasts.length) { MovieClip(infoPanelBlasts[_local2]).removeMovieClip(); _local2++; } _local2 = 0; while (_local2 < clouds.length) { MovieClip(clouds[_local2]).removeMovieClip(); _local2++; } blasts = new Array(); blackSmokes = new Array(); whiteSmokes = new Array(); debris = new Array(); splashes = new Array(); infoPanelBlasts = new Array(); clouds = new Array(); } }
Symbol 577 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.entity.Preferences] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.entity.Preferences { var so, soundVolumeBase, qualityBase, vfxNumBase, vfxNumPerTypeBase; function Preferences () { so = SharedObject.getLocal("preferences"); soundVolumeBase = ((so.data.soundVolumeBase == undefined) ? 70 : (so.data.soundVolumeBase)); qualityBase = ((so.data.qualityBase == undefined) ? 100 : (so.data.qualityBase)); vfxNumBase = ((so.data.vfxNumBase == undefined) ? 100 : (so.data.vfxNumBase)); vfxNumPerTypeBase = ((so.data.vfxNumPerTypeBase == undefined) ? 100 : (so.data.vfxNumPerTypeBase)); flush(); } function flush() { so.data.soundVolumeBase = soundVolumeBase; so.data.qualityBase = qualityBase; so.data.vfxNumBase = vfxNumBase; so.data.vfxNumPerTypeBase = vfxNumPerTypeBase; so.flush(); } }
Symbol 578 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.entity.Player] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.entity.Player { var currentLevel, difficulty, levGunNum, levFirepower, levReloadSpeed, levCrew, levArmor, levShipMoveSpeed, levShipTurnSpeed, checksum, scoreKey, score, goldKey, gold; function Player () { setScore(0); setGold(0); currentLevel = 0; difficulty = 0; levGunNum = 0; levFirepower = 0; levReloadSpeed = 0; levCrew = 0; levArmor = 0; levShipMoveSpeed = 0; levShipTurnSpeed = 0; } function populateFromObject(pObj) { setScore(pObj.score); setGold(pObj.gold); currentLevel = pObj.currentLevel; difficulty = pObj.difficulty; levGunNum = pObj.levGunNum; levFirepower = pObj.levFirepower; levReloadSpeed = pObj.levReloadSpeed; levCrew = pObj.levCrew; levArmor = pObj.levArmor; levShipMoveSpeed = pObj.levShipMoveSpeed; levShipTurnSpeed = pObj.levShipTurnSpeed; checksum = pObj.checksum; } function createCloneObject() { var _local2 = new Object(); _local2.score = getScore(); _local2.gold = getGold(); _local2.currentLevel = currentLevel; _local2.difficulty = difficulty; _local2.levGunNum = levGunNum; _local2.levFirepower = levFirepower; _local2.levReloadSpeed = levReloadSpeed; _local2.levCrew = levCrew; _local2.levArmor = levArmor; _local2.levShipMoveSpeed = levShipMoveSpeed; _local2.levShipTurnSpeed = levShipTurnSpeed; _local2.checksum = checksum; return(_local2); } function calculateSaveChecksum() { var _local2 = 17382644 /* 0x1093CF4 */; var _local4 = getScore().toString(); var _local3 = 0; while (_local3 < _local4.length) { _local2 = ((_local2 * _local4.charCodeAt(_local3)) % 91123214) + 901; _local3++; } var _local5 = getGold().toString(); _local3 = 0; while (_local3 < _local5.length) { _local2 = ((_local2 * _local5.charCodeAt(_local3)) % 91133215) + 332; _local3++; } var _local7 = currentLevel.toString(); _local3 = 0; while (_local3 < _local7.length) { _local2 = ((_local2 * _local7.charCodeAt(_local3)) % 93817482) + 222; _local3++; } var _local6 = difficulty.toString(); _local3 = 0; while (_local3 < _local6.length) { _local2 = ((_local2 * _local6.charCodeAt(_local3)) % 91817482) + 122; _local3++; } if (levArmor == undefined) { return(_local2); } _local2 = ((_local2 * (levArmor + 123)) % 92817482) + 120000; _local2 = ((_local2 * (levCrew + 124)) % 92817472) + 121000; _local2 = ((_local2 * (levFirepower + 125)) % 92817462) + 122000; _local2 = ((_local2 * (levGunNum + 126)) % 92817452) + 123000; _local2 = ((_local2 * (levReloadSpeed + 127)) % 92817442) + 124000; _local2 = ((_local2 * (levShipMoveSpeed + 128)) % 92817432) + 125000; _local2 = ((_local2 * (levShipTurnSpeed + 129)) % 92817422) + 126000; return(_local2); } function setScore(pScore) { scoreKey = Math.floor(Math.random() * 1000000) - 500000; score = pScore + scoreKey; } function getScore() { return(score - scoreKey); } function setGold(pGold) { goldKey = Math.floor(Math.random() * 1000000) - 500000; gold = pGold + goldKey; } function getGold() { return(gold - goldKey); } function calculateHighScoreChecksum(pName, pScore, pLevel, pDifficulty) { var _local1 = 37382647 /* 0x23A69F7 */; var _local2 = 0; while (_local2 < pName.length) { _local1 = ((_local1 * pName.charCodeAt(_local2)) % 93837482) + 222; _local2++; } var _local3 = pScore.toString(); _local2 = 0; while (_local2 < _local3.length) { _local1 = ((_local1 * _local3.charCodeAt(_local2)) % 92133214) + 921; _local2++; } _local1 = (_local1 * (pLevel + 513)) % 92135554; _local1 = (_local1 * (pDifficulty + 408)) % 91835357; return(_local1); } }
Symbol 579 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.constants.StaticData] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.constants.StaticData { var main, levels; function StaticData (pMain) { main = pMain; levels = new Array(); var _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(); _local2.mapX = 495; _local2.mapY = 294; _local2.isShipFacingRight = true; _local2.mapPirRelX = 45; _local2.mapPirRelY = 0; _local2.flagShipName = "Black Widow"; var _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 200; _local3.isWeakened = true; _local3.goldCarried = 1400; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 300; _local3.isWeakened = true; _local3.goldCarried = 1400; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 120; _local3.xMax = 520; _local3.x = 0; _local3.deltaY = 0.2; _local3.spawnTime = 4000; _local3.isWeakened = true; _local3.goldCarried = 1200; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 120; _local3.xMax = 520; _local3.x = 0; _local3.deltaY = 0.2; _local3.spawnTime = 4200; _local3.isWeakened = true; _local3.goldCarried = 900; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 120; _local3.xMax = 520; _local3.x = 0; _local3.deltaY = 0.2; _local3.spawnTime = 4300; _local3.isWeakened = true; _local3.goldCarried = 900; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 3; _local3.armorLevel = 0; _local3.crewNumLevel = 1; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 1; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 1; _local3.reloadSpeedLevel = 1; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.25; _local3.spawnTime = 8000; _local3.isWeakened = true; _local3.sailType = _local3.ST_BOSS; _local3.goldCarried = 2400; _local2.shipDatas.push(_local3); levels.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(); _local2.mapX = 452; _local2.mapY = 349; _local2.isShipFacingRight = true; _local2.mapPirRelX = 45; _local2.mapPirRelY = 0; _local2.flagShipName = "Bloodlust"; _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 1; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 300; _local3.deltaY = 0.15; _local3.spawnTime = 200; _local3.goldCarried = 1500; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 340; _local3.deltaY = 0.15; _local3.spawnTime = 400; _local3.isWeakened = true; _local3.goldCarried = 800; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 1; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 350; _local3.deltaY = 0.3; _local3.spawnTime = 2000; _local3.goldCarried = 1600; _local3.sailType = _local3.ST_DOT1; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 2; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 1; _local3.turnSpeedMaxLevel = 1; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 150; _local3.deltaY = 0.05; _local3.spawnTime = 4000; _local3.goldCarried = 1400; _local3.sailType = _local3.ST_DOT1; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.isWeakened = true; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 540; _local3.deltaY = 0.35; _local3.spawnTime = 4000; _local3.goldCarried = 1500; _local3.sailType = _local3.ST_DOT1; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 1; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 4800; _local3.isWeakened = true; _local3.goldCarried = 800; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 1; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 5400; _local3.isWeakened = true; _local3.goldCarried = 800; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 1; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 6000; _local3.isWeakened = true; _local3.goldCarried = 800; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 3; _local3.armorLevel = 1; _local3.crewNumLevel = 1; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 1; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 1; _local3.reloadSpeedLevel = 1; _local3.sailType = _local3.ST_BOSS; _local3.xMin = 100; _local3.xMax = 520; _local3.x = 350; _local3.deltaY = 0.3; _local3.spawnTime = 15000; _local3.goldCarried = 3000; _local2.shipDatas.push(_local3); levels.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(); _local2.mapX = 397; _local2.mapY = 393; _local2.isShipFacingRight = true; _local2.mapPirRelX = 45; _local2.mapPirRelY = 0; _local2.flagShipName = "Warlock"; _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 200; _local3.goldCarried = 2000; _local3.sailType = _local3.ST_DOT1; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 1; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 1; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 400; _local3.deltaY = 0.1; _local3.spawnTime = 1900; _local3.goldCarried = 2000; _local3.sailType = _local3.ST_DOT1; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 1; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 1; _local3.isWeakened = true; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 300; _local3.deltaY = 0.1; _local3.spawnTime = 2000; _local3.goldCarried = 2000; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 1; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 1; _local3.isWeakened = true; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 550; _local3.deltaY = 0.2; _local3.spawnTime = 2000; _local3.goldCarried = 2000; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 2; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 2; _local3.turnSpeedMaxLevel = 2; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 300; _local3.deltaY = 0.1; _local3.spawnTime = 4000; _local3.goldCarried = 1500; _local3.sailType = _local3.ST_DOT2; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 1; _local3.speedMaxLevel = 2; _local3.turnSpeedMaxLevel = 1; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 500; _local3.deltaY = 0.1; _local3.spawnTime = 4050; _local3.goldCarried = 2000; _local3.sailType = _local3.ST_DOT2; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 2; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 1; _local3.reloadSpeedLevel = 1; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 320; _local3.deltaY = 0.25; _local3.spawnTime = 7000; _local3.goldCarried = 1000; _local3.sailType = _local3.ST_DOT1; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 2; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 1; _local3.speedMaxLevel = 2; _local3.turnSpeedMaxLevel = 1; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 450; _local3.deltaY = 0.05; _local3.spawnTime = 7000; _local3.goldCarried = 1100; _local3.sailType = _local3.ST_DOT1; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 3; _local3.armorLevel = 3; _local3.crewNumLevel = 3; _local3.firePowerLevel = 3; _local3.cannonsNumLevel = 3; _local3.speedMaxLevel = 3; _local3.turnSpeedMaxLevel = 3; _local3.reloadSpeedLevel = 3; _local3.sailType = _local3.ST_BOSS; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 12000; _local3.goldCarried = 6000; _local2.shipDatas.push(_local3); levels.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(); _local2.mapX = 278; _local2.mapY = 397; _local2.isShipFacingRight = true; _local2.mapPirRelX = 28; _local2.mapPirRelY = 29; _local2.flagShipName = "Mystery"; _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 2; _local3.firePowerLevel = 1; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 1; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 200; _local3.goldCarried = 2200; _local3.sailType = _local3.ST_DOT2; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 1; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 1500; _local3.goldCarried = 1900; _local3.sailType = _local3.ST_DOT2; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 1; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 250; _local3.deltaY = 0.2; _local3.spawnTime = 3050; _local3.goldCarried = 1900; _local3.sailType = _local3.ST_DOT1; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 1; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 450; _local3.deltaY = 0.15; _local3.spawnTime = 3000; _local3.goldCarried = 2000; _local3.sailType = _local3.ST_DOT3; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 1; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 150; _local3.deltaY = 0.1; _local3.spawnTime = 6000; _local3.goldCarried = 2100; _local3.sailType = _local3.ST_DOT2; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 1; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 470; _local3.deltaY = 0.1; _local3.spawnTime = 6000; _local3.goldCarried = 1750; _local3.sailType = _local3.ST_DOT1; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 1; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 180; _local3.deltaY = 0.1; _local3.spawnTime = 8200; _local3.goldCarried = 5150; _local3.sailType = _local3.ST_DOWNRED_BLANK; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 1; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 11000; _local3.goldCarried = 2200; _local3.sailType = _local3.ST_DOT3; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.isWeakened = true; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.35; _local3.spawnTime = 14000; _local3.goldCarried = 600; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.isWeakened = true; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.35; _local3.spawnTime = 14200; _local3.goldCarried = 600; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.isWeakened = true; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.35; _local3.spawnTime = 14400; _local3.goldCarried = 600; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.isWeakened = true; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.35; _local3.spawnTime = 14600; _local3.goldCarried = 600; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.isWeakened = true; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.35; _local3.spawnTime = 14800; _local3.goldCarried = 600; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 3; _local3.armorLevel = 3; _local3.crewNumLevel = 4; _local3.firePowerLevel = 3; _local3.cannonsNumLevel = 3; _local3.speedMaxLevel = 3; _local3.turnSpeedMaxLevel = 3; _local3.reloadSpeedLevel = 3; _local3.sailType = _local3.ST_BOSS; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 15000; _local3.goldCarried = 5000; _local2.shipDatas.push(_local3); levels.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(); _local2.mapX = 134; _local2.mapY = 400; _local2.isShipFacingRight = true; _local2.mapPirRelX = 28; _local2.mapPirRelY = 29; _local2.flagShipName = "Greedy Rapier"; _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 2; _local3.cannonsNumLevel = 2; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 1; _local3.reloadSpeedLevel = 2; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 200; _local3.goldCarried = 1800; _local3.sailType = _local3.ST_DOT2; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 1; _local3.crewNumLevel = 2; _local3.firePowerLevel = 2; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 2; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 200; _local3.deltaY = 0.12; _local3.spawnTime = 2000; _local3.goldCarried = 1900; _local3.sailType = _local3.ST_DOT2; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 1; _local3.crewNumLevel = 3; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 2; _local3.speedMaxLevel = 1; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 520; _local3.deltaY = 0.1; _local3.spawnTime = 2000; _local3.goldCarried = 1800; _local3.sailType = _local3.ST_DOT3; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 2; _local3.cannonsNumLevel = 1; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 300; _local3.deltaY = 0.1; _local3.spawnTime = 3600; _local3.goldCarried = 2500; _local3.sailType = _local3.ST_DOT3; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 2; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 1; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 500; _local3.deltaY = 0.05; _local3.spawnTime = 3600; _local3.goldCarried = 2000; _local3.sailType = _local3.ST_DOT3; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 3; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 1; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 6000; _local3.goldCarried = 3300; _local3.sailType = _local3.ST_DOT4; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 2; _local3.crewNumLevel = 2; _local3.firePowerLevel = 2; _local3.cannonsNumLevel = 2; _local3.speedMaxLevel = 3; _local3.turnSpeedMaxLevel = 2; _local3.reloadSpeedLevel = 2; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.4; _local3.spawnTime = 6300; _local3.goldCarried = 1800; _local3.sailType = _local3.ST_DOT4; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 2; _local3.crewNumLevel = 2; _local3.firePowerLevel = 2; _local3.cannonsNumLevel = 2; _local3.speedMaxLevel = 3; _local3.turnSpeedMaxLevel = 2; _local3.reloadSpeedLevel = 2; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.4; _local3.spawnTime = 6500; _local3.goldCarried = 1800; _local3.sailType = _local3.ST_DOT4; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 2; _local3.crewNumLevel = 2; _local3.firePowerLevel = 2; _local3.cannonsNumLevel = 2; _local3.speedMaxLevel = 3; _local3.turnSpeedMaxLevel = 2; _local3.reloadSpeedLevel = 2; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.4; _local3.spawnTime = 6700; _local3.goldCarried = 1800; _local3.sailType = _local3.ST_DOT4; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 2; _local3.firePowerLevel = 1; _local3.cannonsNumLevel = 3; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 550; _local3.deltaY = 0.08; _local3.spawnTime = 7500; _local3.goldCarried = 3900; _local3.sailType = _local3.ST_DOT3; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 2; _local3.crewNumLevel = 0; _local3.firePowerLevel = 3; _local3.cannonsNumLevel = 1; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 200; _local3.deltaY = 0.3; _local3.spawnTime = 9400; _local3.goldCarried = 1900; _local3.sailType = _local3.ST_DOT3; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 1; _local3.firePowerLevel = 2; _local3.cannonsNumLevel = 0; _local3.speedMaxLevel = 3; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 560; _local3.deltaY = 0.25; _local3.spawnTime = 9450; _local3.goldCarried = 2000; _local3.sailType = _local3.ST_DOT3; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 3; _local3.armorLevel = 4; _local3.crewNumLevel = 4; _local3.firePowerLevel = 4; _local3.cannonsNumLevel = 4; _local3.speedMaxLevel = 4; _local3.turnSpeedMaxLevel = 4; _local3.reloadSpeedLevel = 4; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 11000; _local3.sailType = _local3.ST_BOSS; _local3.goldCarried = 8000; _local2.shipDatas.push(_local3); levels.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(); _local2.mapX = 80; _local2.mapY = 310; _local2.isShipFacingRight = true; _local2.mapPirRelX = 28; _local2.mapPirRelY = 29; _local2.flagShipName = "Cursed Blessing"; _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 2; _local3.crewNumLevel = 4; _local3.firePowerLevel = 4; _local3.cannonsNumLevel = 4; _local3.speedMaxLevel = 2; _local3.turnSpeedMaxLevel = 2; _local3.reloadSpeedLevel = 2; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 200; _local3.goldCarried = 5500; _local3.sailType = _local3.ST_DOT5; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 2; _local3.crewNumLevel = 4; _local3.firePowerLevel = 4; _local3.cannonsNumLevel = 4; _local3.speedMaxLevel = 2; _local3.turnSpeedMaxLevel = 2; _local3.reloadSpeedLevel = 2; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 1000; _local3.goldCarried = 5500; _local3.sailType = _local3.ST_DOT5; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 2; _local3.crewNumLevel = 4; _local3.firePowerLevel = 4; _local3.cannonsNumLevel = 4; _local3.speedMaxLevel = 2; _local3.turnSpeedMaxLevel = 2; _local3.reloadSpeedLevel = 2; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 2000; _local3.goldCarried = 5500; _local3.sailType = _local3.ST_DOT5; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 2; _local3.crewNumLevel = 4; _local3.firePowerLevel = 4; _local3.cannonsNumLevel = 4; _local3.speedMaxLevel = 2; _local3.turnSpeedMaxLevel = 2; _local3.reloadSpeedLevel = 2; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 3000; _local3.goldCarried = 5500; _local3.sailType = _local3.ST_DOT5; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 5; _local3.crewNumLevel = 5; _local3.firePowerLevel = 5; _local3.cannonsNumLevel = 5; _local3.speedMaxLevel = 4; _local3.turnSpeedMaxLevel = 5; _local3.reloadSpeedLevel = 5; _local3.sailType = _local3.ST_PIRATEHUNTER1; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.35; _local3.spawnTime = 4300; _local3.goldCarried = 1000; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 5; _local3.crewNumLevel = 5; _local3.firePowerLevel = 5; _local3.cannonsNumLevel = 5; _local3.speedMaxLevel = 4; _local3.turnSpeedMaxLevel = 5; _local3.reloadSpeedLevel = 5; _local3.sailType = _local3.ST_PIRATEHUNTER2; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.32; _local3.spawnTime = 4400; _local3.goldCarried = 1000; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 3; _local3.armorLevel = 6; _local3.crewNumLevel = 6; _local3.firePowerLevel = 6; _local3.cannonsNumLevel = 6; _local3.speedMaxLevel = 6; _local3.turnSpeedMaxLevel = 6; _local3.reloadSpeedLevel = 6; _local3.sailType = _local3.ST_BOSS; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0; _local3.spawnTime = 4500; _local3.goldCarried = 6000; _local2.shipDatas.push(_local3); levels.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(); _local2.mapX = 94; _local2.mapY = 239; _local2.isShipFacingRight = false; _local2.mapPirRelX = -28; _local2.mapPirRelY = 29; _local2.flagShipName = "Poison Rain"; _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 3; _local3.crewNumLevel = 3; _local3.firePowerLevel = 3; _local3.cannonsNumLevel = 3; _local3.speedMaxLevel = 3; _local3.turnSpeedMaxLevel = 3; _local3.reloadSpeedLevel = 3; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.2; _local3.spawnTime = 50; _local3.goldCarried = 4000; _local3.sailType = _local3.ST_DOT3; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 4; _local3.crewNumLevel = 9; _local3.firePowerLevel = 7; _local3.cannonsNumLevel = 7; _local3.speedMaxLevel = 6; _local3.turnSpeedMaxLevel = 6; _local3.reloadSpeedLevel = 7; _local3.sailType = _local3.ST_PIRATEHUNTER2; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.2; _local3.spawnTime = 150; _local3.goldCarried = 800; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 3; _local3.crewNumLevel = 3; _local3.firePowerLevel = 3; _local3.cannonsNumLevel = 3; _local3.speedMaxLevel = 3; _local3.turnSpeedMaxLevel = 3; _local3.reloadSpeedLevel = 3; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.2; _local3.spawnTime = 250; _local3.goldCarried = 4000; _local3.sailType = _local3.ST_DOT5; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 3; _local3.crewNumLevel = 3; _local3.firePowerLevel = 3; _local3.cannonsNumLevel = 3; _local3.speedMaxLevel = 3; _local3.turnSpeedMaxLevel = 3; _local3.reloadSpeedLevel = 3; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.2; _local3.spawnTime = 450; _local3.goldCarried = 4000; _local3.sailType = _local3.ST_DOT5; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 4; _local3.crewNumLevel = 4; _local3.firePowerLevel = 4; _local3.cannonsNumLevel = 4; _local3.speedMaxLevel = 4; _local3.turnSpeedMaxLevel = 4; _local3.reloadSpeedLevel = 4; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.2; _local3.spawnTime = 1350; _local3.goldCarried = 4000; _local3.sailType = _local3.ST_DOT4; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 4; _local3.crewNumLevel = 4; _local3.firePowerLevel = 4; _local3.cannonsNumLevel = 4; _local3.speedMaxLevel = 4; _local3.turnSpeedMaxLevel = 4; _local3.reloadSpeedLevel = 4; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.2; _local3.spawnTime = 1650; _local3.goldCarried = 4000; _local3.sailType = _local3.ST_DOT5; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 4; _local3.armorLevel = 7; _local3.crewNumLevel = 7; _local3.firePowerLevel = 7; _local3.cannonsNumLevel = 7; _local3.speedMaxLevel = 7; _local3.turnSpeedMaxLevel = 7; _local3.reloadSpeedLevel = 7; _local3.sailType = _local3.ST_BOSS; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 320; _local3.deltaY = 0.2; _local3.spawnTime = 6200; _local3.goldCarried = 8000; _local2.shipDatas.push(_local3); levels.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(); _local2.mapX = 107; _local2.mapY = 164; _local2.isShipFacingRight = false; _local2.mapPirRelX = -45; _local2.mapPirRelY = 0; _local2.flagShipName = "Vengeance"; _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 4; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 100; _local3.goldCarried = 3000; _local3.sailType = _local3.ST_DOWNRED_DOT1; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 4; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 150; _local3.goldCarried = 3000; _local3.sailType = _local3.ST_DOWNRED_DOT1; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 4; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 200; _local3.goldCarried = 3000; _local3.sailType = _local3.ST_DOWNRED_DOT1; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 4; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 1100; _local3.goldCarried = 4000; _local3.sailType = _local3.ST_DOWNRED_DOT2; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 4; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 1200; _local3.goldCarried = 4000; _local3.sailType = _local3.ST_DOWNRED_DOT2; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 1; _local3.armorLevel = 0; _local3.crewNumLevel = 0; _local3.firePowerLevel = 0; _local3.cannonsNumLevel = 4; _local3.speedMaxLevel = 0; _local3.turnSpeedMaxLevel = 0; _local3.reloadSpeedLevel = 0; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 1250; _local3.goldCarried = 3000; _local3.sailType = _local3.ST_DOT5; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 1; _local3.crewNumLevel = 1; _local3.firePowerLevel = 1; _local3.cannonsNumLevel = 5; _local3.speedMaxLevel = 1; _local3.turnSpeedMaxLevel = 1; _local3.reloadSpeedLevel = 1; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.1; _local3.spawnTime = 2000; _local3.goldCarried = 3000; _local3.sailType = _local3.ST_DOWNRED_DOT3; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 1; _local3.crewNumLevel = 1; _local3.firePowerLevel = 1; _local3.cannonsNumLevel = 5; _local3.speedMaxLevel = 1; _local3.turnSpeedMaxLevel = 1; _local3.reloadSpeedLevel = 1; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.4; _local3.spawnTime = 2100; _local3.goldCarried = 3000; _local3.sailType = _local3.ST_DOWNRED_DOT3; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 1; _local3.crewNumLevel = 1; _local3.firePowerLevel = 1; _local3.cannonsNumLevel = 5; _local3.speedMaxLevel = 1; _local3.turnSpeedMaxLevel = 1; _local3.reloadSpeedLevel = 1; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.27; _local3.spawnTime = 2200; _local3.goldCarried = 3000; _local3.sailType = _local3.ST_DOWNRED_DOT3; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 8; _local3.crewNumLevel = 9; _local3.firePowerLevel = 7; _local3.cannonsNumLevel = 7; _local3.speedMaxLevel = 7; _local3.turnSpeedMaxLevel = 7; _local3.reloadSpeedLevel = 7; _local3.sailType = _local3.ST_PIRATEHUNTER3; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.2; _local3.spawnTime = 5200; _local3.goldCarried = 800; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 8; _local3.crewNumLevel = 9; _local3.firePowerLevel = 7; _local3.cannonsNumLevel = 7; _local3.speedMaxLevel = 7; _local3.turnSpeedMaxLevel = 7; _local3.reloadSpeedLevel = 7; _local3.sailType = _local3.ST_PIRATEHUNTER1; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.3; _local3.spawnTime = 5400; _local3.goldCarried = 800; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 4; _local3.armorLevel = 5; _local3.crewNumLevel = 5; _local3.firePowerLevel = 5; _local3.cannonsNumLevel = 10; _local3.speedMaxLevel = 5; _local3.turnSpeedMaxLevel = 5; _local3.reloadSpeedLevel = 5; _local3.sailType = _local3.ST_BOSS; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 320; _local3.deltaY = 0.2; _local3.spawnTime = 10000; _local3.goldCarried = 9000; _local2.shipDatas.push(_local3); levels.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(); _local2.mapX = 183; _local2.mapY = 88; _local2.isShipFacingRight = false; _local2.mapPirRelX = -45; _local2.mapPirRelY = 0; _local2.flagShipName = "Pandora"; _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 3; _local3.crewNumLevel = 3; _local3.firePowerLevel = 2; _local3.cannonsNumLevel = 2; _local3.speedMaxLevel = 2; _local3.turnSpeedMaxLevel = 2; _local3.reloadSpeedLevel = 3; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.25; _local3.spawnTime = 100; _local3.goldCarried = 4500; _local3.sailType = _local3.ST_DOWNRED_DOT3; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 3; _local3.crewNumLevel = 3; _local3.firePowerLevel = 2; _local3.cannonsNumLevel = 2; _local3.speedMaxLevel = 2; _local3.turnSpeedMaxLevel = 2; _local3.reloadSpeedLevel = 3; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.25; _local3.spawnTime = 400; _local3.goldCarried = 4500; _local3.sailType = _local3.ST_DOWNRED_DOT2; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 3; _local3.crewNumLevel = 3; _local3.firePowerLevel = 2; _local3.cannonsNumLevel = 2; _local3.speedMaxLevel = 2; _local3.turnSpeedMaxLevel = 2; _local3.reloadSpeedLevel = 3; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.25; _local3.spawnTime = 700; _local3.goldCarried = 4500; _local3.sailType = _local3.ST_DOWNRED_DOT3; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 3; _local3.crewNumLevel = 3; _local3.firePowerLevel = 2; _local3.cannonsNumLevel = 2; _local3.speedMaxLevel = 2; _local3.turnSpeedMaxLevel = 2; _local3.reloadSpeedLevel = 3; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.25; _local3.spawnTime = 1000; _local3.goldCarried = 4500; _local3.sailType = _local3.ST_DOWNRED_DOT3; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 3; _local3.crewNumLevel = 3; _local3.firePowerLevel = 2; _local3.cannonsNumLevel = 2; _local3.speedMaxLevel = 2; _local3.turnSpeedMaxLevel = 2; _local3.reloadSpeedLevel = 3; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.25; _local3.spawnTime = 1300; _local3.goldCarried = 4500; _local3.sailType = _local3.ST_UPRED_DOT1; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 3; _local3.crewNumLevel = 3; _local3.firePowerLevel = 2; _local3.cannonsNumLevel = 2; _local3.speedMaxLevel = 2; _local3.turnSpeedMaxLevel = 2; _local3.reloadSpeedLevel = 3; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.25; _local3.spawnTime = 1600; _local3.goldCarried = 4500; _local3.sailType = _local3.ST_UPRED_DOT2; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 3; _local3.crewNumLevel = 3; _local3.firePowerLevel = 2; _local3.cannonsNumLevel = 2; _local3.speedMaxLevel = 2; _local3.turnSpeedMaxLevel = 2; _local3.reloadSpeedLevel = 3; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.25; _local3.spawnTime = 1900; _local3.goldCarried = 4500; _local3.sailType = _local3.ST_DOWNRED_DOT1; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 3; _local3.crewNumLevel = 3; _local3.firePowerLevel = 2; _local3.cannonsNumLevel = 2; _local3.speedMaxLevel = 2; _local3.turnSpeedMaxLevel = 2; _local3.reloadSpeedLevel = 3; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.25; _local3.spawnTime = 2200; _local3.goldCarried = 4500; _local3.sailType = _local3.ST_UPRED_DOT2; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 3; _local3.crewNumLevel = 3; _local3.firePowerLevel = 2; _local3.cannonsNumLevel = 2; _local3.speedMaxLevel = 2; _local3.turnSpeedMaxLevel = 2; _local3.reloadSpeedLevel = 3; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.25; _local3.spawnTime = 2500; _local3.goldCarried = 4500; _local3.sailType = _local3.ST_UPRED_DOT3; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 3; _local3.crewNumLevel = 3; _local3.firePowerLevel = 2; _local3.cannonsNumLevel = 2; _local3.speedMaxLevel = 2; _local3.turnSpeedMaxLevel = 2; _local3.reloadSpeedLevel = 3; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.25; _local3.spawnTime = 2800; _local3.goldCarried = 4500; _local3.sailType = _local3.ST_DOWNRED_DOT2; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 4; _local3.armorLevel = 5; _local3.crewNumLevel = 5; _local3.firePowerLevel = 5; _local3.cannonsNumLevel = 5; _local3.speedMaxLevel = 5; _local3.turnSpeedMaxLevel = 5; _local3.reloadSpeedLevel = 5; _local3.sailType = _local3.ST_BOSS; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 320; _local3.deltaY = 0.2; _local3.spawnTime = 10000; _local3.goldCarried = 10000; _local2.shipDatas.push(_local3); levels.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(); _local2.mapX = 287; _local2.mapY = 79; _local2.isShipFacingRight = false; _local2.mapPirRelX = -45; _local2.mapPirRelY = 0; _local2.flagShipName = "Lost Sister"; _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 6; _local3.crewNumLevel = 6; _local3.firePowerLevel = 6; _local3.cannonsNumLevel = 6; _local3.speedMaxLevel = 6; _local3.turnSpeedMaxLevel = 6; _local3.reloadSpeedLevel = 6; _local3.sailType = _local3.ST_PIRATEHUNTER4; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 120; _local3.deltaY = 0.1; _local3.spawnTime = 100; _local3.goldCarried = 5000; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 8; _local3.crewNumLevel = 9; _local3.firePowerLevel = 7; _local3.cannonsNumLevel = 7; _local3.speedMaxLevel = 7; _local3.turnSpeedMaxLevel = 7; _local3.reloadSpeedLevel = 7; _local3.sailType = _local3.ST_PIRATEHUNTER2; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.23; _local3.spawnTime = 500; _local3.goldCarried = 800; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 6; _local3.crewNumLevel = 6; _local3.firePowerLevel = 6; _local3.cannonsNumLevel = 6; _local3.speedMaxLevel = 6; _local3.turnSpeedMaxLevel = 6; _local3.reloadSpeedLevel = 6; _local3.sailType = _local3.ST_PIRATEHUNTER1; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 270; _local3.deltaY = 0.1; _local3.spawnTime = 100; _local3.goldCarried = 5000; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 6; _local3.crewNumLevel = 6; _local3.firePowerLevel = 6; _local3.cannonsNumLevel = 6; _local3.speedMaxLevel = 6; _local3.turnSpeedMaxLevel = 6; _local3.reloadSpeedLevel = 6; _local3.sailType = _local3.ST_PIRATEHUNTER3; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 420; _local3.deltaY = 0.1; _local3.spawnTime = 100; _local3.goldCarried = 5000; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 5; _local3.crewNumLevel = 5; _local3.firePowerLevel = 5; _local3.cannonsNumLevel = 5; _local3.speedMaxLevel = 5; _local3.turnSpeedMaxLevel = 5; _local3.reloadSpeedLevel = 5; _local3.sailType = _local3.ST_DOT5; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 570; _local3.deltaY = 0.1; _local3.spawnTime = 100; _local3.goldCarried = 5000; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 3; _local3.armorLevel = 5; _local3.crewNumLevel = 5; _local3.firePowerLevel = 5; _local3.cannonsNumLevel = 5; _local3.speedMaxLevel = 5; _local3.turnSpeedMaxLevel = 5; _local3.reloadSpeedLevel = 5; _local3.sailType = _local3.ST_DOT5; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 200; _local3.deltaY = 0.1; _local3.spawnTime = 3000; _local3.goldCarried = 6000; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 3; _local3.armorLevel = 5; _local3.crewNumLevel = 5; _local3.firePowerLevel = 5; _local3.cannonsNumLevel = 5; _local3.speedMaxLevel = 5; _local3.turnSpeedMaxLevel = 5; _local3.reloadSpeedLevel = 5; _local3.sailType = _local3.ST_DOT5; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 350; _local3.deltaY = 0.1; _local3.spawnTime = 3100; _local3.goldCarried = 6000; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 3; _local3.armorLevel = 5; _local3.crewNumLevel = 5; _local3.firePowerLevel = 5; _local3.cannonsNumLevel = 5; _local3.speedMaxLevel = 5; _local3.turnSpeedMaxLevel = 5; _local3.reloadSpeedLevel = 5; _local3.sailType = _local3.ST_DOT5; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 500; _local3.deltaY = 0.4; _local3.spawnTime = 3200; _local3.goldCarried = 6000; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 8; _local3.crewNumLevel = 9; _local3.firePowerLevel = 7; _local3.cannonsNumLevel = 7; _local3.speedMaxLevel = 7; _local3.turnSpeedMaxLevel = 7; _local3.reloadSpeedLevel = 7; _local3.sailType = _local3.ST_PIRATEHUNTER4; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 0; _local3.deltaY = 0.25; _local3.spawnTime = 9700; _local3.goldCarried = 800; _local2.shipDatas.push(_local3); _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 4; _local3.armorLevel = 9; _local3.crewNumLevel = 9; _local3.firePowerLevel = 9; _local3.cannonsNumLevel = 9; _local3.speedMaxLevel = 6; _local3.turnSpeedMaxLevel = 6; _local3.reloadSpeedLevel = 9; _local3.sailType = _local3.ST_BOSS; _local3.xMin = 80; _local3.xMax = 560; _local3.x = 320; _local3.deltaY = 0.2; _local3.spawnTime = 10000; _local3.goldCarried = 10000; _local2.shipDatas.push(_local3); levels.push(_local2); var _local4 = new com.gameInABottle.games.treasureOfCutlassReef.constants.StaticDataExt1(); levels.push(_local4.levels[0]); levels.push(_local4.levels[1]); } }
Symbol 580 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData { var shipDatas; function LevelData () { shipDatas = new Array(); } }
Symbol 581 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData { function ShipData () { } var ST_BLANK = "ST_BLANK"; var ST_DOT1 = "ST_DOT1"; var ST_DOT2 = "ST_DOT2"; var ST_DOT3 = "ST_DOT3"; var ST_DOT4 = "ST_DOT4"; var ST_DOT5 = "ST_DOT5"; var ST_DOT6 = "ST_DOT6"; var ST_UPRED_BLANK = "ST_UPRED_BLANK"; var ST_UPRED_DOT1 = "ST_UPRED_DOT1"; var ST_UPRED_DOT2 = "ST_UPRED_DOT2"; var ST_UPRED_DOT3 = "ST_UPRED_DOT3"; var ST_DOWNRED_BLANK = "ST_DOWNRED_BLANK"; var ST_DOWNRED_DOT1 = "ST_DOWNRED_DOT1"; var ST_DOWNRED_DOT2 = "ST_DOWNRED_DOT2"; var ST_DOWNRED_DOT3 = "ST_DOWNRED_DOT3"; var ST_PIRATEHUNTER1 = "ST_PIRATEHUNTER1"; var ST_PIRATEHUNTER2 = "ST_PIRATEHUNTER2"; var ST_PIRATEHUNTER3 = "ST_PIRATEHUNTER3"; var ST_PIRATEHUNTER4 = "ST_PIRATEHUNTER4"; var ST_BOSS = "ST_BOSS"; var ST_FINAL_MINION = "ST_FINAL_MINION"; }
Symbol 582 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.constants.StaticDataExt1] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.constants.StaticDataExt1 { var levels; function StaticDataExt1 () { levels = new Array(); vLevelData = new com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(); vLevelData.mapX = 309; vLevelData.mapY = 162; vLevelData.isShipFacingRight = true; vLevelData.mapPirRelX = 38; vLevelData.mapPirRelY = -27; vLevelData.flagShipName = "Windwalker"; var _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 2; _local2.armorLevel = 7; _local2.crewNumLevel = 7; _local2.firePowerLevel = 7; _local2.cannonsNumLevel = 7; _local2.speedMaxLevel = 7; _local2.turnSpeedMaxLevel = 7; _local2.reloadSpeedLevel = 7; _local2.xMin = 80; _local2.xMax = 560; _local2.x = 0; _local2.deltaY = 0.2; _local2.spawnTime = 100; _local2.goldCarried = 4000; _local2.sailType = _local2.ST_DOWNRED_DOT3; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 2; _local2.armorLevel = 9; _local2.crewNumLevel = 9; _local2.firePowerLevel = 9; _local2.cannonsNumLevel = 9; _local2.speedMaxLevel = 9; _local2.turnSpeedMaxLevel = 9; _local2.reloadSpeedLevel = 9; _local2.xMin = 80; _local2.xMax = 560; _local2.x = 0; _local2.deltaY = 0.2; _local2.spawnTime = 1500; _local2.sailType = _local2.ST_DOWNRED_DOT3; _local2.goldCarried = 4000; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 3; _local2.armorLevel = 11; _local2.crewNumLevel = 11; _local2.firePowerLevel = 11; _local2.cannonsNumLevel = 11; _local2.speedMaxLevel = 11; _local2.turnSpeedMaxLevel = 11; _local2.reloadSpeedLevel = 11; _local2.sailType = _local2.ST_PIRATEHUNTER4; _local2.xMin = 80; _local2.xMax = 560; _local2.x = 0; _local2.deltaY = 0.3; _local2.spawnTime = 1700; _local2.goldCarried = 800; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 3; _local2.armorLevel = 11; _local2.crewNumLevel = 11; _local2.firePowerLevel = 11; _local2.cannonsNumLevel = 11; _local2.speedMaxLevel = 11; _local2.turnSpeedMaxLevel = 11; _local2.reloadSpeedLevel = 11; _local2.sailType = _local2.ST_PIRATEHUNTER2; _local2.xMin = 80; _local2.xMax = 560; _local2.x = 0; _local2.deltaY = 0.3; _local2.spawnTime = 1900; _local2.goldCarried = 800; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 2; _local2.armorLevel = 9; _local2.crewNumLevel = 9; _local2.firePowerLevel = 9; _local2.cannonsNumLevel = 9; _local2.speedMaxLevel = 9; _local2.turnSpeedMaxLevel = 9; _local2.reloadSpeedLevel = 9; _local2.sailType = _local2.ST_DOWNRED_DOT3; _local2.xMin = 80; _local2.xMax = 560; _local2.x = 0; _local2.deltaY = 0.2; _local2.spawnTime = 3000; _local2.goldCarried = 4000; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 2; _local2.armorLevel = 9; _local2.crewNumLevel = 9; _local2.firePowerLevel = 9; _local2.cannonsNumLevel = 9; _local2.speedMaxLevel = 9; _local2.turnSpeedMaxLevel = 9; _local2.reloadSpeedLevel = 9; _local2.sailType = _local2.ST_DOWNRED_DOT3; _local2.xMin = 80; _local2.xMax = 560; _local2.x = 0; _local2.deltaY = 0.2; _local2.spawnTime = 4500; _local2.goldCarried = 4000; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 3; _local2.armorLevel = 5; _local2.crewNumLevel = 11; _local2.firePowerLevel = 11; _local2.cannonsNumLevel = 11; _local2.speedMaxLevel = 11; _local2.turnSpeedMaxLevel = 11; _local2.reloadSpeedLevel = 11; _local2.sailType = _local2.ST_PIRATEHUNTER1; _local2.xMin = 80; _local2.xMax = 560; _local2.x = 0; _local2.deltaY = 0.3; _local2.spawnTime = 4600; _local2.goldCarried = 800; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 2; _local2.armorLevel = 7; _local2.crewNumLevel = 7; _local2.firePowerLevel = 7; _local2.cannonsNumLevel = 7; _local2.speedMaxLevel = 7; _local2.turnSpeedMaxLevel = 7; _local2.reloadSpeedLevel = 7; _local2.sailType = _local2.ST_DOWNRED_DOT2; _local2.xMin = 80; _local2.xMax = 560; _local2.x = 0; _local2.deltaY = 0.2; _local2.spawnTime = 6000; _local2.goldCarried = 4000; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 2; _local2.armorLevel = 7; _local2.crewNumLevel = 7; _local2.firePowerLevel = 7; _local2.cannonsNumLevel = 7; _local2.speedMaxLevel = 7; _local2.turnSpeedMaxLevel = 7; _local2.reloadSpeedLevel = 7; _local2.sailType = _local2.ST_DOWNRED_DOT2; _local2.xMin = 80; _local2.xMax = 560; _local2.x = 0; _local2.deltaY = 0.2; _local2.spawnTime = 7500; _local2.goldCarried = 4000; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 2; _local2.armorLevel = 7; _local2.crewNumLevel = 7; _local2.firePowerLevel = 7; _local2.cannonsNumLevel = 7; _local2.speedMaxLevel = 7; _local2.turnSpeedMaxLevel = 7; _local2.reloadSpeedLevel = 7; _local2.sailType = _local2.ST_DOWNRED_DOT2; _local2.xMin = 80; _local2.xMax = 560; _local2.x = 0; _local2.deltaY = 0.2; _local2.spawnTime = 8200; _local2.goldCarried = 4000; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 4; _local2.armorLevel = 11; _local2.crewNumLevel = 11; _local2.firePowerLevel = 11; _local2.cannonsNumLevel = 11; _local2.speedMaxLevel = 6; _local2.turnSpeedMaxLevel = 6; _local2.reloadSpeedLevel = 11; _local2.sailType = _local2.ST_BOSS; _local2.xMin = 80; _local2.xMax = 560; _local2.x = 320; _local2.deltaY = 0.2; _local2.spawnTime = 20000; _local2.goldCarried = 10000; vLevelData.shipDatas.push(_local2); levels.push(vLevelData); var vLevelData = (new com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData()); vLevelData.mapX = 302; vLevelData.mapY = 235; vLevelData.isShipFacingRight = false; vLevelData.mapPirRelX = -5; vLevelData.mapPirRelY = -32; vLevelData.flagShipName = "Fallen Angel"; _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 1; _local2.armorLevel = 5; _local2.crewNumLevel = 5; _local2.firePowerLevel = 12; _local2.cannonsNumLevel = 5; _local2.speedMaxLevel = 5; _local2.turnSpeedMaxLevel = 5; _local2.reloadSpeedLevel = 5; _local2.sailType = _local2.ST_DOWNRED_DOT3; _local2.xMin = 80; _local2.xMax = 560; _local2.x = -800; _local2.deltaY = 0.1; _local2.spawnTime = 10; _local2.goldCarried = 800; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 1; _local2.armorLevel = 5; _local2.crewNumLevel = 5; _local2.firePowerLevel = 12; _local2.cannonsNumLevel = 5; _local2.speedMaxLevel = 5; _local2.turnSpeedMaxLevel = 5; _local2.reloadSpeedLevel = 5; _local2.sailType = _local2.ST_DOWNRED_DOT3; _local2.xMin = 80; _local2.xMax = 560; _local2.x = -650; _local2.deltaY = 0.1; _local2.spawnTime = 10; _local2.goldCarried = 800; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 1; _local2.armorLevel = 5; _local2.crewNumLevel = 5; _local2.firePowerLevel = 12; _local2.cannonsNumLevel = 5; _local2.speedMaxLevel = 5; _local2.turnSpeedMaxLevel = 5; _local2.reloadSpeedLevel = 5; _local2.sailType = _local2.ST_DOWNRED_DOT3; _local2.xMin = 80; _local2.xMax = 560; _local2.x = -500; _local2.deltaY = 0.1; _local2.spawnTime = 10; _local2.goldCarried = 800; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 1; _local2.armorLevel = 5; _local2.crewNumLevel = 5; _local2.firePowerLevel = 12; _local2.cannonsNumLevel = 5; _local2.speedMaxLevel = 5; _local2.turnSpeedMaxLevel = 5; _local2.reloadSpeedLevel = 5; _local2.sailType = _local2.ST_DOWNRED_DOT3; _local2.xMin = 80; _local2.xMax = 560; _local2.x = -350; _local2.deltaY = 0.1; _local2.spawnTime = 10; _local2.goldCarried = 800; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 1; _local2.armorLevel = 5; _local2.crewNumLevel = 5; _local2.firePowerLevel = 12; _local2.cannonsNumLevel = 5; _local2.speedMaxLevel = 5; _local2.turnSpeedMaxLevel = 5; _local2.reloadSpeedLevel = 5; _local2.sailType = _local2.ST_DOWNRED_DOT3; _local2.xMin = 80; _local2.xMax = 560; _local2.x = -200; _local2.deltaY = 0.1; _local2.spawnTime = 10; _local2.goldCarried = 800; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 1; _local2.armorLevel = 5; _local2.crewNumLevel = 5; _local2.firePowerLevel = 12; _local2.cannonsNumLevel = 5; _local2.speedMaxLevel = 5; _local2.turnSpeedMaxLevel = 5; _local2.reloadSpeedLevel = 5; _local2.sailType = _local2.ST_DOWNRED_DOT3; _local2.xMin = 80; _local2.xMax = 560; _local2.x = 950; _local2.deltaY = 0.1; _local2.spawnTime = 2500; _local2.goldCarried = 800; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 1; _local2.armorLevel = 5; _local2.crewNumLevel = 5; _local2.firePowerLevel = 12; _local2.cannonsNumLevel = 5; _local2.speedMaxLevel = 5; _local2.turnSpeedMaxLevel = 5; _local2.reloadSpeedLevel = 5; _local2.sailType = _local2.ST_DOWNRED_DOT3; _local2.xMin = 80; _local2.xMax = 560; _local2.x = 800; _local2.deltaY = 0.1; _local2.spawnTime = 2500; _local2.goldCarried = 800; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 2; _local2.armorLevel = 6; _local2.crewNumLevel = 6; _local2.firePowerLevel = 12; _local2.cannonsNumLevel = 6; _local2.speedMaxLevel = 6; _local2.turnSpeedMaxLevel = 6; _local2.reloadSpeedLevel = 6; _local2.sailType = _local2.ST_DOWNRED_DOT3; _local2.xMin = 80; _local2.xMax = 560; _local2.x = -1000; _local2.deltaY = 0.15; _local2.spawnTime = 5500; _local2.goldCarried = 1000; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 2; _local2.armorLevel = 6; _local2.crewNumLevel = 6; _local2.firePowerLevel = 12; _local2.cannonsNumLevel = 6; _local2.speedMaxLevel = 6; _local2.turnSpeedMaxLevel = 6; _local2.reloadSpeedLevel = 6; _local2.sailType = _local2.ST_DOWNRED_DOT3; _local2.xMin = 80; _local2.xMax = 560; _local2.x = -700; _local2.deltaY = 0.2; _local2.spawnTime = 5500; _local2.goldCarried = 1000; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 2; _local2.armorLevel = 6; _local2.crewNumLevel = 6; _local2.firePowerLevel = 12; _local2.cannonsNumLevel = 6; _local2.speedMaxLevel = 6; _local2.turnSpeedMaxLevel = 6; _local2.reloadSpeedLevel = 6; _local2.sailType = _local2.ST_DOWNRED_DOT3; _local2.xMin = 80; _local2.xMax = 560; _local2.x = -400; _local2.deltaY = 0.25; _local2.spawnTime = 5500; _local2.goldCarried = 1000; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 4; _local2.armorLevel = 12; _local2.crewNumLevel = 12; _local2.firePowerLevel = 12; _local2.cannonsNumLevel = 12; _local2.speedMaxLevel = 12; _local2.turnSpeedMaxLevel = 12; _local2.reloadSpeedLevel = 12; _local2.sailType = _local2.ST_PIRATEHUNTER1; _local2.xMin = 80; _local2.xMax = 560; _local2.x = 0; _local2.deltaY = 0.3; _local2.spawnTime = 10000; _local2.goldCarried = 1000; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 4; _local2.armorLevel = 12; _local2.crewNumLevel = 12; _local2.firePowerLevel = 12; _local2.cannonsNumLevel = 12; _local2.speedMaxLevel = 12; _local2.turnSpeedMaxLevel = 12; _local2.reloadSpeedLevel = 12; _local2.sailType = _local2.ST_PIRATEHUNTER1; _local2.xMin = 80; _local2.xMax = 560; _local2.x = 0; _local2.deltaY = 0.3; _local2.spawnTime = 11000; _local2.goldCarried = 1000; vLevelData.shipDatas.push(_local2); _local2 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local2.hullType = 5; _local2.armorLevel = 15; _local2.crewNumLevel = 15; _local2.firePowerLevel = 15; _local2.cannonsNumLevel = 15; _local2.speedMaxLevel = 11; _local2.turnSpeedMaxLevel = 7; _local2.reloadSpeedLevel = 15; _local2.sailType = _local2.ST_BOSS; _local2.xMin = 80; _local2.xMax = 560; _local2.x = -300; _local2.deltaY = -100; _local2.spawnTime = 16000; _local2.goldCarried = 36000; vLevelData.shipDatas.push(_local2); levels.push(vLevelData); } }
Symbol 583 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlUpgrades] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlUpgrades { var mcw, main, prcsArmor, prcsCannon, prcsCrew, prcsFirepower, prcsMoveSpeed, prcsReloadSpeed, prcsTurnSpeed, screenStatus, screenStep, levArmorInitial, levCrewInitial, levFirepowerInitial, levCannonInitial, levReloadSpeedInitial, levMoveSpeedInitial, levTurnSpeedInitial, isChangeMade, btnUndoStep, goldInitialKey, goldInitial; function CtrlUpgrades (pMcw, pMain) { mcw = pMcw; main = pMain; prcsArmor = new Array(1000, 1300, 1600, 2000, 2600, 4000, 6000, 8000, 10000, 12000); prcsCannon = new Array(1000, 1500, 2200, 3200, 4500, 6000, 8000, 10000, 12000, 14000); prcsCrew = new Array(1200, 1800, 2400, 3600, 5000, 7000, 9000, 12000, 14000, 16000); prcsFirepower = new Array(1000, 1400, 2000, 2800, 3800, 5000, 7000, 9000, 11000, 13000); prcsMoveSpeed = new Array(1400, 2000, 2800, 4400, 6400, 8000, 10000, 12500, 15000, 17500); prcsReloadSpeed = new Array(1400, 2000, 2800, 4400, 6400, 8000, 10000, 12500, 15000, 17500); prcsTurnSpeed = new Array(1600, 2400, 3200, 4800, 7200, 9600, 12000, 14000, 16000, 18000); buttonsInit(); } function buttonsInit() { var vThis = this; mcw.btnArmor.onPress = function () { vThis.isChangeMade = true; vThis.upgradeArmor(); }; mcw.btnCannon.onPress = function () { vThis.isChangeMade = true; vThis.upgradeCannon(); }; mcw.btnCrew.onPress = function () { vThis.isChangeMade = true; vThis.upgradeCrew(); }; mcw.btnFirepower.onPress = function () { vThis.isChangeMade = true; vThis.upgradeFirepower(); }; mcw.btnMoveSpeed.onPress = function () { vThis.isChangeMade = true; vThis.upgradeMoveSpeed(); }; mcw.btnReloadSpeed.onPress = function () { vThis.isChangeMade = true; vThis.upgradeReloadSpeed(); }; mcw.btnTurnSpeed.onPress = function () { vThis.isChangeMade = true; vThis.upgradeTurnSpeed(); }; mcw.btnUndo.onPress = function () { vThis.undoChanges(); }; mcw.btnArmor.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnCannon.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnCrew.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnFirepower.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnMoveSpeed.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnReloadSpeed.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnTurnSpeed.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnUndo.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnSave.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.screenStatus = vThis.SCRST_DISAPPEARING; vThis.main.nextScreen = vThis.main.SCR_LOADSAVE_SAVE; vThis.main.sndTickPress.start(); } }; mcw.btnSave.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnSave.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.screenStatus = vThis.SCRST_DISAPPEARING; vThis.main.nextScreen = vThis.main.SCR_LOADSAVE_SAVE; vThis.main.sndTickPress.start(); } }; mcw.btnSave.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnDone.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.screenStatus = vThis.SCRST_DISAPPEARING; vThis.main.nextScreen = vThis.main.SCR_MAP; vThis.main.sndTickPress.start(); } }; mcw.btnDone.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; } function initiate() { screenStatus = SCRST_APPEARING; screenStep = 0; mcw.mc._visible = true; mcw.mc._y = -480; mcw.btnDone._y = -600; mcw.btnSave._y = -600; mcw.mcGold._y = -600; levArmorInitial = main.player.levArmor; levCrewInitial = main.player.levCrew; levFirepowerInitial = main.player.levFirepower; levCannonInitial = main.player.levGunNum; levReloadSpeedInitial = main.player.levReloadSpeed; levMoveSpeedInitial = main.player.levShipMoveSpeed; levTurnSpeedInitial = main.player.levShipTurnSpeed; setGoldInitial(main.player.getGold()); isChangeMade = false; renderUpgrades(); btnUndoStep = 0; mcw.btnUndo._x = -50; } function renderUpgrades() { mcw.mcLevelArmor.gotoAndStop(main.player.levArmor + 1); mcw.mcLevelCrew.gotoAndStop(main.player.levCrew + 1); mcw.mcLevelFirepower.gotoAndStop(main.player.levFirepower + 1); mcw.mcLevelCannon.gotoAndStop(main.player.levGunNum + 1); mcw.mcLevelReloadSpeed.gotoAndStop(main.player.levReloadSpeed + 1); mcw.mcLevelMoveSpeed.gotoAndStop(main.player.levShipMoveSpeed + 1); mcw.mcLevelTurnSpeed.gotoAndStop(main.player.levShipTurnSpeed + 1); mcw.mcGold.tf.text = main.player.getGold() + " gold"; if (main.player.levArmor > (6 + main.player.difficulty)) { mcw.tfArmor.text = "Maximum upgrade\nlevel reached"; mcw.tfArmor.textColor = 8674878 /* 0x845E3E */; mcw.btnArmor._visible = false; } else if (main.player.getGold() < prcsArmor[main.player.levArmor + 1]) { mcw.tfArmor.text = ("Not enough gold\n(" + prcsArmor[main.player.levArmor + 1]) + " needed)"; mcw.tfArmor.textColor = 11149344 /* 0xAA2020 */; mcw.btnArmor._visible = false; } else { mcw.tfArmor.text = ("Upgrade ship armor:\n" + prcsArmor[main.player.levArmor + 1]) + " gold"; mcw.tfArmor.textColor = 0; mcw.btnArmor._visible = true; } if (main.player.levCrew > (6 + main.player.difficulty)) { mcw.tfCrew.text = "Maximum upgrade\nlevel reached"; mcw.tfCrew.textColor = 8674878 /* 0x845E3E */; mcw.btnCrew._visible = false; } else if (main.player.getGold() < prcsCrew[main.player.levCrew + 1]) { mcw.tfCrew.text = ("Not enough gold\n(" + prcsCrew[main.player.levCrew + 1]) + " needed)"; mcw.tfCrew.textColor = 11149344 /* 0xAA2020 */; mcw.btnCrew._visible = false; } else { mcw.tfCrew.text = ("More crew on board:\n" + prcsCrew[main.player.levCrew + 1]) + " gold"; mcw.tfCrew.textColor = 0; mcw.btnCrew._visible = true; } if (main.player.levFirepower > (6 + main.player.difficulty)) { mcw.tfFirepower.text = "Maximum upgrade\nlevel reached"; mcw.tfFirepower.textColor = 8674878 /* 0x845E3E */; mcw.btnFirepower._visible = false; } else if (main.player.getGold() < prcsFirepower[main.player.levFirepower + 1]) { mcw.tfFirepower.text = ("Not enough gold\n(" + prcsFirepower[main.player.levFirepower + 1]) + " needed)"; mcw.tfFirepower.textColor = 11149344 /* 0xAA2020 */; mcw.btnFirepower._visible = false; } else { mcw.tfFirepower.text = ("More damage per hit:\n" + prcsFirepower[main.player.levFirepower + 1]) + " gold"; mcw.tfFirepower.textColor = 0; mcw.btnFirepower._visible = true; } if (main.player.levGunNum > (6 + main.player.difficulty)) { mcw.tfCannon.text = "Maximum upgrade\nlevel reached"; mcw.tfCannon.textColor = 8674878 /* 0x845E3E */; mcw.btnCannon._visible = false; } else if (main.player.getGold() < prcsCannon[main.player.levGunNum + 1]) { mcw.tfCannon.text = ("Not enough gold\n(" + prcsCannon[main.player.levGunNum + 1]) + " needed)"; mcw.tfCannon.textColor = 11149344 /* 0xAA2020 */; mcw.btnCannon._visible = false; } else { mcw.tfCannon.text = ("More cannons:\n" + prcsCannon[main.player.levGunNum + 1]) + " gold"; mcw.tfCannon.textColor = 0; mcw.btnCannon._visible = true; } if (main.player.levReloadSpeed > (6 + main.player.difficulty)) { mcw.tfReloadSpeed.text = "Maximum upgrade\nlevel reached"; mcw.tfReloadSpeed.textColor = 8674878 /* 0x845E3E */; mcw.btnReloadSpeed._visible = false; } else if (main.player.getGold() < prcsReloadSpeed[main.player.levReloadSpeed + 1]) { mcw.tfReloadSpeed.text = ("Not enough gold\n(" + prcsReloadSpeed[main.player.levReloadSpeed + 1]) + " needed)"; mcw.tfReloadSpeed.textColor = 11149344 /* 0xAA2020 */; mcw.btnReloadSpeed._visible = false; } else { mcw.tfReloadSpeed.text = ("Faster reload:\n" + prcsReloadSpeed[main.player.levReloadSpeed + 1]) + " gold"; mcw.tfReloadSpeed.textColor = 0; mcw.btnReloadSpeed._visible = true; } if (main.player.levShipMoveSpeed > (6 + main.player.difficulty)) { mcw.tfMoveSpeed.text = "Maximum upgrade\nlevel reached"; mcw.tfMoveSpeed.textColor = 8674878 /* 0x845E3E */; mcw.btnMoveSpeed._visible = false; } else if (main.player.getGold() < prcsMoveSpeed[main.player.levShipMoveSpeed + 1]) { mcw.tfMoveSpeed.text = ("Not enough gold\n(" + prcsMoveSpeed[main.player.levShipMoveSpeed + 1]) + " needed)"; mcw.tfMoveSpeed.textColor = 11149344 /* 0xAA2020 */; mcw.btnMoveSpeed._visible = false; } else { mcw.tfMoveSpeed.text = ("Faster movement:\n" + prcsMoveSpeed[main.player.levShipMoveSpeed + 1]) + " gold"; mcw.tfMoveSpeed.textColor = 0; mcw.btnMoveSpeed._visible = true; } if (main.player.levShipTurnSpeed > (6 + main.player.difficulty)) { mcw.tfTurnSpeed.text = "Maximum upgrade\nlevel reached"; mcw.tfTurnSpeed.textColor = 8674878 /* 0x845E3E */; mcw.btnTurnSpeed._visible = false; } else if (main.player.getGold() < prcsTurnSpeed[main.player.levShipTurnSpeed + 1]) { mcw.tfTurnSpeed.text = ("Not enough gold\n(" + prcsTurnSpeed[main.player.levShipTurnSpeed + 1]) + " needed)"; mcw.tfTurnSpeed.textColor = 11149344 /* 0xAA2020 */; mcw.btnTurnSpeed._visible = false; } else { mcw.tfTurnSpeed.text = ("Faster turning:\n" + prcsTurnSpeed[main.player.levShipTurnSpeed + 1]) + " gold"; mcw.tfTurnSpeed.textColor = 0; mcw.btnTurnSpeed._visible = true; } } function upgradeArmor() { main.sndUpgrade.start(); main.player.setGold(main.player.getGold() - prcsArmor[main.player.levArmor + 1]); main.player.levArmor++; renderUpgrades(); } function upgradeReloadSpeed() { main.sndUpgrade.start(); main.player.setGold(main.player.getGold() - prcsReloadSpeed[main.player.levReloadSpeed + 1]); main.player.levReloadSpeed++; renderUpgrades(); } function upgradeCrew() { main.sndUpgrade.start(); main.player.setGold(main.player.getGold() - prcsCrew[main.player.levCrew + 1]); main.player.levCrew++; renderUpgrades(); } function upgradeCannon() { main.sndUpgrade.start(); main.player.setGold(main.player.getGold() - prcsCannon[main.player.levGunNum + 1]); main.player.levGunNum++; renderUpgrades(); } function upgradeFirepower() { main.sndUpgrade.start(); main.player.setGold(main.player.getGold() - prcsFirepower[main.player.levFirepower + 1]); main.player.levFirepower++; renderUpgrades(); } function upgradeMoveSpeed() { main.sndUpgrade.start(); main.player.setGold(main.player.getGold() - prcsMoveSpeed[main.player.levShipMoveSpeed + 1]); main.player.levShipMoveSpeed++; renderUpgrades(); } function upgradeTurnSpeed() { main.sndUpgrade.start(); main.player.setGold(main.player.getGold() - prcsTurnSpeed[main.player.levShipTurnSpeed + 1]); main.player.levShipTurnSpeed++; renderUpgrades(); } function undoChanges() { main.player.levArmor = levArmorInitial; main.player.levCrew = levCrewInitial; main.player.levFirepower = levFirepowerInitial; main.player.levGunNum = levCannonInitial; main.player.levReloadSpeed = levReloadSpeedInitial; main.player.levShipMoveSpeed = levMoveSpeedInitial; main.player.levShipTurnSpeed = levTurnSpeedInitial; main.player.setGold(getGoldInitial()); isChangeMade = false; renderUpgrades(); } function doEnterFrame() { if (screenStatus == SCRST_APPEARING) { screenStep++; if (screenStep < 30) { mcw.mc._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, -480, 480, 30); } else if (screenStep < 50) { mcw.btnDone._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep - 30, 521, -100, 20); mcw.btnSave._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep - 30, 521, -100, 20); mcw.mcGold._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep - 30, 521, -100, 20); } else { screenStep = 0; mcw.btnUndo._y = 404; screenStatus = SCRST_IDLE; } } else if (screenStatus == SCRST_DISAPPEARING) { screenStep++; if (screenStep < 20) { mcw.btnDone._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 421, 100, 20); mcw.btnSave._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 421, 100, 20); mcw.mcGold._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 421, 100, 20); mcw.btnUndo._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 404, 100, 20); } else if (screenStep < 50) { mcw.btnDone._y = -600; mcw.btnSave._y = -600; mcw.mcGold._y = -600; mcw.btnUndo._y = -600; mcw.mc._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep - 20, 0, -480, 30); } else { screenStep = 0; main.switchScreenVisibility(); } } if (isChangeMade) { btnUndoStep = Math.min(15, btnUndoStep + 1); } else { btnUndoStep = Math.max(0, btnUndoStep - 1); } mcw.btnUndo._x = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(btnUndoStep, -50, 96, 15); } function setGoldInitial(pNum) { goldInitialKey = Math.floor(Math.random() * 1000000) - 500000; goldInitial = pNum + goldInitialKey; } function getGoldInitial() { return(goldInitial - goldInitialKey); } var SCRST_APPEARING = "SCRST_APPEARING"; var SCRST_DISAPPEARING = "SCRST_DISAPPEARING"; var SCRST_IDLE = "SCRST_IDLE"; }
Symbol 584 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.util.Strong2] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.util.Strong2 { function Strong2 () { } static function easeIn(elapsedTime, initialValue, targetMinusInitial, duration) { elapsedTime = elapsedTime / duration; return((((targetMinusInitial * elapsedTime) * elapsedTime) * elapsedTime) + initialValue); } static function easeOut(elapsedTime, initialValue, targetMinusInitial, duration) { elapsedTime = (elapsedTime / duration) - 1; return((targetMinusInitial * (((elapsedTime * elapsedTime) * elapsedTime) + 1)) + initialValue); } static function easeInOut(elapsedTime, initialValue, targetMinusInitial, duration) { elapsedTime = elapsedTime / (duration / 2); if (elapsedTime < 1) { return(((((targetMinusInitial / 2) * elapsedTime) * elapsedTime) * elapsedTime) + initialValue); } elapsedTime = elapsedTime - 2; return(((targetMinusInitial / 2) * (((elapsedTime * elapsedTime) * elapsedTime) + 2)) + initialValue); } }
Symbol 585 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlLoadSave] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlLoadSave { var playerSlotDatas, mcw, main, so, screenStatus, screenStep, btnBackStep, selectedSlotNum; function CtrlLoadSave (pMcw, pMain) { playerSlotDatas = new Array(); var vThis = this; mcw = pMcw; main = pMain; mcw.btnBack.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickPress.start(); vThis.screenStatus = vThis.SCRST_DISAPPEARING; if (vThis.main.currentScreen == vThis.main.SCR_LOADSAVE_LOAD) { vThis.main.nextScreen = vThis.main.SCR_MAINMENU; } else { vThis.main.nextScreen = vThis.main.SCR_UPGRADES; } } }; mcw.btnBack.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.mcSlot0.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickPress.start(); vThis.selectSlot(0); } }; mcw.mcSlot0.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.mcSlot1.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickPress.start(); vThis.selectSlot(1); } }; mcw.mcSlot1.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.mcSlot2.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickPress.start(); vThis.selectSlot(2); } }; mcw.mcSlot2.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnLoad.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickPress.start(); vThis.loadFromSlot(); } }; mcw.btnLoad.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnSave.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickPress.start(); vThis.saveToSlot(); } }; mcw.btnSave.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; so = SharedObject.getLocal("saveData"); } function initiate() { screenStatus = SCRST_APPEARING; screenStep = 0; mcw.mc._visible = true; mcw.mc._y = -480; renderInit(); } function renderInit() { mcw.btnBack._x = 275; mcw.btnLoad._x = 700; mcw.btnSave._x = 700; btnBackStep = 0; if (main.currentScreen == main.SCR_LOADSAVE_LOAD) { mcw.mcTitle.gotoAndStop(1); mcw.tfInfo.text = "Select a saved game to load."; } else { mcw.mcTitle.gotoAndStop(2); mcw.tfInfo.text = "Select a slot to save the game in."; } var _local2 = 0; while (_local2 < 3) { mcw["mcSlot" + _local2].selectGlare._visible = false; _local2++; } if (so.data.slotContents == undefined) { so.data.slotContents = new Array(); so.data.slotContents[0] = new Object(); so.data.slotContents[1] = new Object(); so.data.slotContents[2] = new Object(); } _local2 = 0; while (_local2 < 3) { mcw["mcSlot" + _local2].content._visible = false; mcw["mcSlot" + _local2].selectGlare._visible = false; var _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.Player(); _local3.populateFromObject(so.data.slotContents[_local2]); if (_local3.calculateSaveChecksum() == _local3.checksum) { playerSlotDatas[_local2] = _local3; mcw["mcSlot" + _local2].content._visible = true; mcw["mcSlot" + _local2].content.tfGold.text = _local3.getScore().toString(); mcw["mcSlot" + _local2].content.tfLevel.text = (_local3.currentLevel + 1).toString(); mcw["mcSlot" + _local2].content.tfDiff.text = ((_local3.difficulty == 0) ? "Captain" : (((_local3.difficulty == 1) ? "Colonel" : "Admiral"))); } playerSlotDatas[_local2] = _local3; _local2++; } mcw.btnLoad._visible = false; mcw.btnSave._visible = false; } function selectSlot(pSlotNum) { if (((main.currentScreen == main.SCR_LOADSAVE_LOAD) && (MovieClip(mcw["mcSlot" + pSlotNum]).content._visible == true)) || (main.currentScreen == main.SCR_LOADSAVE_SAVE)) { MovieClip(mcw.mcSlot0.selectGlare)._visible = false; MovieClip(mcw.mcSlot1.selectGlare)._visible = false; MovieClip(mcw.mcSlot2.selectGlare)._visible = false; MovieClip(mcw["mcSlot" + pSlotNum]).selectGlare._visible = true; mcw.tfInfo.text = ""; if ((main.currentScreen == main.SCR_LOADSAVE_SAVE) && (MovieClip(mcw["mcSlot" + pSlotNum]).content._visible == true)) { mcw.tfInfo.text = "(The game previously saved in the slot will be overwritten.)"; } selectedSlotNum = pSlotNum; if (main.currentScreen == main.SCR_LOADSAVE_LOAD) { mcw.btnLoad._visible = true; } else { mcw.btnSave._visible = true; } } } function saveToSlot() { playerSlotDatas[selectedSlotNum] = main.player; com.gameInABottle.games.treasureOfCutlassReef.entity.Player(playerSlotDatas[selectedSlotNum]).checksum = com.gameInABottle.games.treasureOfCutlassReef.entity.Player(playerSlotDatas[selectedSlotNum]).calculateSaveChecksum(); so.data.slotContents[selectedSlotNum] = com.gameInABottle.games.treasureOfCutlassReef.entity.Player(playerSlotDatas[selectedSlotNum]).createCloneObject(); so.flush(); screenStatus = SCRST_DISAPPEARING; main.nextScreen = main.SCR_UPGRADES; } function loadFromSlot() { main.player = playerSlotDatas[selectedSlotNum]; screenStatus = SCRST_DISAPPEARING; main.nextScreen = main.SCR_UPGRADES; } function doEnterFrame() { if (screenStatus == SCRST_APPEARING) { screenStep++; mcw.mc._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, -480, 480, 20); mcw.btnBack._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, 1097, -680, 20); mcw.btnLoad._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, 1097, -680, 20); mcw.btnSave._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, 1097, -680, 20); if (screenStep > 19) { screenStep = 0; screenStatus = SCRST_IDLE; } } else if (screenStatus == SCRST_DISAPPEARING) { screenStep++; mcw.mc._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 0, -480, 20); mcw.btnBack._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 417, 680, 20); mcw.btnLoad._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 417, 680, 20); mcw.btnSave._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 417, 680, 20); if (screenStep > 19) { screenStep = 0; main.switchScreenVisibility(); } } if (mcw.btnLoad._visible || (mcw.btnSave._visible)) { btnBackStep = Math.min(20, btnBackStep + 1); mcw.btnBack._x = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(btnBackStep, 275, -77, 20); mcw.btnLoad._x = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(btnBackStep, 700, -350, 20); mcw.btnSave._x = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(btnBackStep, 700, -350, 20); } } var SCRST_APPEARING = "SCRST_APPEARING"; var SCRST_DISAPPEARING = "SCRST_DISAPPEARING"; var SCRST_IDLE = "SCRST_IDLE"; }
Symbol 586 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlModeSelector] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlModeSelector { var main, mcw, screenStatus, screenStep; function CtrlModeSelector (pMcw, pMain) { main = pMain; mcw = pMcw; var _local2 = this; buttonsInit(); } function buttonsInit() { var vThis = this; mcw.btnDiff0.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.screenStatus = vThis.SCRST_DISAPPEARING; vThis.main.player.difficulty = 0; vThis.main.nextScreen = vThis.main.SCR_MAP; vThis.main.sndTickPress.start(); } }; mcw.btnDiff0.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnDiff1.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.screenStatus = vThis.SCRST_DISAPPEARING; vThis.main.player.difficulty = 1; vThis.main.nextScreen = vThis.main.SCR_MAP; vThis.main.sndTickPress.start(); } }; mcw.btnDiff1.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnDiff2.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.screenStatus = vThis.SCRST_DISAPPEARING; vThis.main.player.difficulty = 2; vThis.main.nextScreen = vThis.main.SCR_MAP; vThis.main.sndTickPress.start(); } }; mcw.btnDiff2.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnBack.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.screenStatus = vThis.SCRST_DISAPPEARING; vThis.main.nextScreen = vThis.main.SCR_MAINMENU; vThis.main.sndTickPress.start(); } }; mcw.btnBack.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; } function initiate() { screenStatus = SCRST_APPEARING; screenStep = 0; mcw.btnBack._y = 572; mcw.btnDiff0._y = 572; mcw.btnDiff1._y = 572; mcw.btnDiff2._y = 572; mcw.mcSelectDiff._y = 572; mcw.mc._visible = true; } function doEnterFrame() { if (screenStatus == SCRST_APPEARING) { screenStep++; mcw.mcSelectDiff._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, -140, 220, 20); mcw.btnDiff0._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, -100, 220, 20); mcw.btnDiff1._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, -100, 220, 20); mcw.btnDiff2._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, -100, 220, 20); mcw.btnBack._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, 630, -300, 20); if (screenStep > 19) { screenStep = 0; screenStatus = SCRST_IDLE; } } else if (screenStatus == SCRST_DISAPPEARING) { screenStep++; mcw.mcSelectDiff._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 80, -220, 20); mcw.btnDiff0._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 120, -220, 20); mcw.btnDiff1._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 120, -220, 20); mcw.btnDiff2._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 120, -220, 20); mcw.btnBack._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 330, 300, 20); if (screenStep > 19) { screenStep = 0; main.switchScreenVisibility(); } } } var SCRST_APPEARING = "SCRST_APPEARING"; var SCRST_DISAPPEARING = "SCRST_DISAPPEARING"; var SCRST_IDLE = "SCRST_IDLE"; }
Symbol 587 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlMainMenu] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlMainMenu { var main, mcw, screenStatus, screenStep; function CtrlMainMenu (pMcw, pMain) { main = pMain; mcw = pMcw; var _local2 = this; buttonsInit(); } function buttonsInit() { var vThis = this; mcw.btnTutorial.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.screenStatus = vThis.SCRST_DISAPPEARING; vThis.main.nextScreen = vThis.main.SCR_TUTORIAL; vThis.main.sndTickPress.start(); } }; mcw.btnTutorial.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnHighScores.onRelease = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickPress.start(); vThis.main.mcRoot.getURL(vThis.main.URL_HIGHSCORELIST, "_blank"); } }; mcw.btnHighScores.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnNewGame.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.screenStatus = vThis.SCRST_DISAPPEARING; vThis.main.nextScreen = vThis.main.SCR_MODESELECTOR; vThis.main.sndTickPress.start(); vThis.main.player = new com.gameInABottle.games.treasureOfCutlassReef.entity.Player(); } }; mcw.btnNewGame.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnLoad.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.screenStatus = vThis.SCRST_DISAPPEARING; vThis.main.nextScreen = vThis.main.SCR_LOADSAVE_LOAD; vThis.main.sndTickPress.start(); } }; mcw.btnLoad.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnCredits.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.screenStatus = vThis.SCRST_DISAPPEARING; vThis.main.nextScreen = vThis.main.SCR_CREDITS; vThis.main.sndTickPress.start(); } }; mcw.btnCredits.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnMoreGames.onRelease = function () { vThis.main.mcRoot.getURL(vThis.main.URL_MOREGAMES, "_blank"); }; mcw.btnMoreGames.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; } function initiate() { screenStatus = SCRST_APPEARING; screenStep = 0; mcw.mc._visible = true; mcw.mcTitle._y = -400; mcw.btnLoad._y = 630; mcw.btnNewGame._y = 630; mcw.btnTutorial._y = 630; mcw.btnHighScores._y = 690; mcw.btnMoreGames._y = 690; mcw.btnCredits._y = 690; mcw.mcBottomTexts._y = 760; } function doEnterFrame() { if (screenStatus == SCRST_APPEARING) { screenStep++; mcw.mcTitle._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, -400, 400, 20); mcw.btnLoad._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, 630, -300, 20); mcw.btnNewGame._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, 630, -300, 20); mcw.btnTutorial._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, 630, -300, 20); mcw.btnHighScores._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, 690, -300, 20); mcw.btnMoreGames._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, 690, -300, 20); mcw.btnCredits._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, 690, -300, 20); mcw.mcBottomTexts._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, 760, -300, 20); if (screenStep > 19) { screenStep = 0; screenStatus = SCRST_IDLE; } } else if (screenStatus == SCRST_DISAPPEARING) { screenStep++; mcw.mcTitle._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 0, -400, 20); mcw.btnLoad._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 330, 300, 20); mcw.btnNewGame._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 330, 300, 20); mcw.btnTutorial._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 330, 300, 20); mcw.btnHighScores._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 390, 300, 20); mcw.btnMoreGames._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 390, 300, 20); mcw.btnCredits._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 390, 300, 20); mcw.mcBottomTexts._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 460, 300, 20); if (screenStep > 19) { screenStep = 0; main.switchScreenVisibility(); } } } var SCRST_APPEARING = "SCRST_APPEARING"; var SCRST_DISAPPEARING = "SCRST_DISAPPEARING"; var SCRST_IDLE = "SCRST_IDLE"; }
Symbol 588 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlCredits] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlCredits { var main, mcw, screenStatus, screenStep; function CtrlCredits (pMcw, pMain) { main = pMain; mcw = pMcw; var _local2 = this; buttonsInit(); } function buttonsInit() { var vThis = this; mcw.btnBack.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.screenStatus = vThis.SCRST_DISAPPEARING; vThis.main.nextScreen = vThis.main.SCR_MAINMENU; vThis.main.sndTickPress.start(); } }; mcw.btnBack.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.mcCreditsPlate.btnLink.onRelease = function () { _root.getURL("http://www.gameinabottle.com/", "_blank"); }; mcw.mcCreditsPlate.btnLink.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; } function initiate() { mcw.btnBack._y = 572; mcw.mcCreditsPlate._y = -400; mcw.mc._visible = true; screenStatus = SCRST_APPEARING; screenStep = 0; mcw.mc._visible = true; } function doEnterFrame() { if (screenStatus == SCRST_APPEARING) { screenStep++; mcw.mcCreditsPlate._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, -400, 476, 20); mcw.btnBack._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, 572, -200, 20); if (screenStep > 19) { screenStep = 0; screenStatus = SCRST_IDLE; } } else if (screenStatus == SCRST_DISAPPEARING) { screenStep++; mcw.mcCreditsPlate._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 76, -476, 20); mcw.btnBack._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 372, 200, 20); if (screenStep > 19) { screenStep = 0; main.switchScreenVisibility(); } } } var SCRST_APPEARING = "SCRST_APPEARING"; var SCRST_DISAPPEARING = "SCRST_DISAPPEARING"; var SCRST_IDLE = "SCRST_IDLE"; }
Symbol 589 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlIngame] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlIngame { var main, mcw, levsGunNum, levsShipMoveSpeed, levsShipTurnSpeed, levsReloadSpeed, levsFirepower, levsCannonballspeed, levsArmor, levsCrew, screenStatus, screenStep, isEngagedSoundPlaying, mcTexts, currentCannonballZ, pirateCannonballs, enemyCannonballs, keyListener, shipDatas, pirateShip, enemyShips, isPirateshipShootingUp, goldPlunderedOnLevel, pirateCannonballsShot, pirateCannonballsHit, pirateShipEngagementLevel, timer, enemyShipZCount, flagMakeCannonSound, status, isOutcomeVictory, pnlLevelInfo, pnlOutcome; function CtrlIngame (pMcw, pMain) { main = pMain; mcw = pMcw; levsGunNum = new Array(24, 30, 36, 42, 48, 60, 72, 80, 88, 100, 104, 108, 116, 180, 360, 360, 360); levsShipMoveSpeed = new Array(1.1, 1.2, 1.3, 1.4, 1.5, 1.55, 1.8, 2, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 3, 5, 5); levsShipTurnSpeed = new Array(1.4, 1.5, 1.6, 1.7, 1.8, 2, 2.2, 2.4, 2.45, 2.48, 2.5, 2.6, 2.7, 3, 5, 5, 5); levsReloadSpeed = new Array(3, 4, 5, 6, 7, 8, 9, 12, 14, 16, 16, 16, 17, 18, 19, 60, 100); levsFirepower = new Array(1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 2, 2.2, 2.4, 2.4, 2.4, 2.5, 2.6, 2.7, 12, 16); levsCannonballspeed = new Array(2.2, 2.35, 2.5, 2.8, 3, 3.2, 3.4, 3.6, 3.8, 3.6, 3.6, 3.6, 3.6, 3.6, 3.6, 3.6, 3.6, 3.6, 3.6, 3.6, 3.6, 3.6); levsArmor = new Array(10, 11, 12, 13, 14, 15, 16, 18, 21, 22, 23, 24, 25, 26, 27, 100, 120); levsCrew = new Array(40, 48, 56, 64, 72, 80, 96, 120, 140, 160, 180, 210, 240, 300, 360, 480, 600); } function initiate() { mcw.mcSea.gotoAndStop((main.player.currentLevel % 4) + 1); screenStatus = SCRST_APPEARING; screenStep = 0; isEngagedSoundPlaying = false; mcTexts = _root.attachMovie("mcTexts", "mcTexts", com.gameInABottle.games.treasureOfCutlassReef.constants.Z.SEA_TEXTS); mcTexts._x = 16; mcTexts._y = 428; mcTexts._visible = false; removeAllMovieClips(); currentCannonballZ = com.gameInABottle.games.treasureOfCutlassReef.constants.Z.CANNONBALL_MIN; pirateCannonballs = new Array(); enemyCannonballs = new Array(); var vThis = this; keyListener = new Object(); keyListener.onKeyDown = function () { if ((Key.getAscii() == 80) || (Key.getAscii() == 112)) { vThis.main.switchOptions(); } if ((Key.getAscii() == 86) || (Key.getAscii() == 118)) { vThis.isPirateshipShootingUp = !vThis.isPirateshipShootingUp; } }; Key.addListener(keyListener); resetGame(); shipDatas = new Array(); var _local3 = 0; while (_local3 < com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(main.staticData.levels[main.player.currentLevel]).shipDatas.length) { shipDatas.push(com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(main.staticData.levels[main.player.currentLevel]).shipDatas[_local3])); _local3++; } mcw.mc._visible = true; main.mcwRoot.mcIngameDoor._visible = true; main.mcwRoot.mcIngameDoor.gotoAndPlay(2); main.sndIngameDoorOpen.start(); } function removeAllMovieClips() { pirateShip.mc.removeMovieClip(); pirateShip.battleWheel.removeMovieClip(); var _local2 = 0; while (_local2 < pirateCannonballs.length) { com.gameInABottle.games.treasureOfCutlassReef.entity.Cannonball(pirateCannonballs[_local2]).mc.removeMovieClip(); _local2++; } _local2 = 0; while (_local2 < enemyCannonballs.length) { com.gameInABottle.games.treasureOfCutlassReef.entity.Cannonball(enemyCannonballs[_local2]).mc.removeMovieClip(); _local2++; } _local2 = 0; while (_local2 < enemyShips.length) { com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local2]).infoPanel.removeMovieClip(); com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local2]).battleWheel.removeMovieClip(); com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local2]).mc.removeMovieClip(); _local2++; } } function resetGame() { isPirateshipShootingUp = true; goldPlunderedOnLevel = 0; pirateCannonballsShot = 0; pirateCannonballsHit = 0; pirateShipEngagementLevel = 0; timer = 0; enemyShipZCount = 0; pirateShip = new com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(this); pirateShip.isOwnedByPlayer = true; pirateShip.mc = _root.attachMovie("mcShip2", "pirateShip", com.gameInABottle.games.treasureOfCutlassReef.constants.Z.PIRATESHIP); pirateShip.x = 320; pirateShip.y = 400; pirateShip.mc._x = -320; pirateShip.mc._y = -400; pirateShip.isRotating = false; pirateShip.rotation = 0; var _local3 = new Array(); _local3.push(new flash.filters.DropShadowFilter(30, 45, 0, 100, 20, 20, 0.6, 1, false, false)); pirateShip.mc.filters = _local3; pirateShip.mc.sailFront.gotoAndStop(2); pirateShip.mc.sailRear.gotoAndStop(2); pirateShip.mc.mast1.sail1.gotoAndStop(2); pirateShip.mc.mast1.sail2.gotoAndStop(2); pirateShip.mc.mast2.sail1.gotoAndStop(2); pirateShip.mc.mast2.sail2.gotoAndStop(2); pirateShip.mc.mast3.sail1.gotoAndStop(2); pirateShip.mc.mast3.sail2.gotoAndStop(2); pirateShip.mc._xscale = (pirateShip.mc._yscale = 50 + (5 * levsArmor[main.player.levArmor])); var _local4 = new Color(pirateShip.mc.mast1.flag); _local4.setRGB(0); _local4 = new Color(pirateShip.mc.mast2.flag); _local4.setRGB(0); _local4 = new Color(pirateShip.mc.mast3.flag); _local4.setRGB(0); pirateShip.mc.mast1.flag.gotoAndPlay(Math.floor(Math.random() * 12) + 1); pirateShip.mc.mast2.flag.gotoAndPlay(Math.floor(Math.random() * 12) + 1); pirateShip.mc.mast3.flag.gotoAndPlay(Math.floor(Math.random() * 12) + 1); pirateShip.hpMax = 100 * levsArmor[main.player.levArmor]; pirateShip.hp = pirateShip.hpMax; pirateShip.armor = levsArmor[main.player.levArmor]; pirateShip.cannonsNum = levsGunNum[main.player.levGunNum]; pirateShip.speedMax = levsShipMoveSpeed[main.player.levShipMoveSpeed]; pirateShip.turnSpeedMax = levsShipTurnSpeed[main.player.levShipTurnSpeed]; pirateShip.reloadSpeed = levsReloadSpeed[main.player.levReloadSpeed]; pirateShip.firePower = levsFirepower[main.player.levFirepower]; pirateShip.crewNum = levsCrew[main.player.levCrew]; pirateShip.cannonballSpeed = levsCannonballspeed[main.player.levFirepower]; pirateShip.battleWheel = _root.attachMovie("pirateWheelShell", ("battleWheel" + com.gameInABottle.games.treasureOfCutlassReef.constants.Z.BATTLEWHEEL_MIN) + enemyShipZCount, com.gameInABottle.games.treasureOfCutlassReef.constants.Z.BATTLEWHEEL_MIN + (enemyShipZCount++)); pirateShip.battleWheel._alpha = 0; pirateShip.battleWheel._x = -400; pirateShip.battleWheel._width = 80; pirateShip.battleWheel._height = 80; pirateShip.cannonsLoadedNum = pirateShip.cannonsNum; enemyShips = new Array(); flagMakeCannonSound = true; main.sndAmbient.start(0, 9999); status = ST_PLAYING; mcTexts.tfGold.text = ""; mcTexts.tfCrew.text = ""; mcTexts.tfCannons.text = ""; mcTexts.tfShip.text = ""; mcTexts._visible = true; } function createShip(pShipData) { var _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(this); _local3.hp = 100 * levsArmor[pShipData.armorLevel]; _local3.hpMax = _local3.hp; _local3.armor = levsArmor[pShipData.armorLevel]; _local3.crewNum = levsCrew[pShipData.crewNumLevel]; _local3.firePower = levsFirepower[pShipData.firePowerLevel]; _local3.cannonballSpeed = levsCannonballspeed[pShipData.firePowerLevel]; _local3.cannonsNum = levsGunNum[pShipData.cannonsNumLevel]; _local3.cannonsLoadedNum = levsGunNum[pShipData.cannonsNumLevel]; _local3.speed = 0; _local3.speedMax = levsShipMoveSpeed[pShipData.speedMaxLevel]; _local3.speedMaxOriginal = _local3.speedMax; _local3.turnSpeed = 0; _local3.turnSpeedMax = levsShipTurnSpeed[pShipData.turnSpeedMaxLevel]; if (pShipData.isWeakened) { _local3.crewNum = Math.floor(_local3.crewNum / 2); _local3.hpMax = Math.floor(_local3.hpMax / 2); _local3.hp = Math.floor(_local3.hp / 2); _local3.cannonsNum = Math.floor(_local3.cannonsNum / 2); _local3.cannonsLoadedNum = Math.floor(_local3.cannonsLoadedNum / 2); } _local3.goldCarried = pShipData.goldCarried; _local3.reloadSpeed = levsReloadSpeed[pShipData.reloadSpeedLevel]; _local3.status = _local3.ST_AI_INCOMING; _local3.rotation = 90; _local3.isRotating = true; _local3.isFiring = false; _local3.isEngaged = false; _local3.isOwnedByPlayer = false; _local3.x = ((pShipData.x == 0) ? ((Math.random() * 400) + 120) : (pShipData.x)); if (pShipData.sailType == pShipData.ST_FINAL_MINION) { _local3.y = 190; } else { _local3.y = -150; } _local3.data = pShipData; _local3.mc = _root.attachMovie("mcShip" + pShipData.hullType, ("enemyShip" + com.gameInABottle.games.treasureOfCutlassReef.constants.Z.ENEMYSHIP_MIN) + enemyShipZCount, com.gameInABottle.games.treasureOfCutlassReef.constants.Z.ENEMYSHIP_MIN + (enemyShipZCount++)); _local3.mc._y = -600; _local3.infoPanel = _root.attachMovie("shipInfoPanel", ("shipInfoPanel" + com.gameInABottle.games.treasureOfCutlassReef.constants.Z.INFOPANEL_MIN) + enemyShipZCount, com.gameInABottle.games.treasureOfCutlassReef.constants.Z.INFOPANEL_MIN + (enemyShipZCount++)); _local3.infoPanel._y = -600; _local3.infoPanel.tfGold.text = _local3.goldCarried; _local3.infoPanel.tfCannons.text = _local3.cannonsNum; _local3.infoPanel.tfCrew.text = _local3.crewNum; _local3.infoPanel.tfShip.text = _local3.hp; _local3.battleWheel = _root.attachMovie("pirateWheelShell", ("battleWheel" + com.gameInABottle.games.treasureOfCutlassReef.constants.Z.BATTLEWHEEL_MIN) + enemyShipZCount, com.gameInABottle.games.treasureOfCutlassReef.constants.Z.BATTLEWHEEL_MIN + (enemyShipZCount++)); _local3.battleWheel._x = -400; var _local5 = new Array(60, 80, 100, 120, 150); _local3.battleWheel._width = _local5[pShipData.hullType - 1]; _local3.battleWheel._height = _local5[pShipData.hullType - 1]; var _local6 = new Array(); _local6.push(new flash.filters.DropShadowFilter(30, 45, 0, 100, 20, 20, 0.6, 1, false, false)); _local3.mc.filters = _local6; if (pShipData.sailType == pShipData.ST_DOT1) { _local3.mc.mast1.sail1.gotoAndStop("reg1"); _local3.mc.mast2.sail1.gotoAndStop("reg1"); _local3.mc.mast3.sail1.gotoAndStop("reg1"); } else if (pShipData.sailType == pShipData.ST_DOT2) { _local3.mc.mast1.sail1.gotoAndStop("reg1"); _local3.mc.mast1.sail2.gotoAndStop("reg1"); _local3.mc.mast2.sail1.gotoAndStop("reg1"); _local3.mc.mast2.sail2.gotoAndStop("reg1"); _local3.mc.mast3.sail1.gotoAndStop("reg1"); _local3.mc.mast3.sail2.gotoAndStop("reg1"); } else if (pShipData.sailType == pShipData.ST_DOT3) { _local3.mc.mast1.sail1.gotoAndStop("reg2"); _local3.mc.mast1.sail2.gotoAndStop("reg1"); _local3.mc.mast2.sail1.gotoAndStop("reg2"); _local3.mc.mast2.sail2.gotoAndStop("reg1"); _local3.mc.mast3.sail1.gotoAndStop("reg2"); _local3.mc.mast3.sail2.gotoAndStop("reg1"); } else if (pShipData.sailType == pShipData.ST_DOT4) { _local3.mc.mast1.sail1.gotoAndStop("reg2"); _local3.mc.mast1.sail2.gotoAndStop("reg2"); _local3.mc.mast2.sail1.gotoAndStop("reg2"); _local3.mc.mast2.sail2.gotoAndStop("reg2"); _local3.mc.mast3.sail1.gotoAndStop("reg2"); _local3.mc.mast3.sail2.gotoAndStop("reg2"); } else if (pShipData.sailType == pShipData.ST_DOT5) { _local3.mc.mast1.sail1.gotoAndStop("reg3"); _local3.mc.mast1.sail2.gotoAndStop("reg2"); _local3.mc.mast2.sail1.gotoAndStop("reg3"); _local3.mc.mast2.sail2.gotoAndStop("reg2"); _local3.mc.mast3.sail1.gotoAndStop("reg3"); _local3.mc.mast3.sail2.gotoAndStop("reg2"); } else if (pShipData.sailType == pShipData.ST_DOT6) { _local3.mc.mast1.sail1.gotoAndStop("reg3"); _local3.mc.mast1.sail2.gotoAndStop("reg3"); _local3.mc.mast2.sail1.gotoAndStop("reg3"); _local3.mc.mast2.sail2.gotoAndStop("reg3"); _local3.mc.mast3.sail1.gotoAndStop("reg3"); _local3.mc.mast3.sail2.gotoAndStop("reg3"); } else if (pShipData.sailType == pShipData.ST_DOWNRED_BLANK) { _local3.mc.mast1.sail1.gotoAndStop("red"); _local3.mc.mast2.sail1.gotoAndStop("red"); _local3.mc.mast3.sail1.gotoAndStop("red"); } else if (pShipData.sailType == pShipData.ST_DOWNRED_DOT1) { _local3.mc.mast1.sail1.gotoAndStop("red"); _local3.mc.mast2.sail1.gotoAndStop("red"); _local3.mc.mast3.sail1.gotoAndStop("red"); _local3.mc.mast1.sail2.gotoAndStop("reg1"); _local3.mc.mast2.sail2.gotoAndStop("reg1"); _local3.mc.mast3.sail2.gotoAndStop("reg1"); } else if (pShipData.sailType == pShipData.ST_DOWNRED_DOT2) { _local3.mc.mast1.sail1.gotoAndStop("red"); _local3.mc.mast2.sail1.gotoAndStop("red"); _local3.mc.mast3.sail1.gotoAndStop("red"); _local3.mc.mast1.sail2.gotoAndStop("reg2"); _local3.mc.mast2.sail2.gotoAndStop("reg2"); _local3.mc.mast3.sail2.gotoAndStop("reg2"); } else if (pShipData.sailType == pShipData.ST_DOWNRED_DOT3) { _local3.mc.mast1.sail1.gotoAndStop("red"); _local3.mc.mast2.sail1.gotoAndStop("red"); _local3.mc.mast3.sail1.gotoAndStop("red"); _local3.mc.mast1.sail2.gotoAndStop("reg3"); _local3.mc.mast2.sail2.gotoAndStop("reg3"); _local3.mc.mast3.sail2.gotoAndStop("reg3"); } else if (pShipData.sailType == pShipData.ST_UPRED_BLANK) { _local3.mc.mast1.sail2.gotoAndStop("red"); _local3.mc.mast2.sail2.gotoAndStop("red"); _local3.mc.mast3.sail2.gotoAndStop("red"); } else if (pShipData.sailType == pShipData.ST_UPRED_DOT1) { _local3.mc.mast1.sail2.gotoAndStop("red"); _local3.mc.mast2.sail2.gotoAndStop("red"); _local3.mc.mast3.sail2.gotoAndStop("red"); _local3.mc.mast1.sail1.gotoAndStop("reg1"); _local3.mc.mast2.sail1.gotoAndStop("reg1"); _local3.mc.mast3.sail1.gotoAndStop("reg1"); } else if (pShipData.sailType == pShipData.ST_UPRED_DOT2) { _local3.mc.mast1.sail2.gotoAndStop("red"); _local3.mc.mast2.sail2.gotoAndStop("red"); _local3.mc.mast3.sail2.gotoAndStop("red"); _local3.mc.mast1.sail1.gotoAndStop("reg2"); _local3.mc.mast2.sail1.gotoAndStop("reg2"); _local3.mc.mast3.sail1.gotoAndStop("reg2"); } else if (pShipData.sailType == pShipData.ST_UPRED_DOT3) { _local3.mc.mast1.sail2.gotoAndStop("red"); _local3.mc.mast2.sail2.gotoAndStop("red"); _local3.mc.mast3.sail2.gotoAndStop("red"); _local3.mc.mast1.sail1.gotoAndStop("reg3"); _local3.mc.mast2.sail1.gotoAndStop("reg3"); _local3.mc.mast3.sail1.gotoAndStop("reg3"); } else if (pShipData.sailType == pShipData.ST_PIRATEHUNTER1) { _local3.mc.mast1.sail1.gotoAndStop("black"); _local3.mc.mast1.sail2.gotoAndStop("black"); _local3.mc.mast2.sail1.gotoAndStop("red"); _local3.mc.mast2.sail2.gotoAndStop("red"); _local3.mc.mast3.sail1.gotoAndStop("black"); _local3.mc.mast3.sail2.gotoAndStop("black"); _local3.mc.sailFront.gotoAndStop(2); _local3.mc.sailRear.gotoAndStop(2); } else if (pShipData.sailType == pShipData.ST_PIRATEHUNTER2) { _local3.mc.mast2.sail1.gotoAndStop("black"); _local3.mc.mast2.sail2.gotoAndStop("black"); _local3.mc.sailFront.gotoAndStop(2); _local3.mc.sailRear.gotoAndStop(2); } else if (pShipData.sailType == pShipData.ST_PIRATEHUNTER3) { _local3.mc.mast1.sail1.gotoAndStop("black"); _local3.mc.mast1.sail2.gotoAndStop("black"); _local3.mc.mast2.sail1.gotoAndStop("red"); _local3.mc.mast2.sail2.gotoAndStop("red"); _local3.mc.mast3.sail1.gotoAndStop("red"); _local3.mc.mast3.sail2.gotoAndStop("red"); _local3.mc.sailFront.gotoAndStop(2); _local3.mc.sailRear.gotoAndStop(2); } else if (pShipData.sailType == pShipData.ST_PIRATEHUNTER4) { _local3.mc.mast1.sail1.gotoAndStop("red"); _local3.mc.mast1.sail2.gotoAndStop("red"); _local3.mc.mast2.sail1.gotoAndStop("black"); _local3.mc.mast2.sail2.gotoAndStop("black"); _local3.mc.mast3.sail1.gotoAndStop("red"); _local3.mc.mast3.sail2.gotoAndStop("red"); _local3.mc.sailFront.gotoAndStop(2); _local3.mc.sailRear.gotoAndStop(2); } else if (pShipData.sailType == pShipData.ST_FINAL_MINION) { _local3.mc.mast1.sail1.gotoAndStop("red"); _local3.mc.mast1.sail2.gotoAndStop("red"); _local3.mc.mast2.sail1.gotoAndStop("red"); _local3.mc.mast2.sail2.gotoAndStop("red"); _local3.mc.mast3.sail1.gotoAndStop("red"); _local3.mc.mast3.sail2.gotoAndStop("red"); _local3.mc.sailFront.gotoAndStop(3); } else if (pShipData.sailType == pShipData.ST_BOSS) { _local3.mc.mast1.sail1.gotoAndStop("boss" + (main.player.currentLevel + 1)); _local3.mc.mast1.sail2.gotoAndStop("boss" + (main.player.currentLevel + 1)); _local3.mc.mast2.sail1.gotoAndStop("boss" + (main.player.currentLevel + 1)); _local3.mc.mast2.sail2.gotoAndStop("boss" + (main.player.currentLevel + 1)); _local3.mc.mast3.sail1.gotoAndStop("boss" + (main.player.currentLevel + 1)); _local3.mc.mast3.sail2.gotoAndStop("boss" + (main.player.currentLevel + 1)); _local3.mc.sailFront.gotoAndStop(3); } else { _local3.mc.mast1.flag._visible = false; _local3.mc.mast2.flag._visible = false; _local3.mc.mast3.flag._visible = false; } if ((((pShipData.sailType == pShipData.ST_PIRATEHUNTER1) || (pShipData.sailType == pShipData.ST_PIRATEHUNTER2)) || (pShipData.sailType == pShipData.ST_PIRATEHUNTER3)) || (pShipData.sailType == pShipData.ST_PIRATEHUNTER4)) { var _local7 = new Color(_local3.mc.mast1.flag); _local7.setRGB(0); _local7 = new Color(_local3.mc.mast2.flag); _local7.setRGB(0); _local7 = new Color(_local3.mc.mast3.flag); _local7.setRGB(0); } else { _local3.mc.mast1.flag._alpha = 80; _local3.mc.mast2.flag._alpha = 80; _local3.mc.mast3.flag._alpha = 80; if (pShipData.sailType == pShipData.ST_BOSS) { _local3.mc.mast1.flag._xscale = 110; _local3.mc.mast1.flag._yscale = 110; _local3.mc.mast2.flag._xscale = 110; _local3.mc.mast2.flag._yscale = 110; _local3.mc.mast3.flag._xscale = 110; _local3.mc.mast3.flag._yscale = 110; } else { _local3.mc.mast1.flag._xscale = 80; _local3.mc.mast1.flag._yscale = 80; _local3.mc.mast2.flag._xscale = 80; _local3.mc.mast2.flag._yscale = 80; _local3.mc.mast3.flag._xscale = 80; _local3.mc.mast3.flag._yscale = 80; } } _local3.mc.mast1.flag.gotoAndPlay(Math.floor(Math.random() * 12) + 1); _local3.mc.mast2.flag.gotoAndPlay(Math.floor(Math.random() * 12) + 1); _local3.mc.mast3.flag.gotoAndPlay(Math.floor(Math.random() * 12) + 1); enemyShips.push(_local3); } function endGameWithDefeat() { isOutcomeVictory = false; status = ST_OVER_PANEL_APPEARING; timer = 0; main.sndCloseCombat.stop(); Key.removeListener(keyListener); } function endGameWithVictory() { isOutcomeVictory = true; status = ST_OVER_PANEL_APPEARING; timer = 0; Key.removeListener(keyListener); } function doEnterFrame() { main.vfxEngine.doEnterFrame(); if (screenStatus == SCRST_APPEARING) { screenStep++; if (screenStep > 40) { screenStep = 0; screenStatus = SCRST_IDLE; } } else if (screenStatus == SCRST_DISAPPEARING) { screenStep++; if (screenStep == 39) { stopAllSounds(); main.sndIngameDoorCloseEnd.start(); } if (screenStep > 40) { screenStep = 0; removeAllMovieClips(); main.switchScreenVisibility(); } } timer++; if (status == ST_PLAYING) { setEngagementLevel(-1); if (timer == 10) { pnlLevelInfo = main.mcRoot.attachMovie("mcLevelInfoPanel", "mcLevelInfoPanel", com.gameInABottle.games.treasureOfCutlassReef.constants.Z.LEVELINFOPANEL); pnlLevelInfo._y = 150; pnlLevelInfo._x = 700; pnlLevelInfo.tfShipNum.text = shipDatas.length + " enemy ships on the horizon..."; pnlLevelInfo.tfFlagshipName.text = com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(main.staticData.levels[main.player.currentLevel]).flagShipName; } else if (timer < 41) { } else if (timer < 71) { pnlLevelInfo._x = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(timer - 41, 660, -560, 30); } else if (timer < 131) { } else if (timer < 161) { pnlLevelInfo._x = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(timer - 131, 100, -560, 30); } else if (timer == 161) { pnlLevelInfo.removeMovieClip(); } var _local4 = 0; while (_local4 < enemyShips.length) { com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local4]).doEnterFrame(); _local4++; } avoidShipCollision(); } if (main.preferences.quality == 3) { if (Math.random() > 0.992) { main.vfxEngine.createCloud(); } } var _local4 = 0; while (_local4 < pirateCannonballs.length) { var _local2 = pirateCannonballs[_local4]; _local2.fly(); if ((((_local2.x < 0) || (_local2.x > 640)) || (_local2.y < 0)) || (_local2.y > 480)) { _local2.mc.removeMovieClip(); pirateCannonballs.splice(_local4, 1); _local4--; } else if (status == ST_PLAYING) { var _local3 = 0; while (_local3 < enemyShips.length) { if (((com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local3]).status != com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local3]).ST_AI_WRECK) && (com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local3]).status != com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local3]).ST_AI_PLUNDERED)) && (com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local3]).status != com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local3]).ST_AI_DISAPPEARING)) { if (com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local3]).mc.hitTest(_local2.x, _local2.y, true)) { _local2.mc.removeMovieClip(); main.vfxEngine.createBlast(_local2.x, _local2.y); com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local3]).sufferDamage(_local2.firepower); pirateCannonballsHit++; pirateCannonballs.splice(_local4, 1); _local4--; break; } } _local3++; } } _local4++; } _local4 = 0; while (_local4 < enemyCannonballs.length) { var _local2 = enemyCannonballs[_local4]; _local2.fly(); if ((((_local2.x < 0) || (_local2.x > 640)) || (_local2.y < 0)) || (_local2.y > 480)) { _local2.mc.removeMovieClip(); enemyCannonballs.splice(_local4, 1); _local4--; } else if (status == ST_PLAYING) { if (pirateShip.mc.hitTest(_local2.x, _local2.y, true)) { _local2.mc.removeMovieClip(); main.vfxEngine.createBlast(_local2.x, _local2.y); pirateShip.sufferDamage(_local2.firepower); enemyCannonballs.splice(_local4, 1); _local4--; } var _local3 = 0; while (_local3 < enemyShips.length) { if (com.gameInABottle.games.treasureOfCutlassReef.entity.Cannonball(enemyCannonballs[_local4]).originShip != enemyShips[_local3]) { if (((com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local3]).status != com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local3]).ST_AI_WRECK) && (com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local3]).status != com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local3]).ST_AI_PLUNDERED)) && (com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local3]).status != com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local3]).ST_AI_DISAPPEARING)) { if (com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local3]).mc.hitTest(_local2.x, _local2.y, true)) { _local2.mc.removeMovieClip(); main.vfxEngine.createBlast(_local2.x, _local2.y); com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local3]).sufferDamage(_local2.firepower / 8); enemyCannonballs.splice(_local4, 1); _local4--; break; } } } _local3++; } } _local4++; } if (status == ST_PLAYING) { if (timer < 20) { mcTexts._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(timer, 508, -80, 20); } pirateShip.doEnterFrame(); if (pirateShip.isFiring) { mcTexts.tfCannons.text = ("Firing (" + pirateShip.cannonsLoadedNum) + " cannons to fire)"; TextField(mcTexts.tfCannons).textColor = 16711680 /* 0xFF0000 */; } else { mcTexts.tfCannons.text = ((pirateShip.cannonsLoadedNum == 1) ? (("1/" + pirateShip.cannonsNum) + " cannon ready to fire") : ((((pirateShip.cannonsLoadedNum + "/") + pirateShip.cannonsNum) + " cannons ready to fire") + (isPirateshipShootingUp ? "(up)" : "(down)"))); TextField(mcTexts.tfCannons).textColor = 16777215 /* 0xFFFFFF */; } mcTexts.tfGold.text = main.player.getGold() + " gold in coffers"; mcTexts.tfCrew.text = pirateShip.crewNum + " pirates on board"; mcTexts.tfShip.text = (("Ship integrity: " + pirateShip.hp) + " of ") + pirateShip.hpMax; _local4 = 0; while (_local4 < shipDatas.length) { if (com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(shipDatas[_local4]).spawnTime <= timer) { createShip(shipDatas[_local4]); shipDatas.splice(_local4, 1); } _local4++; } } else if (status == ST_OVER_PANEL_APPEARING) { if (timer < 20) { mcTexts._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(timer, 428, 80, 20); } else if (timer == 20) { var vThis = this; if (isOutcomeVictory) { var _local7 = pirateCannonballsHit / pirateCannonballsShot; pnlOutcome = main.mcRoot.attachMovie("outcomePanelVictory", "pnlOutcome", com.gameInABottle.games.treasureOfCutlassReef.constants.Z.LEVELOUTCOMEPANEL); pnlOutcome.tfGoldPlundered.text = goldPlunderedOnLevel; pnlOutcome.tfCannonballs.text = ((pirateCannonballsHit + " / ") + pirateCannonballsShot) + ((pirateCannonballsShot == 0) ? "" : ((" (" + Math.round(_local7 * 100)) + "%)")); var _local5 = 0; if (pirateCannonballsShot == 0) { _local5 = 2500; pnlOutcome.tfAccuracyBonusTtl.text = "All ammo saved:"; pnlOutcome.tfAccuracyBonus.text = "**2500**"; } else if (_local7 >= 0.7) { _local5 = Math.round(((main.player.currentLevel + 1) * 1000) * _local7); pnlOutcome.tfAccuracyBonusTtl.text = "Accuracy bonus:"; pnlOutcome.tfAccuracyBonus.text = _local5.toString(); } else { _local5 = 0; pnlOutcome.tfAccuracyBonusTtl.text = "No accuracy bonus."; pnlOutcome.tfAccuracyBonus.text = "0"; } pnlOutcome.tfGoldEarned.text = goldPlunderedOnLevel + _local5; main.player.setScore(main.player.getScore() + _local5); main.player.setGold(main.player.getGold() + _local5); pnlOutcome.tfTotalScore.text = main.player.getScore().toString(); pnlOutcome.btnOk.onPress = function () { if (vThis.status == vThis.ST_OVER_IDLE) { vThis.status = vThis.ST_CLOSING; vThis.timer = 0; if (vThis.main.player.currentLevel == (vThis.main.staticData.levels.length - 1)) { vThis.main.nextScreen = vThis.main.SCR_ENDGAME; } else { vThis.main.nextScreen = vThis.main.SCR_UPGRADES; } vThis.main.player.currentLevel++; } }; } else { pnlOutcome = main.mcRoot.attachMovie("outcomePanelDefeat", "pnlOutcome", com.gameInABottle.games.treasureOfCutlassReef.constants.Z.LEVELOUTCOMEPANEL); pnlOutcome.tfCause.text = ((pirateShip.hp < 1) ? "Your ship has been destroyed." : "You have been killed."); pnlOutcome.btnOk.onPress = function () { if (vThis.status == vThis.ST_OVER_IDLE) { vThis.status = vThis.ST_CLOSING; vThis.timer = 0; vThis.main.nextScreen = vThis.main.SCR_MAINMENU; } }; pnlOutcome.tfFinalScore.text = main.player.getScore().toString(); pnlOutcome.btnSubmit.onRelease = function () { if (vThis.status == vThis.ST_OVER_IDLE) { if (vThis.pnlOutcome.tfName.text != "") { vThis.main.sndTickPress.start(); var _local1 = new LoadVars(); var _local2 = new LoadVars(); _local2.onHTTPStatus = function (pStatus) { vThis.pnlOutcome.mcServerStatus.gotoAndStop(3); }; _local1.name = vThis.pnlOutcome.tfName.text; _local1.score = vThis.main.player.getScore(); _local1.chk = vThis.main.player.calculateHighScoreChecksum(vThis.pnlOutcome.tfName.text, vThis.main.player.getScore(), vThis.main.player.currentLevel, vThis.main.player.difficulty); _local1.level = vThis.main.player.currentLevel; _local1.difficulty = vThis.main.player.difficulty; _local1.sendAndLoad(vThis.main.URL_HIGHSCORELIST, _local2, "GET"); vThis.pnlOutcome.mcServerStatus.gotoAndStop(2); } } }; pnlOutcome.btnSubmit.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; } pnlOutcome._x = 133; pnlOutcome._y = -500; } else if (timer < 50) { pnlOutcome._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(timer - 20, -250, 408, 30); } else if (timer == 50) { status = ST_OVER_IDLE; } } else if (status == ST_CLOSING) { pnlOutcome._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(timer, 158, -408, 30); if (timer > 30) { status = ST_IDLE; main.mcwRoot.mcIngameDoor.gotoAndPlay(42); main.sndIngameDoorClose.start(); screenStatus = SCRST_DISAPPEARING; } } else if (status == ST_OVER_IDLE) { } } function returnToMainMenu() { status = ST_IDLE; main.mcwRoot.mcIngameDoor.gotoAndPlay(42); main.sndIngameDoorClose.start(); screenStatus = SCRST_DISAPPEARING; main.nextScreen = main.SCR_MAINMENU; } function destroyShip(pShip) { var _local2 = 0; while (_local2 < enemyShips.length) { if (com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local2]) == pShip) { com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local2]).infoPanel.removeMovieClip(); com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local2]).battleWheel.removeMovieClip(); enemyShips[_local2].mc.removeMovieClip(); enemyShips.splice(_local2, 1); checkForGameContinuity(); } _local2++; } } function checkForGameContinuity() { var _local4 = true; var _local6 = true; var _local2 = 0; while (_local2 < enemyShips.length) { if (((com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local2]).status != com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local2]).ST_AI_PLUNDERED) && (com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local2]).status != com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local2]).ST_AI_WRECK)) && (com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local2]).status != com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local2]).ST_AI_DISAPPEARING)) { _local4 = false; if (com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local2]).hp > (com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local2]).hpMax * 0.3)) { _local6 = false; } } _local2++; } if (shipDatas.length < 1) { if (_local4) { var _local5 = false; _local2 = 0; while (_local2 < enemyShips.length) { if (com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local2]).status == com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local2]).ST_AI_WRECK) { com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local2]).status = com.gameInABottle.games.treasureOfCutlassReef.entity.Ship(enemyShips[_local2]).ST_AI_PLUNDERED; _local5 = true; } _local2++; } if (_local5) { main.sndPlunder.start(); } } if (enemyShips.length < 1) { endGameWithVictory(); } } else if (_local4 || (_local6)) { var _local3 = 999999999 /* 0x3B9AC9FF */; _local2 = 0; while (_local2 < shipDatas.length) { if (com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(shipDatas[_local2]).spawnTime < _local3) { _local3 = com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(shipDatas[_local2]).spawnTime; } _local2++; } timer = _local3; } } function createPirateCannonball(pX, pY, pSpeedX, pSpeedY, pFirepower) { var _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.Cannonball(pX, pY, pSpeedX, pSpeedY, _root.attachMovie("mcCannonball", "cannonball" + currentCannonballZ, currentCannonballZ, null), pFirepower, pirateShip); currentCannonballZ++; if (currentCannonballZ > (com.gameInABottle.games.treasureOfCutlassReef.constants.Z.CANNONBALL_MIN + 10000)) { currentCannonballZ = com.gameInABottle.games.treasureOfCutlassReef.constants.Z.CANNONBALL_MIN; } pirateCannonballs.push(_local3); main.vfxEngine.createWhiteSmoke(pX, pY); if (flagMakeCannonSound) { flagMakeCannonSound = false; main["sndCannon" + (Math.floor(Math.random() * 12) + 1)].start(); } else { flagMakeCannonSound = true; } pirateCannonballsShot++; } function createEnemyCannonball(pX, pY, pSpeedX, pSpeedY, pFirepower, pOrigin) { var _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.Cannonball(pX, pY, pSpeedX, pSpeedY, _root.attachMovie("mcCannonball", "cannonball" + currentCannonballZ, currentCannonballZ, null), pFirepower, pOrigin); currentCannonballZ++; if (currentCannonballZ > (com.gameInABottle.games.treasureOfCutlassReef.constants.Z.CANNONBALL_MIN + 10000)) { currentCannonballZ = com.gameInABottle.games.treasureOfCutlassReef.constants.Z.CANNONBALL_MIN; } enemyCannonballs.push(_local3); main.vfxEngine.createWhiteSmoke(pX, pY); if (flagMakeCannonSound) { flagMakeCannonSound = false; main["sndCannon" + (Math.floor(Math.random() * 6) + 7)].start(); } else { flagMakeCannonSound = true; } } function setEngagementLevel(pNum) { pirateShipEngagementLevel = Math.max(0, Math.min(5, pirateShipEngagementLevel + pNum)); if ((pirateShipEngagementLevel > 0) && (!isEngagedSoundPlaying)) { isEngagedSoundPlaying = true; main.sndCloseCombat.start(0, 9999); } else if ((pirateShipEngagementLevel == 0) && (isEngagedSoundPlaying)) { isEngagedSoundPlaying = false; main.sndCloseCombat.stop(); } } function avoidShipCollision() { var _local3 = 0; while (_local3 < enemyShips.length) { var _local2 = 0; while (_local2 < enemyShips.length) { if (_local3 != _local2) { var _local5 = Math.sqrt(((enemyShips[_local3].x - enemyShips[_local2].x) * (enemyShips[_local3].x - enemyShips[_local2].x)) + ((2.5 * (enemyShips[_local3].y - enemyShips[_local2].y)) * (enemyShips[_local3].y - enemyShips[_local2].y))); var _local4 = ((_local5 > 60) ? 0 : (((60 - _local5) / 60) * 1.5)); if (_local4 > 0) { if (enemyShips[_local3].y > enemyShips[_local2].y) { enemyShips[_local3].y = enemyShips[_local3].y + _local4; enemyShips[_local2].y = enemyShips[_local2].y - _local4; } else { enemyShips[_local3].y = enemyShips[_local3].y - _local4; enemyShips[_local2].y = enemyShips[_local2].y + _local4; } } } _local2++; } _local3++; } } var ST_PLAYING = "ST_PLAYING"; var ST_OVER_PANEL_APPEARING = "ST_OVER_PANEL_APPEARING"; var ST_OVER_IDLE = "ST_OVER_IDLE"; var ST_CLOSING = "ST_CLOSING"; var ST_IDLE = "ST_IDLE"; var SCRST_APPEARING = "SCRST_APPEARING"; var SCRST_DISAPPEARING = "SCRST_DISAPPEARING"; var SCRST_IDLE = "SCRST_IDLE"; }
Symbol 590 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.entity.Ship] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.entity.Ship { var ctrl, speed, turnSpeed, reloadedness, isOwnedByPlayer, cannonsLoadedNum, isFiring, turnSpeedMax, speedMax, rotation, x, y, mc, cannonballSpeed, firePower, reloadSpeed, crewNum, cannonsNum, data, status, infoPanel, goldCarried, battleWheel, hp, armor, speedMaxOriginal, hpMax; function Ship (pCtrl) { ctrl = pCtrl; speed = 0; turnSpeed = 0; reloadedness = 120; } function doEnterFrame() { if (isOwnedByPlayer) { if ((Key.isDown(32) || (Key.isDown(17))) || (Key.isDown(com.gameInABottle.games.treasureOfCutlassReef.util.KeyCode.F))) { if (cannonsLoadedNum > 0) { isFiring = true; } else { isFiring = false; } } else { isFiring = false; } if (Key.isDown(37) || (Key.isDown(com.gameInABottle.games.treasureOfCutlassReef.util.KeyCode.A))) { turnSpeed = Math.max(-turnSpeedMax, turnSpeed - 0.08); } else if (Key.isDown(39) || (Key.isDown(com.gameInABottle.games.treasureOfCutlassReef.util.KeyCode.D))) { turnSpeed = Math.min(turnSpeedMax, turnSpeed + 0.08); } else { var _local8 = Math.abs(Math.max(0, turnSpeed - 0.08)); if (turnSpeed < 0) { turnSpeed = -_local8; } else { turnSpeed = _local8; } } if (Key.isDown(38) || (Key.isDown(com.gameInABottle.games.treasureOfCutlassReef.util.KeyCode.W))) { speed = Math.min(speedMax, speed + 0.08); } else { speed = Math.max(0, speed - 0.08); } rotation = rotation + turnSpeed; if (rotation > 180) { rotation = rotation - 360; } else if (rotation < -180) { rotation = rotation + 360; } x = x + (speed * Math.cos((rotation * Math.PI) / 180)); y = y + (speed * Math.sin((rotation * Math.PI) / 180)); if (x > 550) { x = x - ((x - 550) * 0.08); } if (x < 90) { x = x + ((90 - x) * 0.08); } if (y > 420) { y = y - ((y - 420) * 0.12); } if (y < 90) { y = y + ((90 - y) * 0.08); } if (isFiring) { var _local7 = 0; var _local6 = 0; var _local11 = 0; var _local10 = 0; var _local9 = (Math.random() * 0.6) - 0.3; var _local3 = (ctrl.isPirateshipShootingUp ? 1 : -1); if (rotation < -90) { _local7 = (x + ((((mc._xscale / 100) * mc._width) * _local9) * Math.cos((rotation * Math.PI) / 180))) - (((((mc._xscale / 100) * _local3) * mc.hull._height) / 2) * Math.sin((rotation * Math.PI) / 180)); _local6 = (y + ((((mc._xscale / 100) * mc._width) * _local9) * Math.sin((rotation * Math.PI) / 180))) - (((((mc._xscale / 100) * _local3) * mc.hull._height) / 2) * (-Math.cos((rotation * Math.PI) / 180))); vSpeedX = (-1 * (cannonballSpeed + 0.5)) * Math.sin((rotation * Math.PI) / 180); vSpeedY = (cannonballSpeed + 0.5) * Math.cos((rotation * Math.PI) / 180); } else if (rotation < 0) { _local7 = (x + ((((mc._xscale / 100) * mc._width) * _local9) * Math.cos((rotation * Math.PI) / 180))) + (((((mc._xscale / 100) * _local3) * mc.hull._height) / 2) * Math.sin((rotation * Math.PI) / 180)); _local6 = (y + ((((mc._xscale / 100) * mc._width) * _local9) * Math.sin((rotation * Math.PI) / 180))) + (((((mc._xscale / 100) * _local3) * mc.hull._height) / 2) * (-Math.cos((rotation * Math.PI) / 180))); vSpeedX = (cannonballSpeed + 0.5) * Math.sin((rotation * Math.PI) / 180); vSpeedY = (-(cannonballSpeed + 0.5)) * Math.cos((rotation * Math.PI) / 180); } else if (rotation < 90) { _local7 = (x + ((((mc._xscale / 100) * mc._width) * _local9) * Math.cos((rotation * Math.PI) / 180))) + (((((mc._xscale / 100) * _local3) * mc.hull._height) / 2) * Math.sin((rotation * Math.PI) / 180)); _local6 = (y + ((((mc._xscale / 100) * mc._width) * _local9) * Math.sin((rotation * Math.PI) / 180))) + (((((mc._xscale / 100) * _local3) * mc.hull._height) / 2) * (-Math.cos((rotation * Math.PI) / 180))); vSpeedX = (cannonballSpeed + 0.5) * Math.sin((rotation * Math.PI) / 180); vSpeedY = (-(cannonballSpeed + 0.5)) * Math.cos((rotation * Math.PI) / 180); } else { _local7 = (x + ((((mc._xscale / 100) * mc._width) * _local9) * Math.cos((rotation * Math.PI) / 180))) - (((((mc._xscale / 100) * _local3) * mc.hull._height) / 2) * Math.sin((rotation * Math.PI) / 180)); _local6 = (y + ((((mc._xscale / 100) * mc._width) * _local9) * Math.sin((rotation * Math.PI) / 180))) - (((((mc._xscale / 100) * _local3) * mc.hull._height) / 2) * (-Math.cos((rotation * Math.PI) / 180))); vSpeedX = (-(cannonballSpeed + 0.5)) * Math.sin((rotation * Math.PI) / 180); vSpeedY = (cannonballSpeed + 0.5) * Math.cos((rotation * Math.PI) / 180); } vSpeedX = vSpeedX * _local3; vSpeedY = vSpeedY * _local3; ctrl.createPirateCannonball(_local7, _local6, vSpeedX, vSpeedY, firePower); cannonsLoadedNum--; } else if (Math.random() < 0.4) { if ((Math.random() * 1000) < (crewNum * reloadSpeed)) { cannonsLoadedNum = Math.min(cannonsLoadedNum + 1, cannonsNum); } } } else { y = y + Math.max(0.07, (y / 480) * data.deltaY); if (status == ST_AI_DISAPPEARING) { mc._alpha = mc._alpha - 0.65; if (mc._alpha < 1) { ctrl.destroyShip(this); } } if (status == ST_AI_PLUNDERED) { infoPanel.goldenFrame._visible = true; var _local5 = Math.max(0, Math.floor(goldCarried * 0.2)); if (_local5 < 10) { _local5 = goldCarried; } goldCarried = goldCarried - _local5; infoPanel.tfGold.text = goldCarried; ctrl.main.player.setScore(ctrl.main.player.getScore() + _local5); ctrl.main.player.setGold(ctrl.main.player.getGold() + _local5); ctrl.goldPlunderedOnLevel = ctrl.goldPlunderedOnLevel + _local5; if (goldCarried == 0) { status = ST_AI_DISAPPEARING; mc.hull.gotoAndStop(6); mc.mast1._visible = false; mc.mast2._visible = false; mc.mast3._visible = false; mc.sailFront._visible = false; mc.sailRear._visible = false; if (data.hullType == 1) { var _local2 = 0; while (_local2 < 5) { ctrl.main.vfxEngine.createBlast((x + (Math.random() * 20)) - 10, (y + (Math.random() * 20)) - 10); _local2++; } } else if (data.hullType == 2) { var _local2 = 0; while (_local2 < 6) { ctrl.main.vfxEngine.createBlast((x + (Math.random() * 28)) - 14, (y + (Math.random() * 28)) - 14); _local2++; } } else if (data.hullType == 3) { var _local2 = 0; while (_local2 < 7) { ctrl.main.vfxEngine.createBlast((x + (Math.random() * 34)) - 17, (y + (Math.random() * 34)) - 17); _local2++; } } else if (data.hullType == 4) { var _local2 = 0; while (_local2 < 9) { ctrl.main.vfxEngine.createBlast((x + (Math.random() * 40)) - 20, (y + (Math.random() * 40)) - 20); _local2++; } } else if (data.hullType == 5) { var _local2 = 0; while (_local2 < 15) { ctrl.main.vfxEngine.createBlast((x + (Math.random() * 60)) - 30, (y + (Math.random() * 60)) - 30); _local2++; } } ctrl.main.vfxEngine.createInfoPanelBlast(infoPanel._x, infoPanel._y); ctrl.main.sndBlastBig.start(); infoPanel.removeMovieClip(); } } if ((y > 480) && (status != ST_AI_DISAPPEARING)) { status = ST_AI_DISAPPEARING; ctrl.main.vfxEngine.createInfoPanelBlast(infoPanel._x, infoPanel._y); infoPanel.removeMovieClip(); } if (Math.sqrt(((x - ctrl.pirateShip.x) * (x - ctrl.pirateShip.x)) + ((y - ctrl.pirateShip.y) * (y - ctrl.pirateShip.y))) < 90) { if ((status == ST_AI_PLUNDERED) || (status == ST_AI_DISAPPEARING)) { } else if (status == ST_AI_WRECK) { ctrl.main.sndPlunder.start(); status = ST_AI_PLUNDERED; } else if (status != ST_AI_ENGAGED) { status = ST_AI_ENGAGED; ctrl.setEngagementLevel(1); infoPanel.redFrame._visible = true; } } if (status == ST_AI_ENGAGED) { ctrl.setEngagementLevel(2); if (Math.sqrt(((x - ctrl.pirateShip.x) * (x - ctrl.pirateShip.x)) + ((y - ctrl.pirateShip.y) * (y - ctrl.pirateShip.y))) > 110) { if (((rotation == 0) || (rotation == 180)) || (rotation == -180)) { status = ST_AI_MOVING; } else { status = ST_AI_TURNING; } ctrl.setEngagementLevel(-1); infoPanel.redFrame._visible = false; } else { x = x + Math.max(-1.5, Math.min(1.5, 0.025 * (ctrl.pirateShip.x - x))); sufferEngagedDamage(); ctrl.pirateShip.sufferEngagedDamage(); } } if (((status != ST_AI_WRECK) && (status != ST_AI_PLUNDERED)) && (status != ST_AI_DISAPPEARING)) { if (y > (ctrl.pirateShip.y - 50)) { y = y - ((50 - (ctrl.pirateShip.y - y)) / 200); } } if ((data.sailType == data.ST_BOSS) && (ctrl.main.player.currentLevel == 11)) { y = Math.min(110, y); } if (status == ST_AI_INCOMING) { y = y + speedMax; if (y > 75) { status = ST_AI_TURNING_TO_H; } } if (status == ST_AI_SHOOTING) { reloadedness = 0; var _local9 = 0.6 * (Math.random() - 0.3); var _local7 = 0; var _local6 = 0; if ((rotation < 90) && (rotation > -90)) { _local7 = (x + ((mc._width * Math.cos((rotation * Math.PI) / 180)) * _local9)) - ((mc.hull._height / 2) * Math.sin((rotation * Math.PI) / 180)); _local6 = y + ((mc.hull._height / 2) * Math.cos((rotation * Math.PI) / 180)); var vSpeedX = (cannonballSpeed * Math.sin((rotation * Math.PI) / 180)); var vSpeedY = (cannonballSpeed * Math.cos((rotation * Math.PI) / 180)); } else { _local7 = (x + ((mc._width * Math.cos((rotation * Math.PI) / 180)) * _local9)) - ((mc.hull._height / 2) * Math.sin((rotation * Math.PI) / 180)); _local6 = y - ((mc.hull._height / 2) * Math.cos((rotation * Math.PI) / 180)); var vSpeedX = (cannonballSpeed * Math.sin((rotation * Math.PI) / 180)); var vSpeedY = (cannonballSpeed * (-Math.cos((rotation * Math.PI) / 180))); } ctrl.createEnemyCannonball(_local7, _local6, vSpeedX, vSpeedY, firePower, this); cannonsLoadedNum--; if (cannonsLoadedNum < 1) { status = ST_AI_MOVING; } } else { reloadedness++; if ((Math.random() * 1000) < (crewNum * reloadSpeed)) { if (Math.random() < 0.4) { cannonsLoadedNum = Math.min(cannonsLoadedNum + 1, cannonsNum); } } } if ((status == ST_AI_MOVING) || (status == ST_AI_SHOOTING)) { speed = Math.min(speed + 0.04, speedMax); } else { speed = Math.max(speed - 0.05, 0); } if ((((status == ST_AI_MOVING) || (status == ST_AI_SHOOTING)) || (status == ST_AI_TURNING)) || (status == ST_AI_ENGAGED)) { if (rotation > 90) { x = x - speed; if (x < data.xMin) { status = ST_AI_TURNING; } } else { x = x + speed; if (x > data.xMax) { status = ST_AI_TURNING; } } } if (status == ST_AI_MOVING) { if ((Math.random() < 0.055) || ((data.sailType == data.ST_BOSS) && (ctrl.main.player.currentLevel == 11))) { if ((((reloadedness > 119) && (cannonsLoadedNum > 0)) && (cannonsLoadedNum == cannonsNum)) && (Math.abs(x - ctrl.pirateShip.x) < Math.min(55, (ctrl.pirateShip.y - y) + 10))) { if (y < ctrl.pirateShip.y) { var _local4 = true; var _local2 = 0; while (_local2 < ctrl.enemyShips.length) { if ((ctrl.enemyShips[_local2] != this) && (Math.abs(x - ctrl.enemyShips[_local2].x) < Math.min(55, (ctrl.enemyShips[_local2].y - y) + 10))) { _local4 = false; } _local2++; } if (_local4) { status = ST_AI_SHOOTING; } } } } } if (status == ST_AI_TURNING) { turnSpeed = Math.min(turnSpeed + 1, turnSpeedMax); if (x < data.xMin) { rotation = rotation - turnSpeed; if (rotation < 0) { rotation = 0; turnSpeed = 0; status = ST_AI_MOVING; } } else { rotation = rotation + turnSpeed; if (rotation > 180) { rotation = 180; turnSpeed = 0; status = ST_AI_MOVING; } } } if (status == ST_AI_TURNING_TO_H) { turnSpeed = Math.min(turnSpeed + 1, turnSpeedMax); if ((rotation < 0) && (rotation > -90)) { rotation = rotation + turnSpeed; if (rotation > 0) { rotation = 0; turnSpeed = 0; status = ST_AI_MOVING; } } else if (rotation < 90) { rotation = rotation - turnSpeed; if (rotation < 0) { rotation = 0; turnSpeed = 0; status = ST_AI_MOVING; } } else { rotation = rotation + turnSpeed; if (rotation > 180) { rotation = 180; turnSpeed = 0; status = ST_AI_MOVING; } } } } render(); } function render() { mc._x = x; mc._y = y; mc._rotation = rotation; if ((rotation >= 0) && (rotation < 90)) { mc.sailFront._yscale = -(90 - rotation); } else if ((rotation >= 90) && (rotation <= 180)) { mc.sailFront._yscale = -90 + rotation; } else if ((rotation > -90) && (rotation < 0)) { mc.sailFront._yscale = (-(-90 + (rotation + 90))) - 90; } else { mc.sailFront._yscale = 90 - (90 + (rotation + 90)); } if ((rotation > -165) && (rotation < -15)) { mc.mast1.sail1._xscale = 40; mc.mast1.sail2._xscale = 40; mc.mast2.sail1._xscale = 40; mc.mast2.sail2._xscale = 40; mc.mast3.sail1._xscale = 40; mc.mast3.sail2._xscale = 40; } if ((rotation <= 0) && (rotation >= -15)) { mc.mast1._rotation = rotation + 15; mc.mast2._rotation = rotation + 15; mc.mast3._rotation = rotation + 15; mc.mast1.sail1._xscale = 100 + (4 * rotation); mc.mast1.sail2._xscale = 100 + (4 * rotation); mc.mast2.sail1._xscale = 100 + (4 * rotation); mc.mast2.sail2._xscale = 100 + (4 * rotation); mc.mast3.sail1._xscale = 100 + (4 * rotation); mc.mast3.sail2._xscale = 100 + (4 * rotation); } else if ((rotation >= 0) && (rotation <= 15)) { mc.mast1._rotation = 15 - rotation; mc.mast2._rotation = 15 - rotation; mc.mast3._rotation = 15 - rotation; } else if ((rotation >= 165) && (rotation <= 180)) { mc.mast1._rotation = 165 - rotation; mc.mast2._rotation = 165 - rotation; mc.mast3._rotation = 165 - rotation; } else if ((rotation <= -165) && (rotation >= -180)) { mc.mast1._rotation = 165 + rotation; mc.mast2._rotation = 165 + rotation; mc.mast3._rotation = 165 + rotation; mc.mast1.sail1._xscale = 100 - (4 * (rotation + 180)); mc.mast1.sail2._xscale = 100 - (4 * (rotation + 180)); mc.mast2.sail1._xscale = 100 - (4 * (rotation + 180)); mc.mast2.sail2._xscale = 100 - (4 * (rotation + 180)); mc.mast3.sail1._xscale = 100 - (4 * (rotation + 180)); mc.mast3.sail2._xscale = 100 - (4 * (rotation + 180)); } else { mc.mast1._rotation = 0; mc.mast2._rotation = 0; mc.mast3._rotation = 0; } mc.mast1.flag._rotation = (-mc.mast1._rotation) - mc._rotation; mc.mast2.flag._rotation = (-mc.mast1._rotation) - mc._rotation; mc.mast3.flag._rotation = (-mc.mast1._rotation) - mc._rotation; infoPanel._x = Math.floor(mc._x + infoPanelDistancesX[data.hullType]); infoPanel._y = Math.floor(mc._y + infoPanelDistancesY[data.hullType]); battleWheel._x = x; battleWheel._y = y; if ((isOwnedByPlayer && (ctrl.pirateShipEngagementLevel > 0)) || ((!isOwnedByPlayer) && (status == ST_AI_ENGAGED))) { battleWheel._visible = true; battleWheel._alpha = Math.min(100, battleWheel._alpha + 5); } else { battleWheel._alpha = Math.max(0, battleWheel._alpha - 5); if (battleWheel._alpha < 1) { battleWheel._visible = false; } } } function sufferDamage(pFirepower) { if (isOwnedByPlayer) { if (ctrl.main.player.difficulty == 0) { hp = Math.max(0, hp - Math.max(3, Math.floor((((Math.random() * 9) + 4) + (3 * pFirepower)) - (5 * armor)))); } else if (ctrl.main.player.difficulty == 0) { hp = Math.max(0, hp - Math.max(4, Math.floor((((Math.random() * 12) + 5) + (4 * pFirepower)) - (4 * armor)))); } else { hp = Math.max(0, hp - Math.max(5, Math.floor((((Math.random() * 15) + 6) + (5 * pFirepower)) - (3 * armor)))); } } else if (ctrl.main.player.difficulty == 0) { hp = Math.max(0, hp - Math.max(14, Math.floor((((Math.random() * 31) + 15) + (9 * pFirepower)) - (2 * armor)))); } else if (ctrl.main.player.difficulty == 0) { hp = Math.max(0, hp - Math.max(11, Math.floor((((Math.random() * 28) + 12) + (7 * pFirepower)) - (2 * armor)))); } else { hp = Math.max(0, hp - Math.max(8, Math.floor((((Math.random() * 25) + 9) + (5 * pFirepower)) - (2 * armor)))); } if (isOwnedByPlayer) { if (ctrl.main.player.difficulty == 0) { if (Math.random() > 0.94) { crewNum = Math.max(0, crewNum - Math.max(1, Math.floor(Math.random() * pFirepower))); } if (Math.random() > 0.98) { cannonsNum = Math.max(0, cannonsNum - 1); cannonsLoadedNum = Math.max(0, cannonsLoadedNum - 1); } } else if (ctrl.main.player.difficulty == 0) { if (Math.random() > 0.89) { crewNum = Math.max(0, crewNum - Math.max(1, Math.floor(Math.random() * pFirepower))); } if (Math.random() > 0.96) { cannonsNum = Math.max(0, cannonsNum - 1); cannonsLoadedNum = Math.max(0, cannonsLoadedNum - 1); } } else { if (Math.random() > 0.83) { crewNum = Math.max(0, crewNum - Math.max(1, Math.floor(Math.random() * pFirepower))); } if (Math.random() > 0.93) { cannonsNum = Math.max(0, cannonsNum - 1); cannonsLoadedNum = Math.max(0, cannonsLoadedNum - 1); } } } else { if (Math.random() > 0.85) { if (crewNum > 20) { crewNum = Math.max(0, crewNum - Math.max(1, Math.floor(Math.random() * pFirepower))); } else if (crewNum > 7) { crewNum = Math.max(0, crewNum - 1); } } if (Math.random() > 0.92) { cannonsNum = Math.max(0, cannonsNum - 1); cannonsLoadedNum = Math.max(0, cannonsLoadedNum - 1); } } if (!isOwnedByPlayer) { if (Math.random() > 0.7) { goldCarried = Math.max(0, goldCarried - Math.round(Math.random() * 10)); } if (Math.random() > 0.7) { if ((data.sailType == data.ST_BOSS) && (ctrl.main.player.currentLevel == 11)) { } else { speedMax = speedMax * 0.982; turnSpeedMax = turnSpeedMax * 0.993; if ((speedMax <= (0.8 * speedMaxOriginal)) && (mc.mast3._currentframe == 1)) { mc.mast3.gotoAndPlay(2); } if ((speedMax <= (0.6 * speedMaxOriginal)) && (mc.sailFront._visible == true)) { mc.sailFront._visible = false; } if ((speedMax <= (0.46 * speedMaxOriginal)) && (mc.mast2._currentframe == 1)) { mc.mast2.gotoAndPlay(2); } } } } if (hp < 1) { if (status == ST_AI_ENGAGED) { infoPanel.redFrame._visible = false; ctrl.setEngagementLevel(-1); } infoPanel.plate.gotoAndStop(2); infoPanel.tfCrew._visible = false; infoPanel.tfCannons._visible = false; infoPanel.tfShip._visible = false; hp = 0; goldCarried = Math.round(goldCarried * 0.77); mc.hull.gotoAndStop(6); mc.sailFront._visible = false; mc.sailRear._visible = false; mc.mast1._visible = false; mc.mast2._visible = false; mc.mast3._visible = false; var _local2 = 0; while (_local2 < 7) { ctrl.main.vfxEngine.createBlast((x + (Math.random() * 30)) - 15, (y + (Math.random() * 30)) - 15); _local2++; } if (isOwnedByPlayer) { ctrl.endGameWithDefeat(); } else { status = ST_AI_WRECK; ctrl.main.sndBlastBig.start(); ctrl.checkForGameContinuity(); } } else if (hp < (hpMax * 0.2)) { mc.hull.gotoAndStop(5); } else if (hp < (hpMax * 0.4)) { mc.hull.gotoAndStop(4); } else if (hp < (hpMax * 0.6)) { mc.hull.gotoAndStop(3); } else if (hp < (hpMax * 0.8)) { mc.hull.gotoAndStop(2); } if ((hp > 0) && (hp < (hpMax * 0.3))) { ctrl.checkForGameContinuity(); } if (!isOwnedByPlayer) { infoPanel.tfGold.text = goldCarried; infoPanel.tfCrew.text = crewNum; infoPanel.tfCannons.text = cannonsNum; infoPanel.tfShip.text = hp; if (hp < (hpMax * 0.3)) { infoPanel.tfShip.textColor = 16711680 /* 0xFF0000 */; } } if (isOwnedByPlayer) { if (crewNum < 1) { ctrl.endGameWithDefeat(); } } ctrl.main["sndBlast" + Math.floor(Math.random() * 3)].start(); if ((((data.sailType == data.ST_BOSS) && (ctrl.main.player.currentLevel == 11)) && (hp > 2000)) && (hp < 9900)) { if ((ctrl.enemyShips.length < 2) || ((ctrl.enemyShips.length < 3) && (Math.random() < 0.005))) { var _local3 = new com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData(); _local3.hullType = 2; _local3.armorLevel = 6; _local3.crewNumLevel = 6; _local3.firePowerLevel = 6; _local3.cannonsNumLevel = 6; _local3.speedMaxLevel = 6; _local3.turnSpeedMaxLevel = 6; _local3.reloadSpeedLevel = 6; _local3.sailType = _local3.ST_FINAL_MINION; _local3.xMin = 80; _local3.xMax = 560; _local3.x = -300; _local3.deltaY = 0.35; _local3.goldCarried = 1000; ctrl.createShip(_local3); } } } function sufferEngagedDamage() { if (isOwnedByPlayer) { if (Math.random() > 0.97) { crewNum--; if (crewNum < 1) { ctrl.endGameWithDefeat(); } } } else if (Math.random() > 0.83) { crewNum--; infoPanel.tfCrew.text = crewNum; if (crewNum < 1) { ctrl.main.sndPlunder.start(); status = ST_AI_PLUNDERED; ctrl.setEngagementLevel(-1); infoPanel.redFrame._visible = false; infoPanel.plate.gotoAndStop(2); infoPanel.tfCrew._visible = false; infoPanel.tfCannons._visible = false; infoPanel.tfShip._visible = false; } } } var infoPanelDistancesX = new Array(0, 40, 50, 60, 75, 90); var infoPanelDistancesY = new Array(0, -40, -50, -60, -75, -90); var ST_AI_ENGAGED = "ST_ENGAGED"; var ST_AI_MOVING = "ST_MOVING"; var ST_AI_TURNING = "ST_TURNING"; var ST_AI_TURNING_TO_H = "ST_TURNING_TO_H"; var ST_AI_INCOMING = "ST_AI_INCOMING"; var ST_AI_SHOOTING = "ST_AI_SHOOTING"; var ST_AI_WRECK = "ST_AI_WRECK"; var ST_AI_PLUNDERED = "ST_AI_PLUNDERED"; var ST_AI_DISAPPEARING = "ST_AI_DISAPPEARING"; }
Symbol 591 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.util.KeyCode] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.util.KeyCode { function KeyCode () { } static var A = 65; static var B = 66; static var C = 67; static var D = 68; static var E = 69; static var F = 70; static var G = 71; static var H = 72; static var I = 73; static var J = 74; static var K = 75; static var L = 76; static var M = 77; static var N = 78; static var O = 79; static var P = 80; static var Q = 81; static var R = 82; static var S = 83; static var T = 84; static var U = 85; static var V = 86; static var W = 87; static var X = 88; static var Y = 89; static var Z = 90; static var NUM_0 = 48; static var NUM_1 = 49; static var NUM_2 = 50; static var NUM_3 = 51; static var NUM_4 = 52; static var NUM_5 = 53; static var NUM_6 = 54; static var NUM_7 = 55; static var NUM_8 = 56; static var NUM_9 = 57; }
Symbol 592 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.entity.Cannonball] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.entity.Cannonball { var x, y, speedX, speedY, firepower, mc, originShip; function Cannonball (pX, pY, pSpeedX, pSpeedY, pMc, pFirepower, pOrigin) { x = pX; y = pY; speedX = pSpeedX; speedY = pSpeedY; firepower = pFirepower; mc = pMc; originShip = pOrigin; } function fly() { x = x + speedX; y = y + speedY; mc._x = x; mc._y = y; } }
Symbol 593 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlTutorial] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlTutorial { var main, mcw, screenStatus, screenStep, currentPage, turnPageDirection, turnPageStep, btnBackOutStep, btnNextOutStep, panelIn, panelOut; function CtrlTutorial (pMcw, pMain) { main = pMain; mcw = pMcw; var _local2 = this; buttonsInit(); } function buttonsInit() { var vThis = this; mcw.btnDone.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.screenStatus = vThis.SCRST_DISAPPEARING; vThis.main.nextScreen = vThis.main.SCR_MAINMENU; vThis.main.sndTickPress.start(); } }; mcw.btnDone.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnNext.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { if ((vThis.turnPageDirection == 0) && (vThis.currentPage < vThis.PAGES_NUM)) { vThis.turnPage(1); vThis.main.sndTickPress.start(); } } }; mcw.btnNext.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnBack.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { if ((vThis.turnPageDirection == 0) && (vThis.currentPage > 1)) { vThis.turnPage(-1); vThis.main.sndTickPress.start(); } } }; mcw.btnBack.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; } function initiate() { screenStatus = SCRST_APPEARING; screenStep = 0; mcw.mcPanelA._y = -480; mcw.mcPanelB._y = -480; mcw.btnBack._y = 600; mcw.btnDone._y = 600; mcw.btnNext._y = 600; mcw.btnDone._y = 500; mcw.mc._visible = true; mcw.mcPanelA._x = 50; mcw.mcPanelB._x = 690; mcw.mcPanelA.gotoAndStop(1); mcw.mcPanelB.gotoAndStop(1); currentPage = 1; turnPageDirection = 0; turnPageStep = 0; btnBackOutStep = 15; btnNextOutStep = 0; panelIn = mcw.mcPanelA; } function doEnterFrame() { if (screenStatus == SCRST_APPEARING) { screenStep++; mcw.mcPanelA._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, -426, 480, 20); mcw.mcPanelB._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, -426, 480, 20); mcw.btnDone._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, 602, -200, 20); mcw.btnBack._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, 602, -200, 20); mcw.btnNext._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, 602, -200, 20); if (screenStep > 19) { screenStep = 0; screenStatus = SCRST_IDLE; } } else if (screenStatus == SCRST_DISAPPEARING) { screenStep++; mcw.mcPanelA._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 54, -480, 20); mcw.mcPanelB._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 54, -480, 20); mcw.btnDone._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 402, 200, 20); mcw.btnBack._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 402, 200, 20); mcw.btnNext._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 402, 200, 20); if (screenStep > 19) { screenStep = 0; main.switchScreenVisibility(); } } else if (Key.isDown(27)) { if (screenStatus == SCRST_IDLE) { mcw.btnDone.onPress(); } } if (turnPageDirection != 0) { turnPageStep++; if (turnPageDirection == 1) { panelIn._x = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeInOut(turnPageStep, 690, -640, 20); panelOut._x = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeInOut(turnPageStep, 50, -640, 20); } else if (turnPageDirection == -1) { panelIn._x = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeInOut(turnPageStep, -590, 640, 20); panelOut._x = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeInOut(turnPageStep, 50, 640, 20); } if (turnPageStep > 19) { turnPageDirection = 0; turnPageStep = 0; } } if (currentPage < 2) { btnBackOutStep = Math.min(15, btnBackOutStep + 1); } else { btnBackOutStep = Math.max(0, btnBackOutStep - 1); } mcw.btnBack._x = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(btnBackOutStep, 28, -150, 15); if (currentPage > (PAGES_NUM - 1)) { btnNextOutStep = Math.min(15, btnNextOutStep + 1); } else { btnNextOutStep = Math.max(0, btnNextOutStep - 1); } mcw.btnNext._x = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(btnNextOutStep, 501, 150, 15); if ((Key.isDown(32) || (Key.isDown(13))) || (Key.isDown(17))) { mcw.btnNext.onPress(); } } function turnPage(pDirection) { turnPageDirection = pDirection; currentPage = currentPage + pDirection; if (panelIn == mcw.mcPanelA) { panelOut = mcw.mcPanelA; panelIn = mcw.mcPanelB; } else { panelOut = mcw.mcPanelB; panelIn = mcw.mcPanelA; } panelIn.gotoAndStop(currentPage); } var SCRST_APPEARING = "SCRST_APPEARING"; var SCRST_DISAPPEARING = "SCRST_DISAPPEARING"; var SCRST_IDLE = "SCRST_IDLE"; var PAGES_NUM = 8; }
Symbol 594 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlMap] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlMap { var main, mcw, screenStatus, screenStep, mapShips; function CtrlMap (pMcw, pMain) { main = pMain; mcw = pMcw; var _local2 = this; buttonsInit(); } function buttonsInit() { var vThis = this; mcw.btnStartBattle.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.screenStatus = vThis.SCRST_DISAPPEARING; vThis.main.nextScreen = vThis.main.SCR_INGAME; vThis.main.sndTickPress.start(); } }; mcw.btnStartBattle.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; } function initiate() { screenStatus = SCRST_APPEARING; screenStep = 0; mcw.mc._visible = true; mcw.mc._y = -480; var _local2 = 0; while (_local2 < mapShips.length) { MovieClip(mapShips[_local2]).removeMovieClip(); _local2++; } mapShips = new Array(); _local2 = main.player.currentLevel; while (_local2 < main.staticData.levels.length) { var _local3 = mcw.mc.attachMovie("mcMapShip", "mapShip" + _local2, com.gameInABottle.games.treasureOfCutlassReef.constants.Z.MAPSHIP_MIN + _local2); _local3._x = com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(main.staticData.levels[_local2]).mapX; _local3._y = com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(main.staticData.levels[_local2]).mapY; _local3._xscale = (com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(main.staticData.levels[_local2]).isShipFacingRight ? 100 : -100); _local3.baseY = com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(main.staticData.levels[_local2]).mapY; if (_local2 == main.player.currentLevel) { var _local4 = mcw.mc.attachMovie("mcMapShip", "pirateMapShip", com.gameInABottle.games.treasureOfCutlassReef.constants.Z.MAPSHIP_MIN - 1); _local4._x = com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(main.staticData.levels[_local2]).mapX + com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(main.staticData.levels[_local2]).mapPirRelX; _local4._y = com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(main.staticData.levels[_local2]).mapY + com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(main.staticData.levels[_local2]).mapPirRelY; _local4.baseY = com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(main.staticData.levels[_local2]).mapY + com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(main.staticData.levels[_local2]).mapPirRelY; _local4._xscale = (com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData(main.staticData.levels[_local2]).isShipFacingRight ? -100 : 100); _local4.gotoAndStop(2); mapShips.push(_local4); } else { _local3._alpha = 35; } mapShips.push(_local3); _local2++; } } function doEnterFrame() { if (screenStatus == SCRST_APPEARING) { screenStep++; if (screenStep < 20) { mcw.mc._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, -480, 480, 20); mcw.btnStartBattle._y = -100; } if ((screenStep < 30) && (screenStep > 9)) { mcw.btnStartBattle._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep - 10, -100, 100, 20); } if (screenStep > 29) { screenStep = 0; screenStatus = SCRST_IDLE; } } else if (screenStatus == SCRST_DISAPPEARING) { screenStep++; mcw.mc._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 0, -480, 20); if (screenStep > 19) { screenStep = 0; main.switchScreenVisibility(); } } else if ((Key.isDown(32) || (Key.isDown(13))) || (Key.isDown(17))) { mcw.btnStartBattle.onPress(); } } var SCRST_APPEARING = "SCRST_APPEARING"; var SCRST_DISAPPEARING = "SCRST_DISAPPEARING"; var SCRST_IDLE = "SCRST_IDLE"; }
Symbol 595 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlHighScores] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlHighScores { var main, mcw, screenStatus, screenStep; function CtrlHighScores (pMcw, pMain) { main = pMain; mcw = pMcw; var _local2 = this; buttonsInit(); } function buttonsInit() { var vThis = this; mcw.btnBack.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickPress.start(); vThis.screenStatus = vThis.SCRST_DISAPPEARING; vThis.main.nextScreen = vThis.main.SCR_MAINMENU; } }; mcw.btnBack.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnScroll.onPress = function () { MovieClip(this).startDrag(false, MovieClip(this)._x, 141, MovieClip(this)._x, 341); }; mcw.btnScroll.onRelease = function () { MovieClip(this).stopDrag(); }; mcw.btnScroll.onReleaseOutside = function () { MovieClip(this).stopDrag(); }; } function initiate() { screenStatus = SCRST_APPEARING; screenStep = 0; mcw.mc._visible = true; mcw.mc._y = -480; mcw.mc._visible = true; } function doEnterFrame() { if (screenStatus == SCRST_APPEARING) { screenStep++; mcw.mc._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, -480, 480, 20); mcw.btnBack._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, 1097, -680, 20); if (screenStep > 19) { screenStep = 0; screenStatus = SCRST_IDLE; } } else if (screenStatus == SCRST_DISAPPEARING) { screenStep++; mcw.mc._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 0, -480, 20); mcw.btnBack._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 417, 680, 20); if (screenStep > 19) { screenStep = 0; main.switchScreenVisibility(); } } } var SCRST_APPEARING = "SCRST_APPEARING"; var SCRST_DISAPPEARING = "SCRST_DISAPPEARING"; var SCRST_IDLE = "SCRST_IDLE"; }
Symbol 596 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlEndGame] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlEndGame { var main, mcw, screenStatus, screenStep; function CtrlEndGame (pMcw, pMain) { main = pMain; mcw = pMcw; var _local2 = this; buttonsInit(); } function buttonsInit() { var vThis = this; mcw.btnOk.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickPress.start(); vThis.screenStatus = vThis.SCRST_DISAPPEARING; vThis.main.nextScreen = vThis.main.SCR_MAINMENU; } }; mcw.btnOk.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; mcw.btnSubmit.onPress = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { if (vThis.mcw.tfName.text != "") { vThis.main.sndTickPress.start(); var _local1 = new LoadVars(); var _local2 = new LoadVars(); _local2.onHTTPStatus = function (pStatus) { vThis.mcw.mcServerStatus.gotoAndStop(3); }; _local1.name = vThis.mcw.tfName.text; _local1.score = vThis.main.player.getScore(); _local1.chk = vThis.main.player.calculateHighScoreChecksum(vThis.mcw.tfName.text, vThis.main.player.getScore(), vThis.main.player.currentLevel, vThis.main.player.difficulty); _local1.level = vThis.main.player.currentLevel; _local1.difficulty = vThis.main.player.difficulty; _local1.sendAndLoad(vThis.main.URL_HIGHSCORELIST, _local2, "GET"); vThis.mcw.mcServerStatus.gotoAndStop(2); } } }; mcw.btnSubmit.onRollOver = function () { if (vThis.screenStatus == vThis.SCRST_IDLE) { vThis.main.sndTickOver.start(); } }; } function initiate() { screenStatus = SCRST_APPEARING; screenStep = 0; mcw.mc._visible = true; mcw.mc._y = -480; mcw.tfFinalScore.text = main.player.getScore().toString(); mcw.tfEpilogue.text = ((main.player.difficulty == 0) ? "You have made it! The great fleet which guarded the reef is no more! The treasure is yours! Can you beat the enemy fleet as a Colonel or Admiral? More upgrades and even more heated battles await you!" : (((main.player.difficulty == 1) ? "You have made it! The great fleet which guarded the reef is no more! The treasure is yours! You are promoted to Admiral! Do you have what it takes to destroy the toughest armada ever seen? More upgrades and even more heated battles await you!" : "You have made it! The great fleet which guarded the reef is no more! The treasure is yours! Your name will be remembered as one of the greatest pirates of history!"))); } function doEnterFrame() { if (screenStatus == SCRST_APPEARING) { screenStep++; mcw.mc._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeOut(screenStep, -480, 480, 40); if (screenStep > 39) { screenStep = 0; screenStatus = SCRST_IDLE; } } else if (screenStatus == SCRST_DISAPPEARING) { screenStep++; mcw.mc._y = com.gameInABottle.games.treasureOfCutlassReef.util.Strong2.easeIn(screenStep, 0, -480, 40); if (screenStep > 39) { screenStep = 0; main.switchScreenVisibility(); } } } function processHighScoreResponse(pLv) { mcw.mcServerStatus.gotoAndStop(3); } var SCRST_APPEARING = "SCRST_APPEARING"; var SCRST_DISAPPEARING = "SCRST_DISAPPEARING"; var SCRST_IDLE = "SCRST_IDLE"; }
Symbol 597 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlStartup] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlStartup { var main, mcw, timer; function CtrlStartup (pMcw, pMain) { main = pMain; mcw = pMcw; var _local2 = this; buttonsInit(); mcw.mcStartupSponsor._visible = false; mcw.mcStartupGiab._visible = false; } function buttonsInit() { var _local2 = this; } function initiate() { timer = 0; mcw.mc._visible = true; } function doEnterFrame() { timer++; if (timer == 1) { mcw.mcStartupGiab._visible = true; mcw.mcStartupGiab.gotoAndPlay(2); } if (timer == 81) { mcw.mcStartupGiab._visible = false; } if (timer == 91) { mcw.mcPlate.gotoAndPlay(2); } if (timer == 101) { main.isIntroOver = true; main.nextScreen = main.SCR_MAINMENU; main.switchScreenVisibility(); } } }
Symbol 598 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.util.MathToolbox] Frame 0
class com.gameInABottle.games.treasureOfCutlassReef.util.MathToolbox { function MathToolbox () { } static function convertCoord(pFromMin, pFromMax, pFrom, pToMin, pToMax) { return(pToMin + (((pFrom - pFromMin) / (pFromMax - pFromMin)) * (pToMax - pToMin))); } }
Symbol 19 MovieClip [ingameDoor] Frame 1
stop();
Symbol 19 MovieClip [ingameDoor] Frame 41
stop();
Symbol 19 MovieClip [ingameDoor] Frame 81
stop();
Symbol 79 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 10
stop();
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 80
stop();
Symbol 280 MovieClip Frame 1
stop();
Symbol 286 MovieClip [mcShipSailFront] Frame 1
stop();
Symbol 291 MovieClip [mcSailRear] Frame 1
stop();
Symbol 314 MovieClip [mcShipSailNormal] Frame 1
stop();
Symbol 332 MovieClip [mcMast] Frame 1
stop();
Symbol 332 MovieClip [mcMast] Frame 76
stop();
Symbol 336 MovieClip [mcDebris] Frame 1
stop();
Symbol 350 MovieClip [pirateWheelShell] Frame 60
gotoAndPlay (1);
Symbol 358 MovieClip [mcMapShip] Frame 1
stop();
Symbol 371 MovieClip Frame 1
stop();
Symbol 382 MovieClip Frame 1
stop();
Symbol 393 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 1
stop();
Symbol 408 MovieClip Frame 1
stop();
Symbol 410 MovieClip Frame 1
this._visible = false;
Symbol 412 MovieClip Frame 1
this._visible = false;
Symbol 449 MovieClip Frame 1
stop();
Instance of Symbol 456 MovieClip in Symbol 457 MovieClip [mcTexts] Frame 1
on (release) { getURL ("http://www.arcadebliss.com", "_blank"); }
Symbol 485 MovieClip Frame 1
stop();
Symbol 522 MovieClip Frame 1
stop();
Symbol 536 MovieClip [cloud] Frame 1
stop();
Symbol 554 MovieClip [cheatPanelLoadSave] Frame 1
this.bigContent._visible = false;
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip [cheatPanelLoadSave] Frame 1
on (press) { if (this._parent.bigContent._visible) { this._parent.bigContent._visible = false; } else { this._parent.bigContent._visible = true; } }
Symbol 561 MovieClip [cheatPanelInGame] Frame 1
this.bigContent._visible = false;
Instance of Symbol 553 MovieClip in Symbol 561 MovieClip [cheatPanelInGame] Frame 1
on (press) { if (this._parent.bigContent._visible) { this._parent.bigContent._visible = false; } else { this._parent.bigContent._visible = true; } }

Library Items

Symbol 1 GraphicUsed by:268  Timeline
Symbol 2 GraphicUsed by:11
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:11
Symbol 5 GraphicUsed by:10
Symbol 6 FontUsed by:7 455
Symbol 7 TextUses:6Used by:10
Symbol 8 FontUsed by:9
Symbol 9 TextUses:8Used by:10
Symbol 10 MovieClipUses:5 7 9Used by:11
Symbol 11 MovieClipUses:2 4 10Used by:Timeline
Symbol 562 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.Main]
Symbol 563 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwRoot]
Symbol 564 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwMainMenu]
Symbol 565 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwEndGame]
Symbol 566 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwMap]
Symbol 567 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwTutorial]
Symbol 568 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwUpgrades]
Symbol 569 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwCredits]
Symbol 570 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwIngame]
Symbol 571 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwModeSelector]
Symbol 572 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwHighScores]
Symbol 573 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwLoadSave]
Symbol 574 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwStartup]
Symbol 575 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.constants.Z]
Symbol 576 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.util.VfxEngine]
Symbol 577 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.entity.Preferences]
Symbol 578 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.entity.Player]
Symbol 579 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.constants.StaticData]
Symbol 580 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData]
Symbol 581 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData]
Symbol 582 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.constants.StaticDataExt1]
Symbol 583 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlUpgrades]
Symbol 584 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.util.Strong2]
Symbol 585 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlLoadSave]
Symbol 586 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlModeSelector]
Symbol 587 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlMainMenu]
Symbol 588 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlCredits]
Symbol 589 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlIngame]
Symbol 590 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.entity.Ship]
Symbol 591 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.util.KeyCode]
Symbol 592 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.entity.Cannonball]
Symbol 593 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlTutorial]
Symbol 594 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlMap]
Symbol 595 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlHighScores]
Symbol 596 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlEndGame]
Symbol 597 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlStartup]
Symbol 598 MovieClip [__Packages.com.gameInABottle.games.treasureOfCutlassReef.util.MathToolbox]
Symbol 12 BitmapUsed by:13 15
Symbol 13 GraphicUses:12Used by:14
Symbol 14 MovieClipUses:13Used by:19
Symbol 15 GraphicUses:12Used by:16
Symbol 16 MovieClipUses:15Used by:19
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:17Used by:19
Symbol 19 MovieClip [ingameDoor]Uses:14 16 18Used by:Timeline
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:20Used by:22
Symbol 22 MovieClipUses:21Used by:43
Symbol 23 GraphicUsed by:26 28 33 35 37
Symbol 24 FontUsed by:25 27 30 32 34 36 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 73 77 82 86 102 104 123 126 129 132 143 146 149 156 160 163 166 175 190 193 196 221 223 467 468 470 477 488 489 490 492 493 495 496 497 498 499 500 503 504 505 506 507 508 509 510 514 517 525
Symbol 25 TextUses:24Used by:26
Symbol 26 MovieClipUses:23 25Used by:43
Symbol 27 TextUses:24Used by:28
Symbol 28 MovieClipUses:23 27Used by:43
Symbol 29 GraphicUsed by:31
Symbol 30 TextUses:24Used by:31
Symbol 31 MovieClipUses:29 30Used by:43
Symbol 32 TextUses:24Used by:33
Symbol 33 MovieClipUses:23 32Used by:43
Symbol 34 TextUses:24Used by:35
Symbol 35 MovieClipUses:23 34Used by:43
Symbol 36 TextUses:24Used by:37
Symbol 37 MovieClipUses:23 36Used by:43
Symbol 38 FontUsed by:39 239 249
Symbol 39 TextUses:38Used by:42
Symbol 40 FontUsed by:41
Symbol 41 TextUses:40Used by:42
Symbol 42 MovieClipUses:39 41Used by:43
Symbol 43 MovieClipUses:22 26 28 31 33 35 37 42Used by:Timeline
Symbol 44 GraphicUsed by:95
Symbol 45 FontUsed by:46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 196 221 468 472 473 490 492 495 496 498 500 507 508 509 510
Symbol 46 EditableTextUses:24 45 66 89Used by:95
Symbol 47 EditableTextUses:24 45 66 89Used by:95
Symbol 48 EditableTextUses:24 45 66 89Used by:95
Symbol 49 EditableTextUses:24 45 66 89Used by:95
Symbol 50 EditableTextUses:24 45 66 89Used by:95
Symbol 51 EditableTextUses:24 45 66 89Used by:95
Symbol 52 EditableTextUses:24 45 66 89Used by:95
Symbol 53 EditableTextUses:24 45 66 89Used by:95
Symbol 54 EditableTextUses:24 45 66 89Used by:95
Symbol 55 EditableTextUses:24 45 66 89Used by:95
Symbol 56 EditableTextUses:24 45 66 89Used by:95
Symbol 57 EditableTextUses:24 45 66 89Used by:95
Symbol 58 EditableTextUses:24 45 66 89Used by:95
Symbol 59 EditableTextUses:24 45 66 89Used by:95
Symbol 60 EditableTextUses:24 45 66 89Used by:95
Symbol 61 EditableTextUses:24 45 66 89Used by:95
Symbol 62 EditableTextUses:24 45 66 89Used by:95
Symbol 63 EditableTextUses:24 45 66 89Used by:95
Symbol 64 EditableTextUses:24 45 66 89Used by:95
Symbol 65 EditableTextUses:24 45 66 89Used by:95
Symbol 66 FontUsed by:46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 67 97 98 99 136 196 221 225 226 227 228 230 231 232 233 234 238 450 451 452 453 468 474 475 480 481 482 483 484 490 492 495 496 498 500 507 508 509 510 519 520 521 540 541 542 543 545 547 548 551 556 558
Symbol 67 TextUses:66Used by:95
Symbol 68 FontUsed by:69
Symbol 69 EditableTextUses:68Used by:95
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClipUses:70Used by:95 523
Symbol 72 GraphicUsed by:74
Symbol 73 TextUses:24Used by:74
Symbol 74 MovieClipUses:72 73Used by:95 122 134
Symbol 75 GraphicUsed by:79 92 94
Symbol 76 GraphicUsed by:79 92 94
Symbol 77 TextUses:24Used by:79
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:75 76 77 78Used by:95
Symbol 80 GraphicUsed by:84
Symbol 81 GraphicUsed by:84
Symbol 82 TextUses:24Used by:84
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:80 81 82 83Used by:95
Symbol 85 GraphicUsed by:88
Symbol 86 TextUses:24Used by:88
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClipUses:85 86 87Used by:95
Symbol 89 FontUsed by:46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 90 93 140 143 146 149 152 155 156 157 196 221 468 490 491 492 495 496 498 500 507 508 509 510
Symbol 90 TextUses:89Used by:92
Symbol 91 GraphicUsed by:92 94
Symbol 92 MovieClipUses:75 76 90 91Used by:95
Symbol 93 TextUses:89Used by:94
Symbol 94 MovieClipUses:75 76 93 91Used by:95
Symbol 95 MovieClipUses:44 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 67 69 71 74 79 84 88 92 94Used by:Timeline
Symbol 96 GraphicUsed by:122
Symbol 97 EditableTextUses:66Used by:122
Symbol 98 TextUses:66Used by:100
Symbol 99 TextUses:66Used by:100
Symbol 100 MovieClipUses:98 99Used by:122
Symbol 101 GraphicUsed by:103 105 494
Symbol 102 TextUses:24Used by:103
Symbol 103 MovieClipUses:101 102Used by:122
Symbol 104 TextUses:24Used by:105
Symbol 105 MovieClipUses:101 104Used by:122
Symbol 106 GraphicUsed by:121
Symbol 107 FontUsed by:108
Symbol 108 TextUses:107Used by:121
Symbol 109 GraphicUsed by:118
Symbol 110 FontUsed by:111 114 116
Symbol 111 TextUses:110Used by:118
Symbol 112 FontUsed by:113 115 117
Symbol 113 EditableTextUses:112Used by:118
Symbol 114 TextUses:110Used by:118
Symbol 115 EditableTextUses:112Used by:118
Symbol 116 TextUses:110Used by:118
Symbol 117 EditableTextUses:112Used by:118
Symbol 118 MovieClipUses:109 111 113 114 115 116 117Used by:121
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:119Used by:121
Symbol 121 MovieClipUses:106 108 118 120Used by:122
Symbol 122 MovieClipUses:96 97 100 103 74 105 121Used by:Timeline
Symbol 123 TextUses:24Used by:124
Symbol 124 MovieClipUses:123Used by:134
Symbol 125 GraphicUsed by:127
Symbol 126 TextUses:24Used by:127
Symbol 127 MovieClipUses:125 126Used by:134
Symbol 128 GraphicUsed by:130
Symbol 129 TextUses:24Used by:130
Symbol 130 MovieClipUses:128 129Used by:134
Symbol 131 GraphicUsed by:133
Symbol 132 TextUses:24Used by:133
Symbol 133 MovieClipUses:131 132Used by:134
Symbol 134 MovieClipUses:124 127 130 133 74Used by:Timeline
Symbol 135 GraphicUsed by:168
Symbol 136 TextUses:66Used by:158
Symbol 137 GraphicUsed by:158
Symbol 138 BitmapUsed by:139
Symbol 139 GraphicUses:138Used by:158
Symbol 140 TextUses:89Used by:158
Symbol 141 BitmapUsed by:142
Symbol 142 GraphicUses:141Used by:158
Symbol 143 TextUses:89 24Used by:158
Symbol 144 BitmapUsed by:145
Symbol 145 GraphicUses:144Used by:158
Symbol 146 TextUses:89 24Used by:158
Symbol 147 BitmapUsed by:148
Symbol 148 GraphicUses:147Used by:158
Symbol 149 TextUses:89 24Used by:158
Symbol 150 BitmapUsed by:151
Symbol 151 GraphicUses:150Used by:158
Symbol 152 TextUses:89Used by:158
Symbol 153 BitmapUsed by:154
Symbol 154 GraphicUses:153Used by:158
Symbol 155 TextUses:89Used by:158
Symbol 156 TextUses:89 24Used by:158
Symbol 157 TextUses:89Used by:158
Symbol 158 MovieClipUses:136 137 139 140 142 143 145 146 148 149 151 152 154 155 156 157Used by:168
Symbol 159 GraphicUsed by:161
Symbol 160 TextUses:24Used by:161
Symbol 161 MovieClipUses:159 160Used by:168 236 252
Symbol 162 GraphicUsed by:164
Symbol 163 TextUses:24Used by:164
Symbol 164 MovieClipUses:162 163Used by:168
Symbol 165 GraphicUsed by:167
Symbol 166 TextUses:24Used by:167
Symbol 167 MovieClipUses:165 166Used by:168
Symbol 168 MovieClipUses:135 158 161 164 167Used by:Timeline
Symbol 169 BitmapUsed by:170
Symbol 170 GraphicUses:169Used by:177 218
Symbol 171 BitmapUsed by:172
Symbol 172 GraphicUses:171Used by:173
Symbol 173 MovieClipUses:172Used by:177
Symbol 174 GraphicUsed by:176
Symbol 175 TextUses:24Used by:176
Symbol 176 MovieClipUses:174 175Used by:177
Symbol 177 MovieClipUses:170 173 176Used by:Timeline
Symbol 178 BitmapUsed by:179
Symbol 179 GraphicUses:178Used by:180
Symbol 180 MovieClipUses:179Used by:218
Symbol 181 FontUsed by:182 183 184 185 186 187 188
Symbol 182 EditableTextUses:181Used by:218
Symbol 183 EditableTextUses:181Used by:218
Symbol 184 EditableTextUses:181Used by:218
Symbol 185 EditableTextUses:181Used by:218
Symbol 186 EditableTextUses:181Used by:218
Symbol 187 EditableTextUses:181Used by:218
Symbol 188 EditableTextUses:181Used by:218
Symbol 189 GraphicUsed by:191
Symbol 190 TextUses:24Used by:191 512
Symbol 191 MovieClipUses:189 190Used by:218
Symbol 192 GraphicUsed by:194
Symbol 193 TextUses:24Used by:194
Symbol 194 MovieClipUses:192 193Used by:218
Symbol 195 GraphicUsed by:197
Symbol 196 EditableTextUses:24 45 66 89Used by:197
Symbol 197 MovieClipUses:195 196Used by:218
Symbol 198 GraphicUsed by:199
Symbol 199 MovieClipUses:198Used by:218
Symbol 200 BitmapUsed by:207
Symbol 201 BitmapUsed by:207
Symbol 202 BitmapUsed by:207
Symbol 203 BitmapUsed by:207
Symbol 204 BitmapUsed by:207
Symbol 205 BitmapUsed by:207
Symbol 206 BitmapUsed by:207
Symbol 207 GraphicUses:200 201 202 203 204 205 206Used by:218
Symbol 208 BitmapUsed by:209 210 211 212 213 214 215
Symbol 209 GraphicUses:208Used by:216 217
Symbol 210 GraphicUses:208Used by:217
Symbol 211 GraphicUses:208Used by:217
Symbol 212 GraphicUses:208Used by:217
Symbol 213 GraphicUses:208Used by:217
Symbol 214 GraphicUses:208Used by:217
Symbol 215 GraphicUses:208Used by:217
Symbol 216 MovieClipUses:209Used by:217
Symbol 217 MovieClipUses:209 210 211 212 213 214 215 216Used by:218
Symbol 218 MovieClipUses:170 180 182 183 184 185 186 187 188 191 194 197 199 207 217Used by:Timeline
Symbol 219 BitmapUsed by:220
Symbol 220 GraphicUses:219Used by:236
Symbol 221 EditableTextUses:24 45 66 89Used by:236
Symbol 222 GraphicUsed by:224
Symbol 223 TextUses:24Used by:224
Symbol 224 MovieClipUses:222 223Used by:236
Symbol 225 TextUses:66Used by:236
Symbol 226 TextUses:66Used by:236
Symbol 227 EditableTextUses:66Used by:236
Symbol 228 EditableTextUses:66Used by:236
Symbol 229 GraphicUsed by:235
Symbol 230 TextUses:66Used by:235
Symbol 231 TextUses:66Used by:235
Symbol 232 TextUses:66Used by:235
Symbol 233 TextUses:66Used by:235
Symbol 234 TextUses:66Used by:235
Symbol 235 MovieClipUses:229 230 231 232 233 234Used by:236
Symbol 236 MovieClipUses:220 161 221 224 225 226 227 228 235Used by:Timeline
Symbol 237 GraphicUsed by:251
Symbol 238 TextUses:66Used by:251
Symbol 239 TextUses:38Used by:251
Symbol 240 GraphicUsed by:251
Symbol 241 GraphicUsed by:242
Symbol 242 MovieClipUses:241Used by:251
Symbol 243 FontUsed by:244 245 246 247
Symbol 244 TextUses:243Used by:251 269
Symbol 245 TextUses:243Used by:251 269
Symbol 246 TextUses:243Used by:251 269
Symbol 247 TextUses:243Used by:251 269
Symbol 248 GraphicUsed by:250
Symbol 249 TextUses:38Used by:250
Symbol 250 MovieClipUses:248 249Used by:251
Symbol 251 MovieClipUses:237 238 239 240 242 244 245 246 247 250Used by:252
Symbol 252 MovieClipUses:251 161Used by:Timeline
Symbol 253 BitmapUsed by:254
Symbol 254 GraphicUses:253Used by:261
Symbol 255 BitmapUsed by:256
Symbol 256 GraphicUses:255Used by:261
Symbol 257 BitmapUsed by:258
Symbol 258 GraphicUses:257Used by:261
Symbol 259 BitmapUsed by:260
Symbol 260 GraphicUses:259Used by:261
Symbol 261 MovieClipUses:254 256 258 260Used by:262
Symbol 262 MovieClipUses:261Used by:Timeline
Symbol 263 ShapeTweeningUsed by:265
Symbol 264 GraphicUsed by:265
Symbol 265 MovieClipUses:263 264Used by:270
Symbol 266 BitmapUsed by:267
Symbol 267 GraphicUses:266Used by:269
Symbol 268 MovieClipUses:1Used by:269
Symbol 269 MovieClipUses:267 244 245 246 247 268Used by:270
Symbol 270 MovieClipUses:265 269Used by:Timeline
Symbol 271 BitmapUsed by:272 277 279
Symbol 272 GraphicUses:271Used by:280
Symbol 273 GraphicUsed by:280
Symbol 274 GraphicUsed by:280
Symbol 275 GraphicUsed by:280
Symbol 276 GraphicUsed by:280
Symbol 277 GraphicUses:271Used by:278
Symbol 278 MovieClipUses:277Used by:280
Symbol 279 GraphicUses:271Used by:280
Symbol 280 MovieClipUses:272 273 274 275 276 278 279Used by:333
Symbol 281 BitmapUsed by:282 285
Symbol 282 GraphicUses:281Used by:286
Symbol 283 BitmapUsed by:284
Symbol 284 GraphicUses:283Used by:286
Symbol 285 GraphicUses:281Used by:286
Symbol 286 MovieClip [mcShipSailFront]Uses:282 284 285Used by:333 372 383 394 405  Timeline
Symbol 287 BitmapUsed by:288
Symbol 288 GraphicUses:287Used by:291
Symbol 289 BitmapUsed by:290
Symbol 290 GraphicUses:289Used by:291
Symbol 291 MovieClip [mcSailRear]Uses:288 290Used by:333 372 383 394 405  Timeline
Symbol 292 BitmapUsed by:293
Symbol 293 GraphicUses:292Used by:332
Symbol 294 BitmapUsed by:295
Symbol 295 GraphicUses:294Used by:314
Symbol 296 GraphicUsed by:314
Symbol 297 GraphicUsed by:314
Symbol 298 GraphicUsed by:314
Symbol 299 GraphicUsed by:314
Symbol 300 GraphicUsed by:314
Symbol 301 GraphicUsed by:314
Symbol 302 GraphicUsed by:314
Symbol 303 GraphicUsed by:314
Symbol 304 GraphicUsed by:314
Symbol 305 GraphicUsed by:314
Symbol 306 GraphicUsed by:314
Symbol 307 GraphicUsed by:314
Symbol 308 GraphicUsed by:314
Symbol 309 GraphicUsed by:314
Symbol 310 GraphicUsed by:314
Symbol 311 GraphicUsed by:314
Symbol 312 GraphicUsed by:314
Symbol 313 GraphicUsed by:314
Symbol 314 MovieClip [mcShipSailNormal]Uses:295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313Used by:332
Symbol 315 GraphicUsed by:328
Symbol 316 GraphicUsed by:328
Symbol 317 GraphicUsed by:328
Symbol 318 GraphicUsed by:328
Symbol 319 GraphicUsed by:328
Symbol 320 GraphicUsed by:328
Symbol 321 GraphicUsed by:328
Symbol 322 GraphicUsed by:328
Symbol 323 GraphicUsed by:328
Symbol 324 GraphicUsed by:328
Symbol 325 GraphicUsed by:328
Symbol 326 GraphicUsed by:328
Symbol 327 GraphicUsed by:328
Symbol 328 MovieClipUses:315 316 317 318 319 320 321 322 323 324 325 326 327Used by:332
Symbol 329 BitmapUsed by:330
Symbol 330 GraphicUses:329Used by:331
Symbol 331 MovieClipUses:330Used by:332
Symbol 332 MovieClip [mcMast]Uses:293 314 328 331Used by:333 372 383 394 405  Timeline
Symbol 333 MovieClip [mcShip2]Uses:280 286 291 332Used by:Timeline
Symbol 334 GraphicUsed by:336
Symbol 335 GraphicUsed by:336
Symbol 336 MovieClip [mcDebris]Uses:334 335Used by:Timeline
Symbol 337 BitmapUsed by:338
Symbol 338 GraphicUses:337Used by:339
Symbol 339 MovieClip [mcBlast]Uses:338Used by:Timeline
Symbol 340 BitmapUsed by:341
Symbol 341 GraphicUses:340Used by:342
Symbol 342 MovieClip [mcVfxSmokeWhite]Uses:341Used by:Timeline
Symbol 343 BitmapUsed by:344
Symbol 344 GraphicUses:343Used by:345
Symbol 345 MovieClip [mcVfxSmokeBlack]Uses:344Used by:Timeline
Symbol 346 BitmapUsed by:347
Symbol 347 GraphicUses:346Used by:358
Symbol 348 GraphicUsed by:349
Symbol 349 MovieClipUses:348Used by:350
Symbol 350 MovieClip [pirateWheelShell]Uses:349Used by:358  Timeline
Symbol 351 BitmapUsed by:352
Symbol 352 GraphicUses:351Used by:358
Symbol 353 GraphicUsed by:357
Symbol 354 GraphicUsed by:357
Symbol 355 GraphicUsed by:357
Symbol 356 GraphicUsed by:357
Symbol 357 MovieClipUses:353 354 355 356Used by:358
Symbol 358 MovieClip [mcMapShip]Uses:347 350 352 357Used by:Timeline
Symbol 359 BitmapUsed by:360
Symbol 360 GraphicUses:359Used by:361
Symbol 361 MovieClip [mcSplash]Uses:360Used by:Timeline
Symbol 362 BitmapUsed by:363 368 370
Symbol 363 GraphicUses:362Used by:371
Symbol 364 GraphicUsed by:371
Symbol 365 GraphicUsed by:371
Symbol 366 GraphicUsed by:371
Symbol 367 GraphicUsed by:371
Symbol 368 GraphicUses:362Used by:369
Symbol 369 MovieClipUses:368Used by:371
Symbol 370 GraphicUses:362Used by:371
Symbol 371 MovieClipUses:363 364 365 366 367 369 370Used by:372
Symbol 372 MovieClip [mcShip1]Uses:371 286 291 332Used by:Timeline
Symbol 373 BitmapUsed by:374 379 381
Symbol 374 GraphicUses:373Used by:382
Symbol 375 GraphicUsed by:382
Symbol 376 GraphicUsed by:382
Symbol 377 GraphicUsed by:382
Symbol 378 GraphicUsed by:382
Symbol 379 GraphicUses:373Used by:380
Symbol 380 MovieClipUses:379Used by:382
Symbol 381 GraphicUses:373Used by:382
Symbol 382 MovieClipUses:374 375 376 377 378 380 381Used by:383
Symbol 383 MovieClip [mcShip3]Uses:382 286 291 332Used by:Timeline
Symbol 384 BitmapUsed by:385 390 392
Symbol 385 GraphicUses:384Used by:393
Symbol 386 GraphicUsed by:393
Symbol 387 GraphicUsed by:393
Symbol 388 GraphicUsed by:393
Symbol 389 GraphicUsed by:393
Symbol 390 GraphicUses:384Used by:391
Symbol 391 MovieClipUses:390Used by:393
Symbol 392 GraphicUses:384Used by:393
Symbol 393 MovieClipUses:385 386 387 388 389 391 392Used by:394
Symbol 394 MovieClip [mcShip4]Uses:393 286 291 332Used by:Timeline
Symbol 395 BitmapUsed by:396 401 403
Symbol 396 GraphicUses:395Used by:404
Symbol 397 GraphicUsed by:404
Symbol 398 GraphicUsed by:404
Symbol 399 GraphicUsed by:404
Symbol 400 GraphicUsed by:404
Symbol 401 GraphicUses:395Used by:402
Symbol 402 MovieClipUses:401Used by:404
Symbol 403 GraphicUses:395Used by:404
Symbol 404 MovieClipUses:396 397 398 399 400 402 403Used by:405
Symbol 405 MovieClip [mcShip5]Uses:404 286 291 332Used by:Timeline
Symbol 406 GraphicUsed by:408
Symbol 407 GraphicUsed by:408
Symbol 408 MovieClipUses:406 407Used by:418
Symbol 409 GraphicUsed by:410
Symbol 410 MovieClipUses:409Used by:418
Symbol 411 GraphicUsed by:412
Symbol 412 MovieClipUses:411Used by:418
Symbol 413 FontUsed by:414 415 416 417
Symbol 414 EditableTextUses:413Used by:418
Symbol 415 EditableTextUses:413Used by:418
Symbol 416 EditableTextUses:413Used by:418
Symbol 417 EditableTextUses:413Used by:418
Symbol 418 MovieClip [shipInfoPanel]Uses:408 410 412 414 415 416 417Used by:Timeline
Symbol 419 GraphicUsed by:420
Symbol 420 MovieClip [vfxInfoPanelBlast]Uses:419Used by:Timeline
Symbol 421 GraphicUsed by:449
Symbol 422 FontUsed by:423
Symbol 423 TextUses:422Used by:449
Symbol 424 Sound [ambient.wav]Used by:449
Symbol 425 Sound [blast1.wav]Used by:449
Symbol 426 Sound [blast2.wav]Used by:449
Symbol 427 Sound [blast3.wav]Used by:449
Symbol 428 Sound [cannon1.wav]Used by:449
Symbol 429 Sound [cannon2.wav]Used by:449
Symbol 430 Sound [cannon3.wav]Used by:449
Symbol 431 Sound [cannon4.wav]Used by:449
Symbol 432 Sound [cannon5.wav]Used by:449
Symbol 433 Sound [cannon6.wav]Used by:449
Symbol 434 Sound [closecombat.wav]Used by:449
Symbol 435 Sound [tickOver.wav]Used by:449
Symbol 436 Sound [tickPress.wav]Used by:449
Symbol 437 Sound [cannon7.wav]Used by:449
Symbol 438 Sound [cannon8.wav]Used by:449
Symbol 439 Sound [cannon9.wav]Used by:449
Symbol 440 Sound [cannon10.wav]Used by:449
Symbol 441 Sound [cannon11.wav]Used by:449
Symbol 442 Sound [cannon12.wav]Used by:449
Symbol 443 Sound [blastBig.wav]Used by:449
Symbol 444 Sound [plunder.wav]Used by:449
Symbol 445 Sound [upgrade.wav]Used by:449
Symbol 446 Sound [ingameDoorClose.wav]Used by:449
Symbol 447 Sound [ingameDoorOpen.wav]Used by:449
Symbol 448 Sound [ingameDoorCloseEnd.wav]Used by:449
Symbol 449 MovieClipUses:421 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448Used by:Timeline
Symbol 450 EditableTextUses:66Used by:457
Symbol 451 EditableTextUses:66Used by:457
Symbol 452 EditableTextUses:66Used by:457
Symbol 453 EditableTextUses:66Used by:457
Symbol 454 GraphicUsed by:456
Symbol 455 TextUses:6Used by:456
Symbol 456 MovieClipUses:454 455Used by:457
Symbol 457 MovieClip [mcTexts]Uses:450 451 452 453 456Used by:Timeline
Symbol 458 GraphicUsed by:465
Symbol 459 FontUsed by:460
Symbol 460 EditableTextUses:459 463Used by:465
Symbol 461 FontUsed by:462
Symbol 462 EditableTextUses:461Used by:465
Symbol 463 FontUsed by:460 464
Symbol 464 TextUses:463Used by:465
Symbol 465 MovieClip [mcLevelInfoPanel]Uses:458 460 462 464Used by:Timeline
Symbol 466 GraphicUsed by:486
Symbol 467 TextUses:24Used by:486
Symbol 468 EditableTextUses:24 45 66 89Used by:486
Symbol 469 GraphicUsed by:471
Symbol 470 TextUses:24Used by:471
Symbol 471 MovieClipUses:469 470Used by:486
Symbol 472 TextUses:45Used by:486
Symbol 473 TextUses:45Used by:486
Symbol 474 EditableTextUses:66Used by:486
Symbol 475 EditableTextUses:66Used by:486
Symbol 476 GraphicUsed by:478
Symbol 477 TextUses:24Used by:478
Symbol 478 MovieClipUses:476 477Used by:486
Symbol 479 GraphicUsed by:485
Symbol 480 TextUses:66Used by:485
Symbol 481 TextUses:66Used by:485
Symbol 482 TextUses:66Used by:485
Symbol 483 TextUses:66Used by:485
Symbol 484 TextUses:66Used by:485
Symbol 485 MovieClipUses:479 480 481 482 483 484Used by:486
Symbol 486 MovieClip [outcomePanelDefeat]Uses:466 467 468 471 472 473 474 475 478 485Used by:Timeline
Symbol 487 GraphicUsed by:501
Symbol 488 TextUses:24Used by:501
Symbol 489 TextUses:24Used by:501
Symbol 490 EditableTextUses:24 45 66 89Used by:501
Symbol 491 TextUses:89Used by:501
Symbol 492 EditableTextUses:24 45 66 89Used by:501
Symbol 493 TextUses:24Used by:494
Symbol 494 MovieClipUses:101 493Used by:501
Symbol 495 EditableTextUses:24 45 66 89Used by:501
Symbol 496 EditableTextUses:24 45 66 89Used by:501
Symbol 497 TextUses:24Used by:501
Symbol 498 EditableTextUses:24 45 66 89Used by:501
Symbol 499 TextUses:24Used by:501
Symbol 500 EditableTextUses:24 45 66 89Used by:501
Symbol 501 MovieClip [outcomePanelVictory]Uses:487 488 489 490 491 492 494 495 496 497 498 499 500Used by:Timeline
Symbol 502 GraphicUsed by:523
Symbol 503 TextUses:24Used by:523
Symbol 504 TextUses:24Used by:523
Symbol 505 TextUses:24Used by:523
Symbol 506 TextUses:24Used by:523
Symbol 507 EditableTextUses:24 45 66 89Used by:523
Symbol 508 EditableTextUses:24 45 66 89Used by:523
Symbol 509 EditableTextUses:24 45 66 89Used by:523
Symbol 510 EditableTextUses:24 45 66 89Used by:523
Symbol 511 GraphicUsed by:512
Symbol 512 MovieClipUses:511 190Used by:523
Symbol 513 GraphicUsed by:515
Symbol 514 TextUses:24Used by:515
Symbol 515 MovieClipUses:513 514Used by:523
Symbol 516 GraphicUsed by:518
Symbol 517 TextUses:24Used by:518
Symbol 518 MovieClipUses:516 517Used by:523
Symbol 519 TextUses:66Used by:522
Symbol 520 TextUses:66Used by:522
Symbol 521 TextUses:66Used by:522
Symbol 522 MovieClipUses:519 520 521Used by:523
Symbol 523 MovieClip [mcOptions]Uses:502 503 504 505 506 507 508 509 510 512 515 518 522 71Used by:Timeline
Symbol 524 GraphicUsed by:527
Symbol 525 TextUses:24Used by:526
Symbol 526 MovieClipUses:525Used by:527
Symbol 527 MovieClip [btnOptions]Uses:524 526Used by:Timeline
Symbol 528 BitmapUsed by:529
Symbol 529 GraphicUses:528Used by:536
Symbol 530 BitmapUsed by:531
Symbol 531 GraphicUses:530Used by:536
Symbol 532 BitmapUsed by:533
Symbol 533 GraphicUses:532Used by:536
Symbol 534 BitmapUsed by:535
Symbol 535 GraphicUses:534Used by:536
Symbol 536 MovieClip [cloud]Uses:529 531 533 535Used by:Timeline
Symbol 537 GraphicUsed by:538
Symbol 538 MovieClip [mcCannonball]Uses:537Used by:Timeline
Symbol 539 GraphicUsed by:549 560
Symbol 540 TextUses:66Used by:549
Symbol 541 TextUses:66Used by:549
Symbol 542 EditableTextUses:66Used by:549
Symbol 543 EditableTextUses:66Used by:549
Symbol 544 GraphicUsed by:546
Symbol 545 TextUses:66Used by:546
Symbol 546 MovieClipUses:544 545Used by:549
Symbol 547 TextUses:66Used by:549
Symbol 548 EditableTextUses:66Used by:549
Symbol 549 MovieClipUses:539 540 541 542 543 546 547 548Used by:554
Symbol 550 GraphicUsed by:554 561
Symbol 551 TextUses:66Used by:554 561
Symbol 552 GraphicUsed by:553
Symbol 553 MovieClipUses:552Used by:554 561
Symbol 554 MovieClip [cheatPanelLoadSave]Uses:549 550 551 553Used by:Timeline
Symbol 555 GraphicUsed by:557 559
Symbol 556 TextUses:66Used by:557
Symbol 557 MovieClipUses:555 556Used by:560
Symbol 558 TextUses:66Used by:559
Symbol 559 MovieClipUses:555 558Used by:560
Symbol 560 MovieClipUses:539 557 559Used by:561
Symbol 561 MovieClip [cheatPanelInGame]Uses:560 550 551 553Used by:Timeline

Instance Names

"preloader"Frame 1Symbol 11 MovieClip
"mcMainMenu"Frame 2Symbol 43 MovieClip
"mcHighScores"Frame 2Symbol 95 MovieClip
"mcLoadSave"Frame 2Symbol 122 MovieClip
"mcModeSelector"Frame 2Symbol 134 MovieClip
"mcTutorial"Frame 2Symbol 168 MovieClip
"mcMap"Frame 2Symbol 177 MovieClip
"mcUpgrades"Frame 2Symbol 218 MovieClip
"mcEndGame"Frame 2Symbol 236 MovieClip
"mcCredits"Frame 2Symbol 252 MovieClip
"mcIngame"Frame 2Symbol 262 MovieClip
"mcStartup"Frame 2Symbol 270 MovieClip
"mcTexts"Frame 2Symbol 457 MovieClip [mcTexts]
"loaderbar"Symbol 11 MovieClip Frame 1Symbol 4 MovieClip
"mcTitle"Symbol 43 MovieClip Frame 1Symbol 22 MovieClip
"btnTutorial"Symbol 43 MovieClip Frame 1Symbol 26 MovieClip
"btnLoad"Symbol 43 MovieClip Frame 1Symbol 28 MovieClip
"btnNewGame"Symbol 43 MovieClip Frame 1Symbol 31 MovieClip
"btnHighScores"Symbol 43 MovieClip Frame 1Symbol 33 MovieClip
"btnMoreGames"Symbol 43 MovieClip Frame 1Symbol 35 MovieClip
"btnCredits"Symbol 43 MovieClip Frame 1Symbol 37 MovieClip
"mcBottomTexts"Symbol 43 MovieClip Frame 1Symbol 42 MovieClip
"tfName0"Symbol 95 MovieClip Frame 1Symbol 46 EditableText
"tfScore0"Symbol 95 MovieClip Frame 1Symbol 47 EditableText
"tfName1"Symbol 95 MovieClip Frame 1Symbol 48 EditableText
"tfScore1"Symbol 95 MovieClip Frame 1Symbol 49 EditableText
"tfName2"Symbol 95 MovieClip Frame 1Symbol 50 EditableText
"tfScore2"Symbol 95 MovieClip Frame 1Symbol 51 EditableText
"tfName3"Symbol 95 MovieClip Frame 1Symbol 52 EditableText
"tfScore3"Symbol 95 MovieClip Frame 1Symbol 53 EditableText
"tfName4"Symbol 95 MovieClip Frame 1Symbol 54 EditableText
"tfScore4"Symbol 95 MovieClip Frame 1Symbol 55 EditableText
"tfName5"Symbol 95 MovieClip Frame 1Symbol 56 EditableText
"tfScore5"Symbol 95 MovieClip Frame 1Symbol 57 EditableText
"tfName6"Symbol 95 MovieClip Frame 1Symbol 58 EditableText
"tfScore6"Symbol 95 MovieClip Frame 1Symbol 59 EditableText
"tfName7"Symbol 95 MovieClip Frame 1Symbol 60 EditableText
"tfScore7"Symbol 95 MovieClip Frame 1Symbol 61 EditableText
"tfName8"Symbol 95 MovieClip Frame 1Symbol 62 EditableText
"tfScore8"Symbol 95 MovieClip Frame 1Symbol 63 EditableText
"tfName9"Symbol 95 MovieClip Frame 1Symbol 64 EditableText
"tfScore9"Symbol 95 MovieClip Frame 1Symbol 65 EditableText
"btnScroll"Symbol 95 MovieClip Frame 1Symbol 71 MovieClip
"btnBack"Symbol 95 MovieClip Frame 1Symbol 74 MovieClip
"tfGold"Symbol 118 MovieClip Frame 1Symbol 113 EditableText
"tfLevel"Symbol 118 MovieClip Frame 1Symbol 115 EditableText
"tfDiff"Symbol 118 MovieClip Frame 1Symbol 117 EditableText
"content"Symbol 121 MovieClip Frame 1Symbol 118 MovieClip
"selectGlare"Symbol 121 MovieClip Frame 1Symbol 120 MovieClip
"tfInfo"Symbol 122 MovieClip Frame 1Symbol 97 EditableText
"mcTitle"Symbol 122 MovieClip Frame 1Symbol 100 MovieClip
"btnLoad"Symbol 122 MovieClip Frame 1Symbol 103 MovieClip
"btnBack"Symbol 122 MovieClip Frame 1Symbol 74 MovieClip
"btnSave"Symbol 122 MovieClip Frame 1Symbol 105 MovieClip
"mcSlot0"Symbol 122 MovieClip Frame 1Symbol 121 MovieClip
"mcSlot2"Symbol 122 MovieClip Frame 1Symbol 121 MovieClip
"mcSlot1"Symbol 122 MovieClip Frame 1Symbol 121 MovieClip
"mcSelectDiff"Symbol 134 MovieClip Frame 1Symbol 124 MovieClip
"btnDiff0"Symbol 134 MovieClip Frame 1Symbol 127 MovieClip
"btnDiff1"Symbol 134 MovieClip Frame 1Symbol 130 MovieClip
"btnDiff2"Symbol 134 MovieClip Frame 1Symbol 133 MovieClip
"btnBack"Symbol 134 MovieClip Frame 1Symbol 74 MovieClip
"mcPanelA"Symbol 168 MovieClip Frame 1Symbol 158 MovieClip
"btnDone"Symbol 168 MovieClip Frame 1Symbol 161 MovieClip
"btnNext"Symbol 168 MovieClip Frame 1Symbol 164 MovieClip
"btnBack"Symbol 168 MovieClip Frame 1Symbol 167 MovieClip
"mcPanelB"Symbol 168 MovieClip Frame 1Symbol 158 MovieClip
"btnStartBattle"Symbol 177 MovieClip Frame 1Symbol 176 MovieClip
"tf"Symbol 197 MovieClip Frame 1Symbol 196 EditableText
"tfCannon"Symbol 218 MovieClip Frame 1Symbol 182 EditableText
"tfArmor"Symbol 218 MovieClip Frame 1Symbol 183 EditableText
"tfMoveSpeed"Symbol 218 MovieClip Frame 1Symbol 184 EditableText
"tfTurnSpeed"Symbol 218 MovieClip Frame 1Symbol 185 EditableText
"tfReloadSpeed"Symbol 218 MovieClip Frame 1Symbol 186 EditableText
"tfCrew"Symbol 218 MovieClip Frame 1Symbol 187 EditableText
"tfFirepower"Symbol 218 MovieClip Frame 1Symbol 188 EditableText
"btnDone"Symbol 218 MovieClip Frame 1Symbol 191 MovieClip
"btnSave"Symbol 218 MovieClip Frame 1Symbol 194 MovieClip
"mcGold"Symbol 218 MovieClip Frame 1Symbol 197 MovieClip
"btnUndo"Symbol 218 MovieClip Frame 1Symbol 199 MovieClip
"mcLevelCannon"Symbol 218 MovieClip Frame 1Symbol 217 MovieClip
"mcLevelFirepower"Symbol 218 MovieClip Frame 1Symbol 217 MovieClip
"mcLevelReloadSpeed"Symbol 218 MovieClip Frame 1Symbol 217 MovieClip
"mcLevelCrew"Symbol 218 MovieClip Frame 1Symbol 217 MovieClip
"mcLevelTurnSpeed"Symbol 218 MovieClip Frame 1Symbol 217 MovieClip
"mcLevelArmor"Symbol 218 MovieClip Frame 1Symbol 217 MovieClip
"mcLevelMoveSpeed"Symbol 218 MovieClip Frame 1Symbol 217 MovieClip
"btnCannon"Symbol 218 MovieClip Frame 1Symbol 180 MovieClip
"btnFirepower"Symbol 218 MovieClip Frame 1Symbol 180 MovieClip
"btnReloadSpeed"Symbol 218 MovieClip Frame 1Symbol 180 MovieClip
"btnCrew"Symbol 218 MovieClip Frame 1Symbol 180 MovieClip
"btnTurnSpeed"Symbol 218 MovieClip Frame 1Symbol 180 MovieClip
"btnArmor"Symbol 218 MovieClip Frame 1Symbol 180 MovieClip
"btnMoveSpeed"Symbol 218 MovieClip Frame 1Symbol 180 MovieClip
"btnOk"Symbol 236 MovieClip Frame 1Symbol 161 MovieClip
"tfEpilogue"Symbol 236 MovieClip Frame 1Symbol 221 EditableText
"btnSubmit"Symbol 236 MovieClip Frame 1Symbol 224 MovieClip
"tfFinalScore"Symbol 236 MovieClip Frame 1Symbol 227 EditableText
"tfName"Symbol 236 MovieClip Frame 1Symbol 228 EditableText
"mcServerStatus"Symbol 236 MovieClip Frame 1Symbol 235 MovieClip
"btnLink"Symbol 251 MovieClip Frame 1Symbol 250 MovieClip
"mcCreditsPlate"Symbol 252 MovieClip Frame 1Symbol 251 MovieClip
"btnBack"Symbol 252 MovieClip Frame 1Symbol 161 MovieClip
"mcSea"Symbol 262 MovieClip Frame 1Symbol 261 MovieClip
"mcPlate"Symbol 270 MovieClip Frame 1Symbol 265 MovieClip
"mcStartupGiab"Symbol 270 MovieClip Frame 1Symbol 269 MovieClip
"sail1"Symbol 332 MovieClip [mcMast] Frame 1Symbol 314 MovieClip [mcShipSailNormal]
"sail2"Symbol 332 MovieClip [mcMast] Frame 1Symbol 314 MovieClip [mcShipSailNormal]
"flag"Symbol 332 MovieClip [mcMast] Frame 1Symbol 328 MovieClip
"hull"Symbol 333 MovieClip [mcShip2] Frame 1Symbol 280 MovieClip
"sailFront"Symbol 333 MovieClip [mcShip2] Frame 1Symbol 286 MovieClip [mcShipSailFront]
"sailRear"Symbol 333 MovieClip [mcShip2] Frame 1Symbol 291 MovieClip [mcSailRear]
"mast3"Symbol 333 MovieClip [mcShip2] Frame 1Symbol 332 MovieClip [mcMast]
"mast2"Symbol 333 MovieClip [mcShip2] Frame 1Symbol 332 MovieClip [mcMast]
"mast1"Symbol 333 MovieClip [mcShip2] Frame 1Symbol 332 MovieClip [mcMast]
"hull"Symbol 372 MovieClip [mcShip1] Frame 1Symbol 371 MovieClip
"sailFront"Symbol 372 MovieClip [mcShip1] Frame 1Symbol 286 MovieClip [mcShipSailFront]
"sailRear"Symbol 372 MovieClip [mcShip1] Frame 1Symbol 291 MovieClip [mcSailRear]
"mast3"Symbol 372 MovieClip [mcShip1] Frame 1Symbol 332 MovieClip [mcMast]
"mast2"Symbol 372 MovieClip [mcShip1] Frame 1Symbol 332 MovieClip [mcMast]
"mast1"Symbol 372 MovieClip [mcShip1] Frame 1Symbol 332 MovieClip [mcMast]
"hull"Symbol 383 MovieClip [mcShip3] Frame 1Symbol 382 MovieClip
"sailFront"Symbol 383 MovieClip [mcShip3] Frame 1Symbol 286 MovieClip [mcShipSailFront]
"sailRear"Symbol 383 MovieClip [mcShip3] Frame 1Symbol 291 MovieClip [mcSailRear]
"mast2"Symbol 383 MovieClip [mcShip3] Frame 1Symbol 332 MovieClip [mcMast]
"mast1"Symbol 383 MovieClip [mcShip3] Frame 1Symbol 332 MovieClip [mcMast]
"mast3"Symbol 383 MovieClip [mcShip3] Frame 1Symbol 332 MovieClip [mcMast]
"hull"Symbol 394 MovieClip [mcShip4] Frame 1Symbol 393 MovieClip
"sailFront"Symbol 394 MovieClip [mcShip4] Frame 1Symbol 286 MovieClip [mcShipSailFront]
"sailRear"Symbol 394 MovieClip [mcShip4] Frame 1Symbol 291 MovieClip [mcSailRear]
"mast2"Symbol 394 MovieClip [mcShip4] Frame 1Symbol 332 MovieClip [mcMast]
"mast3"Symbol 394 MovieClip [mcShip4] Frame 1Symbol 332 MovieClip [mcMast]
"mast1"Symbol 394 MovieClip [mcShip4] Frame 1Symbol 332 MovieClip [mcMast]
"hull"Symbol 405 MovieClip [mcShip5] Frame 1Symbol 404 MovieClip
"sailFront"Symbol 405 MovieClip [mcShip5] Frame 1Symbol 286 MovieClip [mcShipSailFront]
"sailRear"Symbol 405 MovieClip [mcShip5] Frame 1Symbol 291 MovieClip [mcSailRear]
"mast2"Symbol 405 MovieClip [mcShip5] Frame 1Symbol 332 MovieClip [mcMast]
"mast1"Symbol 405 MovieClip [mcShip5] Frame 1Symbol 332 MovieClip [mcMast]
"mast3"Symbol 405 MovieClip [mcShip5] Frame 1Symbol 332 MovieClip [mcMast]
"plate"Symbol 418 MovieClip [shipInfoPanel] Frame 1Symbol 408 MovieClip
"redFrame"Symbol 418 MovieClip [shipInfoPanel] Frame 1Symbol 410 MovieClip
"goldenFrame"Symbol 418 MovieClip [shipInfoPanel] Frame 1Symbol 412 MovieClip
"tfGold"Symbol 418 MovieClip [shipInfoPanel] Frame 1Symbol 414 EditableText
"tfCannons"Symbol 418 MovieClip [shipInfoPanel] Frame 1Symbol 415 EditableText
"tfCrew"Symbol 418 MovieClip [shipInfoPanel] Frame 1Symbol 416 EditableText
"tfShip"Symbol 418 MovieClip [shipInfoPanel] Frame 1Symbol 417 EditableText
"tfGold"Symbol 457 MovieClip [mcTexts] Frame 1Symbol 450 EditableText
"tfCannons"Symbol 457 MovieClip [mcTexts] Frame 1Symbol 451 EditableText
"tfCrew"Symbol 457 MovieClip [mcTexts] Frame 1Symbol 452 EditableText
"tfShip"Symbol 457 MovieClip [mcTexts] Frame 1Symbol 453 EditableText
"tfShipNum"Symbol 465 MovieClip [mcLevelInfoPanel] Frame 1Symbol 460 EditableText
"tfFlagshipName"Symbol 465 MovieClip [mcLevelInfoPanel] Frame 1Symbol 462 EditableText
"tfCause"Symbol 486 MovieClip [outcomePanelDefeat] Frame 1Symbol 468 EditableText
"btnOk"Symbol 486 MovieClip [outcomePanelDefeat] Frame 1Symbol 471 MovieClip
"tfFinalScore"Symbol 486 MovieClip [outcomePanelDefeat] Frame 1Symbol 474 EditableText
"tfName"Symbol 486 MovieClip [outcomePanelDefeat] Frame 1Symbol 475 EditableText
"btnSubmit"Symbol 486 MovieClip [outcomePanelDefeat] Frame 1Symbol 478 MovieClip
"mcServerStatus"Symbol 486 MovieClip [outcomePanelDefeat] Frame 1Symbol 485 MovieClip
"tfGoldPlundered"Symbol 501 MovieClip [outcomePanelVictory] Frame 1Symbol 490 EditableText
"tfCannonballs"Symbol 501 MovieClip [outcomePanelVictory] Frame 1Symbol 492 EditableText
"btnOk"Symbol 501 MovieClip [outcomePanelVictory] Frame 1Symbol 494 MovieClip
"tfAccuracyBonusTtl"Symbol 501 MovieClip [outcomePanelVictory] Frame 1Symbol 495 EditableText
"tfAccuracyBonus"Symbol 501 MovieClip [outcomePanelVictory] Frame 1Symbol 496 EditableText
"tfGoldEarned"Symbol 501 MovieClip [outcomePanelVictory] Frame 1Symbol 498 EditableText
"tfTotalScore"Symbol 501 MovieClip [outcomePanelVictory] Frame 1Symbol 500 EditableText
"tfVfxNumPerType"Symbol 523 MovieClip [mcOptions] Frame 1Symbol 507 EditableText
"tfVfxNum"Symbol 523 MovieClip [mcOptions] Frame 1Symbol 508 EditableText
"tfQuality"Symbol 523 MovieClip [mcOptions] Frame 1Symbol 509 EditableText
"tfSoundVolume"Symbol 523 MovieClip [mcOptions] Frame 1Symbol 510 EditableText
"btnDone"Symbol 523 MovieClip [mcOptions] Frame 1Symbol 512 MovieClip
"btnReturn"Symbol 523 MovieClip [mcOptions] Frame 1Symbol 515 MovieClip
"btnContinue"Symbol 523 MovieClip [mcOptions] Frame 1Symbol 518 MovieClip
"mcTfPaused"Symbol 523 MovieClip [mcOptions] Frame 1Symbol 522 MovieClip
"btnVfxNumPerType"Symbol 523 MovieClip [mcOptions] Frame 1Symbol 71 MovieClip
"btnVfxNum"Symbol 523 MovieClip [mcOptions] Frame 1Symbol 71 MovieClip
"btnQuality"Symbol 523 MovieClip [mcOptions] Frame 1Symbol 71 MovieClip
"btnSoundVolume"Symbol 523 MovieClip [mcOptions] Frame 1Symbol 71 MovieClip
"mcTf"Symbol 527 MovieClip [btnOptions] Frame 1Symbol 526 MovieClip
"tfCheatScore"Symbol 549 MovieClip Frame 1Symbol 542 EditableText
"tfCheatNextLevel"Symbol 549 MovieClip Frame 1Symbol 543 EditableText
"btnCheatLoad"Symbol 549 MovieClip Frame 1Symbol 546 MovieClip
"tfCheatDifficulty"Symbol 549 MovieClip Frame 1Symbol 548 EditableText
"bigContent"Symbol 554 MovieClip [cheatPanelLoadSave] Frame 1Symbol 549 MovieClip
"btnCheatWin"Symbol 560 MovieClip Frame 1Symbol 557 MovieClip
"btnCheatLoose"Symbol 560 MovieClip Frame 1Symbol 559 MovieClip
"bigContent"Symbol 561 MovieClip [cheatPanelInGame] Frame 1Symbol 560 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 131 bytes "..$1$yP$q5FzsGry9Dvqm2vCoWTAZ0."
ExportAssets (56)Timeline Frame 1Symbol 562 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.Main"
ExportAssets (56)Timeline Frame 1Symbol 563 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwRoot"
ExportAssets (56)Timeline Frame 1Symbol 564 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwMainMenu"
ExportAssets (56)Timeline Frame 1Symbol 565 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwEndGame"
ExportAssets (56)Timeline Frame 1Symbol 566 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwMap"
ExportAssets (56)Timeline Frame 1Symbol 567 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwTutorial"
ExportAssets (56)Timeline Frame 1Symbol 568 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwUpgrades"
ExportAssets (56)Timeline Frame 1Symbol 569 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwCredits"
ExportAssets (56)Timeline Frame 1Symbol 570 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwIngame"
ExportAssets (56)Timeline Frame 1Symbol 571 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwModeSelector"
ExportAssets (56)Timeline Frame 1Symbol 572 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwHighScores"
ExportAssets (56)Timeline Frame 1Symbol 573 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwLoadSave"
ExportAssets (56)Timeline Frame 1Symbol 574 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.mcw.McwStartup"
ExportAssets (56)Timeline Frame 1Symbol 575 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.constants.Z"
ExportAssets (56)Timeline Frame 1Symbol 576 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.util.VfxEngine"
ExportAssets (56)Timeline Frame 1Symbol 577 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.entity.Preferences"
ExportAssets (56)Timeline Frame 1Symbol 578 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.entity.Player"
ExportAssets (56)Timeline Frame 1Symbol 579 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.constants.StaticData"
ExportAssets (56)Timeline Frame 1Symbol 580 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.entity.LevelData"
ExportAssets (56)Timeline Frame 1Symbol 581 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.entity.ShipData"
ExportAssets (56)Timeline Frame 1Symbol 582 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.constants.StaticDataExt1"
ExportAssets (56)Timeline Frame 1Symbol 583 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlUpgrades"
ExportAssets (56)Timeline Frame 1Symbol 584 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.util.Strong2"
ExportAssets (56)Timeline Frame 1Symbol 585 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlLoadSave"
ExportAssets (56)Timeline Frame 1Symbol 586 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlModeSelector"
ExportAssets (56)Timeline Frame 1Symbol 587 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlMainMenu"
ExportAssets (56)Timeline Frame 1Symbol 588 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlCredits"
ExportAssets (56)Timeline Frame 1Symbol 589 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlIngame"
ExportAssets (56)Timeline Frame 1Symbol 590 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.entity.Ship"
ExportAssets (56)Timeline Frame 1Symbol 591 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.util.KeyCode"
ExportAssets (56)Timeline Frame 1Symbol 592 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.entity.Cannonball"
ExportAssets (56)Timeline Frame 1Symbol 593 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlTutorial"
ExportAssets (56)Timeline Frame 1Symbol 594 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlMap"
ExportAssets (56)Timeline Frame 1Symbol 595 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlHighScores"
ExportAssets (56)Timeline Frame 1Symbol 596 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlEndGame"
ExportAssets (56)Timeline Frame 1Symbol 597 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.ctrl.CtrlStartup"
ExportAssets (56)Timeline Frame 1Symbol 598 as "__Packages.com.gameInABottle.games.treasureOfCutlassReef.util.MathToolbox"
ExportAssets (56)Timeline Frame 2Symbol 19 as "ingameDoor"
ExportAssets (56)Timeline Frame 2Symbol 286 as "mcShipSailFront"
ExportAssets (56)Timeline Frame 2Symbol 291 as "mcSailRear"
ExportAssets (56)Timeline Frame 2Symbol 314 as "mcShipSailNormal"
ExportAssets (56)Timeline Frame 2Symbol 332 as "mcMast"
ExportAssets (56)Timeline Frame 2Symbol 333 as "mcShip2"
ExportAssets (56)Timeline Frame 2Symbol 336 as "mcDebris"
ExportAssets (56)Timeline Frame 2Symbol 339 as "mcBlast"
ExportAssets (56)Timeline Frame 2Symbol 342 as "mcVfxSmokeWhite"
ExportAssets (56)Timeline Frame 2Symbol 345 as "mcVfxSmokeBlack"
ExportAssets (56)Timeline Frame 2Symbol 350 as "pirateWheelShell"
ExportAssets (56)Timeline Frame 2Symbol 358 as "mcMapShip"
ExportAssets (56)Timeline Frame 2Symbol 361 as "mcSplash"
ExportAssets (56)Timeline Frame 2Symbol 372 as "mcShip1"
ExportAssets (56)Timeline Frame 2Symbol 383 as "mcShip3"
ExportAssets (56)Timeline Frame 2Symbol 394 as "mcShip4"
ExportAssets (56)Timeline Frame 2Symbol 405 as "mcShip5"
ExportAssets (56)Timeline Frame 2Symbol 418 as "shipInfoPanel"
ExportAssets (56)Timeline Frame 2Symbol 420 as "vfxInfoPanelBlast"
ExportAssets (56)Timeline Frame 2Symbol 424 as "ambient.wav"
ExportAssets (56)Timeline Frame 2Symbol 425 as "blast1.wav"
ExportAssets (56)Timeline Frame 2Symbol 426 as "blast2.wav"
ExportAssets (56)Timeline Frame 2Symbol 427 as "blast3.wav"
ExportAssets (56)Timeline Frame 2Symbol 428 as "cannon1.wav"
ExportAssets (56)Timeline Frame 2Symbol 429 as "cannon2.wav"
ExportAssets (56)Timeline Frame 2Symbol 430 as "cannon3.wav"
ExportAssets (56)Timeline Frame 2Symbol 431 as "cannon4.wav"
ExportAssets (56)Timeline Frame 2Symbol 432 as "cannon5.wav"
ExportAssets (56)Timeline Frame 2Symbol 433 as "cannon6.wav"
ExportAssets (56)Timeline Frame 2Symbol 434 as "closecombat.wav"
ExportAssets (56)Timeline Frame 2Symbol 435 as "tickOver.wav"
ExportAssets (56)Timeline Frame 2Symbol 436 as "tickPress.wav"
ExportAssets (56)Timeline Frame 2Symbol 437 as "cannon7.wav"
ExportAssets (56)Timeline Frame 2Symbol 438 as "cannon8.wav"
ExportAssets (56)Timeline Frame 2Symbol 439 as "cannon9.wav"
ExportAssets (56)Timeline Frame 2Symbol 440 as "cannon10.wav"
ExportAssets (56)Timeline Frame 2Symbol 441 as "cannon11.wav"
ExportAssets (56)Timeline Frame 2Symbol 442 as "cannon12.wav"
ExportAssets (56)Timeline Frame 2Symbol 443 as "blastBig.wav"
ExportAssets (56)Timeline Frame 2Symbol 444 as "plunder.wav"
ExportAssets (56)Timeline Frame 2Symbol 445 as "upgrade.wav"
ExportAssets (56)Timeline Frame 2Symbol 446 as "ingameDoorClose.wav"
ExportAssets (56)Timeline Frame 2Symbol 447 as "ingameDoorOpen.wav"
ExportAssets (56)Timeline Frame 2Symbol 448 as "ingameDoorCloseEnd.wav"
ExportAssets (56)Timeline Frame 2Symbol 457 as "mcTexts"
ExportAssets (56)Timeline Frame 2Symbol 465 as "mcLevelInfoPanel"
ExportAssets (56)Timeline Frame 2Symbol 486 as "outcomePanelDefeat"
ExportAssets (56)Timeline Frame 2Symbol 501 as "outcomePanelVictory"
ExportAssets (56)Timeline Frame 2Symbol 523 as "mcOptions"
ExportAssets (56)Timeline Frame 2Symbol 527 as "btnOptions"
ExportAssets (56)Timeline Frame 2Symbol 536 as "cloud"
ExportAssets (56)Timeline Frame 2Symbol 538 as "mcCannonball"
ExportAssets (56)Timeline Frame 2Symbol 554 as "cheatPanelLoadSave"
ExportAssets (56)Timeline Frame 2Symbol 561 as "cheatPanelInGame"

Labels

"white"Symbol 314 MovieClip [mcShipSailNormal] Frame 1
"black"Symbol 314 MovieClip [mcShipSailNormal] Frame 2
"red"Symbol 314 MovieClip [mcShipSailNormal] Frame 3
"reg1"Symbol 314 MovieClip [mcShipSailNormal] Frame 4
"reg2"Symbol 314 MovieClip [mcShipSailNormal] Frame 5
"reg3"Symbol 314 MovieClip [mcShipSailNormal] Frame 6
"boss1"Symbol 314 MovieClip [mcShipSailNormal] Frame 7
"boss2"Symbol 314 MovieClip [mcShipSailNormal] Frame 8
"boss3"Symbol 314 MovieClip [mcShipSailNormal] Frame 9
"boss4"Symbol 314 MovieClip [mcShipSailNormal] Frame 10
"boss5"Symbol 314 MovieClip [mcShipSailNormal] Frame 11
"boss6"Symbol 314 MovieClip [mcShipSailNormal] Frame 12
"boss7"Symbol 314 MovieClip [mcShipSailNormal] Frame 13
"boss8"Symbol 314 MovieClip [mcShipSailNormal] Frame 14
"boss9"Symbol 314 MovieClip [mcShipSailNormal] Frame 15
"boss10"Symbol 314 MovieClip [mcShipSailNormal] Frame 16
"boss11"Symbol 314 MovieClip [mcShipSailNormal] Frame 17
"boss12"Symbol 314 MovieClip [mcShipSailNormal] Frame 18




http://swfchan.com/1/2165/info.shtml
Created: 17/6 -2019 16:54:06 Last modified: 17/6 -2019 16:54:06 Server time: 21/12 -2024 15:03:46