Combined Code
frame 1 {
shortcut = function () {
itemQuantityCzek('stempel');
itemQuantityCzek('crowbar');
delete onMouseDown;
gotoAndStop('tu');
};
}
frame 1 {
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;
var pv;
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);
}
pv = (fv == 5) ? /:$version : System.capabilities.version;
u = 'http://' + mbc + '/my/core.swf?mv=8&fv=' + fv + '&v=' + escape(pv) + '&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);
}
return res;
}
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
return res;
}
var soundList = new Array('tensionSnd', 'emptyAmb', 'sewerAmb', 'endAmb', 'pracowniaAmb', 'domAmb', 'lisbonAmb', 'wiezaAmb', 'airfieldAmb', 'menuAmb', 'kara_catch_snd', 'kara_fence_snd', 'kara_go_snd', 'kara_key_snd', 'kara_lure_snd', 'kara_walk_snd', 'kara_pleasure_snd', 'horrorSnd', 'matrixSnd', 'samolotDalekoSnd', 'CarDistantSnd', 'carCloseSnd', 'fallSnd', 'bodySnd', 'hitSnd', 'wtemSnd', 'explodeSnd', 'tireSnd', 'weldSnd', 'intercomSnd', 'poleSnd', 'moveSnd1', 'moveSnd2', 'moveSnd3', 'moveSnd4', 'moveSnd5', 'planeLeverSnd', 'rubbleSnd', 'metalOpenSnd', 'metalSwitchSnd', 'metalHandleSnd', 'draskaSnd', 'setFireSnd', 'computingSnd', 'machineBtnSnd', 'doorSnd', 'drawerSnd', 'clankSnd', 'krataSnd', 'powerUpSnd', 'powerDownSnd', 'wiresCutSnd', 'leverSnd', 'windAmb', 'samolotAmb', 'skrytkaSnd', 'skrytkaSnd', 'buySnd', 'shopSnd', 'shopEnd', 'btnSnd', 'pickSnd', 'pickEnd', 'findSnd', 'useSnd', 'errorSnd', 'documentsSnd', 'documentsEnd');
__com_mochibot__('8d586b7c', this, 10301, true);
__com_mochibot__('7e0b9bd1', this, 10301, true);
}
frame 1 {
goLive = true;
gameName = 'Covert Front 4';
authorInfo = '© Pastel Games';
miesiac = '4';
rok = '2012';
wersja = '1.1.0';
gameWidth = 550;
gameHeight = 500;
liniaMenu = 440;
gWidth = 550;
gHeight = 400;
authorLink = 'http://www.pastelgames.com';
commentLink = 'http://www.pastelportal.com/stories/covert-front-4';
facebookLink = 'http://www.facebook.com/pages/ArcadeTown/208744674804';
sponsorLink = 'http://www.arcadetown.com';
downloadLink = 'http://www.arcadetown.com/partner/download.asp?gameid=covertfront4';
moreGamesLink = 'http://www.arcadetown.com/index.asp?gameid=covertfront4';
walkthroughLink = 'http://www.arcadetown.com/covertfront4/game.asp';
addToSiteLink = 'http://www.arcadetown.com/free_content/index.asp ';
footer = '<p align=\'center\'>' + gameName + ' | ' + miesiac + '.' + rok + 'v' + wersja + ' | <a href=\'' + authorLink + '\' target=\'_blank\'>' + authorInfo + '</a> | <a href=\'' + walkthroughLink + '\' target=\'_blank\'>walkthrough</a> | <a href=\'' + commentLink + '\' target=\'_blank\'>comment</a></p>';
footerRGB = 5465457;
stop();
Stage.scaleMode = 'noScale';
fscommand('trapallkeys', true);
Button.prototype.tabEnabled = false;
MovieClip.prototype.tabEnabled = false;
_global.root = this;
_quality = 'BEST';
przechodzimy = false;
musicOn = true;
sfxOn = true;
saveFile = SharedObject.getLocal('_save_');
_global.s = saveFile.data;
_global.sfx = function (co) {
if (sfxOn) {
root[co].start();
}
};
_global.amb = function (ktory) {
if (musicOn && ktoryAmbient != eval(ktory)) {
stopAllSounds();
(eval(ktory)).start();
}
ktoryAmbient = eval(ktory);
ktoryAmbient.onSoundComplete = function () {
this.start();
};
s.currentAmbient = ktory;
};
_global.rem = function (ktoryObiekt, nr) {
s.done = true;
point = {'x': _x, 'y': _y};
ktoryObiekt.localToGlobal(point);
ktorySave = 'obiekt_' + _currentframe + '_' + Math.round(point.x) + '_' + Math.round(point.y);
if (nr == undefined) {
if (s[ktorySave] != undefined) {
ktoryObiekt.gotoAndStop(s[ktorySave]);
}
} else {
if (nr == 't') {
s[ktorySave] = ktoryObiekt._totalframes;
} else {
if (nr == 'c') {
s[ktorySave] = ktoryObiekt._currentframe;
} else {
s[ktorySave] = nr;
}
}
}
};
ataczSounds = function () {
i = 0;
while (i < soundList.length) {
this[soundList[i]] = new Sound(this);
this[soundList[i]].attachSound(soundList[i]);
++i;
}
};
toggleMusic = function () {
if (musicOn) {
stopAllSounds();
musicOn = false;
} else {
ktoryAmbient.start();
musicOn = true;
}
createFooter();
};
toggleSfx = function () {
if (sfxOn) {
sfxOn = false;
} else {
sfxOn = true;
}
createFooter();
};
toggleQuality = function () {
if (_quality == 'BEST') {
_quality = 'LOW';
} else {
if (_quality == 'LOW') {
_quality = 'BEST';
}
}
};
deadClick = function () {};
createCustomMenu = function () {
customMenu = new ContextMenu();
customMenu.hideBuiltInItems();
var v3 = new ContextMenuItem(gameName, deadClick);
var v2 = new ContextMenuItem(authorInfo, deadClick);
var v1 = new ContextMenuItem('v' + wersja, deadClick);
customMenu.customItems.push(v3, v2, v1);
MovieClip.prototype.menu = customMenu;
Button.prototype.menu = customMenu;
TextField.prototype.menu = customMenu;
};
createCustomMenu();
createFooter = function () {
if (musicOn) {
musicTXT = 'on';
} else {
musicTXT = 'off';
}
if (sfxOn) {
sfxTXT = 'on';
} else {
sfxTXT = 'off';
}
optionsFooter = ' | <a href=\'asFunction:toggleMusic\'>music: ' + musicTXT + '</a> | <a href=\'asFunction:toggleSfx\'>sound fx: ' + sfxTXT + '</a>';
versionTXT.removeTextField();
this.createTextField('footerTXT', 1000001, 0, gameHeight - 20, gameWidth, 20);
footerTXT.selectable = false;
footerTXT.html = true;
footerTXT.htmlText = footer + optionsFooter;
var v2 = new TextFormat();
v2.color = footerRGB;
v2.align = 'center';
v2.font = 'Arial';
v2.size = 10;
footerTXT.setTextFormat(v2);
};
MovieClip.prototype.drawRectangle = function (w, h, alfa) {
var v2 = this.createEmptyMovieClip('s1', 1);
v2.beginFill(0, alfa);
v2.moveTo(0, 0);
v2.lineTo(w, 0);
v2.lineTo(w, h);
v2.lineTo(0, h);
v2.endFill();
};
link = function (jakiLink) {
if (goLive) {
sfx('btnSnd');
getURL(jakiLink, '_blank');
}
};
przejscie = function (gdzie) {
przejscieDest = gdzie;
if (!przechodzimy) {
przechodzimy = true;
this.createEmptyMovieClip('przejscieMC', this.getNextHighestDepth());
przejscieMC.drawRectangle(gameWidth, gameHeight, 100);
przejscieMC._alpha = 1;
przejscieMC.dissolve = false;
przejscieMC.onEnterFrame = przejscieEF;
}
};
przejscieEF = function () {
if (!this.dissolve) {
this._alpha += 15;
} else {
this._alpha -= 15;
}
if (this._alpha >= 140) {
if (pauseMC._visible) {
removeMovieClip(pauseMC);
pauseActive = false;
}
root.gotoAndStop(root.przejscieDest);
this.dissolve = true;
}
if (this._alpha <= 0) {
root.przechodzimy = false;
delete this.onEnterFrame;
removeMovieClip(this);
}
};
panorama = function () {
if (go) {
this.W = this._width;
this.H = this._height;
if (root._xmouse >= 0 && root._xmouse <= root.gWidth) {
this.A = root.gWidth / 2 + (_root._xmouse - root.gWidth / 2) - (root._xmouse - root.gWidth / 2) / (root.gWidth / this.W);
this.B = root.gHeight / 2 + (_root._ymouse - root.gHeight / 2) - (root._ymouse - root.gHeight / 2) / (root.gHeight / this.H);
}
if (this.hor) {
this._x += (this.A - this._x) * 0.2;
}
if (this.ver) {
this._y += (this.B - this._y) * 0.2;
}
}
};
}
movieClip 5 {
}
movieClip 6 {
frame 1 {
bar._xscale = 0;
onEnterFrame = function () {
procent = Math.round((_parent.getBytesLoaded() / _parent.getBytesTotal()) * 100);
bar._xscale += (procent - bar._xscale) * 0.2;
if (procent < 100) {
_parent.stop();
} else {
delete onEnterFrame;
if (root.goLive) {
_parent.przejscie('logo');
} else {
_parent.przejscie('menu');
}
}
};
}
}
frame 5 {
}
// unknown tag 88 length 41
movieClip 10 {
}
// unknown tag 88 length 71
movieClip 13 {
}
movieClip 14 {
frame 9 {
stop();
}
}
button 16 {
on (press) {
root.opis = '';
root.checkInventoryStatus();
sfx('documentsEnd');
root.go = true;
removeMovieClip(this);
}
}
// unknown tag 88 length 63
movieClip 23 {
}
movieClip 24 {
frame 10 {
stop();
}
}
button 26 {
on (press) {
scrolling = 'up';
root.hideOpis();
}
on (release, releaseOutside) {
scrolling = 0;
}
on (rollOver) {
root.pokazOpis('scroll up');
}
on (rollOut) {
root.hideOpis();
}
}
button 27 {
on (press) {
scrolling = 'down';
root.hideOpis();
}
on (release, releaseOutside) {
scrolling = 0;
}
on (rollOver) {
root.pokazOpis('scroll down');
}
on (rollOut) {
root.hideOpis();
}
}
movieClip 28 {
frame 1 {
napis = root.documentsTXT[root.listOfDocuments[_parent.showingDocument]];
scrolling = 0;
onEnterFrame = function () {
if (txtField.scroll == 1) {
upBtn.enabled = false;
upBtn._alpha = 50;
} else {
upBtn.enabled = true;
upBtn._alpha = 100;
}
if (txtField.scroll == txtField.maxscroll) {
dnBtn.enabled = false;
dnBtn._alpha = 50;
} else {
dnBtn.enabled = true;
dnBtn._alpha = 100;
}
if (scrolling == 'up') {
--napis.scroll;
}
if (scrolling == 'down') {
++napis.scroll;
}
};
}
}
movieClip 30 {
frame 10 {
stop();
}
}
button 31 {
on (rollOver) {
root.pokazOpis('jump to last document');
}
on (releaseOutside, rollOut) {
root.hideOpis();
}
on (press) {
showNextDocument('goForward', true, false);
}
}
button 32 {
on (rollOver) {
root.pokazOpis('jump to first document');
}
on (releaseOutside, rollOut) {
root.hideOpis();
}
on (press) {
showNextDocument('goBack', false, true);
}
}
button 33 {
on (rollOver) {
root.pokazOpis('previous document');
}
on (releaseOutside, rollOut) {
root.hideOpis();
}
on (press) {
showNextDocument('goBack', false, false);
}
}
button 34 {
on (rollOver) {
root.pokazOpis('next document');
}
on (releaseOutside, rollOut) {
root.hideOpis();
}
on (press) {
showNextDocument('goForward', false, false);
}
}
movieClip 35 documents_view {
frame 1 {
stop();
jumpBack = false;
jumpForward = false;
arrayLength = root.listOfDocuments.length;
showingDocument = arrayLength - 1;
showNextDocument = function (gdzie, beginning, end) {
root.hideOpis();
sfx('documentsSnd');
noteOrigin = '';
documentsNapis = '';
nextBtn._visible = false;
backBtn._visible = false;
nextBtnFF._visible = false;
backBtnFF._visible = false;
hideBtns();
jumpForward = beginning;
jumpBack = end;
gotoAndPlay(gdzie);
};
reloadBtns = function () {
if (arrayLength == 1) {
documentsNapis = '';
} else {
documentsNapis = showingDocument + 1 + ' / ' + arrayLength;
}
if (showingDocument == 0) {
backBtn._visible = false;
backBtnFF._visible = false;
} else {
backBtn._visible = true;
backBtnFF._visible = true;
}
if (showingDocument == arrayLength - 1) {
nextBtn._visible = false;
nextBtnFF._visible = false;
} else {
nextBtn._visible = true;
nextBtnFF._visible = true;
}
if (arrayLength == 2) {
backBtnFF._visible = false;
nextBtnFF._visible = false;
}
};
reloadBtns();
}
frame 19 {
if (jumpForward == true) {
showingDocument = arrayLength - 1;
jumpForward = false;
} else {
++showingDocument;
}
}
frame 27 {
stop();
reloadBtns();
}
frame 43 {
if (jumpBack == true) {
showingDocument = 0;
jumpBack = false;
} else {
--showingDocument;
}
}
frame 52 {
stop();
reloadBtns();
}
}
movieClip 38 {
}
movieClip 39 {
}
movieClip 40 picsPodswietlenie {
}
// unknown tag 88 length 41
movieClip 50 {
frame 1 {
napis = root.passwort;
}
}
movieClip 51 pic_kara {
}
movieClip 53 {
}
movieClip 55 {
}
button 57 {
on (press) {
play();
}
}
button 59 {
on (rollOver) {
root.pokazOpis('Campo de Santa Clara 32, Lisbon');
s.mamyAdres = true;
}
on (press, rollOut) {
root.hideOpis();
}
}
movieClip 60 {
}
movieClip 61 pic_koperta {
frame 1 {
stop();
if (s.envClosed) {
gotoAndStop(_totalframes);
}
}
frame 2 {
s.envClosed = true;
}
frame 11 {
root.say('Now I know where to go...');
}
frame 14 {
stop();
}
}
// unknown tag 88 length 74
movieClip 65 pic_3 {
}
movieClip 67 pic_sub_note {
}
movieClip 68 photos_view {
frame 2 {
gotoAndStop('gal');
}
frame 14 {
poziomMenu = 400;
nr = 0;
picNr = 1;
itemX = 0;
rozstawMenu = 50;
currentPic = '';
firstPic = true;
this.createEmptyMovieClip('pics_menu', this.getNextHighestDepth());
pics_menu._x = 275;
pics_menu._y = poziomMenu;
itemX = 0;
ataczThumbs = function () {
if (root.listOfPhotos[nr] != undefined) {
pics_menu.attachMovie(root.listOfPhotos[nr], root.listOfPhotos[nr], pics_menu.getNextHighestDepth(), {'onRollOut': thumbOut, 'onRollOver': thumbOver, 'onPress': thumbPress, '_alpha': 70, 'filters': [root.shadowCiemny], '_xscale': 10, '_yscale': 10});
pics_menu[root.listOfPhotos[nr]]._x = itemX;
trace(itemX);
++nr;
itemX += rozstawMenu;
ataczThumbs();
} else {
pics_menu._x = 275 - pics_menu._width / 2 + pics_menu[root.listOfPhotos[1]]._width / 2;
}
};
thumbPress = function () {
root.hideOpis();
showPic(this._name);
};
thumbOver = function () {
root.pokazOpis(root.photosTXT[this._name]);
this._alpha = 100;
};
thumbOut = function () {
root.hideOpis();
this._alpha = 70;
};
locatePod = function () {
this._x += (podA - this._x) * 0.3;
this._y += (podB - this._y) * 0.3;
};
showPic = function (jaki) {
if (jaki != currentPic) {
if (firstPic) {
firstPic = false;
X = 275;
} else {
sfx('documentsSnd');
X = 700;
}
this[stary].A = -500;
this[stary].friction = 0;
attachMovie(jaki, jaki + picNr, this.getNextHighestDepth(), {'friction': 0, 'filters': [root.shadowCiemny], '_x': X, 'onEnterFrame': moveMe, 'A': 275});
if (root.listOfPhotos.length == 1) {
Y = 180;
} else {
if (root.listOfPhotos.length <= 10) {
Y = 200;
} else {
Y = 220;
}
}
this[jaki + picNr]._y = Y;
podA = pics_menu._x + pics_menu[jaki]._x;
podB = pics_menu._y + pics_menu[jaki]._y;
currentPic = jaki;
opis = root.photosTXT[jaki];
stary = jaki + picNr;
++picNr;
}
};
moveMe = function () {
if (this.friction <= 0.2) {
this.friction += 0.02;
}
this._x += Math.round((this.A - this._x) * this.friction);
if (this._x <= -300) {
delete this.onEnterFrame;
removeMovieClip(this);
}
};
showPic(root.listOfPhotos[root.listOfPhotos.length - 1]);
ataczThumbs();
attachMovie('picsPodswietlenie', 'picsPodswietlenie', 50);
picsPodswietlenie._yscale = 10;
picsPodswietlenie._xscale = 10;
picsPodswietlenie._x = pics_menu._x + pics_menu[root.listOfPhotos[nr - 1]]._x;
picsPodswietlenie._y = pics_menu._y + pics_menu[root.listOfPhotos[nr - 1]]._y;
picsPodswietlenie.onEnterFrame = locatePod;
}
}
movieClip 71 item_tester {
frame 1 {
_alpha = 0;
}
}
movieClip 73 {
}
movieClip 75 sayBox {
}
movieClip 76 {
frame 1 {
_alpha = 0;
}
}
movieClip 77 {
}
movieClip 79 opisMC {
}
movieClip 81 opisMC_strzalka {
}
movieClip 83 exit_mc_btn {
frame 1 {
stop();
onEnterFrame = function () {
if (this.hitTest(root._xmouse, root._ymouse, true)) {
nextFrame();
} else {
prevFrame();
}
};
}
}
movieClip 85 {
}
movieClip 86 documents {
frame 1 {
stop();
}
}
movieClip 88 {
}
movieClip 89 photos {
frame 1 {
stop();
}
}
movieClip 91 {
}
movieClip 92 resistor_red {
}
movieClip 94 {
}
movieClip 95 resistor_blue {
}
movieClip 97 {
}
movieClip 98 radio_lamp {
}
movieClip 100 {
}
movieClip 101 fuse {
}
movieClip 103 {
}
movieClip 106 {
}
movieClip 108 zapalki {
}
movieClip 110 {
}
movieClip 111 szmata {
}
movieClip 113 {
}
movieClip 114 handle {
}
movieClip 116 {
}
movieClip 117 kabel1 {
}
movieClip 118 kabel2 {
}
movieClip 120 {
}
movieClip 122 {
}
movieClip 123 car_key {
}
movieClip 125 {
}
movieClip 126 klucz {
}
movieClip 128 {
}
movieClip 129 key_button {
}
movieClip 131 {
}
movieClip 132 kluczyk {
}
movieClip 134 {
}
movieClip 135 klamka {
}
movieClip 137 {
}
movieClip 138 crowbar {
}
movieClip 140 stempel {
}
movieClip 194 {
}
movieClip 207 {
}
frame 14 {
ataczSounds();
sfx('menuAmb');
}
movieClip 209 {
frame 90 {
stop();
root.przejscie('sponsor');
}
}
movieClip 228 {
frame 90 {
stop();
root.przejscie('menu');
}
}
button 229 {
on (release) {
link(moreGamesLink);
}
}
frame 27 {
createFooter();
if (s.cFrame == undefined) {
continueBtn._alpha = 50;
continueBtn.enabled = false;
}
gWidth = 550;
gHeight = 500;
onEF = function () {
this.W = this._width;
this.H = this._height;
if (root._xmouse >= 0 && root._xmouse <= root.gWidth) {
this.A = root.gWidth / 2 + (_root._xmouse - root.gWidth / 2) - (root._xmouse - root.gWidth / 2) / (root.gWidth / this.W);
this.B = root.gHeight / 2 + (_root._ymouse - root.gHeight / 2) - (root._ymouse - root.gHeight / 2) / (root.gHeight / this.H);
}
this._x += (this.A - this._x) * 0.2;
this._y += (this.B - this._y) * 0.2;
};
scrollTlo = function (co, speed) {
co._x += speed;
if (co._x >= 0) {
co._x = -co._width + 550;
}
};
onEnterFrame = function () {
scrollTlo(chmury, 5);
scrollTlo(chmury2, 15);
};
}
movieClip 232 {
}
movieClip 234 {
}
movieClip 236 {
}
movieClip 238 {
frame 1 {
onEnterFrame = root.onEF;
}
}
movieClip 241 {
}
movieClip 243 {
}
movieClip 245 {
}
movieClip 247 {
}
movieClip 249 {
}
movieClip 255 {
}
movieClip 258 {
}
movieClip 260 {
}
movieClip 261 {
frame 1 {
onEnterFrame = function () {
A = 400 - root._xmouse / 5;
_x = _x + (A - _x) * 0.1;
_y = _y + (root._ymouse - _y) * 0.1;
_rotation = (_y - root._ymouse) / 5;
flaps._rotation = -(_y - root._ymouse) / 2;
gotoAndStop(Math.round(_rotation) + _totalframes / 2);
};
}
}
instance of movieClip 261 {
onClipEvent (load) {
A = 400;
}
}
movieClip 263 {
frame 1 {
onEnterFrame = root.onEF;
}
}
movieClip 265 {
}
movieClip 266 {
}
button 270 {
on (release) {
link(moreGamesLink);
}
}
button 273 {
on (release) {
link(commentLink);
}
}
button 275 {
on (press) {
sfx('btnSnd');
saveFile.clear();
_global.s = saveFile.data;
przejscie('float');
}
}
button 277 {
on (release) {
link(moreGamesLink);
}
}
button 279 {
on (release) {
link(walkthroughLink);
}
}
movieClip 281 {
}
button 287 {
on (press) {
sfx('btnSnd');
przejscie('float');
}
}
movieClip 290 {
}
button 291 {
on (release) {
link(facebookLink);
}
}
button 293 {
on (release) {
link(downloadLink);
}
}
button 296 {
on (release) {
link(addToSiteLink);
}
}
button 299 {
on (press) {
sfx('btnSnd');
przejscie('menu');
}
}
movieClip 302 {
}
button 305 {
on (release) {
link(tweetLink);
}
}
movieClip 308 {
}
button 313 {
on (release) {
link(shareLink);
}
}
button 316 {
on (release) {
link('http://www.pastelportal.com/stories/flash-games/');
}
}
movieClip 321 {
frame 1 {
skala = 100;
}
}
movieClip 322 {
frame 1 {
onEnterFrame = function () {
if (this.hitTest(root._xmouse, root._ymouse, true)) {
skala = 130;
} else {
skala = 100;
}
ramka._xscale += (skala - ramka._xscale) * 0.2;
ramka._yscale += (skala - ramka._yscale) * 0.2;
};
onRelease = function () {
getURL('http://www.pastelportal.com/stories/game.php?id=covert_front_1', '');
root.opis = '';
};
onRollOver = function () {
root.moregames_opis = 'Covert Front episode 1: all quiet on the covert front';
};
onReleaseOutside = function () {
root.moregames_opis = '';
};
onRollOut = onReleaseOutside;
}
}
movieClip 325 {
frame 1 {
onEnterFrame = function () {
if (this.hitTest(root._xmouse, root._ymouse, true)) {
skala = 130;
} else {
skala = 100;
}
ramka._xscale += (skala - ramka._xscale) * 0.2;
ramka._yscale += (skala - ramka._yscale) * 0.2;
};
onRelease = function () {
getURL('http://www.pastelportal.com/stories/game.php?id=covert_front_2', '');
root.opis = '';
};
onRollOver = function () {
root.moregames_opis = 'Covert Front episode 2: station on the horizon';
};
onReleaseOutside = function () {
root.moregames_opis = '';
};
onRollOut = onReleaseOutside;
}
}
movieClip 328 {
frame 1 {
onEnterFrame = function () {
if (this.hitTest(root._xmouse, root._ymouse, true)) {
skala = 130;
} else {
skala = 100;
}
ramka._xscale += (skala - ramka._xscale) * 0.2;
ramka._yscale += (skala - ramka._yscale) * 0.2;
};
onRelease = function () {
getURL('http://www.pastelportal.com/stories/game.php?id=covert_front_3', '');
root.opis = '';
};
onRollOver = function () {
root.moregames_opis = 'Covert Front episode 3: night in Zurich';
};
onReleaseOutside = function () {
root.moregames_opis = '';
};
onRollOut = onReleaseOutside;
}
}
frame 46 {
var shadowJasny = new flash.filters.DropShadowFilter(5, 45, 0, 0.8, 5, 10, 1, 1, false, false, false);
var shadowCiemny = new flash.filters.DropShadowFilter(5, 45, 0, 2, 5, 10, 2, 3, false, false, false);
reset = function () {
reloadItemProperties();
jumperItem = false;
opis = '';
rozstawMenu = 35;
maxItems = 15;
maxShopItems = 25;
maxhideoutItems = 25;
center = gameWidth / 2;
itemNumber = 0;
itemsOnScreen = 0;
itemInHand = '';
go = true;
restoreRoom();
};
var itemPlaceTaken = [];
var listOfItems = new Array();
if (s.listOfItems == undefined) {
s.listOfItems = new Array();
s.itemsInInventory = 0;
}
var listOfPhotos = new Array();
var listOfDocuments = new Array();
itemNumber = 0;
itemsOnScreen = 0;
itemFinder = function () {
if (go) {
czekIlosc = this.i + '_quantity';
if (itemsOnScreen == maxItems && s[czekIlosc] == undefined) {
say('the inventory is full...', 'errorSnd');
} else {
say('');
itemQuantityCzek(this.i);
this._visible = false;
s[this.ktorySave] = true;
}
}
};
documentFinder = function () {
if (go) {
if (listOfDocuments.length == 0 && itemsOnScreen == maxItems) {
say('the inventory is full...', 'errorSnd');
} else {
say('');
this._visible = false;
findDocument(this.i);
s[this.ktorySave] = true;
}
}
};
photoFinder = function () {
if (go) {
if (listOfPhotos.length == 0 && itemsOnScreen == maxItems) {
say('the inventory is full...', 'errorSnd');
} else {
say('');
this._visible = false;
findPhoto(this.i);
s[this.ktorySave] = true;
}
}
};
warp = function (gdzie) {
if (go) {
if (Number(gdzie)) {
gotoAndStop(_currentframe + gdzie);
} else {
gotoAndStop(gdzie);
}
nr_kroka = random(5) + 1;
sfx('moveSnd' + nr_kroka);
opis = '';
say('');
hc();
roomNr = num;
s.cFrame = _currentframe;
}
};
itemQuantityCzek = function (co) {
if (co != undefined && co != 's_undefined') {
czekIlosc = co + '_quantity';
if (s[czekIlosc] == undefined) {
itemCollect(co);
s[czekIlosc] = 1;
} else {
++s[czekIlosc];
itemQuantityDisplay(co, s[czekIlosc]);
ataczBot(co);
sfx('findSnd');
}
}
};
itemQuantityDisplay = function (co, ile) {
this[co].createTextField('quantityTXT', 1, -20, -22, 15, 15);
this[co].quantityTXT.selectable = false;
this[co].quantityTXT.html = true;
this[co].quantityTXT.htmlText = ile;
this[co].quantityTXT.filters = [shadowCiemny];
var v2 = new TextFormat();
v2.color = 16777215;
v2.align = 'left';
v2.font = 'arial';
v2.size = 10;
this[co].quantityTXT.setTextFormat(v2);
};
itemCollect = function (co) {
opis = '';
++itemNumber;
itemPlaceTaken[itemNumber] = co;
attachMovie(co, co, root.getNextHighestDepth(), {'filters': [shadowJasny], 'ktory': itemNumber, 'moveInitVal': 0, 'inInventory': false, 'drag': false, 'onEnterFrame': itemLocate, 'onRollOver': itemNameDisp, 'onRollOut': hideOpis, 'onPress': itemPress});
this[co].attachMovie('item_tester', 'tester', 2);
if (itemsOnScreen == 0) {
this[co].destX = center;
} else {
this[co].destX = (eval(lastName)).destX + rozstawMenu;
i = 1;
while (i < itemNumber + 1) {
if ((eval(itemPlaceTaken[i]))._y >= liniaMenu - 10) {
(eval(itemPlaceTaken[i])).moveInitVal = 0;
}
(eval(itemPlaceTaken[i])).destX -= rozstawMenu / 2;
++i;
}
}
++itemsOnScreen;
setLastName(itemNumber);
czekIlosc = co + '_quantity';
if (s[czekIlosc] != undefined && s[czekIlosc] >= 2) {
itemQuantityDisplay(co, s[czekIlosc]);
}
if (!restoring) {
sfx('findSnd');
listOfItems.push(co);
saveListOfItems();
this[co]._x = _xmouse;
this[co]._y = _ymouse;
} else {
if (wracamyZeSklepu) {
this[co]._x = sklepMC[co]._x;
this[co]._y = sklepMC[co]._y;
} else {
this[co]._x = center;
this[co]._y = liniaMenu + 200;
}
}
s[co + '_found'] = true;
onCollect(co);
};
itemLocate = function () {
if (_ymouse >= liniaMenu - 40 && this.inInventory && go) {
this.nr = 20 - Math.abs(_xmouse - this._x) / 2;
if (this.nr <= 0) {
this.nr = 0;
}
this.destY = liniaMenu - this.nr;
this._xscale += (100 + this.nr - this._xscale) * 0.2;
this._yscale += (100 + this.nr - this._yscale) * 0.2;
} else {
this.destY = liniaMenu;
this._xscale += (100 - this._xscale) * 0.2;
this._yscale += (100 - this._yscale) * 0.2;
}
if (Math.abs(this._y - this.destY) <= 5) {
this.inInventory = true;
}
if (!this.drag) {
if (this.moveInitVal <= 0.3) {
this.moveInitVal += 0.01;
}
this._x += (this.destX - this._x) * this.moveInitVal;
this._y += (this.destY - this._y) * 0.2;
}
if (this.hitTest(_xmouse, _ymouse, true)) {
if (this._totalframes != 1) {
if (go) {
this.nextFrame();
}
}
} else {
if (this._currentframe != 1) {
if (go) {
this.prevFrame();
}
}
}
};
shadowLocate = function () {
if (this.removeMe) {
this._xscale -= 5;
this._yscale -= 5;
if (this._xscale <= 5) {
delete this.onEnterFrame;
removeMovieClip(this);
}
} else {
this._x += ((eval('root.' + this.destItem)).destX - this._x) * 0.2;
this._y += ((eval('root.' + this.destItem)).destY - this._y) * 0.2;
}
};
itemNameDisp = function () {
pokazOpis(itemProperties[this._name][0]);
};
itemPress = function () {
if (itemProperties[this._name][1]) {
if (go) {
if (!this.drag) {
this.gotoAndStop(this._totalframes);
go = false;
Mouse.hide();
shadowName = this._name + '_shadow';
attachMovie(this._name, shadowName, root.getNextHighestDepth(), {'onEnterFrame': shadowLocate, '_alpha': 50, 'destItem': this._name, '_x': this.destX, '_y': this.destY});
this.swapDepths(root.getNextHighestDepth());
(eval(shadowName)).gotoAndStop(this._totalframes);
root.visibleShadow = shadowName;
sfx('pickSnd');
this.startDrag(true);
this.drag = true;
itemInHand = this._name;
opis = '';
}
} else {
if (this.tester.hitTest(this.destX, this.destY) && !go && this.drag) {
Mouse.show();
stopDrag();
this.moveInitVal = 0;
removeMovieClip(eval(shadowName));
this.drag = false;
opis = '';
sfx('pickEnd');
go = true;
itemInHand = '';
}
}
} else {
if (go) {
showItem(this._name);
}
}
combine();
};
showItem = function (co) {
opis = '';
removeAllItems();
go = false;
if (co == 'documents' || co == 'photos') {
sfx('documentsSnd');
attachMovie(co + '_view', 'data_view', this.getNextHighestDepth());
} else {
sfx('btnSnd');
this.createEmptyMovieClip('item_closeup', this.getNextHighestDepth());
item_closeup.drawRectangle(gameWidth, gameHeight - 20, 80);
item_closeup.attachMovie(co + '_view', co + '_view', 2, {'filters': [shadowJasny], '_x': gameWidth / 2, '_y': (gameHeight - 100) / 2});
item_closeup.attachMovie('exit_mc_btn', 'exit_mc_btn', 3, {'filters': [shadowJasny], '_x': gameWidth / 2, '_y': gameHeight - 100, 'onPress': hideItem});
}
};
hideItem = function () {
opis = '';
sfx('btnSnd');
checkInventoryStatus();
go = true;
removeMovieClip('item_closeup');
};
used = function (co) {
sfx('useSnd');
czekIlosc = co + '_quantity';
if (s[czekIlosc] <= 1) {
s[czekIlosc] = undefined;
usedAll(co);
} else {
if (s[czekIlosc] == 2) {
--s[czekIlosc];
this[co].quantityTXT.removeTextField();
} else {
if (s[czekIlosc] > 2) {
--s[czekIlosc];
itemQuantityDisplay(co, s[czekIlosc]);
}
}
}
};
usedAll = function (co) {
i = 0;
while (i < listOfItems.length) {
if (listOfItems[i].toString() == co) {
listOfItems.splice(i, 1);
}
++i;
}
itemsOnScreen = listOfItems.length;
saveListOfItems();
currentBeingUsed = (eval(co)).ktory;
i = 1;
while (i < itemNumber + 1) {
if (i > currentBeingUsed) {
(eval(itemPlaceTaken[i])).moveInitVal = 0;
(eval(itemPlaceTaken[i])).destX -= rozstawMenu / 2;
}
if (i < currentBeingUsed) {
(eval(itemPlaceTaken[i])).moveInitVal = 0;
(eval(itemPlaceTaken[i])).destX += rozstawMenu / 2;
}
++i;
}
itemPlaceTaken[currentBeingUsed] = null;
setLastName(itemNumber);
if (itemInHand == co) {
go = true;
Mouse.show();
}
(eval(co + '_shadow')).removeMe = true;
removeMovieClip(co);
itemInHand = '';
};
setLastName = function (num) {
if ((eval(itemPlaceTaken[num])).destX == null && num > 0) {
--num;
setLastName(num);
} else {
lastName = itemPlaceTaken[num];
}
};
removeAllItems = function () {
i = 0;
while (i < listOfItems.length) {
this[listOfItems[i]].removeMovieClip(this);
(eval(listOfItems[i] + '_shadow')).removeMovieClip(this);
++i;
}
Mouse.show();
opis = '';
rozmowa('');
itemNumber = 0;
itemsOnScreen = 0;
};
findDocument = function (co) {
if (listOfDocuments.length == 0) {
itemCollect('documents');
} else {
ataczBot('documents');
sfx('findSnd');
}
opis = '';
listOfDocuments.push(co);
ktorySave = co + '_finder';
s[ktorySave] = true;
s.listOfDocuments = listOfDocuments;
reloadItemProperties();
onCollect(co);
};
findPhoto = function (co) {
if (listOfPhotos.length == 0) {
itemCollect('photos');
} else {
ataczBot('photos');
sfx('findSnd');
}
opis = '';
listOfPhotos.push(co);
ktorySave = co + '_finder';
s[ktorySave] = true;
s.listOfPhotos = listOfPhotos;
reloadItemProperties();
onCollect(co);
};
botNr = 1;
ataczBot = function (co) {
attachMovie(co, co + botNr, this.getNextHighestDepth(), {'_x': _xmouse, '_y': _ymouse, 'toWhere': co, 'filters': [shadowJasny], 'onEnterFrame': toInventory, 'friction': 0});
++botNr;
};
toInventory = function () {
this.gotoAndStop(1);
if (this.friction <= 0.2) {
this.friction += 0.02;
}
this._x += ((eval('root.' + this.toWhere))._x - this._x) * this.friction;
this._y += ((eval('root.' + this.toWhere))._y - this._y) * 0.2;
this._alpha -= 4;
if (this._alpha <= 0) {
removeMovieClip(this);
delete this.onEnterFrame;
}
};
checkInventoryStatus = function () {
i = 0;
while (i < 20) {
if (s.listOfItems[i].toString() == 's_undefined' || s.listOfItems[i].toString() == undefined) {
s.listOfItems.splice(i, 1);
s.itemsInInventory = s.listOfItems.length;
}
++i;
}
if (s.itemsInInventory != undefined && s.itemsInInventory != 0) {
listOfItems = s.listOfItems;
restoring = true;
restoringNr = 0;
restoringInt = setInterval(restoreItemsFromSave, 1);
} else {
if (wracamyZeSklepu) {
removeMovieClip(sklepMC);
wracamyZeSklepu = false;
}
restoring = false;
}
reloadItemProperties();
};
saveListOfItems = function () {
s.listOfItems = listOfItems;
s.itemsInInventory = listOfItems.length;
};
restoreItemsFromSave = function () {
if (restoring) {
if (s.listOfItems[restoringNr] != undefined) {
itemCollect(s.listOfItems[restoringNr]);
}
if (restoringNr < s.listOfItems.length) {
++restoringNr;
} else {
if (wracamyZeSklepu) {
removeMovieClip(sklepMC);
wracamyZeSklepu = false;
}
clearInterval(restoringInt);
restoring = false;
}
}
if (s.listOfDocuments != undefined) {
listOfDocuments = s.listOfDocuments;
}
if (s.listOfPhotos != undefined) {
listOfPhotos = s.listOfPhotos;
}
reloadItemProperties();
};
restoreRoom = function () {
checkInventoryStatus();
if (s.cFrame == undefined) {
gotoAndStop('intro');
} else {
amb(s.currentAmbient);
gotoAndStop(s.cFrame);
}
};
sayBoxEF = function () {
this._y += Math.round((this.A - this._y) * 0.4);
if (this.A == -50) {
if (this._y <= -30) {
delete this.onEnterFrame;
this.removeMovieClip(this);
}
}
};
rozmawiamy = false;
say = function (co, snd) {
if (go) {
if (!rozmawiamy && co != '') {
removeMovieClip('sayBox');
attachMovie('sayBox', 'sayBox', this.getNextHighestDepth(), {'A': 30, '_x': 275, '_y': -50, 'onEnterFrame': sayBoxEF});
rozmawiamy = true;
}
if (co == '') {
sayBox.A = -50;
rozmawiamy = false;
} else {
if (snd == undefined) {
sfx('btnSnd');
} else {
sfx(snd);
}
sayBox._y = -50;
sayBox.msg = co;
}
}
};
say2 = function (co, snd) {
if (!rozmawiamy && co != '') {
removeMovieClip('sayBox');
attachMovie('sayBox', 'sayBox', this.getNextHighestDepth(), {'A': 30, '_x': 275, '_y': -50, 'onEnterFrame': sayBoxEF});
rozmawiamy = true;
}
if (co == '') {
sayBox.A = -50;
rozmawiamy = false;
} else {
if (snd == undefined) {
sfx('btnSnd');
} else {
sfx(snd);
}
sayBox._y = -50;
sayBox.msg = co;
}
};
czat = function (ktora) {
if (go) {
rozmowa('');
removeAllItems();
sfx('btnSnd');
s[ktora + '_done'] = true;
attachMovie('czatMC', 'czatMC', this.getNextHighestDepth());
czatMC.gotoAndStop(ktora);
go = false;
}
};
endCzat = function () {
go = true;
sfx('btnSnd');
i = 0;
while (i < 20) {
this['czatter' + i].resetMe();
++i;
}
checkInventoryStatus();
removeMovieClip('czatMC');
};
gimme = function (co) {
gimmeCo = co;
clearInterval(gimmeInt);
gimmeInt = setInterval(gimmeItem, 500);
};
gimmeItem = function () {
itemQuantityCzek(gimmeCo);
clearInterval(gimmeInt);
};
opisEF = function () {
this.opisTXT = opis;
this.op_tlo._xscale = 15 + root.opis.length * 6;
this.op_tlo2._xscale = 20 + root.opis.length * 6;
root.opisMC_strzalka._x = root._xmouse;
this._x = root.opisMC_strzalka._x;
this._y = _ymouse - 40;
opisMC_strzalka._y = this._y;
if (this._x <= this.op_tlo._width / 2 + 5) {
this._x = this.op_tlo._width / 2 + 5;
}
if (this._x >= 545 - this.op_tlo._width / 2) {
this._x = 545 - this.op_tlo._width / 2;
}
if (opisMC_strzalka._x <= opisMC_strzalka._width / 2 + 5) {
opisMC_strzalka._x = opisMC_strzalka._width / 2 + 5;
}
if (opisMC_strzalka._x >= 545 - opisMC_strzalka._width / 2) {
opisMC_strzalka._x = 545 - opisMC_strzalka._width / 2;
}
if (opis == undefined || opis == '') {
opisMC_strzalka._visible = false;
opisMC._visible = opisMC_strzalka._visible;
} else {
opisMC_strzalka._visible = true;
opisMC._visible = opisMC_strzalka._visible;
}
};
pokazOpis = function (jaki) {
if (itemInHand == '') {
say('');
opis = jaki;
removeMovieClip('opisMC');
removeMovieClip('opisMC_strzalka');
attachMovie('opisMC', 'opisMC', this.getNextHighestDepth(), {'onEnterFrame': opisEF, '_visible': false, 'filters': [shadowJasny]});
attachMovie('opisMC_strzalka', 'opisMC_strzalka', this.getNextHighestDepth(), {'_visible': false, 'filters': [shadowJasny]});
}
};
hideOpis = function () {
opis = '';
delete opisMC.onEnterFrame;
removeMovieClip('opisMC');
removeMovieClip('opisMC_strzalka');
};
gotoAndStop('dane');
}
frame 52 {
var itemProperties = [];
reloadItemProperties = function () {
itemProperties.resistor_blue = ['blue resistor', true];
itemProperties.resistor_red = ['red resistor', true];
itemProperties.radio_lamp = ['radio lamp', true];
itemProperties.fuse = ['fuse', true];
itemProperties.zapalki = ['matches', true];
itemProperties.szmata = ['dirty cloth', true];
itemProperties.handle = ['spouter handle', true];
itemProperties.kabel1 = ['piece of wire', true];
itemProperties.kabel2 = ['piece of wire', true];
itemProperties.car_key = ['automobile key', true];
itemProperties.klucz = ['key', true];
itemProperties.key_button = ['\'t\'', true];
itemProperties.kluczyk = ['small key', true];
itemProperties.klamka = ['door handle', true];
itemProperties.crowbar = ['crowbar', true];
itemProperties.stempel = ['cachet', true];
if (listOfDocuments.length == 1) {
itemProperties.documents = ['a document', false];
} else {
itemProperties.documents = [listOfDocuments.length + ' documents', false];
}
if (listOfPhotos.length == 1) {
itemProperties.photos = ['a photograph', false];
} else {
itemProperties.photos = [listOfPhotos.length + ' photographs', false];
}
};
setQuantity = function (co, ile) {
if (s[co] == undefined) {
s[co] = ile;
}
};
setQuantity('cash', 15);
if (s.lotnisko_password == undefined) {
lotniskoA = random(10);
lotniskoB = random(10);
lotniskoC = random(10);
lotniskoD = random(10);
lotniskoE = random(10);
lotniskoF = random(10);
lotniskoG = random(10);
lotniskoH = random(10);
s.lotnisko_password = String(lotniskoA) + String(lotniskoB) + String(lotniskoC) + String(lotniskoD) + String(lotniskoE) + String(lotniskoF) + String(lotniskoG) + String(lotniskoH);
}
if (s.kodWpisany == undefined) {
s.kodWpisany = new Array();
}
var documentsTXT = [];
documentsTXT.password_note = '<p align=\'center\'>\r\r\r\r\rpassword for week 19:\r\r\r\r' + s.lotnisko_password + '\n' + '\n' + '\n' + '\n' + '//[memorize and destroy]' + '</p>';
var photosTXT = [];
photosTXT.pic_kara = 'signed: primary target';
photosTXT.pic_koperta = 'picture envelope';
photosTXT.pic_sub_note = 'a sketch';
onCollect = function (co) {
if (co == 'car_key') {
s.mamy_carkey = true;
}
};
karaSay = function (co) {
if (s[co + '_said'] != true) {
sfx('kara_' + co + '_snd');
s[co + '_said'] = true;
}
};
reset();
}
frame 58 {
samolotAmb.setVolume(50);
amb('samolotAmb');
onMouseDown = function () {
przejscie('intro2');
clearInterval(napis_intro.zmianaInt);
delete onMouseDown;
};
}
movieClip 333 {
frame 1 {
onEnterFrame = function () {
_x = _x + (root._xmouse - _x) * 0.1;
_y = _y + (root._ymouse - _y) * 0.1;
_rotation = (_y - root._ymouse) / 5;
flaps._rotation = -(_y - root._ymouse) / 2;
gotoAndStop(Math.round(_rotation) + _totalframes / 2);
};
}
}
movieClip 340 {
frame 1 {
stop();
krok = 10;
onEnterFrame = function () {
if (zmieniamy) {
_alpha = _alpha - krok;
}
if (_alpha <= 0 && zmieniamy) {
nextFrame();
zmieniamy = false;
}
if (!zmieniamy) {
if (_alpha <= 100) {
_alpha = _alpha + krok;
}
}
};
zmiana = function () {
trace('go');
zmieniamy = true;
};
zmianaInt = setInterval(zmiana, 2000);
}
frame 8 {
clearInterval(zmianaInt);
}
}
frame 64 {
samolotAmb.setVolume(100);
}
movieClip 347 {
}
movieClip 356 {
}
movieClip 366 {
}
movieClip 368 {
}
movieClip 370 {
}
movieClip 372 {
}
movieClip 380 {
}
movieClip 382 {
}
movieClip 384 {
}
movieClip 386 {
}
movieClip 388 {
}
movieClip 390 {
}
movieClip 393 {
}
movieClip 395 {
}
movieClip 396 {
frame 141 {
sfx('planeLeverSnd');
}
frame 181 {
root.przejscie('gra');
}
}
frame 71 {
if (s.primaries != true) {
s.cFrame = _currentframe;
delete onMouseDown;
amb('windAmb');
s.primaries = true;
}
}
movieClip 399 {
}
movieClip 406 {
}
movieClip 411 {
}
movieClip 414 {
}
movieClip 415 {
}
movieClip 421 {
}
movieClip 422 {
}
movieClip 426 {
}
movieClip 427 {
instance of movieClip 415 {
onClipEvent (load) {
if (s.samolot_naprawiony) {
stop();
} else {
gotoAndPlay(random(_totalframes));
}
}
}
instance of movieClip 415 {
onClipEvent (load) {
if (s.samolot_naprawiony) {
stop();
} else {
gotoAndPlay(random(_totalframes));
}
}
}
instance of movieClip 415 {
onClipEvent (load) {
if (s.samolot_naprawiony) {
stop();
} else {
gotoAndPlay(random(_totalframes));
}
}
}
instance of movieClip 415 {
onClipEvent (load) {
if (s.samolot_naprawiony) {
stop();
} else {
gotoAndPlay(random(_totalframes));
}
}
}
instance of movieClip 422 {
onClipEvent (load) {
if (s.samolot_naprawiony) {
gotoAndStop(5);
} else {
gotoAndPlay(random(_totalframes));
}
}
}
instance of movieClip 415 {
onClipEvent (load) {
if (s.samolot_naprawiony) {
stop();
} else {
gotoAndPlay(random(_totalframes));
}
}
}
}
movieClip 430 {
}
movieClip 431 {
}
movieClip 432 {
frame 1 {
stop();
}
frame 2 {
sfx('planeLeverSnd');
}
}
movieClip 435 {
}
movieClip 436 {
}
movieClip 437 {
frame 1 {
stop();
galka.onPress = function () {
play();
};
}
frame 2 {
sfx('leverSnd');
}
frame 10 {
_parent.play();
}
frame 11 {
sfx('leverSnd');
}
}
movieClip 439 {
}
movieClip 441 {
frame 1 {
stop();
galka.onPress = function () {
play();
};
}
frame 2 {
sfx('leverSnd');
}
frame 10 {
if (s.samolot_naprawiony) {
stop();
amb('samolotAmb');
root.przejscie('landing');
}
}
frame 11 {
sfx('leverSnd');
}
}
movieClip 444 {
}
button 466 {
on (press) {
if (snd != undefined) {
sfx(snd);
}
root.warp(wn);
}
on (rollOver) {
if (inf != undefined) {
root.say(inf);
}
}
on (rollOut) {
if (inf != undefined) {
root.say('');
}
}
}
movieClip 467 {
frame 1 {
_alpha = 0;
}
frame 5 {
stop();
}
}
movieClip 469 {
frame 1 {
stop();
rem(this);
}
instance of movieClip 439 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
frame 10 {
stop();
}
instance of movieClip 439 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
frame 11 {
rem(this, 'brba');
}
instance of movieClip 439 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
frame 26 {
sfx('rubbleSnd');
}
frame 46 {
stop();
if (s.kable_done) {
nextFrame();
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = 1;
}
}
frame 47 {
stop();
if (s.samolot_naprawiony) {
nextFrame();
}
}
}
frame 72 {
czekPlane = function () {
if (s.radio_lamp_done && s.kable_done && s.resistor_red_done && s.fuse_done) {
s.samolot_naprawiony = true;
}
};
}
movieClip 473 {
}
movieClip 475 {
frame 1 {
_alpha = 0;
onMouseDown = function () {
if (this.hitTest(eval('root.' + _parent.i))) {
if (_parent.useMe != false) {
root.used(_parent.i);
}
_parent.play();
}
};
}
}
movieClip 478 {
}
movieClip 480 {
frame 1 {
stop();
rem(this);
i = 'radio_lamp';
}
frame 2 {
rem(this, 't');
}
frame 19 {
s.radio_lamp_done = true;
root.czekPlane();
}
frame 20 {
stop();
}
}
movieClip 483 {
}
movieClip 484 {
frame 1 {
stop();
rem(this);
i = 'resistor_red';
}
frame 7 {
s.resistor_red_done = true;
root.czekPlane();
rem(this, 't');
}
frame 10 {
stop();
}
}
movieClip 486 {
frame 1 {
if (s.samolot_naprawiony) {
stop();
_visible = false;
}
}
}
instance poswiata of movieClip 486 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
movieClip 490 {
}
movieClip 491 {
frame 1 {
gfx._visible = false;
point = {'x': _parent._x, 'y': _parent._y};
ktoryObiekt.localToGlobal(point);
_parent.ktorySave = _parent.i + '_' + root._currentframe + '_' + Math.round(point.x) + '_' + Math.round(point.y);
_parent.onPress = root.itemFinder;
if (s[_parent.ktorySave] != undefined) {
_parent._visible = false;
delete _parent.onPress;
}
}
}
movieClip 492 {
frame 1 {
i = 'resistor_red';
}
}
movieClip 494 {
frame 1 {
i = 'resistor_blue';
}
}
movieClip 496 {
frame 1 {
i = 'radio_lamp';
}
}
movieClip 498 {
frame 1 {
i = 'fuse';
}
}
movieClip 502 {
frame 1 {
stop();
rem(this);
i = 'resistor_blue';
}
frame 4 {
s.kable_done = true;
root.czekPlane();
rem(this, 't');
}
frame 7 {
stop();
}
}
movieClip 505 {
}
movieClip 507 {
frame 1 {
stop();
rem(this);
i = 'fuse';
}
frame 21 {
s.fuse_done = true;
root.czekPlane();
rem(this, 't');
}
frame 25 {
stop();
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -1;
}
}
movieClip 512 {
}
movieClip 535 {
}
movieClip 539 {
}
movieClip 541 {
}
movieClip 543 {
}
movieClip 546 {
}
movieClip 548 {
}
movieClip 550 {
}
movieClip 552 {
}
movieClip 554 {
}
movieClip 558 {
}
movieClip 560 {
}
movieClip 562 {
}
movieClip 625 {
}
movieClip 627 {
}
movieClip 628 {
}
movieClip 639 {
}
movieClip 640 {
frame 26 {
sfx('planeLeverSnd');
}
frame 127 {
sfx('tireSnd');
}
frame 133 {
sfx('tireSnd');
}
frame 150 {
sfx('tireSnd');
}
frame 245 {
stop();
root.przejscie('ch1');
}
}
frame 84 {
amb('airfieldAmb');
}
movieClip 643 {
}
movieClip 645 {
}
movieClip 647 {
}
movieClip 650 {
frame 100 {
stop();
root.przejscie('gra1');
}
}
movieClip 653 {
frame 1 {
hor = true;
ver = false;
onEnterFrame = root.panorama;
}
}
movieClip 654 {
frame 1 {
hor = true;
ver = false;
onEnterFrame = root.panorama;
}
}
movieClip 665 {
}
movieClip 669 {
frame 1 {
stop();
if (s.wieza_open) {
gotoAndStop(_totalframes);
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -5;
}
}
}
movieClip 695 {
}
movieClip 697 {
}
movieClip 700 {
frame 1 {
if (s.wybuch_done) {
_visible = false;
}
}
}
movieClip 701 {
frame 1 {
hor = true;
ver = false;
onEnterFrame = root.panorama;
}
instance of movieClip 665 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
instance of movieClip 665 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = 1;
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = 4;
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = 5;
}
}
}
movieClip 707 {
}
movieClip 715 {
}
movieClip 775 {
}
movieClip 777 {
frame 1 {
stop();
if (s.wybuch_done) {
nextFrame();
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = 6;
}
}
instance of movieClip 707 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
instance of movieClip 707 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
}
movieClip 780 {
frame 1 {
hor = true;
ver = false;
onEnterFrame = root.panorama;
}
instance of movieClip 467 {
onClipEvent (load) {
wn = 3;
}
}
}
movieClip 782 {
frame 1 {
hor = true;
ver = false;
onEnterFrame = root.panorama;
}
}
movieClip 784 {
}
movieClip 787 {
frame 1 {
_alpha = 0;
onRollOver = function () {
if (root.go) {
root.say(sayWhat);
root.karaSay(myKara);
}
};
onRollOut = function () {
root.say('');
};
onPress = function () {
root.say('');
};
}
}
instance of movieClip 787 {
onClipEvent (load) {
myKara = 'fence';
sayWhat = 'This fence goes around entire airfield...';
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -1;
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = 1;
}
}
movieClip 791 {
}
movieClip 792 {
frame 1 {
gfx._visible = false;
point = {'x': _parent._x, 'y': _parent._y};
ktoryObiekt.localToGlobal(point);
_parent.ktorySave = _parent.i + '_' + root._currentframe + '_' + Math.round(point.x) + '_' + Math.round(point.y);
_parent.onPress = root.documentFinder;
if (s[_parent.ktorySave] != undefined) {
_parent._visible = false;
delete _parent.onPress;
}
}
}
movieClip 793 {
frame 1 {
i = 'password_note';
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -1;
}
}
movieClip 796 {
}
movieClip 798 {
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -3;
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = 5;
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = 12;
}
}
movieClip 800 {
}
movieClip 802 {
}
movieClip 805 {
}
instance of movieClip 665 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
instance of movieClip 665 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
movieClip 809 {
}
instance of movieClip 787 {
onClipEvent (load) {
myKara = 'walk';
sayWhat = 'I can\'t just walk by these soldiers...';
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -4;
}
}
movieClip 812 {
}
movieClip 813 {
}
movieClip 815 {
}
movieClip 821 {
frame 1 {
stop();
if (s.wybuch_done) {
nextFrame();
}
}
instance of movieClip 787 {
onClipEvent (load) {
myKara = 'lure';
sayWhat = 'I need to lure these soldiers away from the tower.';
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = 2;
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = 5;
}
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -5;
}
}
movieClip 824 {
}
movieClip 830 {
frame 1 {
if (s.kabel_1_done != true) {
_visible = false;
}
}
}
movieClip 832 {
frame 1 {
if (s.kabel_2_done != true) {
_visible = false;
}
}
}
movieClip 833 {
frame 1 {
stop();
if (s.maska_c_open) {
nextFrame();
}
}
}
movieClip 839 {
frame 1 {
stop();
if (s.wlew_open) {
nextFrame();
}
}
frame 2 {
stop();
if (s.szmata_in) {
nextFrame();
}
}
}
movieClip 841 {
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -6;
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = 6;
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = 8;
}
}
button 845 {
on (press) {
if (s.mamy_carkey) {
if (s.czapkaOn && s.plaszczOn) {
} else {
root.say('I need more disguise...');
}
} else {
root.karaSay('key');
root.say('I\'ll need the key for this car...');
}
}
}
movieClip 846 {
frame 1 {
stop();
if (s.mamy_carkey && s.czapkaOn && s.plaszczOn) {
nextFrame();
}
}
frame 2 {
stop();
i = 'car_key';
useMe = false;
}
frame 5 {
if (s.mamyAdres) {
stop();
root.used('car_key');
root.przejscie('wyjazd');
} else {
root.karaSay('go');
root.say2('I don\'t know where to go...');
}
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -2;
}
}
movieClip 856 {
frame 1 {
stop();
rem(this);
}
frame 2 {
rem(this, 't');
sfx('metalOpenSnd');
}
instance of movieClip 467 {
onClipEvent (load) {
wn = 1;
}
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -5;
}
}
movieClip 860 {
frame 1 {
i = 'szmata';
}
}
movieClip 862 {
frame 1 {
i = 'handle';
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -1;
}
}
frame 99 {
amb('airfieldAmb');
czekWiezaKod = function () {
if (go) {
if (s.lotnisko_password == kodDoSprawdzenia) {
if (wiezaDrzwi._currentframe == 1) {
wiezaDrzwi.play();
}
}
s.kodWpisany.length = 0;
s.kodWpisany = [];
}
};
}
movieClip 864 {
}
movieClip 865 {
frame 1 {
stop();
if (s.wieza_open) {
gotoAndStop(_totalframes);
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -5;
}
}
frame 2 {
s.wieza_open = true;
sfx('doorSnd');
}
frame 21 {
stop();
}
instance of movieClip 467 {
onClipEvent (load) {
wn = 1;
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -5;
}
}
}
movieClip 868 {
}
button 869 {
on (press) {
if (root.go) {
play();
}
}
}
movieClip 870 {
frame 1 {
stop();
}
frame 6 {
sfx('computingSnd');
}
frame 51 {
root.czekWiezaKod();
}
}
button 874 {
on (press) {
sfx('intercomSnd');
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = 3;
}
}
frame 100 {
amb('wiezaAmb');
}
movieClip 877 {
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -1;
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = 5;
}
}
movieClip 883 {
}
movieClip 885 {
}
movieClip 901 {
}
movieClip 932 {
frame 1 {
stop();
rem(this);
i = 'handle';
}
frame 2 {
rem(this, 'opened');
s.wlew_open = true;
}
frame 14 {
sfx('metalSwitchSnd');
}
frame 32 {
stop();
rem(this);
i = 'szmata';
}
frame 33 {
rem(this, 'szmatka_jest');
s.szmata_in = true;
}
frame 57 {
stop();
}
frame 58 {
sfx('setFireSnd');
}
frame 68 {
root.przejscie('wybuch');
}
}
movieClip 934 {
}
movieClip 946 {
frame 1 {
stop();
if (s.kabel_1_done != true) {
kabel1._visible = false;
}
if (s.kabel_2_done != true) {
kabel2._visible = false;
}
if (s.kabel_1_done && s.kabel_2_done) {
baton.onPress = function () {
if (root.go) {
play();
}
};
}
}
frame 6 {
_parent.iskra.play();
sfx('draskaSnd');
}
}
movieClip 949 {
}
movieClip 964 {
frame 1 {
stop();
}
frame 2 {
_rotation = random(180) - 90;
}
frame 14 {
if (this.hitTest(root.wlew.tester_iskra)) {
root.wlew.play();
}
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -6;
}
}
frame 102 {
wpiszSzyfr = function (nr) {
if (s.kodWpisany == undefined) {
s.kodWpisany = nr;
} else {
if (s.kodWpisany.length <= 7) {
s.kodWpisany.push(nr);
kodDoSprawdzenia = '';
i = 0;
while (i < s.kodWpisany.length) {
if (s.kodWpisany[i] != undefined) {
kodDoSprawdzenia += s.kodWpisany[i];
}
++i;
}
this['plakietka' + String(s.kodWpisany.length)].myNumer = nr;
this['plakietka' + String(s.kodWpisany.length)].play();
}
}
};
i = 0;
while (i < s.kodWpisany.length) {
if (s.kodWpisany[i] != undefined) {
this['plakietka' + (i + 1)].myNumer = s.kodWpisany[i];
this['plakietka' + (i + 1)].gotoAndStop(this['plakietka' + (i + 1)]._totalframes);
}
++i;
}
}
// unknown tag 88 length 68
movieClip 969 {
frame 1 {
myNr = _parent.myNr;
}
}
movieClip 970 {
frame 1 {
stop();
onPress = function () {
if (root.go) {
play();
}
};
}
frame 2 {
sfx('machineBtnSnd');
}
frame 4 {
root.wpiszSzyfr(String(myNr));
}
}
instance of movieClip 970 {
onClipEvent (load) {
myNr = 1;
}
}
instance of movieClip 970 {
onClipEvent (load) {
myNr = 2;
}
}
instance of movieClip 970 {
onClipEvent (load) {
myNr = 3;
}
}
instance of movieClip 970 {
onClipEvent (load) {
myNr = 4;
}
}
instance of movieClip 970 {
onClipEvent (load) {
myNr = 5;
}
}
instance of movieClip 970 {
onClipEvent (load) {
myNr = 6;
}
}
instance of movieClip 970 {
onClipEvent (load) {
myNr = 7;
}
}
instance of movieClip 970 {
onClipEvent (load) {
myNr = 8;
}
}
instance of movieClip 970 {
onClipEvent (load) {
myNr = 9;
}
}
instance of movieClip 970 {
onClipEvent (load) {
myNr = 0;
}
}
movieClip 974 {
frame 1 {
myNumer = _parent.myNumer;
}
}
movieClip 976 {
frame 1 {
stop();
}
frame 16 {
stop();
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -3;
}
}
movieClip 980 {
}
movieClip 981 {
frame 1 {
stop();
rem(this);
onPress = function () {
if (root.go) {
play();
}
};
}
frame 2 {
rem(this, 't');
delete onPress;
sfx('metalSwitchSnd');
}
frame 20 {
stop();
delete onPress;
}
}
movieClip 982 {
frame 1 {
stop();
rem(this);
onPress = function () {
if (root.go) {
play();
}
};
}
frame 2 {
rem(this, 't');
delete onPress;
sfx('metalSwitchSnd');
}
frame 20 {
stop();
delete onPress;
}
}
movieClip 984 {
}
movieClip 986 {
}
movieClip 987 {
frame 1 {
stop();
}
frame 7 {
sfx('metalHandleSnd');
}
frame 14 {
_parent.czekKlamka();
}
}
movieClip 991 {
}
movieClip 992 {
}
movieClip 995 {
frame 1 {
stop();
rem(this);
i = 'kabel1';
}
frame 2 {
s.kabel_1_done = true;
rem(this, 't');
}
frame 5 {
stop();
}
}
movieClip 997 {
frame 1 {
stop();
rem(this);
i = 'kabel2';
}
frame 2 {
s.kabel_2_done = true;
rem(this, 't');
z;
}
frame 5 {
stop();
}
}
movieClip 998 {
frame 1 {
stop();
rem(this);
czekKlamka = function () {
if (zaczep1._currentframe != 1 && zaczep2._currentframe != 1) {
play();
}
};
}
frame 2 {
rem(this, 't');
s.maska_c_open = true;
}
frame 3 {
sfx('metalOpenSnd');
}
frame 19 {
stop();
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -8;
}
}
movieClip 1001 {
frame 1 {
i = 'kabel1';
}
}
movieClip 1003 {
frame 1 {
i = 'kabel2';
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -12;
}
}
button 1005 {
on (press) {
root.przejscie('pobicie');
}
}
movieClip 1008 {
}
movieClip 1012 {
}
movieClip 1014 {
}
movieClip 1015 {
frame 1 {
stop();
rem(this);
}
frame 2 {
rem(this, 't');
sfx('drawerSnd');
}
frame 20 {
stop();
}
instance of movieClip 467 {
onClipEvent (load) {
wn = 2;
}
}
}
movieClip 1018 {
frame 1 {
stop();
if (s.pobity) {
nextFrame();
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = 1;
}
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -5;
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = 2;
}
}
movieClip 1025 {
frame 1 {
if (s.bodySnd_done != true) {
sfx('fallSnd');
s.bodySnd_done = true;
}
}
}
movieClip 1028 {
}
movieClip 1029 {
}
movieClip 1030 {
instance of movieClip 1029 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
}
movieClip 1034 {
}
movieClip 1035 {
frame 1 {
gfx._visible = false;
point = {'x': _parent._x, 'y': _parent._y};
ktoryObiekt.localToGlobal(point);
_parent.ktorySave = _parent.i + '_' + root._currentframe + '_' + Math.round(point.x) + '_' + Math.round(point.y);
_parent.onPress = root.photoFinder;
if (s[_parent.ktorySave] != undefined) {
_parent._visible = false;
delete _parent.onPress;
}
}
}
movieClip 1036 {
frame 1 {
i = 'pic_kara';
}
}
movieClip 1038 {
frame 1 {
i = 'pic_koperta';
}
}
movieClip 1040 {
}
movieClip 1042 {
}
movieClip 1043 {
frame 1 {
stop();
rem(this);
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -1;
}
}
frame 2 {
rem(this, 't');
s.czapkaOn = true;
}
frame 27 {
root.say('You put on a german army hat.');
sfx('findSnd');
}
frame 30 {
stop();
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -1;
}
}
}
movieClip 1047 {
}
movieClip 1053 {
}
movieClip 1054 {
frame 1 {
stop();
rem(this);
}
frame 2 {
rem(this, 't');
s.plaszczOn = true;
sfx('findSnd');
root.say('You put on a german army coat.');
}
frame 30 {
stop();
}
}
movieClip 1056 {
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -2;
}
}
movieClip 1059 {
frame 1 {
i = 'car_key';
}
}
instance of movieClip 467 {
onClipEvent (load) {
wn = -2;
}
}
movieClip 1061 {
}
movieClip 1074 {
}
movieClip 1076 {
}
movieClip 1078 {
}
movieClip 1087 {
}
movieClip 1091 {
}
movieClip 1098 {
}
movieClip 1105 {
}
movieClip 1107 {
}
movieClip 1115 {
}
movieClip 1117 {
}
movieClip 1130 {
}
movieClip 1134 {
}
movieClip 1136 {
}
movieClip 1138 {
}
movieClip 1140 {
}
movieClip 1142 {
}
movieClip 1145 {
}
movieClip 1147 {
frame 2 {
s.wybuch_done = true;
root.removeAllItems();
}
frame 11 {
sfx('bodySnd');
}
frame 30 {
sfx('explodeSnd');
}
frame 103 {
sfx('wtemSnd');
}
frame 255 {
stop();
root.checkInventoryStatus();
root.przejscie('gra1');
}
}
movieClip 1150 {
}
movieClip 1153 {
}
movieClip 1156 {
}
movieClip 1157 {
}
movieClip 1158 {
}
movieClip 1160 {
}
movieClip 1183 {
}
movieClip 1184 {
instance of movieClip 1183 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
instance of movieClip 1183 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
instance of movieClip 1183 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
instance of movieClip 1183 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
instance of movieClip 1183 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
instance of movieClip 1183 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
instance of movieClip 1183 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
instance of movieClip 1183 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
instance of movieClip 1183 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
instance of movieClip 1183 {
onClipEvent (load) {
gotoAndPlay(random(_totalframes));
}
}
}
movieClip 1188 {
}
movieClip 1190 {
}
movieClip 1194 {
}
movieClip 1195 {
}
movieClip 1196 {
}
movieClip 1202 {
}
movieClip 1204 {
}
movieClip 1206 {
}
movieClip 1210 {
}
movieClip 1212 {
}
movieClip 1214 {
}
movieClip 1216 {
}
movieClip 1219 {
}
movieClip 1221 {
}
movieClip 1223 {
}
movieClip 1225 {
}
movieClip 1227 {
}
movieClip 1228 {
frame 2 {
s.pobity = true;
root.removeAllItems();