Frame 1
stop();
var soundList = new Array("amb1", "amb2", "vampireDeath", "sadzaSnd", "vampireDoorSnd", "howlSnd", "hammer2Snd", "hammer1Snd", "solankaSnd", "openHatch", "koloSnd", "waterFlow", "boilingSnd", "woodBreak", "spiderSound", "doorOpen", "doorLocked", "documentsSound", "documentsEnd", "btnSound", "pickUpSound", "putDownSound", "findSound", "useItemSound", "moveSound");
gameName = "Morbid";
authorInfo = "\u00A9 Pastel Games";
miesiac = "May";
rok = "2009";
gameWidth = Stage.width;
gameHeight = Stage.height;
goLive = true;
homeSite = "http://www.pastelgames.com/flash.html";
authorLink = "http://www.pastelagmes.com";
moreGamesLink = "http://www.mateuszskutnik.com/more.php";
walkthroughLink = "";
footer = ((((((("<p align='center'>Morbid | <u><a href='" + homeSite) + "' target='_blank'>") + authorInfo) + "</a></u> | ") + miesiac) + "/") + rok) + "</p>";
footerRGB = 8947848 /* 0x888888 */;
przejscieKolor = 0;
stop();
_global.root = this;
Stage.showMenu = false;
Stage.scaleMode = "noScale";
fscommand ("showmenu", "false");
fscommand ("trapallkeys", true);
Button.prototype.tabEnabled = false;
MovieClip.prototype.tabEnabled = false;
load_to = "menu";
_quality = "BEST";
przechodzimy = false;
pauseActive = false;
musicOn = true;
sfxOn = true;
ataczSounds = function () {
i = 0;
while (i < soundList.length) {
this[soundList[i]] = new Sound(this);
this[soundList[i]].attachSound(soundList[i]);
i++;
}
};
playAmbient = function (ktory) {
if (musicOn) {
stopAllSounds();
ktory.start();
}
ktoryAmbient = ktory;
ktoryAmbient.onSoundComplete = function () {
this.start();
};
};
playSound = function (ktory) {
if (sfxOn) {
ktory.start();
}
};
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, 5, 5, 10, 5, 5, false, false, false));
var glow = (new flash.filters.GlowFilter(16777215, 100, 3, 3, 2, 100, false, false));
deadClick = function () {
createCustomMenu();
};
quitCM = function () {
przejscie("menu");
};
toggleMusic = function () {
if (musicOn) {
stopAllSounds();
musicOn = false;
} else {
musicOn = true;
playAmbient(ktoryAmbient);
}
createCustomMenu();
};
toggleSfx = function () {
if (sfxOn) {
sfxOn = false;
} else {
sfxOn = true;
}
createCustomMenu();
};
toggleQuality = function () {
if (_quality == "BEST") {
_quality = "LOW";
} else if (_quality == "LOW") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "HIGH";
} else if (_quality == "HIGH") {
_quality = "BEST";
}
createCustomMenu();
};
createFooter = function (gdzie) {
if (jezyk == undefined) {
footerCommentTXT = commentTXT.eng;
footerMiesiacTXT = eval (monthTXT)[0];
} else {
footerCommentTXT = commentTXT[jezyk];
footerMiesiacTXT = eval (monthTXT)[jezykNr];
}
this.createTextField("footerTXT", 3, 0, gdzie, 550, 20);
footerTXT.selectable = false;
footerTXT.html = true;
footerTXT.htmlText = footer;
var footerFormat = new TextFormat();
footerFormat.color = footerRGB;
footerFormat.align = "center";
footerFormat.font = "Arial";
footerFormat.size = 10;
footerTXT.setTextFormat(footerFormat);
};
MovieClip.prototype.drawRectangle = function (w, h, alfa) {
var _local2 = this.createEmptyMovieClip("s1", 1);
_local2.beginFill(przejscieKolor, alfa);
_local2.moveTo(0, 0);
_local2.lineTo(w, 0);
_local2.lineTo(w, h);
_local2.lineTo(0, h);
_local2.endFill();
};
link = function (jakiLink) {
if (goLive) {
getURL (jakiLink, "_blank");
}
};
przejscie = function (gdzie) {
przejscieDest = gdzie;
if (!przechodzimy) {
przechodzimy = true;
this.createEmptyMovieClip("przejscieMC", 1000002);
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 listenKey = new Object();
Key.addListener(listenKey);
listenKey.onKeyDown = function () {
if (Key.getCode() == 27) {
togglePause();
}
};
togglePause = function () {
if ((!pauseActive) && (gramy)) {
gramy = false;
pauseActive = true;
this.createEmptyMovieClip("pauseMC", 1000001);
pauseMC.drawRectangle(gameWidth, gameHeight - 20, 70);
pauseMC.createTextField("pausedTXT", 2, 0, (gameHeight / 2) - 40, gameWidth, 500);
pauseMC.pausedTXT.filters = [shadowCiemny];
pauseMC.pausedTXT.selectable = false;
pauseMC.pausedTXT.html = true;
pauseMC.pausedTXT.htmlText = "<font size='22'>Game Paused</font>\r\r<font size='12'>press ESC to continue</font>";
pauseMC.pausedTXT.embedFonts = true;
var _local2 = new TextFormat();
_local2.color = footerRGB;
_local2.align = "center";
_local2.font = "font_covert";
pauseMC.pausedTXT.setTextFormat(_local2);
pauseMC._y = (-gameHeight) - 20;
pauseMC.dest = 0;
pauseMC.disappear = false;
pauseMC.onEnterFrame = pauseEF;
} else if (pauseMC._visible) {
gramy = true;
pauseMC.dest = -gameHeight;
pauseMC.disappear = true;
}
};
pauseEF = function () {
this._y = this._y + Math.round((this.dest - this._y) * 0.5);
if ((this._y <= ((-gameHeight) + 5)) && (this.disappear)) {
root.pauseActive = false;
delete this.onEnterFrame;
removeMovieClip(this);
}
};
moveOn = function () {
clearInterval(moveOnInt);
przejscie(moveOnDest);
};
Frame 11
removeAllItems();
gramy = false;
stopAllSounds();
createCustomMenu();
footerRGB = 8947848 /* 0x888888 */;
createFooter(480);
przejscieKolor = 16777215 /* 0xFFFFFF */;
ataczSounds();
b1.onPress = function () {
playSound(btnSound);
gramy = true;
if (goLive) {
przejscie("intro");
} else {
przejscie("float");
}
};
b2.onRelease = function () {
playSound(btnSound);
link(commentLink);
};
b3.onPress = function () {
playSound(btnSound);
przejscie("auth");
};
b4.onPress = function () {
playSound(btnSound);
przejscie("instr");
};
b5.onPress = function () {
playSound(btnSound);
link(moreGamesLink);
};
q1.onPress = function () {
playSound(btnSound);
saveFile.clear();
};
saveFile = SharedObject.getLocal("saveFile");
saveFile.clear();
Frame 18
b1.napis = "skip intro";
b1.onPress = function () {
stopAllSounds();
playSound(btnSound);
przejscie("float");
};
Frame 23
reset = function () {
gramy = true;
createCustomMenu();
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 = "";
playSound(documentsSound);
showItem(this._name);
}
}
};
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;
};
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 28
var items = [];
reloadItems = function () {
items.water = ["holy water", true];
items.kolek = ["wooden stake", true];
items.kolek2 = ["wooden stake soaked in holy water", true];
items.garnek = ["pot", true];
items.garnek2 = ["pot with salty water in it", true];
items.sadza = ["carbon black", true];
items.czosnek = ["garlic", true];
items.luczywo = ["small torch", true];
items.pergamin = ["parchment", false];
items.pergamin2 = ["parchment", false];
items.wajcha = ["lever", true];
items.drabina = ["ladder", true];
items.sol = ["salt", true];
items.mlotek = ["hammer", true];
};
reloadItems();
checkHitTest = function (co) {
if (kolek.tester.hitTest(water.tester)) {
used(water, false);
used(kolek, false);
attachMovie("soaking", "soaking", this.getNextHighestDepth());
}
if (drabina.hitTest(zerdz.tester)) {
used(drabina, false);
saveFile.data.zerdz_used = true;
zerdz.nextFrame();
}
if (garnek.hitTest(ogorcy.tester)) {
used(garnek, false);
ogorcy.play();
}
if (garnek2.hitTest(garnekOn.tester)) {
saveFile.data.garnek_uzyty = true;
used(garnek2, false);
garnekOn.play();
}
if (sol.hitTest(solOn.tester)) {
saveFile.data.sol_uzyta = true;
used(sol, false);
solOn.play();
}
if (kolek2.hitTest(hipek.tester) && (saveFile.data.sol_uzyta == true)) {
used(kolek2, false);
hipek.gotoAndStop(2);
}
if (mlotek.hitTest(hipek.tester2)) {
used(mlotek, false);
hipek.play();
}
if (mlotek.hitTest(kraty.bar1) && (kraty.bar1._currentframe == 1)) {
playSound(woodBreak);
kraty.bar1.nextFrame();
}
if (mlotek.hitTest(kraty.bar2) && (kraty.bar2._currentframe == 1)) {
playSound(woodBreak);
kraty.bar2.nextFrame();
}
if (mlotek.hitTest(kraty.bar3) && (kraty.bar3._currentframe == 1)) {
playSound(woodBreak);
kraty.bar3.nextFrame();
}
if (mlotek.hitTest(kraty.bar4) && (kraty.bar4._currentframe == 1)) {
playSound(woodBreak);
kraty.bar4.nextFrame();
}
if (luczywo.hitTest(swieczka)) {
swieczka.gotoAndStop(2);
saveFile.data.swieczka_lit = true;
}
if (czosnek.hitTest(vampireDoor.garlik.tester)) {
vampireDoor.garlik.gotoAndStop(2);
used(czosnek, false);
}
if (sadza.hitTest(vampireDoor.sadza.tester)) {
vampireDoor.sadza.play();
used(sadza, false);
}
if (wajcha.hitTest(koloDuze.tester)) {
saveFile.data.wajcha_inplace = true;
koloDuze.nextFrame();
used(wajcha, false);
}
};
onCollect = function (co) {
if (co == "wajcha") {
saveFile.data.wajcha_removed = true;
}
};
footerRGB = 0;
createFooter(400);
playAmbient(amb1);
reset();
restoreRoom();
Frame 34
las.onEnterFrame = function () {
this._x = (-_xmouse) + 550;
};
Frame 52
las.onEnterFrame = function () {
this._x = (-_xmouse) + 550;
};
Instance of Symbol 280 MovieClip in Frame 67
onClipEvent (load) {
gotoAndPlay (10);
}
Frame 68
onEnterFrame = function () {
if ((visibleShadow == "luczywo_shadow") && (itemInHand)) {
if (luczywo._y <= 400) {
f_czosnek.gotoAndStop(1);
luczywo._visible = false;
Mouse.show();
b1._visible = false;
latarka._x = _xmouse;
latarka._y = _ymouse;
} else {
latarka._x = 600;
latarka._y = 600;
f_czosnek.gotoAndStop(2);
luczywo._visible = true;
Mouse.hide();
b1._visible = true;
}
}
};
Instance of Symbol 280 MovieClip in Frame 72
onClipEvent (load) {
gotoAndPlay (10);
}
Frame 78
removeAllItems();
footerRGB = 8947848 /* 0x888888 */;
createFooter(480);
Frame 85
moveOnDest = "menu";
moveOnInt = setInterval(moveOn, 4000);
Symbol 8 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 37 MovieClip Frame 1
_alpha = 0;
Symbol 59 Button
on (press) {
if (root.gramy) {
root.opis = "";
root.playSound(root.documentsEnd);
root.showingItem = false;
root.showInvBtn._visible = true;
root.opisBlackMC._visible = true;
removeMovieClip(this);
}
}
Symbol 64 Button
on (rollOver) {
root.opis = "black heart will perish staked through in circle of salt";
}
on (rollOut) {
root.opis = "";
}
on (press) {
root.opis = "";
}
Symbol 93 MovieClip [soaking] Frame 57
root.itemCollect("kolek2");
removeMovieClip(this);
Symbol 107 Button
on (release) {
getURL ("http://www.facebook.com/mateuszskutnik", "_blank");
}
Symbol 110 Button
on (release) {
getURL ("http://www.twitter.com/mateuszskutnik", "_blank");
}
Symbol 137 MovieClip Frame 859
stop();
root.przejscie("float");
Symbol 147 Button
on (press) {
root.warp(1);
}
Symbol 148 Button
on (press) {
root.warp(45);
}
Symbol 155 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (root.opis != "") {
DynamicOpis.napis = root.opis;
}
if (root.opis == "") {
prevFrame();
} else {
nextFrame();
}
};
footerDisplay = root.footerTxt;
Symbol 159 MovieClip Frame 1
_visible = false;
if (root.saveFile.data.zerdz_used) {
_visible = true;
}
Symbol 160 Button
on (press) {
warp(-1);
}
Symbol 161 Button
on (press) {
warp(1);
}
Symbol 162 Button
on (press) {
warp(2);
}
Symbol 163 Button
on (press) {
warp(36);
}
Symbol 166 Button
on (press) {
warp(2);
}
Symbol 167 Button
on (press) {
warp(8);
}
Symbol 168 Button
on (press) {
warp(3);
}
Symbol 172 Button
on (press) {
warp(-2);
}
Symbol 173 Button
on (press) {
warp(6);
}
Symbol 174 Button
on (press) {
warp(16);
}
Symbol 179 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 180 Button
on (press) {
warp(-2);
}
Symbol 182 Button
on (press) {
warp(-3);
}
Symbol 185 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 189 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 192 MovieClip Frame 1
stop();
if (root.saveFile.data.door_opened) {
gotoAndStop (2);
}
Symbol 196 MovieClip Frame 1
stop();
if (root.saveFile.data.zerdz_used) {
gotoAndStop (2);
}
Symbol 197 Button
on (press) {
if (root.saveFile.data.zerdz_used) {
warp(2);
} else {
warp(26);
bakFromWindow = -26;
}
}
Symbol 198 Button
on (press) {
warp(-6);
}
Symbol 199 Button
on (press) {
warp(7);
}
Symbol 200 Button
on (press) {
warp(5);
}
Symbol 207 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 208 Button
on (press) {
warp(-8);
}
Symbol 209 Button
on (press) {
warp(21);
}
Symbol 213 MovieClip Frame 1
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 213 MovieClip Frame 2
_parent.czek();
saveMyState(2);
Symbol 216 MovieClip Frame 1
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 216 MovieClip Frame 2
_parent.czek();
saveMyState(2);
Symbol 219 MovieClip Frame 1
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 219 MovieClip Frame 2
_parent.czek();
saveMyState(2);
Symbol 222 MovieClip Frame 1
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 222 MovieClip Frame 2
_parent.czek();
saveMyState(2);
Symbol 223 Button
on (press) {
root.warp(4);
}
Symbol 224 MovieClip Frame 1
czek = function () {
if ((((bar1._currentframe != 1) && (bar2._currentframe != 1)) && (bar3._currentframe != 1)) && (bar4._currentframe != 1)) {
b1._visible = true;
} else {
b1._visible = false;
}
};
czek();
Symbol 231 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]);
} else {
play();
}
Symbol 231 MovieClip Frame 2
saveMyState(_totalframes);
root.playSound(root.spiderSound);
Symbol 231 MovieClip Frame 15
stop();
Symbol 238 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 241 Button
on (press) {
root.playSound(root.doorLocked);
}
Symbol 243 Button
on (press) {
root.warp(29);
}
Symbol 244 MovieClip Frame 1
stop();
if (root.saveFile.data.door_opened) {
gotoAndStop (2);
}
Symbol 246 MovieClip Frame 1
_visible = false;
if (root.saveFile.data.zerdz_used) {
_visible = true;
}
Symbol 247 Button
on (press) {
warp(-5);
}
Symbol 248 Button
on (press) {
if (root.saveFile.data.zerdz_used) {
warp(-3);
} else {
warp(21);
bakFromWindow = -21;
}
}
Symbol 254 MovieClip Frame 1
if (root.saveFile.data.garnek_uzyty != true) {
_visible = false;
}
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (10);
}
Symbol 282 Button
on (press) {
warp(-4);
}
Symbol 283 Button
on (press) {
warp(23);
}
Symbol 285 Button
on (press) {
warp(-7);
}
Symbol 287 Button
on (press) {
warp(17);
}
Symbol 293 Button
on (press) {
root.warp(3);
}
Symbol 295 MovieClip Frame 1
stop();
if (root.saveFile.data.woda_done) {
gotoAndStop (2);
}
Symbol 300 MovieClip Frame 1
if (root.saveFile.data.wajcha_inplace != true) {
_visible = false;
}
Symbol 307 MovieClip Frame 1
stop();
if (root.saveFile.data.woda_done) {
gotoAndStop (2);
}
Symbol 309 Button
on (press) {
warp(-16);
}
Symbol 310 Button
on (press) {
warp(11);
}
Symbol 315 Button
on (press) {
root.warp(-1);
}
Symbol 320 MovieClip Frame 1
ktorySave = _name + "_stage";
saveMyState = function (nr) {
root.saveFile.data[ktorySave] = nr;
};
if (root.saveFile.data[ktorySave] != undefined) {
gotoAndStop(root.saveFile.data[ktorySave]);
}
Symbol 320 MovieClip Frame 10
stop();
saveMyState(_currentframe);
Symbol 321 Button
on (press) {
play();
}
Symbol 343 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 343 MovieClip Frame 2
saveMyState(2);
Symbol 343 MovieClip Frame 4
root.saveFile.data.woda_done = true;
root.playSound(root.koloSnd);
saveMyState(_totalframes);
Symbol 343 MovieClip Frame 20
root.playSound(root.waterFlow);
Symbol 343 MovieClip Frame 89
stop();
Symbol 353 Button
on (press) {
playAmbient(amb2);
warp(1);
}
Symbol 359 Button
on (press) {
playAmbient(amb1);
warp(-1);
}
Symbol 368 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 368 MovieClip Frame 2
saveMyState(_totalframes);
root.playSound(root.sadzaSnd);
Symbol 368 MovieClip Frame 48
stop();
_parent.czek();
Symbol 370 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 370 MovieClip Frame 2
saveMyState(2);
_parent.czek();
Symbol 377 Button
on (press) {
root.warp(2);
}
Symbol 378 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]);
}
czek = function () {
if ((sadza._currentframe != 1) && (garlik._currentframe != 1)) {
b1._visible = true;
} else {
b1._visible = false;
}
};
czek();
Symbol 378 MovieClip Frame 2
saveMyState(_totalframes);
root.playSound(root.vampireDoorSnd);
Symbol 386 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 387 Button
on (press) {
root.warp(-2);
}
Symbol 390 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 390 MovieClip Frame 2
saveMyState(_totalframes);
Symbol 390 MovieClip Frame 137
stop();
Symbol 396 MovieClip Frame 1
stop();
if (root.saveFile.data.swieczka_lit == true) {
gotoAndStop (2);
}
Symbol 397 MovieClip Frame 1
if (root.saveFile.data.kolek_zuzyty != true) {
_visible = false;
}
Symbol 403 MovieClip Frame 1
stop();
if (root.saveFile.data.swieczka_lit == true) {
gotoAndStop (2);
}
Symbol 407 MovieClip Frame 1
if (root.saveFile.data.sol_uzyta != true) {
_visible = false;
}
Symbol 410 Button
on (press) {
root.warp(7);
}
Symbol 419 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 419 MovieClip Frame 2
saveMyState(_currentframe);
root.saveFile.data.kolek_zuzyty = true;
Symbol 419 MovieClip Frame 30
root.playSound(root.hammer1Snd);
Symbol 419 MovieClip Frame 50
root.playSound(root.hammer2Snd);
Symbol 419 MovieClip Frame 52
root.playSound(root.vampireDeath);
Symbol 419 MovieClip Frame 69
root.playSound(root.howlSnd);
Symbol 419 MovieClip Frame 102
stop();
root.przejscie("ending");
Symbol 422 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 425 Button
on (press) {
warp(-11);
}
Symbol 428 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 429 Button
on (press) {
warp(-21);
}
Symbol 436 Button
on (press) {
root.warp(10);
}
Symbol 437 Button
on (rollOver) {
root.opis = "cucumbers in salty water";
}
on (rollOut) {
root.opis = "";
}
on (press) {
root.opis = "";
}
Symbol 439 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 440 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 440 MovieClip Frame 2
saveMyState(_totalframes);
Symbol 440 MovieClip Frame 5
root.playSound(root.solankaSnd);
Symbol 440 MovieClip Frame 39
stop();
Symbol 444 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 457 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 457 MovieClip Frame 2
delete onPress;
stop();
Symbol 460 Button
on (press) {
delete onEnterFrame;
warp(-17);
}
Symbol 462 Button
on (press) {
warp(bakFromWindow);
}
Symbol 468 Button
on (press) {
warp(-7);
}
Symbol 470 Button
on (press) {
warp(-36);
}
Symbol 476 MovieClip Frame 1
stop();
if (root.saveFile.data.hatch_open == true) {
nextFrame();
}
Symbol 484 Button
on (press) {
warp(-23);
}
Symbol 486 Button
on (press) {
warp(1);
}
Symbol 488 Button
on (press) {
warp(2);
}
Symbol 490 Button
on (press) {
warp(3);
}
Symbol 492 Button
on (press) {
warp(5);
}
Symbol 504 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 512 Button
on (press) {
root.warp(-7);
}
Symbol 513 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 513 MovieClip Frame 2
saveMyState(_totalframes);
root.playSound(root.boilingSnd);
Symbol 513 MovieClip Frame 103
stop();
Symbol 520 Button
on (press) {
root.playSound(root.openHatch);
root.saveFile.data.hatch_open = true;
nextFrame();
}
Symbol 522 MovieClip Frame 1
stop();
if (root.saveFile.data.hatch_open == true) {
nextFrame();
}
Symbol 534 Button
on (press) {
warp(-10);
}
Symbol 535 Button
on (press) {
warp(-4);
}
Symbol 538 Button
on (press) {
if (root.saveFile.data.wajcha_removed) {
root.saveFile.data.door_opened = true;
root.playSound(root.doorOpen);
gotoAndStop (2);
} else {
root.playSound(root.doorLocked);
}
}
Symbol 540 Button
on (press) {
root.warp(-29);
}
Symbol 541 MovieClip Frame 1
stop();
if (root.saveFile.data.door_opened) {
gotoAndStop (2);
}
Symbol 545 MovieClip Frame 1
onPress = root.itemFinder;
ktorySave = _name + "_finder";
if (root.saveFile.data[ktorySave] != undefined) {
_visible = false;
delete onPress;
}
Symbol 559 MovieClip Frame 226
stop();
root.przejscie("napisK");
Symbol 561 Button
on (press) {
warp(-45);
}