Frame 1
_global.openSite = function () {
getURL ("http://www.gametop.com/?utm_source=Pirates&utm_medium=flashGame", "_blank");
};
Instance of Symbol 20 MovieClip "bar" in Frame 1
onClipEvent (load) {
_xscale = 0;
}
onClipEvent (enterFrame) {
l = _root.getBytesLoaded();
t = _root.getBytesTotal();
_xscale = ((l / t) * 100);
_root.tf_loader.text = Math.round((l / t) * 100) + " %";
if ((l == t) && (t > 50)) {
_root.gotoAndPlay("lang");
}
}
Instance of Symbol 24 MovieClip in Frame 2
on (press) {
openSite();
}
Frame 3
stop();
Instance of Symbol 29 MovieClip in Frame 3
on (press) {
openSite();
}
Instance of Symbol 545 MovieClip [isle_big] in Frame 4
/* no clip actions */
Frame 5
_global.language_pre = "en";
_root.nextFrame();
Frame 6
function globalStart() {
debug("Try to start game");
if (_global.settingsLoaded === true) {
debug("STARTING GAME");
_global.slidingBg = true;
_global.maxLevelItem = 0;
_global.currLevel = _global.levels["level_" + levelNum];
_global.gameOver = false;
_global.gameInProcess = true;
if (_global.levelNum == 1) {
_global.fullRezults = {killed:0, coins:0, coinsAll:0, enemyzAll:0};
}
_global.rezults = {killed:0, coins:0, coinsAll:0, enemyzAll:0};
_global.staticObjects = new Array();
_global.bonusObjects = new Array();
_global.bulletObjects = new Array();
_global.enemyObjects = new Array();
_global.splashedObjects = new Array();
_root.bg.env.depth = 0;
_root.bg.fx.depth = 0;
_root.bg.splashez.depth = 0;
_root.bg.envTop.depth = 0;
_root.bg.enemyMC.depth = 0;
_root.bg.attachMovie("queue", "queue", _root.bg.getNextHighestDepth());
_global.PI2 = 57.2957795130823;
_root.clockEFid = _global.queue.addFunc(clockAdder, _root, 5);
_root.changeBGSpeedEFid = _global.queue.addFunc(changeBGSpeed, _root.bg, 15);
_root.bg.moveTo(0, 400);
_root.bg.setMotion(0, 1);
_root.bg.inQueue(20);
_root.bg.player.setMotion(playerS.speed, playerS.speed);
var _local3 = ((currLevel.playerArmor == undefined) ? (playerS.maxArmor) : (currLevel.playerArmor));
var _local4 = ((currLevel.playerShield == undefined) ? (playerS.maxShield) : (currLevel.playerShield));
_root.bg.player.initTank(playerS.base, playerS.gun, undefined, _local3, playerS.withoutBase, _local4, playerS.maxShield, playerS.maxArmor);
_root.bg.player.initGun(0, playerS.weapons[0].shotsTime, 0, playerS.weapons[0].bulletType, playerS.weapons[0].bulletSpeed, playerS.weapons[0].flySteps, playerS.weapons[0].flyMinScale, playerS.weapons[0].flyDistance, playerS.weapons[0].bulletDamage, playerS.weapons[0].splashDamage, playerS.weapons[0].damageRadius, playerS.weapons[0].splashDelay);
i = 1;
while (i < currLevel.playerAvailableWeapons) {
_root.bg.player.addGun(0, playerS.weapons[i].shotsTime, 0, playerS.weapons[i].bulletType, playerS.weapons[i].bulletSpeed, playerS.weapons[i].flySteps, playerS.weapons[i].flyMinScale, playerS.weapons[i].flyDistance, playerS.weapons[i].bulletDamage, playerS.weapons[i].splashDamage, playerS.weapons[i].damageRadius, playerS.weapons[i].splashDelay);
i++;
}
_root.bg.player.inQueue(10);
if (playerS.soundKills != undefined) {
_root.bg.player.soundKills = playerS.soundKills;
}
bg.oEF2 = mainOEF;
_root.bgEFid = _global.queue.addFunc(_root.bg.oEF2, _root.bg, 90);
_global.rezults.coinsAll = 0;
_global.rezults.enemyzAll = 0;
var i = 0;
while (i < _global.currLevel.level.length) {
if (_global.currLevel.level[i].bonus == "coin") {
_global.rezults.coinsAll++;
}
if (_global.currLevel.level[i].tank != undefined) {
_global.rezults.enemyzAll++;
}
if (_global.currLevel.level[i].tank != undefined) {
_global.maxLevelItem = Math.max(_global.maxLevelItem, _global.currLevel.level[i].yoffset);
}
i++;
}
debug("\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u044B\u0439 \u043E\u0431\u044A\u0435\u043A\u0442 " + _global.maxLevelItem);
setProgressBar(0, _global.maxLevelItem);
_global.maxLevelItem = _global.maxLevelItem + 1.5;
_root.wndComplete._visible = false;
_root.wndPause._visible = false;
_root.bossBar._visible = false;
_global.sound.width = 550;
_global.queue.addFunc(sound.oEF, sound, 95);
_root.bg.lineGrid._y = _global.envS.newObjectYOffset;
if (_global.envS.debug != 1) {
_root.bottomRuler._visible = (_root.bg.lineGrid._visible = (_root.tfTimer._visible = (_root.error._visible = false)));
}
_global.gameTimeStart = getTimer();
_global.keyGetter = new Object();
keyGetter.onKeyDown = makePause;
keyGetter.onMouseWheel = changeWeaponByMouse;
Key.addListener(_global.keyGetter);
Mouse.addListener(_global.keyGetter);
_global.levelCompleteDelayCounter = 0;
_global.usingBar = ((currLevel.bar == 0) ? false : true);
_root.gui.progress.bar._visible = _global.usingBar;
_root.fastZone._visible = (_root.slowZone._visible = false);
if ((_global.currLevel.playerX != undefined) && (_global.currLevel.playerY != undefined)) {
trace("\u043F\u043E \u0443\u0440\u043E\u0432\u043D\u044E");
_root.bg.player.moveTo(_global.currLevel.playerX, -_global.currLevel.playerY);
} else {
trace("\u043F\u043E \u0434\u0435\u0444\u043E\u043B\u0442\u0443");
_root.bg.player.moveTo(playerS.startX, -playerS.startY);
}
_root.gui._visible = true;
_global.levelTime = 0;
_global.levelTimeS = getTimer();
} else {
debug("XML data not loaded yet");
}
}
function endGameOutput() {
_root.wndComplete.flag = true;
with (_root.wndComplete) {
_visible = true;
_root.wndComplete.title_mc.gotoAndStop(4);
var ttz = _global.envS["textZ_" + language_pre];
tf1_.htmlText = ("<p align=\"right\">" + ttz.completeString1) + "</p>";
tf2_.htmlText = ("<p align=\"right\">" + ttz.completeString2) + "</p>";
tf3_.htmlText = ("<p align=\"right\">" + ttz.completeString3) + "</p>";
tf1.text = (_global.fullRezults.killed + " / ") + _global.fullRezults.enemyzAll;
tf2.text = (_global.fullRezults.coins + " / ") + _global.fullRezults.coinsAll;
var dt = Math.round(_global.levelTime / 1000);
var st = (dt % 60);
if (st < 10) {
st = "0" + st;
}
var tt = Math.floor(dt / 60);
if (tt < 10) {
tt = "0" + tt;
}
tf3.text = (tt + ":") + st;
var p = (Math.round((1000 * _global.fullRezults.hits) / _global.fullRezults.shots) / 10);
if (isNaN(p)) {
p = 0;
}
tf5.text = p + " %";
}
}
System.useCodepage = true;
fscommand ("trapallkeys", true);
trace("init");
_root.depth = 0;
XML.prototype.ignoreWhite = true;
_global.settingsLoaded = false;
System.useCodepage = true;
fscommand ("trapallkeys", true);
_focusrect = false;
fscommand ("showmenu", false);
createXML = function () {
var _local3 = new XML(str);
_global.settingsLoaded = true;
debug("Settings loaded; parsing...");
var _local2 = 0;
while (_local2 < _local3.firstChild.childNodes.length) {
foo = _local3.firstChild.childNodes[_local2];
parseXMLtoVars(foo, _global);
_local2++;
}
};
_global.xmlErrors = new Array("A CDATA section was not properly terminated.", "The XML declaration was not properly terminated.", "The DOCTYPE declaration was not properly terminated.", "A comment was not properly terminated.", "An XML element was malformed.", "Out of memory.", "An attribute value was not properly terminated.", "A start-tag was not matched with an end-tag.", "An end-tag was encountered without a matching start-tag.");
parseXMLtoVars = function (xml, target) {
if (xml.nodeName == "var") {
var _local4 = xml.attributes.value;
if ((_local4 == undefined) && (xml.nodeValue == null)) {
_local4 = xml.childNodes.join("");
}
if (String(parseFloat(_local4)) == _local4) {
_local4 = parseFloat(_local4);
}
if (xml.attributes.name != null) {
target[xml.attributes.name] = _local4;
// unexpected jump
}
return(_local4);
}
if (xml.nodeName == "array") {
target[xml.attributes.name] = new Array();
var _local3 = target[xml.attributes.name];
var _local2 = 0;
while (_local2 < xml.childNodes.length) {
_local3.push(parseXMLtoVars(xml.childNodes[_local2]));
_local2++;
}
} else if (xml.nodeName == "object") {
var _local3 = new Object();
for (var _local2 in xml.attributes) {
if (_local2 != "name") {
parseXMLtoVars(new XML(((("<var name=\"" + _local2) + "\"\tvalue=\"") + xml.attributes[_local2]) + "\" />").firstChild, _local3);
}
}
var _local2 = 0;
while (_local2 < xml.childNodes.length) {
parseXMLtoVars(xml.childNodes[_local2], _local3);
_local2++;
}
if (xml.attributes.name != null) {
target[xml.attributes.name] = _local3;
} else {
return(_local3);
}
}
};
str = "";
str = str + "<?xml version=\"1.0\" encoding=\"windows-1251\"?>";
str = str + "<settings>";
str = str + "<object name=\"envS\">";
str = str + "<object name=\"playerOffset\">";
str = str + "<var name=\"top\" value=\"20\" />";
str = str + "<var name=\"bottom\" value=\"15\" />";
str = str + "<var name=\"left\" value=\"15\" />";
str = str + "<var name=\"right\" value=\"15\" />";
str = str + "</object>";
str = str + "<object name=\"enemyOffset\">";
str = str + "<var name=\"top\" value=\"-150\" />";
str = str + "<var name=\"bottom\" value=\"-50\" />";
str = str + "<var name=\"left\" value=\"-150\" />";
str = str + "<var name=\"right\" value=\"-150\" />";
str = str + "</object>";
str = str + "<object name=\"bulletOffset\">";
str = str + "<var name=\"top\" value=\"-30\" />";
str = str + "<var name=\"bottom\" value=\"-10\" />";
str = str + "<var name=\"left\" value=\"-10\" />";
str = str + "<var name=\"right\" value=\"-10\" />";
str = str + "</object>";
str = str + "<object name=\"allOffset\">";
str = str + "<var name=\"top\" value=\"-150\" />";
str = str + "<var name=\"bottom\" value=\"-150\" />";
str = str + "<var name=\"left\" value=\"-30\" />";
str = str + "<var name=\"right\" value=\"-30\" />";
str = str + "</object>";
str = str + "<object name=\"blinks\">";
str = str + "<object name=\"hit\" color=\"#FF0000\" amount=\"40\" times=\"5\" step=\"2\" />";
str = str + "<object name=\"shield\" color=\"#0066cc\" amount=\"40\" times=\"3\" step=\"2\" />";
str = str + "<object name=\"takebonus\" color=\"#FFFFFF\" amount=\"40\" times=\"5\" step=\"3\" />";
str = str + "</object>";
str = str + "<object name=\"textZ_en\">";
str = str + "<var name=\"intro\" >How to Play:<br />You need to get to the end of the level destroying as many enemy units on your way as possible.<br />Pick up bonuses and health packs - they are going to help you on your mission.<br /><br />Controls:<br />The Ship is controlled by the arrow keys \u201Cleft\u201D, \u201Cright\u201D, \u201Cup\u201D and \u201Cdown\u201D, or keys \u201CW\u201D, \u201CA\u201D, \u201CS\u201D & \u201CD\u201D.<br />Use the mouse cursor to aim.<br />Use left mouse key to fire.</var>";
str = str + "<var name=\"completeString1\" >Enemies destroyed :</var>";
str = str + "<var name=\"completeString2\" >Coins collected :</var>";
str = str + "<var name=\"completeString3\" >Time :</var>";
str = str + "<var name=\"completeString4\" >Shots :</var>";
str = str + "<var name=\"completeString5\" >Accuracy :</var>";
str = str + "<var name=\"playerDiedTitle\" >Game Over</var>";
str = str + "<var name=\"levelCompleteTitle\" >Level Completed!</var>";
str = str + "<var name=\"gameCompleteTitle\" >You have Completed the Game!</var>";
str = str + "<var name=\"gamePausedTitle\" >Pause</var>";
str = str + "<var name=\"gamePausedString\" ><br /><br /><br /><b>Return to the game?</b></var>";
str = str + "</object>";
str = str + "<var name=\"screenSpeed\" value=\"2\" />";
str = str + "<var name=\"screenFastSpeed\" value=\"2\" />";
str = str + "<var name=\"screenSlowSpeed\" value=\"1\" />";
str = str + "<var name=\"screenSpeedFactorUp\" value=\"1.1\" />";
str = str + "<var name=\"screenSpeedFactorDown\" value=\"0.95\" />";
str = str + "<var name=\"debug\" value=\"0\" />";
str = str + "<var name=\"lazerDebug\" value=\"0\" />";
str = str + "<var name=\"soundDebug\" value=\"0\" />";
str = str + "<var name=\"multipleFireAngle\" value=\"15\" />";
str = str + "<var name=\"newObjectYOffset\" value=\"-100\" />";
str = str + "<var name=\"splashTests\" value=\"5\" />";
str = str + "<var name=\"levelCompleteDelay\" value=\"50\" />";
str = str + "<var name=\"defaultRotation\" value=\"0\" />";
str = str + "<var name=\"soundKills\" value=\"eexplode\" />";
str = str + "</object>";
str = str + "<object name=\"playerS\">";
str = str + "<var name=\"speed\" value=\"5\" />";
str = str + "<var name=\"speedFactor\" value=\"15\" />";
str = str + "<var name=\"rotationFactor\" value=\"10\" />";
str = str + "<var name=\"base\" value=\"ship_player\" />";
str = str + "<var name=\"gun\" value=\"player_gun\" />";
str = str + "<var name=\"maxArmor\" value=\"100\" />";
str = str + "<var name=\"maxShield\" value=\"0\" />";
str = str + "<var name=\"recoil\" value=\"0\" />";
str = str + "<var name=\"recoilLength\" value=\"1\" />";
str = str + "<var name=\"startX\" value=\"275\" />";
str = str + "<var name=\"startY\" value=\"100\" />";
str = str + "<var name=\"withoutBase\" value=\"1\" />";
str = str + "<var name=\"soundKills\" value=\"eexplode\" />";
str = str + "<array name=\"weapons\">";
str = str + "<object>";
str = str + "<var name=\"bulletType\" value=\"ball\" />";
str = str + "<var name=\"bulletSpeed\" value=\"2\" />";
str = str + "<var name=\"bulletDamage\" value=\"1\" />";
str = str + "<var name=\"shotsTime\" value=\"15\" />";
str = str + "<var name=\"splashDamage\" value=\"11\" />";
str = str + "<var name=\"damageRadius\" value=\"50\" />";
str = str + "<var name=\"splashDelay\" value=\"2\" />";
str = str + "<var name=\"flySteps\" value=\"30\" />";
str = str + "<var name=\"flyMinScale\" value=\"20\" />";
str = str + "</object>";
str = str + "</array>";
str = str + "</object>";
str = str + "<object name=\"mainUnits\">";
str = str + "<object name=\"ship_big\">";
str = str + "<var name=\"base\"value=\"ship_big\" />";
str = str + "<var name=\"gun\"value=\"ship_gun, ship_gun, ship_gun\" />";
str = str + "<var name=\"armor\"value=\"50\" />";
str = str + "<var name=\"bulletType\"value=\"ball_dir, ball_dir, ball_dir\" />";
str = str + "<var name=\"cannonTimeOffset\"value=\"0, 48, 48\" />";
str = str + "<var name=\"flySteps\"value=\" 0, 0, 0\" />";
str = str + "<var name=\"flyMinScale\"value=\"10, 10, 10\" />";
str = str + "<var name=\"flyDistance\"value=\"100, 100, 100\" />";
str = str + "<var name=\"cannonAngle\"value=\"t, h45, h-45\" />";
str = str + "<var name=\"splashDamage\" value=\"20, 20, 20\" />";
str = str + "<var name=\"damageRadius\" value=\"50, 50, 50\" />";
str = str + "<var name=\"bulletSpeed\"value=\"8, 8, 8\" />";
str = str + "<var name=\"bulletDamage\"value=\"25, 25, 25\" />";
str = str + "<var name=\"reloadingTime\"value=\"96, 96, 96\" />";
str = str + "<var name=\"clip\"value=\"4, 2, 2\" />";
str = str + "<var name=\"shotsTime\"value=\"4, 8, 8\" />";
str = str + "<var name=\"ai\"value=\"0\" />";
str = str + "<var name=\"withoutBase\"value=\"0\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"ship_huge\">";
str = str + "<var name=\"base\"value=\"ship_huge\" />";
str = str + "<var name=\"gun\"value=\"ship_gun, ship_gun, ship_gun, ship_gun\" />";
str = str + "<var name=\"armor\"value=\"80\" />";
str = str + "<var name=\"bulletType\"value=\"ball_dir, ball_fire, ball_fire, ball_fire\" />";
str = str + "<var name=\"cannonTimeOffset\"value=\"24, 0, 0, 0\" />";
str = str + "<var name=\"flySteps\"value=\"0, 60, 60, 60\" />";
str = str + "<var name=\"flyMinScale\"value=\"10, 10, 10, 10\" />";
str = str + "<var name=\"flyDistance\"value=\"100, 250, 250, 250\" />";
str = str + "<var name=\"cannonAngle\"value=\"t, h45, h-45, h0\" />";
str = str + "<var name=\"splashDamage\" value=\"0, 20, 20, 20\" />";
str = str + "<var name=\"damageRadius\" value=\"50, 100, 100, 100\" />";
str = str + "<var name=\"bulletSpeed\"value=\"8, 8, 8, 8\" />";
str = str + "<var name=\"bulletDamage\"value=\"25, 0, 0, 0\" />";
str = str + "<var name=\"reloadingTime\"value=\"72, 32, 32, 32\" />";
str = str + "<var name=\"clip\"value=\"4, 1, 1, 1\" />";
str = str + "<var name=\"shotsTime\"value=\"2, 2, 2, 2\" />";
str = str + "<var name=\"ai\"value=\"0\" />";
str = str + "<var name=\"withoutBase\"value=\"0\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"ship_lite\">";
str = str + "<var name=\"base\"value=\"ship_lite\" />";
str = str + "<var name=\"gun\"value=\"ship_gun\" />";
str = str + "<var name=\"armor\"value=\"10\" />";
str = str + "<var name=\"bulletType\"value=\"ball_dir\" />";
str = str + "<var name=\"cannonTimeOffset\"value=\"5\" />";
str = str + "<var name=\"flySteps\"value=\"0\" />";
str = str + "<var name=\"flyMinScale\"value=\"5\" />";
str = str + "<var name=\"flyDistance\"value=\"200\" />";
str = str + "<var name=\"cannonAngle\"value=\"t\" />";
str = str + "<var name=\"splashDamage\" value=\"15\" />";
str = str + "<var name=\"damageRadius\" value=\"100\" />";
str = str + "<var name=\"bulletSpeed\"value=\"8\" />";
str = str + "<var name=\"bulletDamage\"value=\"10\" />";
str = str + "<var name=\"reloadingTime\"value=\"96\" />";
str = str + "<var name=\"clip\"value=\"1\" />";
str = str + "<var name=\"shotsTime\"value=\"51\" />";
str = str + "<var name=\"ai\"value=\"0\" />";
str = str + "<var name=\"withoutBase\"value=\"0\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"ship_galera\">";
str = str + "<var name=\"base\"value=\"ship_galera\" />";
str = str + "<var name=\"gun\"value=\"ship_gun, ship_gun\" />";
str = str + "<var name=\"armor\"value=\"30\" />";
str = str + "<var name=\"bulletType\"value=\"ball_dir, ball_fire\" />";
str = str + "<var name=\"cannonTimeOffset\"value=\"0, 24\" />";
str = str + "<var name=\"flySteps\"value=\"0, 60\" />";
str = str + "<var name=\"flyMinScale\"value=\"20, 20\" />";
str = str + "<var name=\"flyDistance\"value=\"100, 100\" />";
str = str + "<var name=\"cannonAngle\"value=\"t, t\" />";
str = str + "<var name=\"splashDamage\" value=\"0, 25\" />";
str = str + "<var name=\"damageRadius\" value=\"50, 150\" />";
str = str + "<var name=\"bulletSpeed\"value=\"10, 10\" />";
str = str + "<var name=\"bulletDamage\"value=\"20, 0\" />";
str = str + "<var name=\"reloadingTime\"value=\"60, 60\" />";
str = str + "<var name=\"clip\"value=\"3, 1\" />";
str = str + "<var name=\"shotsTime\"value=\"4, 4\" />";
str = str + "<var name=\"ai\"value=\"0\" />";
str = str + "<var name=\"withoutBase\"value=\"0\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"ship_med\">";
str = str + "<var name=\"base\"value=\"ship_med\" />";
str = str + "<var name=\"gun\"value=\"ship_gun, ship_gun\" />";
str = str + "<var name=\"armor\"value=\"30\" />";
str = str + "<var name=\"bulletType\"value=\"ball_dir, ball_dir\" />";
str = str + "<var name=\"cannonTimeOffset\"value=\"0, 24\" />";
str = str + "<var name=\"flySteps\"value=\"0, 0\" />";
str = str + "<var name=\"flyMinScale\"value=\"10, 10\" />";
str = str + "<var name=\"flyDistance\"value=\"100, 100\" />";
str = str + "<var name=\"cannonAngle\"value=\"t, t\" />";
str = str + "<var name=\"splashDamage\" value=\"15, 15\" />";
str = str + "<var name=\"damageRadius\" value=\"50, 50\" />";
str = str + "<var name=\"bulletSpeed\"value=\"8, 8\" />";
str = str + "<var name=\"bulletDamage\"value=\"20, 30\" />";
str = str + "<var name=\"reloadingTime\"value=\"108, 108\" />";
str = str + "<var name=\"clip\"value=\"1, 1\" />";
str = str + "<var name=\"shotsTime\"value=\"5, 5\" />";
str = str + "<var name=\"ai\"value=\"0\" />";
str = str + "<var name=\"withoutBase\"value=\"0\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"ship_med2\">";
str = str + "<var name=\"base\"value=\"ship_med\" />";
str = str + "<var name=\"gun\"value=\"ship_gun\" />";
str = str + "<var name=\"armor\"value=\"30\" />";
str = str + "<var name=\"bulletType\"value=\"ball_dir\" />";
str = str + "<var name=\"cannonTimeOffset\"value=\"0\" />";
str = str + "<var name=\"flySteps\"value=\"0\" />";
str = str + "<var name=\"flyMinScale\"value=\"10\" />";
str = str + "<var name=\"flyDistance\"value=\"100\" />";
str = str + "<var name=\"cannonAngle\"value=\"t\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"50\" />";
str = str + "<var name=\"bulletSpeed\"value=\"8\" />";
str = str + "<var name=\"bulletDamage\"value=\"20\" />";
str = str + "<var name=\"reloadingTime\"value=\"72\" />";
str = str + "<var name=\"clip\"value=\"3\" />";
str = str + "<var name=\"shotsTime\"value=\"4\" />";
str = str + "<var name=\"ai\"value=\"0\" />";
str = str + "<var name=\"withoutBase\"value=\"0\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"ship_grob\">";
str = str + "<var name=\"base\"value=\"ship_grob\" />";
str = str + "<var name=\"gun\"value=\"ship_gun, ship_gun\" />";
str = str + "<var name=\"armor\"value=\"20\" />";
str = str + "<var name=\"bulletType\"value=\"ball_dir, ball_dir\" />";
str = str + "<var name=\"cannonTimeOffset\"value=\"10000, 10000\" />";
str = str + "<var name=\"flySteps\"value=\"0, 0\" />";
str = str + "<var name=\"flyMinScale\"value=\"20, 20\" />";
str = str + "<var name=\"flyDistance\"value=\"100, 100\" />";
str = str + "<var name=\"cannonAngle\"value=\"t, t\" />";
str = str + "<var name=\"splashDamage\" value=\"15, 15\" />";
str = str + "<var name=\"damageRadius\" value=\"50, 50\" />";
str = str + "<var name=\"bulletSpeed\"value=\"8, 8\" />";
str = str + "<var name=\"bulletDamage\"value=\"10, 10\" />";
str = str + "<var name=\"reloadingTime\"value=\"96, 96\" />";
str = str + "<var name=\"clip\"value=\"1, 1\" />";
str = str + "<var name=\"shotsTime\"value=\"5, 5\" />";
str = str + "<var name=\"ai\"value=\"0\" />";
str = str + "<var name=\"withoutBase\"value=\"0\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"ship_grob2\">";
str = str + "<var name=\"base\"value=\"ship_grob\" />";
str = str + "<var name=\"gun\"value=\"ship_gun, ship_gun, ship_gun, ship_gun, ship_gun\" />";
str = str + "<var name=\"armor\"value=\"20\" />";
str = str + "<var name=\"bulletType\"value=\"ball_fire, ball_fire, ball_fire, ball_fire, ball_fire\" />";
str = str + "<var name=\"cannonTimeOffset\"value=\"0, 0, 0, 0, 0\" />";
str = str + "<var name=\"flySteps\"value=\"50, 50, 50, 50, 50\" />";
str = str + "<var name=\"flyMinScale\"value=\"20, 20, 20, 20, 20\" />";
str = str + "<var name=\"flyDistance\"value=\"150, 150, 150, 150, 150\" />";
str = str + "<var name=\"cannonAngle\"value=\"h0, h45, h90, h-45, h-90\" />";
str = str + "<var name=\"splashDamage\" value=\"15, 15, 15, 15, 15\" />";
str = str + "<var name=\"damageRadius\" value=\"100, 100, 100, 100, 100\" />";
str = str + "<var name=\"bulletSpeed\"value=\"8, 8\" />";
str = str + "<var name=\"bulletDamage\"value=\"0, 0, 0, 0, 0\" />";
str = str + "<var name=\"reloadingTime\"value=\"96, 96, 96, 96, 96\" />";
str = str + "<var name=\"clip\"value=\"1, 1, 1, 1, 1\" />";
str = str + "<var name=\"shotsTime\"value=\"1, 1, 1, 1, 1\" />";
str = str + "<var name=\"ai\"value=\"0\" />";
str = str + "<var name=\"withoutBase\"value=\"0\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"ship_shark\">";
str = str + "<var name=\"base\"value=\"ship_shark\" />";
str = str + "<var name=\"gun\"value=\"ship_gun\" />";
str = str + "<var name=\"armor\"value=\"10\" />";
str = str + "<var name=\"bulletType\"value=\"ball\" />";
str = str + "<var name=\"cannonTimeOffset\"value=\"0\" />";
str = str + "<var name=\"flySteps\"value=\"55\" />";
str = str + "<var name=\"flyMinScale\"value=\"20\" />";
str = str + "<var name=\"flyDistance\"value=\"100\" />";
str = str + "<var name=\"cannonAngle\"value=\"t\" />";
str = str + "<var name=\"splashDamage\" value=\"225\" />";
str = str + "<var name=\"damageRadius\" value=\"50\" />";
str = str + "<var name=\"bulletSpeed\"value=\"6\" />";
str = str + "<var name=\"bulletDamage\"value=\"30\" />";
str = str + "<var name=\"reloadingTime\"value=\"20000\" />";
str = str + "<var name=\"clip\"value=\"2\" />";
str = str + "<var name=\"shotsTime\"value=\"20000\" />";
str = str + "<var name=\"ai\"value=\"0\" />";
str = str + "<var name=\"withoutBase\"value=\"0\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"galeraboss\">";
str = str + "<var name=\"base\"value=\"ship_bigGrob\" />";
str = str + "<var name=\"gun\"value=\"t_gun, t_gun\" />";
str = str + "<var name=\"armor\"value=\"200\" />";
str = str + "<var name=\"bulletType\"value=\"ball_fire, ball_dir\" />";
str = str + "<var name=\"cannonTimeOffset\"value=\"0, 48\" />";
str = str + "<var name=\"flySteps\"value=\"55, 0\" />";
str = str + "<var name=\"flyMinScale\"value=\"20, 20\" />";
str = str + "<var name=\"flyDistance\"value=\"100, 100\" />";
str = str + "<var name=\"cannonAngle\"value=\"t, t\" />";
str = str + "<var name=\"splashDamage\" value=\"10, 10\" />";
str = str + "<var name=\"damageRadius\" value=\"100, 10\" />";
str = str + "<var name=\"bulletSpeed\"value=\"8, 8\" />";
str = str + "<var name=\"bulletDamage\"value=\"10, 10\" />";
str = str + "<var name=\"reloadingTime\"value=\"96, 96\" />";
str = str + "<var name=\"clip\"value=\"4, 8\" />";
str = str + "<var name=\"shotsTime\"value=\"6, 3\" />";
str = str + "<var name=\"ai\"value=\"0\" />";
str = str + "<var name=\"withoutBase\"value=\"0\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"warshipboss\">";
str = str + "<var name=\"base\"value=\"ship_warship\" />";
str = str + "<var name=\"gun\"value=\"t_gun, t_gun, t_gun, t_gun, t_gun, ship_gun, ship_gun, ship_gun, ship_gun, ship_gun, ship_gun, ship_gun\" />";
str = str + "<var name=\"armor\"value=\"800\" />";
str = str + "<var name=\"bulletType\"value=\"ball_dir, ball_dir, ball_dir, ball_dir, ball_fire, ball_fire, ball_fire, ball_fire, ball_fire, ball_fire, ball_fire, ball_fire\" />";
str = str + "<var name=\"cannonTimeOffset\"value=\"80, 80, 140, 140, 0, 0, 0, 0, 0, 0, 0, 0\" />";
str = str + "<var name=\"flySteps\"value=\"0, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 50\" />";
str = str + "<var name=\"flyMinScale\"value=\"0, 0, 0, 0, 20, 20, 20, 20, 20, 20, 20, 20\" />";
str = str + "<var name=\"flyDistance\"value=\"0, 0, 0, 0, 200, 200, 200, 200, 200, 200, 200, 200\" />";
str = str + "<var name=\"cannonAngle\"value=\"t, t, t, t, h0, h45, h90, h135, h180, h-45, h-90, h-135\" />";
str = str + "<var name=\"splashDamage\" value=\"0, 0, 0, 0, 20, 20, 20, 20, 20, 20, 20, 20\" />";
str = str + "<var name=\"damageRadius\" value=\"1, 1, 1, 1, 180, 180, 180, 180, 180, 180, 180, 180\" />";
str = str + "<var name=\"bulletSpeed\"value=\"10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10\" />";
str = str + "<var name=\"bulletDamage\"value=\"15, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 0\" />";
str = str + "<var name=\"reloadingTime\"value=\"172,172, 160, 160, 180, 180, 180, 180, 180, 180, 180, 180\" />";
str = str + "<var name=\"clip\"value=\"2, 2, 10, 10, 1, 1, 1, 1, 1, 1, 1, 1\" />";
str = str + "<var name=\"shotsTime\"value=\"4, 4, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1\" />";
str = str + "<var name=\"ai\"value=\"0\" />";
str = str + "<var name=\"withoutBase\"value=\"0\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"turtleboss\">";
str = str + "<var name=\"base\"value=\"ship_turtle\" />";
str = str + "<var name=\"gun\"value=\"t_gun, ship_gun, ship_gun, ship_gun, ship_gun, ship_gun, ship_gun, ship_gun, ship_gun, ship_gun\" />";
str = str + "<var name=\"armor\"value=\"400\" />";
str = str + "<var name=\"bulletType\"value=\"ball_dir, ball_fire, ball_fire, ball_fire, ball_fire, ball_fire, ball_fire, ball_fire, ball_fire, ball_fire\" />";
str = str + "<var name=\"cannonTimeOffset\"value=\"0, 72, 48, 48, 48, 48, 48, 48, 48, 48 \" />";
str = str + "<var name=\"flySteps\"value=\"0, 1, 50, 50, 50, 50 ,50, 50, 50, 50\" />";
str = str + "<var name=\"flyMinScale\"value=\"20\" />";
str = str + "<var name=\"flyDistance\"value=\"100, 0, 250, 250, 250, 250, 250, 250, 250, 250\" />";
str = str + "<var name=\"cannonAngle\"value=\"t, h0, h0, h45, h90, h135, h180, h-135, h-90, h-45\" />";
str = str + "<var name=\"splashDamage\" value=\"0, 20, 15, 15, 15, 15, 15, 15, 15, 15\" />";
str = str + "<var name=\"damageRadius\" value=\"0, 300, 100, 100, 100, 100, 100, 100, 100, 100\" />";
str = str + "<var name=\"bulletSpeed\"value=\"10\" />";
str = str + "<var name=\"bulletDamage\"value=\"30\" />";
str = str + "<var name=\"reloadingTime\"value=\"100, 116, 116, 116, 116, 116, 116, 116, 116, 116\" />";
str = str + "<var name=\"clip\"value=\"4, 1, 1, 1, 1, 1, 1, 1, 1, 1\" />";
str = str + "<var name=\"shotsTime\"value=\"4, 1, 1, 1, 1, 1, 1, 1, 1, 1\" />";
str = str + "<var name=\"ai\"value=\"0\" />";
str = str + "<var name=\"withoutBase\"value=\"0\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"rotating_gun\">";
str = str + "<var name=\"base\"value=\"empty_base\" />";
str = str + "<var name=\"gun\"value=\"t_gun\" />";
str = str + "<var name=\"armor\"value=\"10000\" />";
str = str + "<var name=\"bulletType\"value=\"ball_dir\" />";
str = str + "<var name=\"cannonTimeOffset\"value=\"0\" />";
str = str + "<var name=\"flySteps\"value=\"0\" />";
str = str + "<var name=\"flyMinScale\"value=\"20\" />";
str = str + "<var name=\"flyDistance\"value=\"100\" />";
str = str + "<var name=\"cannonAngle\"value=\"t\" />";
str = str + "<var name=\"splashDamage\" value=\"10\" />";
str = str + "<var name=\"damageRadius\" value=\"100\" />";
str = str + "<var name=\"bulletSpeed\"value=\"8\" />";
str = str + "<var name=\"bulletDamage\"value=\"20\" />";
str = str + "<var name=\"reloadingTime\"value=\"96\" />";
str = str + "<var name=\"clip\"value=\"1\" />";
str = str + "<var name=\"shotsTime\"value=\"5\" />";
str = str + "<var name=\"ai\"value=\"0\" />";
str = str + "<var name=\"withoutBase\"value=\"1\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"slow_gun1\">";
str = str + "<var name=\"base\"value=\"empty_base\" />";
str = str + "<var name=\"gun\"value=\"t_gun\" />";
str = str + "<var name=\"armor\"value=\"10000\" />";
str = str + "<var name=\"bulletType\"value=\"ball_dir\" />";
str = str + "<var name=\"cannonTimeOffset\"value=\"0\" />";
str = str + "<var name=\"flySteps\"value=\"0\" />";
str = str + "<var name=\"flyMinScale\"value=\"20\" />";
str = str + "<var name=\"flyDistance\"value=\"100\" />";
str = str + "<var name=\"cannonAngle\"value=\"t\" />";
str = str + "<var name=\"splashDamage\" value=\"10\" />";
str = str + "<var name=\"damageRadius\" value=\"100\" />";
str = str + "<var name=\"bulletSpeed\"value=\"8\" />";
str = str + "<var name=\"bulletDamage\"value=\"20\" />";
str = str + "<var name=\"reloadingTime\"value=\"100\" />";
str = str + "<var name=\"clip\"value=\"1\" />";
str = str + "<var name=\"shotsTime\"value=\"5\" />";
str = str + "<var name=\"ai\"value=\"0\" />";
str = str + "<var name=\"withoutBase\"value=\"1\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"slow_gun2\">";
str = str + "<var name=\"base\"value=\"empty_base\" />";
str = str + "<var name=\"gun\"value=\"t_gun\" />";
str = str + "<var name=\"armor\"value=\"10000\" />";
str = str + "<var name=\"bulletType\"value=\"ball\" />";
str = str + "<var name=\"cannonTimeOffset\"value=\"0\" />";
str = str + "<var name=\"flySteps\"value=\"60\" />";
str = str + "<var name=\"flyMinScale\"value=\"20\" />";
str = str + "<var name=\"flyDistance\"value=\"100\" />";
str = str + "<var name=\"cannonAngle\"value=\"t\" />";
str = str + "<var name=\"splashDamage\" value=\"10\" />";
str = str + "<var name=\"damageRadius\" value=\"100\" />";
str = str + "<var name=\"bulletSpeed\"value=\"8\" />";
str = str + "<var name=\"bulletDamage\"value=\"20\" />";
str = str + "<var name=\"reloadingTime\"value=\"100\" />";
str = str + "<var name=\"clip\"value=\"1\" />";
str = str + "<var name=\"shotsTime\"value=\"5\" />";
str = str + "<var name=\"ai\"value=\"0\" />";
str = str + "<var name=\"withoutBase\"value=\"1\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "</object>";
str = str + "</object>";
str = str + "<object name=\"movingUnits\">";
str = str + "<object name=\"line_way\">";
str = str + "<var name=\"mainObj\" value=\"ship_big\" />";
str = str + "<var name=\"way\" value=\"line_way\" />";
str = str + "<var name=\"xratio\" value=\"100\" />";
str = str + "<var name=\"yratio\" value=\"100\" />";
str = str + "<var name=\"mratio\" value=\"2\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "<var name=\"factor\" value=\"1\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"startFrame\" value=\"1\" />";
str = str + "<var name=\"endFrame\" value=\"-1\" />";
str = str + "<var name=\"wayCycle\" value=\"1\" />";
str = str + "<var name=\"rotatedByWay\" value=\"1\" />";
str = str + "<var name=\"movedWay\" value=\"0\" />";
str = str + "<var name=\"movedWayOffset\" value=\"0\" />";
str = str + "<var name=\"movedWayXSpeed\" value=\"0\" />";
str = str + "<var name=\"movedWayYSpeed\" value=\"0\" />";
str = str + "<var name=\"thereCanBeOnlyOne\" value=\"0\" />";
str = str + "<var name=\"dieImmediatly\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"bcircle_way\">";
str = str + "<var name=\"mainObj\" value=\"ship_big\" />";
str = str + "<var name=\"way\" value=\"bcircle_way\" />";
str = str + "<var name=\"xratio\" value=\"100\" />";
str = str + "<var name=\"yratio\" value=\"100\" />";
str = str + "<var name=\"mratio\" value=\"2\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "<var name=\"factor\" value=\"1\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"startFrame\" value=\"1\" />";
str = str + "<var name=\"endFrame\" value=\"-1\" />";
str = str + "<var name=\"wayCycle\" value=\"1\" />";
str = str + "<var name=\"rotatedByWay\" value=\"1\" />";
str = str + "<var name=\"movedWay\" value=\"0\" />";
str = str + "<var name=\"movedWayOffset\" value=\"0\" />";
str = str + "<var name=\"movedWayXSpeed\" value=\"0\" />";
str = str + "<var name=\"movedWayYSpeed\" value=\"0\" />";
str = str + "<var name=\"thereCanBeOnlyOne\" value=\"0\" />";
str = str + "<var name=\"dieImmediatly\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"player_way\">";
str = str + "<var name=\"mainObj\" value=\"ship_shark\" />";
str = str + "<var name=\"way\" value=\"player\" />";
str = str + "<var name=\"speed\" value=\"3\" />";
str = str + "<var name=\"followPlayer\" value=\"1\" />";
str = str + "<var name=\"xratio\" value=\"100\" />";
str = str + "<var name=\"yratio\" value=\"100\" />";
str = str + "<var name=\"mratio\" value=\"2\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "<var name=\"factor\" value=\"1\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"startFrame\" value=\"1\" />";
str = str + "<var name=\"endFrame\" value=\"-1\" />";
str = str + "<var name=\"wayCycle\" value=\"1\" />";
str = str + "<var name=\"rotatedByWay\" value=\"1\" />";
str = str + "<var name=\"movedWay\" value=\"0\" />";
str = str + "<var name=\"movedWayOffset\" value=\"0\" />";
str = str + "<var name=\"movedWayXSpeed\" value=\"0\" />";
str = str + "<var name=\"movedWayYSpeed\" value=\"0\" />";
str = str + "<var name=\"thereCanBeOnlyOne\" value=\"0\" />";
str = str + "<var name=\"dieImmediatly\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"galeraboss_way\">";
str = str + "<var name=\"mainObj\" value=\"galeraboss\" />";
str = str + "<var name=\"way\" value=\"galeraboss_way\" />";
str = str + "<var name=\"xratio\" value=\"100\" />";
str = str + "<var name=\"yratio\" value=\"100\" />";
str = str + "<var name=\"mratio\" value=\"2\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "<var name=\"factor\" value=\"1\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"startFrame\" value=\"1\" />";
str = str + "<var name=\"endFrame\" value=\"-1\" />";
str = str + "<var name=\"wayCycle\" value=\"3\" />";
str = str + "<var name=\"rotatedByWay\" value=\"0\" />";
str = str + "<var name=\"movedWay\" value=\"1\" />";
str = str + "<var name=\"movedWayOffset\" value=\"24\" />";
str = str + "<var name=\"movedWayXSpeed\" value=\"0\" />";
str = str + "<var name=\"movedWayYSpeed\" value=\"2\" />";
str = str + "<var name=\"thereCanBeOnlyOne\" value=\"0\" />";
str = str + "<var name=\"dieImmediatly\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"turtleBoss_way\">";
str = str + "<var name=\"mainObj\" value=\"turtleboss\" />";
str = str + "<var name=\"way\" value=\"turtleBoss_way\" />";
str = str + "<var name=\"xratio\" value=\"100\" />";
str = str + "<var name=\"yratio\" value=\"100\" />";
str = str + "<var name=\"mratio\" value=\"2\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "<var name=\"factor\" value=\"1\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"startFrame\" value=\"1\" />";
str = str + "<var name=\"endFrame\" value=\"-1\" />";
str = str + "<var name=\"wayCycle\" value=\"2\" />";
str = str + "<var name=\"rotatedByWay\" value=\"0\" />";
str = str + "<var name=\"movedWay\" value=\"1\" />";
str = str + "<var name=\"movedWayOffset\" value=\"0\" />";
str = str + "<var name=\"movedWayXSpeed\" value=\"0\" />";
str = str + "<var name=\"movedWayYSpeed\" value=\"2\" />";
str = str + "<var name=\"thereCanBeOnlyOne\" value=\"0\" />";
str = str + "<var name=\"dieImmediatly\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"warshipBoss_way\">";
str = str + "<var name=\"mainObj\" value=\"warshipboss\" />";
str = str + "<var name=\"way\" value=\"warshipBoss_way\" />";
str = str + "<var name=\"xratio\" value=\"100\" />";
str = str + "<var name=\"yratio\" value=\"100\" />";
str = str + "<var name=\"mratio\" value=\"2\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "<var name=\"factor\" value=\"1\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"startFrame\" value=\"1\" />";
str = str + "<var name=\"endFrame\" value=\"-1\" />";
str = str + "<var name=\"wayCycle\" value=\"2\" />";
str = str + "<var name=\"rotatedByWay\" value=\"0\" />";
str = str + "<var name=\"movedWay\" value=\"1\" />";
str = str + "<var name=\"movedWayOffset\" value=\"0\" />";
str = str + "<var name=\"movedWayXSpeed\" value=\"0\" />";
str = str + "<var name=\"movedWayYSpeed\" value=\"2\" />";
str = str + "<var name=\"thereCanBeOnlyOne\" value=\"0\" />";
str = str + "<var name=\"dieImmediatly\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"tower_gun\">";
str = str + "<var name=\"mainObj\" value=\"rotating_gun\" />";
str = str + "<var name=\"way\" value=\"\" />";
str = str + "</object>";
str = str + "</object>";
str = str + "<object name=\"standingUnits\">";
str = str + "<object name=\"fort\">";
str = str + "<var name=\"linkage\"value=\"fort_big\" />";
str = str + "<var name=\"armor\"value=\"100\" />";
str = str + "<var name=\"splashDamage\"value=\"50\" />";
str = str + "<var name=\"damageRadius\"value=\"100\" />";
str = str + "<var name=\"splashDelay\"value=\"6\" />";
str = str + "<var name=\"top\"value=\"0\" />";
str = str + "<var name=\"ignoreHit\"value=\"1\" />";
str = str + "<var name=\"ignoreSplash\"value=\"1\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "<var name=\"immortal\"value=\"1\" />";
str = str + "</object>";
str = str + "<object name=\"fort_gun_hit\">";
str = str + "<var name=\"linkage\"value=\"fort_big_gun1_hit\" />";
str = str + "<var name=\"armor\"value=\"20\" />";
str = str + "<var name=\"splashDamage\"value=\"10000\" />";
str = str + "<var name=\"damageRadius\"value=\"20\" />";
str = str + "<var name=\"splashDelay\"value=\"6\" />";
str = str + "<var name=\"top\"value=\"0\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"1\" />";
str = str + "<var name=\"immortal\"value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"fort_tower\">";
str = str + "<var name=\"linkage\"value=\"fort_big_tower1_hit\" />";
str = str + "<var name=\"armor\"value=\"20\" />";
str = str + "<var name=\"splashDamage\"value=\"0\" />";
str = str + "<var name=\"damageRadius\"value=\"1\" />";
str = str + "<var name=\"splashDelay\"value=\"6\" />";
str = str + "<var name=\"top\"value=\"0\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"1\" />";
str = str + "<var name=\"immortal\"value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"tower_gates\">";
str = str + "<var name=\"linkage\"value=\"gates\" />";
str = str + "<var name=\"armor\"value=\"20000\" />";
str = str + "<var name=\"splashDamage\"value=\"0\" />";
str = str + "<var name=\"damageRadius\"value=\"2\" />";
str = str + "<var name=\"splashDelay\"value=\"6\" />";
str = str + "<var name=\"top\"value=\"0\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "<var name=\"immortal\"value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"tower_gates2\">";
str = str + "<var name=\"linkage\"value=\"gates2\" />";
str = str + "<var name=\"armor\"value=\"100\" />";
str = str + "<var name=\"splashDamage\"value=\"45\" />";
str = str + "<var name=\"damageRadius\"value=\"2\" />";
str = str + "<var name=\"splashDelay\"value=\"6\" />";
str = str + "<var name=\"top\"value=\"0\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "<var name=\"immortal\"value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"dock_x\">";
str = str + "<var name=\"linkage\"value=\"dock_x\" />";
str = str + "<var name=\"armor\"value=\"10\" />";
str = str + "<var name=\"splashDamage\"value=\"1\" />";
str = str + "<var name=\"damageRadius\"value=\"1\" />";
str = str + "<var name=\"splashDelay\"value=\"6\" />";
str = str + "<var name=\"top\"value=\"0\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "<var name=\"immortal\"value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"dock_y\">";
str = str + "<var name=\"linkage\"value=\"dock_y\" />";
str = str + "<var name=\"armor\"value=\"10\" />";
str = str + "<var name=\"splashDamage\"value=\"1\" />";
str = str + "<var name=\"damageRadius\"value=\"1\" />";
str = str + "<var name=\"splashDelay\"value=\"6\" />";
str = str + "<var name=\"top\"value=\"0\" />";
str = str + "<var name=\"ignoreHit\"value=\"0\" />";
str = str + "<var name=\"ignoreSplash\"value=\"0\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "<var name=\"immortal\"value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"immObj\">";
str = str + "<var name=\"linkage\"value=\"isle_big\" />";
str = str + "<var name=\"armor\"value=\"1000\" />";
str = str + "<var name=\"splashDamage\"value=\"1\" />";
str = str + "<var name=\"damageRadius\"value=\"1\" />";
str = str + "<var name=\"splashDelay\"value=\"6\" />";
str = str + "<var name=\"top\"value=\"0\" />";
str = str + "<var name=\"ignoreHit\"value=\"1\" />";
str = str + "<var name=\"ignoreSplash\"value=\"1\" />";
str = str + "<var name=\"ignoreDirect\"value=\"0\" />";
str = str + "<var name=\"immortal\"value=\"1\" />";
str = str + "</object>";
str = str + "</object>";
str = str + "<object name=\"levels\">";
str = str + "<object name=\"level_1\">";
str = str + "<var name=\"comment1_en\" >Once, when Captain Jack and his brave crew had a rest in one of numerous taverns of small port town somewhere on edge of the civilization, one old, shabby and seriously drunk old salt has told to Jack about treasure. It was more likely resembled one of numerous tales about huge treasures of legendary pirates of the past, but Jack has learned about REAL map of this fantastic treasure and now its at one known merchant who goes to the next island for favourably sell this map...|Certainly, Jack was the diligent pirate, therefore not hesitating minutes right after hang-over all his brave crew has plunged noisy onboard Lucky Fishy and has gone for treasure.</var><var name=\"playerX\" value=\"100\" />";
str = str + "<var name=\"playerY\" value=\"100\" />";
str = str + "<var name=\"playerArmor\" value=\"100\" />";
str = str + "<var name=\"playerShield\" value=\"0\" />";
str = str + "<var name=\"playerAvailableWeapons\" value=\"1\" />";
str = str + "<array name=\"level\">";
str = str + "<object yoffset=\"1.3\" xoffset=\"515\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"1.6\" xoffset=\"15\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"1.7\" xoffset=\"5\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"1.0\" bonus=\"coin\" xoffset=\"230\"/>";
str = str + "<object yoffset=\"1.0\" bonus=\"coin\" xoffset=\"320\"/>";
str = str + "<object yoffset=\"1.8\" bonus=\"coin\" xoffset=\"230\"/>";
str = str + "<object yoffset=\"1.8\" bonus=\"coin\" xoffset=\"320\"/>";
str = str + "<object yoffset=\"1.5\" xoffset=\"475\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"1.5\" xoffset=\"475\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"2.0\" xoffset=\"75\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"2.0\" xoffset=\"75\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"515\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"2.1\" xoffset=\"535\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"2.6\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"2.5\" bonus=\"coin\" xoffset=\"100\"/>";
str = str + "<object yoffset=\"2.5\" bonus=\"coin\" xoffset=\"150\"/>";
str = str + "<object yoffset=\"2.7\" bonus=\"coin\" xoffset=\"400\"/>";
str = str + "<object yoffset=\"2.7\" bonus=\"coin\" xoffset=\"450\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"10\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"3.5\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"3.7\" xoffset=\"70\" object=\"dock_y\"linkage=\"dock_y\"/>";
str = str + "<object yoffset=\"3.9\" xoffset=\"70\" object=\"dock_y\"linkage=\"dock_y\"/>";
str = str + "<object yoffset=\"3.7\" xoffset=\"70\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"3.7\" xoffset=\"70\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"4.3\" xoffset=\"200\" object=\"fort_gun_hit\"linkage=\"fort_sm2_gun1_hit\"/>";
str = str + "<object yoffset=\"4.3\" xoffset=\"200\" object=\"fort\"linkage=\"fort_sm2\"/>";
str = str + "<object yoffset=\"4.3\" xoffset=\"200\" tank=\"tower_gun\"base=\"fort_sm2_gun1_gun\" mainObj=\"slow_gun1\"/>";
str = str + "<object yoffset=\"4.1\" xoffset=\"70\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"4.0\" tank=\"line_way\" mainObj=\"ship_grob\" xoffset=\"-5\" rotate=\"-35\" factor=\"-1\"/>";
str = str + "<object yoffset=\"4.1\" bonus=\"coin\" xoffset=\"340\"/>";
str = str + "<object yoffset=\"4.1\" bonus=\"coin\" xoffset=\"430\"/>";
str = str + "<object yoffset=\"4.8\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"4.8\" bonus=\"coin\" xoffset=\"375\"/>";
str = str + "<object yoffset=\"4.8\" bonus=\"coin\" xoffset=\"175\"/>";
str = str + "<object yoffset=\"4.3\" xoffset=\"535\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"4.7\" xoffset=\"5\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"4.5\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"5.0\" bonus=\"miniHealth\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"5.1\" xoffset=\"515\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"5.0\" xoffset=\"535\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"5.3\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"5.3\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"-5\" rotate=\"-20\"/>";
str = str + "<object yoffset=\"5.5\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"-5\" rotate=\"15\" factor=\"-1\"/>";
str = str + "<object yoffset=\"6.3\" xoffset=\"400\" object=\"fort_gun_hit\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"6.3\" xoffset=\"400\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"6.3\" xoffset=\"400\" tank=\"tower_gun\"base=\"pyrs_tower_gun1_gun\" mainObj=\"slow_gun1\"/>";
str = str + "<object yoffset=\"6.3\" xoffset=\"100\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"6.3\" xoffset=\"100\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"6.3\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"6.3\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"6.3\" xoffset=\"450\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"6.3\" xoffset=\"500\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"6.1\" xoffset=\"515\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"5.8\" xoffset=\"15\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"5.9\" xoffset=\"5\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"7.0\" xoffset=\"10\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"6.8\" xoffset=\"520\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"7.0\" xoffset=\"545\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"6.5\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"6.4\" bonus=\"coin\" xoffset=\"325\"/>";
str = str + "<object yoffset=\"6.4\" bonus=\"coin\" xoffset=\"225\"/>";
str = str + "<object yoffset=\"6.7\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"-5\" mratio=\"4\" rotate=\"-25\" cannonAngle=\"h0\" reloadingTime=\"48\"/>";
str = str + "<object yoffset=\"7.5\" xoffset=\"330\" object=\"fort_gun_hit\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"7.5\" xoffset=\"330\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"7.5\" xoffset=\"330\" tank=\"tower_gun\"base=\"pyrs_tower_gun1_gun\" mainObj=\"slow_gun1\"/>";
str = str + "<object yoffset=\"7.5\" xoffset=\"380\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"7.5\" xoffset=\"430\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"7.4\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"7.7\" xoffset=\"450\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"7.9\" xoffset=\"520\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"7.9\" xoffset=\"520\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"8.3\" xoffset=\"20\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"8.1\" xoffset=\"50\" object=\"fort_gun_hit\"linkage=\"fort_sm2_gun1_hit\"/>";
str = str + "<object yoffset=\"8.1\" xoffset=\"50\" object=\"fort\"linkage=\"fort_sm2\"/>";
str = str + "<object yoffset=\"8.1\" xoffset=\"50\" tank=\"tower_gun\"base=\"fort_sm2_gun1_gun\" mainObj=\"slow_gun1\"/>";
str = str + "<object yoffset=\"8.2\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"8.2\" bonus=\"coin\" xoffset=\"375\"/>";
str = str + "<object yoffset=\"8.2\" bonus=\"coin\" xoffset=\"175\"/>";
str = str + "<object yoffset=\"8.9\" xoffset=\"470\" object=\"fort_gun_hit\"linkage=\"fort_sm2_gun1_hit\"/>";
str = str + "<object yoffset=\"8.9\" xoffset=\"470\" object=\"fort\"linkage=\"fort_sm2\"/>";
str = str + "<object yoffset=\"8.9\" xoffset=\"470\" tank=\"tower_gun\"base=\"fort_sm2_gun1_gun\" mainObj=\"slow_gun1\"/>";
str = str + "<object yoffset=\"8.9\" xoffset=\"80\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\" />";
str = str + "<object yoffset=\"8.9\" xoffset=\"80\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"8.7\" xoffset=\"515\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"8.8\" xoffset=\"15\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"8.7\" xoffset=\"5\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"10.0\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"-5\" mratio=\"4\" cannonAngle=\"h0\" reloadingTime=\"48\"/>";
str = str + "<object yoffset=\"10.1\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"-5\" mratio=\"4\" cannonAngle=\"h0\" reloadingTime=\"48\" factor=\"-1\"/>";
str = str + "<object yoffset=\"9.5\" xoffset=\"15\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"9.7\" xoffset=\"540\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"9.6\" xoffset=\"530\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"10.3\" xoffset=\"25\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"10.2\" xoffset=\"5\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"10.3\" xoffset=\"530\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"8.8\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"9.0\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"9.2\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"9.4\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"9.6\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"9.8\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "</array>";
str = str + "</object>";
str = str + "<object name=\"level_2\">";
str = str + "<var name=\"comment1_en\" >In a bay of this small town the well-known merchant - the owner of a map upon which Jack attempts - has stopped. Jack and his crew should meet with garrison of town and the coastal forts protecting a way to town. Fortunately, it is REALLY small town.</var><var name=\"playerX\" value=\"100\" />";
str = str + "<var name=\"playerY\" value=\"100\" />";
str = str + "<var name=\"playerArmor\" value=\"100\" />";
str = str + "<var name=\"playerShield\" value=\"0\" />";
str = str + "<var name=\"playerAvailableWeapons\" value=\"1\" />";
str = str + "<array name=\"level\">";
str = str + "<object yoffset=\"1.4\" xoffset=\"15\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"1.2\" xoffset=\"5\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"1.1\" xoffset=\"20\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"1.1\" xoffset=\"530\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"1.0\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"1.2\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"1.4\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"1.3\" tank=\"line_way\" mainObj=\"ship_lite\"rotate=\"-25\" xoffset=\"-5\" mratio=\"2\"/>";
str = str + "<object yoffset=\"1.4\" tank=\"line_way\" mainObj=\"ship_lite\"rotate=\"25\"xoffset=\"-5\"mratio=\"2\" reloadingTime=\"10000\"factor=\"-1\"/>";
str = str + "<object yoffset=\"1.8\" xoffset=\"15\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"1.6\" xoffset=\"540\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"1.7\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"1.7\" bonus=\"coin\" xoffset=\"170\"/>";
str = str + "<object yoffset=\"1.9\" bonus=\"coin\" xoffset=\"120\"/>";
str = str + "<object yoffset=\"2.1\" bonus=\"coin\" xoffset=\"170\"/>";
str = str + "<object yoffset=\"1.7\" bonus=\"coin\" xoffset=\"380\"/>";
str = str + "<object yoffset=\"1.9\" bonus=\"coin\" xoffset=\"430\"/>";
str = str + "<object yoffset=\"2.1\" bonus=\"coin\" xoffset=\"380\"/>";
str = str + "<object yoffset=\"1.9\" xoffset=\"275\" object=\"fort_gun_hit\"linkage=\"fort_sm2_gun1_hit\"/>";
str = str + "<object yoffset=\"1.9\" xoffset=\"275\" object=\"fort\"linkage=\"fort_sm2\"/>";
str = str + "<object yoffset=\"1.9\" xoffset=\"275\" tank=\"tower_gun\"base=\"fort_sm2_gun1_gun\" mainObj=\"slow_gun1\"/>";
str = str + "<object yoffset=\"2.8\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"220\" rotate=\"120\" xoffset=\"-5\" mratio=\"2\" reloadingTime=\"10000\"/>";
str = str + "<object yoffset=\"2.8\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"220\" rotate=\"-120\" xoffset=\"-5\" mratio=\"2\"factor=\"-1\"/>";
str = str + "<object yoffset=\"2.7\" xoffset=\"530\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"400\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"400\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"100\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"100\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"450\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"500\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"2.8\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"3.0\" bonus=\"coin\" xoffset=\"220\"/>";
str = str + "<object yoffset=\"3.0\" bonus=\"coin\" xoffset=\"330\"/>";
str = str + "<object yoffset=\"3.1\" xoffset=\"80\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"3.5\" xoffset=\"150\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"3.6\" xoffset=\"255\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"3.9\" xoffset=\"280\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"4.1\" xoffset=\"25\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"4.1\" xoffset=\"270\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"4.1\" xoffset=\"270\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"3.4\" bonus=\"coin\" xoffset=\"380\"/>";
str = str + "<object yoffset=\"3.6\" bonus=\"coin\" xoffset=\"420\"/>";
str = str + "<object yoffset=\"3.8\" bonus=\"coin\" xoffset=\"460\"/>";
str = str + "<object yoffset=\"3.5\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"-5\" rotate=\"-50\"mratio=\"3\"/>";
str = str + "<object yoffset=\"3.7\" tank=\"line_way\" mainObj=\"ship_med\" xoffset=\"-5\" rotate=\"-50\" mratio=\"3\" />";
str = str + "<object yoffset=\"4.4\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"4.4\" bonus=\"coin\" xoffset=\"375\"/>";
str = str + "<object yoffset=\"4.4\" bonus=\"coin\" xoffset=\"175\"/>";
str = str + "<object yoffset=\"4.6\" bonus=\"miniHealth\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"5.1\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"275\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"5.2\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"175\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"5.2\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"375\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"5.6\" tank=\"line_way\" mainObj=\"ship_med\" xoffset=\"275\" rotate=\"90\" mratio=\"1\" />";
str = str + "<object yoffset=\"5.4\" xoffset=\"540\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"5.3\" xoffset=\"5\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"5.5\" xoffset=\"20\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"6.2\" xoffset=\"450\" object=\"fort_gun_hit\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"6.2\" xoffset=\"450\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"6.2\" xoffset=\"450\" tank=\"tower_gun\"base=\"pyrs_tower_gun1_gun\" mainObj=\"slow_gun1\"/>";
str = str + "<object yoffset=\"6.2\" xoffset=\"50\" object=\"fort_gun_hit\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"6.2\" xoffset=\"50\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"6.2\" xoffset=\"50\" tank=\"tower_gun\"base=\"pyrs_tower_gun1_gun\" mainObj=\"slow_gun1\"/>";
str = str + "<object yoffset=\"6.0\" xoffset=\"520\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"6.2\" xoffset=\"100\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"6.2\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"6.2\" xoffset=\"400\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"6.2\" xoffset=\"500\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"6.4\" xoffset=\"510\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"6.6\" xoffset=\"545\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"6.0\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"6.2\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"6.4\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"6.6\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"6.6\" tank=\"line_way\" mainObj=\"ship_lite\"rotate=\"-25\" xoffset=\"-5\" mratio=\"2\"/>";
str = str + "<object yoffset=\"6.9\" tank=\"line_way\" mainObj=\"ship_lite\"rotate=\"25\"xoffset=\"-5\"mratio=\"2\" factor=\"-1\"/>";
str = str + "<object yoffset=\"7.4\" xoffset=\"535\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"7.4\" xoffset=\"545\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"7.2\" xoffset=\"520\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"7.1\" xoffset=\"30\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"7.8\" xoffset=\"490\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"7.4\" bonus=\"coin\" xoffset=\"450\"/>";
str = str + "<object yoffset=\"7.4\" bonus=\"coin\" xoffset=\"400\"/>";
str = str + "<object yoffset=\"7.8\" bonus=\"coin\" xoffset=\"250\"/>";
str = str + "<object yoffset=\"7.8\" bonus=\"coin\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"8.1\" bonus=\"coin\" xoffset=\"450\"/>";
str = str + "<object yoffset=\"8.1\" bonus=\"coin\" xoffset=\"400\"/>";
str = str + "<object yoffset=\"7.4\" xoffset=\"90\" object=\"dock_x\"linkage=\"dock_x\"/>";
str = str + "<object yoffset=\"7.4\" xoffset=\"140\" object=\"dock_x\"linkage=\"dock_x\"/>";
str = str + "<object yoffset=\"7.4\" xoffset=\"65\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"7.4\" xoffset=\"65\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"7.5\" xoffset=\"70\" object=\"dock_y\"linkage=\"dock_y\"/>";
str = str + "<object yoffset=\"7.6\" xoffset=\"70\" object=\"dock_y\"linkage=\"dock_y\"/>";
str = str + "<object yoffset=\"7.7\" xoffset=\"70\" object=\"fort_tower\"linkage=\"fort_sm2_gun1_hit\"/>";
str = str + "<object yoffset=\"7.7\" xoffset=\"70\" object=\"fort\"linkage=\"fort_sm2\"/>";
str = str + "<object yoffset=\"8.3\" xoffset=\"200\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"8.3\" xoffset=\"200\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"8.1\" xoffset=\"70\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"7.5\" bonus=\"fullHealth\" xoffset=\"150\"/>";
str = str + "<object yoffset=\"8.5\" bonus=\"coin\" xoffset=\"50\"/>";
str = str + "<object yoffset=\"8.5\" bonus=\"coin\" xoffset=\"100\"/>";
str = str + "<object yoffset=\"8.6\" xoffset=\"520\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"8.6\" xoffset=\"520\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"8.4\" xoffset=\"490\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"8.8\" xoffset=\"450\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"9.0\" xoffset=\"370\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"9.5\" xoffset=\"15\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"9.8\" xoffset=\"5\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"9.7\" xoffset=\"20\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"9.8\" xoffset=\"520\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"9.0\" tank=\"line_way\" mainObj=\"ship_med\" xoffset=\"-5\" rotate=\"40\" factor=\"-1\" mratio=\"3\" />";
str = str + "<object yoffset=\"9.3\" tank=\"line_way\" mainObj=\"ship_med\" xoffset=\"-5\" rotate=\"30\" factor=\"-1\" mratio=\"3\" />";
str = str + "<object yoffset=\"10.3\" xoffset=\"400\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"10.3\" xoffset=\"400\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"10.3\" xoffset=\"100\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"10.3\" xoffset=\"100\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"10.3\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"10.3\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"10.3\" xoffset=\"450\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"10.3\" xoffset=\"500\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"9.9\" bonus=\"coin\" xoffset=\"200\"/>";
str = str + "<object yoffset=\"9.9\" bonus=\"coin\" xoffset=\"350\"/>";
str = str + "<object yoffset=\"10.1\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"10.3\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"10.5\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"10.8\" bonus=\"miniHealth\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"12.2\" command=\"slideConstant\" factor=\"0.5\" limit=\"0\"/>";
str = str + "<object yoffset=\"11.9\" xoffset=\"0\" object=\"tower_gates\"/>";
str = str + "<object yoffset=\"10.9\" xoffset=\"450\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\" armor=\"40\"/>";
str = str + "<object yoffset=\"10.9\" xoffset=\"450\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"10.9\" xoffset=\"500\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"11.3\" xoffset=\"100\" object=\"fort_gun_hit\"linkage=\"pyrs_tower_gun1_hit\" armor=\"40\"/>";
str = str + "<object yoffset=\"11.3\" xoffset=\"100\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"11.3\" xoffset=\"100\" tank=\"tower_gun\"base=\"pyrs_tower_gun1_gun\" reloadingTime=\"80\" cannonTimeOffset=\"20\" clip=\"2\"/>";
str = str + "<object yoffset=\"11.3\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"11.3\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"11.9\" xoffset=\"0\" object=\"fort_tower\"linkage=\"fort_boss_tower1\"/>";
str = str + "<object yoffset=\"11.9\" xoffset=\"0\" object=\"fort_tower\"linkage=\"fort_boss_tower2\"/>";
str = str + "<object yoffset=\"11.9\" xoffset=\"0\" object=\"fort_tower\"linkage=\"fort_boss_tower3\"/>";
str = str + "<object yoffset=\"11.9\" xoffset=\"0\" object=\"fort_tower\"linkage=\"fort_boss_tower4\"/>";
str = str + "<object yoffset=\"11.9\" xoffset=\"0\" object=\"fort_gun_hit\"linkage=\"fort_boss_gun1_hit\" armor=\"50\"/>";
str = str + "<object yoffset=\"11.9\" xoffset=\"0\" object=\"fort_gun_hit\"linkage=\"fort_boss_gun2_hit\" armor=\"50\"/>";
str = str + "<object yoffset=\"11.9\" xoffset=\"0\" object=\"fort\"linkage=\"fort_boss\"/>";
str = str + "<object yoffset=\"11.9\" xoffset=\"0\" tank=\"tower_gun\"base=\"fort_boss_gun1_gun\" reloadingTime=\"80\" cannonTimeOffset=\"45\" clip=\"3\"/>";
str = str + "<object yoffset=\"11.9\" xoffset=\"0\" tank=\"tower_gun\"base=\"fort_boss_gun2_gun\"reloadingTime=\"95\"/>";
str = str + "</array>";
str = str + "</object>";
str = str + "<object name=\"level_3\">";
str = str + "<var name=\"comment1_en\" >It seems to Jack has a little misfortune. While he and his crew valorously looted coastal districts of town, the merchant has successfully sold a map and has safely runaway. Now it is necessary to catch up the merchant and find out a name of the new owner of a map.</var><var name=\"playerX\" value=\"100\" />";
str = str + "<var name=\"playerY\" value=\"100\" />";
str = str + "<var name=\"playerArmor\" value=\"100\" />";
str = str + "<var name=\"playerShield\" value=\"0\" />";
str = str + "<var name=\"playerAvailableWeapons\" value=\"1\" />";
str = str + "<array name=\"level\">";
str = str + "<object yoffset=\"1.1\" xoffset=\"515\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"1.2\" xoffset=\"15\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"1.7\" xoffset=\"5\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"1.7\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"1.9\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"1.4\" xoffset=\"470\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"1.4\" xoffset=\"470\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"1.2\" tank=\"line_way\" mainObj=\"ship_lite\"xratio=\"100\" rotate=\"-45\"xoffset=\"-5\"mratio=\"2\"/>";
str = str + "<object yoffset=\"1.4\" tank=\"line_way\" mainObj=\"ship_lite\"xratio=\"100\"rotate=\"-45\"xoffset=\"-5\"mratio=\"2\"/>";
str = str + "<object yoffset=\"2.2\" tank=\"line_way\" mainObj=\"ship_lite\"xratio=\"100\"rotate=\"-35\"xoffset=\"-5\"mratio=\"2\" factor=\"-1\"/>";
str = str + "<object yoffset=\"2.4\" tank=\"line_way\" mainObj=\"ship_lite\"xratio=\"100\"rotate=\"-35\"xoffset=\"-5\"mratio=\"2\" factor=\"-1\"/>";
str = str + "<object yoffset=\"2.4\" xoffset=\"100\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"2.4\" xoffset=\"100\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"2.4\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"2.4\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"30\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"2.4\" xoffset=\"30\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"80\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"2.4\" xoffset=\"80\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"2.2\" tank=\"line_way\" mainObj=\"ship_lite\"rotate=\"90\"xoffset=\"55\"endFrame=\"1\" reloadingTime=\"10000\"/>";
str = str + "<object yoffset=\"2.2\" tank=\"line_way\" mainObj=\"ship_lite\"rotate=\"90\"xoffset=\"105\"endFrame=\"1\" reloadingTime=\"10000\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"100\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"100\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"2.8\" xoffset=\"30\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"30\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"3.0\" xoffset=\"30\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"2.8\" xoffset=\"80\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"80\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"3.0\" xoffset=\"80\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"2.7\" tank=\"line_way\" mainObj=\"ship_lite\"rotate=\"90\"xoffset=\"105\"endFrame=\"1\" reloadingTime=\"10000\"/>";
str = str + "<object yoffset=\"2.3\" bonus=\"coin\" xoffset=\"350\"/>";
str = str + "<object yoffset=\"2.3\" bonus=\"coin\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"2.6\" bonus=\"coin\" xoffset=\"150\"/>";
str = str + "<object yoffset=\"2.6\" bonus=\"coin\" xoffset=\"200\"/>";
str = str + "<object yoffset=\"2.9\" bonus=\"coin\" xoffset=\"350\"/>";
str = str + "<object yoffset=\"2.9\" bonus=\"coin\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"2.6\" tank=\"line_way\" mainObj=\"ship_med\" xoffset=\"-5\"mratio=\"3\" factor=\"-1\"/>";
str = str + "<object yoffset=\"2.8\" xoffset=\"540\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"3.2\" xoffset=\"80\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"3.5\" xoffset=\"150\" object=\"fort_gun_hit\"linkage=\"fort_sm2_gun1_hit\"/>";
str = str + "<object yoffset=\"3.5\" xoffset=\"150\" object=\"fort\"linkage=\"fort_sm2\"/>";
str = str + "<object yoffset=\"3.5\" xoffset=\"150\" tank=\"tower_gun\"base=\"fort_sm2_gun1_gun\" mainObj=\"slow_gun1\"/>";
str = str + "<object yoffset=\"4.4\" tank=\"bcircle_way\" mainObj=\"ship_grob\" xoffset=\"320\"cannonAngle=\"h0, h0\"mratio=\"5\" clip=\"4\" reloadingTime=\"36, 24\" cannonTimeOffset=\"0, 10000\"/>";
str = str + "<object yoffset=\"4.8\" tank=\"bcircle_way\" mainObj=\"ship_grob\" xoffset=\"320\"cannonAngle=\"h0, h0\"mratio=\"5\" clip=\"4\" reloadingTime=\"36, 24\" cannonTimeOffset=\"0, 10000\" factor=\"-1\"/>";
str = str + "<object yoffset=\"3.8\" xoffset=\"15\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"3.7\" xoffset=\"5\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"4.5\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"4.2\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"4.9\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"3.5\" bonus=\"coin\" xoffset=\"350\"/>";
str = str + "<object yoffset=\"3.5\" bonus=\"coin\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"3.5\" bonus=\"coin\" xoffset=\"400\"/>";
str = str + "<object yoffset=\"3.9\" bonus=\"coin\" xoffset=\"150\"/>";
str = str + "<object yoffset=\"3.9\" bonus=\"coin\" xoffset=\"200\"/>";
str = str + "<object yoffset=\"4.1\" bonus=\"coin\" xoffset=\"450\"/>";
str = str + "<object yoffset=\"4.1\" bonus=\"coin\" xoffset=\"500\"/>";
str = str + "<object yoffset=\"4.7\" bonus=\"fullHealth\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"4.9\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"4.9\" bonus=\"coin\" xoffset=\"375\"/>";
str = str + "<object yoffset=\"4.9\" bonus=\"coin\" xoffset=\"175\"/>";
str = str + "<object yoffset=\"6.2\" command=\"slideConstant\" factor=\"0.5\" limit=\"1\"/>";
str = str + "<object yoffset=\"5.9\" xoffset=\"275\" object=\"fort_tower\"linkage=\"fort_med1_tower1\"/>";
str = str + "<object yoffset=\"5.9\" xoffset=\"275\" object=\"fort_tower\"linkage=\"fort_med1_tower2\"/>";
str = str + "<object yoffset=\"5.9\" xoffset=\"275\" object=\"fort_gun_hit\"linkage=\"fort_med1_gun1_hit\" armor=\"40\"/>";
str = str + "<object yoffset=\"5.9\" xoffset=\"275\" object=\"fort_gun_hit\"linkage=\"fort_med1_gun2_hit\" armor=\"40\"/>";
str = str + "<object yoffset=\"5.9\" xoffset=\"275\" object=\"fort\"linkage=\"fort_med1\"/>";
str = str + "<object yoffset=\"5.9\" xoffset=\"275\" tank=\"tower_gun\"base=\"fort_med1_gun1_gun\" cannonTimeOffset=\"48\"/>";
str = str + "<object yoffset=\"5.9\" xoffset=\"275\" tank=\"tower_gun\"base=\"fort_med1_gun2_gun\"cannonTimeOffset=\"96\" clip=\"3\"/>";
str = str + "<object yoffset=\"5.5\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"5.5\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"5.2\" tank=\"bcircle_way\" mainObj=\"ship_grob\" xoffset=\"75\" rotate=\"-90\"cannonAngle=\"h-5, h-5\"mratio=\"5\" clip=\"4\" reloadingTime=\"36, 24\" cannonTimeOffset=\"0, 10000\"/>";
str = str + "<object yoffset=\"5.2\" tank=\"bcircle_way\" mainObj=\"ship_grob\" xoffset=\"75\" rotate=\"90\"cannonAngle=\"h5, h5\"mratio=\"5\" clip=\"4\" reloadingTime=\"36, 24\" cannonTimeOffset=\"12, 10000\" factor=\"-1\"/>";
str = str + "<object yoffset=\"6.8\" command=\"slideNormal\"/>";
str = str + "<object yoffset=\"6.5\" bonus=\"miniHealth\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"6.6\" bonus=\"coin\" xoffset=\"220\"/>";
str = str + "<object yoffset=\"6.6\" bonus=\"coin\" xoffset=\"330\"/>";
str = str + "<object yoffset=\"6.7\" bonus=\"weaponAdder\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"6.6\" xoffset=\"535\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"6.5\" xoffset=\"545\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"6.4\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"6.5\" xoffset=\"10\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"7.3\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"7.0\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"7.7\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"6.8\" bonus=\"coin\" xoffset=\"100\"/>";
str = str + "<object yoffset=\"6.8\" bonus=\"coin\" xoffset=\"50\"/>";
str = str + "<object yoffset=\"7.3\" bonus=\"coin\" xoffset=\"500\"/>";
str = str + "<object yoffset=\"7.3\" bonus=\"coin\" xoffset=\"450\"/>";
str = str + "<object yoffset=\"7.0\" tank=\"bcircle_way\" mainObj=\"ship_grob\" xoffset=\"300\"cannonAngle=\"h0, h0\"mratio=\"5\" clip=\"3\" reloadingTime=\"36, 24\" cannonTimeOffset=\"0, 10000\"/>";
str = str + "<object yoffset=\"7.3\" tank=\"bcircle_way\" mainObj=\"ship_grob\" xoffset=\"300\"cannonAngle=\"h0, h0\"mratio=\"5\" clip=\"3\" reloadingTime=\"36, 24\" cannonTimeOffset=\"0, 10000\" factor=\"-1\"/>";
str = str + "<object yoffset=\"7.6\" tank=\"bcircle_way\" mainObj=\"ship_grob\" xoffset=\"300\"cannonAngle=\"h0, h0\"mratio=\"5\" clip=\"3\" reloadingTime=\"36, 24\" cannonTimeOffset=\"0, 10000\"/>";
str = str + "<object yoffset=\"7.6\" xoffset=\"150\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"7.6\" xoffset=\"150\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"7.7\" xoffset=\"180\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"7.6\" tank=\"line_way\" mainObj=\"ship_med\" xoffset=\"-5\" rotate=\"-45\" mratio=\"2\" />";
str = str + "<object yoffset=\"8.2\" bonus=\"coin\" xoffset=\"500\"/>";
str = str + "<object yoffset=\"8.2\" bonus=\"coin\" xoffset=\"450\"/>";
str = str + "<object yoffset=\"8.5\" xoffset=\"400\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"8.5\" xoffset=\"400\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"8.5\" xoffset=\"100\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"8.5\" xoffset=\"100\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"8.5\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"8.5\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"8.5\" xoffset=\"450\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"8.5\" xoffset=\"500\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"9.4\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"220\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"9.4\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"330\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"9.3\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"275\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"9.7\" tank=\"line_way\" mainObj=\"ship_med\" xoffset=\"250\" rotate=\"90\" mratio=\"1\"/>";
str = str + "<object yoffset=\"9.7\" tank=\"line_way\" mainObj=\"ship_med\" xoffset=\"300\" rotate=\"90\" mratio=\"1\"/>";
str = str + "<object yoffset=\"9.9\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"9.9\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"10.2\" xoffset=\"120\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"10.2\" xoffset=\"400\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"10.3\" xoffset=\"380\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"10.5\" xoffset=\"30\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"9.7\" bonus=\"coin\" xoffset=\"230\"/>";
str = str + "<object yoffset=\"9.7\" bonus=\"coin\" xoffset=\"320\"/>";
str = str + "<object yoffset=\"9.9\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"10.1\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"10.3\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"10.5\" bonus=\"fullHealth\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"11.1\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"11.2\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"10.9\" xoffset=\"275\" object=\"fort_gun_hit\"linkage=\"fort_sm1_gun1_hit\" armor=\"30\"/>";
str = str + "<object yoffset=\"10.9\" xoffset=\"275\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"10.9\" xoffset=\"275\" tank=\"tower_gun\"base=\"fort_sm1_gun1_gun\"/>";
str = str + "<object yoffset=\"11.1\" bonus=\"coin\" xoffset=\"100\"/>";
str = str + "<object yoffset=\"11.1\" bonus=\"coin\" xoffset=\"450\"/>";
str = str + "<object yoffset=\"11.3\" bonus=\"coin\" xoffset=\"150\"/>";
str = str + "<object yoffset=\"11.3\" bonus=\"coin\" xoffset=\"400\"/>";
str = str + "<object yoffset=\"11.4\" bonus=\"coin\" xoffset=\"230\"/>";
str = str + "<object yoffset=\"11.4\" bonus=\"coin\" xoffset=\"320\"/>";
str = str + "<object yoffset=\"11.7\" xoffset=\"550\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"11.7\" xoffset=\"0\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"12.5\" tank=\"bcircle_way\" mainObj=\"ship_grob\" xoffset=\"320\"cannonAngle=\"h0, h0\"mratio=\"5\" clip=\"4\" reloadingTime=\"36, 24\" cannonTimeOffset=\"0, 10000\"/>";
str = str + "<object yoffset=\"12.5\" tank=\"bcircle_way\" mainObj=\"ship_grob\" xoffset=\"320\"cannonAngle=\"h0, h0\"mratio=\"5\" clip=\"4\" reloadingTime=\"36, 24\" cannonTimeOffset=\"0, 10000\" factor=\"-1\"/>";
str = str + "<object yoffset=\"12.5\" xoffset=\"400\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"12.5\" xoffset=\"400\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"12.5\" xoffset=\"100\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"12.5\" xoffset=\"100\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"12.5\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"12.5\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"12.5\" xoffset=\"450\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"12.5\" xoffset=\"500\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"13.3\" xoffset=\"75\" object=\"fort_tower\"linkage=\"fort_med2_tower1\"/>";
str = str + "<object yoffset=\"13.3\" xoffset=\"75\" object=\"fort_tower\"linkage=\"fort_med2_tower2\"/>";
str = str + "<object yoffset=\"13.3\" xoffset=\"75\" object=\"fort_gun_hit\"linkage=\"fort_med2_gun1_hit\" armor=\"30\"/>";
str = str + "<object yoffset=\"13.3\" xoffset=\"75\" object=\"fort_gun_hit\"linkage=\"fort_med2_gun2_hit\" armor=\"30\"/>";
str = str + "<object yoffset=\"13.3\" xoffset=\"75\" object=\"fort\"linkage=\"fort_med2\"/>";
str = str + "<object yoffset=\"13.3\" xoffset=\"75\" tank=\"tower_gun\"base=\"fort_med2_gun1_gun\" clip=\"4\" reloadingTime=\"76\" cannonTimeOffset=\"60\"/>";
str = str + "<object yoffset=\"13.3\" xoffset=\"75\" tank=\"tower_gun\"base=\"fort_med2_gun2_gun\" reloadingTime=\"96\" cannonTimeOffset=\"12\"/>";
str = str + "<object yoffset=\"13.4\" xoffset=\"475\" object=\"fort_tower\"linkage=\"fort_med2_tower1\"/>";
str = str + "<object yoffset=\"13.4\" xoffset=\"475\" object=\"fort_tower\"linkage=\"fort_med2_tower2\"/>";
str = str + "<object yoffset=\"13.4\" xoffset=\"475\" object=\"fort_gun_hit\"linkage=\"fort_med2_gun1_hit\" armor=\"30\"/>";
str = str + "<object yoffset=\"13.4\" xoffset=\"475\" object=\"fort_gun_hit\"linkage=\"fort_med2_gun2_hit\" armor=\"30\"/>";
str = str + "<object yoffset=\"13.4\" xoffset=\"475\" object=\"fort\"linkage=\"fort_med2\"/>";
str = str + "<object yoffset=\"13.4\" xoffset=\"475\" tank=\"tower_gun\"base=\"fort_med2_gun1_gun\" clip=\"4\" reloadingTime=\"76\" cannonTimeOffset=\"48\"/>";
str = str + "<object yoffset=\"13.4\" xoffset=\"475\" tank=\"tower_gun\"base=\"fort_med2_gun2_gun\" reloadingTime=\"96\" cannonTimeOffset=\"0\"/>";
str = str + "<object yoffset=\"13.7\" command=\"slideConstant\" factor=\"0.5\" limit=\"1\"/>";
str = str + "<object yoffset=\"14.2\" command=\"slideNormal\"/>";
str = str + "<object yoffset=\"13.1\" xoffset=\"515\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"13.2\" xoffset=\"15\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"13.7\" xoffset=\"5\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"13.6\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"13.5\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"14.1\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "</array>";
str = str + "</object>";
str = str + "<object name=\"level_4\">";
str = str + "<var name=\"comment1_en\" >There is no difficultly to track down the merchant, yet his ship - one of the hugest in all seven seas \u2013 is the really floating market. However is a big problem to get him cause he gets a number of guards and his ship is well-armed. |But Jack\u2019s thirst of a profit always was stronger than an instinct of self-preservation, therefore nothing can stop Jack and his men! </var><var name=\"playerX\" value=\"100\" />";
str = str + "<var name=\"playerY\" value=\"100\" />";
str = str + "<var name=\"playerArmor\" value=\"100\" />";
str = str + "<var name=\"playerShield\" value=\"0\" />";
str = str + "<var name=\"playerAvailableWeapons\" value=\"1\" />";
str = str + "<array name=\"level\">";
str = str + "<object yoffset=\"1.3\" xoffset=\"515\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"1.6\" xoffset=\"15\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"1.7\" xoffset=\"5\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"2.1\" tank=\"bcircle_way\" mainObj=\"ship_lite\" xoffset=\"350\"cannonAngle=\"h45\"mratio=\"5\" clip=\"2\" reloadingTime=\"36\"/>";
str = str + "<object yoffset=\"2.3\" tank=\"bcircle_way\" mainObj=\"ship_lite\" xoffset=\"350\"cannonAngle=\"h45\"mratio=\"5\" clip=\"2\" reloadingTime=\"36\"/>";
str = str + "<object yoffset=\"2.5\" tank=\"bcircle_way\" mainObj=\"ship_lite\" xoffset=\"350\"cannonAngle=\"h45\"mratio=\"5\" clip=\"2\" reloadingTime=\"36\"/>";
str = str + "<object yoffset=\"1.0\" bonus=\"coin\" xoffset=\"220\"/>";
str = str + "<object yoffset=\"1.0\" bonus=\"coin\" xoffset=\"330\"/>";
str = str + "<object yoffset=\"1.2\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"1.8\" bonus=\"coin\" xoffset=\"230\"/>";
str = str + "<object yoffset=\"1.8\" bonus=\"coin\" xoffset=\"320\"/>";
str = str + "<object yoffset=\"1.5\" xoffset=\"500\" object=\"fort_tower\"linkage=\"fort_sm2_gun1_hit\"/>";
str = str + "<object yoffset=\"1.5\" xoffset=\"500\" object=\"fort\"linkage=\"fort_sm2\"/>";
str = str + "<object yoffset=\"2.0\" xoffset=\"70\"object=\"dock_x\"/>";
str = str + "<object yoffset=\"2.0\" xoffset=\"45\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"2.0\" xoffset=\"45\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"515\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"2.6\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"2.4\" bonus=\"coin\" xoffset=\"250\"/>";
str = str + "<object yoffset=\"2.4\" bonus=\"coin\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"2.5\" bonus=\"coin\" xoffset=\"180\"/>";
str = str + "<object yoffset=\"2.5\" bonus=\"coin\" xoffset=\"370\"/>";
str = str + "<object yoffset=\"3.4\" bonus=\"coin\" xoffset=\"250\"/>";
str = str + "<object yoffset=\"3.4\" bonus=\"coin\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"3.7\" bonus=\"coin\" xoffset=\"350\"/>";
str = str + "<object yoffset=\"3.7\" bonus=\"coin\" xoffset=\"400\"/>";
str = str + "<object yoffset=\"4.0\" bonus=\"coin\" xoffset=\"250\"/>";
str = str + "<object yoffset=\"4.0\" bonus=\"coin\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"3.3\" xoffset=\"510\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"3.5\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"3.1\" tank=\"bcircle_way\" mainObj=\"ship_lite\" xoffset=\"400\"cannonAngle=\"h-45\"mratio=\"5\" clip=\"2\" reloadingTime=\"36\" factor=\"-1\"/>";
str = str + "<object yoffset=\"3.3\" tank=\"bcircle_way\" mainObj=\"ship_lite\" xoffset=\"400\"cannonAngle=\"h-45\"mratio=\"5\" clip=\"2\" reloadingTime=\"36\" factor=\"-1\"/>";
str = str + "<object yoffset=\"3.5\" tank=\"bcircle_way\" mainObj=\"ship_lite\" xoffset=\"400\"cannonAngle=\"h-45\"mratio=\"5\" clip=\"2\" reloadingTime=\"36\" factor=\"-1\"/>";
str = str + "<object yoffset=\"3.8\" xoffset=\"70\" object=\"fort_gun_hit\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"3.8\" xoffset=\"70\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"3.8\" xoffset=\"70\" tank=\"tower_gun\"base=\"fort_sm1_gun1_gun\" mainObj=\"slow_gun1\"/>";
str = str + "<object yoffset=\"4.2\" bonus=\"fireRate\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"4.4\" xoffset=\"200\"object=\"dock_x\"/>";
str = str + "<object yoffset=\"4.4\" xoffset=\"250\"object=\"dock_x\"/>";
str = str + "<object yoffset=\"4.4\" xoffset=\"300\"object=\"dock_x\"/>";
str = str + "<object yoffset=\"4.4\" xoffset=\"350\"object=\"dock_x\"/>";
str = str + "<object yoffset=\"4.5\" xoffset=\"540\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"4.1\" xoffset=\"70\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"4.4\" xoffset=\"425\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"4.4\" xoffset=\"425\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"4.4\" xoffset=\"175\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"4.4\" xoffset=\"175\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"4.2\" xoffset=\"450\" object=\"fort_tower\"linkage=\"fort_med1_tower1\"/>";
str = str + "<object yoffset=\"4.2\" xoffset=\"450\" object=\"fort_tower\"linkage=\"fort_med1_tower2\"/>";
str = str + "<object yoffset=\"4.2\" xoffset=\"450\" object=\"fort_gun_hit\"linkage=\"fort_med1_gun1_hit\" armor=\"30\"/>";
str = str + "<object yoffset=\"4.2\" xoffset=\"450\" object=\"fort_gun_hit\"linkage=\"fort_med1_gun2_hit\" armor=\"30\"/>";
str = str + "<object yoffset=\"4.2\" xoffset=\"450\" object=\"fort\"linkage=\"fort_med1\"/>";
str = str + "<object yoffset=\"4.2\" xoffset=\"450\" tank=\"tower_gun\"base=\"fort_med1_gun1_gun\" clip=\"2\" reloadingTime=\"106\"/>";
str = str + "<object yoffset=\"4.2\" xoffset=\"450\" tank=\"tower_gun\"base=\"fort_med1_gun2_gun\" clip=\"4\" reloadingTime=\"96\" cannonTimeOffset=\"36\"/>";
str = str + "<object yoffset=\"4.5\" command=\"slideConstant\" factor=\"0.5\" limit=\"1\"/>";
str = str + "<object yoffset=\"4.9\" command=\"slideNormal\"/>";
str = str + "<object yoffset=\"4.6\" bonus=\"coin\" xoffset=\"220\"/>";
str = str + "<object yoffset=\"4.6\" bonus=\"coin\" xoffset=\"330\"/>";
str = str + "<object yoffset=\"4.8\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"5.5\" bonus=\"fullHealth\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"4.7\" xoffset=\"550\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"4.7\" xoffset=\"0\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"5.0\" xoffset=\"480\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"5.0\" xoffset=\"70\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"5.2\" xoffset=\"100\" object=\"fort_gun_hit\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"5.2\" xoffset=\"100\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"5.2\" xoffset=\"100\" tank=\"tower_gun\"base=\"fort_sm1_gun1_gun\" mainObj=\"slow_gun1\" clip=\"2\" cannonTimeOffset=\"36\"/>";
str = str + "<object yoffset=\"5.2\" xoffset=\"450\" object=\"fort_gun_hit\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"5.2\" xoffset=\"450\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"5.2\" xoffset=\"450\" tank=\"tower_gun\"base=\"fort_sm1_gun1_gun\" mainObj=\"slow_gun1\"clip=\"2\" />";
str = str + "<object yoffset=\"5.5\" command=\"slideConstant\" factor=\"1.5\" limit=\"2\"/>";
str = str + "<object yoffset=\"7.5\" tank=\"galeraboss_way\" mainObj=\"galeraboss\" bossBar=\"1\" xoffset=\"275\" armor=\"250\"/>";
str = str + "<object yoffset=\"6.2\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"7.1\" xoffset=\"0\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"8.0\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"8.9\" xoffset=\"550\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"9.8\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"10.7\" xoffset=\"0\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"11.6\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"12.5\" xoffset=\"550\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"13.4\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"14.3\" xoffset=\"0\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"15.2\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"16.1\" xoffset=\"550\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"17.0\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"17.9\" xoffset=\"0\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"19.8\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"20.7\" xoffset=\"550\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"21.6\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"22.5\" xoffset=\"0\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"23.4\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"24.3\" xoffset=\"550\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"25.2\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"26.1\" xoffset=\"0\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"27.0\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"27.9\" xoffset=\"550\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"29.8\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"30.7\" xoffset=\"0\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"31.6\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"32.5\" xoffset=\"550\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"33.4\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"34.3\" xoffset=\"0\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"35.2\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"36.1\" xoffset=\"550\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"37.0\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"37.9\" xoffset=\"0\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "</array>";
str = str + "</object>";
str = str + "<object name=\"level_5\">";
str = str + "<var name=\"comment1_en\" >While brave crew fairly cleaned hold of the poor merchant, Jack was find out that new happy owner of a map became the governor of one of nearby islands. He is odious old militarist, which residence is the really unassailable fortress on which walls the set of surprises... This is not pleasant new \u2013 but Jack can\u2019t be stopped by fibs about huge sharks-murderers and huge island-sized turtles.</var><var name=\"playerX\" value=\"100\" />";
str = str + "<var name=\"playerY\" value=\"100\" />";
str = str + "<var name=\"playerArmor\" value=\"100\" />";
str = str + "<var name=\"playerShield\" value=\"0\" />";
str = str + "<var name=\"playerAvailableWeapons\" value=\"1\" />";
str = str + "<array name=\"level\">";
str = str + "<object yoffset=\"1.2\" xoffset=\"80\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"1.2\" xoffset=\"80\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"1.2\" xoffset=\"470\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"1.2\" xoffset=\"470\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"1.4\" xoffset=\"15\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"1.2\" xoffset=\"5\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"1.1\" xoffset=\"20\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"1.1\" xoffset=\"530\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"1.0\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"1.2\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"1.4\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"1.3\" tank=\"line_way\" mainObj=\"ship_lite\"rotate=\"-25\" xoffset=\"-5\" mratio=\"2\"/>";
str = str + "<object yoffset=\"1.4\" tank=\"line_way\" mainObj=\"ship_lite\"rotate=\"25\"xoffset=\"-5\"mratio=\"2\" factor=\"-1\" />";
str = str + "<object yoffset=\"1.5\" tank=\"line_way\" mainObj=\"ship_lite\"rotate=\"-25\" xoffset=\"-5\" mratio=\"2\"/> cannonTimeOffset=\"24\"";
str = str + "<object yoffset=\"1.6\" tank=\"line_way\" mainObj=\"ship_lite\"rotate=\"25\"xoffset=\"-5\"mratio=\"2\" factor=\"-1\" cannonTimeOffset=\"24\"/>";
str = str + "<object yoffset=\"1.9\" xoffset=\"20\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"1.9\" xoffset=\"530\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"2.7\" xoffset=\"20\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"2.7\" xoffset=\"530\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"2.3\" bonus=\"coin\" xoffset=\"100\"/>";
str = str + "<object yoffset=\"2.3\" bonus=\"coin\" xoffset=\"450\"/>";
str = str + "<object yoffset=\"2.1\" bonus=\"coin\" xoffset=\"150\"/>";
str = str + "<object yoffset=\"2.1\" bonus=\"coin\" xoffset=\"400\"/>";
str = str + "<object yoffset=\"2.0\" bonus=\"coin\" xoffset=\"230\"/>";
str = str + "<object yoffset=\"2.0\" bonus=\"coin\" xoffset=\"320\"/>";
str = str + "<object yoffset=\"2.8\" xoffset=\"105\"object=\"dock_x\"/>";
str = str + "<object yoffset=\"2.8\" xoffset=\"395\"object=\"dock_x\"/>";
str = str + "<object yoffset=\"2.8\" xoffset=\"80\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"2.8\" xoffset=\"80\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"2.8\" xoffset=\"470\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"2.8\" xoffset=\"470\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"3.0\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"3.2\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"3.4\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"3.6\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"3.8\" bonus=\"miniHealth\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"3.3\" tank=\"bcircle_way\" mainObj=\"ship_grob\" xoffset=\"100\" endFrame=\"400\" rotate=\"-90\"mratio=\"3\" clip=\"4\" reloadingTime=\"36, 24\" cannonTimeOffset=\"25, 10000\"/>";
str = str + "<object yoffset=\"3.3\" tank=\"bcircle_way\" mainObj=\"ship_grob\" xoffset=\"100\" endFrame=\"400\" rotate=\"90\"mratio=\"3\" clip=\"4\" reloadingTime=\"36, 24\" cannonTimeOffset=\"0, 10000\" factor=\"-1\"/>";
str = str + "<object yoffset=\"4.0\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"230\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"4.0\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"320\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"4.1\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"275\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"4.4\" xoffset=\"280\" object=\"fort_tower\"linkage=\"fort_sm2_gun1_hit\"/>";
str = str + "<object yoffset=\"4.4\" xoffset=\"280\" object=\"fort\"linkage=\"fort_sm2\"/>";
str = str + "<object yoffset=\"4.0\" xoffset=\"530\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"4.5\" xoffset=\"150\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"4.6\" xoffset=\"255\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"4.9\" xoffset=\"280\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"5.0\" xoffset=\"295\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"5.1\" xoffset=\"280\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"5.1\" xoffset=\"25\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"5.3\" xoffset=\"50\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"5.3\" xoffset=\"50\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"4.3\" bonus=\"coin\" xoffset=\"100\"/>";
str = str + "<object yoffset=\"4.5\" bonus=\"coin\" xoffset=\"50\"/>";
str = str + "<object yoffset=\"4.7\" bonus=\"coin\" xoffset=\"100\"/>";
str = str + "<object yoffset=\"4.9\" bonus=\"coin\" xoffset=\"150\"/>";
str = str + "<object yoffset=\"5.2\" tank=\"line_way\" mainObj=\"ship_galera\" xoffset=\"5\" cannonAngle=\"h90, t\" rotate=\"-80\" mratio=\"3\" factor=\"-1\"/>";
str = str + "<object yoffset=\"5.8\" xoffset=\"20\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"6.0\" xoffset=\"400\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"6.1\" xoffset=\"295\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"6.4\" xoffset=\"270\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"6.5\" xoffset=\"235\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"6.6\" xoffset=\"270\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"6.7\" xoffset=\"245\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"6.7\" xoffset=\"245\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"5.8\" bonus=\"coin\" xoffset=\"450\"/>";
str = str + "<object yoffset=\"6.0\" bonus=\"coin\" xoffset=\"500\"/>";
str = str + "<object yoffset=\"6.2\" bonus=\"coin\" xoffset=\"450\"/>";
str = str + "<object yoffset=\"6.4\" bonus=\"coin\" xoffset=\"400\"/>";
str = str + "<object yoffset=\"6.6\" tank=\"line_way\" mainObj=\"ship_galera\" xoffset=\"5\" cannonAngle=\"h-90, t\" rotate=\"80\" mratio=\"3\"/>";
str = str + "<object yoffset=\"6.8\" tank=\"line_way\" mainObj=\"ship_galera\" xoffset=\"5\" cannonAngle=\"h-90, t\" rotate=\"80\" mratio=\"3\"/>";
str = str + "<object yoffset=\"7.4\" xoffset=\"300\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"7.5\" xoffset=\"150\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"7.6\" xoffset=\"255\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"7.9\" xoffset=\"280\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"8.0\" xoffset=\"295\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"8.1\" xoffset=\"280\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"8.1\" xoffset=\"25\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"8.3\" xoffset=\"50\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"8.3\" xoffset=\"50\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"7.3\" bonus=\"coin\" xoffset=\"100\"/>";
str = str + "<object yoffset=\"7.5\" bonus=\"coin\" xoffset=\"50\"/>";
str = str + "<object yoffset=\"7.7\" bonus=\"coin\" xoffset=\"100\"/>";
str = str + "<object yoffset=\"7.9\" bonus=\"coin\" xoffset=\"150\"/>";
str = str + "<object yoffset=\"8.0\" tank=\"line_way\" mainObj=\"ship_galera\" xoffset=\"5\" cannonAngle=\"h90, t\" rotate=\"-80\" mratio=\"3\" factor=\"-1\"/>";
str = str + "<object yoffset=\"8.2\" tank=\"line_way\" mainObj=\"ship_galera\" xoffset=\"5\" cannonAngle=\"h90, t\" rotate=\"-80\" mratio=\"3\" factor=\"-1\"/>";
str = str + "<object yoffset=\"8.4\" tank=\"line_way\" mainObj=\"ship_galera\" xoffset=\"5\" cannonAngle=\"h90, t\" rotate=\"-80\" mratio=\"3\" factor=\"-1\"/>";
str = str + "<object yoffset=\"8.7\" xoffset=\"20\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"8.7\" xoffset=\"530\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"9.4\" xoffset=\"20\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"9.4\" xoffset=\"530\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"9.0\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"8.7\" bonus=\"coin\" xoffset=\"230\"/>";
str = str + "<object yoffset=\"8.7\" bonus=\"coin\" xoffset=\"320\"/>";
str = str + "<object yoffset=\"8.8\" bonus=\"coin\" xoffset=\"150\"/>";
str = str + "<object yoffset=\"8.8\" bonus=\"coin\" xoffset=\"400\"/>";
str = str + "<object yoffset=\"9.0\" bonus=\"coin\" xoffset=\"100\"/>";
str = str + "<object yoffset=\"9.0\" bonus=\"coin\" xoffset=\"450\"/>";
str = str + "<object yoffset=\"9.2\" bonus=\"coin\" xoffset=\"150\"/>";
str = str + "<object yoffset=\"9.2\" bonus=\"coin\" xoffset=\"400\"/>";
str = str + "<object yoffset=\"9.3\" bonus=\"fullHealth\" xoffset=\"230\"/>";
str = str + "<object yoffset=\"9.3\" bonus=\"double\" xoffset=\"320\"/>";
str = str + "<object yoffset=\"9.5\" xoffset=\"105\"object=\"dock_x\"/>";
str = str + "<object yoffset=\"9.5\" xoffset=\"395\"object=\"dock_x\"/>";
str = str + "<object yoffset=\"9.5\" xoffset=\"80\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"9.5\" xoffset=\"80\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"9.5\" xoffset=\"470\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"9.5\" xoffset=\"470\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"10.0\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"230\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"10.0\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"320\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"10.1\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"275\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"10.3\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"130\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"10.3\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"220\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"10.4\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"175\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"10.3\" bonus=\"coin\" xoffset=\"330\"/>";
str = str + "<object yoffset=\"10.3\" bonus=\"coin\" xoffset=\"420\"/>";
str = str + "<object yoffset=\"10.4\" bonus=\"coin\" xoffset=\"375\"/>";
str = str + "<object yoffset=\"10.6\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"230\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"10.6\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"320\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"10.7\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"275\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"10.9\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"330\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"10.9\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"420\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"11.0\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"375\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"10.9\" bonus=\"coin\" xoffset=\"130\"/>";
str = str + "<object yoffset=\"10.9\" bonus=\"coin\" xoffset=\"220\"/>";
str = str + "<object yoffset=\"11.0\" bonus=\"coin\" xoffset=\"175\"/>";
str = str + "<object yoffset=\"11.5\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"11.5\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"11.5\" xoffset=\"450\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"11.5\" xoffset=\"500\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"11.4\" bonus=\"coin\" xoffset=\"260\"/>";
str = str + "<object yoffset=\"11.4\" bonus=\"coin\" xoffset=\"290\"/>";
str = str + "<object yoffset=\"11.6\" bonus=\"coin\" xoffset=\"260\"/>";
str = str + "<object yoffset=\"11.6\" bonus=\"coin\" xoffset=\"290\"/>";
str = str + "<object yoffset=\"12.0\" bonus=\"coin\" xoffset=\"50\"/>";
str = str + "<object yoffset=\"12.0\" bonus=\"coin\" xoffset=\"80\"/>";
str = str + "<object yoffset=\"12.0\" bonus=\"coin\" xoffset=\"500\"/>";
str = str + "<object yoffset=\"12.0\" bonus=\"coin\" xoffset=\"470\"/>";
str = str + "<object yoffset=\"11.6\" tank=\"bcircle_way\" mainObj=\"ship_grob\" xoffset=\"50\" endFrame=\"600\" rotate=\"-90\"mratio=\"3\" clip=\"4\" reloadingTime=\"36, 24\" cannonTimeOffset=\"25, 10000\"/>";
str = str + "<object yoffset=\"11.6\" tank=\"bcircle_way\" mainObj=\"ship_grob\" xoffset=\"50\" endFrame=\"600\" rotate=\"90\"mratio=\"3\" clip=\"4\" reloadingTime=\"36, 24\" cannonTimeOffset=\"0, 10000\" factor=\"-1\"/>";
str = str + "<object yoffset=\"12.0\" xoffset=\"200\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"12.0\" xoffset=\"200\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"12.0\" xoffset=\"350\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"12.0\" xoffset=\"350\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"12.0\" xoffset=\"300\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"12.0\" xoffset=\"250\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"12.2\" tank=\"line_way\" mainObj=\"ship_med\" xoffset=\"275\" endFrame=\"1\"mratio=\"3\" clip=\"2, 2\" reloadingTime=\"72, 72\" cannonTimeOffset=\"0, 36\" factor=\"-1\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"350\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"350\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"150\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"150\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"100\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"400\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"450\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"500\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"200\" object=\"tower_gates2\"/>";
str = str + "<object yoffset=\"12.9\" bonus=\"miniHealth\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"12.9\" bonus=\"coin\" xoffset=\"225\"/>";
str = str + "<object yoffset=\"12.9\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"12.9\" bonus=\"coin\" xoffset=\"325\"/>";
str = str + "<object yoffset=\"13.2\" xoffset=\"20\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"13.2\" xoffset=\"530\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"13.8\" xoffset=\"275\" object=\"fort_tower\"linkage=\"fort_med2_tower1\"/>";
str = str + "<object yoffset=\"13.8\" xoffset=\"275\" object=\"fort_tower\"linkage=\"fort_med2_tower2\"/>";
str = str + "<object yoffset=\"13.8\" xoffset=\"275\" object=\"fort_gun_hit\"linkage=\"fort_med2_gun1_hit\" armor=\"60\"/>";
str = str + "<object yoffset=\"13.8\" xoffset=\"275\" object=\"fort_gun_hit\"linkage=\"fort_med2_gun2_hit\" armor=\"60\"/>";
str = str + "<object yoffset=\"13.8\" xoffset=\"275\" object=\"fort\"linkage=\"fort_med2\"/>";
str = str + "<object yoffset=\"13.8\" xoffset=\"275\" tank=\"tower_gun\"base=\"fort_med2_gun1_gun\" clip=\"2\" reloadingTime=\"106\"/>";
str = str + "<object yoffset=\"13.8\" xoffset=\"275\" tank=\"tower_gun\"base=\"fort_med2_gun2_gun\" clip=\"4\" reloadingTime=\"96\" cannonTimeOffset=\"36\"/>";
str = str + "<object yoffset=\"14.0\" xoffset=\"25\" object=\"fort_gun_hit\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"14.0\" xoffset=\"25\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"14.0\" xoffset=\"25\" tank=\"tower_gun\"base=\"fort_sm1_gun1_gun\"/>";
str = str + "<object yoffset=\"14.0\" xoffset=\"525\" object=\"fort_gun_hit\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"14.0\" xoffset=\"525\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"14.0\" xoffset=\"525\" tank=\"tower_gun\"base=\"fort_sm1_gun1_gun\"/>";
str = str + "<object yoffset=\"14.7\" xoffset=\"20\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"14.7\" xoffset=\"530\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"14.4\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"14.1\" bonus=\"coin\" xoffset=\"230\"/>";
str = str + "<object yoffset=\"14.1\" bonus=\"coin\" xoffset=\"320\"/>";
str = str + "<object yoffset=\"14.2\" bonus=\"coin\" xoffset=\"150\"/>";
str = str + "<object yoffset=\"14.2\" bonus=\"coin\" xoffset=\"400\"/>";
str = str + "<object yoffset=\"14.4\" bonus=\"coin\" xoffset=\"100\"/>";
str = str + "<object yoffset=\"14.4\" bonus=\"coin\" xoffset=\"450\"/>";
str = str + "<object yoffset=\"14.6\" bonus=\"coin\" xoffset=\"150\"/>";
str = str + "<object yoffset=\"14.6\" bonus=\"coin\" xoffset=\"400\"/>";
str = str + "<object yoffset=\"14.7\" bonus=\"coin\" xoffset=\"230\"/>";
str = str + "<object yoffset=\"14.7\" bonus=\"coin\" xoffset=\"320\"/>";
str = str + "<object yoffset=\"15.1\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"15.1\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"15.5\" xoffset=\"120\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"15.5\" xoffset=\"400\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"15.6\" xoffset=\"380\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"15.8\" xoffset=\"30\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"16.1\" tank=\"line_way\" mainObj=\"ship_galera\" xoffset=\"5\" cannonAngle=\"t, t\" rotate=\"25\" mratio=\"4\" />";
str = str + "<object yoffset=\"16.2\" tank=\"line_way\" mainObj=\"ship_galera\" xoffset=\"5\" cannonAngle=\"t, t\" rotate=\"-25\" mratio=\"4\" factor=\"-1\" />";
str = str + "</array>";
str = str + "</object>";
str = str + "<object name=\"level_6\">";
str = str + "<var name=\"comment1_en\" >When Jack and his men make the way in possession of the old cranky militarist more deeply, then it is their doubts about his madness and existence of huge sharks-murderers. By the way \u2013 what about island-sized turtles?...</var><var name=\"playerX\" value=\"100\" />";
str = str + "<var name=\"playerY\" value=\"100\" />";
str = str + "<var name=\"playerArmor\" value=\"100\" />";
str = str + "<var name=\"playerShield\" value=\"0\" />";
str = str + "<var name=\"playerAvailableWeapons\" value=\"1\" />";
str = str + "<array name=\"level\">";
str = str + "<object yoffset=\"1.1\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"1.1\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"1.5\" xoffset=\"120\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"1.5\" xoffset=\"400\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"1.4\" xoffset=\"475\" object=\"fort_tower\"linkage=\"fort_sm2_gun1_hit\"/>";
str = str + "<object yoffset=\"1.4\" xoffset=\"475\" object=\"fort\"linkage=\"fort_sm2\"/>";
str = str + "<object yoffset=\"1.1\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"1.3\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"1.5\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"1.7\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"350\" object=\"fort_gun_hit\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"350\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"350\" tank=\"tower_gun\"base=\"pyrs_tower_gun1_gun\" clip=\"2\" reloadingTime=\"60\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"150\" object=\"fort_gun_hit\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"150\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"150\" tank=\"tower_gun\"base=\"pyrs_tower_gun1_gun\" clip=\"2\" reloadingTime=\"60\" cannonTimeOffset=\"36\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"100\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"400\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"450\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"500\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"200\" object=\"tower_gates2\" armor=\"40\"/>";
str = str + "<object yoffset=\"2.5\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"2.7\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"2.9\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"3.1\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"3.3\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"3.5\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"3.7\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"2.7\" xoffset=\"100\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"2.7\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"2.7\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"400\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"450\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"500\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"3.0\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"5\" endFrame=\"800\" rotate=\"20\"mratio=\"3\" factor=\"-1\"/>";
str = str + "<object yoffset=\"3.1\" xoffset=\"100\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"3.1\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"3.1\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"3.2\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"5\" endFrame=\"800\" rotate=\"-20\"mratio=\"3\"/>";
str = str + "<object yoffset=\"3.3\" xoffset=\"400\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"3.3\" xoffset=\"450\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"3.3\" xoffset=\"500\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"3.4\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"5\" endFrame=\"800\" rotate=\"20\"mratio=\"3\" factor=\"-1\"/>";
str = str + "<object yoffset=\"3.5\" xoffset=\"100\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"3.5\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"3.5\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"3.6\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"5\" endFrame=\"800\" rotate=\"-20\"mratio=\"3\"/>";
str = str + "<object yoffset=\"4.3\" xoffset=\"350\" object=\"fort_gun_hit\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"4.3\" xoffset=\"350\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"4.3\" xoffset=\"350\" tank=\"tower_gun\"base=\"pyrs_tower_gun1_gun\" clip=\"2\" reloadingTime=\"60\"/>";
str = str + "<object yoffset=\"4.3\" xoffset=\"150\" object=\"fort_gun_hit\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"4.3\" xoffset=\"150\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"4.3\" xoffset=\"150\" tank=\"tower_gun\"base=\"pyrs_tower_gun1_gun\" clip=\"2\" reloadingTime=\"60\" cannonTimeOffset=\"36\"/>";
str = str + "<object yoffset=\"4.3\" xoffset=\"100\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"4.3\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"4.3\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"4.3\" xoffset=\"400\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"4.3\" xoffset=\"450\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"4.3\" xoffset=\"500\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"4.3\" xoffset=\"200\" object=\"tower_gates2\" armor=\"40\"/>";
str = str + "<object yoffset=\"4.5\" bonus=\"miniHealth\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"4.5\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"4.5\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"4.7\" xoffset=\"20\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"4.7\" xoffset=\"520\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"4.8\" bonus=\"coin\" xoffset=\"310\"/>";
str = str + "<object yoffset=\"4.8\" bonus=\"coin\" xoffset=\"240\"/>";
str = str + "<object yoffset=\"4.9\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"5.0\" bonus=\"coin\" xoffset=\"310\"/>";
str = str + "<object yoffset=\"5.0\" bonus=\"coin\" xoffset=\"240\"/>";
str = str + "<object yoffset=\"5.4\" tank=\"player_way\" mainObj=\"ship_shark\" xoffset=\"50\" speed=\"2\"/>";
str = str + "<object yoffset=\"5.4\" tank=\"player_way\" mainObj=\"ship_shark\" xoffset=\"500\" speed=\"2\"/>";
str = str + "<object yoffset=\"5.7\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"5.7\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"5.8\" xoffset=\"20\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"5.8\" xoffset=\"520\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"5.5\" bonus=\"coin\" xoffset=\"310\"/>";
str = str + "<object yoffset=\"5.5\" bonus=\"coin\" xoffset=\"240\"/>";
str = str + "<object yoffset=\"5.6\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"5.8\" bonus=\"coin\" xoffset=\"310\"/>";
str = str + "<object yoffset=\"5.8\" bonus=\"coin\" xoffset=\"240\"/>";
str = str + "<object yoffset=\"5.9\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"6.7\" bonus=\"fireRate\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"6.4\" tank=\"player_way\" mainObj=\"ship_shark\" xoffset=\"50\" speed=\"2\"/>";
str = str + "<object yoffset=\"6.4\" tank=\"player_way\" mainObj=\"ship_shark\" xoffset=\"500\" speed=\"2\"/>";
str = str + "<object yoffset=\"6.5\" tank=\"player_way\" mainObj=\"ship_shark\" xoffset=\"275\" speed=\"3\"/>";
str = str + "<object yoffset=\"6.7\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"6.7\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"6.8\" xoffset=\"20\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"6.8\" xoffset=\"520\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"7.2\" tank=\"player_way\" mainObj=\"ship_shark\" xoffset=\"50\" speed=\"2\"/>";
str = str + "<object yoffset=\"7.2\" tank=\"player_way\" mainObj=\"ship_shark\" xoffset=\"500\" speed=\"2\"/>";
str = str + "<object yoffset=\"7.3\" tank=\"player_way\" mainObj=\"ship_shark\" xoffset=\"150\" speed=\"2\"/>";
str = str + "<object yoffset=\"7.3\" tank=\"player_way\" mainObj=\"ship_shark\" xoffset=\"400\" speed=\"2\"/>";
str = str + "<object yoffset=\"7.4\" tank=\"player_way\" mainObj=\"ship_shark\" xoffset=\"275\" speed=\"3\"/>";
str = str + "<object yoffset=\"7.3\" bonus=\"coin\" xoffset=\"310\"/>";
str = str + "<object yoffset=\"7.3\" bonus=\"coin\" xoffset=\"240\"/>";
str = str + "<object yoffset=\"7.4\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"7.5\" bonus=\"coin\" xoffset=\"310\"/>";
str = str + "<object yoffset=\"7.5\" bonus=\"coin\" xoffset=\"240\"/>";
str = str + "<object yoffset=\"7.9\" xoffset=\"275\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"7.9\" xoffset=\"275\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"8.0\" xoffset=\"315\" object=\"tower_gates2\" armor=\"40\"/>";
str = str + "<object yoffset=\"8.0\" xoffset=\"520\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"8.1\" xoffset=\"260\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"8.4\" xoffset=\"220\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"8.6\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"9.3\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"8.7\" xoffset=\"200\" object=\"fort_tower\"linkage=\"fort_med2_tower1\"/>";
str = str + "<object yoffset=\"8.7\" xoffset=\"200\" object=\"fort_tower\"linkage=\"fort_med2_tower2\"/>";
str = str + "<object yoffset=\"8.7\" xoffset=\"200\" object=\"fort_gun_hit\"linkage=\"fort_med2_gun1_hit\" armor=\"60\"/>";
str = str + "<object yoffset=\"8.7\" xoffset=\"200\" object=\"fort_gun_hit\"linkage=\"fort_med2_gun2_hit\" armor=\"60\"/>";
str = str + "<object yoffset=\"8.7\" xoffset=\"200\" object=\"fort\"linkage=\"fort_med2\"/>";
str = str + "<object yoffset=\"8.7\" xoffset=\"200\" tank=\"tower_gun\"base=\"fort_med2_gun1_gun\" clip=\"2\" reloadingTime=\"106\"/>";
str = str + "<object yoffset=\"8.7\" xoffset=\"200\" tank=\"tower_gun\"base=\"fort_med2_gun2_gun\" clip=\"4\" reloadingTime=\"96\" cannonTimeOffset=\"36\"/>";
str = str + "<object yoffset=\"9.1\" xoffset=\"25\" object=\"fort_tower\"linkage=\"fort_sm2_gun1_hit\"/>";
str = str + "<object yoffset=\"9.1\" xoffset=\"25\" object=\"fort\"linkage=\"fort_sm2\"/>";
str = str + "<object yoffset=\"9.6\" xoffset=\"380\" object=\"fort_tower\"linkage=\"fort_big_tower1\"/>";
str = str + "<object yoffset=\"9.6\" xoffset=\"380\" object=\"fort_tower\"linkage=\"fort_big_tower2\"/>";
str = str + "<object yoffset=\"9.6\" xoffset=\"380\" object=\"fort_gun_hit\"linkage=\"fort_big_gun1_hit\" armor=\"40\"/>";
str = str + "<object yoffset=\"9.6\" xoffset=\"380\" object=\"fort_gun_hit\"linkage=\"fort_big_gun2_hit\" armor=\"40\"/>";
str = str + "<object yoffset=\"9.6\" xoffset=\"380\" object=\"fort_gun_hit\"linkage=\"fort_big_gun3_hit\" armor=\"40\"/>";
str = str + "<object yoffset=\"9.6\" xoffset=\"380\" object=\"fort\"linkage=\"fort_big\"/>";
str = str + "<object yoffset=\"9.6\" xoffset=\"380\" tank=\"tower_gun\"base=\"fort_big_gun1_gun\" clip=\"2\" reloadingTime=\"88\" cannonTimeOffset=\"0\"/>";
str = str + "<object yoffset=\"9.6\" xoffset=\"380\" tank=\"tower_gun\"base=\"fort_big_gun2_gun\" clip=\"4\" reloadingTime=\"80\" cannonTimeOffset=\"48\"/>";
str = str + "<object yoffset=\"9.6\" xoffset=\"380\" tank=\"tower_gun\"base=\"fort_big_gun3_gun\" clip=\"8\" reloadingTime=\"64\" cannonTimeOffset=\"96\"/>";
str = str + "<object yoffset=\"8.2\" bonus=\"coin\" xoffset=\"440\"/>";
str = str + "<object yoffset=\"8.2\" bonus=\"coin\" xoffset=\"370\"/>";
str = str + "<object yoffset=\"8.3\" bonus=\"coin\" xoffset=\"405\"/>";
str = str + "<object yoffset=\"8.5\" bonus=\"coin\" xoffset=\"460\"/>";
str = str + "<object yoffset=\"8.5\" bonus=\"coin\" xoffset=\"390\"/>";
str = str + "<object yoffset=\"8.6\" bonus=\"coin\" xoffset=\"425\"/>";
str = str + "<object yoffset=\"10.5\" xoffset=\"70\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"10.7\" xoffset=\"480\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"11.3\" xoffset=\"70\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"11.5\" xoffset=\"480\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"10.7\" tank=\"player_way\" mainObj=\"ship_shark\" xoffset=\"250\" speed=\"2\"/>";
str = str + "<object yoffset=\"10.7\" tank=\"player_way\" mainObj=\"ship_shark\" xoffset=\"300\" speed=\"2\"/>";
str = str + "<object yoffset=\"11.7\" tank=\"player_way\" mainObj=\"ship_shark\" xoffset=\"275\" speed=\"2\"/>";
str = str + "<object yoffset=\"10.6\" bonus=\"fullHealth\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"10.9\" bonus=\"coin\" xoffset=\"50\"/>";
str = str + "<object yoffset=\"10.9\" bonus=\"coin\" xoffset=\"150\"/>";
str = str + "<object yoffset=\"11.0\" bonus=\"coin\" xoffset=\"100\"/>";
str = str + "<object yoffset=\"11.1\" bonus=\"coin\" xoffset=\"500\"/>";
str = str + "<object yoffset=\"11.2\" bonus=\"coin\" xoffset=\"450\"/>";
str = str + "<object yoffset=\"11.1\" bonus=\"coin\" xoffset=\"400\"/>";
str = str + "<object yoffset=\"11.9\" tank=\"bcircle_way\" mainObj=\"ship_med\" xoffset=\"100\" endFrame=\"400\" rotate=\"-90\"mratio=\"3\"/>";
str = str + "<object yoffset=\"11.9\" tank=\"bcircle_way\" mainObj=\"ship_med\" xoffset=\"100\" endFrame=\"400\" rotate=\"90\"mratio=\"3\"factor=\"-1\"/>";
str = str + "<object yoffset=\"12.7\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"200\" rotate=\"90\"mratio=\"2\"/>";
str = str + "<object yoffset=\"12.7\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"350\" rotate=\"90\"mratio=\"2\"/>";
str = str + "<object yoffset=\"12.6\" tank=\"line_way\" mainObj=\"ship_grob2\" xoffset=\"275\" rotate=\"90\"mratio=\"1\"/>";
str = str + "<object yoffset=\"12.9\" xoffset=\"350\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"12.9\" xoffset=\"350\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"12.9\" xoffset=\"150\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"12.9\" xoffset=\"150\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"12.9\" xoffset=\"100\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"12.9\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"12.9\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"12.9\" xoffset=\"400\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"12.9\" xoffset=\"450\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"12.9\" xoffset=\"500\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"12.9\" xoffset=\"200\" object=\"tower_gates2\" armor=\"40\"/>";
str = str + "<object yoffset=\"13.1\" bonus=\"fullHealth\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"13.1\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"13.1\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"13.4\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"13.4\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"13.5\" command=\"slideConstant\" factor=\"1.5\" limit=\"2\"/>";
str = str + "<object yoffset=\"13.9\" tank=\"turtleBoss_way\" mainObj=\"turtleboss\" bossBar=\"1\" xoffset=\"290\" armor=\"400\" movedWayOffset=\"60\" mratio=\"1\" wayCycle=\"3\"/>";
str = str + "</array>";
str = str + "</object>";
str = str + "<object name=\"level_7\">";
str = str + "<var name=\"comment1_en\" >Finally Jack has caught a map of the legendariest treasure in the world! He needs only to escape from a citadel of the cranky governor. But he was prepare for Jack more many new, interesting and killing things...</var><var name=\"playerX\" value=\"100\" />";
str = str + "<var name=\"playerY\" value=\"100\" />";
str = str + "<var name=\"playerArmor\" value=\"100\" />";
str = str + "<var name=\"playerShield\" value=\"0\" />";
str = str + "<var name=\"playerAvailableWeapons\" value=\"1\" />";
str = str + "<array name=\"level\">";
str = str + "<object yoffset=\"1.1\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"1.8\" xoffset=\"20\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"1.1\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"1.8\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"1.8\" xoffset=\"300\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"1.2\" bonus=\"coin\" xoffset=\"310\"/>";
str = str + "<object yoffset=\"1.2\" bonus=\"coin\" xoffset=\"240\"/>";
str = str + "<object yoffset=\"1.3\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"1.6\" tank=\"player_way\" mainObj=\"ship_shark\" xoffset=\"100\" speed=\"2\"/>";
str = str + "<object yoffset=\"1.6\" tank=\"player_way\" mainObj=\"ship_shark\" xoffset=\"450\" speed=\"2\"/>";
str = str + "<object yoffset=\"1.6\" bonus=\"coin\" xoffset=\"500\"/>";
str = str + "<object yoffset=\"1.6\" bonus=\"coin\" xoffset=\"430\"/>";
str = str + "<object yoffset=\"1.7\" bonus=\"coin\" xoffset=\"465\"/>";
str = str + "<object yoffset=\"2.0\" xoffset=\"0\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"2.0\" xoffset=\"0\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"2.0\" xoffset=\"200\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"2.0\" xoffset=\"200\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"2.0\" xoffset=\"500\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"2.0\" xoffset=\"500\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"2.0\" xoffset=\"250\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"2.0\" xoffset=\"300\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"2.0\" xoffset=\"350\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"2.0\" xoffset=\"400\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"2.0\" xoffset=\"450\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"2.0\" xoffset=\"50\" object=\"tower_gates2\" armor=\"30\"/>";
str = str + "<object yoffset=\"2.4\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"-5\" mratio=\"2\" endFrame=\"800\" factor=\"-1\"/>";
str = str + "<object yoffset=\"2.3\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"-5\" mratio=\"3\" endFrame=\"800\" factor=\"-1\"/>";
str = str + "<object yoffset=\"2.5\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"-5\" mratio=\"3\" endFrame=\"800\" factor=\"-1\"/>";
str = str + "<object yoffset=\"2.6\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"350\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"2.8\" xoffset=\"25\" object=\"fort_tower\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"2.8\" xoffset=\"25\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"2.7\" bonus=\"coin\" xoffset=\"510\"/>";
str = str + "<object yoffset=\"2.9\" bonus=\"coin\" xoffset=\"510\"/>";
str = str + "<object yoffset=\"3.1\" bonus=\"coin\" xoffset=\"510\"/>";
str = str + "<object yoffset=\"3.0\" bonus=\"coin\" xoffset=\"110\"/>";
str = str + "<object yoffset=\"3.0\" bonus=\"coin\" xoffset=\"40\"/>";
str = str + "<object yoffset=\"3.1\" bonus=\"fireRate\" xoffset=\"75\"/>";
str = str + "<object yoffset=\"3.4\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"-5\" mratio=\"2\" endFrame=\"800\" />";
str = str + "<object yoffset=\"3.3\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"-5\" mratio=\"3\" endFrame=\"800\" />";
str = str + "<object yoffset=\"3.5\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"-5\" mratio=\"3\" endFrame=\"800\" />";
str = str + "<object yoffset=\"4.1\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"4.8\" xoffset=\"20\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"4.1\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"4.2\" bonus=\"coin\" xoffset=\"310\"/>";
str = str + "<object yoffset=\"4.2\" bonus=\"coin\" xoffset=\"240\"/>";
str = str + "<object yoffset=\"4.3\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"3.9\" bonus=\"coin\" xoffset=\"310\"/>";
str = str + "<object yoffset=\"3.9\" bonus=\"coin\" xoffset=\"240\"/>";
str = str + "<object yoffset=\"4.0\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"4.7\" tank=\"player_way\" mainObj=\"ship_shark\" xoffset=\"100\" speed=\"2\"/>";
str = str + "<object yoffset=\"4.7\" tank=\"player_way\" mainObj=\"ship_shark\" xoffset=\"450\" speed=\"2\"/>";
str = str + "<object yoffset=\"4.8\" tank=\"player_way\" mainObj=\"ship_shark\" xoffset=\"275\" speed=\"3\"/>";
str = str + "<object yoffset=\"5.0\" xoffset=\"150\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"5.0\" xoffset=\"150\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"5.0\" xoffset=\"350\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"5.0\" xoffset=\"350\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"5.0\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"5.0\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"5.0\" xoffset=\"100\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"5.0\" xoffset=\"400\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"5.0\" xoffset=\"450\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"5.0\" xoffset=\"500\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"5.2\" xoffset=\"80\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"5.2\" xoffset=\"470\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"5.3\" xoffset=\"120\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"5.0\" xoffset=\"200\" object=\"tower_gates2\" armor=\"30\"/>";
str = str + "<object yoffset=\"5.3\" bonus=\"double\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"5.5\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"5.5\" bonus=\"coin\" xoffset=\"200\"/>";
str = str + "<object yoffset=\"5.5\" bonus=\"coin\" xoffset=\"350\"/>";
str = str + "<object yoffset=\"6.3\" tank=\"line_way\" mainObj=\"ship_med2\" xoffset=\"200\" rotate=\"90\"mratio=\"2\"/>";
str = str + "<object yoffset=\"6.3\" tank=\"line_way\" mainObj=\"ship_med2\" xoffset=\"275\" rotate=\"90\"mratio=\"2\"/>";
str = str + "<object yoffset=\"6.3\" tank=\"line_way\" mainObj=\"ship_med2\" xoffset=\"350\" rotate=\"90\"mratio=\"2\"/>";
str = str + "<object yoffset=\"6.7\" xoffset=\"70\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"6.7\" xoffset=\"480\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"6.3\" bonus=\"coin\" xoffset=\"500\"/>";
str = str + "<object yoffset=\"6.3\" bonus=\"coin\" xoffset=\"450\"/>";
str = str + "<object yoffset=\"7.1\" bonus=\"coin\" xoffset=\"50\"/>";
str = str + "<object yoffset=\"7.1\" bonus=\"coin\" xoffset=\"100\"/>";
str = str + "<object yoffset=\"6.5\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"6.7\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"6.9\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"7.1\" bonus=\"miniHealth\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"7.7\" tank=\"line_way\" mainObj=\"ship_huge\" xoffset=\"275\" rotate=\"90\"mratio=\"2\"/>";
str = str + "<object yoffset=\"8.3\" tank=\"line_way\" mainObj=\"ship_huge\" xoffset=\"150\" rotate=\"90\"mratio=\"2\"/>";
str = str + "<object yoffset=\"8.3\" tank=\"line_way\" mainObj=\"ship_huge\" xoffset=\"400\" rotate=\"90\"mratio=\"2\"/>";
str = str + "<object yoffset=\"8.9\" tank=\"line_way\" mainObj=\"ship_galera\" xoffset=\"5\" cannonAngle=\"t, t\" rotate=\"80\" mratio=\"3\"/>";
str = str + "<object yoffset=\"8.8\" tank=\"line_way\" mainObj=\"ship_galera\" xoffset=\"5\" cannonAngle=\"t, t\" rotate=\"-80\" mratio=\"3\" factor=\"-1\"/>";
str = str + "<object yoffset=\"9.2\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"9.3\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"9.6\" xoffset=\"100\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"9.6\" xoffset=\"480\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"9.7\" xoffset=\"60\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"8.8\" bonus=\"coin\" xoffset=\"255\"/>";
str = str + "<object yoffset=\"8.8\" bonus=\"coin\" xoffset=\"295\"/>";
str = str + "<object yoffset=\"9.2\" bonus=\"coin\" xoffset=\"255\"/>";
str = str + "<object yoffset=\"9.2\" bonus=\"coin\" xoffset=\"295\"/>";
str = str + "<object yoffset=\"9.4\" bonus=\"coin\" xoffset=\"255\"/>";
str = str + "<object yoffset=\"9.4\" bonus=\"coin\" xoffset=\"295\"/>";
str = str + "<object yoffset=\"9.6\" bonus=\"miniHealth\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"9.9\" xoffset=\"100\" object=\"fort_tower\"linkage=\"fort_med2_tower1\"/>";
str = str + "<object yoffset=\"9.9\" xoffset=\"100\" object=\"fort_tower\"linkage=\"fort_med2_tower2\"/>";
str = str + "<object yoffset=\"9.9\" xoffset=\"100\" object=\"fort_gun_hit\"linkage=\"fort_med2_gun1_hit\" armor=\"60\"/>";
str = str + "<object yoffset=\"9.9\" xoffset=\"100\" object=\"fort_gun_hit\"linkage=\"fort_med2_gun2_hit\" armor=\"60\"/>";
str = str + "<object yoffset=\"9.9\" xoffset=\"100\" object=\"fort\"linkage=\"fort_med2\"/>";
str = str + "<object yoffset=\"9.9\" xoffset=\"100\" tank=\"tower_gun\"base=\"fort_med2_gun1_gun\" clip=\"2\" reloadingTime=\"106\"/>";
str = str + "<object yoffset=\"9.9\" xoffset=\"100\" tank=\"tower_gun\"base=\"fort_med2_gun2_gun\" clip=\"4\" reloadingTime=\"96\" cannonTimeOffset=\"36\"/>";
str = str + "<object yoffset=\"9.9\" xoffset=\"450\" object=\"fort_tower\"linkage=\"fort_med2_tower1\"/>";
str = str + "<object yoffset=\"9.9\" xoffset=\"450\" object=\"fort_tower\"linkage=\"fort_med2_tower2\"/>";
str = str + "<object yoffset=\"9.9\" xoffset=\"450\" object=\"fort_gun_hit\"linkage=\"fort_med2_gun1_hit\" armor=\"60\"/>";
str = str + "<object yoffset=\"9.9\" xoffset=\"450\" object=\"fort_gun_hit\"linkage=\"fort_med2_gun2_hit\" armor=\"60\"/>";
str = str + "<object yoffset=\"9.9\" xoffset=\"450\" object=\"fort\"linkage=\"fort_med2\"/>";
str = str + "<object yoffset=\"9.9\" xoffset=\"450\" tank=\"tower_gun\"base=\"fort_med2_gun1_gun\" clip=\"2\" reloadingTime=\"106\"/>";
str = str + "<object yoffset=\"9.9\" xoffset=\"450\" tank=\"tower_gun\"base=\"fort_med2_gun2_gun\" clip=\"4\" reloadingTime=\"96\" cannonTimeOffset=\"36\"/>";
str = str + "<object yoffset=\"10.7\" xoffset=\"275\" object=\"fort_tower\"linkage=\"fort_big_tower1\"/>";
str = str + "<object yoffset=\"10.7\" xoffset=\"275\" object=\"fort_tower\"linkage=\"fort_big_tower2\"/>";
str = str + "<object yoffset=\"10.7\" xoffset=\"275\" object=\"fort_gun_hit\"linkage=\"fort_big_gun1_hit\" armor=\"80\"/>";
str = str + "<object yoffset=\"10.7\" xoffset=\"275\" object=\"fort_gun_hit\"linkage=\"fort_big_gun2_hit\" armor=\"80\"/>";
str = str + "<object yoffset=\"10.7\" xoffset=\"275\" object=\"fort_gun_hit\"linkage=\"fort_big_gun3_hit\" armor=\"80\"/>";
str = str + "<object yoffset=\"10.7\" xoffset=\"275\" object=\"fort\"linkage=\"fort_big\"/>";
str = str + "<object yoffset=\"10.7\" xoffset=\"275\" tank=\"tower_gun\"base=\"fort_big_gun1_gun\" clip=\"2\" reloadingTime=\"88\" cannonTimeOffset=\"0\"/>";
str = str + "<object yoffset=\"10.7\" xoffset=\"275\" tank=\"tower_gun\"base=\"fort_big_gun2_gun\" clip=\"4\" reloadingTime=\"80\" cannonTimeOffset=\"48\"/>";
str = str + "<object yoffset=\"10.7\" xoffset=\"275\" tank=\"tower_gun\"base=\"fort_big_gun3_gun\" clip=\"8\" reloadingTime=\"64\" cannonTimeOffset=\"96\"/>";
str = str + "<object yoffset=\"11.9\" xoffset=\"20\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"11.9\" xoffset=\"530\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"11.6\" xoffset=\"275\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"11.6\" bonus=\"coin\" xoffset=\"100\"/>";
str = str + "<object yoffset=\"11.6\" bonus=\"coin\" xoffset=\"450\"/>";
str = str + "<object yoffset=\"11.8\" bonus=\"coin\" xoffset=\"150\"/>";
str = str + "<object yoffset=\"11.8\" bonus=\"coin\" xoffset=\"400\"/>";
str = str + "<object yoffset=\"11.9\" bonus=\"coin\" xoffset=\"230\"/>";
str = str + "<object yoffset=\"11.9\" bonus=\"coin\" xoffset=\"320\"/>";
str = str + "<object yoffset=\"12.3\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"12.3\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"120\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"400\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"12.8\" xoffset=\"380\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"13.0\" xoffset=\"30\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"12.1\" bonus=\"coin\" xoffset=\"255\"/>";
str = str + "<object yoffset=\"12.1\" bonus=\"coin\" xoffset=\"295\"/>";
str = str + "<object yoffset=\"12.3\" bonus=\"coin\" xoffset=\"255\"/>";
str = str + "<object yoffset=\"12.3\" bonus=\"coin\" xoffset=\"295\"/>";
str = str + "<object yoffset=\"12.5\" bonus=\"coin\" xoffset=\"255\"/>";
str = str + "<object yoffset=\"12.5\" bonus=\"coin\" xoffset=\"295\"/>";
str = str + "<object yoffset=\"12.9\" bonus=\"coin\" xoffset=\"55\"/>";
str = str + "<object yoffset=\"12.9\" bonus=\"coin\" xoffset=\"95\"/>";
str = str + "<object yoffset=\"13.0\" bonus=\"fullHealth\" xoffset=\"495\"/>";
str = str + "<object yoffset=\"13.7\" tank=\"line_way\" mainObj=\"ship_huge\" xoffset=\"35\" rotate=\"90\"mratio=\"2\"/>";
str = str + "<object yoffset=\"13.7\" tank=\"line_way\" mainObj=\"ship_huge\" xoffset=\"515\" rotate=\"90\"mratio=\"2\"/>";
str = str + "<object yoffset=\"14.1\" tank=\"line_way\" mainObj=\"ship_huge\" xoffset=\"150\" rotate=\"90\"mratio=\"2\"/>";
str = str + "<object yoffset=\"14.1\" tank=\"line_way\" mainObj=\"ship_huge\" xoffset=\"400\" rotate=\"90\"mratio=\"2\"/>";
str = str + "<object yoffset=\"15.0\" xoffset=\"20\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"15.0\" xoffset=\"530\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"15.3\" xoffset=\"80\" object=\"fort_tower\"linkage=\"fort_big_tower1\"/>";
str = str + "<object yoffset=\"15.3\" xoffset=\"80\" object=\"fort_tower\"linkage=\"fort_big_tower2\"/>";
str = str + "<object yoffset=\"15.3\" xoffset=\"80\" object=\"fort_gun_hit\"linkage=\"fort_big_gun1_hit\" armor=\"80\"/>";
str = str + "<object yoffset=\"15.3\" xoffset=\"80\" object=\"fort_gun_hit\"linkage=\"fort_big_gun2_hit\" armor=\"80\"/>";
str = str + "<object yoffset=\"15.3\" xoffset=\"80\" object=\"fort_gun_hit\"linkage=\"fort_big_gun3_hit\" armor=\"80\"/>";
str = str + "<object yoffset=\"15.3\" xoffset=\"80\" object=\"fort\"linkage=\"fort_big\"/>";
str = str + "<object yoffset=\"15.3\" xoffset=\"80\" tank=\"tower_gun\"base=\"fort_big_gun1_gun\" clip=\"2\" reloadingTime=\"88\" cannonTimeOffset=\"0\"/>";
str = str + "<object yoffset=\"15.3\" xoffset=\"80\" tank=\"tower_gun\"base=\"fort_big_gun2_gun\" clip=\"4\" reloadingTime=\"80\" cannonTimeOffset=\"48\"/>";
str = str + "<object yoffset=\"15.3\" xoffset=\"80\" tank=\"tower_gun\"base=\"fort_big_gun3_gun\" clip=\"8\" reloadingTime=\"64\" cannonTimeOffset=\"96\"/>";
str = str + "<object yoffset=\"15.3\" xoffset=\"470\" object=\"fort_tower\"linkage=\"fort_big_tower1\"/>";
str = str + "<object yoffset=\"15.3\" xoffset=\"470\" object=\"fort_tower\"linkage=\"fort_big_tower2\"/>";
str = str + "<object yoffset=\"15.3\" xoffset=\"470\" object=\"fort_gun_hit\"linkage=\"fort_big_gun1_hit\" armor=\"80\"/>";
str = str + "<object yoffset=\"15.3\" xoffset=\"470\" object=\"fort_gun_hit\"linkage=\"fort_big_gun2_hit\" armor=\"80\"/>";
str = str + "<object yoffset=\"15.3\" xoffset=\"470\" object=\"fort_gun_hit\"linkage=\"fort_big_gun3_hit\" armor=\"80\"/>";
str = str + "<object yoffset=\"15.3\" xoffset=\"470\" object=\"fort\"linkage=\"fort_big\"/>";
str = str + "<object yoffset=\"15.3\" xoffset=\"470\" tank=\"tower_gun\"base=\"fort_big_gun1_gun\" clip=\"2\" reloadingTime=\"88\" cannonTimeOffset=\"0\"/>";
str = str + "<object yoffset=\"15.3\" xoffset=\"470\" tank=\"tower_gun\"base=\"fort_big_gun2_gun\" clip=\"4\" reloadingTime=\"80\" cannonTimeOffset=\"48\"/>";
str = str + "<object yoffset=\"15.3\" xoffset=\"470\" tank=\"tower_gun\"base=\"fort_big_gun3_gun\" clip=\"8\" reloadingTime=\"64\" cannonTimeOffset=\"96\"/>";
str = str + "<object yoffset=\"15.6\" xoffset=\"150\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"15.6\" xoffset=\"150\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"15.6\" xoffset=\"350\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"15.6\" xoffset=\"350\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"15.6\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"15.6\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"15.6\" xoffset=\"100\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"15.6\" xoffset=\"400\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"15.6\" xoffset=\"450\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"15.6\" xoffset=\"500\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"15.8\" xoffset=\"80\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"15.8\" xoffset=\"470\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"15.9\" xoffset=\"30\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"15.4\" bonus=\"miniHealth\" xoffset=\"495\"/>";
str = str + "<object yoffset=\"15.6\" xoffset=\"200\" object=\"tower_gates2\" armor=\"30\"/>";
str = str + "<object yoffset=\"15.7\" command=\"slideConstant\" factor=\"0.5\" limit=\"1\"/>";
str = str + "<object yoffset=\"16.0\" command=\"slideNormal\"/>";
str = str + "<object yoffset=\"15.8\" bonus=\"coin\" xoffset=\"255\"/>";
str = str + "<object yoffset=\"15.8\" bonus=\"coin\" xoffset=\"295\"/>";
str = str + "<object yoffset=\"16.0\" bonus=\"coin\" xoffset=\"255\"/>";
str = str + "<object yoffset=\"16.0\" bonus=\"coin\" xoffset=\"295\"/>";
str = str + "<object yoffset=\"16.2\" bonus=\"coin\" xoffset=\"255\"/>";
str = str + "<object yoffset=\"16.2\" bonus=\"coin\" xoffset=\"295\"/>";
str = str + "<object yoffset=\"16.6\" tank=\"bcircle_way\" mainObj=\"ship_lite\" xoffset=\"300\"mratio=\"5\" clip=\"3\"/>";
str = str + "</array>";
str = str + "</object>";
str = str + "<object name=\"level_8\">";
str = str + "<var name=\"comment1_en\" >Jack has already dug out treasure, it is only necessary to reach island and a little dig up sand. But first of all it is necessary to get off bounty-hunters, crowds of seamonsters and a navy squadron led by the governor on a terrible floating ironclad. |Here is workaday routine... </var><var name=\"playerX\" value=\"100\" />";
str = str + "<var name=\"playerY\" value=\"100\" />";
str = str + "<var name=\"playerArmor\" value=\"100\" />";
str = str + "<var name=\"playerShield\" value=\"0\" />";
str = str + "<var name=\"playerAvailableWeapons\" value=\"1\" />";
str = str + "<array name=\"level\">";
str = str + "<object yoffset=\"1.1\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"1.1\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"1.2\" xoffset=\"250\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"1.1\" xoffset=\"450\" object=\"immObj\"linkage=\"isle_sm1\"/>";
str = str + "<object yoffset=\"1.4\" xoffset=\"485\" object=\"fort_gun_hit\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"1.4\" xoffset=\"485\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"1.4\" xoffset=\"485\" tank=\"tower_gun\"base=\"fort_sm1_gun1_gun\"/>";
str = str + "<object yoffset=\"1.5\" xoffset=\"480\" object=\"dock_y\"linkage=\"dock_y\"/>";
str = str + "<object yoffset=\"1.6\" xoffset=\"480\" object=\"dock_y\"linkage=\"dock_y\"/>";
str = str + "<object yoffset=\"1.7\" xoffset=\"480\" object=\"fort_gun_hit\"linkage=\"fort_sm2_gun1_hit\"/>";
str = str + "<object yoffset=\"1.7\" xoffset=\"480\" object=\"fort\"linkage=\"fort_sm2\"/>";
str = str + "<object yoffset=\"1.7\" xoffset=\"480\" tank=\"tower_gun\"base=\"fort_sm2_gun1_gun\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"200\" object=\"fort_gun_hit\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"200\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"2.3\" xoffset=\"200\" tank=\"tower_gun\"base=\"fort_sm1_gun1_gun\"/>";
str = str + "<object yoffset=\"2.1\" xoffset=\"480\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"1.8\" xoffset=\"450\" object=\"immObj\"linkage=\"isle_sm2\"/>";
str = str + "<object yoffset=\"2.5\" xoffset=\"200\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"1.5\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"1.5\" bonus=\"coin\" xoffset=\"325\"/>";
str = str + "<object yoffset=\"1.6\" bonus=\"coin\" xoffset=\"325\"/>";
str = str + "<object yoffset=\"1.6\" bonus=\"coin\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"2.1\" bonus=\"coin\" xoffset=\"175\"/>";
str = str + "<object yoffset=\"2.1\" bonus=\"coin\" xoffset=\"225\"/>";
str = str + "<object yoffset=\"2.0\" bonus=\"coin\" xoffset=\"225\"/>";
str = str + "<object yoffset=\"2.0\" bonus=\"coin\" xoffset=\"175\"/>";
str = str + "<object yoffset=\"2.4\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"110\" mratio=\"2\" rotate=\"90\" endFrame=\"800\" />";
str = str + "<object yoffset=\"2.4\" tank=\"line_way\" mainObj=\"ship_lite\" xoffset=\"290\" mratio=\"2\" rotate=\"90\" endFrame=\"800\" />";
str = str + "<object yoffset=\"2.9\" xoffset=\"400\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"400\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"500\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"450\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"2.7\" xoffset=\"520\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"2.8\" xoffset=\"520\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"520\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"2.7\" xoffset=\"460\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"2.8\" xoffset=\"460\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"2.9\" xoffset=\"460\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"2.7\" tank=\"line_way\" mainObj=\"ship_huge\" rotate=\"90\"xoffset=\"490\" armor=\"40\"endFrame=\"2\" cannonAngle=\"t, h90, h45, h0\" clip=\"4, 1, 1, 1\" reloadingTime=\"72, 48, 48, 48\"/>";
str = str + "<object yoffset=\"3.1\" bonus=\"coin\" xoffset=\"515\"/>";
str = str + "<object yoffset=\"3.1\" bonus=\"coin\" xoffset=\"465\"/>";
str = str + "<object yoffset=\"3.3\" xoffset=\"100\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"3.3\" xoffset=\"100\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"3.3\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"3.3\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"3.1\" xoffset=\"30\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"3.2\" xoffset=\"30\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"3.3\" xoffset=\"30\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"3.1\" xoffset=\"90\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"3.2\" xoffset=\"90\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"3.3\" xoffset=\"90\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"3.1\" tank=\"line_way\" mainObj=\"ship_huge\" rotate=\"90\"xoffset=\"60\" armor=\"40\"endFrame=\"2\" cannonAngle=\"t, h-90, h-45, h0\" clip=\"4, 1, 1, 1\" reloadingTime=\"72, 48, 48, 48\"/>";
str = str + "<object yoffset=\"3.5\" bonus=\"coin\" xoffset=\"35\"/>";
str = str + "<object yoffset=\"3.5\" bonus=\"coin\" xoffset=\"85\"/>";
str = str + "<object yoffset=\"3.7\" xoffset=\"400\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"3.7\" xoffset=\"400\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"3.7\" xoffset=\"500\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"3.7\" xoffset=\"450\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"3.5\" xoffset=\"520\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"3.6\" xoffset=\"520\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"3.7\" xoffset=\"520\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"3.5\" xoffset=\"460\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"3.6\" xoffset=\"460\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"3.7\" xoffset=\"460\" object=\"dock_y\"/>";
str = str + "<object yoffset=\"3.5\" tank=\"line_way\" mainObj=\"ship_huge\" rotate=\"90\"xoffset=\"490\" armor=\"40\"endFrame=\"2\" cannonAngle=\"t, h90, h45, h0\" clip=\"4, 1, 1, 1\" reloadingTime=\"72, 48, 48, 48\"/>";
str = str + "<object yoffset=\"3.9\" bonus=\"coin\" xoffset=\"515\"/>";
str = str + "<object yoffset=\"3.9\" bonus=\"coin\" xoffset=\"465\"/>";
str = str + "<object yoffset=\"3.3\" xoffset=\"100\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"3.3\" xoffset=\"100\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"4.3\" xoffset=\"520\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"4.2\" xoffset=\"30\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"4.1\" bonus=\"coin\" xoffset=\"250\"/>";
str = str + "<object yoffset=\"4.1\" bonus=\"coin\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"4.3\" bonus=\"coin\" xoffset=\"250\"/>";
str = str + "<object yoffset=\"4.3\" bonus=\"coin\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"4.2\" bonus=\"miniHealth\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"4.8\" xoffset=\"350\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"4.8\" xoffset=\"350\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"4.8\" xoffset=\"150\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"4.8\" xoffset=\"150\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"4.8\" xoffset=\"100\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"4.8\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"4.8\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"4.8\" xoffset=\"400\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"4.8\" xoffset=\"450\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"4.8\" xoffset=\"500\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"4.8\" xoffset=\"200\" object=\"tower_gates2\" armor=\"40\"/>";
str = str + "<object yoffset=\"5.0\" bonus=\"coin\" xoffset=\"250\"/>";
str = str + "<object yoffset=\"5.0\" bonus=\"coin\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"5.1\" bonus=\"coin\" xoffset=\"200\"/>";
str = str + "<object yoffset=\"5.1\" bonus=\"coin\" xoffset=\"350\"/>";
str = str + "<object yoffset=\"5.2\" bonus=\"coin\" xoffset=\"250\"/>";
str = str + "<object yoffset=\"5.2\" bonus=\"coin\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"5.1\" bonus=\"fireRate\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"5.4\" xoffset=\"520\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"5.3\" xoffset=\"30\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"5.7\" xoffset=\"520\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"5.7\" xoffset=\"30\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"5.4\" xoffset=\"150\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"6.3\" tank=\"line_way\" mainObj=\"ship_grob2\" rotate=\"90\" mratio=\"2\"xoffset=\"275\"/>";
str = str + "<object yoffset=\"6.4\" tank=\"line_way\" mainObj=\"ship_grob2\" rotate=\"90\" mratio=\"2\"xoffset=\"180\"/>";
str = str + "<object yoffset=\"6.4\" tank=\"line_way\" mainObj=\"ship_grob2\" rotate=\"90\" mratio=\"2\"xoffset=\"370\"/>";
str = str + "<object yoffset=\"6.8\" tank=\"line_way\" mainObj=\"ship_grob2\" rotate=\"90\" mratio=\"2\"xoffset=\"275\"/>";
str = str + "<object yoffset=\"6.9\" tank=\"line_way\" mainObj=\"ship_grob2\" rotate=\"90\" mratio=\"2\"xoffset=\"180\"/>";
str = str + "<object yoffset=\"6.9\" tank=\"line_way\" mainObj=\"ship_grob2\" rotate=\"90\" mratio=\"2\"xoffset=\"370\"/>";
str = str + "<object yoffset=\"6.9\" bonus=\"miniHealth\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"7.4\" xoffset=\"350\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"7.4\" xoffset=\"350\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"7.4\" xoffset=\"150\" object=\"fort_tower\"linkage=\"pyrs_tower_gun1_hit\"/>";
str = str + "<object yoffset=\"7.4\" xoffset=\"150\" object=\"fort\"linkage=\"pyrs_tower\"/>";
str = str + "<object yoffset=\"7.4\" xoffset=\"100\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"7.4\" xoffset=\"50\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"7.4\" xoffset=\"0\" object=\"immObj\"linkage=\"pyrs_l\"/>";
str = str + "<object yoffset=\"7.4\" xoffset=\"400\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"7.4\" xoffset=\"450\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"7.4\" xoffset=\"500\" object=\"immObj\"linkage=\"pyrs_r\"/>";
str = str + "<object yoffset=\"7.4\" xoffset=\"200\" object=\"tower_gates2\" armor=\"40\"/>";
str = str + "<object yoffset=\"7.6\" bonus=\"coin\" xoffset=\"250\"/>";
str = str + "<object yoffset=\"7.6\" bonus=\"coin\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"7.7\" bonus=\"coin\" xoffset=\"200\"/>";
str = str + "<object yoffset=\"7.7\" bonus=\"coin\" xoffset=\"350\"/>";
str = str + "<object yoffset=\"7.8\" bonus=\"coin\" xoffset=\"250\"/>";
str = str + "<object yoffset=\"7.8\" bonus=\"coin\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"7.7\" bonus=\"double\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"7.5\" xoffset=\"520\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"7.6\" xoffset=\"30\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"7.9\" xoffset=\"520\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"7.9\" xoffset=\"30\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"7.9\" xoffset=\"150\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"8.2\" xoffset=\"480\" object=\"fort_gun_hit\"linkage=\"fort_sm2_gun1_hit\"/>";
str = str + "<object yoffset=\"8.2\" xoffset=\"480\" object=\"fort\"linkage=\"fort_sm2\"/>";
str = str + "<object yoffset=\"8.2\" xoffset=\"480\" tank=\"tower_gun\"base=\"fort_sm2_gun1_gun\"/>";
str = str + "<object yoffset=\"8.2\" xoffset=\"100\" object=\"fort_gun_hit\"linkage=\"fort_sm1_gun1_hit\"/>";
str = str + "<object yoffset=\"8.2\" xoffset=\"100\" object=\"fort\"linkage=\"fort_sm1\"/>";
str = str + "<object yoffset=\"8.2\" xoffset=\"100\" tank=\"tower_gun\"base=\"fort_sm1_gun1_gun\"/>";
str = str + "<object yoffset=\"9.0\" tank=\"line_way\" mainObj=\"ship_huge\" rotate=\"90\"xoffset=\"490\" mratio=\"2\" armor=\"60\"endFrame=\"800\" cannonAngle=\"t, h90, h45, h0\" reloadingTime=\"72, 48, 48, 48\" cannonTimeOffset=\"0, 48, 48, 48\"/>";
str = str + "<object yoffset=\"9.2\" tank=\"line_way\" mainObj=\"ship_huge\" rotate=\"90\"xoffset=\"275\" mratio=\"2\" armor=\"60\"endFrame=\"800\" cannonAngle=\"t, h45, h-45, h0\" reloadingTime=\"72, 48, 48, 48\" cannonTimeOffset=\"0, 48, 48, 48\"/>";
str = str + "<object yoffset=\"9.0\" tank=\"line_way\" mainObj=\"ship_huge\" rotate=\"90\"xoffset=\"60\" mratio=\"2\" armor=\"60\"endFrame=\"800\" cannonAngle=\"t, h-90, h-45, h0\" reloadingTime=\"72, 48, 48, 48\" cannonTimeOffset=\"0, 48, 48, 48\"/>";
str = str + "<object yoffset=\"9.5\" bonus=\"coin\" xoffset=\"250\"/>";
str = str + "<object yoffset=\"9.5\" bonus=\"coin\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"9.6\" bonus=\"coin\" xoffset=\"200\"/>";
str = str + "<object yoffset=\"9.6\" bonus=\"coin\" xoffset=\"350\"/>";
str = str + "<object yoffset=\"9.7\" bonus=\"coin\" xoffset=\"250\"/>";
str = str + "<object yoffset=\"9.7\" bonus=\"coin\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"9.6\" bonus=\"weaponAdder\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"9.9\" bonus=\"fullHealth\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"9.5\" xoffset=\"520\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"9.6\" xoffset=\"30\" object=\"immObj\"linkage=\"isle_big\"/>";
str = str + "<object yoffset=\"9.9\" xoffset=\"520\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"9.9\" xoffset=\"30\" object=\"immObj\"linkage=\"isle_huge\"/>";
str = str + "<object yoffset=\"9.9\" xoffset=\"150\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"10.2\" xoffset=\"500\" object=\"immObj\"linkage=\"isle_med2\"/>";
str = str + "<object yoffset=\"10.1\" xoffset=\"50\" object=\"immObj\"linkage=\"isle_med1\"/>";
str = str + "<object yoffset=\"10.0\" command=\"slideConstant\" factor=\"1.5\" limit=\"2\"/>";
str = str + "<object yoffset=\"11.5\" tank=\"warshipBoss_way\" mainObj=\"warshipboss\" bossBar=\"1\" xoffset=\"250\" armor=\"2000\" movedWayOffset=\"100\" mratio=\"6\" wayCycle=\"2\"/>";
str = str + "</array>";
str = str + "</object>";
str = str + "</object>";
str = str + "</settings>";
_global.isChild = function (arr, item) {
var _local2 = false;
for (var _local3 in arr) {
if (arr[_local3] == item) {
_local2 = _local3;
break;
}
}
return(_local2);
};
_global.changeDebugText = function () {
debug();
};
_global.debug = function (str) {
if (str == undefined) {
str = "";
}
clearInterval(_root.debugInt);
_root.tf_debug.text = str;
if (str != "") {
if (_global.envS.debug == 1) {
trace(str);
}
_root.debugInt = setInterval(changeDebugText, 5000);
_global.debugLog = _global.debugLog + (str + newline);
}
};
_global.debugLog = "";
debug();
_global.drawRect = function (target, x1, y1, x2, y2) {
target.moveTo(x1, y1);
target.lineTo(x2, y1);
target.lineTo(x2, y2);
target.lineTo(x1, y2);
target.lineTo(x1, y1);
};
_global.trim = function (str) {
str = String(str);
var _local2 = -1;
do {
_local2++;
var a = str.charAt(_local2);
} while ((((a == " ") || (a == newline)) || (a == "\r")) || (a == "\t"));
var _local3 = str.length;
do {
_local3--;
var a = str.charAt(_local3);
} while ((((a == " ") || (a == newline)) || (a == "\r")) || (a == "\t"));
str = str.substring(_local2, _local3 + 1);
if (String(parseFloat(str)) == str) {
str = parseFloat(str);
}
return(str);
};
_global.alphaIn = function () {
this._alpha = this._alpha + 5;
if (this._alpha > 100) {
this._alpha = 100;
delete this.onEnterFrame;
}
};
_global.alphaOut = function () {
this.step++;
if (this.step > this.maxStep) {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
this._alpha = 0;
delete this.onEnterFrame;
}
}
};
debug("Loading main settings XML file...");
createXML();
_global.allowToStart = false;
mainOEF = function () {
if (_global.gameInProcess) {
_global.levelTime = _global.levelTime + (getTimer() - _global.levelTimeS);
var dt = Math.round(_global.levelTime / 1000);
var st = (dt % 60);
if (st < 10) {
st = "0" + st;
}
var tt = Math.floor(dt / 60);
if (tt < 10) {
tt = "0" + tt;
}
_root.tfTimer.text = (tt + ":") + st;
}
_global.levelTimeS = getTimer();
var xp = _root.bg.player._x;
var yp = _root.bg.player._y;
var i = 0;
while (i < bonusObjects.length) {
var dx = (bonusObjects[i]._x - xp);
var dy = (bonusObjects[i]._y - yp);
var d = Math.sqrt((dx * dx) + (dy * dy));
if (d < 40) {
_root.bg.player.applyBonus(bonusObjects[i].bonusType);
bonusObjects[i].onEnterFrame = getOff;
bonusObjects.splice(i, 1);
}
i++;
}
var pointZFlag = false;
i = 0;
for ( ; i < bulletObjects.length ; i++) {
var foo = bulletObjects[i];
var point1 = new Object();
(point1.x = foo.p1._x);
(point1.y = foo.p1._y);
var point2 = new Object();
(point2.x = foo.p2._x);
(point2.y = foo.p2._y);
foo.localToGlobal(point1);
foo.localToGlobal(point2);
var killFlag = false;
if (foo.flySteps != 0) {
var ll = (_global.clock - foo.startClock);
if (ll == (foo.flySteps - 1)) {
killFlag = true;
}
if (!killFlag) {
continue;
}
} else {
if (killFlag) {
makeSplash(foo, point1, foo.object == 1, foo.object != 1);
}
if (foo.object == 1) {
if ((foo.type == "lazer") || (foo.type == "lazer2")) {
var flag = true;
var n = 0;
var points = new Array();
var sina = Math.sin(foo.fireAngle);
var cosa = Math.cos(foo.fireAngle);
if (_global.envS.debug) {
if (_global.envS.lazerDebug && (!pointZFlag)) {
if (_root.pointZ == undefined) {
_root.createEmptyMovieClip("pointZ", _root.getNextHighestDepth());
}
_root.pointZ.clear();
pointZFlag = true;
_root.pointZ.lineStyle(1, 16711935);
}
}
while (flag) {
n++;
var pointObj = {x:(Math.round(((10 * n) * 10) * cosa) / 10) + foo._x, y:((Math.round(((10 * n) * 10) * sina) / 10) + _root.bg._y) + foo._y};
if (pointObj.y < (0 + foo.offsetTop)) {
flag = false;
}
if (pointObj.y > (400 - foo.offsetBottom)) {
flag = false;
}
if (pointObj.x < (0 + foo.offsetLeft)) {
flag = false;
}
if (pointObj.x > (550 - foo.offsetRight)) {
flag = false;
}
if (_global.envS.debug && (_global.envS.lazerDebug)) {
drawRect(_root.pointZ, pointObj.x - 3, pointObj.y - 3, pointObj.x + 3, pointObj.y + 3);
}
if (flag) {
points.push(pointObj);
}
}
var staticObjectsTests = new Array();
var staticObjectsHits = new Array();
var j = 0;
while (j < staticObjects.length) {
if (!staticObjects[j].ignoreHit) {
staticObjectsTests.push(staticObjects[j]);
}
j++;
}
var j = 0;
while (j < staticObjectsTests.length) {
var g = 0;
while (g < points.length) {
if (staticObjectsTests[j].body.hitTest(points[g].x, points[g].y, true)) {
if (_global.envS.debug && (_global.envS.lazerDebug)) {
_root.pointZ.beginFill(16711680);
drawRect(_root.pointZ, points[g].x - 3, points[g].y - 3, points[g].x + 3, points[g].y + 3);
_root.pointZ.endFill();
}
staticObjectsHits.push(staticObjectsTests[j]);
staticObjectsTests.splice(j, 1);
j--;
break;
}
g++;
}
j++;
}
var j = 0;
while (j < staticObjectsHits.length) {
var name = staticObjectsHits[j];
debug("lazer damage = " + foo.damage);
var klop = name.armor;
name.changeArmor(-foo.damage);
debug((((((((("static object " + name) + " health = ") + name.armor) + " (") + klop) + "), obj splash damage = ") + name.splashDamage) + ", radius = ") + name.damageRadius);
_global.rezults.hits++;
if (name.armor <= 0) {
checkSplash(name);
}
j++;
}
var enemyObjectsTests = new Array();
var enemyObjectsHits = new Array();
var j = 0;
while (j < enemyObjects.length) {
if (!enemyObjects[j].ignoreHit) {
enemyObjectsTests.push(enemyObjects[j]);
}
j++;
}
var j = 0;
while (j < enemyObjectsTests.length) {
var g = 0;
while (g < points.length) {
if (enemyObjectsTests[j].body.hitTest(points[g].x, points[g].y, true)) {
if (_global.envS.debug && (_global.envS.lazerDebug)) {
_root.pointZ.beginFill(65280);
drawRect(_root.pointZ, points[g].x - 3, points[g].y - 3, points[g].x + 3, points[g].y + 3);
_root.pointZ.endFill();
}
enemyObjectsHits.push(enemyObjectsTests[j]);
enemyObjectsTests.splice(j, 1);
j--;
break;
}
g++;
}
j++;
}
var j = 0;
while (j < enemyObjectsHits.length) {
var name = enemyObjectsHits[j];
debug("lazer damage = " + foo.damage);
var klop = name.armor;
if ((name.thereCanBeOnlyOne == 0) || ((name.thereCanBeOnlyOne == 1) && (enemyObjects.length == 1))) {
name.changeArmor(-foo.damage);
_global.rezults.hits++;
}
debug((((((((("static object " + name) + " health = ") + name.armor) + " (") + klop) + "), obj splash damage = ") + name.splashDamage) + ", radius = ") + name.damageRadius);
j++;
}
foo.removeFromArray();
foo.outQueue();
i--;
} else {
var flag = false;
var hitToStandingForSound = false;
var j = 0;
while (j < staticObjects.length) {
var hit1 = false;
var hit2 = false;
hit1 = staticObjects[j].body.hitTest(point1.x, point1.y, true);
if (!hit1) {
hit2 = staticObjects[j].body.hitTest(point2.x, point2.y, true);
}
if (hit1 || (hit2)) {
if (staticObjects[j].ignoreHit) {
hitToStandingForSound = true;
} else {
var name = staticObjects[j];
debug("rocket damage to standing = " + foo.damage);
var klop = name.armor;
name.changeArmor(-foo.damage);
debug((((((((("static object " + name) + " health = ") + name.armor) + " (") + klop) + "), obj splash damage = ") + name.splashDamage) + ", radius = ") + name.damageRadius);
if (!killFlag) {
_global.rezults.hits++;
makeSplash(foo, point1);
foo.kill();
i--;
}
if (name.armor <= 0) {
flag = true;
} else {
_global.sound.play("wood", point1.x);
}
break;
}
}
j++;
}
if (flag) {
checkSplash(name);
}
var j = 0;
while (j < enemyObjects.length) {
if (enemyObjects[j].ignoreHit) {
} else {
var hit1 = false;
var hit2 = false;
hit1 = enemyObjects[j].body.hitTest(point1.x, point1.y, true);
if (!hit1) {
hit2 = enemyObjects[j].body.hitTest(point2.x, point2.y, true);
}
if (hit1 || (hit2)) {
var name = enemyObjects[j];
debug((("rocket damage to enemy = " + foo.damage) + " ~ ") + foo);
klop = name.armor;
if ((name.thereCanBeOnlyOne == 0) || ((name.thereCanBeOnlyOne == 1) && (enemyObjects.length == 1))) {
name.changeArmor(-foo.damage);
if (!killFlag) {
_global.rezults.hits++;
makeSplash(foo, point1);
}
if (name.armor > 0) {
_global.sound.play("wood", point1.x);
}
debug((((((((("static object " + name) + " health = ") + name.armor) + " (") + klop) + "), obj splash damage = ") + name.splashDamage) + ", radius = ") + name.damageRadius);
} else {
debug("IGNORING");
}
if (!killFlag) {
foo.kill();
i--;
}
break;
}
}
j++;
}
}
} else if (foo.object == 0) {
var hit1 = false;
var hit2 = false;
hit1 = _root.bg.player.base.body.hitTest(point1.x, point1.y, true);
if (!hit1) {
hit2 = _root.bg.player.base.body.hitTest(point2.x, point2.y, true);
}
if (hit1 || (hit2)) {
debug("\u0418\u0413\u0420\u041E\u041A \u041F\u041E\u0412\u0420\u0415\u0416\u0414\u0415\u041D! \u0443\u0440\u043E\u043D " + foo.damage);
_root.bg.player.changeArmor(-foo.damage);
foo.kill();
i--;
}
}
if (foo.init && (killFlag)) {
foo.kill();
i--;
if (!hitToStandingForSound) {
_global.sound.play("water", point1.x);
} else {
_global.sound.play("stone", point1.x);
}
}
}
}
if (_root.bg.player.armor > 0) {
var ppointz = new Array();
var j = 0;
while (_root.bg.player.base["p" + j] != undefined) {
var obj = {x:_root.bg.player.base["p" + j]._x, y:_root.bg.player.base["p" + j]._y};
_root.bg.player.base.localToGlobal(obj);
ppointz.push(obj);
j++;
}
var i = 0;
while (i < staticObjects.length) {
if (staticObjects[i].ignoreDirect) {
} else {
name = staticObjects[i];
if (_root.bg.player.hitBody.hitTest(name.hitBody)) {
var hit = false;
var j = 0;
while (j < ppointz.length) {
hit = hit | name.hitBody.hitTest(ppointz[j].x, ppointz[j].y, true);
if (hit) {
break;
}
j++;
}
if (hit) {
if (staticObjects[i].immortal) {
debug("\u0418\u0413\u0420\u041E\u041A \u0421\u041E\u0423\u0414\u0410\u0420\u0418\u041B\u0421\u042F \u0421 \u0411\u0415\u0421\u0421\u041C\u0415\u0420\u0422\u041D\u042B\u041C \u041E\u0411\u042A\u0415\u041A\u0422\u041E\u041C!");
_root.bg.player.changeArmor(-10000000);
} else {
debug("\u0418\u0413\u0420\u041E\u041A \u0421\u041E\u0423\u0414\u0410\u0420\u0418\u041B\u0421\u042F \u0421 \u0411\u041E\u0427\u041A\u041E\u0419! \u0443\u0440\u043E\u043D " + ((name.directDamage == 0) ? (-name.armor) : (-name.directDamage)));
_root.bg.player.changeArmor(((name.directDamage == 0) ? (-name.armor) : (-name.directDamage)));
name.changeArmor(-10000000);
checkSplash(name, false);
}
}
}
}
i++;
}
var i = 0;
while (i < enemyObjects.length) {
if (enemyObjects[i].ignoreDirect) {
} else {
name = enemyObjects[i];
if (_root.bg.player.hitBody.hitTest(name.hitBody)) {
var hit = false;
var j = 0;
while (j < ppointz.length) {
hit = hit | name.hitBody.hitTest(ppointz[j].x, ppointz[j].y, true);
if (hit) {
break;
}
j++;
}
if (hit) {
debug("\u0418\u0413\u0420\u041E\u041A \u0421\u041E\u0423\u0414\u0410\u0420\u0418\u041B\u0421\u042F \u0421 \u0412\u0420\u0410\u0413\u041E\u041C! \u0443\u0440\u043E\u043D " + name.armor);
_root.bg.player.changeArmor(-name.armor);
if ((name.thereCanBeOnlyOne == 0) || ((name.thereCanBeOnlyOne == 1) && (enemyObjects.length == 1))) {
name.changeArmor(-10000000);
}
}
}
}
i++;
}
}
i = 0;
while (i < splashedObjects.length) {
splashedObjects[i].delay--;
i++;
}
var len = splashedObjects.length;
i = 0;
while (i < len) {
var name = splashedObjects[i];
if ((name.delay <= 0) && (name.obj.armor > 0)) {
name.obj.changeArmor(-name.dmg);
splashedObjects.splice(i, 1);
i--;
len--;
if ((name.obj.armor <= 0) && (name.spl)) {
checkSplash(name.obj);
}
}
i++;
}
oldMainSegment = mainSegment;
mainSegment = Math.floor(_root.bg._y / 40) / 10;
setProgressBar(mainSegment, _global.maxLevelItem);
if ((((mainSegment >= _global.maxLevelItem) || ((!slidingBg) && (slidingLimit == 0))) && (enemyObjects.length == 0)) || (_global.gameOver)) {
if ((++_global.levelCompleteDelayCounter) < _global.envS.levelCompleteDelay) {
return(undefined);
}
stopAllEngines();
with (_root.wndComplete) {
_visible = true;
var ttz = _global.envS["textZ_" + language_pre];
tf1_.htmlText = ("<p align=\"right\">" + ttz.completeString1) + "</p>";
tf2_.htmlText = ("<p align=\"right\">" + ttz.completeString2) + "</p>";
tf3_.htmlText = ("<p align=\"right\">" + ttz.completeString3) + "</p>";
tf4_.htmlText = ("<p align=\"right\">" + ttz.completeString4) + "</p>";
tf5_.htmlText = ("<p align=\"right\">" + ttz.completeString5) + "</p>";
tf1.text = (_global.rezults.killed + " / ") + _global.rezults.enemyzAll;
tf2.text = (_global.rezults.coins + " / ") + _global.rezults.coinsAll;
var dt = Math.round(_global.levelTime / 1000);
var st = (dt % 60);
if (st < 10) {
st = "0" + st;
}
var tt = Math.floor(dt / 60);
if (tt < 10) {
tt = "0" + tt;
}
tf3.text = (tt + ":") + st;
var p = (Math.round((1000 * _global.rezults.hits) / _global.rezults.shots) / 10);
if (isNaN(p)) {
p = 0;
}
tf5.text = p + " %";
if (_global.gameOver) {
_root.wndComplete.title_mc.gotoAndStop(2);
_global.sound.play("gameOver");
_global.levelNum--;
} else {
_root.wndComplete.title_mc.gotoAndStop(3);
_global.fullRezults.killed = _global.fullRezults.killed + _global.rezults.killed;
_global.fullRezults.coins = _global.fullRezults.coins + _global.rezults.coins;
_global.fullRezults.coinsAll = _global.fullRezults.coinsAll + _global.rezults.coinsAll;
_global.fullRezults.enemyzAll = _global.fullRezults.enemyzAll + _global.rezults.enemyzAll;
_global.sound.play("levelComplete");
}
}
} else if (mainSegment != oldMainSegment) {
klopStr = "=======================================";
var i = 0;
while (i < _global.currLevel.level.length) {
var foo = _global.currLevel.level[i];
if (foo.yoffset == mainSegment) {
if (foo.tank != undefined) {
var newTank = new Object();
for (var a in foo) {
newTank[a] = foo[a];
}
var tankCurve = movingUnits[newTank.tank];
for (a in tankCurve) {
if (newTank[a] == undefined) {
newTank[a] = tankCurve[a];
}
}
var tankMain = mainUnits[newTank.mainObj];
for (a in tankMain) {
if (newTank[a] == undefined) {
newTank[a] = tankMain[a];
}
}
var bar = (this.enemyMC.depth++);
this.enemyMC.attachMovie("enemy", "e" + bar, 1000000 - bar);
var name = this.enemyMC["e" + bar];
name.moveTo(((newTank.factor == -1) ? (550 - newTank.xoffset) : (newTank.xoffset)), (-this._y) + _global.envS.newObjectYOffset);
if (newTank.way != "") {
if (newTank.way == "player") {
name.setMotion(newTank.way, newTank.speed, newTank.followPlayer);
} else {
name.setMotion(newTank.way, newTank.mratio, newTank.xratio, newTank.yratio, newTank.rotate, newTank.factor, newTank.startFrame, newTank.endFrame, newTank.wayCycle, newTank.rotatedByWay);
}
} else {
name.setMotion(((newTank.xspeed == undefined) ? 0 : (newTank.xspeed)), ((newTank.yspeed == undefined) ? 0 : (newTank.yspeed)));
}
name.initTank(newTank.base, newTank.gun, this.player, newTank.armor, newTank.withoutBase, newTank.bossBar);
name.initGun(newTank.reloadingTime, newTank.shotsTime, newTank.clip, newTank.bulletType, newTank.bulletSpeed, newTank.flySteps, newTank.flyMinScale, newTank.flyDistance, newTank.bulletDamage, newTank.cannonAngle, newTank.cannonTimeOffset, newTank.ai, newTank.splashDamage, newTank.damageRadius, newTank.splashDelay);
name.initFlags(newTank.ignoreHit, newTank.ignoreSplash, newTank.ignoreDirect, newTank.immortal);
if (newTank.movedWay == 1) {
name.initWayMotion(newTank.movedWayOffset, newTank.movedWayXSpeed, newTank.movedWayYSpeed);
}
if (newTank.thereCanBeOnlyOne != undefined) {
name.thereCanBeOnlyOne = newTank.thereCanBeOnlyOne;
}
if (newTank.dieImmediatly != undefined) {
name.dieImmediatly = newTank.dieImmediatly;
}
if (newTank.soundKills != undefined) {
name.soundKills = newTank.soundKills;
}
name.inQueue();
} else if (foo.object != undefined) {
var newObj = new Object();
for (var a in foo) {
newObj[a] = foo[a];
}
var objParams = standingUnits[newObj.object];
for (a in objParams) {
if (newObj[a] == undefined) {
newObj[a] = objParams[a];
}
}
var cont = ((objParams.top == 1) ? (this.envTop) : (this.env));
var bar = (cont.depth++);
cont.attachMovie(newObj.linkage, "o" + bar, 1000000 - bar);
var name = cont["o" + bar];
name.initArmor(newObj.armor);
name.setMotion(0, 0);
name.moveTo(newObj.xoffset, (-this._y) + _global.envS.newObjectYOffset);
name.initSplash(newObj.splashDamage, newObj.damageRadius, newObj.splashDelay);
name.initFlags(newObj.ignoreHit, newObj.ignoreSplash, newObj.ignoreDirect, newObj.immortal);
name.inQueue();
for (a in newObj) {
name[a] = newObj[a];
}
} else if (foo.bonus != undefined) {
var bar = (this.env.depth++);
bonusObjects.push(this.env.attachMovie("bonus_" + foo.bonus, "b" + bar, 1000000 - bar));
var name = this.env["b" + bar];
name._x = foo.xoffset;
name._y = (-this._y) + _global.envS.newObjectYOffset;
name.bonusType = foo.bonus;
} else if (foo.command != undefined) {
if (foo.command == "slideConstant") {
_global.slidingBg = false;
_global.slidingfactor = foo.factor;
_global.slidingLimit = foo.limit;
}
if (foo.command == "slideNormal") {
_global.slidingBg = true;
}
}
}
i++;
}
}
};
_global.clock = 0;
clockAdder = function () {
_global.clock++;
};
changeBGSpeed = function () {
if (_global.scrollBG_debugFlag === true) {
return(undefined);
}
if (!_global.slidingBg) {
_root.bg.speedY = _root.bg.speedY * slidingfactor;
if (slidingfactor > 1) {
if (_root.bg.speedY > slidingLimit) {
_root.bg.speedY = slidingLimit;
}
}
if (slidingfactor < 1) {
if (_root.bg.speedY < slidingLimit) {
_root.bg.speedY = slidingLimit;
}
}
} else if (_global.gameInProcess) {
if (_global.currLevel.screenSpeed != undefined) {
_root.bg.speedY = _global.currLevel.screenSpeed;
return(undefined);
}
var _local6 = _root.bg.player._x;
var _local5 = _root.bg.player._y + _root.bg._y;
var _local7 = _root.fastZone.hitTest(_local6, _local5, 1);
var _local8 = _root.slowZone.hitTest(_local6, _local5, 1);
var _local3 = _global.envS.screenSpeed;
if (_local7) {
_local3 = _global.envS.screenFastSpeed;
}
if (_local8) {
_local3 = _global.envS.screenSlowSpeed;
}
if (_local3 != _root.bg.speedY) {
if (_local3 > _root.bg.speedY) {
var _local4 = _root.bg.speedY * _global.envS.screenSpeedFactorUp;
if (_local4 > _local3) {
_local4 = _local3;
}
}
if (_local3 < _root.bg.speedY) {
var _local4 = _root.bg.speedY * _global.envS.screenSpeedFactorDown;
if (_local4 < _local3) {
_local4 = _local3;
}
}
if ((_local3 == 0) && (_local4 < 0.05)) {
var _local4 = 0;
}
if ((_local3 > 0) && (_local4 < 0.05)) {
var _local4 = 0.05;
}
_root.bg.speedY = _local4;
}
}
};
_global.checkSplash = function (obj, flag, flag2) {
var _local8 = splashedObjects.length;
if (obj == undefined) {
return(undefined);
}
if (flag == undefined) {
flag = true;
}
if (flag2 == undefined) {
flag2 = true;
}
if (flag2) {
var _local2 = 0;
while (_local2 < staticObjects.length) {
if (staticObjects[_local2].ignoreSplash) {
} else if (checkSplashOne(obj, staticObjects[_local2])) {
splashedObjects.push({obj:staticObjects[_local2], from:obj._name, dmg:obj.splashDamage, delay:obj.splashDelay, spl:true});
}
_local2++;
}
_local2 = 0;
while (_local2 < enemyObjects.length) {
if (enemyObjects[_local2].ignoreSplash) {
} else if (checkSplashOne(obj, enemyObjects[_local2])) {
splashedObjects.push({obj:enemyObjects[_local2], from:obj._name, dmg:obj.splashDamage, delay:obj.splashDelay, spl:false});
}
_local2++;
}
}
if (flag) {
if (checkSplashOne(obj, _root.bg.player)) {
splashedObjects.push({obj:_root.bg.player, from:obj._name, dmg:obj.splashDamage, delay:obj.splashDelay, spl:false});
}
}
var _local3 = "";
var _local2 = 0;
while (_local2 < splashedObjects.length) {
_local3 = _local3 + (((((((_local2 + ": obj=") + splashedObjects[_local2].obj) + ", damage=") + splashedObjects[_local2].dmg) + ", from=") + splashedObjects[_local2].from) + ((_local2 == (splashedObjects.length - 1)) ? "" : newline));
_local2++;
}
};
checkSplashOne = function (a, b) {
if (a == b) {
return(undefined);
}
if (!a.spl.hitTest(b.body)) {
return(undefined);
}
var _local7 = _global.envS.splashTests;
var _local5 = {x:a.spl._x, y:a.spl._y};
a.localToGlobal(_local5);
var _local8 = {x:b.body._x, y:b.body._y};
b.localToGlobal(_local8);
dx = _local5.x - _local8.x;
dy = _local5.y - _local8.y;
d = Math.sqrt((dx * dx) + (dy * dy));
al = Math.atan2(dy, dx);
al = al - (((5 / PI2) * (_local7 - 1)) / 2);
if (d < (a.damageRadius / 2)) {
return(true);
}
i = 0;
while (i < _local7) {
var _local4 = _local5.x - ((Math.cos(al) * a.damageRadius) / 2);
var _local3 = _local5.y - ((Math.sin(al) * a.damageRadius) / 2);
al = al + (5 / PI2);
if (b.body.hitTest(_local4, _local3, true)) {
return(true);
}
i++;
}
return(false);
};
_global.setProgressBar = function (now, all) {
if (!usingBar) {
return(undefined);
}
now = now - 1;
all = all - 1;
var _local2 = (100 * now) / all;
if (_local2 > 100) {
_local2 = 100;
}
if (_local2 < 1) {
_local2 = 1;
}
_root.gui.progress.bar.gotoAndStop(Math.round(_local2));
};
_global.makePause = function (flag) {
if (_global.gameOver) {
return(undefined);
}
if (((Key.isDown(27) || (Key.isDown(32))) || (Key.isDown(80))) || (flag)) {
if (_global.gameInProcess) {
_global.gameInProcess = false;
_root.wndPause._visible = true;
} else {
_global.gameInProcess = true;
_root.wndPause._visible = false;
_global.levelTimeS = getTimer();
}
}
if (_global.envS.debug == 1) {
if (Key.isDown(8)) {
if (_global.scrollBG_debugFlag == undefined) {
_global.scrollBG_debugFlag = false;
}
_global.scrollBG_debugFlag = !_global.scrollBG_debugFlag;
if (_global.scrollBG_debugFlag) {
_root.bg.setMotion(0, 0);
}
}
}
};
_global.changeWeaponByMouse = function (dir) {
if (_global.gameInProcess) {
if (dir == 0) {
return(undefined);
}
dir = ((dir > 0) ? -1 : 1);
var _local3 = _root.bg.player.cannons[0].currentGun + dir;
if (_local3 >= _root.bg.player.cannons[0].gunZ.length) {
_local3 = 0;
}
if (_local3 < 0) {
_local3 = _root.bg.player.cannons[0].gunZ.length - 1;
}
if (_root.bg.player.cannons[0].changeGun(_local3)) {
_root.lbar.weaponSelector.gotoAndStop(_local3 + 1);
}
oldTab = Key.isToggled(9);
}
};
_global.explodePause = function () {
if (this.delay == undefined) {
this.delay = 0;
}
if ((++this.delay) >= this.maxDelay) {
this.play();
if (this.destroyer) {
if (this.destroyTarget.gunHolder != this.destroyTarget) {
this.destroyTarget.gunHolder.removeMovieClip();
}
this.destroyTarget.removeMovieClip();
this.destroyTarget.unloadMovie();
}
delete this.onEnterFrame;
}
};
_global.stopAllEngines = function () {
if (_root.pointZ != undefined) {
_root.pointZ.clear();
}
Key.removeListener(_global.keyGetter);
Mouse.removeListener(_global.keyGetter);
delete _global.keyGetter;
_global.gameInProcess = false;
_global.queue.clear();
_global.queue.removeMovieClip();
delete _global.queue;
};
_global.getOff = function () {
this._yscale = this._yscale + ((-2 - this._yscale) / 3);
this._xscale = this._yscale;
if (this._xscale <= 0) {
delete this.onEnterFrame;
this.removeMovieClip();
}
};
_global.makeSplash = function (shot, point, enemyFlag, playerFlag) {
if (enemyFlag == undefined) {
enemyFlag = true;
}
if (playerFlag == undefined) {
playerFlag = true;
}
if ((shot.splashDamage == 0) || (shot.splashDamage == undefined)) {
return(undefined);
}
var _local5 = _root.bg.splashez;
var _local7 = _local5.depth++;
var _local3 = _local5.attachMovie("userSplash", "sf" + _local7, 1000000 - _local7);
_local3.initArmor(1);
_local3.setMotion(0, 0);
var _local6 = {x:point.x, y:point.y};
_local5.globalToLocal(_local6);
_local3.moveTo(_local6.x, _local6.y);
_local3.initSplash(shot.splashDamage, shot.damageRadius, shot.splashDelay, true);
checkSplash(_local3, playerFlag, enemyFlag);
if (_global.envS.debug != 1) {
_local3.spl._visible = false;
}
};
_global.makeBreef = function (done) {
if (done == true) {
if (this.mode == 1) {
while (this.currText < 3) {
if (this.currText == 1) {
var _local3 = this.breefText1;
var _local4 = _root.wnd.intro1;
}
if (this.currText == 2) {
var _local3 = this.breefText2;
var _local4 = _root.wnd.intro2;
}
while (this.step < _local3.length) {
do {
var str = _local3.charAt(++this.step);
} while (str == "\r");
if (str == "|") {
str = newline;
}
_local4.text = _local4.text + str;
}
this.currText++;
this.step = -1;
this.step2 = 0;
}
this.mode = 2;
}
} else if (this.mode == 1) {
if (this.currText == 1) {
var _local3 = this.breefText1;
var _local4 = _root.wnd.intro1;
}
if (this.currText == 2) {
var _local3 = this.breefText2;
var _local4 = _root.wnd.intro2;
}
if (this.step == undefined) {
this.step = -1;
}
if (this.step2 == undefined) {
this.step2 = 0;
}
this.step2++;
if (this.step2 >= this.delay) {
this.step2 = 0;
do {
var str = _local3.charAt(++this.step);
} while (str == "\r");
if (str == "|") {
str = newline;
}
_local4.text = _local4.text + str;
}
if (this.step >= _local3.length) {
if (this.currText == 1) {
this.currText = 2;
this.step = -1;
this.step2 = 0;
} else {
this.mode = 2;
}
}
}
};
_root.prebreefFunc = function () {
stop();
_root.gui.health.bar._xscale = 0;
_root.gui.progress.bar.gotoAndStop(1);
_root.gui.progress.bar._visible = false;
_root.gui.adder.gotoAndStop(1);
_root.gui.fireRate.gotoAndStop(1);
_root.gui.double.gotoAndStop(1);
_root.gui.speed.gotoAndStop(1);
_global.levelNum++;
if (_global.levels["level_" + levelNum] != undefined) {
wnd.levelNum.text = _global.levelNum;
wnd.breefText1 = _global.levels["level_" + levelNum]["comment1_" + language_pre];
wnd.breefText2 = _global.levels["level_" + levelNum]["comment2_" + language_pre];
if ((wnd.breefText1 == undefined) || (wnd.breefText1 == "")) {
wnd.breefText1 = _global.levels["level_" + levelNum]["comment_" + language_pre];
}
if (wnd.breefText1 == undefined) {
wnd.breefText1 = "";
}
if (wnd.breefText2 == undefined) {
wnd.breefText2 = "";
}
wnd.currText = 1;
var _local3 = _global.levels["level_" + levelNum].typerDelay;
if (_local3 == undefined) {
_local3 = 0;
}
_root.wnd.delay = _local3;
_root.wnd.intro1.text = "";
_root.wnd.intro2.text = "";
_root.wnd.mode = 1;
_root.wnd.onEnterFrame = makeBreef;
}
};
nextFrame();
Frame 7
stop();
_global.levelNum = 0;
Instance of Symbol 738 MovieClip "btn_sound" in Frame 7
onClipEvent (load) {
if (!sound.enable) {
gotoAndStop (2);
}
}
Frame 8
stop();
intro_text.htmlText = _global.envS["textZ_" + language_pre].intro;
Frame 9
prebreefFunc();
Frame 10
stop();
if (_global.levels["level_" + levelNum] != undefined) {
_global.allowToStart = true;
globalStart();
}
Symbol 2 MovieClip Frame 1
_visible = false;
Symbol 7 MovieClip Frame 1
stop();
Symbol 1225 MovieClip [__Packages.checkedObject] Frame 0
class checkedObject extends MovieClip
{
var _x, _y, ticket, removeMovieClip, unloadMovie;
function checkedObject () {
super();
offsetTop = _global.envS.allOffset.top;
offsetBottom = _global.envS.allOffset.bottom;
offsetLeft = _global.envS.allOffset.left;
offsetRight = _global.envS.allOffset.right;
x = Math.round(_x);
y = Math.round(_y);
}
function check() {
if (((isNaN(x) || (!isFinite(x))) || (isNaN(y))) || (!isFinite(y))) {
kill();
}
if (y < ((-_root.bg.y) + offsetTop)) {
if (offReaction == "die") {
kill();
}
if (offReaction == "stand") {
y = (-_root.bg.y) + offsetTop;
}
}
if (y > (((-_root.bg.y) + 400) - offsetBottom)) {
if (offReaction == "die") {
kill();
}
if (offReaction == "stand") {
y = ((-_root.bg.y) + 400) - offsetBottom;
}
}
if (x < (0 + offsetLeft)) {
if (offReaction == "die") {
kill();
}
if (offReaction == "stand") {
x = 0 + offsetLeft;
}
}
if (x > (550 - offsetRight)) {
if (offReaction == "die") {
kill();
}
if (offReaction == "stand") {
x = 550 - offsetRight;
}
}
}
function inQueue(a) {
if (!init) {
if (a == undefined) {
a = 50;
}
ticket = _global.queue.addFunc(oEF, this, a);
init = true;
}
}
function outQueue() {
if (init) {
_global.queue.remove(ticket);
init = false;
}
}
function oEF() {
if (!init) {
return(undefined);
}
check();
}
function kill() {
outQueue();
if (!deathFromOutside) {
removeMovieClip();
unloadMovie();
}
}
var offsetTop = 0;
var offsetBottom = 0;
var offsetLeft = 0;
var offsetRight = 0;
var offReaction = "die";
var x = 0;
var y = 0;
var init = false;
var deathFromOutside = false;
var dieImmediatly = false;
}
Symbol 1226 MovieClip [__Packages.movingObject] Frame 0
class movingObject extends checkedObject
{
var wayLinkage, y, x, _parent, way, attachMovie, line, createEmptyMovieClip, check, _x, _y;
function movingObject () {
super();
}
function setMotion(a, b, xr, yr, r, f, sf, ef, wc, rbw) {
if (typeof(a) == "string") {
if (a == "player") {
wayMode = false;
wayLinkage = "";
var _local10 = {x:x, y:y};
_parent.localToGlobal(_local10);
var _local9 = {x:_root.bg.player.x, y:_root.bg.player.y};
_root.bg.localToGlobal(_local9);
var _local19 = _local9.x - _local10.x;
var _local17 = _local9.y - _local10.y;
var _local13 = Math.atan2(_local17, _local19);
speedXY = parseFloat(b);
if (isNaN(speedXY) || (!isFinite(speedXY))) {
speedXY = 1;
}
speedX = speedXY * Math.cos(_local13);
speedY = speedXY * Math.sin(_local13);
xr = parseInt(xr);
if (xr == 1) {
followPlayer = true;
}
} else {
if (a == undefined) {
return(undefined);
}
wayLinkage = a;
if (b != undefined) {
wayRatio = b;
}
if (xr != undefined) {
xratio = xr;
}
if (yr != undefined) {
yratio = yr;
}
if (r != undefined) {
rotate = r / _global.PI2;
}
if (f != undefined) {
factor = f;
}
if (sf != undefined) {
startFrame = sf;
}
if (ef != undefined) {
endFrame = ef;
}
if (wc != undefined) {
wayCycle = wc;
}
if (rbw != undefined) {
rotatedByWay = ((rbw == 1) ? true : false);
}
way = attachMovie(wayLinkage, "way", 100);
line = createEmptyMovieClip("line", 101);
line.createEmptyMovieClip("l", 1);
line._visible = false;
line.l.lineStyle(0, 16711680);
line.l.moveTo(0, 0);
line.l.lineTo(100, 0);
firstStep = startFrame;
way.gotoAndStop(startFrame);
if (way != undefined) {
var _local4 = way.klop._x;
_local4 = _local4 * factor;
var _local5 = way.klop._y;
if (xratio != 100) {
_local4 = _local4 * (xratio / 100);
}
if (yratio != 100) {
_local5 = _local5 * (yratio / 100);
}
if (rotate != 0) {
var _local11 = Math.sqrt((_local4 * _local4) + (_local5 * _local5));
var _local12 = Math.atan2(_local5, _local4);
var _local16 = _local11 * Math.cos(rotate + _local12);
var _local15 = _local11 * Math.sin(rotate + _local12);
} else {
var _local16 = _local4;
var _local15 = _local5;
}
way.x = _local16;
way._x = way.x;
way.y = _local15;
way._y = way.y;
}
if (endFrame == -1) {
endFrame = way._totalframes;
}
if (endFrame < startFrame) {
var _local18 = startFrame;
startFrame = endFrame;
endFrame = _local18;
wayDir = -1;
}
way._xscale = (line._xscale = factor * xratio);
way._yscale = (line._yscale = yratio);
way._rotation = (line._rotation = r);
if (_global.envS.debug != 1) {
way._visible = false;
}
wayMode = true;
}
} else {
if (a != undefined) {
speedX = a;
}
if (b != undefined) {
speedY = b;
}
wayMode = false;
}
initMove = true;
oEF();
}
function initWayMotion(mwo, sx, sy) {
movedWay = true;
movedWayOffset = mwo;
movedWayCount = 0;
movedWayXSpeed = sx;
movedWayYSpeed = sy;
}
function oEF() {
if (initMove) {
if (wayMode) {
var _local5 = way._currentframe + (wayDir * wayRatio);
if ((wayDir > 0) && (_local5 > endFrame)) {
wayPassed = true;
if (wayCycle == 1) {
_local5 = endFrame;
}
if (wayCycle == 2) {
wayDir = wayDir * -1;
_local5 = _local5 + (_local5 - endFrame);
}
if (wayCycle == 3) {
_local5 = startFrame + (_local5 - endFrame);
}
}
if ((wayDir < 0) && (_local5 < startFrame)) {
wayPassed = true;
if (wayCycle == 1) {
_local5 = startFrame;
}
if (wayCycle == 2) {
wayDir = wayDir * -1;
_local5 = startFrame + (startFrame - _local5);
}
if (wayCycle == 3) {
_local5 = endFrame - (startFrame - _local5);
}
}
var _local15 = way.klop._x;
var _local14 = way.klop._y;
way.gotoAndStop(_local5);
var _local6 = way.klop._x - _local15;
_local6 = _local6 * factor;
var _local11 = way.klop._y - _local14;
if (xratio != 100) {
_local6 = _local6 * (xratio / 100);
}
if (yratio != 100) {
_local11 = _local11 * (yratio / 100);
}
if (rotate != 0) {
var _local10 = Math.sqrt((_local6 * _local6) + (_local11 * _local11));
var _local12 = Math.atan2(_local11, _local6);
speedX = _local10 * Math.cos(rotate + _local12);
speedY = _local10 * Math.sin(rotate + _local12);
} else {
speedX = _local6;
speedY = _local11;
}
line.l._rotation = way.klop._rotation;
var _local7 = line.getRect(this);
baseRotateCount = Math.atan2(_local7.yMax + _local7.yMin, _local7.xMax + _local7.xMin) * _global.PI2;
if (wayDir == -1) {
baseRotateCount = baseRotateCount + 180;
}
} else if (followPlayer) {
var _local9 = {x:x, y:y};
_parent.localToGlobal(_local9);
var _local8 = {x:_root.bg.player.x, y:_root.bg.player.y};
_root.bg.localToGlobal(_local8);
var _local17 = _local8.x - _local9.x;
var _local16 = _local8.y - _local9.y;
var _local13 = Math.atan2(_local16, _local17);
speedX = speedXY * Math.cos(_local13);
speedY = speedXY * Math.sin(_local13);
baseRotateCount = Math.atan2(speedY, speedX) * _global.PI2;
} else {
baseRotateCount = Math.atan2(speedY, speedX) * _global.PI2;
}
x = x + speedX;
y = y + speedY;
if (wayMode) {
way.x = way.x - speedX;
way._x = way.x;
way.y = way.y - speedY;
way._y = way.y;
}
}
if (movedWay) {
if ((++movedWayCount) > movedWayOffset) {
x = x + (-movedWayXSpeed);
speedX = speedX + (-movedWayXSpeed);
if ((movedWayYSpeed == 0) || (movedWayYSpeed == undefined)) {
var _local11 = -_root.bg.speedY;
} else {
var _local11 = -movedWayYSpeed;
}
y = y + _local11;
speedY = speedY + _local11;
}
}
super.oEF();
redraw();
}
function moveTo(a, b) {
x = a;
y = b;
check();
redraw();
}
function moveBy(a, b) {
x = x + a;
y = y + b;
check();
redraw();
}
function redraw() {
_x = Math.round(x);
_y = Math.round(y);
}
var initMove = false;
var speedX = 0;
var speedY = 0;
var speedXY = 0;
var wayMode = false;
var wayRatio = 1;
var rotatedByWay = true;
var followPlayer = false;
var xratio = 100;
var yratio = 100;
var rotate = 0;
var baseRotateCount = 0;
var factor = 1;
var startFrame = 1;
var endFrame = -1;
var wayCycle = 1;
var wayDir = 1;
var firstStep = 1;
var movedWay = false;
var movedWayOffset = 0;
var movedWayCount = 0;
var movedWayXSpeed = 0;
var movedWayYSpeed = 0;
var wayPassed = false;
}
Symbol 1227 MovieClip [__Packages.damagableObject] Frame 0
class damagableObject extends movingObject
{
var blinkObject, bar, createEmptyMovieClip, bar1, bar2, x;
function damagableObject () {
super();
if (_global.envS.debug == 1) {
initBar();
}
blinkObject = this;
}
function initArmor(a) {
startArmor = (armor = a);
}
function initFlags(ih, is, id, im) {
ignoreHit = ((ih == 1) ? true : false);
ignoreSplash = ((is == 1) ? true : false);
ignoreDirect = ((id == 1) ? true : false);
immortal = ((im == 1) ? true : false);
}
function initBar() {
bar = createEmptyMovieClip("bar", 3);
bar1 = bar.createEmptyMovieClip("bar1", 2);
bar.beginFill(16711680);
_global.drawRect(bar, -15, -2, 15, 2);
bar.endFill();
bar1.lineStyle(0, 0);
_global.drawRect(bar1, -15, -2, 15, 2);
bar._y = -20;
bar2 = bar.createEmptyMovieClip("bar2", 1);
bar2.beginFill(65280);
_global.drawRect(bar2, 0, -2, 30, 2);
bar2.endFill();
bar2._x = -15;
}
function changeArmor(delta) {
if (!live) {
return(undefined);
}
armor = armor + delta;
if (delta < 0) {
startBlink("hit");
}
if (armor > startArmor) {
armor = startArmor;
}
showArmor();
if (armor <= 0) {
armor = 0;
live = false;
showArmor();
destroy();
}
}
function showArmor() {
if (_global.envS.debug == 1) {
bar2._xscale = (100 * armor) / startArmor;
}
}
function destroy(flag) {
if (soundKills != "none") {
if ((soundKills == "") || (soundKills == undefined)) {
_global.sound.play(_global.envS.soundKills, x, flag);
} else {
var _local3 = soundKills.split(",");
if (_local3.length == 0) {
_local3 = [soundKills];
}
var _local4 = Math.floor(Math.random() * _local3.length);
_global.sound.play(_global.trim(_local3[_local4]), x, flag);
}
}
stopBlink();
if (_global.envS.debug == 1) {
bar._visible = false;
}
live = false;
}
function oEF() {
if (blinkFlag) {
var _local5 = Math.floor(blinkCounter / blinkStep);
blinkCounter++;
var _local4 = Math.floor(blinkCounter / blinkStep);
if (_local5 != _local4) {
var _local3 = {ra:100, ga:100, ba:100, aa:100, rb:0, gb:0, bb:0, ab:0};
if ((_local4 % 2) == 1) {
_local3.ra = (_local3.ga = (_local3.ba = 100 - blinkAmount));
_local3.rb = Math.round((blinkColorR * blinkAmount) / 100);
_local3.gb = Math.round((blinkColorG * blinkAmount) / 100);
_local3.bb = Math.round((blinkColorB * blinkAmount) / 100);
}
new Color(blinkObject).setTransform(_local3);
}
if (blinkCounter > ((2 * blinkStep) * blinkTimes)) {
blinkFlag = false;
}
}
super.oEF();
}
function startBlink(col) {
blinkColor = _global.envS.blinks[col].color;
blinkColorR = parseInt(blinkColor.substr(1, 2), 16);
blinkColorG = parseInt(blinkColor.substr(3, 2), 16);
blinkColorB = parseInt(blinkColor.substr(5, 2), 16);
blinkAmount = _global.envS.blinks[col].amount;
blinkTimes = _global.envS.blinks[col].times;
blinkStep = _global.envS.blinks[col].step;
blinkCounter = 0;
blinkFlag = true;
}
function stopBlink() {
if (blinkFlag) {
var _local2 = {ra:100, ga:100, ba:100, aa:100, rb:0, gb:0, bb:0, ab:0};
new Color(blinkObject).setTransform(_local2);
blinkFlag = false;
}
}
var live = true;
var armor = 0;
var startArmor = 0;
var blinkColor = "#000000";
var blinkColorR = 0;
var blinkColorG = 0;
var blinkColorB = 0;
var blinkAmount = 0;
var blinkTimes = 0;
var blinkCounter = 0;
var blinkFlag = false;
var blinkStep = 0;
var directDamage = 0;
var soundKills = "";
var ignoreHit = false;
var ignoreSplash = false;
var ignoreDirect = false;
var immortal = false;
var notCount = 0;
}
Symbol 1228 MovieClip [__Packages.tankClass] Frame 0
class tankClass extends damagableObject
{
var live, base, attachMovie, body, hitBody, _parent, gunHolder, _name, getDepth, _x, _y, cannons, blinkObject, target, initArmor, x, y, speedX, speedY, baseRotation, baseRotateCount, rotatedByWay, _ymouse, _xmouse, dieImmediatly, deathFromOutside, initMove;
function tankClass () {
super();
}
function initTank(a, b, c, ar, wb, bb) {
if (!live) {
return(undefined);
}
if (bb === 1) {
bossBarFlag = true;
}
if (bossBarFlag) {
_root.bossBar._visible = true;
_root.bossBar._alpha = 0;
_root.bossBar.onEnterFrame = _global.alphaIn;
}
base = attachMovie(a, "base", 1);
body = base.body;
hitBody = base.hitBody;
if (hitBody == undefined) {
hitBody = base.body;
}
body._visible = false;
hitBody._visible = false;
if (_parent._parent.enemyMC2 == undefined) {
gunHolder = this;
} else {
_parent._parent.enemyMC2.createEmptyMovieClip(_name + "_gun", getDepth());
gunHolder = _parent._parent.enemyMC2[_name + "_gun"];
}
base._rotation = _global.envS.defaultRotation;
gunHolder._x = _x;
gunHolder._y = _y;
cannons = new Array();
var _local5 = b.split(",");
if (_local5 == undefined) {
_local5 = new Array();
_local5.push(b);
}
var _local4 = 0;
while (_local4 < _local5.length) {
_local5[_local4] = _global.trim(_local5[_local4]);
cannons[_local4] = gunHolder.attachMovie(_local5[_local4], "gun" + _local4, _local4 + 2, {parent:this, myNum:_local4});
_local4++;
}
if (wb == 1) {
withoutBaseFlag = true;
}
if (withoutBaseFlag) {
blinkObject = gunHolder;
}
target = c;
rotateGun();
rotateBase();
initArmor(ar);
}
function initGun(t, mt, c, bt, bs, fs, fm, fd, bd, to, ca) {
if (!live) {
return(undefined);
}
var _local12 = t.split(",");
if (_local12 == undefined) {
_local12 = new Array();
_local12.push(t);
}
var _local5 = mt.split(",");
if (_local5 == undefined) {
_local5 = new Array();
_local5.push(mt);
}
var _local10 = c.split(",");
if (_local10 == undefined) {
_local10 = new Array();
_local10.push(c);
}
var _local4 = bt.split(",");
if (_local4 == undefined) {
_local4 = new Array();
_local4.push(bt);
}
var _local14 = bs.split(",");
if (_local14 == undefined) {
_local14 = new Array();
_local14.push(bs);
}
var _local8 = fs.split(",");
if (_local8 == undefined) {
_local8 = new Array();
_local8.push(fs);
}
var _local6 = fm.split(",");
if (_local6 == undefined) {
_local6 = new Array();
_local6.push(fm);
}
var _local11 = fd.split(",");
if (_local11 == undefined) {
_local11 = new Array();
_local11.push(fd);
}
var _local9 = bd.split(",");
if (_local9 == undefined) {
_local9 = new Array();
_local9.push(bd);
}
var _local7 = ca.split(",");
if (_local7 == undefined) {
_local7 = new Array();
_local7.push(ca);
}
var _local13 = to.split(",");
if (_local13 == undefined) {
_local13 = new Array();
_local13.push(to);
}
var _local3 = 0;
while (_local3 < _local4.length) {
cannons[_local3].initGun();
cannons[_local3].addGun(_global.trim(_local12[_local3]), _global.trim(_local5[_local3]), _global.trim(_local10[_local3]), _global.trim(_local4[_local3]), _global.trim(_local14[_local3]), _global.trim(_local8[_local3]), _global.trim(_local6[_local3]), _global.trim(_local11[_local3]), _global.trim(_local9[_local3]), _global.trim(_local7[_local3]), _global.trim(_local13[_local3]));
_local3++;
}
}
function addGun(t, mt, c, bt, bs, fs, fm, fd, bd, to, ca) {
if (!live) {
return(undefined);
}
var _local12 = t.split(",");
if (_local12 == undefined) {
_local12 = new Array();
_local12.push(t);
}
var _local5 = mt.split(",");
if (_local5 == undefined) {
_local5 = new Array();
_local5.push(mt);
}
var _local10 = c.split(",");
if (_local10 == undefined) {
_local10 = new Array();
_local10.push(c);
}
var _local4 = bt.split(",");
if (_local4 == undefined) {
_local4 = new Array();
_local4.push(bt);
}
var _local14 = bs.split(",");
if (_local14 == undefined) {
_local14 = new Array();
_local14.push(bs);
}
var _local8 = fs.split(",");
if (_local8 == undefined) {
_local8 = new Array();
_local8.push(fs);
}
var _local6 = fm.split(",");
if (_local6 == undefined) {
_local6 = new Array();
_local6.push(fm);
}
var _local11 = fd.split(",");
if (_local11 == undefined) {
_local11 = new Array();
_local11.push(fd);
}
var _local9 = bd.split(",");
if (_local9 == undefined) {
_local9 = new Array();
_local9.push(bd);
}
var _local7 = ca.split(",");
if (_local7 == undefined) {
_local7 = new Array();
_local7.push(ca);
}
var _local13 = to.split(",");
if (_local13 == undefined) {
_local13 = new Array();
_local13.push(to);
}
var _local3 = 0;
while (_local3 < _local4.length) {
cannons[_local3].addGun(_global.trim(_local12[_local3]), _global.trim(_local5[_local3]), _global.trim(_local10[_local3]), _global.trim(_local4[_local3]), _global.trim(_local14[_local3]), _global.trim(_local8[_local3]), _global.trim(_local6[_local3]), _global.trim(_local11[_local3]), _global.trim(_local9[_local3]), _global.trim(_local7[_local3]), _global.trim(_local13[_local3]));
_local3++;
}
}
function oEF() {
var _local9 = x;
var _local8 = y;
super.oEF();
if ((x == _local9) && (y == _local8)) {
var _local5 = 0;
while (_local5 < cannons.length) {
cannons[_local5].stop();
_local5++;
}
base.baseAnim.stop();
} else {
var _local5 = 0;
while (_local5 < cannons.length) {
cannons[_local5].play();
_local5++;
}
base.baseAnim.play();
}
gunHolder._x = _x;
gunHolder._y = _y;
rotateBase();
rotateGun();
if ((Math.abs(speedX) > 0.5) || (Math.abs(speedY) > 0.5)) {
if ((_global.clock % 2) == 0) {
var _local7 = _root.bg.tiles.getNextHighestDepth();
var _local6 = _root.bg.tiles.attachMovie("tile", "t" + _local7, _local7);
_local6._x = x;
_local6._y = y;
_local6._rotation = baseRotation;
}
}
}
function rotateBase() {
if (!((speedX == 0) && (speedY == 0))) {
baseRotation = baseRotateCount + 90;
if (rotatedByWay) {
base._rotation = baseRotation;
}
gunHolder._rotation = base._rotation;
}
}
function rotateGun() {
if (target == undefined) {
var _local3 = 0;
while (_local3 < cannons.length) {
cannons[_local3]._rotation = (Math.atan2(_ymouse - cannons[_local3]._y, _xmouse - cannons[_local3]._x) * _global.PI2) + 90;
_local3++;
}
} else {
var _local6 = {x:target._x, y:target._y};
}
target._parent.localToGlobal(_local6);
var _local3 = 0;
while (_local3 < cannons.length) {
var _local5 = {x:cannons[_local3]._x, y:cannons[_local3]._y};
gunHolder.localToGlobal(_local5);
var _local4 = cannons[_local3].cannonAngleType;
if (_local4 == "t") {
cannons[_local3]._rotation = ((Math.atan2(_local6.y - _local5.y, _local6.x - _local5.x) * _global.PI2) - gunHolder._rotation) + 90;
} else if (_local4 == "w") {
cannons[_local3]._rotation = cannons[_local3].cannonAngle;
} else if (_local4 == "h") {
cannons[_local3]._rotation = (cannons[_local3].cannonAngle - gunHolder._rotation) + 180;
}
_local3++;
}
}
function bang(obj) {
if (!live) {
return(false);
}
var _local4 = false;
var _local2 = 0;
while (_local2 < cannons.length) {
var _local3 = cannons[_local2].bang(obj);
_local4 = _local4 || (_local3);
_local2++;
}
return(_local4);
}
function destroy(flag) {
var _local9 = _root.bg.fx;
var _local8 = 1;
var _local7 = _local9.getNextHighestDepth();
var _local10 = base;
if (_local10.ex1 == undefined) {
_local10 = cannons[0];
}
while (_local10["ex" + _local8] != undefined) {
var _local6 = _local10["ex" + _local8];
_local9.attachMovie("explode", "fx" + _local7, _local7);
var _local5 = _local9["fx" + _local7];
_local5._rotation = ((_local6._rotation == 0) ? (Math.random() * 360) : (_local6._rotation));
_local5._x = x - _local6._x;
_local5._y = y - _local6._y;
_local5._xscale = (_local5._yscale = _local6._xscale * 10);
if (_local6.delay != undefined) {
_local5.gotoAndStop(1);
_local5.maxDelay = _local6.delay;
_local5.onEnterFrame = _global.explodePause;
} else {
_local5.gotoAndPlay(2);
}
_local7++;
_local8++;
}
if ((_local8 > 2) && (dieImmediatly == 0)) {
_local5.destroyer = true;
_local5.destroyTarget = this;
deathFromOutside = true;
}
super.destroy(flag);
kill();
}
function kill() {
if (bossBarFlag) {
_root.bossBar.step = 0;
_root.bossBar.maxStep = 30;
_root.bossBar._alpha = 100;
_root.bossBar.onEnterFrame = _global.alphaOut;
}
if (!deathFromOutside) {
if (gunHolder != this) {
var _local6 = cannons[0]._currentframe;
var _local5 = 0;
while (_local5 < cannons.length) {
cannons[_local5].gotoAndPlay("die");
_local5++;
}
if ((cannons[0]._currentframe == 1) || (cannons[0]._currentframe == _local6)) {
gunHolder.removeMovieClip();
}
super.kill();
} else {
initMove = false;
var _local5 = 0;
while (_local5 < cannons.length) {
cannons[_local5].gotoAndPlay("die");
_local5++;
}
}
}
}
function changeGun(newWeapon) {
cannons[0].changeGun(newWeapon);
}
function changeArmor(delta) {
super.changeArmor(delta);
if (bossBarFlag) {
_root.bossBar.bar._xscale = (100 * armor) / startArmor;
}
}
var armor = 0;
var startArmor = 0;
var thereCanBeOnlyOne = 0;
var withoutBaseFlag = false;
var bossBarFlag = false;
}
Symbol 1229 MovieClip [__Packages.enemyClass] Frame 0
class enemyClass extends tankClass
{
var offsetTop, offsetBottom, offsetLeft, offsetRight, cannons, wayPassed, bang, armor;
function enemyClass () {
super();
_global.enemyObjects.push(this);
offsetTop = _global.envS.enemyOffset.top;
offsetBottom = _global.envS.enemyOffset.bottom;
offsetLeft = _global.envS.enemyOffset.left;
offsetRight = _global.envS.enemyOffset.right;
}
function initGun(t, mt, c, bt, bs, fs, fm, fd, bd, ba, to, ai, sd, dr, del) {
super.initGun(t, mt, c, bt, bs, fs, fm, fd, bd, to, ba);
if (ai != undefined) {
this.ai = ai;
}
if ((sd != undefined) && (sd != 0)) {
var _local6 = sd.split(",");
if (_local6 == undefined) {
_local6 = new Array();
_local6.push(sd);
}
var _local4 = dr.split(",");
if (_local4 == undefined) {
_local4 = new Array();
_local4.push(dr);
}
var _local5 = del.split(",");
if (_local5 == undefined) {
_local5 = new Array();
_local5.push(del);
}
var _local3 = 0;
while (_local3 < cannons.length) {
cannons[_local3].initSplash(_local6[_local3], _local4[_local3], _local5[_local3]);
_local3++;
}
}
}
function oEF() {
super.oEF();
if (wayPassed) {
ai = 0;
}
if (ai == 0) {
bang(0);
}
}
function kill() {
if (armor <= 0) {
_global.rezults.killed++;
} else {
_global.rezults.survived++;
}
var _local4 = 0;
while (_local4 < _global.enemyObjects.length) {
if (_global.enemyObjects[_local4] == this) {
_global.enemyObjects.splice(_local4, 1);
break;
}
_local4++;
}
super.kill();
}
var ai = 0;
}
Symbol 1230 MovieClip [__Packages.bulletClass] Frame 0
class bulletClass extends movingObject
{
var offsetTop, offsetBottom, offsetLeft, offsetRight, y, x, _xscale, _yscale;
function bulletClass () {
super();
_global.bulletObjects.push(this);
offsetTop = _global.envS.bulletOffset.top;
offsetBottom = _global.envS.bulletOffset.bottom;
offsetLeft = _global.envS.bulletOffset.left;
offsetRight = _global.envS.bulletOffset.right;
startClock = _global.clock;
}
function set damage(d) {
if (d >= 0) {
__damage = d;
}
//return(damage);
}
function get damage() {
return(__damage);
}
function check() {
super.check();
if (y < ((-_root.bg.y) + offsetTop)) {
kill();
}
if (y > (((-_root.bg.y) + 400) - offsetBottom)) {
kill();
}
if (x < (0 + offsetLeft)) {
kill();
}
if (x > (550 - offsetRight)) {
kill();
}
}
function removeFromArray() {
var _local3 = 0;
while (_local3 < _global.bulletObjects.length) {
if (_global.bulletObjects[_local3] == this) {
_global.bulletObjects.splice(_local3, 1);
break;
}
_local3++;
}
}
function kill() {
removeFromArray();
super.kill();
}
function oEF() {
if (flySteps != 0) {
var _local4 = (_global.clock - startClock) + 1;
var _local5 = (Math.PI / (flySteps - 1)) * (_local4 - 1);
_xscale = (_yscale = Math.round(10 * ((Math.sin(_local5) * (100 - flyMinScale)) + flyMinScale)) / 10);
}
if (_global.clock != startClock) {
super.oEF();
}
}
var __damage = 0;
var startClock = 0;
var flySteps = 0;
var flyMinScale = 0;
}
Symbol 1231 MovieClip [__Packages.queue] Frame 0
class queue extends MovieClip
{
function queue () {
super();
actions = new Array();
newActions = new Array();
_global.queue = this;
}
function addFunc(func, obj, priority) {
ticket++;
if (priority == undefined) {
priority = 50;
}
newActions.push({func:func, obj:obj, pr:priority, ticket:ticket});
sync = false;
return(ticket);
}
function remove(t) {
var _local2 = 0;
while (_local2 < actions.length) {
if (actions[_local2].ticket == t) {
actions.splice(_local2, 1);
return(true);
}
_local2++;
}
_local2 = 0;
while (_local2 < newActions.length) {
if (newActions[_local2].ticket == t) {
newActions.splice(_local2, 1);
return(true);
}
_local2++;
}
trace((("*****************NOT removed\t" + t) + "\t") + actions.length);
return(false);
}
function clear() {
delete actions;
delete newActions;
actions = new Array();
newActions = new Array();
ticket = 0;
sync = true;
}
function onEnterFrame() {
if (_global.gameInProcess) {
if (!sync) {
while (newActions.length > 0) {
actions.push(newActions.pop());
}
actions.sortOn("pr", Array.NUMERIC);
sync = true;
}
var _local3 = 0;
while (_local3 < actions.length) {
var _local4 = actions.length;
actions[_local3].func.call(actions[_local3].obj);
if (actions.length != _local4) {
_local3--;
}
_local3++;
}
}
}
var actions = new Array();
var newActions = new Array();
var ticket = 0;
var sync = true;
}
Symbol 1232 MovieClip [__Packages.splashedObject] Frame 0
class splashedObject extends damagableObject
{
var hitBody, body, spl, splashDamage, damageRadius, splashDelay, _xscale, _yscale, gotoAndPlay, x, y, armor, notCount;
function splashedObject () {
super();
_global.staticObjects.push(this);
if (hitBody == undefined) {
hitBody = body;
}
body._visible = false;
hitBody._visible = false;
if (_global.envS.debug != 1) {
spl._visible = false;
}
}
function initSplash(sd, dr, delay, flag) {
if (flag == undefined) {
flag = false;
}
splashDamage = sd;
damageRadius = dr;
splashDelay = delay;
if (!flag) {
spl._xscale = (spl._yscale = dr);
} else {
_xscale = (_yscale = dr);
}
}
function destroy() {
_global.debug(this + ": \u0411\u0410\u0428\u041D\u042F \u0413\u0418\u0411\u041D\u0415\u0422!");
super.destroy();
gotoAndPlay("destroy");
var _local9 = 1;
var _local10 = _root.bg.fx;
while (this["p" + _local9] != undefined) {
var _local6 = this["p" + _local9];
var _local8 = _local10.getNextHighestDepth();
_local10.attachMovie("explode", "fx" + _local8, _local8);
var _local5 = _local10["fx" + _local8];
_local5._rotation = _local6._rotation;
_local5._xscale = _local6._xscale;
_local5._yscale = _local6._yscale;
_local5._x = x + _local6._x;
_local5._y = y + _local6._y;
_local9++;
}
var _local7 = 0;
while (_local7 < _global.staticObjects.length) {
if (_global.staticObjects[_local7] == this) {
_global.staticObjects.splice(_local7, 1);
break;
}
_local7++;
}
}
function kill() {
if (armor <= 0) {
if (notCount != 1) {
_global.rezults.items++;
}
}
var _local4 = 0;
while (_local4 < _global.staticObjects.length) {
if (_global.staticObjects[_local4] == this) {
_global.staticObjects.splice(_local4, 1);
break;
}
_local4++;
}
super.kill();
}
}
Symbol 1233 MovieClip [__Packages.cannon] Frame 0
class cannon extends MovieClip
{
var myNum, parent, _x, _y, fires, gunZ, _rotation, localToGlobal;
function cannon () {
super();
var _local4 = myNum + 1;
var _local5 = parent.base["head" + _local4];
if ((_local5 == undefined) && (_local4 == 1)) {
_local5 = parent.base.head;
}
if (_local5 == undefined) {
_global.debug((("CANNOT FIND CANNON MOUNT POINT FOR TANK " + parent) + " CANNON N ") + _local4);
} else {
_x = _local5._x;
_y = _local5._y;
}
fires = new Array();
fireNum = 1;
_local4 = 0;
_local4++;
while (this["shoot" + _local4]) {
fires.push(this["shoot" + _local4]);
}
}
function initGun() {
gunZ = new Array();
currentGun = 0;
}
function addGun(t, mt, c, bt, bs, fs, fm, fd, bd, ca, to) {
gunZ.push(new weapon(this));
gunZ[gunZ.length - 1].init(t, mt, c, bt, bs, fs, fm, fd, bd, to);
if (ca == undefined) {
ca = "t";
}
cannonAngleType = ca.charAt(0);
if (((cannonAngleType != "t") && (cannonAngleType != "w")) && (cannonAngleType != "h")) {
cannonAngleType = "t";
}
if (cannonAngleType != "t") {
cannonAngle = parseFloat(ca.substr(1, 100));
}
}
function bang(obj) {
return(gunZ[currentGun].bang(obj));
}
function makeBang(bt, bs, dm, obj, gunObj, angle) {
if (angle == undefined) {
angle = 0;
}
if (fires.length > 1) {
fireNum++;
}
if (fireNum > fires.length) {
fireNum = 1;
}
var _local13 = _root.bg.shots;
var _local17 = _local13.getNextHighestDepth();
var _local4 = _local13.attachMovie(bt, "f" + _local17, _local17);
var _local15 = ((_rotation - 90) + angle) + parent.gunHolder._rotation;
var _local6 = _local15 / _global.PI2;
_local4._rotation = _local15 - 90;
var _local7 = {x:fires[fireNum - 1]._x, y:fires[fireNum - 1]._y};
localToGlobal(_local7);
var _local8 = {x:_local7.x, y:_local7.y};
_local4._parent.globalToLocal(_local7);
_local4.moveTo(_local7.x, _local7.y);
_local4.flySteps = gunObj.flySteps;
_local4.flyMinScale = gunObj.flyMinScale;
_local4.inQueue(60);
if (gunObj.flySteps == 0) {
_local4.setMotion(bs * Math.cos(_local6), bs * Math.sin(_local6));
} else {
_local4._rotation = 0;
if (obj == 1) {
var _local10 = _root._xmouse - _local8.x;
var _local9 = _root._ymouse - _local8.y;
var _local16 = Math.sqrt((_local10 * _local10) + (_local9 * _local9));
_local6 = Math.atan2(_local9, _local10);
var _local19 = ((parent.base._xmouse > 0) ? 1 : -1);
_local6 = _local6 + ((_local19 * angle) / _global.PI2);
_local4.setMotion((_local16 * Math.cos(_local6)) / (gunObj.flySteps - 1), (_local16 * Math.sin(_local6)) / (gunObj.flySteps - 1));
}
if (obj == 0) {
if (cannonAngleType == "t") {
var _local12 = {x:parent.target._x, y:parent.target._y};
_local4._parent.localToGlobal(_local12);
_local4.setMotion((_local12.x - _local8.x) / (gunObj.flySteps - 1), (_local12.y - _local8.y) / (gunObj.flySteps - 1));
} else {
bs = gunObj.flyDistance / (gunObj.flySteps - 1);
_local4.setMotion(bs * Math.cos(_local6), bs * Math.sin(_local6));
}
}
}
_local4.damage = dm;
_local4.object = obj;
_local4.type = bt;
_local4.fireAngle = _local6;
if ((gunObj.splashDamage != 0) && (gunObj.splashDamage != undefined)) {
_local4.splashDamage = gunObj.splashDamage * (gunObj.nuke ? 2 : 1);
_local4.damageRadius = gunObj.damageRadius * (gunObj.nuke ? 2 : 1);
_local4.splashDelay = gunObj.splashDelay;
}
}
function changeGun(newWeapon) {
if (newWeapon == currentGun) {
return(true);
}
if (newWeapon >= gunZ.length) {
_global.debug(("Cannot change weapon to " + newWeapon) + ", not inited");
return(false);
}
_global.debug((("Changing weapon from " + currentGun) + " to ") + newWeapon);
currentGun = newWeapon;
return(true);
}
function initSplash(sd, dr, del) {
gunZ[gunZ.length - 1].initSplash(sd, dr, del);
}
var fireNum = 1;
var cannonAngleType = "t";
var cannonAngle = 0;
var currentGun = 0;
}
Symbol 1234 MovieClip [__Packages.weapon] Frame 0
class weapon
{
var myObj, bulletSpeed;
function weapon (target) {
myObj = target;
empty = true;
multiple = 1;
}
function initSplash(sd, dr, del) {
trace("setting splash " + sd);
splashDamage = sd;
damageRadius = dr;
splashDelay = del;
}
function init(t, mt, c, bt, bs, fs, fm, fd, bd, to) {
if (bt == undefined) {
return(undefined);
}
if (to == undefined) {
to = 0;
}
flySteps = parseInt(fs);
if (isNaN(flySteps) || (!isFinite(flySteps))) {
flySteps = 0;
}
flyMinScale = parseInt(fm);
if (isNaN(flyMinScale) || (!isFinite(flyMinScale))) {
flyMinScale = 0;
}
flyDistance = parseInt(fd);
if (isNaN(flyDistance) || (!isFinite(flyDistance))) {
flyDistance = 100;
}
empty = false;
startReloadTime = (reloadTime = t);
startReloadMicroTime = (reloadMicroTime = mt);
clip = c;
if (bt != undefined) {
bulletType = bt;
}
if (bs != undefined) {
bulletSpeed = bs;
}
damage = bd;
reload = true;
to = parseInt(to);
if (isNaN(to) || (!isFinite(to))) {
to = 0;
}
bangTime = _global.clock + to;
}
function bang(obj) {
if (empty) {
return(false);
}
if ((reloadMicroTime == reloadTime) && (reloadTime == 0)) {
return(false);
}
if ((!reload) && ((_global.clock - bangTime) < reloadMicroTime)) {
return(false);
}
if (reload && ((_global.clock - bangTime) < reloadTime)) {
return(false);
}
if (reload) {
reload = false;
shootCount = 0;
}
shootCount++;
_global.sound.play("s_" + bulletType, myObj.parent._x);
if (shootCount == clip) {
reload = true;
}
bangTime = _global.clock;
var _local3 = damage * (doubleDamage ? 2 : 1);
if (multiple == 1) {
myObj.makeBang(bulletType, bulletSpeed, _local3, obj, this);
} else if (multiple == 3) {
myObj.makeBang(bulletType, bulletSpeed, _local3, obj, this, -1 * _global.envS.multipleFireAngle);
myObj.makeBang(bulletType, bulletSpeed, _local3, obj, this);
myObj.makeBang(bulletType, bulletSpeed, _local3, obj, this, 1 * _global.envS.multipleFireAngle);
} else if (multiple == 5) {
myObj.makeBang(bulletType, bulletSpeed, _local3, obj, this, -2 * _global.envS.multipleFireAngle);
myObj.makeBang(bulletType, bulletSpeed, _local3, obj, this, -1 * _global.envS.multipleFireAngle);
myObj.makeBang(bulletType, bulletSpeed, _local3, obj, this);
myObj.makeBang(bulletType, bulletSpeed, _local3, obj, this, 1 * _global.envS.multipleFireAngle);
myObj.makeBang(bulletType, bulletSpeed, _local3, obj, this, 2 * _global.envS.multipleFireAngle);
} else if (multiple == 7) {
myObj.makeBang(bulletType, bulletSpeed, _local3, obj, this, -3 * _global.envS.multipleFireAngle);
myObj.makeBang(bulletType, bulletSpeed, _local3, obj, this, -2 * _global.envS.multipleFireAngle);
myObj.makeBang(bulletType, bulletSpeed, _local3, obj, this, -1 * _global.envS.multipleFireAngle);
myObj.makeBang(bulletType, bulletSpeed, _local3, obj, this);
myObj.makeBang(bulletType, bulletSpeed, _local3, obj, this, 1 * _global.envS.multipleFireAngle);
myObj.makeBang(bulletType, bulletSpeed, _local3, obj, this, 2 * _global.envS.multipleFireAngle);
myObj.makeBang(bulletType, bulletSpeed, _local3, obj, this, 3 * _global.envS.multipleFireAngle);
}
return(true);
}
var empty = true;
var bulletType = "gunshot";
var flySteps = 0;
var flyMinScale = 0;
var flyDistance = 100;
var reloadTime = 0;
var startReloadTime = 0;
var reloadMicroTime = 0;
var startReloadMicroTime = 0;
var clip = 0;
var reload = false;
var multiple = 1;
var doubleDamage = false;
var doubleSpeed = false;
var shootCount = 0;
var bangTime = 0;
var damage = 0;
var splashDamage = 0;
var damageRadius = 0;
var splashDelay = 0;
var nuke = false;
}
Symbol 1235 MovieClip [__Packages.playerClass] Frame 0
class playerClass extends tankClass
{
var offsetTop, offsetBottom, offsetLeft, offsetRight, offReaction, playerBaseRotation, base, cannons, bar, startArmor, speedX, speedY, moveBy, _rotation, gunHolder, init, initMove, y, armor, startBlink, live, x;
function playerClass () {
super();
offsetTop = _global.envS.playerOffset.top;
offsetBottom = _global.envS.playerOffset.bottom;
offsetLeft = _global.envS.playerOffset.left;
offsetRight = _global.envS.playerOffset.right;
offReaction = "stand";
oldTab = Key.isToggled(9);
speedFactor = _global.playerS.speedFactor;
rotationFactor = _global.playerS.rotationFactor;
}
function setMotion(a, b) {
super.setMotion(0, 0);
startBaseSpeedX = (baseSpeedX = a);
startBaseSpeedY = (baseSpeedY = b);
playerBaseRotation = (realRotation = (base._rotation = -_global.envS.defaultRotation));
}
function initTank(a, b, c, ar, wb, sh, msh, mar) {
shield = sh;
maxShield = msh;
super.initTank(a, b, c, ar, wb);
var _local4 = 0;
while (_local4 < cannons.length) {
cannons[_local4]._y = cannons[_local4]._y * -1;
_local4++;
}
if (_global.envS.debug == 1) {
bar._y = 20;
}
startArmor = Math.max(mar, ar);
showArmor();
}
function oEF() {
playerDx = 0;
if (Key.isDown(37) || (Key.isDown(65))) {
playerDx = -1;
}
if (Key.isDown(39) || (Key.isDown(68))) {
playerDx = 1;
}
if ((Key.isDown(37) || (Key.isDown(65))) && (Key.isDown(39) || (Key.isDown(68)))) {
playerDx = 0;
}
playerDy = 0;
if (Key.isDown(38) || (Key.isDown(87))) {
playerDy = -1;
}
if (Key.isDown(40) || (Key.isDown(83))) {
playerDy = 1;
}
if ((Key.isDown(38) || (Key.isDown(87))) && (Key.isDown(40) || (Key.isDown(83)))) {
playerDy = 0;
}
var _local13 = 0;
var _local12 = 0;
if (playerDx != 0) {
_local13 = playerDx * baseSpeedX;
}
if (playerDy != 0) {
_local12 = playerDy * baseSpeedY;
}
speedX = speedX + ((_local13 - speedX) / speedFactor);
speedY = speedY + ((_local12 - speedY) / speedFactor);
if (recoilTimer < _global.playerS.recoilLength) {
recoilTimer++;
var _local15 = recoilAngle / _global.PI2;
var _local14 = _global.playerS.recoil * Math.cos((Math.PI * recoilTimer) / ((2 * _global.playerS.recoilLength) + 1));
moveBy((_local14 * Math.cos(_local15)) / recoilTimer, (_local14 * Math.sin(_local15)) / recoilTimer);
}
super.oEF();
if ((playerDx != 0) || (playerDy != 0)) {
if (playerDy == -1) {
if (playerDx == 1) {
playerBaseRotation = 45;
}
if (playerDx == -1) {
playerBaseRotation = -45;
}
if (playerDx == 0) {
playerBaseRotation = 0;
}
} else if (playerDy == 1) {
if (playerDx == 1) {
playerBaseRotation = 135;
}
if (playerDx == -1) {
playerBaseRotation = -135;
}
if (playerDx == 0) {
playerBaseRotation = 180;
}
} else if (playerDy == 0) {
if (playerDx == 1) {
playerBaseRotation = 90;
}
if (playerDx == -1) {
playerBaseRotation = -90;
}
}
}
_rotation = 0;
var _local25 = playerBaseRotation;
while (realRotation > 180) {
realRotation = realRotation - 360;
}
while (realRotation < -180) {
realRotation = realRotation + 360;
}
var _local18 = playerBaseRotation - 360;
var _local17 = playerBaseRotation;
var _local16 = playerBaseRotation + 360;
var _local22 = _local18 - realRotation;
var _local21 = _local17 - realRotation;
var _local20 = _local16 - realRotation;
var _local11 = Math.abs(_local22);
var _local10 = Math.abs(_local21);
var _local19 = Math.abs(_local20);
var _local9 = Math.min(_local11, _local10);
_local9 = Math.min(_local9, _local19);
if (_local9 == _local11) {
var _local23 = _local18;
}
if (_local9 == _local10) {
var _local23 = _local17;
}
if (_local9 == _local19) {
var _local23 = _local16;
}
realRotation = realRotation + ((_local23 - realRotation) / rotationFactor);
base._rotation = realRotation;
gunHolder._rotation = 0;
var _local24 = cannons[0]._rotation;
cannons[0]._rotation = base._rotation;
if (!(init && (initMove))) {
return(undefined);
}
if (_global.gameInProcess) {
if (autoFire) {
if (cannons[0].gunZ[0].multiple != 1) {
cannons[0].fireNum = 0;
}
if (bang(1)) {
recoilAngle = _local24 + 90;
recoilTimer = 0;
_global.rezults.shots++;
}
}
}
var _local7 = 0;
while (_local7 < cannons[0].gunZ.length) {
var _local5 = cannons[0].gunZ[_local7];
if (_local5.reload) {
var _local6 = 100 * ((_global.clock - _local5.bangTime) / _local5.reloadTime);
} else {
var _local6 = 100 * ((_global.clock - _local5.bangTime) / _local5.reloadMicroTime);
}
if (_local6 > 100) {
var _local6 = 100;
}
var _local8 = _root.lbar["w" + _local7].ico;
if ((_local6 < 100) || (_local8._currentframe <= 50)) {
_local8.gotoAndPlay(Math.ceil(_local6 / 2));
}
_local7++;
}
}
function check() {
super.check();
if (y == (((-_root.bg.y) + 400) - offsetBottom)) {
if ((playerDx == 0) && (playerDy == 0)) {
playerBaseRotation = 0;
}
}
}
function initGun(t, mt, c, bt, bs, fs, fm, fd, bd, sd, dr, del) {
super.initGun(t, mt, c, bt, bs, fs, fm, fd, bd);
if ((sd != undefined) && (sd != 0)) {
var _local6 = sd.split(",");
if (_local6 == undefined) {
_local6 = new Array();
_local6.push(sd);
}
var _local4 = dr.split(",");
if (_local4 == undefined) {
_local4 = new Array();
_local4.push(dr);
}
var _local5 = del.split(",");
if (_local5 == undefined) {
_local5 = new Array();
_local5.push(del);
}
var _local3 = 0;
while (_local3 < cannons.length) {
cannons[_local3].initSplash(_local6[_local3], _local4[_local3], _local5[_local3]);
_local3++;
}
}
showWeapon(cannons[0].gunZ.length - 1);
}
function addGun(t, mt, c, bt, bs, fs, fm, fd, bd, sd, dr, del) {
super.addGun(t, mt, c, bt, bs, fs, fm, fd, bd);
if ((sd != undefined) && (sd != 0)) {
var _local6 = sd.split(",");
if (_local6 == undefined) {
_local6 = new Array();
_local6.push(sd);
}
var _local4 = dr.split(",");
if (_local4 == undefined) {
_local4 = new Array();
_local4.push(dr);
}
var _local5 = del.split(",");
if (_local5 == undefined) {
_local5 = new Array();
_local5.push(del);
}
var _local3 = 0;
while (_local3 < cannons.length) {
cannons[_local3].initSplash(_local6[_local3], _local4[_local3], _local5[_local3]);
_local3++;
}
}
showWeapon(cannons[0].gunZ.length - 1);
}
function showWeapon(n) {
var _local3 = cannons[0].gunZ[n];
_root.lbar["w" + n].gotoAndStop((("on" + (_local3.doubleDamage ? "dbl" : "")) + (_local3.nuke ? "nuke" : "")) + (_local3.triple ? "tri" : ""));
}
function onMouseDown() {
if (_global.gameInProcess) {
autoFire = true;
}
}
function onMouseUp() {
if (_global.gameInProcess) {
autoFire = false;
}
}
function bang(obj) {
var _local3 = super.bang(obj);
if ((_local3 && (cannons[0].currentGun == 1)) && (cannons[0].gunZ[1].nuke)) {
cannons[0].gunZ[1].nuke = false;
cannons[0].gunZ[1].bulletType = "rocket";
showWeapon(1);
}
return(_local3);
}
function showArmor() {
super.showArmor();
_root.gui.health.bar._xscale = 100 - Math.round((100 * armor) / startArmor);
}
function changeShield(delta) {
shield = shield + delta;
if (shield > maxShield) {
shield = maxShield;
}
if (shield < 0) {
shield = 0;
}
if (delta > 0) {
startBlink("shield");
}
}
function changeArmor(delta) {
if (!live) {
return(undefined);
}
if (delta < 0) {
var _local3 = Math.ceil(delta / 2);
if ((-_local3) > shield) {
_local3 = -shield;
}
var _local4 = delta - _local3;
changeShield(_local3);
} else {
var _local3 = 0;
var _local4 = delta;
}
super.changeArmor(_local4);
}
function destroy() {
_global.gameOver = true;
super.destroy(true);
}
function applyBonus(type) {
startBlink("takebonus");
switch (type) {
case "speed" :
_global.sound.play("bonus", x, true);
baseSpeedX = startBaseSpeedX * 2;
baseSpeedY = startBaseSpeedY * 2;
_root.gui.speed.gotoAndStop(2);
break;
case "miniHealth" :
_global.sound.play("bonus", x, true);
changeArmor(startArmor / 4);
showArmor();
break;
case "fullHealth" :
_global.sound.play("bonus", x, true);
changeArmor(startArmor);
showArmor();
break;
case "weaponAdder" :
_global.sound.play("bonus", x);
cannons[0].gunZ[0].multiple = cannons[0].gunZ[0].multiple + 2;
if (cannons[0].gunZ[0].multiple > 5) {
cannons[0].gunZ[0].multiple = 5;
}
showWeapon(0);
_root.gui.adder.gotoAndStop(cannons[0].gunZ[0].multiple);
break;
case "double" :
_global.sound.play("bonus", x);
cannons[0].gunZ[0].nuke = true;
cannons[0].gunZ[0].doubleDamage = true;
cannons[0].gunZ[0].bulletType = "ball_fire";
showWeapon(0);
_root.gui.double.gotoAndStop(2);
break;
case "fireRate" :
_global.sound.play("bonus", x);
var _local5 = 0;
while (_local5 < cannons.length) {
var _local4 = 0;
while (_local4 < cannons[_local5].gunZ.length) {
cannons[_local5].gunZ[_local4].reloadTime = cannons[_local5].gunZ[_local4].startReloadTime / 2;
cannons[_local5].gunZ[_local4].reloadMicroTime = cannons[_local5].gunZ[_local4].startReloadMicroTime / 2;
_local4++;
}
_local5++;
}
_root.gui.fireRate.gotoAndStop(2);
showWeapon(0);
break;
case "coin" :
_global.sound.play("coin", x);
_global.rezults.coins++;
}
}
var playerDx = 0;
var playerDy = 0;
var baseSpeedX = 0;
var baseSpeedY = 0;
var startBaseSpeedX = 0;
var startBaseSpeedY = 0;
var speedFactor = 0;
var rotationFactor = 0;
var realRotation = 0;
var rotSign = 0;
var shield = 0;
var maxShield = 0;
var recoilTimer = 10;
var recoilAngle = 0;
var oldTab = false;
var autoFire = false;
}
Symbol 1236 MovieClip [__Packages.soundCollector] Frame 0
class soundCollector extends MovieClip
{
var col, getNextHighestDepth, createEmptyMovieClip;
function soundCollector () {
super();
col = new Array();
var _local8 = 0;
while (_local8 < arrayLength) {
var _local5 = getNextHighestDepth();
var _local6 = createEmptyMovieClip("mc_" + _local5, _local5);
var _local4 = new Sound(_local6);
_local4.onSoundComplete = scomplete;
var _local7 = {mc:_local6, snd:_local4, free:true, cont:false, pri:false};
_local4.link = _local7;
col.push(_local7);
_local8++;
}
_global.sound = this;
}
function set width(w) {
if (w >= 0) {
__width = w;
}
//return(width);
}
function get width() {
return(__width);
}
function set volume(v) {
if (v >= 0) {
__volume = v;
}
//return(volume);
}
function get volume() {
return(__volume);
}
function set enable(e) {
__enable = e;
if (!__enable) {
var _local2 = 0;
while (_local2 < arrayLength) {
col[_local2].snd.stop();
_local2++;
}
}
//return(enable);
}
function get enable() {
return(__enable);
}
function play(linkage, xpos, priority, num, volume) {
if (!__enable) {
return(undefined);
}
if (priority == undefined) {
priority = false;
}
if (num == undefined) {
num = 1;
}
if (num == -1) {
num = 1000000000 /* 0x3B9ACA00 */;
}
var _local12 = false;
var _local6 = -1;
var _local5 = 0;
var _local7 = -1;
var _local3 = 0;
while (_local3 < arrayLength) {
if (col[_local3].free) {
_local6 = _local3;
break;
}
if (!col[_local3].pri) {
var _local4 = col[_local3].snd.position / col[_local3].snd.duration;
if (_local4 > _local5) {
_local5 = _local4;
_local7 = _local3;
}
}
_local3++;
}
if (_local6 == -1) {
if (priority) {
if (_global.envS.debug && (_global.envS.soundDebug)) {
_global.debug(((((("Sound collector: all slots busy, using slot " + _local7) + " (") + col[_local7].linkage) + ": ") + (col[_local7].snd.position / col[_local7].snd.duration)) + ")");
}
_local6 = _local7;
col[_local6].snd.stop();
} else if (_global.envS.debug && (_global.envS.soundDebug)) {
_global.debug("Sound collector: all slots busy, this sound skipping because of their low priority");
}
}
if (_local6 != -1) {
var _local8 = col[_local6];
_local8.snd.attachSound(linkage);
_local8.snd.setVolume(this.volume);
_local8.target = undefined;
if (xpos != undefined) {
if (typeof(xpos) == "number") {
_local8.snd.setPan(calcPan(xpos));
}
if (typeof(xpos) == "movieclip") {
_local8.target = xpos;
}
} else {
_local8.snd.setPan(0);
}
_local8.snd.start(0, num);
_local8.free = false;
_local8.linkage = linkage;
_local8.pri = priority;
}
}
function stop(linkage) {
var _local2 = 0;
while (_local2 < arrayLength) {
if (col[_local2].linkage == linkage) {
col[_local2].snd.stop();
col[_local2].free = true;
}
_local2++;
}
}
function scomplete() {
var _local2 = this;
_local2.link.free = true;
}
function oEF() {
var _local2 = 0;
while (_local2 < arrayLength) {
if (col[_local2].target != undefined) {
col[_local2].snd.setPan(calcPan(col[_local2].target._x));
}
_local2++;
}
}
function calcPan(xpos) {
return((((100 * xpos) / __width) * 2) - 100);
}
var arrayLength = 8;
var __volume = 100;
var __width = 100;
var __enable = true;
}
Symbol 1237 MovieClip [__Packages.bgClass] Frame 0
class bgClass extends movingObject
{
var _y;
function bgClass () {
super();
}
function check() {
}
function oEF() {
super.oEF();
var _local4 = _y - 400;
while (_local4 > 550) {
_local4 = _local4 - 800;
}
_local4 = _local4 + 800;
_root.water.floor._y = _local4;
}
}
Symbol 81 MovieClip [explode] Frame 2
_global.sound.play("eexplode", this._x);
Symbol 81 MovieClip [explode] Frame 25
stop();
this.removeMovieClip();
Symbol 82 MovieClip [player] Frame 1
#initclip 66
Object.registerClass("player", playerClass);
#endinitclip
Symbol 83 MovieClip [enemy] Frame 1
#initclip 14
Object.registerClass("enemy", enemyClass);
#endinitclip
Symbol 84 MovieClip [bullet] Frame 1
#initclip 15
Object.registerClass("bullet", bulletClass);
#endinitclip
Symbol 85 MovieClip [queue] Frame 1
#initclip 16
Object.registerClass("queue", queue);
#endinitclip
Instance of Symbol 3 MovieClip in Symbol 88 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.stop();
pp = (Math.random() * 50) + 50;
step = 0;
}
onClipEvent (enterFrame) {
step++;
if (step >= pp) {
_parent._parent.play();
}
}
Symbol 121 MovieClip Frame 15
stop();
_parent.kill();
Symbol 122 MovieClip [userSplash] Frame 1
#initclip 17
Object.registerClass("userSplash", splashedObject);
#endinitclip
stop();
Symbol 122 MovieClip [userSplash] Frame 16
stop();
Symbol 128 MovieClip [ball] Frame 1
#initclip 18
Object.registerClass("ball", bulletClass);
#endinitclip
Instance of Symbol 2 MovieClip "ex2" in Symbol 186 MovieClip [ship_turtle] Frame 1
onClipEvent (load) {
delay = 4;
}
Instance of Symbol 2 MovieClip "ex4" in Symbol 186 MovieClip [ship_turtle] Frame 1
onClipEvent (load) {
delay = 8;
}
Instance of Symbol 2 MovieClip "ex3" in Symbol 186 MovieClip [ship_turtle] Frame 1
onClipEvent (load) {
delay = 5;
}
Instance of Symbol 2 MovieClip "ex5" in Symbol 186 MovieClip [ship_turtle] Frame 1
onClipEvent (load) {
delay = 10;
}
Instance of Symbol 2 MovieClip "ex6" in Symbol 186 MovieClip [ship_turtle] Frame 1
onClipEvent (load) {
delay = 14;
}
Instance of Symbol 2 MovieClip "ex2" in Symbol 222 MovieClip [ship_player] Frame 1
onClipEvent (load) {
delay = 2;
}
Instance of Symbol 2 MovieClip "ex3" in Symbol 222 MovieClip [ship_player] Frame 1
onClipEvent (load) {
delay = 8;
}
Symbol 223 MovieClip [player_gun] Frame 1
#initclip 19
Object.registerClass("player_gun", cannon);
#endinitclip
Instance of Symbol 2 MovieClip "ex2" in Symbol 259 MovieClip [ship_huge] Frame 1
onClipEvent (load) {
delay = 4;
}
Instance of Symbol 2 MovieClip "ex3" in Symbol 259 MovieClip [ship_huge] Frame 1
onClipEvent (load) {
delay = 9;
}
Instance of Symbol 2 MovieClip "ex2" in Symbol 331 MovieClip [ship_galera] Frame 1
onClipEvent (load) {
delay = 1;
}
Instance of Symbol 2 MovieClip "ex3" in Symbol 331 MovieClip [ship_galera] Frame 1
onClipEvent (load) {
delay = 9;
}
Instance of Symbol 2 MovieClip "ex2" in Symbol 367 MovieClip [ship_med] Frame 1
onClipEvent (load) {
delay = 6;
}
Instance of Symbol 2 MovieClip "ex2" in Symbol 403 MovieClip [ship_grob] Frame 1
onClipEvent (load) {
delay = 6;
}
Symbol 404 MovieClip [ship_gun] Frame 1
#initclip 20
Object.registerClass("ship_gun", cannon);
#endinitclip
Symbol 408 MovieClip [t_gun] Frame 1
#initclip 21
Object.registerClass("t_gun", cannon);
#endinitclip
Symbol 414 MovieClip [fort_big] Frame 1
#initclip 22
Object.registerClass("fort_big", splashedObject);
#endinitclip
Symbol 418 MovieClip [fort_big_gun1_hit] Frame 1
#initclip 23
Object.registerClass("fort_big_gun1_hit", splashedObject);
#endinitclip
stop();
Symbol 418 MovieClip [fort_big_gun1_hit] Frame 2
stop();
Symbol 422 MovieClip [fort_big_gun2_hit] Frame 1
#initclip 24
Object.registerClass("fort_big_gun2_hit", splashedObject);
#endinitclip
stop();
Symbol 422 MovieClip [fort_big_gun2_hit] Frame 2
stop();
Symbol 426 MovieClip [fort_big_gun3_hit] Frame 1
#initclip 25
Object.registerClass("fort_big_gun3_hit", splashedObject);
#endinitclip
stop();
Symbol 426 MovieClip [fort_big_gun3_hit] Frame 2
stop();
Symbol 434 MovieClip [fort_big_tower1] Frame 1
#initclip 26
Object.registerClass("fort_big_tower1", splashedObject);
#endinitclip
stop();
Symbol 434 MovieClip [fort_big_tower1] Frame 2
stop();
Symbol 440 MovieClip [fort_big_tower2] Frame 1
#initclip 27
Object.registerClass("fort_big_tower2", splashedObject);
#endinitclip
stop();
Symbol 440 MovieClip [fort_big_tower2] Frame 2
stop();
Symbol 446 MovieClip [fort_sm2] Frame 1
#initclip 28
Object.registerClass("fort_sm2", splashedObject);
#endinitclip
Symbol 452 MovieClip [fort_sm2_gun1_hit] Frame 1
#initclip 29
Object.registerClass("fort_sm2_gun1_hit", splashedObject);
#endinitclip
stop();
Symbol 452 MovieClip [fort_sm2_gun1_hit] Frame 2
stop();
Symbol 458 MovieClip [fort_sm1] Frame 1
#initclip 30
Object.registerClass("fort_sm1", splashedObject);
#endinitclip
Symbol 460 MovieClip [fort_sm1_gun1_hit] Frame 1
#initclip 31
Object.registerClass("fort_sm1_gun1_hit", splashedObject);
#endinitclip
stop();
Symbol 460 MovieClip [fort_sm1_gun1_hit] Frame 2
stop();
Symbol 467 MovieClip [fort_med2] Frame 1
#initclip 32
Object.registerClass("fort_med2", splashedObject);
#endinitclip
Symbol 471 MovieClip [fort_med2_gun1_hit] Frame 1
#initclip 33
Object.registerClass("fort_med2_gun1_hit", splashedObject);
#endinitclip
stop();
Symbol 471 MovieClip [fort_med2_gun1_hit] Frame 2
stop();
Symbol 475 MovieClip [fort_med2_gun2_hit] Frame 1
#initclip 34
Object.registerClass("fort_med2_gun2_hit", splashedObject);
#endinitclip
stop();
Symbol 475 MovieClip [fort_med2_gun2_hit] Frame 2
stop();
Symbol 480 MovieClip [fort_med2_tower1] Frame 1
#initclip 35
Object.registerClass("fort_med2_tower1", splashedObject);
#endinitclip
stop();
Symbol 480 MovieClip [fort_med2_tower1] Frame 2
stop();
Symbol 488 MovieClip [fort_med1] Frame 1
#initclip 36
Object.registerClass("fort_med1", splashedObject);
#endinitclip
Symbol 492 MovieClip [fort_med1_gun1_hit] Frame 1
#initclip 37
Object.registerClass("fort_med1_gun1_hit", splashedObject);
#endinitclip
stop();
Symbol 492 MovieClip [fort_med1_gun1_hit] Frame 2
stop();
Symbol 493 MovieClip [fort_med1_gun2_hit] Frame 1
#initclip 38
Object.registerClass("fort_med1_gun2_hit", splashedObject);
#endinitclip
stop();
Symbol 493 MovieClip [fort_med1_gun2_hit] Frame 2
stop();
Symbol 499 MovieClip [fort_med1_tower1] Frame 1
#initclip 39
Object.registerClass("fort_med1_tower1", splashedObject);
#endinitclip
stop();
Symbol 499 MovieClip [fort_med1_tower1] Frame 2
stop();
Symbol 503 MovieClip [fort_med1_tower2] Frame 1
#initclip 40
Object.registerClass("fort_med1_tower2", splashedObject);
#endinitclip
stop();
Symbol 503 MovieClip [fort_med1_tower2] Frame 2
stop();
Symbol 515 MovieClip [fort_boss] Frame 1
#initclip 41
Object.registerClass("fort_boss", splashedObject);
#endinitclip
Symbol 516 MovieClip [fort_boss_gun1_hit] Frame 1
#initclip 42
Object.registerClass("fort_boss_gun1_hit", splashedObject);
#endinitclip
stop();
Symbol 516 MovieClip [fort_boss_gun1_hit] Frame 2
stop();
Symbol 517 MovieClip [fort_boss_gun2_hit] Frame 1
#initclip 43
Object.registerClass("fort_boss_gun2_hit", splashedObject);
#endinitclip
stop();
Symbol 517 MovieClip [fort_boss_gun2_hit] Frame 2
stop();
Symbol 523 MovieClip [fort_boss_tower1] Frame 1
#initclip 44
Object.registerClass("fort_boss_tower1", splashedObject);
#endinitclip
stop();
Symbol 523 MovieClip [fort_boss_tower1] Frame 2
stop();
Symbol 528 MovieClip [fort_boss_tower2] Frame 1
#initclip 45
Object.registerClass("fort_boss_tower2", splashedObject);
#endinitclip
stop();
Symbol 528 MovieClip [fort_boss_tower2] Frame 2
stop();
Symbol 529 MovieClip [fort_boss_tower3] Frame 1
#initclip 46
Object.registerClass("fort_boss_tower3", splashedObject);
#endinitclip
stop();
Symbol 529 MovieClip [fort_boss_tower3] Frame 2
stop();
Symbol 530 MovieClip [fort_boss_tower4] Frame 1
#initclip 47
Object.registerClass("fort_boss_tower4", splashedObject);
#endinitclip
stop();
Symbol 530 MovieClip [fort_boss_tower4] Frame 2
stop();
Symbol 536 MovieClip [dock_x] Frame 1
#initclip 48
Object.registerClass("dock_x", splashedObject);
#endinitclip
stop();
Symbol 536 MovieClip [dock_x] Frame 2
stop();
Symbol 539 MovieClip [dock_y] Frame 1
#initclip 49
Object.registerClass("dock_y", splashedObject);
#endinitclip
stop();
Symbol 539 MovieClip [dock_y] Frame 2
stop();
Symbol 545 MovieClip [isle_big] Frame 1
#initclip 50
Object.registerClass("isle_big", splashedObject);
#endinitclip
Symbol 551 MovieClip [isle_huge] Frame 1
#initclip 51
Object.registerClass("isle_huge", splashedObject);
#endinitclip
Symbol 557 MovieClip [isle_med1] Frame 1
#initclip 52
Object.registerClass("isle_med1", splashedObject);
#endinitclip
Symbol 563 MovieClip [isle_med2] Frame 1
#initclip 53
Object.registerClass("isle_med2", splashedObject);
#endinitclip
Symbol 569 MovieClip [isle_sm1] Frame 1
#initclip 54
Object.registerClass("isle_sm1", splashedObject);
#endinitclip
Symbol 575 MovieClip [isle_sm2] Frame 1
#initclip 55
Object.registerClass("isle_sm2", splashedObject);
#endinitclip
Symbol 580 MovieClip [pyrs_dn] Frame 1
#initclip 56
Object.registerClass("pyrs_dn", splashedObject);
#endinitclip
Symbol 583 MovieClip [pyrs_l] Frame 1
#initclip 57
Object.registerClass("pyrs_l", splashedObject);
#endinitclip
Symbol 587 MovieClip [pyrs_r] Frame 1
#initclip 58
Object.registerClass("pyrs_r", splashedObject);
#endinitclip
Symbol 591 MovieClip [tile] Frame 31
this.removeMovieClip();
Instance of Symbol 2 MovieClip "ex2" in Symbol 597 MovieClip [ship_warship] Frame 1
onClipEvent (load) {
delay = 1;
}
Instance of Symbol 2 MovieClip "ex3" in Symbol 597 MovieClip [ship_warship] Frame 1
onClipEvent (load) {
delay = 4;
}
Instance of Symbol 2 MovieClip "ex4" in Symbol 597 MovieClip [ship_warship] Frame 1
onClipEvent (load) {
delay = 9;
}
Instance of Symbol 2 MovieClip "ex5" in Symbol 597 MovieClip [ship_warship] Frame 1
onClipEvent (load) {
delay = 13;
}
Instance of Symbol 2 MovieClip "ex2" in Symbol 633 MovieClip [ship_bigGrob] Frame 1
onClipEvent (load) {
delay = 1;
}
Instance of Symbol 2 MovieClip "ex3" in Symbol 633 MovieClip [ship_bigGrob] Frame 1
onClipEvent (load) {
delay = 4;
}
Instance of Symbol 2 MovieClip "ex4" in Symbol 633 MovieClip [ship_bigGrob] Frame 1
onClipEvent (load) {
delay = 9;
}
Symbol 637 MovieClip [ball_dir] Frame 1
#initclip 59
Object.registerClass("ball_dir", bulletClass);
#endinitclip
Symbol 641 MovieClip [ball_fire] Frame 1
#initclip 60
Object.registerClass("ball_fire", bulletClass);
#endinitclip
Symbol 645 MovieClip [ball_dir_fire] Frame 1
#initclip 61
Object.registerClass("ball_dir_fire", bulletClass);
#endinitclip
Symbol 671 MovieClip [gates] Frame 1
#initclip 62
Object.registerClass("gates", splashedObject);
#endinitclip
stop();
Symbol 671 MovieClip [gates] Frame 30
stop();
Symbol 677 MovieClip [pyrs_tower] Frame 1
#initclip 63
Object.registerClass("pyrs_tower", splashedObject);
#endinitclip
Symbol 679 MovieClip [pyrs_tower_gun1_hit] Frame 1
#initclip 64
Object.registerClass("pyrs_tower_gun1_hit", splashedObject);
#endinitclip
stop();
Symbol 679 MovieClip [pyrs_tower_gun1_hit] Frame 2
stop();
Symbol 682 MovieClip [gates2] Frame 1
#initclip 65
Object.registerClass("gates2", splashedObject);
#endinitclip
stop();
Symbol 682 MovieClip [gates2] Frame 30
stop();
Symbol 704 Button
on (press) {
_global.language_pre = "pt";
_root.nextFrame();
}
Symbol 706 Button
on (press) {
_global.language_pre = "ru";
_root.nextFrame();
}
Symbol 708 Button
on (press) {
_global.language_pre = "de";
_root.nextFrame();
}
Symbol 710 Button
on (press) {
_global.language_pre = "fr";
_root.nextFrame();
}
Symbol 712 Button
on (press) {
_global.language_pre = "es";
_root.nextFrame();
}
Symbol 714 Button
on (press) {
_global.language_pre = "en";
_root.nextFrame();
}
Symbol 716 MovieClip [#soundz] Frame 1
#initclip 67
Object.registerClass("#soundz", soundCollector);
#endinitclip
Symbol 723 Button
on (release) {
_global.sound.play("menu");
_root.gotoAndStop("game");
}
Symbol 728 Button
on (release) {
_global.sound.play("menu");
_root.gotoAndStop("help");
}
Symbol 733 Button
on (press) {
_global.sound.play("menu");
openSite();
}
Symbol 735 Button
on (press) {
this._parent.soundOff();
this.gotoAndStop(2);
}
Symbol 737 Button
on (press) {
this._parent.soundOn();
this.gotoAndStop(1);
}
Symbol 738 MovieClip Frame 1
this.stop();
_root.soundStarter.gotoAndPlay("start");
sound.enable = true;
Symbol 738 MovieClip Frame 2
this.stop();
_root.soundStarter.gotoAndPlay("stop");
sound.enable = false;
Symbol 740 MovieClip Frame 1
_visible = false;
Symbol 740 MovieClip Frame 3
if (!sound.enable) {
gotoAndStop (1);
}
Symbol 740 MovieClip Frame 7
gotoAndStop (1);
Symbol 740 MovieClip Frame 12
gotoAndStop (1);
Symbol 747 Button
on (release) {
_global.sound.play("menu");
gotoAndStop ("menu");
}
Symbol 909 MovieClip Frame 1
stop();
Symbol 909 MovieClip Frame 2
stop();
Symbol 916 MovieClip Frame 1
stop();
Symbol 916 MovieClip Frame 2
stop();
Symbol 931 MovieClip Frame 1
stop();
Symbol 931 MovieClip Frame 3
stop();
Symbol 931 MovieClip Frame 5
stop();
Symbol 931 MovieClip Frame 7
stop();
Symbol 937 Button
on (release) {
if (mode == 1) {
this.f = makeBreef;
this.f(true);
delete this.f;
} else if (mode == 2) {
_global.sound.play("menu");
_root.gotoAndStop("level");
}
}
Symbol 942 MovieClip Frame 1
_x = 275;
_y = 200;
Symbol 1169 MovieClip [#BGfull] Frame 1
#initclip 68
Object.registerClass("#BGfull", bgClass);
#endinitclip
Symbol 1185 MovieClip Frame 1
stop();
Symbol 1186 Button
on (release) {
_global.sound.play("menu");
if (_global.levels["level_" + (levelNum + 1)] != undefined) {
_root.gotoAndStop("game");
} else if (!flag) {
_root.endGameOutput();
} else {
openSite();
_root.gotoAndStop("menu");
}
}
Symbol 1189 MovieClip Frame 1
_x = 275;
_y = 200;
Symbol 1201 Button
on (release) {
_global.sound.play("menu");
keyGetter.onKeyDown(true);
}
Symbol 1202 Button
on (release) {
stopAllEngines();
_root.gotoAndStop("menu");
_global.sound.play("menu");
}
Symbol 1203 MovieClip Frame 1
_x = 275;
_y = 200;
ttz = _global.envS["textZ_" + language_pre];
title.text = ttz.gamePausedTitle;
tf.htmlText = ttz.gamePausedString;