Frame 1
function mysiteCM() {
getURL ("http://www.pastelstories.com", "_blank");
}
function commentCM() {
getURL ("http://www.pastelstories.com/?p=472#respond", "_blank");
}
stop();
Stage.scaleMode = "noScale";
fscommand ("trapallkeys", true);
Button.prototype.tabEnabled = false;
MovieClip.prototype.tabEnabled = false;
_global.root = this;
gameID = "aa147b5f688e2600";
boardID = "f89f0abbaa2a4828";
MochiAd.showPreGameAd({id:"aa147b5f688e2600", res:"400x475", background:11844454, color:13883559, outline:11844454, no_bg:true});
cm = new ContextMenu();
cm.customItems.push(new ContextMenuItem("DayMare Town 2", commentCM));
cm.customItems.push(new ContextMenuItem("created by Mateusz Skutnik \u00A92008", mysiteCM));
cm.hideBuiltInItems();
root.menu = cm;
mochi.MochiServices.connect(gameID);
Frame 4
gotoAndStop ("logo");
Frame 15
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("558a42ae", this, 10301, true);
Frame 27
stop();
reset = function () {
dragTaken = false;
opis = "";
tekstWyjscia = "go back";
opisujemy = true;
liniaMenu = 430;
rozstawMenu = 35;
maxItems = 11;
center = 200;
itemNumber = 0;
itemsOnScreen = 0;
shopping = false;
moneyGiven = 0;
i = 0;
while (i < 200) {
eval ("rooms.r" + i)._visible = false;
i++;
}
miejsce = "city gate";
};
showScore = function () {
mochi.MochiScores.showLeaderboard({boardID:boardID});
};
var itemPlaceTaken = [];
playSound = function (jakiSound) {
jakiSound.start();
};
itemFinderOpis = function () {
root.opis = root.names[this._name];
};
itemFinder = function () {
if (itemsOnScreen < maxItems) {
opis = "";
playSound(findSound);
itemCollect(this._name);
this._visible = false;
} else {
playSound(inventoryFull);
opis = "the inventory is full...";
}
};
warp = function (num) {
if (shopping == false) {
B = A;
A = num;
eval ("rooms.r" + B)._visible = false;
eval ("rooms.r" + A)._visible = true;
rooms._x = (-eval ("rooms.r" + num)._x) + 10;
rooms._y = (-eval ("rooms.r" + num)._y) + 10;
playSound(moveSound);
opis = "";
}
};
itemCollect = function (co) {
if (itemsOnScreen < maxItems) {
itemNumber++;
itemPlaceTaken[itemNumber] = co;
attachMovie(co, co, itemNumber + 50);
if (itemsOnScreen == 0) {
this[co].destX = center;
} else {
this[co].destX = eval (lastName).destX + rozstawMenu;
i = 1;
while (i < (itemNumber + 1)) {
eval (itemPlaceTaken[i]).destX = eval (itemPlaceTaken[i]).destX - (rozstawMenu / 2);
i++;
}
}
this[co].destY = liniaMenu;
this[co]._x = _xmouse;
this[co]._y = _ymouse;
this[co].drag = false;
this[co].onEnterFrame = itemLocate;
this[co].onRollOver = itemName;
this[co].onRollOut = itemNameEnd;
this[co].onPress = itemPress;
this[co].ktory = itemNumber;
itemsOnScreen++;
setLastName(itemNumber);
}
};
itemLocate = function () {
if (this.drag == false) {
this._x = this._x + ((this.destX - this._x) * 0.2);
this._y = this._y + ((this.destY - this._y) * 0.2);
}
};
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 (this._alpha == 100) {
if (this.drag == false) {
root.opis = root.names[this._name];
}
}
};
itemNameEnd = function () {
opis = "";
};
itemPress = function () {
if (this._alpha == 100) {
if (this.drag == false) {
if (dragTaken == false) {
dragTaken = true;
Mouse.hide();
this._xscale = 120;
this._yscale = 120;
shadowName = this._name + "_shadow";
this.swapDepths(this.ktory + 500);
attachMovie(this._name, shadowName, this.ktory + 400);
eval (shadowName)._x = this.destX;
eval (shadowName)._y = this.destY;
eval (shadowName).destItem = this._name;
eval (shadowName)._alpha = 50;
eval (shadowName).gotoAndStop(this._currentframe);
eval (shadowName).onEnterFrame = shadowLocate;
playSound(pickUpSound);
this.startDrag();
this.drag = true;
opis = "";
opisujemy = false;
}
} else if (this.hitTest(this.destX, this.destY) && (dragTaken == true)) {
dragTaken = false;
Mouse.show();
stopDrag();
this._xscale = 100;
this._yscale = 100;
removeMovieClip(eval ("root." + shadowName));
this.swapDepths(this.ktory + 400);
this.drag = false;
opis = "";
playSound(putDownSound);
opisujemy = true;
}
checkHitTest(this._name);
}
};
used = function (co) {
removeMovieClip(eval (co + "_shadow"));
itemsOnScreen--;
currentBeingUsed = eval (co).ktory;
i = 1;
while (i < (itemNumber + 1)) {
if (i > currentBeingUsed) {
eval (itemPlaceTaken[i]).destX = eval (itemPlaceTaken[i]).destX - (rozstawMenu / 2);
}
if (i < currentBeingUsed) {
eval (itemPlaceTaken[i]).destX = eval (itemPlaceTaken[i]).destX + (rozstawMenu / 2);
}
i++;
}
itemPlaceTaken[currentBeingUsed] = null;
removeMovieClip(co);
playSound(itemUsed);
Mouse.show();
setLastName(itemNumber);
opis = "";
opisujemy = true;
};
setLastName = function (num) {
if ((eval (itemPlaceTaken[num]).destX == null) && (num > 0)) {
num--;
setLastName(num);
} else {
lastName = itemPlaceTaken[num];
}
};
onEnterFrame = function () {
if (opisujemy == true) {
opisDisplay = opis;
}
if (A == 5) {
rooms.r5.act();
}
if (A == 13) {
rooms.r13.act();
}
if (A == 24) {
rooms.r24.act();
}
if (A == 74) {
rooms.r74.act();
}
};
Frame 54
function checkHitTest() {
if (shopping == true) {
i = 1;
while (i < 11) {
if (coin.tester.hitTest(eval (("shop.c" + i) + ".tester")) && (eval ("shop.c" + i)._alpha == 25)) {
eval ("shop.c" + i)._alpha = 100;
eval ("shop.c" + i).play();
moneyGiven++;
if (moneyGiven == shop.cena) {
shop.b1._visible = true;
}
playSound(coinOnTable);
}
i++;
}
}
if (hook.hitTest(stone)) {
used(hook);
used(stone);
itemCollect("stone2");
dragTaken = false;
}
if (loaf.hitTest(knife) && (knife.drag == true)) {
used(loaf);
itemCollect("sliced_loaf");
Mouse.hide();
}
if (cheese.hitTest(knife) && (knife.drag == true)) {
used(cheese);
itemCollect("sliced_cheese");
Mouse.hide();
}
if (fish.hitTest(knife) && (knife.drag == true)) {
used(fish);
itemCollect("medalion2");
Mouse.hide();
}
if ((sliced_cheese.hitTest(sliced_loaf) && (sliced_loaf.drag == true)) || (sliced_cheese.hitTest(sliced_loaf) && (sliced_cheese.drag == true))) {
used(sliced_cheese);
used(sliced_loaf);
itemCollect("sandwich");
dragTaken = false;
}
if (A == 4) {
if (keys.hitTest(rooms.r4.door.tester)) {
rooms.r4.door.play();
checkKeysStatus();
}
}
if (A == 5) {
if (stone2.hitTest(rooms.r5.tester)) {
rooms.r5.play();
used(stone2);
dragTaken = false;
}
}
if (A == 17) {
if (worm.hitTest(rooms.r17.rybak.tester)) {
rooms.r17.rybak.nextFrame();
used(worm);
dragTaken = false;
}
}
if (A == 19) {
if (lighter.hitTest(rooms.r19.palacz.tester)) {
rooms.r19.palacz.gotoAndPlay("served");
used(lighter);
dragTaken = false;
}
}
if (A == 23) {
if (keys.hitTest(rooms.r23.door.tester)) {
rooms.r23.door.play();
rooms.r1.door.nextFrame();
checkKeysStatus();
}
}
if (A == 24) {
if (golden_key.hitTest(rooms.r24.doorman.tester)) {
rooms.r24.doorman.nextFrame();
rooms.r23.doorman.nextFrame();
used(golden_key);
dragTaken = false;
}
}
if (A == 25) {
if (keys.hitTest(rooms.r25.door.tester)) {
rooms.r25.door.play();
rooms.r22.door.nextFrame();
checkKeysStatus();
}
}
if (A == 37) {
if (sandwich.hitTest(rooms.r37.witch.tester)) {
rooms.r37.witch.gotoAndStop("done");
used(sandwich);
dragTaken = false;
}
}
if (A == 40) {
if (arsenic.hitTest(rooms.r40.revenge.tester)) {
rooms.r40.revenge.gotoAndPlay("done");
opis = "";
used(arsenic);
dragTaken = false;
}
}
if (A == 41) {
if (keys.hitTest(rooms.r41.door.tester)) {
rooms.r41.door.play();
checkKeysStatus();
}
}
if (A == 42) {
if (pamphlet.hitTest(rooms.r42.librarian.tester)) {
rooms.r42.librarian.gotoAndStop("done");
used(pamphlet);
dragTaken = false;
}
}
if (A == 45) {
if (flower.hitTest(rooms.r45.girl.tester)) {
rooms.r45.girl.play();
used(flower);
dragTaken = false;
}
}
if (A == 47) {
if (apple.hitTest(rooms.r47.maska.tester)) {
rooms.r47.maska.gotoAndPlay("done");
used(apple);
dragTaken = false;
}
}
if (A == 51) {
if (water.hitTest(rooms.r51.butcher.tester)) {
rooms.r51.butcher.play();
used(water);
dragTaken = false;
}
}
if (A == 52) {
if (painkiller.hitTest(rooms.r52.sick.tester)) {
rooms.r52.sick.gotoAndPlay("good");
used(painkiller);
dragTaken = false;
}
if (arsenic.hitTest(rooms.r52.sick.tester)) {
rooms.r52.sick.gotoAndPlay("bad");
used(arsenic);
dragTaken = false;
}
}
if (A == 61) {
if (ticket.hitTest(rooms.r61.guard.tester)) {
rooms.r61.guard.play();
used(ticket);
dragTaken = false;
}
}
if (A == 67) {
if (knife.hitTest(rooms.r67.balon.lina1) && (rooms.r67.balon.lina1._currentframe == 1)) {
rooms.r67.balon.lina1.play();
}
if (knife.hitTest(rooms.r67.balon.lina2) && (rooms.r67.balon.lina2._currentframe == 1)) {
rooms.r67.balon.lina2.play();
}
if (knife.hitTest(rooms.r67.balon.lina3) && (rooms.r67.balon.lina3._currentframe == 1)) {
rooms.r67.balon.lina3.play();
}
if (knife.hitTest(rooms.r67.balon.lina4) && (rooms.r67.balon.lina4._currentframe == 1)) {
rooms.r67.balon.lina4.play();
}
}
if (A == 68) {
if (chicken_egg.hitTest(rooms.r68.eggs.eg1.tester)) {
rooms.r68.eggs.eg1.nextFrame();
rooms.r68.eggs.czekEggs();
used(chicken_egg);
dragTaken = false;
}
if (wooden_egg.hitTest(rooms.r68.eggs.eg2.tester)) {
rooms.r68.eggs.eg2.nextFrame();
rooms.r68.eggs.czekEggs();
used(wooden_egg);
dragTaken = false;
}
if (bronze_egg.hitTest(rooms.r68.eggs.eg3.tester)) {
rooms.r68.eggs.eg3.nextFrame();
rooms.r68.eggs.czekEggs();
used(bronze_egg);
dragTaken = false;
}
if (silver_egg.hitTest(rooms.r68.eggs.eg4.tester)) {
rooms.r68.eggs.eg4.nextFrame();
rooms.r68.eggs.czekEggs();
used(silver_egg);
dragTaken = false;
}
if (golden_egg.hitTest(rooms.r68.eggs.eg5.tester)) {
rooms.r68.eggs.eg5.nextFrame();
rooms.r68.eggs.czekEggs();
used(golden_egg);
dragTaken = false;
}
if (faberge_egg.hitTest(rooms.r68.eggs.eg6.tester)) {
rooms.r68.eggs.eg6.nextFrame();
rooms.r68.eggs.czekEggs();
used(faberge_egg);
dragTaken = false;
}
}
if (A == 71) {
if (balloon.hitTest(rooms.r71.obraz.tester)) {
rooms.r71.obraz.nextFrame();
rooms.r67.balon.nextFrame();
used(balloon);
dragTaken = false;
}
}
if (A == 75) {
if (painkiller.hitTest(rooms.r75.head.tester)) {
rooms.r75.head.play();
used(painkiller);
dragTaken = false;
}
}
if (A == 79) {
if (medalion.hitTest(rooms.r79.hands.tester)) {
rooms.r79.hands.play();
used(medalion);
dragTaken = false;
}
if (medalion2.hitTest(rooms.r79.hands.tester)) {
rooms.r79.hands.play();
used(medalion2);
dragTaken = false;
}
}
}
ambient = new Sound();
ambient.attachSound("ambient");
ambient.onSoundComplete = function () {
this.start();
};
pickUpSound = new Sound();
pickUpSound.attachSound("pickUpSound");
putDownSound = new Sound();
putDownSound.attachSound("putDownSound");
findSound = new Sound();
findSound.attachSound("findSound");
itemUsed = new Sound();
itemUsed.attachSound("itemUsed");
moveSound = new Sound();
moveSound.attachSound("moveSound");
grr = new Sound();
grr.attachSound("grr");
keysFall = new Sound();
keysFall.attachSound("keysFall");
shopStart = new Sound();
shopStart.attachSound("shopStart");
shopEnd = new Sound();
shopEnd.attachSound("shopEnd");
coinOnTable = new Sound();
coinOnTable.attachSound("coinOnTable");
inventoryFull = new Sound();
inventoryFull.attachSound("inventoryFull");
szepty = new Sound();
szepty.attachSound("szepty");
growl = new Sound();
growl.attachSound("growl");
zaworki = new Sound();
zaworki.attachSound("zaworki");
runaway = new Sound();
runaway.attachSound("runaway");
ambient.start();
reset();
warp(0);
coinsCollected = 0;
eggTaken = false;
itemCollect("hook");
hook._x = hook.destX;
hook._y = hook.destY;
itemCollect("lighter");
lighter._x = lighter.destX;
lighter._y = lighter.destY;
var names = [];
names.hook = "hook on a piece of string";
names.lighter = "a lighter, I just hope it still works";
names.stone = "just an ordinary stone";
names.stone2 = "stone on a piece of string with a hook";
names.coinOnGround = "coin";
names.worm = "flesh eating maggot";
names.fish = "lion fish, better watch out for the stings";
names.golden_key = "big shiny golden key";
names.keys = "pack of old rusty keys";
names.golden_egg = "a golden egg... looks familiar...";
names.flower = "meadow flower";
names.ticket = "ticket to the museum";
names.pamphlet = "museum pamphlet";
names.apple = "pearmain";
names.loaf = "small loaf";
names.knife = "home made blade";
names.sliced_loaf = "loaf nicely sliced in half";
names.cheese = "piece of limburger cheese";
names.sliced_cheese = "small limburger cheese slices";
names.sandwich = "limburger cheese sandwich";
names.wooden_egg = "wooden egg";
names.bronze_egg = "bronze egg";
names.painkiller = "strong painkiller";
names.arsenic = "arsenic... poisonous";
names.medalion = "ancient medallion";
names.chicken_egg = "just a regular chicken egg...";
names.balloon = "the librarian's balloon";
names.silver_egg = "silver egg...";
names.faberge_egg = "faberge egg... piece of art..";
names.medalion2 = "medallion from the fish";
names.water = "bottle of distilled water";
var prices = [];
prices.wooden_egg = 3;
prices.golden_key = 2;
prices.flower = 1;
prices.ticket = 4;
prices.pamphlet = 2;
prices.knife = 5;
prices.painkiller = 1;
prices.arsenic = 2;
prices.water = 3;
shopInit = function () {
if (shopping == false) {
startShop(this._name, prices[this._name]);
this._visible = false;
}
};
shopItemOpis = function () {
root.opis = names[this._name];
};
shopItemOpisEnd = function () {
root.opis = "";
};
restoreItem = function (co) {
if (co == "flower") {
rooms.r30.flower._visible = true;
}
if (co == "golden_key") {
rooms.r30.golden_key._visible = true;
}
if (co == "wooden_egg") {
rooms.r30.wooden_egg._visible = true;
}
if (co == "pamphlet") {
rooms.r30.pamphlet._visible = true;
}
if (co == "ticket") {
rooms.r31.ticket._visible = true;
}
if (co == "knife") {
rooms.r44.knife._visible = true;
}
if (co == "painkiller") {
rooms.r44.painkiller._visible = true;
}
if (co == "arsenic") {
rooms.r44.arsenic._visible = true;
}
if (co == "water") {
rooms.r44.water._visible = true;
}
};
startShop = function (nazwaTowaru, cena) {
if (shopping == false) {
shopping = true;
shopStart.start();
if (coinsCollected >= cena) {
attachMovie("shop", "shop", 10);
shop._x = 10;
shop._y = 10;
shop.towar.gotoAndStop(nazwaTowaru);
shop.nazwaTowaru = nazwaTowaru;
shop.moneySpend.gotoAndStop(cena);
shop.cena = cena;
} else {
attachMovie("shopNo", "shop", 10);
shop.nazwaTowaru = nazwaTowaru;
shop._x = 10;
shop._y = 10;
}
}
};
reloadMoneyName = function () {
if (coinsCollected == 1) {
names.coin = "coin";
} else {
names.coin = coinsCollected + " coins";
}
};
reloadMoneyName();
showButcher = function () {
if (rooms.r51.butcher._currentframe == 1) {
rooms.r51.butcher.nextFrame();
} else if (rooms.r51.butcher._currentframe == 30) {
rooms.r51.butcher.nextFrame();
}
};
checkKeysStatus = function () {
if (keys._currentframe == keys._totalframes) {
used(keys);
dragTaken = false;
} else {
keys.nextFrame();
keys_shadow.nextFrame();
playSound(itemUsed);
}
};
Frame 64
removeMovieClip("knife");
removeMovieClip("knife_shadow");
removeMovieClip("coin");
removeMovieClip("coin_shadow");
removeMovieClip("painkiller");
removeMovieClip("painkiller_shadow");
removeMovieClip("arsenic");
removeMovieClip("arsenic_shadow");
removeMovieClip("keys");
removeMovieClip("keys_shadow");
Mouse.show();
if (coinsCollected == 0) {
coinStill.gotoAndStop(2);
saveBTN._alpha = 25;
saveBTN.enabled = false;
}
docel = 50;
onEnterFrame = function () {
balon._y = balon._y + ((docel - balon._y) * 0.003);
};
Frame 74
playerName = "type your name here...";
nameField.onSetFocus = function () {
playerName = "";
};
saveScore = function () {
if (((((((((((((playerName == "type your name here...") || (playerName == "")) || (playerName == "fuck")) || (playerName == "fuck you")) || (playerName == "shit")) || (playerName == "shithole")) || (playerName == "ass")) || (playerName == "gay")) || (playerName == "asshole")) || (playerName == "chuj")) || (playerName == "kurwa")) || (playerName == "cipa")) || (playerName == "pizda")) {
reminder.play();
} else {
mochi.MochiScores.showLeaderboard({boardID:boardID, score:coinsCollected, name:playerName});
gotoAndStop ("showScores");
}
};
Frame 89
gotoAndStop ("menu");
Symbol 1133 MovieClip [__Packages.mochi.MochiServices] Frame 0
class mochi.MochiServices
{
static var _id, _container, _clip, _sendChannelName, _rcvChannelName, __get__comChannelName, onError, _listenChannel, _rcvChannel, _loader, _loaderListener, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("1.31");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
_rcvChannelName = val;
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.MochiServices.onError = onError;
} else if (mochi.MochiServices.onError == undefined) {
mochi.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
_rcvChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local2 = "_mochiservices_com_" + id;
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
allowDomains(_gatewayURL);
_clip = clip.createEmptyMovieClip(_local2, 10336, false);
_loader = new MovieClipLoader();
if (_loaderListener.waitInterval != null) {
clearInterval(_loaderListener.waitInterval);
}
_loaderListener = {};
_loaderListener.onLoadError = function (target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
mochi.MochiServices.disconnect();
mochi.MochiServices.onError.apply(null, [errorCode]);
};
_loaderListener.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_loaderListener.startTime = getTimer();
_loaderListener.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.MochiServices.disconnect();
mochi.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_loaderListener.waitInterval = setInterval(_loaderListener, "wait", 1000);
_loader.addListener(_loaderListener);
_loader.loadClip(_gatewayURL, _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
_rcvChannel = new LocalConnection();
_rcvChannel.allowDomain = function (d) {
return(true);
};
_rcvChannel.allowInsecureDomain = _rcvChannel.allowDomain;
_rcvChannel._nextcallbackID = 0;
_rcvChannel._callbacks = {};
listen();
return(_clip);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()});
_rcvChannel.onStatus = function (infoObject) {
mochi.MochiServices.onStatus(infoObject);
};
_rcvChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_rcvChannel.onError = function () {
mochi.MochiServices.onError.apply(null, ["IOError"]);
};
_rcvChannel.connect(_rcvChannelName);
trace("connected!");
_connecting = false;
_connected = true;
_listenChannel.close();
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _rcvChannel._callbacks[_local1.callbackID];
}
delete _rcvChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
onError.apply(null, ["NotConnected"]);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID});
}
_rcvChannel._callbacks[_rcvChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_rcvChannel._nextcallbackID++;
}
static var _gatewayURL = "http://www.mochiads.com/static/lib/services/services.swf";
static var _listenChannelName = "__mochiservices";
static var _connecting = false;
static var _connected = false;
}
Symbol 1134 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.3");
}
static function showPreGameAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}};
options = _parseOptions(options, _local27);
if ("5cc6f7dfb67f2f08341c831480f7c2a7".length == 0) {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local23 = 11000;
var _local26 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local7._x = 10;
_local7._y = _local13 - 20;
var _local22 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local24 = options.outline;
delete options.outline;
var _local5 = _local7.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local7.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local22);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local6 = _local7.createEmptyMovieClip("_outline", 3);
_local6.lineStyle(0, _local24, 100);
_local6.moveTo(0, 0);
_local6.lineTo(_local4 - 20, 0);
_local6.lineTo(_local4 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
chk.ad_msec = _local23;
chk.ad_timeout = _local26;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local12 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local10 = (100 * _local8) / _local4;
var _local11 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(_local10 || 0, _local11));
_local2 = Math.max(this.last_pcnt, _local2);
this.last_pcnt = _local2;
_local9._xscale = _local2;
if (!chk.showing) {
var _local7 = _local12.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local5 > chk.ad_timeout) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function _loadCommunicator(options) {
var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = _parseOptions(options, _local26);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local18 = options.clip;
var _local20 = "_mochiad_com_" + options.id;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local18[_local20]) {
return(_local18[_local20].lc);
}
var _local21 = options.com_server + options.id;
_allowDomains(_local21);
delete options.id;
delete options.com_server;
var _local25 = options.depth;
delete options.depth;
var _local17 = _local18.createEmptyMovieClip(_local20, _local25);
var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1);
for (var _local15 in options) {
_local11[_local15] = options[_local15];
}
var _local6 = new LocalConnection();
var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local17;
_local6.name = _local16;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local16);
_local17.lc = _local6;
_local11.lc = _local16;
_local6._id = 0;
_local6._queue = [];
_local6.rpcResult = function (cb_arg) {
var _local8 = parseInt(cb_arg);
var _local4 = this._callbacks[_local8];
if (!_local4) {
return(undefined);
}
delete this._callbacks[_local8];
var _local5 = [];
var _local3 = 2;
while (_local3 < _local4.length) {
_local5.push(_local4[_local3]);
_local3++;
}
_local3 = 1;
while (_local3 < arguments.length) {
_local5.push(arguments[_local3]);
_local3++;
}
var _local6 = _local4[1];
var _local7 = _local4[0];
if (_local7 && (typeof(_local6) == "string")) {
_local6 = _local7[_local6];
}
if (_local6) {
_local6.apply(_local7, _local5);
}
};
_local6._didConnect = function (endpoint) {
this._endpoint = endpoint;
var _local4 = this._queue;
delete this._queue;
var _local5 = this.doSend;
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2];
_local5.apply(this, _local3);
_local2++;
}
};
_local6.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var _local4 = [];
var _local3 = 0;
while (_local3 < arguments.length) {
_local4.push(arguments[_local3]);
_local3++;
}
this._queue.push(_local4);
return(undefined);
}
this._id = this._id + 1;
var _local5 = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[_local5] = [cbobj, cbfn];
var _local7 = new LocalConnection();
var _local9 = _local7.send(this._endpoint, "rpc", _local5, args);
};
_local6._callbacks = {};
_local6._callbacks[0] = [_local6, "_didConnect"];
_local11.st = getTimer();
_local11.loadMovie(_local21 + ".swf", "POST");
return(_local6);
}
static function fetchHighScores(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["fetchHighScores", options];
_local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}
static function sendHighScore(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["sendHighScore", options];
_local1.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
}
Symbol 1135 MovieClip [__Packages.mochi.MochiScores] Frame 0
class mochi.MochiScores
{
static var boardID, onClose, onError;
function MochiScores () {
}
static function setBoardID(boardID) {
mochi.MochiScores.boardID = boardID;
mochi.MochiServices.send("scores_setBoardID", {boardID:boardID});
}
static function showLeaderboard(options) {
if (options.clip != null) {
if ((options.clip != mochi.MochiServices.__get__clip()) || (mochi.MochiServices.__get__childClip()._target == undefined)) {
mochi.MochiServices.disconnect();
mochi.MochiServices.connect(mochi.MochiServices.__get__id(), options.clip);
}
delete options.clip;
}
if (options.name != null) {
if (typeof(options.name) == "object") {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (typeof(options.score) == "object") {
if (options.score.text != undefined) {
options.score = options.score.text;
}
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
mochi.MochiServices.__get__clip().stop();
}
if (options.onClose != null) {
onClose = options.onClose;
} else {
onClose = function () {
mochi.MochiServices.__get__clip().play();
};
}
if (options.onError != null) {
onError = options.onError;
} else {
onError = onClose;
}
if (options.boardID == null) {
if (boardID != null) {
options.boardID = boardID;
}
}
mochi.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose);
}
static function closeLeaderboard() {
mochi.MochiServices.send("scores_closeLeaderboard");
}
static function getPlayerInfo(callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod);
}
static function submit(score, name, callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod);
}
static function requestList(callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod);
}
static function scoresArrayToObjects(scores) {
var _local5 = {};
var _local1;
var _local4;
var _local2;
var _local6;
for (var _local8 in scores) {
if (typeof(scores[_local8]) == "object") {
if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) {
_local5[_local8] = [];
_local2 = scores[_local8];
_local4 = 0;
while (_local4 < _local2.rows.length) {
_local6 = {};
_local1 = 0;
while (_local1 < _local2.cols.length) {
_local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1];
_local1++;
}
_local5[_local8].push(_local6);
_local4++;
}
} else {
_local5[_local8] = {};
for (var _local7 in scores[_local8]) {
_local5[_local8][_local7] = scores[_local8][_local7];
}
}
} else {
_local5[_local8] = scores[_local8];
}
}
return(_local5);
}
static function doClose(args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = "IOError";
}
onError.apply(null, [args.errorCode]);
} else {
onClose.apply();
}
}
}
Symbol 33 MovieClip Frame 1
hit_mc.onPress = function () {
getURL ("http://www.bigfishgames.com/online-games/?afcode=afc1f9f28fec&src=daymaretown2", _blank);
};
Symbol 33 MovieClip Frame 159
root.gotoAndStop("menu");
Symbol 39 Button
on (press) {
gotoAndStop ("gra");
}
Symbol 45 Button
on (press) {
getURL ("http://www.pastelstories.com/?p=472#respond", "_blank");
}
Symbol 49 Button
on (press) {
getURL ("http://www.pastelstories.com", "_blank");
}
Symbol 54 Button
on (press) {
getURL ("http://www.daymaretown.com", "_blank");
}
Symbol 59 Button
on (press) {
getURL ("http://www.bigfishgames.com/online-games/?afcode=afc1f9f28fec&src=daymaretown2", "_blank");
}
Symbol 63 Button
on (press) {
showScore();
gotoAndStop ("showScores");
}
Symbol 81 MovieClip Frame 1
stop();
Symbol 108 MovieClip [coin] Frame 1
stop();
Symbol 109 MovieClip [coinFly] Frame 1
_x = root._xmouse;
_y = root._ymouse;
destX = root.coin.destX;
destY = root.coin.destY;
onEnterFrame = function () {
_x = (_x + ((destX - _x) * 0.2));
_y = (_y + ((destY - _y) * 0.2));
_alpha = (_alpha - 2);
if (Math.abs((_x - destX) + (_y - destY)) <= 0.5) {
removeMovieClip(this);
}
};
Symbol 111 MovieClip [keys] Frame 1
stop();
Symbol 164 Button
on (press) {
if (root.itemsOnScreen < root.maxItems) {
if (root.moneyGiven == cena) {
root.coinsCollected = root.coinsCollected - cena;
if (root.coinsCollected == 0) {
root.used("coin");
}
root.moneyGiven = 0;
root.reloadMoneyName();
root.itemCollect(nazwaTowaru);
root.shopping = false;
root.playSound(root.findSound);
root.playSound(root.shopEnd);
removeMovieClip(this);
}
} else {
root.opis = "the inventory is full...";
root.playSound(root.inventoryFull);
}
}
on (rollOut) {
root.opis = "";
}
on (releaseOutside) {
root.opis = "";
}
Symbol 165 Button
on (press) {
root.opis = "";
root.moneyGiven = 0;
root.shopping = false;
root.playSound(root.shopEnd);
root.restoreItem(this.nazwaTowaru);
removeMovieClip(this);
}
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 2
root.coin._visible = false;
Symbol 180 MovieClip Frame 11
stop();
root.coin._visible = true;
Symbol 181 MovieClip [shop] Frame 1
b1._visible = false;
i = 1;
while (i < 11) {
eval ("c" + i)._visible = false;
i++;
}
i = 1;
while (i < (cena + 1)) {
eval ("c" + i)._visible = true;
eval ("c" + i)._alpha = 25;
i++;
}
Symbol 183 Button
on (press) {
root.shopping = false;
root.opis = "";
root.restoreItem(this.nazwaTowaru);
root.playSound(root.shopEnd);
removeMovieClip(this);
}
Symbol 226 Button
on (press) {
getURL ("http://www.pastelstories.com", "_blank");
}
Symbol 230 Button
on (press) {
getURL ("http://www.bigfishgames.com/online-games/?afcode=afc1f9f28fec&src=daymaretown2", "_blank");
}
Symbol 233 Button
on (press) {
getURL ("http://www.pastelstories.com/?p=472#respond", "_blank");
}
Symbol 236 Button
on (press) {
root.ambient.stop("ambient");
gotoAndStop (2);
}
Symbol 239 Button
on (press) {
root.ambient.start();
gotoAndStop (1);
}
Symbol 240 MovieClip Frame 1
stop();
Symbol 250 Button
on (press) {
root.warp(20);
}
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 2
_parent.b1.enabled = false;
Symbol 253 MovieClip Frame 1
onPress = function () {
root.opis = "";
root.coinsCollected++;
if (root.coinsCollected == 1) {
root.itemCollect("coin");
} else {
root.attachMovie("coinFly", "coinFly", 600);
}
root.playSound(root.findSound);
root.reloadMoneyName();
_visible = false;
};
onRollOver = function () {
root.opis = root.names.coinOnGround;
};
onRollOut = function () {
root.opis = "";
};
Symbol 254 Button
on (press) {
root.warp(2);
root.miejsce = "outskirts";
}
Symbol 255 Button
on (press) {
root.warp(3);
root.miejsce = "outskirts";
}
Symbol 256 Button
on (press) {
root.warp(7);
}
Symbol 259 Button
on (press) {
root.warp(1);
root.miejsce = "city gate";
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 260 Button
on (press) {
root.warp(4);
}
Symbol 267 MovieClip Frame 1
Symbol 267 MovieClip Frame 233
stop();
root.warp(1);
root.miejsce = "city gate";
Symbol 270 MovieClip Frame 1
onPress = root.itemFinder;
onRollOver = root.itemFinderOpis;
onRollOut = root.itemNameEnd;
Symbol 277 Button
on (press) {
root.warp(_parent.gdzie);
}
Symbol 278 MovieClip Frame 1
stop();
Symbol 278 MovieClip Frame 26
stop();
Symbol 280 Button
on (press) {
root.warp(2);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 281 Button
on (press) {
root.warp(5);
}
Symbol 282 MovieClip Frame 1
gdzie = 32;
Symbol 290 MovieClip Frame 1
stop();
Symbol 294 MovieClip Frame 1
stop();
Symbol 295 Button
on (press) {
root.warp(4);
drzwi.gotoAndStop(1);
handle.gotoAndStop(1);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 324 Button
on (press) {
root.warp(6);
root.miejsce = "middle of nowhere...";
}
Symbol 325 MovieClip Frame 1
stop();
otwarte = false;
solved = false;
act = function () {
if (solved == false) {
if (otwarte == true) {
drzwi.nextFrame();
handle.nextFrame();
} else {
drzwi.prevFrame();
handle.prevFrame();
}
handle.onRollOver = function () {
otwarte = true;
};
handle.onRollOut = function () {
otwarte = false;
};
handle.onPress = function () {
otwarte = false;
};
}
};
Symbol 325 MovieClip Frame 2
solved = true;
Symbol 325 MovieClip Frame 51
stop();
Symbol 329 MovieClip Frame 1
stop();
onRollOver = function () {
gotoAndStop (2);
};
onRollOut = function () {
gotoAndStop (1);
};
onReleaseOutside = function () {
gotoAndStop (1);
};
Symbol 330 Button
on (press) {
root.warp(5);
root.miejsce = "outskirts";
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = "outskirts";
}
Symbol 331 Button
on (press) {
root.warp(8);
root.miejsce = "fisherman alley";
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = "fisherman alley";
}
Symbol 336 MovieClip Frame 1
stop();
Symbol 338 Button
on (press) {
play();
}
Symbol 339 MovieClip Frame 1
stop();
Symbol 339 MovieClip Frame 17
_parent.lookOut.play();
Symbol 340 Button
on (press) {
root.warp(1);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 343 Button
on (press) {
root.warp(6);
root.miejsce = "middle of nowhere...";
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = "middle of nowhere...";
}
Symbol 344 Button
on (press) {
root.warp(18);
}
Symbol 345 Button
on (press) {
root.warp(9);
}
Symbol 348 Button
on (press) {
root.warp(8);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 349 Button
on (press) {
root.warp(11);
}
Symbol 350 Button
on (press) {
root.warp(10);
}
Symbol 353 MovieClip Frame 1
stop();
onRollOver = function () {
play();
delete onRollOver;
};
Symbol 353 MovieClip Frame 2
root.playSound(root.runaway);
Symbol 353 MovieClip Frame 3
stop();
Symbol 357 MovieClip Frame 1
onPress = function () {
root.opis = "";
root.coinsCollected++;
if (root.coinsCollected == 1) {
root.itemCollect("coin");
} else {
root.attachMovie("coinFly", "coinFly", 600);
}
root.playSound(root.findSound);
root.reloadMoneyName();
_visible = false;
};
onRollOver = function () {
root.opis = root.names.coinOnGround;
};
onRollOut = function () {
root.opis = "";
};
Symbol 358 Button
on (press) {
root.warp(9);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 361 Button
on (press) {
root.warp(12);
root.miejsce = "fog haven";
}
Symbol 364 Button
on (press) {
root.warp(11);
root.miejsce = "fisherman alley";
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 365 Button
on (press) {
root.warp(13);
_parent.r13.latawiec.play();
}
Symbol 366 Button
on (press) {
root.warp(15);
}
Symbol 369 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 3
_parent.B = random(200) + 20;
Symbol 369 MovieClip Frame 11
_parent.A = random(100) + 200;
Symbol 369 MovieClip Frame 25
gotoAndPlay (2);
Symbol 375 Button
on (press) {
root.warp(12);
latawiec.stop();
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 376 Button
on (press) {
root.warp(14);
latawiec.stop();
}
Symbol 377 MovieClip Frame 1
act = function () {
dziecko.clear();
dziecko.lineStyle(0.1, 0, 100);
dziecko.curveTo((latawiec._x - dziecko._x) / 2, 100, latawiec._x - dziecko._x, latawiec._y - dziecko._y);
latawiec._x = latawiec._x + ((A - latawiec._x) * 0.01);
latawiec._y = latawiec._y + ((B - latawiec._y) * 0.01);
};
Symbol 380 Button
on (press) {
root.warp(13);
_parent.r13.latawiec.play();
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 383 Button
on (press) {
root.warp(12);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 384 Button
on (press) {
root.warp(16);
}
Symbol 387 Button
on (press) {
root.warp(15);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 388 Button
on (press) {
root.warp(17);
}
Symbol 406 MovieClip Frame 1
onPress = root.itemFinder;
onRollOver = root.itemFinderOpis;
onRollOut = root.itemNameEnd;
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 2
stop();
Symbol 407 MovieClip Frame 151
stop();
Symbol 407 MovieClip Frame 290
stop();
Symbol 409 Button
on (press) {
root.warp(16);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 414 MovieClip Frame 1
stop();
onRollOver = function () {
gotoAndStop (2);
};
onRollOut = function () {
gotoAndStop (1);
};
onReleaseOutside = function () {
gotoAndStop (1);
};
Symbol 420 Button
on (press) {
root.warp(19);
}
Symbol 452 Button
on (press) {
root.warp(20);
root.miejsce = "butcher's market";
}
Symbol 453 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 60
stop();
Symbol 493 MovieClip Frame 1
stop();
Symbol 493 MovieClip Frame 61
gotoAndStop (1);
Symbol 493 MovieClip Frame 71
_parent.b1.enabled = false;
Symbol 493 MovieClip Frame 160
root.warp(18);
root.rooms.r18.nogi.play();
stop();
Symbol 494 Button
on (press) {
root.warp(18);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 497 Button
on (press) {
root.miejsce = root.opis;
root.warp(18);
}
on (rollOver) {
root.opis = "fisherman alley";
}
on (rollOut) {
root.opis = "";
}
Symbol 498 Button
on (press) {
root.warp(21);
}
Symbol 499 Button
on (press) {
root.miejsce = root.opis;
root.warp(22);
}
on (rollOver) {
root.opis = "aqueduct";
}
on (rollOut) {
root.opis = "";
}
Symbol 500 Button
on (press) {
root.miejsce = root.opis;
root.warp(23);
}
on (rollOver) {
root.opis = "city gate";
}
on (rollOut) {
root.opis = "";
}
Symbol 501 Button
on (press) {
root.miejsce = root.opis;
root.warp(29);
}
on (rollOver) {
root.opis = "museum";
}
on (rollOut) {
root.opis = "";
}
Symbol 502 Button
on (press) {
root.miejsce = root.opis;
root.warp(34);
}
on (rollOver) {
root.opis = "aristocrat's house";
}
on (rollOut) {
root.opis = "";
}
Symbol 503 Button
on (press) {
root.miejsce = root.opis;
root.warp(38);
}
on (rollOver) {
root.opis = "wall street";
}
on (rollOut) {
root.opis = "";
}
Symbol 504 Button
on (press) {
root.miejsce = root.opis;
root.warp(50);
}
on (rollOver) {
root.opis = "butcher";
}
on (rollOut) {
root.opis = "";
}
Symbol 505 Button
on (press) {
root.miejsce = root.opis;
root.warp(73);
}
on (rollOver) {
root.opis = "cherry embassy";
}
on (rollOut) {
root.opis = "";
}
Symbol 509 MovieClip Frame 1
onPress = root.itemFinder;
onRollOver = root.itemFinderOpis;
onRollOut = root.itemNameEnd;
Symbol 510 Button
on (press) {
root.warp(20);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 515 MovieClip Frame 1
stop();
Symbol 517 MovieClip Frame 1
onPress = root.itemFinder;
onRollOver = root.itemFinderOpis;
onRollOut = root.itemNameEnd;
Symbol 518 Button
on (press) {
root.miejsce = root.opis;
root.warp(23);
}
on (rollOver) {
root.opis = "city gate";
}
on (rollOut) {
root.opis = "";
}
Symbol 519 Button
on (press) {
root.miejsce = root.opis;
root.warp(20);
}
on (rollOver) {
root.opis = "butcher's market";
}
on (rollOut) {
root.opis = "";
}
Symbol 520 Button
on (press) {
root.warp(25);
}
Symbol 521 Button
on (press) {
root.warp(47);
}
Symbol 522 MovieClip Frame 1
medalion._visible = false;
Symbol 527 MovieClip Frame 1
onPress = root.itemFinder;
onRollOver = root.itemFinderOpis;
onRollOut = root.itemNameEnd;
Symbol 528 MovieClip Frame 1
stop();
Symbol 528 MovieClip Frame 2
_parent.b1.enabled = false;
Symbol 536 MovieClip Frame 1
stop();
Symbol 536 MovieClip Frame 31
stop();
Symbol 537 Button
on (press) {
root.miejsce = "butcher's market";
root.warp(20);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 538 Button
on (press) {
root.warp(24);
}
Symbol 539 MovieClip Frame 1
gdzie = 1;
Symbol 545 MovieClip Frame 1
stop();
Symbol 545 MovieClip Frame 2
_parent.hand._visible = false;
root.playSound(root.grr);
Symbol 545 MovieClip Frame 41
_parent.hand._visible = true;
Symbol 547 Button
on (press) {
tulow.play();
}
Symbol 550 MovieClip Frame 21
stop();
root.playSound(root.keysFall);
Symbol 551 MovieClip Frame 1
stop();
Symbol 551 MovieClip Frame 2
root.grr.stop("grr");
Symbol 553 Button
on (press) {
root.warp(23);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 554 MovieClip Frame 1
act = function () {
doorman.hand._rotation = (root._xmouse + root._ymouse) / 50;
};
Symbol 557 Button
on (press) {
root.miejsce = root.opis;
root.warp(_parent.gdzie);
}
on (rollOver) {
root.opis = "forbidden district";
}
on (rollOut) {
root.opis = "";
}
Symbol 558 MovieClip Frame 1
stop();
Symbol 558 MovieClip Frame 31
stop();
Symbol 560 Button
on (press) {
root.warp(22);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 561 Button
on (rollOver) {
root.opis = "district closed due to infection";
}
on (rollOut) {
root.opis = "";
}
on (releaseOutside) {
root.opis = "";
}
Symbol 562 MovieClip Frame 1
gdzie = 26;
Symbol 566 MovieClip Frame 1
stop();
onRollOver = function () {
gotoAndStop (2);
};
onRollOut = function () {
gotoAndStop (1);
};
onReleaseOutside = function () {
gotoAndStop (1);
};
Symbol 567 Button
on (press) {
root.miejsce = "aqueduct";
root.warp(25);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 568 Button
on (press) {
root.warp(27);
}
Symbol 571 Button
on (press) {
root.warp(26);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 572 Button
on (press) {
root.warp(28);
}
Symbol 573 Button
on (press) {
root.warp(48);
}
Symbol 578 Button
on (press) {
root.warp(27);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 579 Button
on (press) {
root.warp(33);
}
Symbol 582 Button
on (press) {
root.warp(30);
}
Symbol 583 Button
on (press) {
root.warp(31);
}
Symbol 584 Button
on (rollOver) {
root.opis = "souvenirs";
}
on (rollOut) {
root.opis = "";
}
on (releaseOutside) {
root.opis = "";
}
Symbol 585 Button
on (rollOver) {
root.opis = "tickets";
}
on (rollOut) {
root.opis = "";
}
on (releaseOutside) {
root.opis = "";
}
Symbol 586 Button
on (press) {
root.warp(61);
}
Symbol 589 MovieClip Frame 1
onPress = root.shopInit;
onRollOver = root.shopItemOpis;
onRollOut = root.shopItemOpisEnd;
Symbol 590 MovieClip Frame 1
onPress = root.shopInit;
onRollOver = root.shopItemOpis;
onRollOut = root.shopItemOpisEnd;
Symbol 592 MovieClip Frame 1
onPress = root.shopInit;
onRollOver = root.shopItemOpis;
onRollOut = root.shopItemOpisEnd;
Symbol 595 MovieClip Frame 1
onPress = root.shopInit;
onRollOver = root.shopItemOpis;
onRollOut = root.shopItemOpisEnd;
Symbol 596 Button
on (press) {
root.warp(29);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 599 MovieClip Frame 1
onPress = root.shopInit;
onRollOver = root.shopItemOpis;
onRollOut = root.shopItemOpisEnd;
Symbol 604 MovieClip Frame 1
onPress = root.itemFinder;
onRollOver = root.itemFinderOpis;
onRollOut = root.itemNameEnd;
Symbol 615 MovieClip Frame 1
stop();
Symbol 615 MovieClip Frame 11
stop();
Symbol 616 Button
on (press) {
root.warp(4);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 617 MovieClip Frame 1
gdzie = 32;
Symbol 619 Button
on (press) {
root.warp(28);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 620 Button
on (press) {
root.warp(37);
}
Symbol 623 Button
on (press) {
root.warp(20);
root.miejsce = "butcher's market";
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 624 Button
on (press) {
root.warp(35);
}
Symbol 625 Button
on (press) {
root.warp(52);
}
Symbol 628 Button
on (press) {
root.warp(34);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 629 Button
on (press) {
root.warp(36);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = "mouse trap";
}
Symbol 632 MovieClip Frame 1
onPress = root.itemFinder;
onRollOver = root.itemFinderOpis;
onRollOut = root.itemNameEnd;
Symbol 633 Button
on (press) {
root.warp(35);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 662 MovieClip Frame 1
onPress = root.itemFinder;
onRollOver = root.itemFinderOpis;
onRollOut = root.itemNameEnd;
Symbol 670 MovieClip Frame 155
stop();
Symbol 671 MovieClip Frame 1
stop();
root.opis = "";
onRollOver = function () {
if (_currentframe < 40) {
root.opis = "sand witch";
play();
}
};
Symbol 671 MovieClip Frame 2
root.playSound(root.szepty);
Symbol 671 MovieClip Frame 47
gotoAndStop (1);
Symbol 671 MovieClip Frame 59
delete onRollOver;
root.szepty.stop("szepty");
Symbol 672 Button
on (press) {
root.warp(33);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 675 Button
on (press) {
root.warp(39);
}
Symbol 676 Button
on (press) {
root.warp(42);
}
Symbol 677 Button
on (press) {
root.warp(54);
}
Symbol 678 Button
on (press) {
root.miejsce = root.opis;
root.warp(74);
}
on (rollOver) {
root.opis = "tenement house";
}
on (rollOut) {
root.opis = "";
}
Symbol 681 Button
on (press) {
root.warp(38);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 682 Button
on (press) {
root.warp(40);
}
Symbol 683 Button
on (press) {
root.warp(41);
}
Symbol 688 Button
on (rollOver) {
root.opis = "revenge!... revenge!!!...";
play();
}
Symbol 701 MovieClip Frame 1
stop();
Symbol 701 MovieClip Frame 48
root.opis = "";
gotoAndStop (1);
Symbol 701 MovieClip Frame 202
stop();
Symbol 702 Button
on (press) {
root.warp(39);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 708 Button
on (press) {
root.warp(45);
}
Symbol 709 MovieClip Frame 1
stop();
Symbol 709 MovieClip Frame 22
stop();
Symbol 714 Button
on (press) {
root.opis = "";
play();
}
on (rollOver) {
root.opis = "isn't that... the librarian?...";
}
on (rollOut) {
root.opis = "";
}
Symbol 718 MovieClip Frame 106
stop();
Symbol 719 MovieClip Frame 1
stop();
Symbol 719 MovieClip Frame 2
root.playSound(root.grr);
Symbol 719 MovieClip Frame 35
gotoAndStop (1);
Symbol 719 MovieClip Frame 45
root.grr.stop("grr");
root.rooms.r59.balloon._visible = true;
Symbol 720 Button
on (press) {
root.warp(38);
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = "";
}
Symbol 721 Button
on (press) {
root.miejsce = root.opis;
root.warp(43);
}
on (rollOver) {
root.opis = "pharmacy";
}
on (rollOut) {
root.opis = "";
}
Symbol 724 Button
on (press) {
root.warp(42);
root.miejsce = "wall street";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = "";
}
Symbol 725 Button
on (press) {
root.warp(44);
}
Symbol 730 MovieClip Frame 1
onPress = root.shopInit;
onRollOver = root.shopItemOpis;
onRollOut = root.shopItemOpisEnd;
Symbol 733 MovieClip Frame 1
onPress = root.shopInit;
onRollOver = root.shopItemOpis;
onRollOut = root.shopItemOpisEnd;
Symbol 736 MovieClip Frame 1
onPress = root.shopInit;
onRollOver = root.shopItemOpis;
onRollOut = root.shopItemOpisEnd;
Symbol 739 MovieClip Frame 1
onPress = root.shopInit;
onRollOver = root.shopItemOpis;
onRollOut = root.shopItemOpisEnd;
Symbol 740 Button
on (press) {
root.warp(43);
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = "";
}
Symbol 741 Button
on (rollOver) {
root.opis = "pharmacologist";
}
on (rollOut, releaseOutside) {
root.opis = "";
}
Symbol 755 Button
on (press) {
root.warp(46);
}
Symbol 756 MovieClip Frame 1
stop();
Symbol 756 MovieClip Frame 76
stop();
Symbol 757 Button
on (press) {
root.warp(41);
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = "";
}
Symbol 758 Button
on (rollOver) {
root.opis = "chalk";
}
on (rollOut, releaseOutside) {
root.opis = "";
}
Symbol 762 MovieClip Frame 1
onPress = root.itemFinder;
onRollOver = root.itemFinderOpis;
onRollOut = root.itemNameEnd;
Symbol 763 Button
on (press) {
root.warp(45);
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = "";
}
Symbol 769 MovieClip Frame 1
stop();
Symbol 769 MovieClip Frame 2
root.playSound(root.growl);
Symbol 769 MovieClip Frame 34
gotoAndStop (1);
Symbol 769 MovieClip Frame 48
root.growl.stop("growl");
Symbol 769 MovieClip Frame 63
root.rooms.r22.medalion._visible = true;
Symbol 769 MovieClip Frame 68
stop();
Symbol 770 Button
on (press) {
root.warp(22);
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = "";
}
Symbol 773 Button
on (press) {
root.warp(49);
}
Symbol 774 Button
on (press) {
root.warp(76);
}
Symbol 777 Button
on (press) {
if (root.eggTaken == false) {
play();
}
}
Symbol 781 MovieClip Frame 1
onPress = function () {
if (root.itemsOnScreen < root.maxItems) {
root.opis = "";
root.playSound(root.findSound);
root.itemCollect(this._name);
root.eggTaken = true;
_parent.gotoAndStop(1);
} else {
root.playSound(inventoryFull);
root.opis = "the inventory is full...";
}
};
Symbol 784 MovieClip Frame 1
stop();
if (root.eggTaken == true) {
b1._visible = false;
}
Symbol 786 Button
on (press) {
root.warp(48);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 793 Button
on (rollOver) {
play();
}
Symbol 800 MovieClip Frame 1
stop();
Symbol 800 MovieClip Frame 3
root.playSound(root.zaworki);
Symbol 802 Button
on (press) {
root.warp(51);
}
Symbol 806 Button
on (rollOver) {
root.opis = "thirstyyyyy...";
}
on (rollOut, releaseOutside) {
root.opis = "";
}
Symbol 812 MovieClip Frame 1
stop();
Symbol 812 MovieClip Frame 30
stop();
Symbol 812 MovieClip Frame 31
_parent.faberge_egg._visible = true;
Symbol 815 MovieClip Frame 1
onPress = root.itemFinder;
onRollOver = root.itemFinderOpis;
onRollOut = root.itemNameEnd;
Symbol 816 Button
on (press) {
root.warp(50);
root.showButcher();
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 817 MovieClip Frame 1
faberge_egg._visible = false;
Symbol 825 Button
on (press) {
root.warp(53);
}
Symbol 826 MovieClip Frame 1
stop();
Symbol 826 MovieClip Frame 21
stop();
Symbol 830 MovieClip Frame 1
stop();
Symbol 830 MovieClip Frame 16
stop();
Symbol 835 MovieClip Frame 1
stop();
Symbol 835 MovieClip Frame 11
stop();
Symbol 853 MovieClip Frame 1
stop();
Symbol 853 MovieClip Frame 54
_parent.death.play();
Symbol 853 MovieClip Frame 106
stop();
_parent.szafka.play();
Symbol 853 MovieClip Frame 222
_parent.death.play();
Symbol 853 MovieClip Frame 243
stop();
_parent.koldra.play();
Symbol 856 Button
on (press) {
root.warp(52);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 859 Button
on (press) {
root.warp(38);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 860 Button
on (press) {
root.warp(55);
}
Symbol 861 Button
on (press) {
root.warp(56);
}
Symbol 862 Button
on (press) {
root.warp(60);
}
Symbol 865 Button
on (press) {
root.warp(54);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 866 Button
on (press) {
root.warp(57);
}
Symbol 869 MovieClip Frame 1
onPress = root.itemFinder;
onRollOver = root.itemFinderOpis;
onRollOut = root.itemNameEnd;
Symbol 870 Button
on (press) {
root.warp(56);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 873 Button
on (press) {
root.warp(58);
}
Symbol 876 Button
on (press) {
root.warp(55);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 877 Button
on (press) {
root.warp(59);
}
Symbol 881 MovieClip Frame 1
onPress = root.itemFinder;
onRollOver = root.itemFinderOpis;
onRollOut = root.itemNameEnd;
Symbol 883 Button
on (press) {
root.warp(58);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 884 MovieClip Frame 1
balloon._visible = false;
Symbol 890 Button
on (press) {
root.warp(62);
}
Symbol 891 MovieClip Frame 1
stop();
Symbol 891 MovieClip Frame 35
stop();
Symbol 899 MovieClip Frame 1
stop();
Symbol 899 MovieClip Frame 17
_parent.kotara.play();
Symbol 899 MovieClip Frame 28
stop();
Symbol 903 Button
on (rollOver) {
root.opis = "closed due to museum theft";
}
on (rollOut, releaseOutside) {
root.opis = "";
}
Symbol 905 Button
on (press) {
root.warp(69);
}
Symbol 906 MovieClip Frame 1
stop();
Symbol 907 Button
on (press) {
root.warp(61);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 908 Button
on (press) {
root.warp(64);
}
Symbol 909 Button
on (press) {
root.warp(63);
}
Symbol 910 Button
on (press) {
root.warp(65);
}
Symbol 911 Button
on (press) {
root.warp(66);
}
Symbol 912 Button
on (press) {
root.warp(67);
}
Symbol 913 Button
on (press) {
root.warp(68);
}
Symbol 917 Button
on (rollOver) {
root.opis = "skin abuser";
}
on (rollOut, releaseOutside) {
root.opis = "";
}
Symbol 918 Button
on (press) {
root.warp(62);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 922 Button
on (rollOver) {
root.opis = "devil weather granny";
}
on (rollOut, releaseOutside) {
root.opis = "";
}
Symbol 926 Button
on (rollOver) {
root.opis = "avrila praying at the sight";
}
on (rollOut, releaseOutside) {
root.opis = "";
}
Symbol 930 Button
on (rollOver) {
root.opis = "sejan near the woods";
}
on (rollOut, releaseOutside) {
root.opis = "";
}
Symbol 931 Button
on (press) {
root.warp(62);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 944 MovieClip Frame 1
stop();
Symbol 944 MovieClip Frame 2
_parent.czekLina();
Symbol 944 MovieClip Frame 17
stop();
Symbol 957 Button
on (press) {
play();
}
Symbol 962 MovieClip Frame 1
stop();
Symbol 962 MovieClip Frame 2
stop();
liny = 0;
czekLina = function () {
liny++;
if (liny == 4) {
play();
}
};
Symbol 962 MovieClip Frame 16
stop();
Symbol 962 MovieClip Frame 17
_parent.b1.enabled = false;
_parent.b1.enabled = false;
Symbol 962 MovieClip Frame 229
root.gotoAndStop("end");
Symbol 963 Button
on (rollOver) {
root.opis = "pioneer balloon by Michelle de la Piaf";
}
on (rollOut, releaseOutside) {
root.opis = "";
}
Symbol 967 Button
on (rollOver) {
root.opis = "sankt petro egg collection";
}
on (rollOut, releaseOutside) {
root.opis = "";
}
Symbol 972 MovieClip Frame 1
stop();
Symbol 976 MovieClip Frame 1
stop();
Symbol 980 MovieClip Frame 1
stop();
Symbol 984 MovieClip Frame 1
stop();
Symbol 988 MovieClip Frame 1
stop();
Symbol 992 MovieClip Frame 1
stop();
Symbol 993 MovieClip Frame 1
eggsNr = 0;
czekEggs = function () {
eggsNr++;
if (eggsNr == 6) {
root.rooms.r62.finalDoor.gotoAndStop(2);
}
};
Symbol 996 Button
on (rollOver) {
root.opis = "basbug in a dress made out of siola";
}
on (rollOut, releaseOutside) {
root.opis = "";
}
Symbol 999 Button
on (press) {
root.warp(70);
}
Symbol 1000 Button
on (press) {
root.warp(71);
}
Symbol 1003 Button
on (rollOver) {
root.opis = "siola in a dress made out of cashmere";
}
on (rollOut, releaseOutside) {
root.opis = "";
}
Symbol 1006 Button
on (press) {
root.warp(69);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 1007 Button
on (press) {
root.warp(72);
}
Symbol 1011 Button
on (rollOver) {
root.opis = "Michelle de la Piaf with balloon";
}
on (rollOut, releaseOutside) {
root.opis = "";
}
Symbol 1014 MovieClip Frame 1
stop();
Symbol 1018 Button
on (press) {
root.warp(70);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 1023 MovieClip Frame 1
stop();
Symbol 1024 Button
on (press) {
root.warp(20);
showJap();
root.miejsce = "butcher's market";
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 1025 MovieClip Frame 1
nr = 1;
showJap = function () {
nr++;
if (nr == 3) {
if (japonka._currentframe == 1) {
japonka.gotoAndStop(2);
} else {
japonka.gotoAndStop(1);
}
nr = 0;
}
};
Symbol 1029 MovieClip Frame 1
this.onRollOver = function () {
_parent._parent.setB();
};
Symbol 1031 MovieClip Frame 1
this.onRollOver = function () {
_parent._parent.setA();
};
Symbol 1033 Button
on (press) {
root.warp(38);
root.miejsce = "wall street";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = "";
}
Symbol 1034 Button
on (press) {
root.warp(75);
}
Symbol 1035 MovieClip Frame 1
act = function () {
zegar.w1._rotation = zegar.w1._rotation + ((A - zegar.w1._rotation) * 0.4);
zegar.w2._rotation = zegar.w2._rotation + ((B - zegar.w2._rotation) * 0.2);
};
setA = function () {
A = random(360) - 180;
};
setB = function () {
B = random(360) - 180;
};
setA();
setB();
zegar.w1._rotation = A;
zegar.w2._rotation = B;
Symbol 1051 MovieClip Frame 1
stop();
Symbol 1051 MovieClip Frame 109
stop();
Symbol 1052 Button
on (press) {
root.warp(74);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 1053 MovieClip Frame 1
act = function () {
zegar.w1._rotation = zegar.w1._rotation + ((A - zegar.w1._rotation) * 0.4);
zegar.w2._rotation = zegar.w2._rotation + ((B - zegar.w2._rotation) * 0.2);
};
setA = function () {
A = random(360) - 180;
};
setB = function () {
B = random(360) - 180;
};
setA();
setB();
zegar.w1._rotation = A;
zegar.w2._rotation = B;
Symbol 1055 Button
on (press) {
root.warp(77);
}
Symbol 1058 Button
on (press) {
root.warp(76);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 1059 Button
on (press) {
root.warp(78);
}
Symbol 1062 Button
on (press) {
root.warp(77);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 1063 Button
on (press) {
root.warp(79);
}
Symbol 1092 MovieClip Frame 1
onPress = root.itemFinder;
onRollOver = root.itemFinderOpis;
onRollOut = root.itemNameEnd;
Symbol 1093 MovieClip Frame 1
stop();
Symbol 1093 MovieClip Frame 15
stop();
Symbol 1093 MovieClip Frame 48
stop();
Symbol 1094 Button
on (press) {
root.warp(78);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 1095 Button
on (press) {
root.warp(80);
}
Symbol 1098 Button
on (press) {
root.warp(79);
}
on (rollOut) {
root.opis = "";
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
Symbol 1109 MovieClip Frame 1
stop();
napis = root.coinsCollected;
Symbol 1114 Button
on (press) {
stopAllSounds();
gotoAndStop ("menu");
}
Symbol 1119 Button
on (press) {
gotoAndStop ("saveFrame");
}
Symbol 1121 Button
on (press) {
saveScore();
}
Symbol 1122 Button
on (press) {
gotoAndStop ("end");
}
Symbol 1131 MovieClip Frame 1
stop();
Symbol 1131 MovieClip Frame 3
_parent.playerName = "";
Symbol 1131 MovieClip Frame 5
_parent.playerName = "type your name here...";
Symbol 1131 MovieClip Frame 7
_parent.playerName = "";
Symbol 1131 MovieClip Frame 9
_parent.playerName = "type your name here...";
Symbol 1131 MovieClip Frame 11
_parent.playerName = "";
Symbol 1131 MovieClip Frame 13
_parent.playerName = "type your name here...";