Frame 1
function link(link) {
if (goLive == true) {
getURL (link, "_blank");
}
}
stop();
load_to = "menu";
goLive = true;
gameName = "the Fog Fall 2";
authorInfo = "\u00A9 Pastel Games";
homeSite = "http://www.pastelgames.com";
moreGamesLink = "http://www.armorgames.com";
commentLink = "http://www.pastelforum.com/topic.php?id=370";
footerRGB = 5607057 /* 0x558E91 */;
gameWidth = 550;
gameHeight = 500;
Stage.scaleMode = "noScale";
fscommand ("trapallkeys", true);
Stage.showMenu = false;
fscommand ("showmenu", "false");
Button.prototype.tabEnabled = false;
MovieClip.prototype.tabEnabled = false;
_global.root = this;
gameInit = true;
muteFX = false;
muteAmbient = false;
beginGame = function () {
wygrana = false;
score = 0;
quitOption = false;
gramy = true;
gameZone = true;
showingMochiScores = false;
gotoAndStop ("gra");
};
createFooter = function (gdzie) {
attachMovie("ramka", "ramka", 1000000);
footer = "<p align='center'>The Fog Fall 2 | created by <u><a href='http://www.pastelgames.com' target='_blank'>Pastel Games</a></u> | 2009</p>";
this.createTextField("footerTXT", 3, 0, gdzie, 550, 20);
footerTXT.selectable = false;
footerTXT.html = true;
footerTXT.htmlText = footer;
var _local2 = new TextFormat();
_local2.color = footerRGB;
_local2.align = "center";
_local2.font = "Arial";
_local2.size = 10;
footerTXT.setTextFormat(_local2);
};
toggleSoundFX = function () {
if (!muteFX) {
playSound(pressBtnSound);
muteFX = true;
if (gamePausedMC._visible != true) {
viewMessage((sfxTXT[jezyk] + ": ") + offTXT[jezyk]);
} else {
gamePausedMC.reloadNapisy();
}
} else {
muteFX = false;
if (gamePausedMC._visible != true) {
viewMessage((sfxTXT[jezyk] + ": ") + onTXT[jezyk]);
} else {
gamePausedMC.reloadNapisy();
}
playSound(pressBtnSound);
}
};
toggleAmbient = function () {
if (!muteAmbient) {
stopAllSounds();
playSound(pressBtnSound);
muteAmbient = true;
if (gamePausedMC._visible != true) {
viewMessage((muzykaTXT[jezyk] + ": ") + offTXT[jezyk]);
} else {
gamePausedMC.reloadNapisy();
}
} else {
playSound(pressBtnSound);
ktoryAmbient.start();
muteAmbient = false;
if (gamePausedMC._visible != true) {
viewMessage((muzykaTXT[jezyk] + ": ") + onTXT[jezyk]);
} else {
gamePausedMC.reloadNapisy();
}
}
};
showQuitScreen = function () {
if (!quitOption) {
if (gramy) {
playSound(pressBtnSound);
quitOption = true;
gramy = false;
attachMovie("quitMC", "quitMC", 900001);
wysrodkujMC(quitMC);
}
} else {
playSound(pressBtnSound);
quitOption = false;
quitMC.dissolve = true;
}
};
endGame = function (output) {
gameZone = false;
ktoryAmbient = "";
stopAllSounds();
removeAllAtaczes();
removeAllItems();
gramy = false;
muteFX = false;
muteAmbient = false;
przejscie("menu");
};
viewMessage = function (jakiMessage) {
if ((gamePausedMC._visible != true) && (quitMC._visible != true)) {
attachMovie("messageMC", "messageMC", 900000);
messageMC.mc1.napis = jakiMessage;
wysrodkujMC(messageMC);
}
};
playSound = function (ktory) {
if (!muteFX) {
ktory.start();
}
};
playAmbient = function (ktory) {
if ((!muteAmbient) && (ktoryAmbient != ktory)) {
stopAllSounds();
ktory.start();
}
ktoryAmbient = ktory;
ktoryAmbient.onSoundComplete = function () {
this.start();
};
};
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();
};
przechodzimy = false;
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);
}
};
var toRemove = [];
toRemove[1] = "gamePausedMC";
toRemove[2] = "quitMC";
toRemove[3] = "messageMC";
toRemove[4] = "scoreMC";
removeAllAtaczes = function () {
i = 1;
while (i < 50) {
removeMovieClip(toRemove[i]);
j = 1;
while (j < 50) {
removeMovieClip(eval (toRemove[i] + j));
j++;
}
i++;
}
};
Frame 3
stop();
Frame 18
footerTXT.removeTextField();
wysokosc = 480;
createFooter(480);
saveFile = SharedObject.getLocal("saveFile");
rollOverBtnSoundMC = this.createEmptyMovieClip("rollOverBtnSoundAnchor", 10);
rollOverBtnSound = new Sound(rollOverBtnSoundMC);
rollOverBtnSound.attachSound("rollOverBtnSound");
rollOverBtnSound.setVolume(25);
pressBtnSound = new Sound(this);
pressBtnSound.attachSound("pressBtnSound");
pickUpSound = new Sound(this);
pickUpSound.attachSound("pickUpSound");
putDownSound = new Sound(this);
putDownSound.attachSound("putDownSound");
findSound = new Sound(this);
findSound.attachSound("findSound");
useItemSound = new Sound(this);
useItemSound.attachSound("useItemSound");
moveSound = new Sound(this);
moveSound.attachSound("moveSound");
viewItemSound = new Sound(this);
viewItemSound.attachSound("viewItemSound");
wiatr = new Sound(this);
wiatr.attachSound("wiatr");
amb2 = new Sound(this);
amb2.attachSound("amb2");
shootRifleSnd = new Sound(this);
shootRifleSnd.attachSound("shootRifleSnd");
emptyRifleSnd = new Sound(this);
emptyRifleSnd.attachSound("emptyRifleSnd");
loadRifleSnd = new Sound(this);
loadRifleSnd.attachSound("loadRifleSnd");
gasolineSnd = new Sound(this);
gasolineSnd.attachSound("gasolineSnd");
openWlewSnd = new Sound(this);
openWlewSnd.attachSound("openWlewSnd");
openChamberSnd = new Sound(this);
openChamberSnd.attachSound("openChamberSnd");
ceglySnd = new Sound(this);
ceglySnd.attachSound("ceglySnd");
doorSlideSnd = new Sound(this);
doorSlideSnd.attachSound("doorSlideSnd");
hoodCloseSnd = new Sound(this);
hoodCloseSnd.attachSound("hoodCloseSnd");
hoodOpenSnd = new Sound(this);
hoodOpenSnd.attachSound("hoodOpenSnd");
klapaSwitchSnd = new Sound(this);
klapaSwitchSnd.attachSound("klapaSwitchSnd");
truckSnd = new Sound(this);
truckSnd.attachSound("truckSnd");
crowbarSnd = new Sound(this);
crowbarSnd.attachSound("crowbarSnd");
bigDoorSnd = new Sound(this);
bigDoorSnd.attachSound("bigDoorSnd");
rozmowaSnd = new Sound(this);
rozmowaSnd.attachSound("rozmowaSnd");
achieveSnd = new Sound(this);
achieveSnd.attachSound("achieveSnd");
truckDoorOpen = new Sound(this);
truckDoorOpen.attachSound("truckDoorOpen");
drabinaSnd = new Sound(this);
drabinaSnd.attachSound("drabinaSnd");
hitBramaSnd = new Sound(this);
hitBramaSnd.attachSound("hitBramaSnd");
introMus1 = new Sound(this);
introMus1.attachSound("introMus1");
muza = new Sound(this);
muza.attachSound("muza");
eleSnd = new Sound(this);
eleSnd.attachSound("eleSnd");
klamkaHaczSnd = new Sound(this);
klamkaHaczSnd.attachSound("klamkaHaczSnd");
Frame 25
playAmbient(introMus1);
Frame 32
reset = function () {
menuActive = false;
menuVisible = true;
ktoraMuza = amb1;
jumperItem = false;
panoramicDistance = 200;
panoramicStep = 15;
itemInHand = false;
opis = "";
liniaMenu = 440;
rozstawMenu = 40;
maxItems = 15;
center = 275;
itemNumber = 0;
itemsOnScreen = 0;
showingItem = false;
i = 0;
while (i < 200) {
eval ("rooms.r" + i)._visible = false;
i++;
}
checkInventoryStatus();
};
var itemPlaceTaken = [];
var listOfItems = new Array();
var listOfPhotos = new Array();
var listOfDocuments = new Array();
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));
itemFinder = function () {
if (gramy) {
if (itemsOnScreen < maxItems) {
itemCollect(String(this._name).substring(2));
this._visible = false;
saveFile.data[this.ktorySave] = true;
} else {
playSound(inventoryFull);
opis = "the inventory is full...";
}
}
};
warp = function (num) {
if (gramy) {
gotoAndStop(_currentframe + num);
playSound(moveSound);
opis = "";
rozmowa("");
roomNr = num;
saveFile.data.cFrame = _currentframe;
}
};
itemCollect = function (co) {
showInvBtn.A = 300;
showInvBtn.napis = "hide inventory";
opis = "";
itemNumber++;
itemPlaceTaken[itemNumber] = co;
attachMovie(co, co, itemNumber + 450, {destY:liniaMenu, filters:[shadowJasny], ktory:itemNumber, moveInitVal:0, inInventory:false, drag:false, alfa:100, onEnterFrame:itemLocate, onRollOver:itemName, onRollOut:itemNameEnd, onPress:itemPress});
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 = eval (itemPlaceTaken[i]).destX - (rozstawMenu / 2);
i++;
}
}
itemsOnScreen++;
setLastName(itemNumber);
if (!restoring) {
playSound(findSound);
listOfItems.push(co);
saveListOfItems();
this[co]._x = _xmouse;
this[co]._y = _ymouse;
} else {
this[co]._x = center;
this[co]._y = liniaMenu;
}
onCollect(co);
};
itemLocate = function () {
if (gramy) {
if (((_ymouse >= (liniaMenu - 40)) && (this.inInventory)) && (!showingItem)) {
this.nr = 40 - (Math.abs(_xmouse - this._x) / 2);
if (this.nr <= 0) {
this.nr = 0;
}
this._xscale = this._xscale + (((100 + this.nr) - this._xscale) * 0.2);
this._yscale = this._yscale + (((100 + this.nr) - this._yscale) * 0.2);
} else {
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 == false) {
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)) {
} else if (this._currentframe != 1) {
if (!showingItem) {
this.prevFrame();
}
}
}
};
shadowLocate = function () {
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);
};
itemName = function () {
if (gramy) {
if (itemInHand == false) {
opis = items[this._name][0];
}
}
};
itemNameEnd = function () {
opis = "";
};
itemPress = function () {
if (gramy) {
if (items[this._name][1] == true) {
if (this._alpha >= 60) {
if (!itemInHand) {
if (this.drag == false) {
this._alpha = 100;
itemInHand = true;
Mouse.hide();
shadowName = this._name + "_shadow";
this.swapDepths(this.ktory + 500);
attachMovie(this._name, shadowName, this.ktory + 400, {onEnterFrame:shadowLocate, _alpha:50, destItem:this._name, _x:this.destX, _y:this.destY});
eval (shadowName).gotoAndStop(this._totalframes);
root.visibleShadow = shadowName;
playSound(pickUpSound);
this.startDrag(true);
this.drag = true;
opis = "";
}
} else if (this.tester.hitTest(this.destX, this.destY) && (itemInHand == true)) {
Mouse.show();
stopDrag();
this.moveInitVal = 0;
removeMovieClip(eval (shadowName));
this.swapDepths(this.ktory + 400);
this.drag = false;
opis = "";
playSound(putDownSound);
itemInHand = false;
}
checkHitTest(this._name);
}
} else {
opis = "";
if ((this._name == "documents") || (this._name == "photos")) {
playSound(documentsSound);
} else {
playSound(viewItemSound);
}
showItem(this._name);
showInvBtn._visible = false;
opisBlackMC._visible = false;
toggleInventory();
}
}
};
showItem = function (co) {
attachMovie(co + "Room", "showRoom", 5000);
showingItem = true;
};
used = function (co, jak) {
i = 0;
while (i < listOfItems.length) {
if (listOfItems[i].toString() == String(co).substring(8)) {
listOfItems.splice(i, 1);
}
i++;
}
itemsOnScreen--;
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;
playSound(useItemSound);
setLastName(itemNumber);
if (jak == false) {
itemInHand = false;
Mouse.show();
}
removeMovieClip(eval (co + "_shadow"));
removeMovieClip(co);
};
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();
itemNumber = 0;
itemsOnScreen = 0;
itemInHand = false;
showInvBtn.A = 450;
};
toInventory = function () {
if (this.friction <= 0.2) {
this.friction = this.friction + 0.02;
}
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);
this._alpha = this._alpha - 4;
if (this._alpha <= 0) {
removeMovieClip(this);
delete this.onEnterFrame;
}
};
checkInventoryStatus = function () {
if ((saveFile.data.itemsInInventory != undefined) && (saveFile.data.itemsInInventory != 0)) {
listOfItems = saveFile.data.listOfItems;
restoring = true;
restoringNr = 1;
restoringInt = setInterval(restoreItemsFromSave, 50);
} else {
restoring = false;
}
};
saveListOfItems = function () {
saveFile.data.listOfItems = listOfItems;
saveFile.data.itemsInInventory = listOfItems.length;
};
restoreItemsFromSave = function () {
if (restoring) {
itemCollect(String(listOfItems[restoringNr - 1]));
if (restoringNr != listOfItems.length) {
restoringNr++;
} else {
clearInterval(restoringInt);
restoring = false;
}
}
if (saveFile.data.listOfDocuments != undefined) {
listOfDocuments = saveFile.data.listOfDocuments;
}
if (saveFile.data.listOfPhotos != undefined) {
listOfPhotos = saveFile.data.listOfPhotos;
}
reloadItems();
};
restoreRoom = function () {
if (saveFile.data.cFrame == undefined) {
gotoAndStop ("gra");
} else {
gotoAndStop(saveFile.data.cFrame);
}
gramy = true;
};
trejs = function () {
};
var invKey = new Object();
Key.addListener(invKey);
invKey.onKeyDown = function () {
if (Key.getCode() == 73) {
if (listOfItems.length != 0) {
toggleInventory();
}
}
};
toggleInventory = function () {
if (menuVisible) {
i = 0;
while (i < 100) {
eval ("root." + root.listOfItems[i]).destX = eval ("root." + root.listOfItems[i]).destX - 550;
i++;
}
playSound(hideInventorySound);
menuVisible = false;
showInvBtn.A = (opisBlackMC.A = 380);
showInvBtn.napis = "show inventory";
} else {
i = 0;
while (i < 100) {
eval ("root." + root.listOfItems[i]).destX = eval ("root." + root.listOfItems[i]).destX + 550;
i++;
}
playSound(showInventorySound);
menuVisible = true;
showInvBtn.A = (opisBlackMC.A = 300);
showInvBtn.napis = "hide inventory";
}
opis = "";
};
rozmawiamy = false;
rozmowa = function (co) {
if ((rozmawiamy == false) && (co != "")) {
attachMovie("dialogBox", "dialogBox", 50);
dialogBox._x = 275;
dialogBox._y = -20;
rozmawiamy = true;
}
if (co == "") {
dialogBox.A = -20;
rozmawiamy = false;
} else {
dialogBox.msg = co;
}
};
toRemove[5] = "showRoom";
toRemove[6] = "sklep";
toRemove[7] = "dialogBox";
gotoAndStop ("dane");
Frame 38
var items = [];
reloadItems = function () {
items.crowbar = ["crowbar", true];
items.naboje = ["rifle rounds", true];
items.mlotek = ["hammer", true];
items.spaghetti = ["spaghetti bolognese instant", true];
items.kanister = ["empty fuel can", true];
items.akumulator = ["accumulator", true];
items.naszyjnik = ["wolf fang necklace", true];
items.gasoline = ["gasoline", true];
items.klucz = ["ignition key", true];
};
reloadItems();
checkHitTest = function (co) {
if (mlotek.hitTest(cegielki.tester)) {
playSound(ceglySnd);
cegielki.nextFrame();
}
if (crowbar.hitTest(skobel.tester)) {
playSound(crowbarSnd);
skobel.play();
}
if (naboje.hitTest(karabin.tester)) {
if (saveFile.data.karabin_loaded != true) {
karabin.play();
}
}
if (akumulator.hitTest(akumulator_placed.tester)) {
if (saveFile.data.klapaOpened == true) {
saveFile.data.akumulatorOK = true;
akumulator_placed.gotoAndStop(2);
used("akumulator", false);
}
}
if (spaghetti.hitTest(karol.tester)) {
karol.gotoAndStop("spaghetti");
used("spaghetti", false);
}
if (kanister.hitTest(karol.tester2)) {
karol.gotoAndStop("done");
used("kanister", false);
}
if (naszyjnik.hitTest(stalker.tester)) {
stalker.gotoAndStop("done");
used("naszyjnik", false);
}
if (gasoline.hitTest(wlew.tester)) {
wlew.gotoAndPlay("done");
used("gasoline", false);
}
if (klucz.hitTest(kluczyk_w_stacyjce.tester)) {
if (((saveFile.data.gasolineOK == true) && (saveFile.data.akumulatorOK == true)) && (saveFile.data.klapaOpened == false)) {
kluczyk_w_stacyjce.play();
b1._visible = false;
b1.enabled = false;
used("klucz", false);
}
}
};
onCollect = function (co) {
if (co == "naszyjnik") {
babka.nextFrame();
}
if (co == "gasoline") {
karol.nextFrame();
}
if (co == "klucz") {
stalker.nextFrame();
}
};
playAmbient(wiatr);
saveFile.clear();
createFooter(400);
reset();
restoreRoom();
beginGame();
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 13 MovieClip [messageMC] Frame 1
_alpha = 150;
onEnterFrame = function () {
_alpha = (_alpha - 4);
if (_alpha <= 0) {
delete onEnterFrame;
removeMovieClip(this);
}
};
Symbol 15 MovieClip Frame 1
_alpha = 0;
Symbol 69 MovieClip Frame 1
stop();
Symbol 107 Button
on (press) {
root.playSound(root.rozmowaSnd);
root.przejscie("intro");
}
Symbol 110 Button
on (release) {
getURL ("http://www.facebook.com/mateuszskutnik", "_blank");
}
Symbol 113 Button
on (release) {
getURL ("http://www.twitter.com/mateuszskutnik", "_blank");
}
Symbol 116 Button
on (release) {
getURL ("http://www.mateuszskutnik.com/more.php", "_blank");
}
Symbol 128 Button
on (press) {
root.warp(7);
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = "";
}
Symbol 129 Button
on (press) {
play();
}
Symbol 142 MovieClip Frame 1
napis = "";
Symbol 142 MovieClip Frame 23
napis = "I remember the fog...";
Symbol 142 MovieClip Frame 74
napis = "";
Symbol 142 MovieClip Frame 91
napis = "I remember the night...";
Symbol 142 MovieClip Frame 140
napis = "";
Symbol 142 MovieClip Frame 151
napis = "and I remember the bright light as I stepped out of my shelter";
Symbol 142 MovieClip Frame 277
root.gotoAndStop("float");
Symbol 142 MovieClip Frame 485
stop();
root.przejscie("float");
Symbol 145 Button
on (press) {
playSound(rozmowaSnd);
introMC.stop();
przejscie("float");
}
Symbol 148 Button
on (press) {
warp(1);
}
Symbol 150 Button
on (press) {
warp(3);
}
Symbol 152 Button
on (press) {
warp(4);
}
Symbol 156 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (root.opis != "") {
DynamicOpis.napis = root.opis;
}
if (root.opis == "") {
prevFrame();
} else {
nextFrame();
}
};
footerDisplay = root.footerTxt;
Symbol 158 Button
on (press) {
warp(-1);
}
Symbol 159 Button
on (press) {
warp(1);
}
Symbol 160 Button
on (press) {
warp(10);
}
Symbol 165 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 169 Button
on (press) {
warp(-1);
}
Symbol 171 Button
on (press) {
warp(-3);
}
Symbol 172 Button
on (press) {
warp(1);
}
Symbol 174 Button
on (press) {
playAmbient(muza);
warp(45);
}
Symbol 176 Button
on (press) {
warp(-1);
}
Symbol 177 Button
on (press) {
warp(-4);
}
Symbol 178 Button
on (press) {
warp(1);
}
Symbol 179 Button
on (press) {
warp(37);
}
Symbol 181 Button
on (press) {
warp(-1);
}
Symbol 182 Button
on (press) {
warp(1);
}
Symbol 185 Button
on (press) {
warp(-1);
}
Symbol 186 Button
on (press) {
playSound(drabinaSnd);
warp(1);
}
Symbol 187 Button
on (press) {
warp(31);
}
Symbol 189 Button
on (press) {
playSound(drabinaSnd);
warp(-1);
}
Symbol 190 Button
on (press) {
playSound(drabinaSnd);
warp(1);
}
Symbol 201 Button
on (press) {
playSound(drabinaSnd);
warp(-1);
}
Symbol 203 Button
on (press) {
warp(1);
}
Symbol 212 MovieClip Frame 1
stop();
if (root.saveFile.data.bullets_count == 0) {
root.saveFile.data.karabin_loaded = false;
}
Symbol 212 MovieClip Frame 2
root.saveFile.data.bullets_count = 3;
root.saveFile.data.karabin_loaded = true;
root.playSound(root.openChamberSnd);
Symbol 212 MovieClip Frame 16
root.playSound(root.loadRifleSnd);
Symbol 212 MovieClip Frame 28
root.playSound(root.loadRifleSnd);
Symbol 212 MovieClip Frame 39
root.playSound(root.loadRifleSnd);
Symbol 212 MovieClip Frame 48
root.playSound(root.openChamberSnd);
Symbol 213 Button
on (press) {
warp(-1);
}
Symbol 214 Button
on (press) {
i = 0;
while (i < 20) {
eval ("root." + root.listOfItems[i])._visible = false;
i++;
}
warp(1);
}
Symbol 221 MovieClip Frame 1
stop();
ktorySave = _name + "_stage";
saveMyState = function (nr) {
root.saveFile.data[ktorySave] = nr;
};
if (root.saveFile.data[ktorySave] != undefined) {
gotoAndStop(root.saveFile.data[ktorySave]);
}
Symbol 221 MovieClip Frame 2
saveMyState(_totalframes);
Symbol 221 MovieClip Frame 16
stop();
Symbol 225 MovieClip Frame 1
stop();
ktorySave = _name + "_stage";
saveMyState = function (nr) {
root.saveFile.data[ktorySave] = nr;
};
if (root.saveFile.data[ktorySave] != undefined) {
gotoAndStop(root.saveFile.data[ktorySave]);
}
Symbol 225 MovieClip Frame 2
saveMyState(_totalframes);
Symbol 225 MovieClip Frame 16
stop();
Symbol 229 MovieClip Frame 1
stop();
ktorySave = _name + "_stage";
saveMyState = function (nr) {
root.saveFile.data[ktorySave] = nr;
};
if (root.saveFile.data[ktorySave] != undefined) {
gotoAndStop(root.saveFile.data[ktorySave]);
}
Symbol 229 MovieClip Frame 2
saveMyState(_totalframes);
Symbol 229 MovieClip Frame 16
stop();
Symbol 238 Button
on (press) {
Mouse.show();
i = 0;
while (i < 20) {
eval ("root." + root.listOfItems[i])._visible = true;
i++;
}
root.warp(-1);
}
Symbol 241 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 1
Mouse.hide();
onMouseMove = function () {
if ((_xmouse >= 450) && (_ymouse >= 300)) {
Mouse.show();
} else {
Mouse.hide();
}
A = 275 - crosshair._x;
tlo._x = 275 + (A * 3);
};
startDrag ("crosshair", true, 0, 0, 550, 400);
onMouseDown = function () {
if ((_xmouse <= 450) || (_ymouse <= 300)) {
if ((root.saveFile.data.bullets_count != undefined) && (root.saveFile.data.bullets_count != 0)) {
root.playSound(root.shootRifleSnd);
root.saveFile.data.bullets_count--;
if (tlo.z1.hitTest(crosshair._x, crosshair._y, true)) {
if (tlo.z1._currentframe == 1) {
root.saveFile.data.z1_killed = true;
krew._x = crosshair._x;
krew._y = crosshair._y;
krew.play();
tlo.z1.play();
}
}
if (tlo.z2.hitTest(crosshair._x, crosshair._y, true)) {
if (tlo.z2._currentframe == 1) {
root.saveFile.data.z2_killed = true;
krew._x = crosshair._x;
krew._y = crosshair._y;
krew.play();
tlo.z2.play();
}
}
if (tlo.z3.hitTest(crosshair._x, crosshair._y, true)) {
if (tlo.z3._currentframe == 1) {
root.saveFile.data.z3_killed = true;
krew._x = crosshair._x;
krew._y = crosshair._y;
krew.play();
tlo.z3.play();
}
}
if (tlo.z4.hitTest(crosshair._x, crosshair._y, true)) {
if (tlo.z4._currentframe == 1) {
root.saveFile.data.z4_killed = true;
krew._x = crosshair._x;
krew._y = crosshair._y;
krew.play();
tlo.z4.play();
}
}
if (tlo.z5.hitTest(crosshair._x, crosshair._y, true)) {
if (tlo.z5._currentframe == 1) {
root.saveFile.data.z5_killed = true;
krew._x = crosshair._x;
krew._y = crosshair._y;
krew.play();
tlo.z5.play();
}
}
} else {
root.playSound(root.emptyRifleSnd);
root.saveFile.data.bullets_count = 0;
root.saveFile.data.karabin_loaded = false;
}
}
};
Symbol 245 MovieClip Frame 1
if (root.saveFile.data.skobel_stage != undefined) {
_visible = true;
} else {
_visible = false;
}
Symbol 246 Button
on (press) {
warp(1);
}
Symbol 247 Button
on (press) {
warp(9);
}
Symbol 248 Button
on (press) {
warp(10);
}
Symbol 249 Button
on (press) {
warp(14);
}
Symbol 250 Button
on (press) {
warp(-10);
}
Symbol 259 Button
on (press) {
root.warp(1);
}
Symbol 260 MovieClip Frame 1
stop();
ktorySave = _name + "_stage";
saveMyState = function (nr) {
root.saveFile.data[ktorySave] = nr;
};
if (root.saveFile.data[ktorySave] != undefined) {
gotoAndStop(root.saveFile.data[ktorySave]);
}
Symbol 260 MovieClip Frame 2
saveMyState(_totalframes);
Symbol 260 MovieClip Frame 32
root.playSound(root.bigDoorSnd);
Symbol 260 MovieClip Frame 35
stop();
Symbol 261 Button
on (press) {
warp(-1);
}
Symbol 270 MovieClip Frame 1
stop();
if (root.saveFile.data.klapaOpened == true) {
gotoAndStop (2);
}
Symbol 270 MovieClip Frame 2
onPress = function () {
root.saveFile.data.klapaOpened = false;
root.saveFile.data.klapaLoose = false;
root.playSound(root.hoodCloseSnd);
gotoAndStop (1);
};
Symbol 280 MovieClip Frame 1
stop();
if (root.saveFile.data.wlew_opened == true) {
gotoAndStop (2);
}
Symbol 281 Button
on (press) {
warp(-1);
}
Symbol 282 Button
on (press) {
if (saveFile.data.samochod_drzwi_stage != undefined) {
root.playSound(root.truckDoorOpen);
}
warp(1);
}
Symbol 283 Button
on (press) {
warp(3);
}
Symbol 284 Button
on (press) {
warp(6);
}
Symbol 285 Button
on (press) {
warp(5);
}
Symbol 290 Button
on (press) {
root.warp(1);
}
Symbol 292 MovieClip Frame 1
stop();
ktorySave = _name + "_stage";
saveMyState = function (nr) {
root.saveFile.data[ktorySave] = nr;
};
onPress = function () {
root.playSound(root.truckDoorOpen);
saveMyState(2);
delete onPress;
gotoAndStop (2);
};
if (root.saveFile.data[ktorySave] != undefined) {
delete onPress;
gotoAndStop (2);
}
Symbol 293 Button
on (press) {
warp(-1);
}
Symbol 298 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 1
stop();
Symbol 305 MovieClip Frame 1
if (root.saveFile.data.klapaOpened == true) {
_visible = true;
} else {
_visible = false;
}
Symbol 311 MovieClip Frame 1
stop();
onPress = function () {
delete onPress;
root.playSound(root.klapaSwitchSnd);
root.saveFile.data.klapaLoose = true;
gotoAndStop (2);
};
if (root.saveFile.data.klapaLoose == true) {
delete onPress;
gotoAndStop (2);
}
Symbol 315 MovieClip Frame 1
stop();
Symbol 315 MovieClip Frame 17
root.playSound(root.truckSnd);
Symbol 315 MovieClip Frame 30
stop();
root.gotoAndStop("koniec");
Symbol 316 Button
on (press) {
warp(-1);
}
Symbol 327 MovieClip Frame 1
stop();
ktorySave = _name + "_stage";
saveMyState = function (nr) {
root.saveFile.data[ktorySave] = nr;
};
if (root.saveFile.data[ktorySave] != undefined) {
gotoAndStop(root.saveFile.data[ktorySave]);
}
Symbol 327 MovieClip Frame 2
saveMyState(2);
Symbol 331 Button
on (press) {
warp(-3);
}
Symbol 334 Button
on (press) {
if (root.saveFile.data.klapaLoose == true) {
root.saveFile.data.klapaOpened = true;
root.playSound(root.hoodOpenSnd);
gotoAndStop (2);
}
}
Symbol 336 MovieClip Frame 1
stop();
if (root.saveFile.data.klapaOpened == true) {
gotoAndStop (2);
}
Symbol 340 Button
on (press) {
warp(24);
}
Symbol 341 Button
on (press) {
warp(25);
}
Symbol 350 MovieClip Frame 1
stop();
ktorySave = _name + "_stage";
saveMyState = function (nr) {
root.saveFile.data[ktorySave] = nr;
};
onPress = function () {
play();
};
if (root.saveFile.data[ktorySave] != undefined) {
gotoAndStop(root.saveFile.data[ktorySave]);
}
Symbol 350 MovieClip Frame 2
saveMyState(15);
root.playSound(root.openWlewSnd);
root.saveFile.data.wlew_opened = true;
Symbol 350 MovieClip Frame 15
stop();
Symbol 350 MovieClip Frame 16
saveMyState(1);
root.playSound(root.openWlewSnd);
root.saveFile.data.wlew_opened = false;
Symbol 350 MovieClip Frame 30
gotoAndStop (1);
Symbol 350 MovieClip Frame 46
saveMyState(130);
delete onPress;
root.saveFile.data.wlew_opened = false;
root.saveFile.data.gasolineOK = true;
Symbol 350 MovieClip Frame 62
root.playSound(root.gasolineSnd);
Symbol 350 MovieClip Frame 109
root.playSound(root.openWlewSnd);
Symbol 350 MovieClip Frame 130
stop();
saveMyState(130);
delete onPress;
Symbol 351 Button
on (press) {
warp(-5);
}
Symbol 360 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 366 Button
on (press) {
warp(-6);
}
Symbol 370 Button
on (press) {
warp(-9);
}
Symbol 372 Button
on (press) {
warp(10);
}
Symbol 374 Button
on (press) {
warp(1);
}
Symbol 375 Button
on (press) {
warp(-10);
}
Symbol 376 Button
on (press) {
playAmbient(eleSnd);
warp(19);
}
Symbol 378 Button
on (press) {
warp(1);
}
Symbol 379 Button
on (press) {
warp(-1);
}
Symbol 385 MovieClip Frame 1
if (root.saveFile.data.f_naboje_finder == true) {
_visible = true;
} else {
_visible = false;
}
Symbol 387 Button
on (press) {
warp(-1);
}
Symbol 389 Button
on (press) {
warp(1);
}
Symbol 391 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 392 Button
on (press) {
warp(-1);
}
Symbol 394 Button
on (press) {
warp(-14);
}
Symbol 395 Button
on (press) {
warp(1);
}
Symbol 397 Button
on (press) {
warp(-1);
}
Symbol 398 Button
on (press) {
warp(1);
}
Symbol 400 Button
on (press) {
warp(-1);
}
Symbol 401 Button
on (press) {
warp(1);
}
Symbol 402 Button
on (press) {
warp(2);
}
Symbol 407 Button
on (press) {
root.warp(-1);
}
Symbol 416 Button
on (press) {
root.playSound(root.rozmowaSnd);
nextFrame();
}
Symbol 421 Button
on (press) {
root.playSound(root.rozmowaSnd);
prevFrame();
}
Symbol 426 Button
on (press) {
root.playSound(root.rozmowaSnd);
if (root.kanister._visible) {
gotoAndStop ("gimme");
} else {
gotoAndStop ("need");
}
}
Symbol 429 Button
on (press) {
root.playSound(root.rozmowaSnd);
nextFrame();
}
Symbol 432 Button
on (press) {
if (root.kanister._visible) {
root.playSound(root.rozmowaSnd);
prevFrame();
}
}
Symbol 436 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 437 MovieClip Frame 1
stop();
ktorySave = _name + "_stage";
saveMyState = function (nr) {
root.saveFile.data[ktorySave] = nr;
};
man.onPress = function () {
root.playSound(root.rozmowaSnd);
delete man.onPress;
nextFrame();
};
if (root.saveFile.data[ktorySave] != undefined) {
delete man.onPress;
gotoAndStop(root.saveFile.data[ktorySave]);
}
Symbol 437 MovieClip Frame 2
saveMyState(_currentframe);
Symbol 437 MovieClip Frame 3
saveMyState(_currentframe);
Symbol 437 MovieClip Frame 4
saveMyState(_currentframe);
man.onPress = function () {
root.playSound(root.rozmowaSnd);
delete man.onPress;
nextFrame();
};
Symbol 437 MovieClip Frame 14
saveMyState(_currentframe);
root.playSound(root.rozmowaSnd);
delete man.onPress;
Symbol 437 MovieClip Frame 15
saveMyState(_currentframe);
delete man.onPress;
Symbol 437 MovieClip Frame 22
delete man.onPress;
Symbol 437 MovieClip Frame 23
saveMyState(_currentframe);
man.onPress = function () {
delete man.onPress;
root.playSound(root.rozmowaSnd);
if (root.kanister._visible) {
gotoAndStop ("gimme");
} else {
gotoAndStop ("need");
}
};
Symbol 437 MovieClip Frame 24
delete man.onPress;
Symbol 437 MovieClip Frame 40
root.playSound(root.achieveSnd);
saveMyState(_currentframe);
delete man.onPress;
Symbol 437 MovieClip Frame 41
delete man.onPress;
saveMyState(_currentframe);
Symbol 439 Button
on (press) {
warp(-2);
}
Symbol 444 Button
on (press) {
root.warp(-10);
}
Symbol 451 Button
on (press) {
nextFrame();
}
Symbol 452 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 453 MovieClip Frame 1
stop();
ktorySave = _name + "_stage";
saveMyState = function (nr) {
root.saveFile.data[ktorySave] = nr;
};
man.onPress = function () {
delete man.onPress;
root.playSound(root.rozmowaSnd);
nextFrame();
};
if (root.saveFile.data[ktorySave] != undefined) {
delete man.onPress;
gotoAndStop(root.saveFile.data[ktorySave]);
}
Symbol 453 MovieClip Frame 2
saveMyState(_currentframe);
Symbol 453 MovieClip Frame 3
saveMyState(_currentframe);
Symbol 453 MovieClip Frame 4
saveMyState(_currentframe);
man.onPress = function () {
root.playSound(root.rozmowaSnd);
delete man.onPress;
prevFrame();
};
Symbol 453 MovieClip Frame 18
saveMyState(_currentframe);
root.playSound(root.rozmowaSnd);
delete man.onPress;
Symbol 453 MovieClip Frame 19
root.playSound(root.achieveSnd);
Symbol 453 MovieClip Frame 20
saveMyState(_currentframe);
delete man.onPress;
Symbol 460 Button
on (press) {
root.warp(2);
}
Symbol 461 MovieClip Frame 1
stop();
ktorySave = _name + "_stage";
saveMyState = function (nr) {
root.saveFile.data[ktorySave] = nr;
};
if (root.saveFile.data[ktorySave] != undefined) {
gotoAndStop(root.saveFile.data[ktorySave]);
}
Symbol 461 MovieClip Frame 2
saveMyState(_currentframe);
Symbol 461 MovieClip Frame 3
saveMyState(_currentframe);
Symbol 461 MovieClip Frame 4
saveMyState(_currentframe);
Symbol 462 Button
on (press) {
warp(14);
}
Symbol 463 Button
on (press) {
warp(13);
}
Symbol 464 Button
on (press) {
warp(12);
}
Symbol 468 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = "f_spaghetti_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 480 Button
on (press) {
warp(1);
}
Symbol 481 Button
on (press) {
warp(4);
}
Symbol 482 Button
on (press) {
warp(3);
}
Symbol 486 Button
on (press) {
warp(-1);
}
Symbol 487 Button
on (press) {
warp(-2);
}
Symbol 488 Button
on (press) {
warp(1);
}
Symbol 492 MovieClip Frame 1
stop();
onPress = function () {
play();
};
Symbol 492 MovieClip Frame 2
root.playSound(root.klamkaHaczSnd);
Symbol 493 Button
on (press) {
warp(-1);
}
Symbol 498 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 499 Button
on (press) {
warp(-3);
}
Symbol 506 MovieClip Frame 1
stop();
onPress = function () {
root.playSound(root.rozmowaSnd);
if (_currentframe == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Symbol 507 Button
on (press) {
warp(-4);
}
Symbol 511 Button
on (press) {
warp(-31);
}
Symbol 512 Button
on (press) {
warp(1);
}
Symbol 513 Button
on (press) {
playSound(drabinaSnd);
warp(-30);
}
Symbol 518 MovieClip Frame 1
stop();
Symbol 519 MovieClip Frame 1
if (root.saveFile.data.z2_killed == true) {
_visible = false;
}
Symbol 521 MovieClip Frame 1
if (root.saveFile.data.z4_killed == true) {
_visible = false;
}
Symbol 523 MovieClip Frame 1
if (root.saveFile.data.z1_killed == true) {
_visible = false;
}
Symbol 525 MovieClip Frame 1
if (root.saveFile.data.z3_killed == true) {
_visible = false;
}
Symbol 526 MovieClip Frame 1
if (root.saveFile.data.z5_killed == true) {
_visible = false;
}
Symbol 532 Button
on (press) {
root.warp(1);
}
Symbol 533 MovieClip Frame 1
stop();
if (((((root.saveFile.data.z1_killed == true) && (root.saveFile.data.z2_killed == true)) && (root.saveFile.data.z3_killed == true)) && (root.saveFile.data.z4_killed == true)) && (root.saveFile.data.z5_killed == true)) {
gotoAndStop (2);
}
Symbol 533 MovieClip Frame 2
if (root.saveFile.data.kobieta_done == true) {
kobieta._visible = false;
b1._visible = false;
b1.enabled = false;
}
Symbol 534 Button
on (press) {
if (naszyjnik._visible) {
saveFile.data.kobieta_done = true;
}
warp(-1);
}
Symbol 544 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 545 MovieClip Frame 1
stop();
ktorySave = _name + "_stage";
saveMyState = function (nr) {
root.saveFile.data[ktorySave] = nr;
};
onPress = function () {
root.playSound(root.rozmowaSnd);
delete onPress;
nextFrame();
};
if (root.saveFile.data[ktorySave] != undefined) {
delete onPress;
gotoAndStop(root.saveFile.data[ktorySave]);
}
Symbol 545 MovieClip Frame 2
saveMyState(_currentframe);
Symbol 545 MovieClip Frame 3
saveMyState(_currentframe);
Symbol 545 MovieClip Frame 4
saveMyState(_currentframe);
Symbol 545 MovieClip Frame 5
root.playSound(root.achieveSnd);
saveMyState(_currentframe);
Symbol 545 MovieClip Frame 6
saveMyState(_currentframe);
Symbol 547 Button
on (press) {
playAmbient(wiatr);
warp(-19);
}
Symbol 553 Button
on (press) {
warp(-24);
}
Symbol 554 Button
on (press) {
warp(-37);
}
Symbol 561 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 562 Button
on (press) {
warp(-25);
}
Symbol 564 Button
on (press) {
warp(-12);
}
Symbol 572 Button
on (press) {
warp(-13);
}
Symbol 574 Button
on (press) {
warp(1);
}
Symbol 575 Button
on (press) {
warp(-14);
}
Symbol 576 Button
on (press) {
warp(2);
}
Symbol 578 Button
on (press) {
warp(2);
}
Symbol 579 Button
on (press) {
warp(-1);
}
Symbol 586 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 587 MovieClip Frame 1
onPress = function () {
root.playSound(root.doorSlideSnd);
saveMyState(15);
delete onPress;
play();
};
stop();
ktorySave = _name + "_stage";
saveMyState = function (nr) {
root.saveFile.data[ktorySave] = nr;
};
if (root.saveFile.data[ktorySave] != undefined) {
delete onPress;
gotoAndStop(root.saveFile.data[ktorySave]);
}
Symbol 587 MovieClip Frame 45
stop();
Symbol 588 MovieClip Frame 1
onPress = function () {
saveMyState(45);
root.playSound(root.doorSlideSnd);
delete onPress;
play();
};
stop();
ktorySave = _name + "_stage";
saveMyState = function (nr) {
root.saveFile.data[ktorySave] = nr;
};
if (root.saveFile.data[ktorySave] != undefined) {
delete onPress;
gotoAndStop(root.saveFile.data[ktorySave]);
}
Symbol 588 MovieClip Frame 45
stop();
Symbol 589 Button
on (press) {
warp(-2);
}
Symbol 593 Button
on (press) {
playAmbient(wiatr);
warp(-45);
}
Symbol 594 Button
on (press) {
warp(-2);
}
Symbol 616 MovieClip Frame 59
root.playSound(root.hitBramaSnd);
Symbol 616 MovieClip Frame 385
stop();
root.endGame();