Combined Code
movieClip 2 podkladka {
}
frame 1 {
stop();
_global.root = this;
load_to = 'menu';
Stage.scaleMode = 'noScale';
Stage.showMenu = false;
fscommand('trapallkeys', true);
fscommand('showmenu', 'false');
Button.prototype.tabEnabled = false;
MovieClip.prototype.tabEnabled = false;
gameWidth = 550;
gameHeight = 400;
_global.root = this;
MovieClip.prototype.drawRectangle = function (w, h, alfa) {
var v2 = this.createEmptyMovieClip('s1', 1);
v2.beginFill(0, alfa);
v2.moveTo(0, 0);
v2.lineTo(w, 0);
v2.lineTo(w, h);
v2.lineTo(0, h);
v2.endFill();
};
przechodzimy = false;
przejscie = function (gdzie) {
przejscieDest = gdzie;
if (!przechodzimy) {
przechodzimy = true;
this.createEmptyMovieClip('przejscieMC', this.getNextHighestDepth());
przejscieMC.drawRectangle(gameWidth, gameHeight, 100);
przejscieMC._alpha = 1;
przejscieMC.dissolve = false;
przejscieMC.onEnterFrame = przejscieEF;
}
};
przejscieEF = function () {
if (!this.dissolve) {
this._alpha += 15;
} else {
this._alpha -= 15;
}
if (this._alpha >= 140) {
root.gotoAndStop(root.przejscieDest);
this.dissolve = true;
}
if (this._alpha <= 0) {
root.przechodzimy = false;
delete this.onEnterFrame;
removeMovieClip(this);
}
};
}
movieClip 8 {
}
movieClip 9 {
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 += (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;
};
onPress = function () {
_xscale = 100;
_yscale = 100;
};
onRollOut = onPress;
}
}
frame 3 {
stop();
}
// unknown tag 88 length 41
movieClip 12 itemOpis {
}
movieClip 15 {
}
movieClip 16 wrench {
frame 1 {
drag = false;
onPress = function () {
if (drag == false) {
Mouse.hide();
root.playSound(root.pickUpSound);
_xscale = 140;
_yscale = 140;
startDrag(this, true);
swapDepths(ktory + 500);
drag = true;
_parent.opis = '';
} else {
if (this.hitTest(eval('_root.pod' + ktory))) {
Mouse.show();
_xscale = 100;
_yscale = 100;
stopDrag();
swapDepths(ktory + 400);
drag = false;
_parent.opis = '';
_x = (eval('_parent.pod' + ktory))._x;
_y = (eval('_parent.pod' + ktory))._y;
root.playSound(root.putDownSound);
}
}
_parent.checkHitTest(_name);
};
onRollOver = function () {
if (drag == false) {
_parent.opis = this._name;
}
};
onRollOut = function () {
_parent.opis = '';
};
}
}
movieClip 19 {
}
movieClip 20 {
}
movieClip 21 sprocket {
frame 1 {
drag = false;
onPress = function () {
if (drag == false) {
Mouse.hide();
root.playSound(root.pickUpSound);
_xscale = 140;
_yscale = 140;
startDrag(this, true);
swapDepths(ktory + 500);
drag = true;
_parent.opis = '';
} else {
if (this.hitTest(eval('_root.pod' + ktory))) {
Mouse.show();
_xscale = 100;
_yscale = 100;
stopDrag();
swapDepths(ktory + 400);
drag = false;
_parent.opis = '';
_x = (eval('_parent.pod' + ktory))._x;
_y = (eval('_parent.pod' + ktory))._y;
root.playSound(root.putDownSound);
}
}
_parent.checkHitTest(_name);
};
onRollOver = function () {
if (drag == false) {
_parent.opis = this._name;
}
};
onRollOut = function () {
_parent.opis = '';
};
}
}
movieClip 23 {
}
movieClip 24 rusty_key {
frame 1 {
drag = false;
onPress = function () {
if (drag == false) {
Mouse.hide();
root.playSound(root.pickUpSound);
_xscale = 140;
_yscale = 140;
startDrag(this, true);
swapDepths(ktory + 500);
drag = true;
_parent.opis = '';
} else {
if (this.hitTest(eval('_root.pod' + ktory))) {
Mouse.show();
_xscale = 100;
_yscale = 100;
stopDrag();
swapDepths(ktory + 400);
drag = false;
_parent.opis = '';
_x = (eval('_parent.pod' + ktory))._x;
_y = (eval('_parent.pod' + ktory))._y;
root.playSound(root.putDownSound);
}
}
_parent.checkHitTest(_name);
};
onRollOver = function () {
if (drag == false) {
_parent.opis = this._name;
}
};
onRollOut = function () {
_parent.opis = '';
};
}
}
movieClip 27 {
}
movieClip 28 chain {
frame 1 {
drag = false;
onPress = function () {
if (drag == false) {
Mouse.hide();
root.playSound(root.pickUpSound);
_xscale = 140;
_yscale = 140;
startDrag(this, true);
swapDepths(ktory + 500);
drag = true;
_parent.opis = '';
} else {
if (this.hitTest(eval('_root.pod' + ktory))) {
Mouse.show();
_xscale = 100;
_yscale = 100;
stopDrag();
swapDepths(ktory + 400);
drag = false;
_parent.opis = '';
_x = (eval('_parent.pod' + ktory))._x;
_y = (eval('_parent.pod' + ktory))._y;
root.playSound(root.putDownSound);
}
}
_parent.checkHitTest(_name);
};
onRollOver = function () {
if (drag == false) {
_parent.opis = this._name;
}
};
onRollOut = function () {
_parent.opis = '';
};
}
}
movieClip 30 {
}
movieClip 31 paste {
frame 1 {
drag = false;
onPress = function () {
if (drag == false) {
Mouse.hide();
root.playSound(root.pickUpSound);
_xscale = 140;
_yscale = 140;
startDrag(this, true);
swapDepths(ktory + 500);
drag = true;
_parent.opis = '';
} else {
if (this.hitTest(eval('_root.pod' + ktory))) {
Mouse.show();
_xscale = 100;
_yscale = 100;
stopDrag();
swapDepths(ktory + 400);
drag = false;
_parent.opis = '';
_x = (eval('_parent.pod' + ktory))._x;
_y = (eval('_parent.pod' + ktory))._y;
root.playSound(root.putDownSound);
}
}
_parent.checkHitTest(_name);
};
onRollOver = function () {
if (drag == false) {
_parent.opis = this._name;
}
};
onRollOut = function () {
_parent.opis = '';
};
}
}
movieClip 33 toxic {
frame 1 {
drag = false;
onPress = function () {
if (drag == false) {
Mouse.hide();
root.playSound(root.pickUpSound);
_xscale = 140;
_yscale = 140;
startDrag(this, true);
swapDepths(ktory + 500);
drag = true;
_parent.opis = '';
} else {
if (this.hitTest(eval('_root.pod' + ktory))) {
Mouse.show();
_xscale = 100;
_yscale = 100;
stopDrag();
swapDepths(ktory + 400);
drag = false;
_parent.opis = '';
_x = (eval('_parent.pod' + ktory))._x;
_y = (eval('_parent.pod' + ktory))._y;
root.playSound(root.putDownSound);
}
}
_parent.checkHitTest(_name);
};
onRollOver = function () {
if (drag == false) {
_parent.opis = this._name;
}
};
onRollOut = function () {
_parent.opis = '';
};
}
}
movieClip 35 small_key {
frame 1 {
drag = false;
onPress = function () {
if (drag == false) {
Mouse.hide();
root.playSound(root.pickUpSound);
_xscale = 140;
_yscale = 140;
startDrag(this, true);
swapDepths(ktory + 500);
drag = true;
_parent.opis = '';
} else {
if (this.hitTest(eval('_root.pod' + ktory))) {
Mouse.show();
_xscale = 100;
_yscale = 100;
stopDrag();
swapDepths(ktory + 400);
drag = false;
_parent.opis = '';
_x = (eval('_parent.pod' + ktory))._x;
_y = (eval('_parent.pod' + ktory))._y;
root.playSound(root.putDownSound);
}
}
_parent.checkHitTest(_name);
};
onRollOver = function () {
if (drag == false) {
_parent.opis = this._name;
}
};
onRollOut = function () {
_parent.opis = '';
};
}
}
movieClip 37 console {
frame 1 {
drag = false;
onPress = function () {
if (drag == false) {
Mouse.hide();
root.playSound(root.pickUpSound);
_xscale = 140;
_yscale = 140;
startDrag(this, true);
swapDepths(ktory + 500);
drag = true;
_parent.opis = '';
} else {
if (this.hitTest(eval('_root.pod' + ktory))) {
Mouse.show();
_xscale = 100;
_yscale = 100;
stopDrag();
swapDepths(ktory + 400);
drag = false;
_parent.opis = '';
_x = (eval('_parent.pod' + ktory))._x;
_y = (eval('_parent.pod' + ktory))._y;
root.playSound(root.putDownSound);
}
}
_parent.checkHitTest(_name);
};
onRollOver = function () {
if (drag == false) {
_parent.opis = this._name;
}
};
onRollOut = function () {
_parent.opis = '';
};
}
}
movieClip 39 {
}
movieClip 40 sticking_plaster {
frame 1 {
drag = false;
onPress = function () {
if (drag == false) {
Mouse.hide();
root.playSound(root.pickUpSound);
_xscale = 140;
_yscale = 140;
startDrag(this, true);
swapDepths(ktory + 500);
drag = true;
_parent.opis = '';
} else {
if (this.hitTest(eval('_root.pod' + ktory))) {
Mouse.show();
_xscale = 100;
_yscale = 100;
stopDrag();
swapDepths(ktory + 400);
drag = false;
_parent.opis = '';
_x = (eval('_parent.pod' + ktory))._x;
_y = (eval('_parent.pod' + ktory))._y;
root.playSound(root.putDownSound);
}
}
_parent.checkHitTest(_name);
};
onRollOver = function () {
if (drag == false) {
_parent.opis = this._name;
}
};
onRollOut = function () {
_parent.opis = '';
};
}
}
movieClip 42 {
}
movieClip 43 matches {
frame 1 {
drag = false;
onPress = function () {
if (drag == false) {
Mouse.hide();
root.playSound(root.pickUpSound);
_xscale = 140;
_yscale = 140;
startDrag(this, true);
swapDepths(ktory + 500);
drag = true;
_parent.opis = '';
} else {
if (this.hitTest(eval('_root.pod' + ktory))) {
Mouse.show();
_xscale = 100;
_yscale = 100;
stopDrag();
swapDepths(ktory + 400);
drag = false;
_parent.opis = '';
_x = (eval('_parent.pod' + ktory))._x;
_y = (eval('_parent.pod' + ktory))._y;
root.playSound(root.putDownSound);
}
}
_parent.checkHitTest(_name);
};
onRollOver = function () {
if (drag == false) {
_parent.opis = this._name;
}
};
onRollOut = function () {
_parent.opis = '';
};
}
}
movieClip 45 piece_of_metal {
frame 1 {
drag = false;
onPress = function () {
if (drag == false) {
Mouse.hide();
root.playSound(root.pickUpSound);
_xscale = 140;
_yscale = 140;
startDrag(this, true);
swapDepths(ktory + 500);
drag = true;
_parent.opis = '';
} else {
if (this.hitTest(eval('_root.pod' + ktory))) {
Mouse.show();
_xscale = 100;
_yscale = 100;
stopDrag();
swapDepths(ktory + 400);
drag = false;
_parent.opis = '';
_x = (eval('_parent.pod' + ktory))._x;
_y = (eval('_parent.pod' + ktory))._y;
root.playSound(root.putDownSound);
}
}
_parent.checkHitTest(_name);
};
onRollOver = function () {
if (drag == false) {
_parent.opis = this._name;
}
};
onRollOut = function () {
_parent.opis = '';
};
}
}
movieClip 47 tape {
frame 1 {
drag = false;
onPress = function () {
if (drag == false) {
Mouse.hide();
root.playSound(root.pickUpSound);
_xscale = 140;
_yscale = 140;
startDrag(this, true);
swapDepths(ktory + 500);
drag = true;
_parent.opis = '';
} else {
if (this.hitTest(eval('_root.pod' + ktory))) {
Mouse.show();
_xscale = 100;
_yscale = 100;
stopDrag();
swapDepths(ktory + 400);
drag = false;
_parent.opis = '';
_x = (eval('_parent.pod' + ktory))._x;
_y = (eval('_parent.pod' + ktory))._y;
root.playSound(root.putDownSound);
}
}
_parent.checkHitTest(_name);
};
onRollOver = function () {
if (drag == false) {
_parent.opis = this._name;
}
};
onRollOut = function () {
_parent.opis = '';
};
}
}
movieClip 57 {
frame 1 {
stop();
}
}
frame 16 {
_global.root = this;
napisDol = '<p align=\'center\'>The Fog Fall | created by <u><a href=\'http://www.pastelgames.com\' target=\'_blank\'>Pastel Games</a></u> | © 2008</p>';
collectItemSound = new Sound();
collectItemSound.attachSound('collectItemSound');
changeRoomSound = new Sound();
changeRoomSound.attachSound('changeRoomSound');
useItemSound = new Sound();
useItemSound.attachSound('useItemSound');
pickUpSound = new Sound();
pickUpSound.attachSound('pickUpSound');
putDownSound = new Sound();
putDownSound.attachSound('putDownSound');
muza = new Sound();
muza.attachSound('muza');
muza.onSoundComplete = function () {
this.start();
};
introMus1 = new Sound();
introMus1.attachSound('introMus1');
introMus1.onSoundComplete = function () {
introMus2.start();
};
introMus2 = new Sound();
introMus2.attachSound('introMus2');
introMus2.onSoundComplete = function () {
introMus1.start();
};
}
movieClip 62 {
frame 1 {
stop();
}
}
movieClip 63 {
}
movieClip 65 {
}
button 68 {
on (press) {
przejscie('intro');
}
}
movieClip 70 {
}
// unknown tag 88 length 41
movieClip 73 {
}
button 74 {
on (release) {
getURL('http://www.mateuszskutnik.com/more.php', '_blank');
}
}
button 77 {
on (release) {
getURL('http://www.facebook.com/mateuszskutnik', '_blank');
}
}
button 80 {
on (release) {
getURL('http://www.twitter.com/mateuszskutnik', '_blank');
}
}
// unknown tag 88 length 90
frame 25 {
introMus1.start();
}
movieClip 85 {
}
movieClip 131 {
}
movieClip 175 {
}
movieClip 219 {
}
movieClip 347 {
}
movieClip 391 {
}
movieClip 434 {
frame 31 {
napis = 'we learned how to hide';
}
frame 33 {
napis = '';
}
frame 36 {
napis = 'we learned how to hide';
}
frame 39 {
napis = '';
}
frame 41 {
napis = 'we learned how to hide';
}
frame 83 {
napis = '';
}
frame 85 {
napis = 'we learned how to hide';
}
frame 87 {
napis = '';
}
frame 126 {
napis = 'we learned how to protect ourselves';
}
frame 129 {
napis = '';
}
frame 131 {
napis = 'we learned how to protect ourselves';
}
frame 133 {
napis = '';
}
frame 135 {
napis = 'we learned how to protect ourselves';
}
frame 188 {
napis = '';
}
frame 190 {
napis = 'we learned how to protect ourselves';
}
frame 192 {
napis = '';
}
frame 234 {
napis = 'but we knew we couldn\'t survive anyway...';
}
frame 236 {
napis = '';
}
frame 238 {
napis = 'but we knew we couldn\'t survive anyway...';
}
frame 240 {
napis = '';
}
frame 242 {
napis = 'but we knew we couldn\'t survive anyway...';
}
frame 316 {
napis = '';
}
frame 318 {
napis = 'but we knew we couldn\'t survive anyway...';
}
frame 320 {
napis = '';
}
frame 356 {
napis = 'I bought this house two months ago';
}
frame 358 {
napis = '';
}
frame 360 {
napis = 'I bought this house two months ago';
}
frame 362 {
napis = '';
}
frame 364 {
napis = 'I bought this house two months ago';
}
frame 434 {
napis = '';
}
frame 436 {
napis = 'a good place to live they said';
}
frame 438 {
napis = '';
}
frame 440 {
napis = 'a good place to live they said';
}
frame 442 {
napis = '';
}
frame 444 {
napis = 'a good place to live they said';
}
frame 509 {
napis = '';
}
frame 511 {
napis = 'a good place to live they said';
}
frame 513 {
napis = '';
}
frame 536 {
napis = 'it was a strange night';
}
frame 538 {
napis = '';
}
frame 540 {
napis = 'it was a strange night';
}
frame 542 {
napis = '';
}
frame 544 {
napis = 'it was a strange night';
}
frame 595 {
napis = '';
}
frame 597 {
napis = 'I woke up around 3 AM';
}
frame 599 {
napis = '';
}
frame 601 {
napis = 'I woke up around 3 AM';
}
frame 629 {
napis = '';
}
frame 631 {
napis = 'I woke up around 3 AM';
}
frame 633 {
napis = '';
}
frame 659 {
napis = '';
}
frame 661 {
napis = 'everything around was covered in fog';
}
frame 663 {
napis = '';
}
frame 665 {
napis = 'everything around was covered in fog';
}
frame 667 {
napis = '';
}
frame 669 {
napis = 'everything around was covered in fog';
}
frame 716 {
napis = '';
}
frame 718 {
napis = 'everything around was covered in fog';
}
frame 720 {
napis = '';
}
frame 747 {
napis = '';
}
frame 749 {
napis = 'I checked the cellar';
}
frame 751 {
napis = '';
}
frame 753 {
napis = 'I checked the cellar';
}
frame 827 {
root.przejscie('gra');
}
}
button 439 {
on (press) {
przejscie('gra');
}
}
frame 34 {
function checkHitTest() {
if (A == 1) {
if (console.hitTest(rooms.r1.konsola.tester)) {
rooms.r1.konsola.gotoAndStop(2);
used(console);
}
if (tape.hitTest(rooms.r1.magnet.tester)) {
rooms.r1.magnet.gotoAndStop(2);
used(tape);
}
}
if (A == 3) {
if (small_key.hitTest(rooms.r3.szuflada.tester)) {
rooms.r3.szuflada.gotoAndStop(2);
used(small_key);
}
}
if (A == 6) {
if (sticking_plaster.hitTest(rooms.r6.szafa.maska.tester)) {
rooms.r6.szafa.maska.plasterek._visible = true;
used(sticking_plaster);
}
}
if (A == 7) {
if (piece_of_metal.hitTest(rooms.r7.exit.wajcha.tester)) {
rooms.r7.exit.wajcha.gotoAndStop(2);
used(piece_of_metal);
}
}
if (A == 11) {
if (paste.hitTest(rooms.r11.door.tester1)) {
rooms.r11.door.play();
used(paste);
}
if (toxic.hitTest(rooms.r11.door.tester2)) {
rooms.r11.door.play();
used(toxic);
}
}
if (A == 12) {
if (wrench.hitTest(rooms.r12.flame.tester1)) {
rooms.r12.flame.play();
used(wrench);
}
if (matches.hitTest(rooms.r12.flame.tester2)) {
rooms.r12.flame.play();
used(matches);
}
}
if (A == 13) {
if (rusty_key.hitTest(rooms.r13.szuflada.tester)) {
rooms.r13.szuflada.gotoAndStop(2);
used(rusty_key);
}
}
if (A == 14) {
if (sprocket.hitTest(rooms.r14.zebatki.tester1)) {
rooms.r14.zebatki.zebatka._visible = true;
rooms.r14.zebatki.czekDone();
used(sprocket);
}
if (chain.hitTest(rooms.r14.zebatki.tester2)) {
rooms.r14.zebatki.lancuch._visible = true;
rooms.r14.zebatki.czekDone();
used(chain);
}
}
}
introMus1.stop();
introMus2.stop();
reset = function () {
i = 0;
while (i < 100) {
(eval('rooms.r' + i))._visible = false;
++i;
}
A = 0;
B = 0;
muza.start();
opis = '';
dialog = '';
suitOn = 0;
tekstWyjscia = 'go back...';
attachMovie('itemOpis', 'itemOpis', 997);
t1 = false;
t2 = false;
t3 = false;
t4 = false;
t5 = false;
t6 = false;
t7 = false;
t8 = false;
t9 = false;
t10 = false;
t11 = false;
t12 = false;
t13 = false;
t14 = false;
t15 = false;
wysokoscMenu = 35;
rozstawMenu = 60;
odlegloscOdKrawedzi = 25;
};
reset();
playSound = function (ktory) {
ktory.start();
};
warp = function (num) {
B = A;
A = num;
(eval('rooms.r' + B))._visible = false;
(eval('rooms.r' + A))._visible = true;
rooms._x = -(eval('rooms.r' + A))._x;
rooms._y = -(eval('rooms.r' + A))._y;
playSound(changeRoomSound);
opis = '';
dialog = '';
};
warp(8);
this.onEnterFrame = function () {
if (opis != '') {
koordynatX = (_xmouse - 275) / 5;
koordynatY = (_ymouse - 210) / 5;
itemOpis._x = _xmouse - koordynatX;
itemOpis._y = _ymouse - koordynatY;
itemOpis._visible = true;
} else {
itemOpis._visible = false;
}
};
collectInit = function (co) {
numerek = 1;
if (eval('t' + numerek) == false) {
numerek = 1;
collect(co);
t1 = true;
} else {
if (t2 == false) {
numerek = 2;
collect(co);
t2 = true;
} else {
if (t3 == false) {
numerek = 3;
collect(co);
t3 = true;
} else {
if (t4 == false) {
numerek = 4;
collect(co);
t4 = true;
} else {
if (t5 == false) {
numerek = 5;
collect(co);
t5 = true;
} else {
if (t6 == false) {
numerek = 6;
collect(co);
t6 = true;
} else {
if (t7 == false) {
numerek = 7;
collect(co);
t7 = true;
} else {
if (t8 == false) {
numerek = 8;
collect(co);
t8 = true;
} else {
if (t9 == false) {
numerek = 9;
collect(co);
t9 = true;
} else {
if (t10 == false) {
numerek = 10;
collect(co);
t10 = true;
} else {
if (t11 == false) {
numerek = 11;
collect(co);
t11 = true;
} else {
if (t12 == false) {
numerek = 12;
collect(co);
t12 = true;
} else {
if (t13 == false) {
numerek = 13;
collect(co);
t13 = true;
} else {
if (t14 == false) {
numerek = 14;
collect(co);
t14 = true;
} else {
if (t15 == false) {
numerek = 15;
collect(co);
t15 = true;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
};
collect = function (co) {
zuzyty = eval('t' + numerek);
zuzyty = true;
attachMovie(co, ['cien' + numerek], numerek + 200);
attachMovie('podkladka', ['pod' + numerek], numerek + 300);
attachMovie(co, co, numerek + 400);
(eval('cien' + numerek))._y = wysokoscMenu;
(eval('cien' + numerek))._x = numerek * rozstawMenu - odlegloscOdKrawedzi;
(eval('pod' + numerek))._y = wysokoscMenu;
(eval('pod' + numerek))._x = numerek * rozstawMenu - odlegloscOdKrawedzi;
(eval(co))._x = (eval('pod' + numerek))._x;
(eval(co))._y = (eval('pod' + numerek))._y;
(eval(co)).ktory = numerek;
playSound(collectItemSound);
};
used = function (element) {
playSound(useItemSound);
Mouse.show();
stopDrag();
eval(['t' + element.ktory]) = false;
removeMovieClip(eval('cien' + element.ktory));
removeMovieClip(eval('pod' + element.ktory));
removeMovieClip(element);
};
generatorOn = function () {
i = 1;
while (i < 60) {
(eval('rooms.r' + i)).lampki.gotoAndStop(2);
++i;
}
};
remove_all = function () {
removeMovieClip(eval('cien' + console.ktory));
removeMovieClip(eval('pod' + console.ktory));
removeMovieClip(console);
removeMovieClip(eval('cien' + tape.ktory));
removeMovieClip(eval('pod' + tape.ktory));
removeMovieClip(tape);
};
}
button 441 {
on (press) {
root.warp(10);
}
}
button 442 {
on (press) {
root.warp(9);
}
}
button 443 {
on (press) {
root.warp(14);
}
}
button 444 {
on (press) {
root.warp(11);
}
}
button 445 {
on (press) {
root.warp(4);
}
}
button 446 {
on (press) {
root.warp(50);
}
}
button 447 {
on (press) {
root.warp(73);
}
}
movieClip 449 {
frame 1 {
stop();
}
}
movieClip 450 {
}
button 452 {
on (press) {
root.warp(8);
root.opis = '';
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = '';
}
}
button 453 {
on (press) {
root.warp(21);
}
}
button 454 {
on (press) {
root.warp(20);
}
}
movieClip 455 {
}
movieClip 458 {
}
button 459 {
on (press) {
root.warp(25);
}
}
button 460 {
on (press) {
root.warp(26);
}
}
movieClip 463 {
frame 1 {
stop();
}
}
movieClip 466 {
}
button 468 {
on (press) {
play();
}
}
button 469 {
on (press) {
nextFrame();
}
}
movieClip 471 {
frame 1 {
onPress = function () {
root.collectInit(_name);
delete onPress;
_visible = false;
};
}
}
movieClip 472 {
frame 1 {
stop();
}
frame 15 {
stop();
}
}
movieClip 473 {
}
movieClip 478 {
}
movieClip 479 {
}
movieClip 482 {
}
movieClip 484 {
}
movieClip 486 {
}
movieClip 488 {
}
movieClip 490 {
}
movieClip 492 {
}
movieClip 493 {
}
movieClip 495 {
}
movieClip 496 {
frame 18 {
gotoAndPlay(1);
}
}
movieClip 497 {
frame 1 {
stop();
lancuch._visible = false;
zebatka._visible = false;
done = 0;
czekDone = function () {
++done;
if (done == 2) {
_parent.b1._visible = false;
play();
}
};
}
frame 163 {
stop();
zebatki.stop();
_parent.generator.gotoAndStop(2);
_parent.b1._visible = true;
}
}
movieClip 501 {
frame 1 {
stop();
}
frame 2 {
root.generatorOn();
}
}
movieClip 504 {
frame 1 {
stop();
}
}
button 505 {
on (press) {
root.warp(8);
}
}
movieClip 506 {
}
movieClip 510 {
}
movieClip 512 {
}
movieClip 529 {
}
button 536 {
on (press) {
root.warp(27);
}
}
movieClip 537 {
frame 1 {
stop();
}
frame 77 {
stop();
}
frame 207 {
stop();
}
}
button 539 {
on (press) {
root.warp(12);
}
}
button 540 {
on (press) {
root.warp(13);
}
}
movieClip 543 {
frame 1 {
stop();
}
}
movieClip 544 {
}
button 546 {
on (press) {
root.warp(11);
root.opis = '';
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = '';
}
}
movieClip 548 {
frame 1 {
stop();
}
}
movieClip 552 {
}
movieClip 554 {
}
movieClip 558 {
}
movieClip 562 {
}
movieClip 566 {
frame 1 {
onPress = function () {
root.collectInit(_name);
delete onPress;
_visible = false;
};
}
}
movieClip 567 {
frame 1 {
stop();
}
frame 78 {
stop();
}
frame 161 {
stop();
}
frame 233 {
stop();
}
}
movieClip 568 {
}
button 572 {
on (press) {
root.warp(24);
}
}
movieClip 573 {
frame 1 {
stop();
}
}
button 575 {
on (press) {
root.warp(44);
}
}
movieClip 578 {
frame 1 {
stop();
}
}
movieClip 579 {
}
button 581 {
on (press) {
root.warp(6);
}
}
button 582 {
on (press) {
root.warp(2);
}
}
button 583 {
on (press) {
root.warp(5);
}
}
button 585 {
on (press) {
root.warp(30);
}
}
movieClip 586 {
}
movieClip 589 {
}
movieClip 593 {
}
movieClip 596 {
}
movieClip 598 {
}
button 599 {
on (press) {
if (_parent.lampki._currentframe == 2) {
root.warp(32);
} else {
noEl.play();
}
}
}
movieClip 601 {
frame 1 {
stop();
}
frame 2 {
root.dialog = 'there is no electricity...';
}
frame 69 {
root.dialog = '';
}
}
button 603 {
on (press) {
play();
}
}
movieClip 604 {
frame 1 {
stop();
plasterek._visible = false;
}
frame 2 {
if (plasterek._visible == false) {
root.dialog = 'this mask is torn, I can\'t use it...';
} else {
++root.suitOn;
root.dialog = 'You have put on the mask...';
root.playSound(root.collectItemSound);
maska_gfx._visible = false;
plasterek._visible = false;
}
}
frame 75 {
root.dialog = '';
if (maska_gfx._visible == false) {
stop();
}
}
}
button 607 {
on (press) {
play();
}
}
movieClip 608 {
frame 1 {
stop();
}
frame 2 {
root.dialog = 'You have put on the suit...';
root.playSound(root.collectItemSound);
++root.suitOn;
}
frame 75 {
stop();
root.dialog = '';
}
}
movieClip 609 {
frame 1 {
stop();
}
frame 19 {
stop();
}
}
button 610 {
on (press) {
root.warp(4);
root.opis = '';
root.dialog = '';
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = '';
}
}
button 611 {
on (press) {
root.warp(72);
}
}
button 612 {
on (press) {
root.warp(75);
}
}
movieClip 614 {
frame 1 {
stop();
}
}
movieClip 615 {
}
movieClip 619 {
}
movieClip 621 {
}
button 622 {
on (press) {
if (root.suitOn != 2) {
gotoAndPlay('no');
} else {
gotoAndPlay('yes');
}
}
}
button 623 {
on (press) {
root.warp(71);
}
}
button 625 {
on (press) {
root.warp(7);
}
}
movieClip 626 {
frame 1 {
stop();
}
frame 14 {
root.dialog = 'I can\'t go outside. I need protection from the radiation...';
}
frame 120 {
root.dialog = '';
gotoAndStop(1);
}
frame 166 {
stop();
}
}
button 628 {
on (press) {
root.warp(74);
}
}
movieClip 630 {
frame 1 {
stop();
}
}
movieClip 631 {
}
button 633 {
on (press) {
root.warp(4);
root.opis = '';
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = '';
}
}
button 634 {
on (press) {
root.warp(1);
}
}
button 635 {
on (press) {
root.warp(3);
}
}
button 636 {
on (press) {
root.warp(34);
}
}
movieClip 638 {
frame 1 {
stop();
}
}
movieClip 639 {
}
movieClip 642 {
}
movieClip 645 {
}
button 696 {
on (press) {
if (_parent.lampki._currentframe == 2) {
root.warp(31);
} else {
noEl.play();
}
}
}
movieClip 698 {
frame 1 {
stop();
}
}
button 700 {
on (press) {
if (_parent.lampki._currentframe == 2) {
root.warp(42);
} else {
noEl.play();
}
}
}
movieClip 701 {
frame 1 {
stop();
}
}
movieClip 705 {
}
movieClip 707 {
}
movieClip 709 {
}
button 712 {
on (press) {
root.warp(19);
root.rooms.r19.widok.play();
}
}
movieClip 713 {
frame 1 {
stop();
}
frame 2 {
_parent.konsola.nextFrame();
}
frame 30 {
stop();
}
}
movieClip 716 {
frame 1 {
stop();
}
}
button 717 {
on (press) {
root.warp(2);
root.opis = '';
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = '';
}
}
button 718 {
on (press) {
root.warp(16);
}
}
button 719 {
on (press) {
root.warp(17);
}
}
button 720 {
on (press) {
root.warp(18);
}
}
button 721 {
on (press) {
root.warp(41);
}
}
movieClip 722 {
}
movieClip 725 {
}
button 728 {
on (press) {
root.warp(28);
}
}
movieClip 729 {
frame 1 {
stop();
}
}
movieClip 734 {
frame 1 {
stop();
}
}
movieClip 736 {
}
movieClip 737 {
}
movieClip 739 {
}
movieClip 742 {
}
movieClip 744 {
}
movieClip 746 {
}
movieClip 749 {
frame 1 {
stop();
}
}
button 750 {
on (press) {
root.warp(15);
}
}
button 751 {
on (press) {
root.warp(22);
}
}
button 752 {
on (press) {
root.warp(23);
}
}
movieClip 754 {
frame 1 {
stop();
}
frame 2 {
_parent.zaslepka._visible = false;
}
}
movieClip 756 {
}
movieClip 757 {
}
movieClip 759 {
}
button 761 {
on (press) {
root.warp(5);
root.opis = '';
root.dialog = '';
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = '';
}
}
movieClip 765 {
}
movieClip 767 {
}
movieClip 770 {
}
movieClip 771 {
frame 1 {
stop();
}
frame 20 {
stop();
_parent.gotoAndPlay('yes');
}
}
button 772 {
on (press) {
gotoAndPlay('no');
}
}
button 773 {
on (press) {
root.warp(40);
}
}
movieClip 774 {
frame 1 {
stop();
}
frame 24 {
root.dialog = 'I need a lever to open this door.';
}
frame 114 {
root.dialog = '';
gotoAndStop(1);
}
frame 144 {
stop();
}
}
movieClip 775 {
}
button 777 {
on (press) {
root.warp(3);
root.opis = '';
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = '';
}
}
movieClip 778 {
}
button 780 {
on (press) {
root.warp(1);
root.opis = '';
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = '';
}
}
movieClip 781 {
}
movieClip 783 {
}
movieClip 785 {
}
movieClip 787 {
frame 1 {
stop();
}
frame 80 {
stop();
}
}
button 789 {
on (press) {
root.warp(1);
widok.gotoAndStop(1);
root.opis = '';
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = '';
}
}
movieClip 790 {
}
movieClip 792 {
frame 1 {
onPress = function () {
root.collectInit(_name);
delete onPress;
_visible = false;
};
}
}
button 793 {
on (press) {
root.warp(9);
root.opis = '';
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = '';
}
}
movieClip 794 {
}
movieClip 796 {
frame 1 {
onPress = function () {
root.collectInit(_name);
delete onPress;
_visible = false;
};
}
}
movieClip 797 {
}
movieClip 800 {
frame 1 {
onPress = function () {
root.collectInit(_name);
delete onPress;
_visible = false;
};
}
}
movieClip 801 {
}
movieClip 803 {
}
movieClip 805 {
frame 1 {
onPress = function () {
root.collectInit(_name);
delete onPress;
_visible = false;
};
}
}
button 806 {
on (press) {
root.warp(13);
root.opis = '';
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = '';
}
}
movieClip 807 {
}
movieClip 810 {
}
movieClip 812 {
}
movieClip 814 {
frame 1 {
onPress = function () {
root.collectInit(_name);
root.rooms.r10.pasta._visible = false;
delete onPress;
_visible = false;
};
}
}
button 815 {
on (press) {
root.warp(10);
root.opis = '';
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = '';
}
}
movieClip 816 {
}
movieClip 818 {
frame 1 {
onPress = function () {
root.collectInit(_name);
root.rooms.r10.butelka._visible = false;
delete onPress;
_visible = false;
};
}
}
movieClip 819 {
}
movieClip 821 {
}
movieClip 824 {
}
movieClip 825 {
frame 1 {
onPress = function () {
root.collectInit(_name);
delete onPress;
_visible = false;
};
}
}
movieClip 828 {
}
movieClip 831 {
}
movieClip 832 {
frame 1 {
onPress = function () {
root.collectInit(_name);
delete onPress;
_visible = false;
};
}
}
movieClip 833 {
}
movieClip 836 {
}
button 838 {
on (release) {
kod += '0';
czekKod();
}
}
button 839 {
on (release) {
kod += '1';
czekKod();
}
}
button 840 {
on (release) {
kod += '2';
czekKod();
}
}
button 841 {
on (release) {
kod += '3';
czekKod();
}
}
button 842 {
on (release) {
kod += '4';
czekKod();
}
}
button 843 {
on (release) {
kod += '5';
czekKod();
}
}
button 844 {
on (release) {
kod += '6';
czekKod();
}
}
button 845 {
on (release) {
kod += '7';
czekKod();
}
}
button 846 {
on (release) {
kod += '8';
czekKod();
}
}
button 847 {
on (release) {
kod += '9';
czekKod();
}
}
button 849 {
on (press) {
root.warp(1);
kod = '';
root.opis = '';
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = '';
}
}
movieClip 850 {
frame 1 {
kod = '';
czekKod = function () {
if (kod == '2285') {
root.warp(1);
root.rooms.r1.peryskop.play();
}
};
}
}
button 854 {
on (release) {
kod += '1';
}
}
button 855 {
on (release) {
kod += '2';
}
}
button 856 {
on (release) {
kod += '3';
}
}
button 857 {
on (release) {
kod += '4';
}
}
button 858 {
on (release) {
kod += '5';
}
}
button 859 {
on (release) {
kod += '6';
}
}
button 860 {
on (release) {
kod += '7';
}
}
button 861 {
on (release) {
kod += '8';
}
}
button 862 {
on (release) {
kod += '9';
}
}
button 863 {
on (release) {
kod = '';
}
}
button 864 {
on (release) {
kod += '0';
}
}
button 865 {
on (release) {
czekKod();
}
}
button 867 {
on (press) {
kod = '';
root.warp(6);
root.opis = '';
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = '';
}
}
movieClip 868 {
frame 1 {
kod = '';
czekKod = function () {
if (kod == '7619') {
root.warp(6);
root.rooms.r6.szafa.play();
}
};
}
}
button 870 {
on (press) {
root.warp(35);
}
}
movieClip 871 {
}
movieClip 874 {
frame 1 {
onPress = function () {
root.collectInit(_name);
delete onPress;
_visible = false;
};
}
}
button 875 {
on (press) {
root.warp(34);
root.opis = '';
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = '';
}
}
movieClip 876 {
}
button 878 {
on (press) {
root.warp(7);
root.opis = '';
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = '';
}
}
movieClip 881 {
}
movieClip 890 {
}
movieClip 892 {
frame 1 {
stop();
}
frame 2 {
root.remove_all();
}
frame 36 {
root.mus_btn._visible = false;
}
frame 247 {
root.muza.stop('muza');
root.gotoAndStop('menu');
}
}
movieClip 895 {
}
movieClip 896 {
frame 1 {
onPress = function () {
root.collectInit(_name);
delete onPress;
_visible = false;
};
}
}
movieClip 898 {
}
movieClip 901 {
}
movieClip 903 {
}
movieClip 905 {
}
button 907 {
on (press) {
_parent.play();
gotoAndStop(2);
}
}
button 908 {
on (press) {
_parent.stop();
gotoAndStop(1);
}
}
movieClip 909 {
frame 1 {
stop();
}
}
button 910 {
on (press) {
root.warp(1);
stop();
btn.gotoAndStop(1);
root.opis = '';
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = '';
}
}
movieClip 911 {
frame 1 {
stop();
}
frame 388 {
stop();
}
}
movieClip 913 {
}
movieClip 915 {
}
button 917 {
on (press) {
root.warp(5);
root.opis = '';
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = '';
}
}
movieClip 918 {
}
button 920 {
on (press) {
root.warp(6);
root.opis = '';
root.dialog = '';
}
on (rollOver) {
root.opis = root.tekstWyjscia;
}
on (rollOut) {
root.opis = '';
}
}
movieClip 921 {
}
movieClip 927 {
}
movieClip 933 {
}
movieClip 938 {
frame 1 {
stop();
onPress = function () {
if (_currentframe == 1) {
_parent.act(_name);
gotoAndStop(2);
} else {
gotoAndStop(1);
}
};
}
}
movieClip 943 {
frame 1 {
stop();
onRelease = function () {
if (_currentframe != 3) {
nextFrame();
} else {
gotoAndStop(1);
}
};
}
}
movieClip 946 {
frame 1 {
stop();
}
}
movieClip 948 {
frame 1 {
stop();
}
}
movieClip 949 {
frame 1 {
act = function (co) {
if (co == 'a1') {
wsk1.play();
wsk2.play();
}
};
}
}
movieClip 950 {
}
movieClip 955 {
frame 1 {
stop();
onPress = function () {
if (_currentframe == 1) {
root.muza.stop('muza');
gotoAndStop(2);
} else {
root.muza.start();
gotoAndStop(1);
}
root.opis = '';
};
onRollOver = function () {
if (_currentframe == 1) {
root.opis = 'music: on';
} else {
root.opis = 'music: off';
}
};
onRollOut = function () {
root.opis = '';
};
}
}