Frame 1
stop();
var soundList = new Array("amb1", "boomSnd", "pourSnd", "maszinSnd", "lancuchSnd", "klodkaSnd", "klapaSnd", "guzikSnd", "doorSnd", "catSnd2", "catSnd1", "bramaSnd", "achieveSnd", "bikeSnd", "combineSnd", "skrytkaSnd", "skrytkaSnd", "buySnd", "shopSnd", "shopEnd", "btnSnd", "pickSnd", "pickEnd", "findSnd", "useSnd", "moveSnd", "errorSnd", "documentsSnd", "documentsEnd");
stop();
load_to = "menu";
goLive = true;
gameName = "the Fog Fall 4";
authorInfo = "\u00A9 Pastel Games";
miesiac = "5";
rok = "2012";
wersja = "3.0.0";
wersjaFloat = "3.6";
gameWidth = 550;
gameHeight = 500;
liniaMenu = 440;
authorLink = "http://www.pastelgames.com";
commentLink = "http://www.pastelforum.com/topic.php?id=3952";
twitterLink = "http://twitter.com/pastelgames";
tweetLink = "http://twitter.com/home?status=check out new game by Pastel Games: " + commentLink;
shareLink = "http://www.facebook.com/share.php?u=" + commentLink;
facebookLink = "https://www.facebook.com/pages/PastelGames/194000288450";
sponsorLink = "http://pastelgames.com/";
moreGamesLink = "http://pastelgames.com/";
walkthroughLink = "http://pastelgames.com/";
kodWersji = (((((miesiac + ".") + rok) + "-f") + wersjaFloat) + "-v") + wersja;
footer = ((((("<p align='center'>" + gameName) + " | ") + authorInfo) + " | ") + kodWersji) + "</p>";
footerRGB = 5465457 /* 0x536571 */;
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));
Stage.showMenu = false;
Stage.scaleMode = "noScale";
fscommand ("showmenu", "false");
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) + "_") + ktoryObiekt._totalframes) + "_") + 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();
};
link = function (jakiLink) {
if (goLive) {
sfx("btnSnd");
getURL (jakiLink, "_blank");
}
};
deadClick = function () {
};
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 _local2 = new TextFormat();
_local2.color = footerRGB;
_local2.align = "center";
_local2.font = "Arial";
_local2.size = 10;
footerTXT.setTextFormat(_local2);
};
MovieClip.prototype.drawRectangle = function (w, h, alfa) {
var _local2 = this.createEmptyMovieClip("s1", 1);
_local2.beginFill(0, alfa);
_local2.moveTo(0, 0);
_local2.lineTo(w, 0);
_local2.lineTo(w, h);
_local2.lineTo(0, h);
_local2.endFill();
};
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 = this._alpha + 15;
} else {
this._alpha = 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);
}
};
Frame 3
stop();
Frame 5
Frame 27
if (s.cFrame == undefined) {
continueBtn._alpha = 50;
continueBtn.enabled = false;
}
createFooter();
ataczSounds();
Frame 34
reset = function () {
reloadItemProperties();
opis = "";
rozstawMenu = 35;
maxItems = 15;
maxShopItems = 25;
maxhideoutItems = 25;
itemNumber = 0;
itemsOnScreen = 0;
itemInHand = "";
go = true;
restoreRoom();
};
var itemPlaceTaken = [];
var listOfItems = new Array();
if (s.listOfItems == undefined) {
s.listOfItems = new Array();
s.glowna_lista = new Array();
s.ktore_inv_visible = "glowna_lista";
}
var listOfPhotos = new Array();
var listOfDocuments = new Array();
var itemProperties = [];
nextFrame();
Frame 35
warp = function (gdzie) {
if (go) {
if (Number(gdzie)) {
gotoAndStop(_currentframe + gdzie);
} else {
gotoAndStop(gdzie);
}
sfx("moveSnd");
opis = "";
say("");
roomNr = num;
s.cFrame = _currentframe;
}
};
restoreRoom = function () {
checkInventoryStatus();
if (s.cFrame == undefined) {
gotoAndStop ("intro");
} else {
amb(s.currentAmbient);
gotoAndStop(s.cFrame);
}
};
nextFrame();
Frame 36
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);
if (this.leaveMe != true) {
this._visible = false;
} else {
this.play();
}
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;
}
}
};
itemQuantityCzek = function (co, withSnd) {
if ((co != undefined) && (co != "s_undefined")) {
czekIlosc = co + "_quantity";
if (s[czekIlosc] == undefined) {
itemCollect(co, withSnd);
s[czekIlosc] = 1;
} else {
s[czekIlosc]++;
itemQuantityDisplay(co, s[czekIlosc]);
ataczBot(co);
if (withSnd != false) {
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 _local2 = new TextFormat();
_local2.color = 16777215 /* 0xFFFFFF */;
_local2.align = "left";
_local2.font = "arial";
_local2.size = 10;
this[co].quantityTXT.setTextFormat(_local2);
};
itemCollect = function (co, withSnd) {
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 = gameWidth / 2;
} 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 = 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) {
if (withSnd != false) {
sfx("findSnd");
}
listOfItems.push(co);
s.listOfItems = listOfItems;
if (s.ktore_inv_visible == "glowna_lista") {
s.glowna_lista = listOfItems;
}
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 = gameWidth / 2;
this[co]._y = liniaMenu + 200;
}
onCollect(co);
};
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);
};
setLastName = function (num) {
if ((eval (itemPlaceTaken[num]).destX == null) && (num > 0)) {
num--;
setLastName(num);
} else {
lastName = itemPlaceTaken[num];
}
};
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 = this.friction + 0.02;
}
if (eval ("root." + this.toWhere)._visible) {
this._x = this._x + ((eval ("root." + this.toWhere)._x - this._x) * this.friction);
this._y = this._y + ((eval ("root." + this.toWhere)._y - this._y) * 0.2);
} else {
this._x = this._x + (((gameWidth / 2) - this._x) * this.friction);
this._y = this._y + ((liniaMenu - this._y) * 0.2);
}
this._alpha = this._alpha - 4;
if (this._alpha <= 0) {
removeMovieClip(this);
delete this.onEnterFrame;
}
};
gimme = function (co) {
gimmeCo = co;
clearInterval(gimmeInt);
gimmeInt = setInterval(gimmeItem, 500);
};
gimmeItem = function () {
itemQuantityCzek(gimmeCo);
clearInterval(gimmeInt);
};
nextFrame();
Frame 37
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 = this._xscale + (((100 + this.nr) - this._xscale) * 0.2);
this._yscale = this._yscale + (((100 + this.nr) - this._yscale) * 0.2);
} else {
this.destY = liniaMenu;
this._xscale = this._xscale + ((100 - this._xscale) * 0.2);
this._yscale = 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 = this.moveInitVal + 0.01;
}
this._x = this._x + ((this.destX - this._x) * this.moveInitVal);
this._y = 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 = this._xscale - 5;
this._yscale = this._yscale - 5;
if (this._xscale <= 5) {
delete this.onEnterFrame;
removeMovieClip(this);
}
} else {
this._x = this._x + ((eval ("root." + this.destItem).destX - this._x) * 0.2);
this._y = this._y + ((eval ("root." + this.destItem).destY - this._y) * 0.2);
}
};
itemNameDisp = function () {
if (go) {
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");
};
checkInventoryStatus = function () {
i = 0;
while (i < 20) {
if ((s.listOfItems[i].toString() == "s_undefined") || (s.listOfItems[i].toString() == undefined)) {
s.listOfItems.splice(i, 1);
}
i++;
}
if ((s.listOfItems.length != undefined) && (s.listOfItems.length != 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;
};
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();
};
nextFrame();
Frame 38
used = function (co, withSnd) {
if (withSnd != false) {
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 = eval (itemPlaceTaken[i]).destX - (rozstawMenu / 2);
}
if (i < currentBeingUsed) {
eval (itemPlaceTaken[i]).moveInitVal = 0;
eval (itemPlaceTaken[i]).destX = eval (itemPlaceTaken[i]).destX + (rozstawMenu / 2);
}
i++;
}
itemPlaceTaken[currentBeingUsed] = null;
setLastName(itemNumber);
if (s[itemInHand + "_quantity"] == undefined) {
go = true;
Mouse.show();
}
eval (co + "_shadow").removeMe = true;
removeMovieClip(co);
itemInHand = "";
};
removeAllItems = function () {
i = 0;
while (i < listOfItems.length) {
this[listOfItems[i]].removeMovieClip(this);
eval (listOfItems[i] + "_shadow").removeMovieClip(this);
i++;
}
Mouse.show();
opis = "";
say("");
itemNumber = 0;
itemsOnScreen = 0;
};
nextFrame();
Frame 39
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;
}
}
};
sayBoxEF = function () {
this._y = this._y + Math.round((this.A - this._y) * 0.4);
if (this.A == -50) {
if (this._y <= -40) {
delete this.onEnterFrame;
this.removeMovieClip(this);
}
}
};
czat = function (ktora) {
if (go) {
say("");
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");
};
nextFrame();
Frame 40
openSklep = function (ktory) {
if (go) {
go = false;
sfx("shopSnd");
attachMovie("sklepMC", "sklepMC", this.getNextHighestDepth, {sklepName:ktory});
}
};
openSkrytka = function (ktory) {
if (go) {
go = false;
sfx("skrytkaSnd");
attachMovie("skrytkaMC", "sklepMC", this.getNextHighestDepth, {skrytkaName:ktory});
}
};
nextFrame();
Frame 41
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");
};
opisEF = function () {
this.opisTXT = opis;
this.op_tlo._xscale = 15 + (root.opis.length * 6);
this.op_tlo2._xscale = 20 + (root.opis.length * 6);
this._x = (root.opisMC_strzalka._x = root._xmouse);
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._visible = (opisMC_strzalka._visible = false);
} else {
opisMC._visible = (opisMC_strzalka._visible = true);
}
};
nextFrame();
Frame 42
sc = function (ktory) {
if (go && (cursorOn)) {
Mouse.hide();
attachMovie("cursor_" + ktory, "movementCursor", this.getNextHighestDepth());
movementCursor._x = _xmouse;
movementCursor._y = _ymouse;
}
};
hc = function () {
if (go && (cursorOn)) {
removeMovieClip("movementCursor");
Mouse.show();
}
};
nextFrame();
Frame 43
reloadItemProperties = function () {
if (listOfDocuments.length == 1) {
itemProperties.documents = ["a document", false, 0];
} else {
itemProperties.documents = [listOfDocuments.length + " documents", false, 0];
}
if (listOfPhotos.length == 1) {
itemProperties.photos = ["a picture", false, 0];
} else {
itemProperties.photos = [listOfPhotos.length + " pictures", false, 0];
}
if (s.wodaIN) {
s.wodaTXT = "purified water";
} else {
s.wodaTXT = "--";
}
if (s.pillsIN) {
s.pillsTXT = "painkillers";
} else {
s.pillsTXT = "--";
}
if (s.bandagesIN) {
s.bandagesTXT = "bandages";
} else {
s.bandagesTXT = "--";
}
if (s.glovesIN) {
s.glovesTXT = "rubber gloves";
} else {
s.glovesTXT = "--";
}
itemProperties.apteczka = [(((((("first aid kit /" + s.wodaTXT) + " / ") + s.pillsTXT) + " / ") + s.bandagesTXT) + "/") + s.glovesTXT, true];
itemProperties.apteczka2 = [(((((("first aid kit /" + s.wodaTXT) + " / ") + s.pillsTXT) + " / ") + s.bandagesTXT) + "/") + s.glovesTXT, true];
};
setQuantity = function (co, ile) {
if (s[co] == undefined) {
s[co] = ile;
}
};
combineThis = function (skladnik1, skladnik2, efekt) {
if (this[skladnik1].tester.hitTest(this[skladnik2].tester)) {
itemQuantityCzek(efekt, false);
used(skladnik1, false);
used(skladnik2, false);
sfx("combineSnd");
}
if (apteczka.tester.hitTest(woda.tester)) {
s.wodaIN = true;
used("woda", false);
sfx("combineSnd");
reloadItemProperties();
czekApteczka();
}
if (apteczka.tester.hitTest(pills.tester)) {
s.pillsIN = true;
used("pills", false);
sfx("combineSnd");
reloadItemProperties();
czekApteczka();
}
if (apteczka.tester.hitTest(bandaz.tester)) {
s.bandagesIN = true;
used("bandaz", false);
sfx("combineSnd");
reloadItemProperties();
czekApteczka();
}
if (apteczka.tester.hitTest(gloves.tester)) {
s.glovesIN = true;
used("gloves", false);
sfx("combineSnd");
reloadItemProperties();
czekApteczka();
}
};
czekApteczka = function () {
if (((s.pillsIN && (s.bandagesIN)) && (s.wodaIN)) && (s.glovesIN)) {
itemQuantityCzek("apteczka2", false);
used("apteczka", false);
reloadItemProperties();
}
};
gotoAndStop ("dane");
Frame 48
itemProperties.matches = ["matches", true];
itemProperties.zylka = ["fishing line", true];
itemProperties.spam1 = ["can of spam", true];
itemProperties.spam2 = ["spam", true];
itemProperties.cell = ["cell phone", false];
itemProperties.bateria = ["battery", true];
itemProperties.mlotek = ["hammer", true];
itemProperties.kanister1 = ["petrol can", true];
itemProperties.kanister2 = ["gas", true];
itemProperties.baton = ["chocolate bar", true];
itemProperties.fajki = ["cigarettes", true];
itemProperties.latarka1 = ["powerless flashlight", true];
itemProperties.latarka2 = ["charged flashlight", true];
itemProperties.cutter = ["metal shear cutter", true];
itemProperties.gloves = ["rubber gloves", true];
itemProperties.karta = ["magnetic card", true];
itemProperties.tube = ["rubber tube", true];
itemProperties.noz = ["knife", true];
itemProperties.cage1 = ["cage", true];
itemProperties.cage2 = ["cage with spam in it", true];
itemProperties.cage3 = ["cage trap", true];
itemProperties.cage4 = ["trapped cat", true];
itemProperties.kawa = ["coffee", true];
itemProperties.naboje = ["bullets", true];
itemProperties.petarda = ["thunderflash", true];
itemProperties.pionek = ["chess piece", true];
itemProperties.klucz1 = ["bookstore key", true];
itemProperties.klucz2 = ["key", true];
itemProperties.klucz3 = ["bookstore attic key", true];
itemProperties.klucz4 = ["chopper key", true];
itemProperties.book = ["'Chess strategies' by Boris Mikhaltchuk", true];
itemProperties.piwo = ["beer", true];
itemProperties.zloto = ["golden statue", true];
itemProperties.pills = ["pills", true];
itemProperties.woda = ["purified water", true];
itemProperties.bandaz = ["bandages", true];
itemProperties.chain = ["chopper chain", true];
itemProperties. = ["", true];
itemProperties. = ["", true];
itemProperties. = ["", true];
itemProperties. = ["", true];
itemProperties. = ["", true];
itemProperties. = ["", true];
itemProperties. = ["", true];
nextFrame();
Frame 49
setQuantity("cash", 15);
setQuantity("sklep1_name", "hardware store");
setQuantity("sklep1_cash", 0);
setQuantity("sklep1_maxItems", 10);
setQuantity("sklep1_items", new Array("spoon", "knife", "lighter", "valve"));
setQuantity("sklep2_name", "mauritz shop");
setQuantity("sklep2_cash", 1000);
setQuantity("sklep2_maxItems", 5);
setQuantity("sklep2_items", new Array("key", "hammer"));
setQuantity("sklep2_key_quantity", 10);
setQuantity("sklep3_name", "Jules 3rd shop");
setQuantity("sklep3_cash", 100000);
setQuantity("sklep3_maxItems", 17);
setQuantity("sklep3_items", new Array("metal_box", "wrench", "light_bulb", "coil", "fork"));
setQuantity("sklep3_wrench_quantity", 6);
setQuantity("sklep3_light_bulb_quantity", 58);
setQuantity("sklep3_fork_quantity", 12);
setQuantity("skrytka1_name", "police station painting hideout");
setQuantity("skrytka1_items", new Array());
setQuantity("skrytka1_maxItems", 10);
setQuantity("skrytka2_name", "tree trunk hole");
setQuantity("skrytka2_items", new Array());
setQuantity("skrytka2_maxItems", 10);
setQuantity("skrytka3_name", "fridge hideout");
setQuantity("skrytka3_items", new Array());
setQuantity("skrytka3_maxItems", 10);
nextFrame();
Frame 50
var documentsTXT = [];
documentsTXT.doc_1 = "document_1_text";
documentsTXT.doc_2 = "document_2_text";
documentsTXT.doc_3 = "document_3_text";
documentsTXT.doc_4 = "document_4_text";
documentsTXT.doc_4 = "document_4_text";
var photosTXT = [];
photosTXT.pic_helen = "a letter";
photosTXT.pic_train = "advertisement";
photosTXT.pic_gaz1 = "coopertown daily";
photosTXT.pic_gaz2 = "newspaper page";
photosTXT.pic_pamflet = "pamphlet";
photosTXT.pic_adres = "destination";
photosTXT. = "";
photosTXT. = "";
photosTXT. = "";
photosTXT. = "";
photosTXT. = "";
photosTXT. = "";
photosTXT. = "";
nextFrame();
Frame 51
onCollect = function (co) {
if (co == "pic_adres") {
s.adresDone = true;
trace("mam adres");
}
};
nextFrame();
Frame 52
combine = function () {
combineThis("latarka1", "bateria", "latarka2");
combineThis("spam1", "noz", "spam2");
combineThis("spam2", "cage1", "cage2");
combineThis("cage2", "zylka", "cage3");
};
nextFrame();
Frame 53
s.mala_lista = new Array("spoon", "fork", "knife");
i = 0;
while (i < s.mala_lista.length) {
if (s[s.mala_lista[i] + "_quantity"] == undefined) {
s[s.mala_lista[i] + "_quantity"] = 1;
}
i++;
}
s.klucze_lista = new Array("key", "valve");
i = 0;
while (i < s.klucze_lista.length) {
if (s[s.klucze_lista[i] + "_quantity"] == undefined) {
s[s.klucze_lista[i] + "_quantity"] = 1;
}
i++;
}
showInventory = function (ktora) {
s.ktore_inv_visible = ktora;
removeAllItems();
listOfItems = s[ktora];
s.listOfItems = listOfItems;
checkInventoryStatus();
};
reset();
Frame 57
amb("amb1");
Frame 64
s.cFrame = _currentframe;
say("");
Frame 109
czekCzes = function () {
trace("czeking chess");
if (((((s.pond1 && (s.pond2)) && (s.pond3)) && (s.pond4)) && (s.pond5)) && (s.pond6)) {
trace("czesDone");
s.czesDone = true;
}
};
Frame 115
if (s.morePiecesTalk != true) {
say("... but I need more pieces... See?...");
s.morePiecesTalk = true;
}
Frame 150
removeAllItems();
Symbol 7 MovieClip Frame 1
biel._xscale = 0;
up_scale = 105;
onEnterFrame = function () {
total_bytes = root.getBytesTotal();
loaded_bytes = root.getBytesLoaded();
procent_done = Math.round((loaded_bytes / total_bytes) * 100);
biel._xscale = biel._xscale + ((procent_done - biel._xscale) * 0.2);
if (procent_done >= 100) {
delete onEnterFrame;
root.gotoAndStop(root.load_to);
}
};
onRelease = function () {
getURL ("http://www.pastelgames.com", "_blank");
};
onRollOver = function () {
_xscale = up_scale;
_yscale = up_scale;
};
onRollOut = (onPress = function () {
_xscale = 100;
_yscale = 100;
});
Symbol 10 MovieClip [documents] Frame 1
stop();
Symbol 13 MovieClip [photos] Frame 1
stop();
Symbol 49 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 9
stop();
Symbol 124 Button
on (press) {
root.opis = "";
root.checkInventoryStatus();
sfx("documentsEnd");
root.go = true;
removeMovieClip(this);
}
Symbol 130 MovieClip [photos_view] Frame 2
gotoAndStop ("gal");
Symbol 130 MovieClip [photos_view] 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 = 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 = this._x + ((podA - this._x) * 0.3);
this._y = 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 = this.friction + 0.02;
}
this._x = 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._xscale = (picsPodswietlenie._yscale = 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;
Symbol 136 MovieClip [item_tester] Frame 1
_alpha = 0;
Symbol 146 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (animate) {
nextFrame();
} else {
prevFrame();
}
};
Symbol 151 MovieClip Frame 10
stop();
Symbol 153 Button
on (press) {
scrolling = "up";
}
on (release, releaseOutside) {
scrolling = 0;
}
Symbol 154 Button
on (press) {
scrolling = "down";
}
on (release, releaseOutside) {
scrolling = 0;
}
Symbol 160 MovieClip Frame 1
onPress = function () {
startDrag (this, false, 0, 0, 0, _parent._parent.wysokoscSlupka);
_parent._parent.niesiemy = true;
_parent._parent.scrolling = 0;
};
onRelease = (onReleaseOutside = function () {
stopDrag();
_parent._parent.niesiemy = false;
});
onEnterFrame = function () {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_alpha = 100;
nextFrame();
} else {
_alpha = 50;
prevFrame();
}
};
Symbol 162 MovieClip Frame 1
scrolling = 0;
wysokoscSlupka = 150;
onEnterFrame = function () {
napis = _parent.msg;
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 ((dnBtn._alpha == 50) && (upBtn._alpha == 50)) {
scrlMC.ball._visible = false;
} else {
scrlMC.ball._visible = true;
}
if (scrolling == "up") {
napis.scroll--;
if (scrlMC.ball._y > (0 + scrollSkok)) {
scrlMC.ball._y = scrlMC.ball._y - scrollSkok;
} else {
scrlMC.ball._y = 0;
}
}
if (scrolling == "down") {
napis.scroll++;
if (scrlMC.ball._y < (wysokoscSlupka - scrollSkok)) {
scrlMC.ball._y = scrlMC.ball._y + scrollSkok;
} else {
scrlMC.ball._y = wysokoscSlupka;
}
}
if (niesiemy) {
txtField.scroll = scrlMC.ball._y / scrollSkok;
} else {
scrollSkok = wysokoscSlupka / txtField.maxscroll;
}
};
Symbol 166 MovieClip [czatMC] Frame 1
odp1.onRollOver = (odp2.onRollOver = function () {
this.animate = true;
});
odp1.onRollOut = (odp2.onRollOut = function () {
this.animate = false;
});
answer = function (co, gdzie, snd, alignment) {
if (alignment == "right") {
msg = ((((msg + newline) + newline) + "<p align='right'>- ") + co) + "</p>";
alignment = "";
} else {
msg = ((((msg + newline) + newline) + "<p align='left'>- ") + co) + "</p>";
}
txtMC.scrolling = "down";
gotoAndStop(_currentframe + gdzie);
if (snd) {
sfx("btnSnd");
}
};
Symbol 166 MovieClip [czatMC] Frame 6
czatterName = "Mad Rob";
msg = "- Now that's more like it. Where did you find it, dog?";
odp1.msg = "That's none of your business actually.";
odp1.onPress = function () {
answer(this.msg, 1, true, "right");
};
Symbol 166 MovieClip [czatMC] Frame 7
answer("True, true. I respect men of business. What do you want in exchange?", 0, false);
odp1.msg = "A chopper chain.";
odp1.onPress = function () {
answer(this.msg, 1, true, "right");
};
Symbol 166 MovieClip [czatMC] Frame 8
answer("A chopper chain? Isn't that too much?", 0, false);
odp1.msg = "Don't be ridiculous.";
odp1.onPress = function () {
answer(this.msg, 1, true, "right");
};
Symbol 166 MovieClip [czatMC] Frame 9
answer("Feisty this one is, isn't he.", 0, false);
odp1.msg = "Let's just make this deal.";
odp1.onPress = function () {
answer(this.msg, 1, true, "right");
};
Symbol 166 MovieClip [czatMC] Frame 10
answer("Ok then. Chain it is. Hope you won't kill anyone with it.", 0, false);
odp1.msg = "Who knows...";
odp1.onPress = function () {
root.robercik.play();
root.endCzat();
};
Symbol 169 Button
on (press) {
root.opis = "";
root.go = true;
sfx("skrytkaSnd");
root.wracamyZeSklepu = true;
root.checkInventoryStatus();
}
Symbol 174 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (this.hitTest(root._xmouse, root._ymouse, true) && (zajety)) {
nextFrame();
} else {
prevFrame();
}
};
Symbol 176 MovieClip [skrytkaMC] Frame 1
skrytkaNameDisplay = s[skrytkaName + "_name"];
opening = true;
locateMe = function () {
if (this.moveInitVal <= 0.3) {
this.moveInitVal = this.moveInitVal + 0.01;
}
this._x = this._x + ((this.destX - this._x) * this.moveInitVal);
this._y = this._y + ((this.destY - this._y) * 0.2);
};
showMyItemsNr = 1;
hideoutItemRollOver = function () {
root.pokazOpis(root.itemProperties[this._name][0]);
};
hideoutSellItemRollOver = function () {
root.pokazOpis(root.itemProperties[this._name.substring(2)][0]);
};
hideoutItemRollOut = function () {
root.hideOpis();
};
hideoutSellItemRollOut = function () {
root.hideOpis();
};
hideoutItemPress = function () {
sell(String(this._name));
};
hideoutSellItemPress = function () {
buy(String(this._name).substring(2));
};
hideoutItemPress_noSale = function () {
root.pokazOpis("you can't put this away");
sfx("errorSnd");
};
itemQuantityCzek = function (co) {
if (co != undefined) {
czekIlosc = co + "_quantity";
if ((s[czekIlosc] != undefined) && (s[czekIlosc] >= 2)) {
itemQuantityDisplay(co, s[czekIlosc]);
}
}
};
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 _local2 = new TextFormat();
_local2.color = 16777215 /* 0xFFFFFF */;
_local2.align = "left";
_local2.font = "arial";
_local2.size = 10;
this[co].quantityTXT.setTextFormat(_local2);
};
showMyItems = function () {
if (showMyItemsNr <= s.listOfItems.length) {
myItemName = s.listOfItems[showMyItemsNr - 1];
attachMovie(myItemName, myItemName, showMyItemsNr);
eval (myItemName).destX = eval ("p" + showMyItemsNr)._x;
eval (myItemName).destY = eval ("p" + showMyItemsNr)._y;
if (opening) {
eval (myItemName)._x = root[myItemName]._x;
eval (myItemName)._y = root[myItemName]._y;
} else {
eval (myItemName)._x = eval ("p" + showMyItemsNr)._x;
eval (myItemName)._y = eval ("p" + showMyItemsNr)._y;
}
eval (myItemName).moveInitVal = 0;
eval (myItemName).onEnterFrame = locateMe;
eval (myItemName).attachMovie("item_tester", "tlo", 2);
if (root.itemProperties[myItemName][2] == 0) {
eval (myItemName)._alpha = 30;
eval (myItemName).onRollOver = hideoutItemRollOver;
eval (myItemName).onPress = hideoutItemPress_noSale;
} else {
eval (myItemName).onRollOver = hideoutItemRollOver;
eval (myItemName).onPress = hideoutItemPress;
eval (myItemName).filters = [root.shadowCiemny];
}
eval (myItemName).onRollOut = hideoutItemRollOut;
itemQuantityCzek(myItemName);
eval (myItemName).gotoAndStop(1);
showMyItemsNr++;
} else {
if (opening) {
root.removeAllItems();
opening = false;
}
clearInterval(showMyItemsInt);
}
};
showhideoutItems = function () {
if (showhideoutItemsNr <= s[skrytkaName + "_items"].length) {
hideoutItemName = s[skrytkaName + "_items"][showhideoutItemsNr - 1];
attachMovie(hideoutItemName, "s_" + hideoutItemName, showhideoutItemsNr + 20, {_x:eval ("s" + showhideoutItemsNr)._x, _y:eval ("s" + showhideoutItemsNr)._y});
eval ("s_" + hideoutItemName).attachMovie("item_tester", "tlo", 2);
if (s[((skrytkaName + "_") + hideoutItemName) + "_quantity"] == undefined) {
s[((skrytkaName + "_") + hideoutItemName) + "_quantity"] = 1;
} else if (s[((skrytkaName + "_") + hideoutItemName) + "_quantity"] >= 2) {
itemQuantityDisplay("s_" + hideoutItemName, s[((skrytkaName + "_") + hideoutItemName) + "_quantity"]);
}
eval ("s_" + hideoutItemName).filters = [root.shadowCiemny];
eval ("s_" + hideoutItemName).gotoAndStop(1);
eval ("s_" + hideoutItemName).onRollOver = hideoutSellItemRollOver;
eval ("s_" + hideoutItemName).onRollOut = hideoutSellItemRollOut;
eval ("s_" + hideoutItemName).onPress = hideoutSellItemPress;
itemQuantityCzek("s_" + hideoutItemName);
showhideoutItemsNr++;
} else {
clearInterval(showhideoutItemsInt);
}
};
reloadItems = function () {
i = 0;
while (i < s.listOfItems.length) {
this[s.listOfItems[i]].removeMovieClip(this);
i++;
}
showMyItemsNr = 1;
showMyItemsInt = setInterval(showMyItems, 1);
i = 0;
while (i < s[skrytkaName + "_items"].length) {
this["s_" + s[skrytkaName + "_items"][i]].removeMovieClip(this);
i++;
}
showhideoutItemsNr = 1;
showhideoutItemsInt = setInterval(showhideoutItems, 1);
i = 0;
while (i < 31) {
if (i > s[skrytkaName + "_maxItems"]) {
eval ("s" + i)._visible = false;
}
if (i <= s[skrytkaName + "_items"].length) {
eval ("s" + i).zajety = true;
} else {
eval ("s" + i).zajety = false;
}
if (i <= s.listOfItems.length) {
eval ("p" + i).zajety = true;
} else {
eval ("p" + i).zajety = false;
}
i++;
}
};
reloadItems();
sell = function (co) {
if (s[((skrytkaName + "_") + co) + "_quantity"] != undefined) {
s[((skrytkaName + "_") + co) + "_quantity"]++;
removeFromInventory(co);
} else if (s[skrytkaName + "_items"].length < s[skrytkaName + "_maxItems"]) {
if (s[((skrytkaName + "_") + co) + "_quantity"] == undefined) {
s[((skrytkaName + "_") + co) + "_quantity"] = 1;
s[skrytkaName + "_items"].push(co);
removeFromInventory(co);
}
} else {
sfx("errorSnd");
root.pokazOpis("this hideout is full");
}
};
removeFromInventory = function (co) {
sfx("skrytkaSnd");
root.hideOpis();
czekIlosc = co + "_quantity";
if (s[czekIlosc] == 1) {
s[czekIlosc] = undefined;
i = 0;
while (i < s.listOfItems.length) {
if (s.listOfItems[i].toString() == co) {
s.listOfItems.splice(i, 1);
}
i++;
}
removeMovieClip(co);
} else if (s[czekIlosc] == 2) {
s[czekIlosc]--;
this[co].quantityTXT.removeTextField();
} else if (s[czekIlosc] > 2) {
s[czekIlosc]--;
itemQuantityDisplay(co, s[czekIlosc]);
}
reloadItems();
};
buy = function (co) {
czekIlosc = co + "_quantity";
if (s[czekIlosc] != undefined) {
s[czekIlosc]++;
removeFromhideout(co);
} else if (s.listOfItems.length < root.maxItems) {
if (s[czekIlosc] == undefined) {
s[czekIlosc] = 1;
s.listOfItems.push(co);
}
removeFromhideout(co);
} else {
root.pokazOpis("your inventory is full");
sfx("errorSnd");
}
};
removeFromhideout = function (co) {
sfx("skrytkaSnd");
root.hideOpis();
s[((skrytkaName + "_") + co) + "_quantity"]--;
if (s[((skrytkaName + "_") + co) + "_quantity"] == 1) {
this["s_" + co].quantityTXT.removeTextField();
}
if (s[((skrytkaName + "_") + co) + "_quantity"] == 0) {
s[((skrytkaName + "_") + co) + "_quantity"] = undefined;
removeMovieClip(this["s_" + co]);
i = 0;
while (i < s[skrytkaName + "_items"].length) {
if (s[skrytkaName + "_items"][i].toString() == co) {
s[skrytkaName + "_items"].splice(i, 1);
}
i++;
}
}
reloadItems();
};
Symbol 177 MovieClip Frame 1
_alpha = 0;
Symbol 184 MovieClip [exit_mc_btn] Frame 1
stop();
onEnterFrame = function () {
if (this.hitTest(root._xmouse, root._ymouse, true)) {
nextFrame();
} else {
prevFrame();
}
};
Symbol 219 Button
on (press) {
sfx("btnSnd");
przejscie("float");
}
Symbol 222 Button
on (press) {
sfx("btnSnd");
saveFile.clear();
_global.s = saveFile.data;
przejscie("float");
}
Symbol 228 Button
on (release) {
getURL ("http://www.facebook.com/mateuszskutnik", "_blank");
}
Symbol 231 Button
on (release) {
getURL ("http://www.twitter.com/mateuszskutnik", "_blank");
}
Symbol 235 Button
on (release) {
getURL ("http://www.mateuszskutnik.com/more.php", "_blank");
}
Symbol 250 MovieClip Frame 79
stop();
root.say("What is that?...");
Symbol 252 Button
on (press) {
sfx("btnSnd");
root.say("");
root.przejscie("gra");
}
Symbol 257 Button
on (press) {
przeciemnienie.play();
}
Symbol 261 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 7
_parent.nextFrame();
Symbol 267 MovieClip Frame 35
root.say("It's... a kid?");
Symbol 267 MovieClip Frame 77
stop();
root.say("Hey...");
Symbol 271 MovieClip Frame 2
root.say("Hey... Wait up.");
Symbol 271 MovieClip Frame 26
stop();
Symbol 277 MovieClip Frame 6
root.say("That's... strange...");
Symbol 277 MovieClip Frame 54
stop();
Symbol 285 MovieClip Frame 5
root.say("What?...");
Symbol 285 MovieClip Frame 137
root.say("Uhhh...");
Symbol 285 MovieClip Frame 234
root.say("I'm still alive?...");
Symbol 285 MovieClip Frame 291
root.say("");
root.gotoAndStop("gra");
Symbol 286 MovieClip Frame 1
stop();
Symbol 286 MovieClip Frame 6
stop();
root.przejscie("gra");
Symbol 291 MovieClip 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;
}
Symbol 292 MovieClip Frame 1
i = "matches";
Symbol 294 Button
on (press) {
warp(13);
}
Symbol 295 Button
on (press) {
warp(1);
}
Symbol 297 Button
on (press) {
warp(-1);
}
Symbol 298 Button
on (press) {
warp(65);
}
Symbol 302 Button
on (press) {
warp(12);
}
Symbol 306 Button
on (press) {
warp(37);
}
Symbol 311 Button
on (press) {
warp(64);
}
Symbol 312 Button
on (press) {
warp(43);
}
Symbol 317 MovieClip Frame 1
_alpha = 0;
onMouseDown = function () {
if (this.hitTest(eval ("root." + _parent.i))) {
if (_parent.useMe != false) {
root.used(_parent.i);
}
_parent.play();
}
};
Symbol 319 MovieClip Frame 1
stop();
_alpha = 0;
onPress = function () {
if (root.go) {
root.say(sayWhat);
nextFrame();
}
};
Symbol 320 Button
on (press) {
root.warp(51);
}
Symbol 321 MovieClip Frame 1
stop();
rem(this);
i = "klucz2";
Instance of Symbol 319 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) {
sayWhat = "Closed...";
}
Symbol 321 MovieClip Frame 2
rem(this, "t");
sfx("doorSnd");
Symbol 321 MovieClip Frame 15
stop();
Symbol 326 Button
on (press) {
warp(-1);
}
Symbol 329 Button
on (press) {
warp(29);
}
Symbol 332 Button
on (press) {
warp(25);
}
Symbol 334 Button
on (press) {
warp(10);
}
Symbol 335 Button
on (press) {
warp(19);
}
Symbol 337 Button
on (press) {
warp(16);
}
Symbol 339 Button
on (press) {
warp(-13);
}
Symbol 343 Button
on (press) {
root.warp(1);
}
Symbol 344 MovieClip Frame 1
stop();
rem(this);
Symbol 344 MovieClip Frame 2
rem(this, "t");
Symbol 344 MovieClip Frame 6
sfx("doorSnd");
Symbol 344 MovieClip Frame 20
stop();
Symbol 352 MovieClip Frame 1
stop();
rem(this);
i = "cutter";
useMe = false;
Symbol 352 MovieClip Frame 2
rem(this, "t");
sfx("lancuchSnd");
Symbol 352 MovieClip Frame 8
root.deski.play();
Symbol 352 MovieClip Frame 22
stop();
rem(this);
Symbol 354 MovieClip Frame 1
i = "kanister1";
Symbol 358 MovieClip Frame 1
i = "mlotek";
Symbol 360 MovieClip Frame 1
i = "piwo";
Symbol 361 Button
on (press) {
warp(-12);
}
Symbol 364 MovieClip Frame 1
i = "pionek";
Symbol 368 MovieClip Frame 1
i = "pills";
Symbol 375 Button
on (press) {
root.warp(-1);
}
Symbol 419 MovieClip Frame 1
i = "klucz2";
Symbol 423 MovieClip 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;
}
Symbol 424 MovieClip Frame 1
i = "pic_helen";
Symbol 425 MovieClip Frame 1
stop();
rem(this);
i = "petarda";
Instance of Symbol 319 MovieClip in Symbol 425 MovieClip Frame 1
onClipEvent (load) {
sayWhat = "I need to scare these dogs away.";
}
Symbol 425 MovieClip Frame 3
rem(this, "pet");
Symbol 425 MovieClip Frame 16
stop();
i = "matches";
Instance of Symbol 319 MovieClip in Symbol 425 MovieClip Frame 16
onClipEvent (load) {
sayWhat = "I need to scare these dogs away.";
}
Symbol 425 MovieClip Frame 18
rem(this, "t");
Symbol 425 MovieClip Frame 56
sfx("boomSnd");
Symbol 425 MovieClip Frame 81
stop();
Symbol 427 Button
on (press) {
openSkrytka("skrytka2");
}
Symbol 447 MovieClip Frame 1
i = "kanister2";
Symbol 448 MovieClip Frame 1
stop();
rem(this);
i = "tube";
Symbol 448 MovieClip Frame 2
rem(this, "tjub");
Symbol 448 MovieClip Frame 25
stop();
i = "kanister1";
Symbol 448 MovieClip Frame 27
rem(this, "t");
Symbol 448 MovieClip Frame 42
sfx("pourSnd");
Symbol 448 MovieClip Frame 94
stop();
Symbol 453 MovieClip Frame 1
stop();
onRollOver = function () {
play();
};
Symbol 453 MovieClip Frame 2
sfx("catSnd1");
Symbol 453 MovieClip Frame 11
stop();
Symbol 460 MovieClip Frame 1
_alpha = 0;
onPress = function () {
if (root.go) {
_parent.play();
}
};
Symbol 467 MovieClip Frame 1
i = "cage4";
Symbol 468 MovieClip Frame 1
stop();
rem(this);
i = "cage3";
Symbol 468 MovieClip Frame 2
rem(this, "je");
kotor.glowa.nextFrame();
Symbol 468 MovieClip Frame 22
stop();
Symbol 468 MovieClip Frame 28
rem(this, "t");
Symbol 468 MovieClip Frame 37
sfx("catSnd2");
Symbol 468 MovieClip Frame 51
stop();
Symbol 474 MovieClip Frame 1
stop();
rem(this);
Symbol 474 MovieClip Frame 2
rem(this, "t");
sfx("achieveSnd");
Symbol 474 MovieClip Frame 21
root.say("Ah, yes... Finally fresh air...");
Symbol 474 MovieClip Frame 41
stop();
Symbol 476 Button
on (press) {
warp(-10);
}
Symbol 477 Button
on (press) {
warp(15);
}
Symbol 479 Button
on (press) {
warp(45);
}
Symbol 481 Button
on (press) {
warp(49);
}
Symbol 485 Button
on (press) {
root.warp(-1);
}
Symbol 486 Button
on (press) {
root.warp(1);
}
Symbol 489 Button
on (press) {
root.warp(5);
}
Symbol 490 Button
on (press) {
root.warp(6);
}
Symbol 491 MovieClip Frame 1
stop();
rem(this);
if (s.szpitalOpen) {
play();
}
Symbol 491 MovieClip Frame 2
rem(this, "t");
sfx("bramaSnd");
Symbol 491 MovieClip Frame 48
stop();
Symbol 494 Button
on (press) {
root.warp(-16);
}
Symbol 495 Button
on (press) {
root.warp(39);
}
Symbol 496 Button
on (press) {
root.warp(10);
}
Symbol 501 Button
on (press) {
root.warp(33);
}
Symbol 502 MovieClip Frame 1
stop();
rem(this);
i = "fajki";
Instance of Symbol 319 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
sayWhat = "Pay up or get out.";
}
Symbol 502 MovieClip Frame 2
rem(this, "t");
Symbol 502 MovieClip Frame 5
root.say("Okay then...");
Symbol 502 MovieClip Frame 19
sfx("doorSnd");
Symbol 502 MovieClip Frame 20
stop();
Symbol 510 MovieClip Frame 1
i = "zylka";
Symbol 512 MovieClip Frame 1
i = "pic_train";
Symbol 520 MovieClip Frame 1
stop();
rem(this);
Symbol 520 MovieClip Frame 2
root.go = false;
rem(this, "t");
sfx("achieveSnd");
Symbol 520 MovieClip Frame 14
root.go = true;
Symbol 520 MovieClip Frame 15
root.say("Not exactly my old hazmat suit, but will do for now...");
Symbol 520 MovieClip Frame 16
root.go = false;
Symbol 520 MovieClip Frame 44
root.go = true;
Symbol 520 MovieClip Frame 46
stop();
Symbol 521 Button
on (press) {
warp(-19);
}
Symbol 532 MovieClip Frame 1
stop();
przyc.napis = myNr;
Symbol 532 MovieClip Frame 2
_parent.czekKod(myNr);
sfx("guzikSnd");
Symbol 532 MovieClip Frame 20
stop();
Symbol 533 MovieClip Frame 1
kod = "";
czekKod = function (co) {
kod = kod + co;
trace(kod);
if (kod == "17264") {
s.szpitalOpen = true;
root.warp(-5);
}
};
Instance of Symbol 532 MovieClip in Symbol 533 MovieClip Frame 1
onClipEvent (load) {
myNr = 0;
}
Instance of Symbol 532 MovieClip in Symbol 533 MovieClip Frame 1
onClipEvent (load) {
myNr = 7;
}
Instance of Symbol 532 MovieClip in Symbol 533 MovieClip Frame 1
onClipEvent (load) {
myNr = 8;
}
Instance of Symbol 532 MovieClip in Symbol 533 MovieClip Frame 1
onClipEvent (load) {
myNr = 9;
}
Instance of Symbol 532 MovieClip in Symbol 533 MovieClip Frame 1
onClipEvent (load) {
myNr = 4;
}
Instance of Symbol 532 MovieClip in Symbol 533 MovieClip Frame 1
onClipEvent (load) {
myNr = 5;
}
Instance of Symbol 532 MovieClip in Symbol 533 MovieClip Frame 1
onClipEvent (load) {
myNr = 6;
}
Instance of Symbol 532 MovieClip in Symbol 533 MovieClip Frame 1
onClipEvent (load) {
myNr = 1;
}
Instance of Symbol 532 MovieClip in Symbol 533 MovieClip Frame 1
onClipEvent (load) {
myNr = 2;
}
Instance of Symbol 532 MovieClip in Symbol 533 MovieClip Frame 1
onClipEvent (load) {
myNr = 3;
}
Symbol 534 Button
on (press) {
warp(-5);
}
Symbol 536 Button
on (press) {
root.warp(-6);
}
Symbol 537 Button
on (press) {
root.warp(19);
}
Symbol 538 MovieClip Frame 1
stop();
rem(this);
i = "pionek";
Instance of Symbol 319 MovieClip in Symbol 538 MovieClip Frame 1
onClipEvent (load) {
sayWhat = "I'm missing pieces...";
}
Symbol 538 MovieClip Frame 2
rem(this, "t");
Symbol 538 MovieClip Frame 4
if (root.itemInHand == "pionek") {
root.go = true;
}
root.say("Thank You...");
if (root.itemInHand == "pionek") {
root.go = false;
}
Symbol 538 MovieClip Frame 12
stop();
Symbol 542 Button
on (press) {
root.warp(16);
}
Symbol 545 MovieClip Frame 1
i = "petarda";
Symbol 546 MovieClip Frame 1
stop();
if (s.drinkerDone) {
nextFrame();
}
Symbol 547 Button
on (press) {
warp(39);
}
Symbol 548 Button
on (press) {
warp(28);
}
Symbol 551 MovieClip Frame 1
i = "pionek";
Symbol 552 Button
on (press) {
warp(-25);
}
Symbol 555 MovieClip Frame 1
i = "spam1";
Symbol 556 Button
on (press) {
warp(-15);
}
Symbol 563 MovieClip Frame 1
i = "bandaz";
Symbol 564 Button
on (press) {
warp(-29);
}
Symbol 575 MovieClip Frame 1
stop();
rem(this);
i = "karta";
Symbol 575 MovieClip Frame 3
rem(this, "t");
Symbol 575 MovieClip Frame 15
sfx("maszinSnd");
Symbol 575 MovieClip Frame 25
sfx("doorSnd");
Symbol 575 MovieClip Frame 26
stop();
Symbol 576 Button
on (press) {
warp(-37);
}
Symbol 580 MovieClip Frame 1
i = "apteczka";
Symbol 583 MovieClip Frame 1
i = "woda";
Symbol 589 MovieClip Frame 1
i = "pic_gaz2";
Symbol 590 Button
on (press) {
warp(26);
}
Symbol 593 MovieClip Frame 1
i = "bateria";
Symbol 617 Button
on (press) {
root.warp(2);
}
Symbol 618 MovieClip Frame 1
stop();
rem(this);
i = "mlotek";
useMe = false;
Symbol 618 MovieClip Frame 2
rem(this, "t");
root.mlotek._visible = false;
Symbol 618 MovieClip Frame 13
sfx("klodkaSnd");
Symbol 618 MovieClip Frame 19
root.mlotek._visible = true;
Symbol 618 MovieClip Frame 23
sfx("klapaSnd");
Symbol 618 MovieClip Frame 25
stop();
Symbol 620 MovieClip Frame 1
i = "pic_gaz1";
Symbol 630 MovieClip Frame 1
stop();
rem(this);
i = "pionek";
Symbol 630 MovieClip Frame 2
rem(this, "t");
s.pond5 = true;
root.czekCzes();
Symbol 630 MovieClip Frame 20
stop();
Symbol 635 MovieClip Frame 1
stop();
rem(this);
i = "pionek";
Symbol 635 MovieClip Frame 2
rem(this, "t");
s.pond4 = true;
root.czekCzes();
Symbol 635 MovieClip Frame 20
stop();
Symbol 646 MovieClip Frame 1
stop();
rem(this);
i = "pionek";
Symbol 646 MovieClip Frame 2
rem(this, "t");
s.pond1 = true;
root.czekCzes();
Symbol 646 MovieClip Frame 20
stop();
Symbol 649 MovieClip Frame 1
stop();
rem(this);
i = "pionek";
Symbol 649 MovieClip Frame 2
rem(this, "t");
s.pond2 = true;
root.czekCzes();
Symbol 649 MovieClip Frame 20
stop();
Symbol 650 MovieClip Frame 1
stop();
rem(this);
i = "pionek";
Symbol 650 MovieClip Frame 2
rem(this, "t");
s.pond3 = true;
root.czekCzes();
Symbol 650 MovieClip Frame 20
stop();
Symbol 651 MovieClip Frame 1
stop();
rem(this);
i = "pionek";
Symbol 651 MovieClip Frame 2
rem(this, "t");
s.pond6 = true;
root.czekCzes();
Symbol 651 MovieClip Frame 20
stop();
Symbol 652 Button
on (press) {
warp(6);
}
Symbol 657 MovieClip Frame 1
i = "gloves";
Symbol 659 MovieClip Frame 1
i = "cutter";
Symbol 661 MovieClip Frame 1
onEnterFrame = function () {
_x = root._xmouse;
_y = root._ymouse;
};
Symbol 662 MovieClip Frame 1
stop();
if (root.latarka2._visible) {
root.latarka2.sw.nextFrame();
nextFrame();
} else {
root.say("It's too dark in here...");
}
Symbol 663 Button
on (press) {
if (root.latarka2._visible) {
root.latarka2.sw.prevFrame();
}
warp(-2);
}
Symbol 669 MovieClip Frame 1
stop();
rem(this);
i = "klucz1";
Instance of Symbol 319 MovieClip in Symbol 669 MovieClip Frame 1
onClipEvent (load) {
sayWhat = "Closed...";
}
Symbol 669 MovieClip Frame 2
rem(this, "t");
Symbol 669 MovieClip Frame 24
sfx("doorSnd");
Symbol 669 MovieClip Frame 25
stop();
Symbol 670 Button
on (press) {
warp(-43);
}
Symbol 676 MovieClip Frame 1
stop();
rem(this);
i = "klucz3";
Symbol 676 MovieClip Frame 3
sfx("doorSnd");
Symbol 676 MovieClip Frame 5
stop();
rem(this, "c");
Symbol 678 MovieClip Frame 1
i = "book";
Symbol 681 MovieClip Frame 1
i = "cage1";
Symbol 683 Button
on (press) {
root.warp(-16);
}
Symbol 687 MovieClip Frame 1
stop();
rem(this);
i = "piwo";
Instance of Symbol 319 MovieClip in Symbol 687 MovieClip Frame 1
onClipEvent (load) {
sayWhat = "I need a drink.";
}
Symbol 687 MovieClip Frame 2
rem(this, "t");
s.drinkerDone = true;
root.say("Thanks, man.");
Symbol 687 MovieClip Frame 70
root.say("Here, take this with you. Might come handy.");
Symbol 687 MovieClip Frame 150
stop();
Symbol 691 MovieClip Frame 1
i = "klucz1";
Symbol 694 MovieClip Frame 1
i = "pic_adres";
Symbol 695 MovieClip Frame 1
stop();
rem(this);
i = "book";
Instance of Symbol 319 MovieClip in Symbol 695 MovieClip Frame 1
onClipEvent (load) {
sayWhat = "Not sure how to play this...";
}
Symbol 695 MovieClip Frame 2
rem(this, "middle");
Symbol 695 MovieClip Frame 6
root.say("Thank You! Now I can practice...");
s.bookGiven = true;
Symbol 695 MovieClip Frame 50
if (s.bookGiven && (s.czesDone)) {
root.say("Let me return a favor. This person in Puffin Bay will help you...");
play();
} else {
stop();
trace("no go");
}
Symbol 695 MovieClip Frame 52
rem(this, "t");
Symbol 695 MovieClip Frame 163
stop();
Symbol 696 MovieClip Frame 1
stop();
if (s.czesDone) {
nextFrame();
}
Symbol 700 Button
on (press) {
warp(21);
}
Symbol 714 MovieClip Frame 1
i = "klucz4";
Symbol 715 MovieClip Frame 1
stop();
rem(this);
i = "kawa";
Instance of Symbol 319 MovieClip in Symbol 715 MovieClip Frame 1
onClipEvent (load) {
sayWhat = "I'm very sleepy...";
}
Symbol 715 MovieClip Frame 3
rem(this, "middle");
root.say("Thanks. Now I can treat them. Except I don't have any medicine...");
Symbol 715 MovieClip Frame 9
stop();
i = "apteczka2";
Instance of Symbol 319 MovieClip in Symbol 715 MovieClip Frame 9
onClipEvent (load) {
sayWhat = "I don't have any medicine...";
}
Symbol 715 MovieClip Frame 12
rem(this, "t");
root.say("Thanks.");
Symbol 715 MovieClip Frame 53
root.say("Here, take the key to my chopper. Maybe it'll help you get out of here...");
Symbol 715 MovieClip Frame 96
stop();
Symbol 719 Button
on (press) {
root.warp(7);
}
Symbol 722 MovieClip Frame 1
stop();
if (s.obrazZdjety) {
nextFrame();
}
Symbol 722 MovieClip Frame 2
stop();
if (s.sejfOtwarty) {
nextFrame();
}
Symbol 723 Button
on (press) {
warp(-51);
}
Symbol 726 MovieClip Frame 1
stop();
Symbol 726 MovieClip Frame 15
root.openSkrytka("skrytka3");
Symbol 728 MovieClip Frame 1
i = "noz";
Symbol 731 MovieClip Frame 1
i = "klucz3";
Symbol 734 MovieClip Frame 1
i = "pic_pamflet";
Symbol 737 MovieClip Frame 1
stop();
rem(this);
Symbol 737 MovieClip Frame 2
rem(this, "t");
root.go = false;
sfx("achieveSnd");
Symbol 737 MovieClip Frame 20
root.go = true;
root.say("Yes, my size. My hands are saved.");
root.go = false;
Symbol 737 MovieClip Frame 65
root.go = true;
Symbol 737 MovieClip Frame 66
stop();
Symbol 744 MovieClip Frame 1
stop();
Symbol 744 MovieClip Frame 19
root.openSkrytka("skrytka1");
Symbol 746 MovieClip Frame 1
i = "latarka1";
Symbol 748 MovieClip Frame 1
i = "tube";
Symbol 755 Button
on (press) {
warp(-33);
}
Symbol 756 Button
on (press) {
warp(9);
}
Symbol 761 Button
on (press) {
warp(-28);
}
Symbol 762 Button
on (press) {
warp(2);
}
Symbol 770 Button
on (press) {
czekKod("a");
}
Symbol 771 Button
on (press) {
czekKod("b");
}
Symbol 772 Button
on (press) {
czekKod("c");
}
Symbol 773 Button
on (press) {
czekKod("d");
}
Symbol 774 Button
on (press) {
czekKod("e");
}
Symbol 775 Button
on (press) {
czekKod("0");
}
Symbol 776 Button
on (press) {
czekKod("1");
}
Symbol 777 Button
on (press) {
czekKod("2");
}
Symbol 778 Button
on (press) {
czekKod("3");
}
Symbol 779 Button
on (press) {
czekKod("4");
}
Symbol 780 Button
on (press) {
czekKod("5");
}
Symbol 781 Button
on (press) {
czekKod("6");
}
Symbol 782 Button
on (press) {
czekKod("7");
}
Symbol 783 Button
on (press) {
czekKod("8");
}
Symbol 784 Button
on (press) {
czekKod("9");
}
Symbol 793 MovieClip Frame 1
i = "karta";
Symbol 794 MovieClip Frame 1
i = "zloto";
Symbol 795 MovieClip Frame 1
stop();
rem(this);
Symbol 795 MovieClip Frame 3
rem(this, "sejf");
s.obrazZdjety = true;
Symbol 795 MovieClip Frame 32
stop();
kod = "";
czekKod = function (co) {
sfx("guzikSnd");
kod = kod + co;
trace(kod);
if (kod == "ad1827") {
play();
}
};
Symbol 795 MovieClip Frame 34
rem(this, "szkat");
s.sejfOtwarty = true;
Symbol 795 MovieClip Frame 39
stop();
Symbol 795 MovieClip Frame 40
rem(this, "t");
Symbol 795 MovieClip Frame 45
stop();
Symbol 796 Button
on (press) {
warp(-7);
}
Symbol 799 MovieClip Frame 1
i = "fajki";
Symbol 800 Button
on (press) {
root.warp(-2);
}
Symbol 808 MovieClip Frame 1
stop();
rem(this);
i = "kanister2";
Instance of Symbol 319 MovieClip in Symbol 808 MovieClip Frame 1
onClipEvent (load) {
sayWhat = "Empty... How surprizing...";
}
Symbol 808 MovieClip Frame 2
rem(this, "t");
s.zatankowany = true;
Symbol 808 MovieClip Frame 19
sfx("pourSnd");
Symbol 808 MovieClip Frame 79
stop();
Symbol 810 MovieClip Frame 1
stop();
rem(this);
i = "chain";
Instance of Symbol 319 MovieClip in Symbol 810 MovieClip Frame 1
onClipEvent (load) {
sayWhat = "The chain is missing.";
}
Symbol 810 MovieClip Frame 2
rem(this, "t");
s.chainDone = true;
Symbol 810 MovieClip Frame 5
stop();
Symbol 811 MovieClip Frame 1
onMouseDown = function () {
if (this.hitTest(root.klucz4.tester)) {
trace("tacz");
if (s.zatankowany && (s.chainDone)) {
if (s.adresDone) {
root.used("klucz4");
sfx("bikeSnd");
root.przejscie("outro");
} else {
root.go = true;
root.say("I don't know where to go...");
root.go = false;
}
} else {
root.go = true;
root.say("It's still not fixed.");
root.go = false;
}
}
};
Symbol 816 MovieClip Frame 1
i = "chain";
Symbol 817 MovieClip Frame 1
stop();
rem(this);
i = "zloto";
Instance of Symbol 319 MovieClip in Symbol 817 MovieClip Frame 1
onClipEvent (load) {
sayWhat = "Don't waste my time with garbage, kid.";
}
Symbol 817 MovieClip Frame 3
rem(this, "t");
Symbol 817 MovieClip Frame 5
root.czat("robercik");
Symbol 817 MovieClip Frame 8
stop();
Symbol 819 Button
on (press) {
root.warp(-65);
}
Symbol 822 MovieClip Frame 1
i = "kawa";
Symbol 823 MovieClip Frame 1
stop();
rem(this);
i = "cage4";
Instance of Symbol 319 MovieClip in Symbol 823 MovieClip Frame 1
onClipEvent (load) {
sayWhat = "I think I lost him. Have you seen my cat?...";
}
Symbol 823 MovieClip Frame 2
rem(this, "t");
Symbol 823 MovieClip Frame 5
root.say("Oh thank you. Here, take this as a reward.");
Symbol 823 MovieClip Frame 46
sfx("doorSnd");
Symbol 823 MovieClip Frame 51
stop();
Symbol 825 Button
on (press) {
warp(-45);
}
Symbol 826 Button
on (press) {
warp(-39);
}
Symbol 828 Button
on (press) {
warp(-64);
}
Symbol 829 Button
on (press) {
warp(-26);
}
Symbol 832 MovieClip Frame 1
stop();
onPress = function () {
if (_currentframe == 1) {
nextFrame();
} else {
prevFrame();
}
};
Symbol 834 Button
on (press) {
sfx("doorSnd");
warp(-10);
}
Symbol 838 Button
on (press) {
warp(-9);
}
Symbol 840 Button
on (press) {
warp(-6);
}
Symbol 842 Button
on (press) {
warp(-49);
}
Symbol 844 Button
on (press) {
warp(-21);
}
Symbol 847 MovieClip Frame 71
root.nextFrame();
Symbol 850 MovieClip Frame 49
root.say("As I'm trying to get away from this nightmare...");
Symbol 850 MovieClip Frame 176
root.say("I'm beginning to feel right at home here.");
Symbol 850 MovieClip Frame 327
root.say("And that worries me...");
Symbol 850 MovieClip Frame 522
root.say("");
root.przejscie("tbc");
Symbol 852 MovieClip Frame 100
stop();
root.przejscie("menu");