Frame 1
function mysiteCM() {
getURL (myRootSite, "_blank");
}
function commentCM() {
getURL (commentLink, "_blank");
}
this._quality = "BEST";
_global.root = this;
Stage.scaleMode = "noScale";
fscommand ("trapallkeys", true);
Button.prototype.tabEnabled = false;
MovieClip.prototype.tabEnabled = false;
middleX = bg._width / 2;
middleY = bg._height / 2;
gameName = "Warfare Transporter";
authorInfo = "created by Mateusz Skutnik \u00A9 2008";
commentLink = "http://www.pastelstories.com/?p=468#respond";
moreGamesLink = "http://ww.pastelstories.com";
myRootSite = "http://www.pastelstories.com";
customMenu = new ContextMenu();
customMenu.customItems.push(new ContextMenuItem(gameName, commentCM));
customMenu.customItems.push(new ContextMenuItem(authorInfo, mysiteCM));
customMenu.hideBuiltInItems();
MovieClip.prototype.menu = customMenu;
Button.prototype.menu = customMenu;
TextField.prototype.menu = customMenu;
Frame 4
gotoAndStop ("logos");
Frame 14
function EncrpytString(strVal) {
var _local7 = "aHfEjcDebChGiAfIjDbEjacD";
var _local8 = _local7.length;
var _local11 = "0";
var _local3 = "";
var _local9 = strVal.length;
var _local1 = 0;
_local3 = "";
var _local4;
var _local6;
var _local2;
var _local5 = 0;
nCnt = 0;
while (nCnt < _local9) {
_local4 = strVal.charCodeAt(nCnt);
if (_local4 >= 128) {
_local4 = "X";
}
_local6 = _local7.charCodeAt(_local1);
_local1 = _local1 + 1;
if (_local1 >= _local8) {
_local1 = 0;
}
_local2 = (_local4 % 16) + _local6;
_local3 = _local3 + String.fromCharCode(_local2);
_local5 = _local5 + _local2;
_local6 = _local7.charCodeAt(_local1);
_local1 = _local1 + 1;
if (_local1 >= _local8) {
_local1 = 0;
}
_local2 = Math.floor(_local4 / 16) + _local6;
_local3 = _local3 + String.fromCharCode(_local2);
_local5 = _local5 + _local2;
nCnt++;
}
_local5 = _local5 % 256;
_local6 = _local7.charCodeAt(_local1);
_local1 = _local1 + 1;
if (_local1 >= _local8) {
_local1 = 0;
}
_local2 = (_local5 % 16) + _local6;
_local3 = _local3 + String.fromCharCode(_local2);
_local6 = _local7.charCodeAt(_local1);
_local1 = _local1 + 1;
if (_local1 >= _local8) {
_local1 = 0;
}
_local2 = Math.floor(_local5 / 16) + _local6;
_local3 = _local3 + String.fromCharCode(_local2);
return(_local3);
}
function GetUrlParam(strUrl, strParam) {
var _local4 = strUrl.toLowerCase();
var _local1 = _local4.indexOf(strParam);
var _local5 = strParam.length;
if (_local1 > 0) {
var _local3;
var _local2 = _local4.indexOf("&", _local1 + _local5);
if (_local2 > 0) {
_local3 = _local2 - _local1;
} else {
_local3 = strUrl.length - _local1;
}
return(strUrl.substr(_local1 + _local5, _local3));
}
return("");
}
function GetBaseUrl(strUrl) {
var _local1 = strUrl.toLowerCase();
var _local2 = _local1.length;
var _local3 = _local1.indexOf("?", 0);
if (_local3 > 0) {
_local2 = _local3;
}
var _local4 = "download";
if (_local1.substr(0, 4) == "http") {
_local4 = strUrl.substr(7, _local2 - 7);
}
return(_local4);
}
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
muz = new Sound();
muz.attachSound("muz");
muz.onSoundComplete = function () {
this.start();
};
baton = new Sound();
baton.attachSound("baton");
buttonPress = new Sound();
buttonPress.attachSound("buttonPress");
subMarineSound = new Sound();
subMarineSound.attachSound("subMarineSound");
subMarineExplode = new Sound();
subMarineExplode.attachSound("subMarineExplode");
shipUp = new Sound();
shipUp.attachSound("shipUp");
shipDown = new Sound();
shipDown.attachSound("shipDown");
planeStart = new Sound();
planeStart.attachSound("planeStart");
planeHit = new Sound();
planeHit.attachSound("planeHit");
sterowiecHit = new Sound();
sterowiecHit.attachSound("sterowiecHit");
explosion = new Sound();
explosion.attachSound("explosion");
levelStartSound = new Sound();
levelStartSound.attachSound("levelStartSound");
score = 0;
runScore = 0;
lvl1Score = 0;
lvl2Score = 0;
lvl3Score = 0;
lvl4Score = 0;
lvl5Score = 0;
zaawansowanie = 0;
poziom = 0;
soundFXMute = false;
musicMute = false;
btnOnRollOver = function () {
this._xscale = 120;
this._yscale = 120;
root.baton.start();
};
btnOnRollOut = function () {
this._xscale = 100;
this._yscale = 100;
};
btnOnRelaseOutside = function () {
this._xscale = 100;
this._yscale = 100;
};
var logos = [];
logos[1] = "pastelgames";
logos[2] = "arcadeTown";
logoNr = 1;
showLogo = function () {
if (logos[logoNr] != null) {
attachMovie(logos[logoNr], "logo", 2);
this.logo._x = middleX;
this.logo._y = middleY;
logoNr++;
} else {
removeMovieClip("logo");
gotoAndStop ("lvlSelect");
}
};
showLogo();
__com_mochibot__("25d3a839", this, 10301, true);
__com_mochibot__("e662aaf4", this, 10301, true);
Frame 20
stop();
onMouseDown = function () {
shoot();
};
root.buttonPress.start();
gramy = false;
gora = false;
dol = false;
footerMC.swapDepths(801);
startLevela = function (jaki) {
runScore = 0;
staryScore = this[jaki + "Score"];
this[jaki + "Score"] = 0;
gdzieJestesmy = jaki;
currentScore = this[jaki + "Score"];
gotoAndStop(jaki);
};
poziom++;
if (zaawansowanie < poziom) {
zaawansowanie = poziom;
}
i = 1;
while (i < 11) {
eval ("trasa" + i)._visible = false;
eval (("l" + i) + "btn").enabled = false;
eval (("l" + i) + "btn")._alpha = 50;
eval ("l" + i)._alpha = 50;
i++;
}
i = 1;
while (i < (zaawansowanie + 1)) {
eval (("l" + i) + "btn").enabled = true;
eval (("l" + i) + "btn")._alpha = 100;
eval ("l" + i)._alpha = 100;
i++;
}
score = (((lvl1Score + lvl2Score) + lvl3Score) + lvl4Score) + lvl5Score;
if (score > 0) {
saveBtn.enabled = true;
saveBtn._alpha = 100;
} else {
saveBtn.enabled = false;
saveBtn._alpha = 50;
}
footerMC.footer = "<p align='center'>Warfare Transporter | created by <u><a href='http://www.pastelstories.com' target='_blank'>Mateusz Skutnik</a></u> | \u00A92008 | sponsored by <u><a href='http://www.arcadetown.com' target='_blank'>ArcadeTown</a></u> | <u><a href='http://www.pastelstories.com/?p=468#respond' target='_blank'>comment this game</a></u></p>";
attachMovie("ramka", "ramka", 800);
atacz = function (co, X, Y) {
newName = co + eval (co + "Nr");
attachMovie(co, newName, ataczNr + 10);
this[newName]._x = X;
this[newName]._y = Y;
this[newName].energy = 100;
if (ataczNr < 300) {
ataczNr++;
} else {
ataczNr = 1;
}
if (this[co + "Nr"] < 10) {
this[co + "Nr"] = this[co + "Nr"] + 1;
} else {
this[co + "Nr"] = 1;
}
};
playSound = function (ktory) {
if (soundFXMute == false) {
ktory.start();
}
};
ataczSub = function () {
atacz("subM", random(100) - 150, random(130) + 400);
playSound(subMarineSound);
};
ataczPlane = function () {
atacz("plane", random(100) - 150, random(200) + 20);
playSound(planeStart);
};
ataczSterowiec = function () {
atacz("sterowiec", random(100) - 150, random(200) + 20);
};
reset = function () {
morze.swapDepths(700);
footerMC.swapDepths(801);
liniaMorza = 320;
gramy = true;
energy = 100;
ataczNr = 1;
subMNr = 1;
chmurkaNr = 1;
pociskNr = 1;
minaNr = 1;
planeNr = 1;
keja2Nr = 0;
planePociskNr = 1;
subPociskNr = 1;
sterowiecNr = 1;
currentTime = 0;
konczymy = true;
if (musicMute == false) {
muz.start();
}
playSound(levelStartSound);
};
energyMinus = function (num) {
energyMC.bar.play();
energy = energy - num;
};
shoot = function () {
if (gramy == true) {
if ((_ymouse >= ship._y) && (dol == true)) {
ship.dzialo1.play();
} else if ((_ymouse < ship._y) && (gora == true)) {
ship.play();
}
}
};
shootCost = function () {
if (currentScore != 0) {
currentScore--;
this[gdzieJestesmy + "Score"] = currentScore;
}
};
shootMina = function () {
shootCost();
playSound(shipDown);
atacz("mina", ship._x + ship.dzialo1._x, ship._y + ship.dzialo1._y);
};
shootArmata = function () {
shootCost();
atacz("pocisk", ship._x + ship.dzialo2._x, ship._y + ship.dzialo2._y);
atacz("chmurka", ship._x + ship.dzialo2._x, (ship._y + ship.dzialo2._y) - 20);
};
subShoot = function (ktoraSub) {
playSound(subMarineSound);
atacz("subPocisk", eval (ktoraSub)._x, eval (ktoraSub)._y - 20);
};
planeShoot = function (ktoryPlane) {
atacz("planePocisk", eval (ktoryPlane)._x, eval (ktoryPlane)._y);
};
sterowiecShoot = function (ktorySterowiec) {
atacz("planePocisk", eval (ktorySterowiec)._x, eval (ktorySterowiec)._y + 20);
};
scored = function (num, gdzie) {
currentScore = currentScore + num;
if (currentScore <= 0) {
currentScore = 0;
}
atacz("scoredMC", eval (gdzie)._x, eval (gdzie)._y);
atacz("chmurka", eval (gdzie)._x, eval (gdzie)._y);
tempScore = num;
playSound(explosion);
};
outOfEnergy = function () {
gramy = false;
};
unloadAll = function () {
i = 1;
while (i < 11) {
if (energy > 0) {
if (currentScore >= 0) {
if (currentScore >= staryScore) {
this[gdzieJestesmy + "Score"] = currentScore;
} else {
this[gdzieJestesmy + "Score"] = staryScore;
}
}
} else {
this[gdzieJestesmy + "Score"] = 0;
}
removeMovieClip(eval ("chmurka" + i));
removeMovieClip(eval ("plane" + i));
removeMovieClip(eval ("scoredMC" + i));
removeMovieClip(eval ("subM" + i));
removeMovieClip(eval ("pocisk" + i));
removeMovieClip(eval ("subPocisk" + i));
removeMovieClip(eval ("mina" + i));
removeMovieClip(eval ("planePocisk" + i));
removeMovieClip(eval ("sterowiec" + i));
removeMovieClip("morze");
removeMovieClip("keja20");
i++;
}
};
onEnterFrame = function () {
if ((_currentframe > 20) && (ship._y >= 500)) {
unloadAll();
root.muz.stop("muz");
gotoAndStop ("loose");
}
if (gramy == true) {
currentTime++;
if (currentTime <= totalTime) {
statusBar.bar._xscale = (currentTime / totalTime) * 100;
statusBar.smallSzip._x = statusBar.bar._width;
} else if (konczymy == true) {
atacz("keja2", 1000, 280);
konczymy = false;
}
if (runScore != currentScore) {
if (runScore > currentScore) {
runScore--;
} else if (runScore < currentScore) {
runScore++;
}
}
scoreMC.napis = runScore;
energyMC.maska._xscale = energyMC.maska._xscale + ((energy - energyMC.maska._xscale) * 0.05);
if ((energyMC._visible == true) && (energyMC.maska._xscale <= 1)) {
outOfEnergy();
}
ship._x = ship._x + ((_xmouse - ship._x) * 0.05);
ship._rotation = (_xmouse - ship._x) / 20;
ship._y = ship._y + ((290 - ship._y) * 0.5);
i = 1;
while (i < 11) {
if (eval (("plane" + i) + ".tester2").hitTest(ship.tester)) {
root.planeHit.stop("planeHit");
scored(-15, eval ("plane" + i));
ship._y = ship._y + 30;
removeMovieClip(eval ("plane" + i));
ataczPlane();
root.energyMinus(10);
}
if (eval (("sterowiec" + i) + ".tester2").hitTest(ship.tester)) {
root.sterowiecHit.stop("sterowiecHit");
scored(-15, eval ("sterowiec" + i));
ship._y = ship._y + 30;
removeMovieClip(eval ("sterowiec" + i));
ataczSterowiec();
root.energyMinus(10);
}
i++;
}
} else {
ship._y = ship._y + 5;
ship._rotation = 0;
ship._alpha--;
}
};
moreGames = function () {
getURL ("http://www.arcadetown.com/index.asp?gameid=warfaretransporter", "_blank");
};
addThisGame = function () {
getURL ("http://www.arcadetown.com/free_content/index.asp", "_blank");
};
downloadThis = function () {
getURL ("http://www.arcadetown.com/partner/download.asp?gameid=warfaretransporter", "_blank");
};
typeNameMC._visible = false;
typeNameMC.playerName = "type Your name here...";
typeNameMC.nameField.onSetFocus = function () {
typeNameMC.playerName = "";
};
arcadeSaveScore = function () {
if ((((((typeNameMC.playerName == "type Your name here...") || (typeNameMC.playerName == "")) || (typeNameMC.playerName == "shit")) || (typeNameMC.playerName == "fuck")) || (typeNameMC.playerName == "gay")) || (typeNameMC.playerName == "lame")) {
typeNameMC.reminder.play();
} else {
var _local2 = (typeNameMC.playerName + "|") + score;
var _local3 = _root.EncrpytString(_local2);
getURL ("http://www.arcadetown.com/warfaretransporter/hs.asp?" + _local3, "_blank");
typeNameMC._visible = false;
}
};
Frame 28
reset();
sendEnemies = function () {
ataczSub();
};
gora = false;
dol = true;
subSpeed = 2;
subSpread = 100;
totalTime = 800;
poziom = 1;
if (zaawansowanie == 1) {
hint1.swapDepths(701);
hint1._visible = true;
} else {
hint1._visible = false;
hint2._visible = false;
}
Frame 33
reset();
sendEnemies = function () {
ataczSterowiec();
};
gora = true;
dol = false;
sterowiecSpeed = 2;
sterowiecSpread = 100;
totalTime = 800;
poziom = 2;
if (zaawansowanie == 2) {
hint2.swapDepths(701);
hint2._visible = true;
} else {
hint1._visible = false;
hint2._visible = false;
}
Frame 38
reset();
sendEnemies = function () {
ataczSub();
ataczPlane();
};
gora = true;
dol = true;
subSpeed = 2;
subSpread = 100;
planeSpeed = 5;
planeSpread = 80;
totalTime = 1600;
poziom = 3;
Frame 43
reset();
sendEnemies = function () {
ataczSub();
ataczPlane();
ataczSub();
};
gora = true;
dol = true;
subSpeed = 2;
subSpread = 90;
planeSpeed = 6;
planeSpread = 60;
poziom = 4;
totalTime = 3000;
Frame 48
reset();
sendEnemies = function () {
ataczSub();
ataczPlane();
ataczSub();
ataczSterowiec();
};
gora = true;
dol = true;
sterowiecSpeed = 2;
sterowiecSpread = 40;
subSpeed = 2;
subSpread = 60;
planeSpeed = 8;
planeSpread = 30;
poziom = 5;
totalTime = 4000;
Frame 53
removeMovieClip("keja2");
Symbol 5 MovieClip [scoredMC] Frame 1
scoredVal = root.tempScore;
onEnterFrame = function () {
if (_alpha <= 0) {
removeMovieClip(this);
} else {
_y = (_y - 7);
_alpha = (_alpha - 4);
}
};
Symbol 13 MovieClip Frame 1
onEnterFrame = function () {
percent = Math.round((_parent.getBytesLoaded() / _parent.getBytesTotal()) * 100);
maska._xscale = percent;
if (percent != 100) {
_parent.stop();
} else {
_parent.play();
}
};
Symbol 29 MovieClip Frame 1
stop();
Symbol 32 MovieClip [keja2] Frame 1
onEnterFrame = function () {
if (root.gramy == true) {
_x = (_x - 3);
if (_x <= 560) {
root.muz.stop("muz");
root.gramy = false;
Button.prototype.useHandCursor = true;
root.gotoAndStop("lvlSelect");
root.unloadAll();
}
}
};
Symbol 41 MovieClip [plane] Frame 1
stop();
count = random(root.planeSpread);
onEnterFrame = function () {
if (_currentframe != 1) {
_x = (_x + 4);
_y = (_y + 4);
_rotation = (_rotation + 1.5);
} else {
_rotation = ((-(_x - 225)) / 20);
_y = (_y + (_rotation / 20));
_x = (_x + root.planeSpeed);
count++;
if (count == root.planeSpread) {
root.planeShoot(this);
count = 0;
}
}
if (_x >= 600) {
root.ataczPlane();
removeMovieClip(this);
}
if (_y >= root.liniaMorza) {
root.planeHit.stop("planeHit");
root.playSound(root.explosion);
root.atacz("chmurka", _x, _y);
root.ataczPlane();
removeMovieClip(this);
}
};
remove = function () {
removeMovieClip(this);
};
Symbol 47 MovieClip [sterowiec] Frame 1
stop();
count = random(root.sterowiecSpread);
onEnterFrame = function () {
if (_currentframe != 1) {
_x = (_x + root.sterowiecSpeed);
_y = (_y + root.sterowiecSpeed);
_rotation = (_rotation + 0.5);
} else {
_x = (_x + root.sterowiecSpeed);
count++;
if (count == root.sterowiecSpread) {
root.sterowiecShoot(this);
count = 0;
}
}
if (_x >= 600) {
root.ataczSterowiec();
removeMovieClip(this);
}
if (_y >= root.liniaMorza) {
root.sterowiecHit.stop("sterowiecHit");
root.playSound(root.explosion);
root.atacz("chmurka", _x, _y);
root.ataczSterowiec();
removeMovieClip(this);
}
};
remove = function () {
removeMovieClip(this);
};
Symbol 51 MovieClip Frame 6
stop();
Symbol 52 MovieClip Frame 80
stop();
Symbol 53 MovieClip [subM] Frame 1
stop();
count = random(root.subSpread);
onEnterFrame = function () {
if (_currentframe != 1) {
_x = (_x - 2);
if (_currentframe == 3) {
_y = (_y + 2);
}
} else {
_x = (_x + root.subSpeed);
count++;
if (count == root.subSpread) {
root.subShoot(this);
count = 0;
}
}
if (((_x <= -50) && (_currentframe != 1)) && (_visible == true)) {
root.ataczSub();
removeMovieClip(this);
}
if ((_y >= 570) && (_visible == true)) {
root.ataczSub();
removeMovieClip(this);
}
if (((_x >= 600) && (_currentframe == 1)) && (_visible == true)) {
root.ataczSub();
removeMovieClip(this);
}
};
remove = function () {
removeMovieClip(this);
};
Symbol 56 MovieClip [chmurka] Frame 1
stop();
onEnterFrame = function () {
if (_alpha <= 0) {
removeMovieClip(this);
} else {
_xscale = (_xscale + 20);
_yscale = (_yscale + 20);
_alpha = (_alpha - 10);
}
};
Symbol 59 MovieClip [mina] Frame 1
onEnterFrame = function () {
_y = (_y + 2);
_x = (_x-1);
i = 1;
while (i < 11) {
if (this.hitTest(eval (("root.subM" + i) + ".tester"))) {
root.playSound(root.subMarineExplode);
eval ("root.subM" + i).nextFrame();
root.scored(eval ("root.subM" + i)._currentframe * 25, this);
removeMovieClip(this);
}
i++;
}
if (_y >= 570) {
removeMovieClip(this);
}
};
Symbol 66 MovieClip Frame 1
Symbol 66 MovieClip Frame 37
_parent.remove();
Symbol 67 MovieClip [planePocisk] Frame 1
stop();
onEnterFrame = function () {
i = 1;
while (i < 11) {
if (this.hitTest(eval ("root.pocisk" + i))) {
root.scored(5, _name);
eval ("root.pocisk" + i).removeMovieClip();
removeMovieClip(this);
}
i++;
}
if (this.hitTest(root.ship.tester) && (_currentframe == 1)) {
root.ship._y = root.ship._y + 30;
root.energyMinus(10);
root.scored(-20, this);
root.selfChmurka._x = this._x;
root.selfChmurka._y = this._y;
removeMovieClip(this);
}
if ((this._y <= root.liniaMorza) && (_currentframe == 1)) {
_rotation = (_rotation + 1);
_y = (_y + 3);
_x = (_x + 2);
} else {
_rotation = 0;
gotoAndStop (2);
_x = (_x - 3);
}
};
remove = function () {
removeMovieClip(this);
};
Symbol 72 MovieClip Frame 1
Symbol 72 MovieClip Frame 37
_parent.remove();
Symbol 73 MovieClip [pocisk] Frame 1
stop();
pociskVel = 22;
xMov = (root.ship._x - root._xmouse) / 20;
onEnterFrame = function () {
i = 1;
while (i < 11) {
if (this.hitTest(eval (("root.plane" + i) + ".tester1"))) {
root.planeHit.stop("planeStart");
root.scored(eval ("root.plane" + i)._currentframe * 25, this);
root.playSound(root.planeHit);
eval ("root.plane" + i).nextFrame();
removeMovieClip(this);
}
if (this.hitTest(eval (("root.plane" + i) + ".tester2"))) {
root.planeHit.stop("planeHit");
root.scored(eval ("root.plane" + i)._currentframe * 25, this);
removeMovieClip(eval ("root.plane" + i));
removeMovieClip(this);
root.ataczPlane();
}
if (this.hitTest(eval (("root.sterowiec" + i) + ".tester1"))) {
root.scored(eval ("root.sterowiec" + i)._currentframe * 25, this);
root.playSound(root.sterowiecHit);
eval ("root.sterowiec" + i).nextFrame();
removeMovieClip(this);
}
if (this.hitTest(eval (("root.sterowiec" + i) + ".tester2"))) {
root.sterowiecHit.stop("sterowiecHit");
root.scored(eval ("root.sterowiec" + i)._currentframe * 25, this);
removeMovieClip(eval ("root.sterowiec" + i));
removeMovieClip(this);
root.ataczSterowiec();
}
i++;
}
if (this.hitTest(root.ship.tester) && (_currentframe == 1)) {
root.ship._y = root.ship._y + 30;
root.energyMinus(10);
root.scored(-7, this);
root.selfChmurka._x = this._x;
root.selfChmurka._y = this._y;
removeMovieClip(this);
}
if ((this._y <= root.liniaMorza) && (_currentframe == 1)) {
pociskVel--;
this._y = this._y - pociskVel;
_x = (_x - xMov);
} else {
gotoAndStop (2);
_x = (_x - 3);
}
};
remove = function () {
removeMovieClip(this);
};
Symbol 76 MovieClip [subPocisk] Frame 1
stop();
onEnterFrame = function () {
i = 1;
while (i < 11) {
if (this.hitTest(eval ("root.mina" + i))) {
root.scored(5, _name);
eval ("root.mina" + i).removeMovieClip();
removeMovieClip(this);
}
i++;
}
if (this.hitTest(root.ship.tester)) {
root.ship._y = root.ship._y - 30;
root.energyMinus(10);
root.scored(-12, _name);
removeMovieClip(this);
}
if (_y >= root.liniaMorza) {
_y = (_y - 2);
_x = (_x + 1);
} else {
if (_visible == true) {
root.atacz("chmurka", _x, _y);
}
removeMovieClip(this);
}
};
Symbol 80 MovieClip [pastelgames] Frame 60
root.showLogo();
Symbol 81 Button
on (press) {
getURL ("http://www.arcadetown.com/index.asp?gameid=warfaretransporter", "_blank");
}
Symbol 101 MovieClip [arcadeTown] Frame 106
root.showLogo();
Symbol 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 10
stop();
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 10
stop();
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 15
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 20
stop();
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 25
stop();
Symbol 138 MovieClip Frame 1
if (root.soundFXMute == false) {
napis = "soundFX: on";
} else {
napis = "soundFX: off";
}
onPress = function () {
root.buttonPress.start();
if (root.soundFXMute == false) {
root.soundFXMute = true;
napis = "soundFX: off";
} else if (root.soundFXMute == true) {
root.soundFXMute = false;
napis = "soundFX: on";
}
};
onRollOver = root.btnOnRollOver;
onRollOut = root.btnOnRollOut;
onRelaseOutside = root.btnOnRelaseOutside;
Symbol 141 MovieClip Frame 1
if (root.musicMute == false) {
napis = "music: on";
} else {
napis = "music: off";
}
onPress = function () {
root.buttonPress.start();
if (root.musicMute == false) {
root.musicMute = true;
napis = "music: off";
} else if (root.musicMute == true) {
root.musicMute = false;
napis = "music: on";
}
};
onRollOver = root.btnOnRollOver;
onRollOut = root.btnOnRollOut;
onRelaseOutside = root.btnOnRelaseOutside;
Symbol 144 MovieClip Frame 1
onPress = function () {
getURL ("http://www.pastelstories.com/?p=468#respond", "_blank");
root.buttonPress.start();
};
onRollOver = root.btnOnRollOver;
onRollOut = root.btnOnRollOut;
onRelaseOutside = root.btnOnRelaseOutside;
Symbol 147 MovieClip Frame 1
onPress = function () {
root.moreGames();
root.buttonPress.start();
};
onRollOver = root.btnOnRollOver;
onRollOut = root.btnOnRollOut;
onRelaseOutside = root.btnOnRelaseOutside;
Symbol 150 MovieClip Frame 1
onPress = function () {
root.downloadThis();
root.buttonPress.start();
};
onRollOver = root.btnOnRollOver;
onRollOut = root.btnOnRollOut;
onRelaseOutside = root.btnOnRelaseOutside;
Symbol 153 MovieClip Frame 1
onPress = function () {
root.addThisGame();
root.buttonPress.start();
};
onRollOver = root.btnOnRollOver;
onRollOut = root.btnOnRollOut;
onRelaseOutside = root.btnOnRelaseOutside;
Symbol 157 Button
on (press) {
root.buttonPress.start();
startLevela("lvl1");
}
on (rollOver) {
baton.start();
trasa1._visible = true;
trasa1.play();
}
on (rollOut) {
trasa1._visible = false;
trasa1.gotoAndStop(1);
}
Symbol 164 Button
on (press) {
root.buttonPress.start();
typeNameMC._visible = true;
saveBtn._alpha = 50;
saveBtn.enabled = false;
typeNameMC.playerName = "type Your name here...";
}
on (rollOver) {
baton.start();
}
Symbol 169 Button
on (press) {
root.buttonPress.start();
startLevela("lvl2");
}
on (rollOver) {
baton.start();
trasa2._visible = true;
trasa2.play();
}
on (rollOut) {
trasa2._visible = false;
trasa2.gotoAndStop(1);
}
Symbol 173 Button
on (press) {
root.buttonPress.start();
startLevela("lvl3");
}
on (rollOver) {
baton.start();
trasa3._visible = true;
trasa3.play();
}
on (rollOut) {
trasa3._visible = false;
trasa3.gotoAndStop(1);
}
Symbol 177 Button
on (press) {
root.buttonPress.start();
startLevela("lvl4");
}
on (rollOver) {
baton.start();
trasa4._visible = true;
trasa4.play();
}
on (rollOut) {
trasa4._visible = false;
trasa4.gotoAndStop(1);
}
Symbol 181 Button
on (press) {
root.buttonPress.start();
startLevela("lvl5");
}
on (rollOver) {
baton.start();
trasa5._visible = true;
trasa5.play();
}
on (rollOut) {
trasa5._visible = false;
trasa5.gotoAndStop(1);
}
Symbol 183 MovieClip Frame 1
napis = root.lvl1Score;
Symbol 185 MovieClip Frame 1
napis = root.lvl2Score;
Symbol 187 MovieClip Frame 1
napis = root.lvl3Score;
Symbol 189 MovieClip Frame 1
napis = root.lvl4Score;
Symbol 191 MovieClip Frame 1
napis = root.lvl5Score;
Symbol 201 MovieClip Frame 1
onPress = function () {
root.arcadeSaveScore();
root.buttonPress.start();
};
onRollOver = root.btnOnRollOver;
onRollOut = root.btnOnRollOut;
onRelaseOutside = root.btnOnRelaseOutside;
Symbol 204 MovieClip Frame 1
onPress = function () {
root.buttonPress.start();
root.saveBtn._alpha = 100;
root.saveBtn.enabled = true;
root.typeNameMC._visible = false;
};
onRollOver = root.btnOnRollOver;
onRollOut = root.btnOnRollOut;
onRelaseOutside = root.btnOnRelaseOutside;
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 3
_parent.playerName = "type Your name here...";
Symbol 206 MovieClip Frame 5
_parent.playerName = "";
Symbol 206 MovieClip Frame 7
_parent.playerName = "type Your name here...";
Symbol 206 MovieClip Frame 9
_parent.playerName = "";
Symbol 206 MovieClip Frame 11
_parent.playerName = "type Your name here...";
Symbol 206 MovieClip Frame 13
_parent.playerName = "";
Symbol 206 MovieClip Frame 15
_parent.playerName = "type Your name here...";
Symbol 217 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 8
root.shootMina();
Symbol 227 MovieClip Frame 1
stop();
Symbol 227 MovieClip Frame 2
root.playSound(root.shipUp);
Symbol 227 MovieClip Frame 5
root.shootArmata();
Symbol 232 MovieClip Frame 1
onEnterFrame = function () {
_x = (_x - 3);
if (_x <= 0) {
root.sendEnemies();
root.hint1._visible = false;
root.hint2._visible = false;
removeMovieClip(this);
delete onEnterFrame;
}
};
Symbol 240 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 1
onPress = function () {
root.gotoAndStop("lvlSelect");
};
onRollOver = root.btnOnRollOver;
onRollOut = root.btnOnRollOut;
onRelaseOutside = root.btnOnRelaseOutside;